*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-alt: #eef2ea;
  --text: #1f2a1e;
  --muted: #5a6b5a;
  --accent: #3d7c6b;
  --accent-dark: #2f5f52;
  --border: #d5ddd1;
  --shadow: 0 18px 40px rgba(31, 42, 30, 0.08);
}

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,
svg {
  display: block;
  max-width: 100%;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: absolute;
  right: 1.25rem;
  top: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.nav-links.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
}

.menu-toggle {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

main {
  flex: 1;
}

section {
  padding: 3rem 1.25rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
}

.hero {
  background: linear-gradient(135deg, #f0f5ef 0%, #ffffff 70%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.btn.outline {
  background: transparent;
  color: var(--accent-dark);
}

.card-grid,
.feature-grid,
.stats-grid,
.testimonials,
.faq-grid,
.service-grid,
.comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card,
.feature,
.stat,
.testimonial,
.faq-item,
.service-card,
.comparison-card,
.highlight-panel {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-panel {
  background: var(--surface-alt);
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e2ece3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-grid .stat {
  align-items: flex-start;
}

.stat strong {
  font-size: 1.8rem;
  color: var(--accent-dark);
}

.testimonial blockquote {
  font-style: italic;
  color: var(--text);
}

.faq-item button {
  border: none;
  background: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
}

.faq-item .answer {
  display: none;
  color: var(--muted);
}

.faq-item.is-open .answer {
  display: block;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #dfe9dd;
  color: var(--accent-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.footer {
  background: var(--text);
  color: #f1f3ef;
  padding: 2.5rem 1.25rem;
}

.footer a {
  color: #f1f3ef;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: none;
  z-index: 20;
}

.cookie-banner.is-visible {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 17, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 30;
}

.modal.is-visible {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cbd6cb;
  position: relative;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.toggle.is-active {
  background: var(--accent);
}

.toggle.is-active::after {
  transform: translateX(18px);
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.8rem;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-content > * {
    flex: 1;
  }

  .card-grid,
  .feature-grid,
  .stats-grid,
  .testimonials,
  .faq-grid,
  .service-grid,
  .comparison-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .feature,
  .stat,
  .testimonial,
  .faq-item,
  .service-card,
  .comparison-card {
    flex: 1 1 calc(50% - 1rem);
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .card,
  .feature,
  .stat,
  .testimonial,
  .faq-item,
  .service-card,
  .comparison-card {
    flex: 1 1 calc(33.333% - 1rem);
  }
}
