*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-alt: #eef1f5;
  --text: #1e1f24;
  --muted: #5b6270;
  --brand: #2b5b7b;
  --brand-dark: #21445c;
  --accent: #d9a441;
  --border: #d9dde4;
  --shadow: 0 10px 30px rgba(24, 32, 44, 0.12);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section .section-title {
  font-size: 1.8rem;
  margin: 0 0 12px;
}

.section .section-subtitle {
  margin: 0 0 28px;
  color: var(--muted);
}

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  top: 64px;
  right: 4vw;
  background: var(--surface);
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  min-width: 220px;
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
}

.hero {
  padding: 80px 0 60px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 14px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-outline {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(43, 91, 123, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stat-bar {
  background: var(--surface);
  padding: 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stat-bar span {
  font-weight: 700;
  font-size: 1.4rem;
}

.quote {
  background: var(--brand);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius);
}

.quote p {
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.service-card h3 {
  margin-top: 6px;
}

.price {
  font-weight: 700;
  color: var(--brand-dark);
  margin-top: 8px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  border-left: 4px solid var(--accent);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.faq-answer {
  display: none;
  padding-top: 8px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.cta-panel {
  background: var(--brand-dark);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer {
  background: #111821;
  color: #dfe6ef;
  padding: 40px 0;
}

.footer a {
  color: #dfe6ef;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: none;
  z-index: 50;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 26, 36, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px;
  width: min(520px, 92vw);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  font-weight: 600;
}

.toggle-btn.active {
  background: var(--accent);
  color: #1b1b1b;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .hero-inner,
  .split,
  .footer-grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-inner > * {
    flex: 1;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid > * {
    flex: 1 1 calc(50% - 20px);
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .card {
    flex: 1;
  }

  .hero-actions,
  .cookie-actions {
    flex-direction: row;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
    min-width: auto;
  }

  .menu-toggle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .grid > * {
    flex: 1 1 calc(33.33% - 20px);
  }
}
