*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #5b5b5b;
  --accent: #3a6b5f;
  --accent-dark: #2a4d44;
  --accent-soft: #e4efe9;
  --highlight: #f3d9b1;
  --border: #d9d9d9;
  --shadow: 0 16px 40px rgba(26, 26, 26, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

section {
  padding: 48px 20px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.9rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--border);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  padding: 24px;
  border-top: 1px solid var(--border);
}

.nav-menu a {
  font-weight: 600;
}

.nav-menu.is-open {
  display: flex;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.nav-overlay.is-open {
  display: block;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--accent-soft);
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--highlight);
  font-weight: 600;
  font-size: 0.85rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--accent-dark);
  color: #fff;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat span {
  font-size: 1.6rem;
  font-weight: 700;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 12px;
}

.testimonial {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote {
  font-style: italic;
  color: var(--ink);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--accent-soft);
  border-radius: 14px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 20px 18px;
  display: none;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.badge-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  background: var(--surface);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.badge svg {
  flex-shrink: 0;
}

.cta {
  background: var(--accent-dark);
  color: #fff;
}

.cta p {
  color: #f0f0f0;
}

.footer {
  background: #151515;
  color: #e8e8e8;
  padding: 40px 20px;
}

.footer a {
  color: #e8e8e8;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer small {
  color: #bfbfbf;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 20;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal__content {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.icon-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.icon-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.icon-block svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  section {
    padding: 72px 20px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 24px;
    background: transparent;
    padding: 0;
    border-top: none;
  }

  .nav-overlay {
    display: none;
  }

  .hero-grid {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-grid > * {
    flex: 1;
  }

  .card-grid,
  .service-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .service-card {
    flex: 1 1 calc(50% - 12px);
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .badge-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .badge {
    flex: 1 1 calc(50% - 12px);
  }

  .cookie-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
