*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f6f4f0;
  --surface: #ffffff;
  --surface-alt: #eef3f5;
  --ink: #1e2432;
  --muted: #56607a;
  --brand: #2f6c7a;
  --brand-dark: #1f4a57;
  --accent: #c58833;
  --border: #d9dde5;
  --shadow: 0 16px 40px rgba(25, 31, 45, 0.12);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand);
}

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--ink);
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(22, 28, 38, 0.5);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-nav .panel {
  width: min(320px, 80%);
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.2s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav.open .panel {
  transform: translateX(0);
}

.mobile-nav a {
  font-weight: 600;
  color: var(--ink);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  background: var(--surface-alt);
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.button {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card.highlight {
  border-left: 5px solid var(--accent);
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.stat span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
}

.testimonial {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.testimonial cite {
  font-style: normal;
  color: var(--muted);
}

.quote-block {
  background: var(--brand-dark);
  color: #fff;
  padding: 2.5rem;
  border-radius: 24px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  padding: 1.25rem;
  border-radius: 16px;
}

.step-number {
  background: var(--brand);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  font-weight: 700;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-item button span {
  color: var(--muted);
}

.faq-content {
  padding: 0 1.25rem 1.25rem;
  display: none;
}

.faq-item.open .faq-content {
  display: block;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price {
  font-weight: 700;
  color: var(--brand);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  background: var(--surface);
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-panel {
  background: var(--brand);
  color: #fff;
  padding: 2.5rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer {
  background: var(--surface);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  max-width: 360px;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 32, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 40;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal .modal-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface-alt);
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

.info-block {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .hero-grid,
  .split,
  .cards,
  .stats,
  .service-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-grid > * {
    flex: 1 1 320px;
  }

  .cards .card,
  .stats .stat,
  .service-card {
    flex: 1 1 260px;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1 1 240px;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }
}

@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }
}
