*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #1f2430;
  --muted: #5f6775;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #f97316;
  --line: #e2e4ea;
}

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 {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 1.2rem 4rem;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section {
  padding: 2rem 0;
}

.section.surface {
  background: var(--surface);
}

.section.highlight {
  background: #eef2ff;
}

.section.accent {
  background: #fff4ec;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 600;
  border: 1px solid var(--brand);
  transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.button.secondary {
  background: transparent;
  color: var(--brand);
}

.button:hover,
.button:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-dark);
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.nav-links a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(37, 99, 235, 0.12);
}

.menu-toggle {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem 1.2rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-menu.open {
  display: flex;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card.icon {
  gap: 1rem;
}

.card.icon svg {
  width: 40px;
  height: 40px;
}

.stats-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--surface);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat strong {
  font-size: 1.4rem;
}

.testimonial {
  background: #111827;
  color: #f9fafb;
  border-radius: 24px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial span {
  color: #d1d5db;
  font-size: 0.9rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.step-index {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-pill {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--muted);
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.service-card strong {
  font-size: 1.1rem;
}

.price {
  font-weight: 700;
  color: var(--brand);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-item {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.2rem 1rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2.5rem 1.2rem;
}

.footer .container {
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 30;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.6rem;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1rem;
}

.toggle-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.toggle {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #cbd5f5;
  position: relative;
  border: none;
}

.toggle::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}

.toggle.active {
  background: var(--brand);
}

.toggle.active::after {
  transform: translateX(18px);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid var(--line);
}

@media (min-width: 768px) {
  main {
    padding: 3rem 2rem 5rem;
  }

  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-card {
    flex: 1;
  }

  .card-row,
  .service-grid,
  .comparison {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .service-card,
  .comparison-item {
    flex: 1 1 calc(50% - 1.2rem);
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .stats-bar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .card,
  .service-card,
  .comparison-item {
    flex: 1 1 calc(33% - 1.2rem);
  }

  .stat {
    flex: 1 1 calc(25% - 1rem);
  }
}
