:root {
  --primary: #1a3a5c;
  --secondary: #2d6a4f;
  --accent: #e07b39;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav-wrapper {
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: var(--transition);
}

/* Hero Editorial */
.hero-editorial {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.hero-editorial .container-narrow {
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-editorial h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 700;
}

.hero-editorial .lead {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-image {
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #c96a2e;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #142d47;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Editorial Content Sections */
.editorial-section {
  padding: 70px 0;
}

.editorial-section.bg-light {
  background: var(--light);
}

.editorial-section.bg-primary {
  background: var(--primary);
  color: var(--white);
}

.editorial-section h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 25px;
  line-height: 1.3;
}

.editorial-section.bg-primary h2 {
  color: var(--white);
}

.editorial-section p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.inline-image {
  margin: 35px 0;
  border-radius: 10px;
  overflow: hidden;
}

.inline-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.inline-image.float-left {
  float: left;
  width: 45%;
  margin: 0 30px 20px 0;
}

.inline-image.float-right {
  float: right;
  width: 45%;
  margin: 0 0 20px 30px;
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* Quote Block */
.quote-block {
  background: var(--light);
  border-left: 4px solid var(--accent);
  padding: 30px 35px;
  margin: 40px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--primary);
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: space-around;
  padding: 50px 0;
  background: var(--primary);
  margin: 50px 0;
  border-radius: 12px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 1rem;
  margin-top: 8px;
  opacity: 0.9;
}

/* Services Section */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  flex: 1 1 calc(33.333% - 30px);
  min-width: 280px;
  background: var(--white);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.service-price span {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 400;
}

/* CTA Inline */
.cta-inline {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  padding: 50px 40px;
  border-radius: 12px;
  text-align: center;
  margin: 50px 0;
  color: var(--white);
}

.cta-inline h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cta-inline p {
  margin-bottom: 25px;
  opacity: 0.9;
}

/* Team Section */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  flex: 1 1 calc(33.333% - 30px);
  min-width: 250px;
  text-align: center;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--light);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.team-member .role {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.team-member p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 20px 0;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light);
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Contact Form */
.contact-section {
  padding: 80px 0;
}

.form-wrapper {
  background: var(--white);
  padding: 50px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 40px auto 0;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: #c96a2e;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.contact-item {
  flex: 1 1 200px;
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--gray);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand {
  flex: 1 1 300px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-links {
  flex: 1 1 200px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 20px;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--accent);
  color: var(--white);
}

.cookie-reject {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 900;
  display: none;
}

.sticky-cta.show {
  display: block;
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(224, 123, 57, 0.4);
  transition: var(--transition);
}

.sticky-cta a:hover {
  transform: scale(1.1);
}

/* Thanks Page */
.thanks-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.thanks-content {
  max-width: 600px;
}

.thanks-icon {
  width: 100px;
  height: 100px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thanks-icon svg {
  width: 50px;
  height: 50px;
  fill: var(--white);
}

.thanks-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.thanks-content p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
}

/* Legal Pages */
.legal-page {
  padding: 60px 0;
}

.legal-page h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.legal-page h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 35px 0 15px;
}

.legal-page p {
  margin-bottom: 15px;
  color: var(--dark);
}

.legal-page ul {
  margin: 15px 0 15px 30px;
}

.legal-page li {
  margin-bottom: 10px;
}

/* Split Layout */
.split-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 500px;
}

.split-content {
  flex: 1 1 50%;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-image {
  flex: 1 1 50%;
  min-height: 400px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Process Steps */
.process-steps {
  margin: 40px 0;
}

.step-item {
  display: flex;
  gap: 25px;
  margin-bottom: 35px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-content p {
  color: var(--gray);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-editorial h1 {
    font-size: 2.2rem;
  }

  .stats-row {
    flex-direction: column;
    gap: 30px;
  }

  .split-section {
    flex-direction: column;
  }

  .split-content {
    padding: 40px 20px;
  }

  .inline-image.float-left,
  .inline-image.float-right {
    float: none;
    width: 100%;
    margin: 25px 0;
  }

  .service-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .hero-editorial h1 {
    font-size: 1.8rem;
  }

  .hero-editorial .lead {
    font-size: 1.1rem;
  }

  .editorial-section h2 {
    font-size: 1.7rem;
  }

  .form-wrapper {
    padding: 30px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
