/* Base */
:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --ink: #16212a;
  --muted: #5a6a78;
  --brand: #2b5d7a;
  --accent: #7fb2c9;
  --panel: #ffffff;
  --panel-alt: #eef2f6;
  --border: #d9e1ea;
  --focus: #1b8cc9;
  --shadow: 0 12px 30px rgba(16, 34, 52, 0.1);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--panel-alt);
}

.section-panel {
  background: var(--panel);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.8rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
}

.btn-muted {
  background: var(--panel-alt);
  color: var(--ink);
}

/* Header */
.site-header {
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 22px rgba(20, 33, 51, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-toggle {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--panel-alt);
  color: var(--ink);
}

.menu {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--panel);
  position: absolute;
  right: 4%;
  top: 70px;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 200px;
}

.menu a {
  padding: 0.3rem 0.2rem;
  font-weight: 600;
  color: var(--ink);
}

.menu.open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-illustration {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-illustration p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-illustration svg {
  width: 80px;
  height: 80px;
}

/* Layout blocks */
.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card {
  background: var(--panel);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
}

.card.highlight {
  border-color: var(--accent);
  background: #f3f9fc;
}

.icon-line {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.icon-line svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--panel);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.6rem;
  display: block;
  color: var(--brand);
}

.quote {
  background: var(--brand);
  color: #fff;
  padding: 2.5rem;
  border-radius: 18px;
}

.quote p {
  color: rgba(255, 255, 255, 0.9);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial {
  background: var(--panel);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.testimonial strong {
  display: block;
  margin-top: 1rem;
  color: var(--ink);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--panel);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  width: 100%;
  gap: 1rem;
  text-align: left;
}

.faq-answer {
  margin-top: 0.8rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison .card {
  background: var(--panel-alt);
}

/* Footer */
.site-footer {
  background: #0e1a22;
  color: #e7eff6;
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #e7eff6;
  opacity: 0.9;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border-radius: 18px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  width: min(680px, 92%);
  display: none;
  z-index: 50;
}

.cookie-banner p {
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 20, 28, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--panel);
  border-radius: 20px;
  padding: 2rem;
  width: min(640px, 92%);
  box-shadow: var(--shadow);
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--panel-alt);
  font-weight: 600;
}

/* Contact page */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-block {
  background: var(--panel);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

/* Thank you */
.thank-you {
  text-align: center;
  padding: 4rem 0;
}

/* Desktop */
@media (min-width: 880px) {
  h1 {
    font-size: 3rem;
  }

  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 1.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 220px;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1 1 260px;
  }

  .steps {
    flex-direction: row;
  }

  .step {
    flex: 1 1 200px;
  }

  .comparison {
    flex-direction: row;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-list {
    flex-direction: row;
  }
}
