/* Base */
:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --ink: #1f2a2f;
  --muted: #5a6a72;
  --brand: #1f7a8c;
  --brand-dark: #145c69;
  --accent: #f2c14e;
  --line: #e3e0da;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--surface);
}

.section.tint {
  background: #eef3f4;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--brand);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle span {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 12px;
  position: absolute;
  right: 4%;
  top: 70px;
  width: min(280px, 90%);
  box-shadow: 0 20px 40px rgba(31, 42, 47, 0.1);
}

.nav-open .primary-nav {
  display: flex;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.nav-open .nav-overlay {
  display: block;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3rem;
}

.hero .content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 20px 40px rgba(31, 42, 47, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff6df;
  color: #7a5b14;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: #f0f6f7;
  padding: 1rem;
  border-radius: 14px;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--brand-dark);
}

/* Sections */
.flex-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
}

.card.highlight {
  background: #f7fbfc;
  border-color: #cde3e7;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e6f2f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brand-dark);
  stroke-width: 2;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  background: var(--surface);
  border-left: 4px solid var(--brand);
  padding: 0.8rem 1rem;
  border-radius: 10px;
}

.quote {
  background: var(--brand);
  color: #fff;
  padding: 2rem;
  border-radius: 18px;
}

.quote p {
  color: #fff;
  font-size: 1.1rem;
}

.stats-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stats-bar .bar {
  background: var(--surface);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--line);
}

.bar strong {
  display: block;
  font-size: 1.2rem;
  color: var(--brand-dark);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison .cell {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 12px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item .answer {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.faq-item[aria-expanded="true"] .answer {
  display: block;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.testimonial span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card {
  border-radius: 16px;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.price {
  font-weight: 700;
  color: var(--brand-dark);
  margin-top: 0.4rem;
}

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.tag {
  background: #eef3f4;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
footer {
  background: #1a262b;
  color: #e9f0f2;
  padding: 2.5rem 0;
}

footer p,
footer a {
  color: #d4dde0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  width: min(520px, 92%);
  box-shadow: 0 20px 40px rgba(31, 42, 47, 0.1);
  display: none;
  z-index: 100;
}

.cookie-banner.active {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 120;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal .panel {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 18px;
  width: min(540px, 90%);
}

.cookie-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0;
}

.cookie-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: #f6f7f7;
  padding: 0.8rem;
  border-radius: 12px;
}

.cookie-item input {
  margin-top: 0.2rem;
}

/* Responsive */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: auto;
  }

  .nav-overlay {
    display: none;
  }

  .hero .content,
  .flex-row,
  .split,
  .cards,
  .testimonials,
  .service-grid,
  .footer-grid {
    flex-direction: row;
  }

  .hero .content > * {
    flex: 1;
  }

  .cards .card,
  .testimonials .testimonial,
  .service-grid .service-card,
  .stats-bar .bar {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .cell {
    flex: 1;
  }

  .stats-bar {
    flex-direction: row;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .cta-row {
    flex-direction: row;
    align-items: center;
  }
}
