/* Base */
:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #1d1f24;
  --muted: #5a6472;
  --brand: #2a7f88;
  --brand-dark: #1f6066;
  --accent: #f1a23a;
  --line: #e6e9ee;
  --shadow: 0 8px 24px rgba(12, 22, 30, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, 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(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: #eef2f5;
}

.section.panel {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

.btn.ghost {
  background: transparent;
  color: var(--brand);
  border-color: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(42, 127, 136, 0.12);
  color: var(--brand-dark);
  font-size: 0.85rem;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-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;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand-dark);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.site-header.nav-open .nav-links {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Feature blocks */
.features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(241, 162, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* Services */
.service-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price {
  font-weight: 700;
  color: var(--brand-dark);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 20px;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: #ffffff;
  border-left: 4px solid var(--brand);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.faq-item .answer {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .answer {
  display: block;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-bar {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  background: #111827;
  color: #e5e7eb;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cookie banner and modal */
.cookie-banner,
.cookie-modal {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  width: min(560px, 92%);
  z-index: 50;
}

.cookie-banner {
  bottom: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-modal {
  top: 10%;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.toggle button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  font-weight: 600;
}

.toggle button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Layout helpers */
.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cards-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-block {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .hero-stats {
    flex: 0.8;
  }

  .features,
  .service-grid,
  .cards-row,
  .testimonials,
  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card,
  .service-card,
  .testimonial,
  .stat-bar,
  .info-block {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
