/* Base */
:root {
  --green-700: #1f5b43;
  --green-600: #2a6d52;
  --green-500: #3a8062;
  --sand-100: #f4f1ea;
  --stone-900: #1b1d1a;
  --stone-700: #3b4038;
  --stone-300: #cfd6c8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--stone-900);
  background: var(--sand-100);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 56px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-700);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.card {
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--green-600);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: var(--white);
  color: var(--green-700);
  border: 1px solid var(--green-700);
}

.button.ghost {
  background: transparent;
  color: var(--green-700);
  border: 1px solid var(--green-700);
}

/* Header & Navigation */
header {
  background: var(--white);
  border-bottom: 1px solid var(--stone-300);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--green-700);
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--green-700);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--stone-300);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--stone-300);
}

.mobile-menu a {
  padding: 8px 0;
  border-bottom: 1px solid var(--stone-300);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu.is-open {
  display: flex;
}

/* Hero */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #eef4ee 0%, var(--sand-100) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-panel {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Grids */
.grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer */
footer {
  background: var(--stone-900);
  color: var(--white);
  padding: 36px 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: 16px;
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 30;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 18px;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal h3 {
  margin: 0;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--stone-300);
  border-radius: 12px;
}

.option-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Utility */
.muted {
  color: var(--stone-700);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sand-100);
  border: 1px solid var(--stone-300);
  font-size: 12px;
}

.spaced {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: row;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid .card {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > div {
    flex: 1;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonials .card {
    flex: 1;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cookie-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
