:root {
  --color-primary: #2d5a3d;
  --color-secondary: #8fb996;
  --color-accent: #d4a574;
  --color-dark: #1a2e23;
  --color-light: #f4f7f5;
  --color-cream: #faf8f2;
  --color-text: #2c3e35;
  --color-muted: #6b7c72;
  --font-heading: 'Georgia', serif;
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --max-width-narrow: 720px;
  --max-width-medium: 960px;
  --max-width-wide: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-cream);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.container-medium {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 248, 242, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 16px 0;
  border-bottom: 1px solid rgba(45, 90, 61, 0.1);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.main-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s ease;
}

/* Hero Sections */
.hero-editorial {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero-editorial::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%238fb996" stroke-width="0.5" opacity="0.3"/></svg>') repeat;
  opacity: 0.4;
  transform: rotate(15deg);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 600px;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--color-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-image-wrapper {
  margin-top: 48px;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><path d="M0,250 Q100,200 200,220 T400,200 L400,300 L0,300 Z" fill="%231a2e23" opacity="0.3"/><circle cx="320" cy="80" r="40" fill="%23faf8f2" opacity="0.2"/><path d="M50,280 L80,220 L110,280 Z" fill="%232d5a3d"/><path d="M90,280 L130,200 L170,280 Z" fill="%238fb996"/><path d="M250,280 L290,210 L330,280 Z" fill="%232d5a3d"/></svg>') center/cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--color-dark);
  color: white;
  transform: translateY(-2px);
}

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

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

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

.btn-accent:hover {
  background: #c4945f;
  color: white;
}

.btn-link {
  background: none;
  padding: 0;
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
}

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

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

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

.section-editorial.bg-dark .section-title {
  color: var(--color-light);
}

.section-editorial.bg-dark .text-muted {
  color: var(--color-secondary);
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-dark);
  margin-bottom: 24px;
  line-height: 1.25;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.text-muted {
  color: var(--color-muted);
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.7;
}

.inline-image {
  margin: 40px 0;
  position: relative;
}

.inline-image-frame {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  height: 280px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.inline-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><ellipse cx="150" cy="180" rx="120" ry="20" fill="%231a2e23" opacity="0.2"/><rect x="140" y="100" width="20" height="80" fill="%23594a3c"/><ellipse cx="150" cy="90" rx="45" ry="50" fill="%232d5a3d"/><ellipse cx="130" cy="85" rx="30" ry="35" fill="%238fb996"/></svg>') center/contain no-repeat;
}

.image-caption {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 12px;
  font-style: italic;
}

/* Quote Block */
.quote-block {
  margin: 48px 0;
  padding: 32px 40px;
  background: var(--color-light);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-dark);
  font-style: italic;
  line-height: 1.6;
}

.quote-author {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Stats Row */
.stats-row {
  display: flex;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid rgba(45, 90, 61, 0.1);
  border-bottom: 1px solid rgba(45, 90, 61, 0.1);
  margin: 48px 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Cards */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--color-secondary);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
}

.service-content {
  flex: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.service-desc {
  color: var(--color-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

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

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

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

.cta-inline-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.cta-inline-text {
  opacity: 0.9;
  margin-bottom: 24px;
}

/* Testimonials */
.testimonial-card {
  padding: 32px;
  background: white;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

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

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-info h4 {
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Form Styles */
.form-section {
  padding: 80px 0;
  background: var(--color-light);
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid #e0e5e2;
  border-radius: 6px;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* Contact Info */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
}

.contact-details h4 {
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: 64px 0 32px;
}

.footer-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-secondary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-text {
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(143, 185, 150, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-secondary);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--color-secondary);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: white;
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

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

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

.cookie-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--color-secondary);
  color: var(--color-dark);
}

.cookie-accept:hover {
  background: white;
}

.cookie-reject {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-reject:hover {
  border-color: white;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta .btn {
  box-shadow: 0 4px 20px rgba(45, 90, 61, 0.3);
}

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

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

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

.thanks-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
}

.thanks-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.thanks-text {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

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

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(45, 90, 61, 0.1);
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark);
  margin: 40px 0 16px;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin: 28px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin: 16px 0 16px 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* About Page Specifics */
.team-grid {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.team-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: white;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.team-role {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  margin: 48px 0;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-secondary);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-cream);
}

.timeline-year {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.timeline-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: none;
  }

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

  .hero-title {
    font-size: 2rem;
  }

  .service-card {
    flex-direction: column;
    text-align: center;
  }

  .service-icon {
    margin: 0 auto;
  }

  .stats-row {
    gap: 24px;
  }

  .form-wrapper {
    padding: 32px 24px;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .sticky-cta {
    bottom: 16px;
    right: 16px;
  }

  .team-grid {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-editorial {
    padding: 120px 0 60px;
  }

  .section-editorial {
    padding: 60px 0;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .quote-block {
    padding: 24px;
  }

  .cta-inline {
    padding: 32px 24px;
  }
}
