*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-alt: #eef4ef;
  --text: #1f2a24;
  --muted: #506058;
  --accent: #3b6b4a;
  --accent-dark: #2b4f37;
  --highlight: #d7e6d6;
  --border: #d2d9d4;
  --warning: #f4e4c5;
  --shadow: 0 18px 40px rgba(31, 42, 36, 0.12);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 32px 0 72px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo span {
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 18px 4%;
  border-bottom: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: transparent;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.hero {
  background: var(--surface);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  background: var(--highlight);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--accent-dark);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.highlight {
  background: var(--surface-alt);
  border-color: transparent;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-row img {
  width: 38px;
  height: 38px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  background: var(--surface);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.stat strong {
  font-size: 1.3rem;
}

.quote {
  background: var(--accent-dark);
  color: #fdfbf7;
  padding: 26px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote span {
  font-weight: 600;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.step-index {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.testimonial strong {
  display: block;
  margin-top: 12px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

.faq-question span {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--border);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.service-card .price {
  font-weight: 700;
  color: var(--accent-dark);
}

.cta {
  background: var(--accent);
  color: #fff;
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta a {
  color: #fff;
}

.panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-list div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--warning);
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 36, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 60;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  width: min(520px, 96%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--border);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (min-width: 760px) {
  .nav-links {
    position: static;
    flex-direction: row;
    gap: 18px;
    padding: 0;
    border: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-grid > div {
    flex: 1;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > div {
    flex: 1;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 200px;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  .service-card {
    flex: 1 1 280px;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
