:root {
  color-scheme: light;
  --primary: #2f4a7b;
  --primary-dark: #21345a;
  --accent: #f2c36b;
  --accent-dark: #d7a84f;
  --ink: #1b1c1f;
  --muted: #5c6470;
  --surface: #f6f3ef;
  --surface-strong: #ece7df;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 30px rgba(27, 28, 31, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.surface {
  background: var(--surface);
}

.section.surface-strong {
  background: var(--surface-strong);
}

.section-title {
  font-size: 2rem;
  margin: 0 0 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  background: var(--primary);
  color: var(--white);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  background: var(--primary);
  color: var(--white);
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  background: var(--surface-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid #e6e4df;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary);
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: absolute;
  top: 70px;
  right: 4%;
  min-width: 200px;
}

.nav-links a {
  font-weight: 600;
  color: var(--primary);
}

.nav-toggle {
  background: transparent;
  border: 1px solid #d8d3c9;
  border-radius: 12px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--primary);
  display: block;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--primary);
  left: 0;
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-links {
  display: flex;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 72px 0 56px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero h1 {
  font-size: clamp(2.3rem, 3vw, 3.4rem);
  margin: 0;
  color: var(--primary-dark);
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stat-item {
  background: var(--white);
  padding: 16px;
  border-radius: 14px;
  min-width: 140px;
  box-shadow: var(--shadow);
}

.stat-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card svg {
  width: 40px;
  height: 40px;
}

.highlight-panel {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}

.highlight-panel p {
  margin: 8px 0 0;
  color: #f1f1f1;
}

.quote {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 12px;
}

.icon-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.icon-row .item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.table-row strong {
  color: var(--primary);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 12px;
  background: var(--white);
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid #dfd9cf;
}

.site-footer {
  padding: 40px 0 60px;
  background: var(--primary-dark);
  color: #f1f1f1;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #f1f1f1;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  width: min(520px, 90%);
  z-index: 200;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(27, 28, 31, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  width: min(560px, 92%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  background: var(--surface);
  border-radius: 12px;
}

.cookie-toggle {
  border: 1px solid #d2cabe;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  color: var(--primary);
}

.cookie-toggle[aria-checked="true"] {
  background: var(--primary);
  color: var(--white);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card .price {
  font-weight: 700;
  color: var(--primary);
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .nav-links {
    position: static;
    flex-direction: row;
    display: flex;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    background: transparent;
  }

  .nav-toggle {
    display: none;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .card-grid {
    flex-direction: row;
  }

  .card-grid .card {
    flex: 1;
  }

  .icon-row {
    flex-direction: row;
  }

  .table-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .contact-grid {
    flex-direction: row;
  }

  .contact-grid > div {
    flex: 1;
  }

  .service-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 20px);
  }
}
