/* Base */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1f2933;
  --muted: #5b6670;
  --accent: #4c6fff;
  --accent-2: #31b4a2;
  --accent-3: #f2a654;
  --border: #e3e6ea;
  --shadow: 0 8px 24px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

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;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: #eef2f5;
}

.section.highlight {
  background: #1f2933;
  color: #f7f6f2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.section.highlight .eyebrow {
  color: #d5dbe0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.section.highlight p {
  color: #d5dbe0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn.ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

/* Header + Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.mobile-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 24px;
}

.mobile-menu a {
  color: var(--muted);
  font-weight: 600;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }

  .mobile-toggle,
  .mobile-menu {
    display: none;
  }
}

/* Layout blocks */
.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-illustration {
  background: linear-gradient(120deg, #edf0ff, #e8f7f4);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.accent {
  border-color: transparent;
  background: #eef3ff;
}

.card .icon {
  width: 40px;
  height: 40px;
  background: rgba(76, 111, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.split.reverse {
  flex-direction: column-reverse;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.5rem;
  color: var(--accent);
}

.quote {
  background: #fff6ec;
  border-left: 4px solid var(--accent-3);
  padding: 24px;
  border-radius: 12px;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  background: #eaf7f5;
  color: #2c5a54;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Services */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card .price {
  font-weight: 700;
  color: var(--accent);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  background: #f1f4f8;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border: none;
  background: transparent;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--muted);
  display: none;
}

.faq-item[aria-expanded="true"] .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #11151a;
  color: #d7dde2;
  padding: 40px 0;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-columns a {
  color: #d7dde2;
}

.footer-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #98a2ad;
}

/* Cookie banner + modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  width: min(720px, 92%);
  box-shadow: var(--shadow);
  display: none;
  z-index: 100;
}

.cookie-banner.active {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 41, 51, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 16px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  width: min(640px, 96%);
}

.preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.preference:last-child {
  border-bottom: none;
}

@media (min-width: 860px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row;
  }

  .cards,
  .services-grid,
  .testimonials,
  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cards .card,
  .services-grid .service-card,
  .testimonials .testimonial,
  .stats .stat {
    flex: 1 1 240px;
  }

  .footer-columns {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
