*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #1b2b34;
  --muted: #5a6b72;
  --brand: #1f4a5a;
  --accent: #f2b643;
  --surface: #f6f4ef;
  --surface-strong: #e6edf1;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--surface-strong);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  background: none;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.site-nav {
  position: relative;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--surface-strong);
  border-radius: 16px;
  position: absolute;
  right: 0;
  top: 56px;
  min-width: 220px;
  box-shadow: 0 10px 28px rgba(27, 43, 52, 0.12);
}

.nav-links a {
  font-weight: 600;
  color: var(--brand);
}

.site-nav.open .nav-links {
  display: flex;
}

main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 40px 0 80px;
}

section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero {
  background: var(--surface);
  padding: 36px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  font-weight: 600;
  background: var(--brand);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--brand);
}

.grid-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--surface-strong);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.highlight {
  background: var(--surface);
  border: 1px solid transparent;
}

.stats {
  background: var(--brand);
  color: var(--white);
  padding: 28px;
  border-radius: 24px;
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stats-item {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.icon-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.icon-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.icon-block svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.quote {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: 16px;
  font-style: italic;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  background: var(--surface-strong);
  border-radius: 999px;
  font-weight: 600;
  color: var(--brand);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--surface-strong);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 16px 20px;
  font-weight: 600;
}

.faq-answer {
  padding: 0 20px 16px;
  color: var(--muted);
}

.services-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
}

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: var(--white);
  border: 1px solid var(--surface-strong);
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(27, 43, 52, 0.2);
  display: none;
  z-index: 30;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(27, 43, 52, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.cookie-modal.active {
  display: flex;
}

.modal-panel {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    display: flex;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    min-width: auto;
  }

  .nav-links a {
    color: var(--ink);
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split > * {
    flex: 1;
  }

  .grid-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .stats-list {
    flex-direction: row;
  }

  .stats-item {
    flex-direction: column;
    gap: 6px;
  }

  .icon-row {
    flex-direction: row;
  }

  .services-table {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .comparison-row {
    flex: 1 1 240px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
