/* Base */
:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --surface: #ffffff;
  --ink: #1f2933;
  --muted: #5b6770;
  --brand: #335c67;
  --brand-strong: #14333a;
  --accent: #d4a373;
  --border: #e6e1d9;
  --highlight: #f1ede7;
}

* {
  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;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-tight {
  padding: 32px 0;
}

.section-highlight {
  background: var(--highlight);
}

.section-contrast {
  background: var(--brand-strong);
  color: #fefcf8;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--muted);
}

.section-contrast .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.section-contrast p {
  color: rgba(255, 255, 255, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(20, 51, 58, 0.15);
}

.btn.secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(51, 92, 103, 0.12);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 244, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  position: absolute;
  left: 4%;
  right: 4%;
  top: 72px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 30px rgba(20, 51, 58, 0.12);
}

.nav-links a {
  padding: 8px 4px;
  font-weight: 600;
  color: var(--brand-strong);
}

.nav-links.open {
  display: flex;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand-strong);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-panel {
  background: var(--surface);
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 12px;
}

/* Sections */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 163, 115, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.quote {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.section-contrast .quote {
  color: #fff;
}

.stat-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.stat-card strong {
  font-size: 1.6rem;
  color: var(--brand-strong);
}

.testimonial {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  border-left: 4px solid var(--brand);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
}

.step-number {
  min-width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--brand-strong);
}

.faq-item .answer {
  padding: 0 20px 16px;
  display: none;
  color: var(--muted);
}

.faq-item.open .answer {
  display: block;
}

.faq-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card .price {
  font-weight: 700;
  color: var(--brand-strong);
}

.info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

/* Footer */
.site-footer {
  background: #ece7df;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 30px rgba(20, 51, 58, 0.2);
  z-index: 80;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 51, 58, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

/* Utility */
.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(51, 92, 103, 0.1);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .row {
    flex-direction: row;
    align-items: stretch;
  }

  .split {
    flex-direction: row;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .hero-panel {
    flex: 1;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .service-grid,
  .stat-grid,
  .comparison {
    flex-direction: row;
  }

  .service-card,
  .stat-card,
  .comparison .card {
    flex: 1;
  }

  .process-steps {
    flex-direction: row;
  }

  .step {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
  }
}
