/* Base */
:root {
  --bg: #f6f8f2;
  --surface: #ffffff;
  --ink: #1f2a1f;
  --muted: #4a5a4a;
  --brand: #4f8a5a;
  --brand-dark: #2d5a3a;
  --accent: #8db59d;
  --sun: #d7b561;
  --line: #dfe6dc;
  --shadow: 0 8px 24px rgba(25, 34, 25, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: #eef2e8;
}

.section.highlight {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 16px 0;
}

h1 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--sun));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0 28px 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-weight: 600;
  color: var(--brand-dark);
}

/* Hero */
.hero {
  padding: 72px 0 56px 0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: #edf3ec;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* Layout blocks */
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.row.split {
  gap: 28px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
}

.card.outline {
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.card.highlight {
  background: #f3f7ef;
  border-color: #dbe6d7;
}

.icon {
  width: 44px;
  height: 44px;
  background: #e1efe5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--brand-dark);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fffdf6;
  border: 1px solid #f0e4c8;
  border-radius: var(--radius);
  padding: 22px;
}

.quote {
  font-size: 1.1rem;
  color: var(--ink);
}

.profile {
  font-weight: 600;
  color: var(--brand-dark);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8efe6;
  color: var(--brand-dark);
  font-size: 0.85rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  border-left: 4px solid var(--accent);
}

/* Service cards */
.services {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price {
  font-weight: 700;
  color: var(--brand-dark);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 18px 16px 18px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #1d2c21;
  color: #d8e2d7;
  padding: 50px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #b9c6b8;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 18px;
  display: none;
  z-index: 40;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 24, 18, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}

.cookie-modal.open {
  display: flex;
}

.modal-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  width: min(520px, 92vw);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.toggle-btn {
  border: 1px solid var(--line);
  background: #f1f4ee;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
}

.toggle-btn[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Utility */
.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
}

.list li {
  color: var(--muted);
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .row {
    flex-direction: row;
  }

  .row.split > * {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .services {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 280px;
  }

  .footer-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
