*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --ink: #1f1b16;
  --muted: #5f5a54;
  --accent: #b85b3f;
  --accent-dark: #8c432e;
  --leaf: #47624d;
  --sun: #f2c57c;
  --line: #e7ded5;
  --shadow: 0 12px 30px rgba(31, 27, 22, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.surface {
  background: var(--surface);
}

.section.accent {
  background: #f4ede6;
}

.section.dark {
  background: #2f2a24;
  color: #f7f2ec;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: absolute;
  right: 4%;
  top: 70px;
  min-width: 220px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

.nav a {
  font-weight: 500;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 22, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.nav-open .nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid var(--line);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f7f0e8;
  color: var(--accent-dark);
  font-size: 0.85rem;
}

.flex-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.highlight {
  background: #fff6ec;
  border: 1px solid #f1d5c0;
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f9eee4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-size: 1.6rem;
  color: var(--accent-dark);
}

.quote {
  font-size: 1.2rem;
  color: inherit;
}

.divider {
  height: 2px;
  background: var(--line);
  margin: 20px 0;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.testimonial span {
  color: var(--muted);
  font-size: 0.9rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-weight: 600;
  padding: 10px 0;
  cursor: pointer;
}

.faq-item .answer {
  display: none;
  padding-bottom: 8px;
  color: var(--muted);
}

.faq-item.is-open .answer {
  display: block;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: #efe6dd;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.cta-panel {
  background: var(--accent);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer {
  background: #1f1b16;
  color: #f6f1eb;
  padding: 40px 0;
}

.footer a {
  color: inherit;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer small {
  color: #c9c2ba;
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 16px;
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 60;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 22, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 70;
}

.cookie-modal.is-hidden {
  display: none;
}

.cookie-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  width: min(520px, 92%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.cookie-modal [data-cookie-backdrop] {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f7f0e8;
}

.toggle-btn {
  border-radius: 999px;
  border: 1px solid var(--accent);
  padding: 6px 14px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.toggle-btn.active {
  background: var(--accent);
  color: #fff;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-block {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .nav {
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    min-width: unset;
  }

  .nav-toggle,
  .nav-backdrop {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    flex: 1;
  }

  .flex-split {
    flex-direction: row;
    align-items: flex-start;
  }

  .cards {
    flex-direction: row;
  }

  .cards .card {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .process {
    flex-direction: row;
  }

  .process-step {
    flex: 1;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-grid {
    flex-direction: row;
  }

  .contact-grid .info-block {
    flex: 1;
  }
}
