*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1f1d1b;
  background-color: #f9f7f4;
  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;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #1f1d1b;
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

header {
  background: #f2ece6;
  border-bottom: 1px solid #e1d7ce;
  position: sticky;
  top: 0;
  z-index: 20;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand svg {
  width: 38px;
  height: 38px;
}

.nav-toggle {
  background: #1f1d1b;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid #c56c55;
  outline-offset: 2px;
}

nav {
  position: relative;
}

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(31, 29, 27, 0.12);
}

.nav-menu.open {
  display: flex;
}

.nav-menu a {
  padding: 8px 10px;
  border-radius: 6px;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: #f2ece6;
}

.hero {
  padding: 56px 0 40px;
  background: #efe7df;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin: 0;
  line-height: 1.1;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: #3a3632;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #1f1d1b;
  background: #1f1d1b;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: #1f1d1b;
}

.section {
  padding: 48px 0;
}

.section-alt {
  background: #fff;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 25px rgba(31, 29, 27, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.alt {
  background: #f6f1eb;
}

.card h3 {
  margin: 0;
}

.icon-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.icon-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: #1f1d1b;
  color: #fff;
  padding: 18px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat strong {
  font-size: 1.8rem;
}

.testimonial {
  background: #fff;
  border-left: 4px solid #c56c55;
  padding: 20px;
  border-radius: 12px;
}

.testimonial p {
  margin: 0 0 8px;
}

.quote {
  font-style: italic;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  border: 1px solid #e1d7ce;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  border: 1px solid #e1d7ce;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e1d7ce;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 18px 16px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.cta {
  background: #1f1d1b;
  color: #fff;
  padding: 40px 0;
}

.cta .btn.secondary {
  border-color: #fff;
  color: #fff;
}

footer {
  background: #efe7df;
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f1d1b;
  color: #fff;
  padding: 16px 0;
  display: none;
  z-index: 30;
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 29, 27, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.cookie-modal.open {
  display: flex;
}

.cookie-panel {
  background: #fff;
  color: #1f1d1b;
  width: min(520px, 92%);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f6f1eb;
}

.toggle button {
  border: 1px solid #1f1d1b;
  background: transparent;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.toggle button[aria-pressed="true"] {
  background: #1f1d1b;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 8px;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .icon-row {
    flex-direction: row;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 0;
  }

  .process {
    flex-direction: row;
  }

  .process-step {
    flex: 1 1 0;
  }

  .comparison {
    flex-direction: row;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
