:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --text: #1f2a23;
  --muted: #516057;
  --brand: #2f6b4f;
  --brand-dark: #234c39;
  --accent: #d9b96e;
  --surface: #ffffff;
  --soft: #eef2ed;
  --border: #d8dfd6;
  --shadow: 0 14px 28px rgba(23, 36, 29, 0.12);
}

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.primary-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  padding: 16px;
  position: absolute;
  right: 4%;
  top: 64px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.primary-nav.open {
  display: flex;
}

.nav-toggle {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--soft);
}

.section.highlight {
  background: var(--brand-dark);
  color: #fff;
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}

.section p {
  color: var(--muted);
}

.section.highlight p {
  color: #f2f2f2;
}

.hero {
  padding: 80px 0 56px;
}

.hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--brand-dark);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  font-weight: 600;
  transition: 0.2s ease;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--brand);
}

.button.light {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
}

.card-list,
.feature-list,
.stat-list,
.testimonial-list,
.faq-list,
.compare-list,
.service-list,
.team-list,
.insight-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card,
.feature,
.stat,
.testimonial,
.faq-item,
.compare-item,
.service-card,
.team-card,
.insight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 18px rgba(28, 45, 35, 0.08);
}

.feature {
  border-left: 4px solid var(--accent);
}

.icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.stat {
  align-items: flex-start;
}

.stat strong {
  font-size: 1.8rem;
  color: var(--brand-dark);
}

.section.highlight .stat {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.section.highlight .stat strong {
  color: #fff;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-item button {
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.faq-item .faq-answer {
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 92%);
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 24, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal__content {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  width: min(640px, 94%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.pref-toggle {
  border: 1px solid var(--brand);
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--brand);
}

.pref-toggle.active {
  background: var(--brand);
  color: #fff;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 720px) {
  .primary-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    display: flex;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
  }

  .nav-toggle {
    display: none;
  }

  .hero .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: row;
  }

  .card-list,
  .feature-list,
  .stat-list,
  .testimonial-list,
  .faq-list,
  .compare-list,
  .service-list,
  .team-list,
  .insight-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .feature,
  .stat,
  .testimonial,
  .faq-item,
  .compare-item,
  .service-card,
  .team-card,
  .insight {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cookie-actions,
  .modal-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .card,
  .feature,
  .stat,
  .testimonial,
  .faq-item,
  .compare-item,
  .service-card,
  .team-card,
  .insight {
    flex: 1 1 calc(33.333% - 16px);
  }
}
