:root {
  --brand: #123d64;
  --brand-2: #4c9ac9;
  --accent: #fe947a;
  --ink: #1d1d1b;
  --muted: #5a7184;
  --line: #d9e8f0;
  --soft: #f5f9fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 61, 100, .14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Sempione Grotesk", Poppins, Inter, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--brand);
  color: var(--white);
  padding: .75rem 1rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 232, 240, .75);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: 190px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--brand);
  font-size: .94rem;
  font-weight: 600;
}

.nav-links a {
  padding: .55rem .2rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .82rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(254, 148, 122, .32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ff8669;
}

.btn-secondary {
  background: var(--brand);
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(18, 61, 100, .18);
  color: var(--brand);
  background: var(--white);
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--soft);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 .7rem;
  color: var(--brand-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--brand);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-lead {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(76, 154, 201, .22), transparent 34%),
    linear-gradient(135deg, #f8fcfe 0%, #ffffff 46%, #eef7fb 100%);
  padding: 72px 0 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 3.2rem;
}

.hero-copy h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(2.6rem, 6vw, 5.55rem);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
  max-width: 650px;
}

.trust-item {
  border-left: 3px solid var(--accent);
  padding-left: .9rem;
}

.trust-item strong {
  display: block;
  color: var(--brand);
  font-size: 1.2rem;
}

.trust-item span {
  color: var(--muted);
  font-size: .92rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.dispatch-panel {
  position: absolute;
  left: 0;
  top: 42px;
  width: min(430px, 100%);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.map-card {
  position: relative;
  height: 302px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(18, 61, 100, .08) 1px, transparent 1px),
    linear-gradient(rgba(18, 61, 100, .08) 1px, transparent 1px),
    #eaf6fb;
  background-size: 48px 48px;
}

.route {
  position: absolute;
  inset: 30px;
  border: 5px solid var(--brand-2);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 46% 54% 40% 60%;
  transform: rotate(-18deg);
}

.pin {
  position: absolute;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(18, 61, 100, .22);
}

.pin-a {
  left: 54px;
  bottom: 58px;
  background: var(--accent);
}

.pin-b {
  right: 68px;
  top: 56px;
  background: var(--brand);
}

.dispatch-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

.dispatch-status strong {
  color: var(--brand);
}

.dispatch-status span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
}

.eta {
  padding: .65rem .8rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
}

.phone-mini {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 252px;
  border: 10px solid var(--brand);
  border-radius: 38px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-top {
  width: 92px;
  height: 7px;
  margin: 16px auto 18px;
  border-radius: 10px;
  background: var(--line);
}

.phone-body {
  padding: 0 18px 20px;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .72rem;
  margin-bottom: .65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand);
  font-weight: 750;
}

.service-chip span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand-2);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.3rem;
  box-shadow: 0 12px 34px rgba(18, 61, 100, .06);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #eaf6fb;
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 850;
}

.card h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.12rem;
}

.card p {
  margin: .55rem 0 0;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.step {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
  min-height: 230px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  margin-bottom: 2.4rem;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 850;
}

.step h3 {
  margin: 0;
  font-size: 1.16rem;
}

.step p {
  margin: .55rem 0 0;
  color: #cfe4ef;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2.2rem;
}

.service {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 72px;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand);
  font-weight: 750;
}

.service svg {
  flex: 0 0 26px;
  color: var(--brand-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: .75rem;
  color: var(--muted);
}

.check {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand);
  font-size: .62rem;
  font-weight: 900;
}

.mockups img {
  width: 100%;
  filter: drop-shadow(0 28px 38px rgba(18, 61, 100, .18));
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  margin-top: 2.2rem;
}

.quote {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--white);
}

.quote blockquote {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.quote cite {
  display: block;
  margin-top: 1.3rem;
  color: #cfe4ef;
  font-style: normal;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  min-height: 132px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric strong {
  display: block;
  color: var(--brand);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: .6rem;
  color: var(--muted);
}

.faq {
  max-width: 860px;
  margin: 2.2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-button span:last-child {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
}

.faq-panel {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  display: block;
}

.cta-band {
  background: var(--brand);
  color: var(--white);
  padding: 78px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-inner h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.cta-inner p {
  max-width: 680px;
  margin: 1rem 0 0;
  color: #cfe4ef;
}

.signup-panel {
  min-width: 330px;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.signup-panel label {
  display: block;
  margin-bottom: .45rem;
  color: var(--brand);
  font-size: .84rem;
  font-weight: 800;
}

.signup-panel input,
.signup-panel select {
  width: 100%;
  min-height: 44px;
  margin-bottom: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .65rem .75rem;
  color: var(--ink);
  background: var(--white);
}

.form-message {
  min-height: 22px;
  margin: .65rem 0 0;
  color: var(--brand);
  font-size: .88rem;
  font-weight: 700;
}

.site-footer {
  background: #0f3150;
  color: var(--white);
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-logo {
  width: 180px;
  filter: brightness(0) invert(1);
}

.footer-grid p,
.footer-grid a {
  color: #cfe4ef;
}

.footer-grid h3 {
  margin: 0 0 .85rem;
  font-size: 1rem;
}

.footer-grid ul {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #cfe4ef;
  font-size: .9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero-grid,
  .split,
  .cta-inner,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .grid-3,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signup-panel {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 155px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 48px 0 62px;
  }

  .hero-actions,
  .trust-strip,
  .grid-2,
  .grid-3,
  .steps,
  .service-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 590px;
  }

  .dispatch-panel {
    position: relative;
    top: auto;
  }

  .phone-mini {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
