:root {
  --color-primary: #0f172a;
  --color-on-primary: #ffffff;
  --color-secondary: #334155;
  --color-accent: #0369a1;
  --color-accent-hover: #075985;
  --color-background: #f4f7fb;
  --color-foreground: #020617;
  --color-muted: #e8ecf1;
  --color-border: #d5dde8;
  --color-surface: #ffffff;
  --color-sky: #e0f2fe;
  --font-display: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --radius: 0.5rem;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --header-h: 4rem;
  --sticky-h: 4.25rem;
  --ease: 200ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background: var(--color-background);
  padding-bottom: calc(var(--sticky-h) + 0.5rem);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-accent-hover);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.logo-mark {
  width: 3.5rem;
  height: 3.5rem;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--color-secondary);
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

.nav.is-open {
  display: flex;
}

.nav a {
  color: var(--color-foreground);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--ease);
}

.nav a:hover {
  background: var(--color-muted);
}

.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  text-align: center;
}

.nav-cta:hover {
  background: var(--color-accent-hover) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 4rem;
  color: #f8fafc;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.42) 0%, rgba(2, 6, 23, 0.78) 62%, rgba(2, 6, 23, 0.92) 100%),
    linear-gradient(115deg, rgba(12, 74, 110, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.hero-controls {
  position: absolute;
  right: max(1rem, calc((100% - 1100px) / 2));
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(248, 250, 252, 0.35);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.45);
  color: #f8fafc;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}

.hero-nav:hover {
  background: rgba(3, 105, 161, 0.75);
  border-color: rgba(224, 242, 254, 0.6);
}

.hero-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
  padding: 0 0.25rem;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(248, 250, 252, 0.4);
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}

.hero-dot.is-active {
  background: #e0f2fe;
  transform: scale(1.25);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 40rem;
  animation: rise 0.8s ease both;
}

.brand-hero {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #e0f2fe;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-lead {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 34ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-meta {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.answer-block {
  padding-block: var(--space-6);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.answer-block h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.answer-first {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-secondary);
  max-width: 62ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn:hover {
  box-shadow: 0 8px 24px rgba(3, 105, 161, 0.22);
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.75rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #e0f2fe, #f0f9ff);
  color: var(--color-accent);
  border: 1px solid #bae6fd;
  transition: transform 280ms ease, background 280ms ease;
}

.service-list li:hover .icon-badge,
.why-grid article:hover .icon-badge {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(145deg, #bae6fd, #e0f2fe);
}

.score-stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin: 0.45rem 0;
  color: #fbbf24;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0;
  transform: scale(0.6);
}

.proof-score.is-in .star {
  animation: star-pop 0.45s ease forwards;
}

.proof-score.is-in .star:nth-child(1) { animation-delay: 0.05s; }
.proof-score.is-in .star:nth-child(2) { animation-delay: 0.12s; }
.proof-score.is-in .star:nth-child(3) { animation-delay: 0.19s; }
.proof-score.is-in .star:nth-child(4) { animation-delay: 0.26s; }
.proof-score.is-in .star:nth-child(5) { animation-delay: 0.33s; }

.proof-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.proof-points li,
.area-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.proof-points .icon,
.area-list .icon {
  margin-top: 0.2rem;
  color: var(--color-accent);
}

.area-list {
  list-style: none;
  padding-left: 0;
}

.contact-label {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--d, 0) * 70ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

@keyframes star-pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section .btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.section .btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: var(--space-8) 0;
}

.section-tint {
  background: linear-gradient(180deg, #eef3f9 0%, var(--color-background) 100%);
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-head h2,
.related-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p,
.related-lead {
  margin: 0.75rem 0 0;
  color: var(--color-secondary);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}

.service-list li {
  background: var(--color-surface);
  padding: 1.35rem 1.25rem;
}

.service-list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.service-list p {
  margin: 0;
  color: var(--color-secondary);
  font-size: 0.98rem;
}

.why-grid {
  display: grid;
  gap: 1.5rem;
}

.why-grid article {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.why-grid article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.why-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.why-grid p {
  margin: 0;
  color: var(--color-secondary);
}

.mid-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  justify-content: center;
}

.proof-row {
  display: grid;
  gap: 2rem;
}

.proof-score {
  background: linear-gradient(160deg, #0f172a, #0c4a6e);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.score-num {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

.score-caption {
  margin: 0 0 1rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.proof-score .text-link {
  color: #7dd3fc;
}

.proof-points {
  color: var(--color-secondary);
}

.proof-points li + li,
.area-list li + li {
  margin-top: 0.65rem;
}

.section-map {
  background:
    radial-gradient(circle at 85% 20%, rgba(3, 105, 161, 0.08), transparent 40%),
    var(--color-background);
}

.area-layout {
  display: grid;
  gap: 2rem;
}

.area-list {
  margin: 0 0 1.5rem;
  color: var(--color-secondary);
}

.map-panel {
  min-height: 220px;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.04), rgba(3, 105, 161, 0.12)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(15, 23, 42, 0.04) 39px,
      rgba(15, 23, 42, 0.04) 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(15, 23, 42, 0.04) 39px,
      rgba(15, 23, 42, 0.04) 40px
    ),
    #dbe7f2;
  border: 1px solid var(--color-border);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem;
  animation: map-pulse 4s ease-in-out infinite;
}

.map-pin {
  width: 1rem;
  height: 1rem;
  margin-inline: auto;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(3, 105, 161, 0.18);
}

.map-panel p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
}

.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.25rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--color-accent);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0 0 1rem;
  color: var(--color-secondary);
}

.contact {
  background:
    linear-gradient(180deg, #0f172a 0%, #0c4a6e 100%);
  color: #e2e8f0;
}

.contact .eyebrow {
  color: #7dd3fc;
}

.contact .section-head h2 {
  color: #fff;
}

.contact .section-head p {
  color: #cbd5e1;
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-details span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.contact-details a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}

.contact-details a:hover {
  color: #7dd3fc;
}

.contact-form {
  background: var(--color-surface);
  color: var(--color-foreground);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fff;
  color: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.2);
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-secondary);
}

.form-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.related {
  padding: 2.5rem 0;
}

.related-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--color-secondary);
}

.related-list li + li {
  margin-top: 0.35rem;
}

.site-footer {
  background: #020617;
  color: #94a3b8;
  padding: 2.5rem 0 6rem;
  font-size: 0.95rem;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

.footer-inner p {
  margin: 0.25rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.25rem 0;
}

.footer-links a,
.site-footer a {
  color: #7dd3fc;
}

.footer-copy {
  margin-top: 1.5rem !important;
  font-size: 0.85rem;
  border-top: 1px solid #1e293b;
  padding-top: 1rem;
}

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid #1e293b;
}

.sticky-bar .btn {
  min-height: 2.85rem;
}

.sticky-bar .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06) translate(-1%, 1%);
  }
}

@keyframes map-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(3, 105, 161, 0.15);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(3, 105, 161, 0.05);
  }
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .sticky-bar {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0.15rem;
  }

  .nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.92rem;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }

  .why-grid article {
    border-bottom: 0;
    padding: 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
  }

  .proof-row,
  .area-layout,
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }

  .contact-layout {
    align-items: start;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .hero {
    align-items: center;
    padding: 5rem 0;
  }

  .service-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg::before,
  .map-panel,
  .hero-content,
  .proof-score.is-in .star {
    animation: none !important;
  }

  .hero-slide {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .star {
    opacity: 1;
    transform: none;
  }

  .btn:active,
  .service-list li:hover .icon-badge,
  .why-grid article:hover .icon-badge {
    transform: none;
  }
}
