* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #1e1e1e;
  --muted: #5b5b5b;
  --accent: #1f6f5c;
  --accent-dark: #155246;
  --warm: #f1e6d6;
  --border: #e2ded5;
  --highlight: #fff6ea;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  display: inline-block;
  margin: 0.5rem;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.primary-nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: min(320px, 80vw);
  background: var(--surface);
  transition: right 0.3s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  padding: 4rem 1.5rem 2rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.primary-nav.open {
  right: 0;
}

.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.primary-nav a {
  font-weight: 600;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.hero {
  padding: 3rem 0 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge {
  background: var(--warm);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.section {
  padding: 2.8rem 0;
}

.section.alt {
  background: var(--surface);
}

.section-title {
  margin-bottom: 1.5rem;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card.highlight {
  background: var(--highlight);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.pill svg {
  width: 18px;
  height: 18px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature .icon {
  width: 40px;
  height: 40px;
  background: var(--warm);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature .icon svg {
  width: 22px;
  height: 22px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-style: italic;
}

.testimonial span {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta {
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn.light {
  background: var(--surface);
  color: var(--accent-dark);
  border-color: var(--border);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-weight: 600;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding-top: 0.6rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.footer {
  background: #1d1c1a;
  color: #f5f3ef;
  padding: 2.5rem 0;
}

.footer a {
  color: inherit;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 60;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 1.5rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.5rem;
  width: min(620px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-pref {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.cookie-toggle {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  background: var(--highlight);
  cursor: pointer;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.service-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tag {
  background: var(--warm);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  display: inline-block;
}

.list {
  padding-left: 1.1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
  }

  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
  }

  .nav-backdrop {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid > * {
    flex: 1 1 calc(33% - 1rem);
  }

  .stats {
    flex-direction: row;
  }

  .stats .stat {
    flex: 1;
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 1 calc(50% - 1rem);
  }

  .testimonial-grid {
    display: flex;
    gap: 1rem;
  }

  .testimonial-grid .testimonial {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .service-grid .service-card {
    flex: 1 1 calc(50% - 1rem);
  }
}
