:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --bg-alt: #ffffff;
  --bg-accent: #eff4ed;
  --text: #1f2a23;
  --muted: #536057;
  --accent: #3f7d4f;
  --accent-dark: #2e5c3a;
  --border: #d6ded5;
  --shadow: 0 16px 30px rgba(31, 42, 35, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --gap: 20px;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--accent);
  color: white;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 5;
}

.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.4px;
}

.nav-toggle {
  padding: 10px 14px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
}

.nav-menu {
  position: absolute;
  top: 70px;
  right: 5%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.nav-menu a {
  padding: 6px 0;
  color: var(--text);
}

.nav-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-desktop {
  display: none;
}

.section {
  padding: 56px 0;
}

.section-muted {
  background: var(--bg-alt);
}

.section-accent {
  background: var(--bg-accent);
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 12px;
}

.section-subtitle {
  color: var(--muted);
  margin-top: 0;
}

.hero {
  padding: 80px 0 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero h1 {
  font-size: 2.3rem;
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: white;
}

.btn:hover {
  transform: translateY(-2px);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-icon {
  width: 46px;
  height: 46px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.highlight-panel {
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.6rem;
  display: block;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 16px;
  font-weight: 600;
  background: transparent;
}

.faq-panel {
  padding: 0 16px 16px;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  background: white;
  font-size: 0.9rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-item {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  background: var(--bg-alt);
}

.footer {
  background: #1d2a22;
  color: #f1f4f0;
  padding: 40px 0;
}

.footer a {
  color: #f1f4f0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  width: min(540px, 92%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 35, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.cookie-modal.is-open {
  display: flex;
}

.cookie-modal__content {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  width: min(520px, 95%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.toggle {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.toggle[aria-pressed="true"] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-block {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    gap: 18px;
    background: transparent;
  }

  .nav-desktop {
    display: flex;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .button-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cards,
  .stats,
  .testimonials,
  .comparison,
  .service-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .testimonial,
  .comparison-card,
  .service-item {
    flex: 1 1 calc(50% - 12px);
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .card,
  .stat,
  .testimonial,
  .comparison-card,
  .service-item {
    flex: 1 1 calc(33% - 14px);
  }
}
