:root {
  --primary: #1b3a57;
  --primary-dark: #102435;
  --accent: #e09b3d;
  --accent-soft: #f4d7a1;
  --surface: #ffffff;
  --muted: #f4f1ec;
  --sage: #e7eef0;
  --text: #1b1f24;
  --text-muted: #5a6573;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(16, 36, 53, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(16, 36, 53, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
  font-weight: 500;
}

.nav-links a {
  color: var(--primary-dark);
}

.menu-toggle {
  background: var(--primary);
  color: var(--surface);
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 4%;
  background: var(--surface);
  border-top: 1px solid rgba(16, 36, 53, 0.08);
}

.mobile-nav.is-open {
  display: flex;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--muted);
}

.section.sage {
  background: var(--sage);
}

.hero {
  padding: 72px 0 64px;
  background: linear-gradient(140deg, rgba(27, 58, 87, 0.08), rgba(224, 155, 61, 0.15));
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-panel {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: var(--surface);
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: var(--accent);
  color: var(--primary-dark);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.card-list,
.feature-list,
.testimonial-list,
.stats-list,
.faq-list,
.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card,
.feature,
.testimonial,
.stat,
.comparison,
.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(16, 36, 53, 0.08);
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
}

.feature h3,
.card h3,
.testimonial h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.stats-list .stat {
  background: var(--primary);
  color: var(--surface);
}

.stat p {
  color: rgba(255, 255, 255, 0.82);
}

.highlight-panel {
  background: var(--primary-dark);
  color: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
}

.highlight-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.quote {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-price {
  font-weight: 700;
  color: var(--primary);
}

.comparison {
  border-left: 4px solid var(--accent);
}

.faq-item button {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
}

.faq-answer {
  display: none;
  margin-top: 12px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 36, 53, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.cookie-modal.is-open {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  width: min(520px, 96%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pref-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--muted);
}

.pref-item button {
  border: none;
  background: var(--primary);
  color: var(--surface);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.pref-item button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--primary-dark);
}

.footer {
  background: var(--primary-dark);
  color: var(--surface);
  padding: 40px 0;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .hero-content,
  .split {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-content > * {
    flex: 1;
  }

  .card-list,
  .feature-list,
  .testimonial-list,
  .stats-list,
  .faq-list,
  .comparison-list,
  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .feature,
  .testimonial,
  .stat,
  .comparison,
  .faq-item {
    flex: 1 1 calc(50% - 20px);
  }

  .cookie-actions {
    flex-direction: row;
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .card,
  .feature,
  .testimonial,
  .stat,
  .comparison,
  .faq-item {
    flex: 1 1 calc(33% - 20px);
  }
}
