/* Base */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #1f2a24;
  --muted: #5a6b61;
  --accent: #2f6b3f;
  --accent-dark: #235232;
  --accent-soft: #e2efe6;
  --sand: #ece7dc;
  --highlight: #f2f8f4;
  --border: #d8ddd6;
  --warning: #925b2f;
  --shadow: 0 6px 22px rgba(31, 42, 36, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 32px 0;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand span {
  font-size: 1.05rem;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 20px;
}

.nav-links a {
  font-weight: 600;
}

.nav-links.open {
  display: flex;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #e5f2e9, #f6f2e9);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  margin: 0;
  font-size: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Layout blocks */
.grid-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid #eef0ec;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.highlight {
  background: var(--highlight);
  border-radius: 20px;
  padding: 20px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat span {
  font-weight: 700;
  font-size: 1.3rem;
}

.quote {
  background: #1f2a24;
  color: #fff;
  padding: 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote cite {
  font-style: normal;
  color: #cfe2d5;
}

/* Services */
.service-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-price {
  font-weight: 700;
  color: var(--accent-dark);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

.faq-toggle {
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-content {
  padding: 0 16px 16px;
  color: var(--muted);
}

/* Footer */
footer {
  background: var(--sand);
  padding: 28px 0;
  margin-top: 32px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-weight: 600;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 36, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-panel {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pref-toggle {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--sand);
  font-weight: 600;
}

.pref-toggle[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Responsive */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content {
    flex: 1;
  }

  .hero-card {
    width: 38%;
  }

  .grid-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid-cards > * {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split > * {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-item {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
