* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f1424;
  --bg-soft: #151c32;
  --bg-light: #f4f6fb;
  --text: #1b2238;
  --text-soft: #58617a;
  --accent: #7c8dff;
  --accent-dark: #5a68d7;
  --sand: #f7f1e6;
  --highlight: #e8ecff;
  --white: #ffffff;
  --border: #dfe4f1;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--bg-light);
}

.section.sand {
  background: var(--sand);
}

.section.dark {
  background: var(--bg);
  color: var(--white);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--text-soft);
}

.section.dark p,
.section.dark .eyebrow {
  color: #c5cbe5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  transition: 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn.light {
  background: var(--white);
  color: var(--text);
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-dark);
  color: var(--white);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  background: var(--highlight);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.site-nav a {
  font-weight: 500;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.nav-open .site-nav {
  display: flex;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--bg);
  color: var(--white);
  padding: 28px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card p {
  color: #c5cbe5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  background: var(--highlight);
  border-color: transparent;
}

.card.dark {
  background: var(--bg-soft);
  color: var(--white);
  border-color: transparent;
}

.card.dark p {
  color: #c5cbe5;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: var(--highlight);
}

.stat strong {
  font-size: 1.6rem;
}

.quote {
  background: var(--sand);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote p {
  color: var(--text);
  font-weight: 500;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--highlight);
  font-size: 0.9rem;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.process-step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: var(--white);
  border: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--text-soft);
}

.faq-item.open .faq-answer {
  display: block;
}

.footer {
  background: var(--bg-soft);
  color: var(--white);
  padding: 36px 0;
}

.footer p,
.footer a {
  color: #c5cbe5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18);
  padding: 18px;
  display: none;
  z-index: 100;
}

.cookie-banner.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 38, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 120;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  width: min(520px, 95%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--highlight);
}

.toggle-btn {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.toggle-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--highlight);
  font-size: 0.85rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: none;
    gap: 20px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero > * {
    flex: 1;
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .card-grid,
  .service-grid,
  .stat-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .service-card {
    flex: 1 1 calc(50% - 16px);
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .footer-links {
    flex-direction: row;
    gap: 20px;
  }

  .contact-block {
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .card,
  .service-card,
  .stat {
    flex: 1 1 calc(33% - 16px);
  }
}
