/* Base */
:root {
  --bg: #f7f8fb;
  --text: #1a1f2b;
  --muted: #5b6577;
  --primary: #1c4e80;
  --accent: #2a9d8f;
  --light: #ffffff;
  --border: #e3e8f0;
  --shadow: 0 14px 28px rgba(26, 31, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--light);
}

.section.soft {
  background: #eef3f8;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.section-title {
  font-size: 28px;
  margin: 12px 0 20px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--light);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* Header */
.site-header {
  background: var(--light);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand svg {
  width: 34px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: absolute;
  top: 64px;
  right: 4%;
  width: 220px;
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text);
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  padding: 96px 0 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--light);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cards and blocks */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--light);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.icon-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(42, 157, 143, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split .panel {
  background: var(--light);
  padding: 28px;
  border-radius: 24px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background: var(--light);
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 28px;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(28, 78, 128, 0.12);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}

.testimonial {
  background: var(--light);
  padding: 24px;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
}

.quote {
  font-size: 20px;
  font-style: italic;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list-item svg {
  flex-shrink: 0;
}

.highlight {
  background: var(--primary);
  color: var(--light);
  padding: 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Services */
.service-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-row {
  background: var(--light);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-row .price {
  font-weight: 700;
  color: var(--primary);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  background: #eef3f8;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--light);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  margin-top: 12px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #101828;
  color: #d0d5dd;
  padding: 48px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-grid a {
  color: #d0d5dd;
}

.footer-bottom {
  margin-top: 24px;
  font-size: 14px;
  color: #98a2b3;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 92%;
  max-width: 960px;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal .modal-card {
  background: var(--light);
  padding: 24px;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 12px;
}

.toggle-row button {
  min-width: 84px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    box-shadow: none;
    border: none;
    background: transparent;
    width: auto;
    padding: 0;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-content > div {
    flex: 1;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid .card {
    flex: 1 1 calc(50% - 20px);
  }

  .split {
    flex-direction: row;
  }

  .split .panel {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .service-table {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-row {
    flex: 1 1 calc(50% - 16px);
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .card {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
