/* Base */
:root {
  --bg: #f7f5f0;
  --text: #1f2a35;
  --muted: #5b6b7a;
  --primary: #2b4c7e;
  --accent: #3a87a3;
  --warm: #f0e2c8;
  --card: #ffffff;
  --border: #d9e0e6;
  --shadow: 0 8px 24px rgba(31, 42, 53, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: #fffdf9;
}

.section.warm {
  background: var(--warm);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--primary);
}

.btn:focus-visible,
.link-btn:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(58, 135, 163, 0.5);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(8px);
  z-index: 20;
  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;
  text-transform: lowercase;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
}

.menu-toggle {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 53, 0.5);
  display: none;
  padding: 20px;
  z-index: 30;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-panel {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-panel a {
  font-weight: 600;
}

/* Layout blocks */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.two-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 224, 230, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(58, 135, 163, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #ffffff;
  border-radius: 12px;
}

.quote {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 1.05rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison .card {
  border-left: 4px solid var(--primary);
}

/* Services */
.service-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.price {
  font-weight: 700;
  color: var(--primary);
}

.process {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-weight: 600;
  text-align: left;
  font-size: 1rem;
  padding: 0;
}

.faq-answer {
  margin-top: 10px;
  color: var(--muted);
}

/* Footer */
footer {
  background: #1f2a35;
  color: #e9eef3;
  padding: 40px 0;
}

footer a {
  color: #e9eef3;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: none;
  z-index: 40;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font-weight: 600;
  text-align: left;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 53, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* Utility */
.split {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1.1;
  }

  .hero-visual {
    flex: 0.9;
  }

  .two-col,
  .card-grid,
  .comparison,
  .stats,
  .footer-columns {
    flex-direction: row;
  }

  .two-col > * {
    flex: 1;
  }

  .card-grid > * {
    flex: 1;
  }

  .comparison > * {
    flex: 1;
  }

  .stats > * {
    flex: 1;
  }

  .footer-columns > * {
    flex: 1;
  }

  .cookie-banner {
    left: auto;
    right: 30px;
    max-width: 380px;
  }

  .cookie-actions {
    flex-direction: row;
    align-items: center;
  }
}
