*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --cream: #f7f2ed;
  --ivory: #fffaf6;
  --ink: #2b2420;
  --espresso: #5a4136;
  --terracotta: #b75a4a;
  --sage: #7a8a7b;
  --gold: #c6a462;
  --shadow: 0 18px 40px rgba(43, 36, 32, 0.12);
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 246, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(43, 36, 32, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.menu-toggle {
  border: 1px solid var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--ivory);
  padding: 1rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: absolute;
  right: 4%;
  top: 72px;
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  font-weight: 500;
}

main {
  padding-bottom: 3rem;
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--cream);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--sage);
}

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--cream);
  padding: 1.8rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn.primary {
  background: var(--terracotta);
  color: #fff;
}

.btn.secondary {
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.nav-links a:focus-visible,
.faq-question:focus-visible,
.toggle-btn:focus-visible,
.modal-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card .icon {
  width: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item svg {
  width: 28px;
  flex-shrink: 0;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  background: #fff;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.quote {
  background: var(--espresso);
  color: #fff;
  padding: 2rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.divider {
  height: 4px;
  width: 60px;
  background: var(--gold);
  border-radius: 999px;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  padding: 1.2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pillars .card {
  border-left: 4px solid var(--terracotta);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  padding: 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.comparison-labels {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.comparison-bars {
  display: flex;
  gap: 0.5rem;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--cream);
  flex: 1;
}

.bar.fill {
  background: var(--terracotta);
  flex: 2;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 1.2rem 1rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.cta {
  background: var(--terracotta);
  color: #fff;
  padding: 2.5rem 0;
}

.cta .btn.secondary {
  border-color: #fff;
  color: #fff;
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 1.2rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: min(520px, 92%);
  z-index: 20;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 36, 32, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 30;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  width: min(560px, 94%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  padding: 0.8rem 1rem;
  border-radius: 12px;
}

.toggle-btn {
  border: 1px solid var(--ink);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.toggle-btn.active {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    box-shadow: none;
    background: transparent;
    padding: 0;
    gap: 1.5rem;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    flex: 1;
  }

  .cards,
  .stats,
  .testimonials,
  .process,
  .pillars,
  .comparison,
  .faq {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .testimonial,
  .process-step,
  .comparison-row,
  .faq-item {
    flex: 1 1 calc(50% - 1rem);
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 calc(50% - 1rem);
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions,
  .modal-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .card,
  .stat,
  .testimonial,
  .process-step,
  .comparison-row,
  .faq-item {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .feature-item {
    flex: 1 1 calc(33.333% - 1rem);
  }
}
