/* =========================================================================
   BMV Courier Service
   styles.css  -  hand-coded, no framework, no build step.

   Structure:
     1. TOKENS
     2. RESET + BASE
     3. SHARED COMPONENTS   <- reused by quote.html
     4. SITE CHROME         <- header / nav / footer, reused by quote.html
     5. HOME                <- index.html only
   ========================================================================= */

/* ===== 1. TOKENS ======================================================== */

:root {
  /* Brand */
  --navy: #102850;
  --ink: #0b1a33;
  --navy-700: #1b3a6b;
  --navy-100: #e6ecf5;
  --silver: #b8bec8;
  --silver-100: #f3f5f8;
  --white: #ffffff;
  --accent: #2f7bff;
  --amber: #f5a524;
  --text-muted: #62748e;        /* AA on white and --canvas */
  --text-muted-strong: #566780; /* AA on tinted surfaces */
  --accent-ink: #1d5fd6;        /* accent, darkened for text-size use */

  /* Derived surfaces */
  --canvas: #fbfcfd;
  --line: #e4e8ef;
  --line-strong: #d3dae4;
  --navy-050: #f1f5fa;
  --on-navy-muted: #a9bcd8;

  /* Radii - one system: pills for controls, 22px cards, 12px small parts */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation - offset + soft blur, tinted navy */
  --shadow-1: 0 1px 2px rgba(16, 40, 80, .05), 0 2px 6px rgba(16, 40, 80, .05);
  --shadow-2: 0 2px 4px rgba(16, 40, 80, .04), 0 14px 32px rgba(16, 40, 80, .08);
  --shadow-3: 0 4px 10px rgba(16, 40, 80, .06), 0 30px 70px rgba(16, 40, 80, .13);
  --shadow-navy: 0 2px 6px rgba(11, 26, 51, .18), 0 14px 30px rgba(11, 26, 51, .22);

  /* Motion */
  --ease: cubic-bezier(.32, .72, 0, 1);
  --dur-1: 160ms;
  --dur-2: 260ms;
  --dur-3: 420ms;

  /* Rhythm */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 8.5vw, 132px);
  --section-y-sm: clamp(48px, 5.5vw, 80px);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ===== 2. RESET + BASE ================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

::selection { background: var(--navy-100); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  transition: top var(--dur-2) var(--ease);
}
.skip-link:focus { top: 16px; }

/* =========================================================================
   ===== 3. SHARED COMPONENTS (used by quote.html too) =====================
   Class contract for the quote page (BEM `--` variants are accepted aliases
   of every hyphen name below, e.g. .btn-primary === .btn--primary):
     layout    .container .container-narrow .section .section-tight
               .stack .stack-sm .stack-lg .grid .grid-2 .grid-3
     type      .display .h2 .h3 .lede .muted .micro .label .link-accent
     buttons   .btn .btn-primary .btn-outline .btn-ghost .btn-lg .btn-block
               (wrap a navy surface in .on-navy to invert them)
     surfaces  .card .card-pad .card-interactive .panel .hairline .icon-frame
     tags      .pill .pill-solid .chip .badge
     forms     .field .field-label .field-hint .field-error .field-invalid
               .input .select .textarea .segmented .seg-btn
     stepper   .stepper .stepper-btn .stepper-body .stepper-label .stepper-count
     progress  .progress .progress-bar
     chrome    .utility .header .nav .footer (full markup in index.html)
     motion    [data-reveal] .is-visible
   ========================================================================= */

/* --- Layout ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow,
.container-narrow { max-width: 780px; }

.section { padding-block: var(--section-y); }
.section--tight,
.section-tight { padding-block: var(--section-y-sm); }

.stack { display: grid; gap: 16px; }
.stack--sm,
.stack-sm { gap: 8px; }
.stack--lg,
.stack-lg { gap: 28px; }

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

@media (max-width: 860px) {
  .grid--3,
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2,
  .grid-2,
  .grid--3,
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

/* --- Type -------------------------------------------------------------- */

.display {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
}

.h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.07;
  letter-spacing: -.03em;
  font-weight: 700;
}

.h3 {
  font-size: clamp(19px, 1.5vw, 21px);
  line-height: 1.25;
  letter-spacing: -.018em;
  font-weight: 600;
}

.lede {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
}

.muted { color: var(--text-muted); }

.micro {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--navy-700);
}

.link-accent {
  color: var(--accent-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
.link-accent:hover { text-decoration: underline; }

/* --- Buttons ----------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.011em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease),
    transform var(--dur-1) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { flex: none; }

.btn--primary,
.btn-primary {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-bd: var(--navy);
  box-shadow: var(--shadow-navy);
}
.btn--primary:hover,
.btn-primary:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }

.btn--outline,
.btn-outline {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
  box-shadow: var(--shadow-1);
}
.btn--outline:hover,
.btn-outline:hover { --btn-bd: var(--navy); --btn-fg: var(--navy); }

.btn--ghost,
.btn-ghost {
  --btn-bd: transparent;
  --btn-fg: var(--navy-700);
}
.btn--ghost:hover,
.btn-ghost:hover { --btn-bg: var(--navy-050); }

/* On navy surfaces */
.on-navy .btn--primary,
.on-navy .btn-primary {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-bd: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18), 0 14px 30px rgba(0, 0, 0, .2);
}
.on-navy .btn--primary:hover,
.on-navy .btn-primary:hover { --btn-bg: var(--navy-100); --btn-bd: var(--navy-100); }
.on-navy .btn--outline,
.on-navy .btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, .42);
  box-shadow: none;
}
.on-navy .btn--outline:hover,
.on-navy .btn-outline:hover { --btn-bd: var(--white); --btn-bg: rgba(255, 255, 255, .08); }

.btn--lg,
.btn-lg {
  min-height: 54px;
  padding: 15px 28px;
  font-size: 16.5px;
}

.btn--block,
.btn-block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] {
  cursor: not-allowed;
  --btn-bg: var(--silver-100);
  --btn-fg: #8a94a6;
  --btn-bd: var(--line);
  box-shadow: none;
}

/* --- Surfaces ---------------------------------------------------------- */

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

.card--pad,
.card-pad { padding: clamp(22px, 2.4vw, 30px); }

.card--interactive,
.card-interactive {
  transition:
    transform var(--dur-3) var(--ease),
    box-shadow var(--dur-3) var(--ease),
    border-color var(--dur-3) var(--ease);
}
.card--interactive:hover,
.card-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}

.panel {
  background: var(--silver-100);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
}

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --- Tags -------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.008em;
  color: var(--ink);
}
.pill--solid,
.pill-solid {
  background: var(--navy-100);
  border-color: transparent;
  color: var(--navy);
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--r-xs);
  background: var(--navy-100);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: -.006em;
}

/* --- Icon frame -------------------------------------------------------- */

.icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--navy-100);
  color: var(--navy);
  flex: none;
}
.icon-frame svg { width: 22px; height: 22px; }

/* --- Forms (used mainly by quote.html) --------------------------------- */

.field { display: grid; gap: 7px; }

.field__label,
.field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.008em;
}

.field__hint,
.field-hint { font-size: 13px; color: var(--text-muted); }

.field__error,
.field-error {
  font-size: 13px;
  font-weight: 600;
  color: #c2373b;
}

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted-strong); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, .18);
}
.textarea { min-height: 116px; resize: vertical; line-height: 1.55; }

.select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2362748e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field--invalid .input,
.field--invalid .select,
.field--invalid .textarea,
.field-invalid .textarea { border-color: #c2373b; }

/* Segmented control */
.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--silver-100);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.segmented__btn,
.seg-btn {
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted-strong);
  cursor: pointer;
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.segmented__btn[aria-pressed="true"],
.segmented__btn.is-active,
.seg-btn.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-1);
}

/* Stepper row: [-]  count  label  [+] */
.stepper {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.stepper + .stepper { border-top: 1px solid var(--line); }

.stepper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--silver);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition:
    border-color var(--dur-2) var(--ease),
    background var(--dur-2) var(--ease),
    transform var(--dur-1) var(--ease);
}
.stepper-btn:hover { border-color: var(--navy); background: var(--navy-050); }
.stepper-btn:active { transform: scale(.92); }
.stepper-btn[disabled] {
  cursor: not-allowed;
  border-color: var(--line);
  color: var(--silver);
  background: var(--white);
}

.stepper__body,
.stepper-body {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
  text-align: center;
}
.stepper__label,
.stepper-label { font-size: 16px; font-weight: 600; letter-spacing: -.012em; }
.stepper__count,
.stepper-count {
  min-width: 28px;
  font-variant-numeric: tabular-nums;
}

/* Progress */
.progress {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--navy-100);
  overflow: hidden;
}
.progress__bar,
.progress-bar {
  height: 100%;
  background: var(--navy);
  border-radius: inherit;
  transition: width var(--dur-3) var(--ease);
}

/* --- Reveal on scroll -------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 620ms var(--ease) var(--reveal-delay, 0ms),
    transform 720ms var(--ease) var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* =========================================================================
   ===== 4. SITE CHROME (header / footer - reused by quote.html) ===========
   ========================================================================= */

/* --- Utility bar ------------------------------------------------------- */

.utility {
  background: var(--navy);
  color: var(--on-navy-muted);
  font-size: 13.5px;
  letter-spacing: -.005em;
}
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
  padding-block: 8px;
}
.utility__list {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.utility__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.utility__item svg { width: 14px; height: 14px; opacity: .8; flex: none; }
.utility a:hover { color: var(--white); }
.utility__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}
.utility__phone svg { width: 15px; height: 15px; }

@media (max-width: 1080px) {
  .utility__list .utility__item:nth-child(2) { display: none; }
}
@media (max-width: 760px) {
  .utility__list .utility__item:nth-child(1) { display: none; }
  .utility__inner { justify-content: space-between; }
}

/* --- Header / nav ------------------------------------------------------ */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
@supports (backdrop-filter: blur(14px)) {
  .header { backdrop-filter: saturate(180%) blur(14px); }
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 2px rgba(16, 40, 80, .04), 0 10px 24px rgba(16, 40, 80, .05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.nav__brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.nav__brand img { width: 200px; height: auto; }
.nav__brand .nav__van { width: 80px; height: auto; flex: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -.011em;
  color: var(--text-muted);
  transition: color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--navy-050); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  position: relative;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur-2) var(--ease), background var(--dur-1) linear;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--dur-2) var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 14px var(--gutter) 24px;
}
.nav__mobile.is-open { display: block; }
.nav__mobile a.nav__link {
  display: flex;
  width: 100%;
  min-height: 52px;
  padding-inline: 8px;
  font-size: 18px;
  color: var(--ink);
  border-radius: var(--r-sm);
}
.nav__mobile .nav__mobile-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__actions .btn--outline,
  .nav__actions .btn-outline { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { min-height: 66px; }
  .nav__brand img { width: 168px; }
  .nav__brand .nav__van { width: 68px; }
  .nav__links { margin-inline: 0; }
  .nav__actions { margin-inline-start: auto; }
}
@media (max-width: 600px) {
  .nav__brand { gap: 8px; }
  .nav__brand img { width: 140px; }
  .nav__brand .nav__van { width: 56px; }
  .nav__actions .btn { padding-inline: 14px; font-size: 14.5px; }
}
@media (max-width: 420px) {
  .nav__brand { gap: 6px; }
  .nav__brand img { width: 118px; }
  .nav__brand .nav__van { width: 46px; }
  .nav__actions .btn { padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 360px) {
  .nav__brand img { width: 104px; }
  .nav__brand .nav__van { width: 40px; }
}

/* --- Footer ------------------------------------------------------------ */

.footer {
  background: var(--ink);
  color: var(--on-navy-muted);
  font-size: 15px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 44px 32px;
  padding-block: clamp(56px, 6vw, 84px);
}
.footer__brand img { width: 208px; height: auto; }
.footer__tag {
  margin-top: 18px;
  max-width: 30ch;
  line-height: 1.6;
}
.footer__heading {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.006em;
  margin-bottom: 16px;
}
.footer__list { display: grid; gap: 11px; }
.footer__list a:hover, .footer address a:hover { color: var(--white); }
.footer address { font-style: normal; display: grid; gap: 16px; line-height: 1.55; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
}
.footer__credit { color: #7f92b0; }
.footer__credit a { text-decoration: underline; text-underline-offset: 3px; }
.footer__credit a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
   ===== 5. HOME (index.html) ==============================================
   ========================================================================= */

/* --- Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 88px) clamp(56px, 6vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -320px auto auto -280px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at center, var(--navy-100) 0%, rgba(230, 236, 245, 0) 62%);
  pointer-events: none;
  z-index: -1;
}

.hero > .container { max-width: 1360px; }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: -.006em;
}
.hero__status svg { width: 15px; height: 15px; color: var(--accent-ink); flex: none; }

.hero__title {
  margin-top: 24px;
  font-size: clamp(36px, 4.05vw, 58px);
  letter-spacing: -.038em;
  line-height: 1.04;
  text-wrap: pretty;
}
.hero__title em {
  font-style: normal;
  color: var(--navy-700);
}
.hero__lede { margin-top: 22px; max-width: 46ch; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__media { position: relative; }
.hero__photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--navy-100);
  aspect-ratio: 1600 / 1092;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__note {
  position: absolute;
  left: -18px;
  bottom: -20px;
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.hero__note strong {
  font-size: 16px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.hero__note span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 980px) {
  .hero > .container { max-width: var(--container); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__lede { max-width: 56ch; }
  .hero__note { left: 16px; bottom: -18px; }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(30px, 8.4vw, 36px); }
  .hero__cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero__cta .btn { width: 100%; }
}

/* --- Proof strip ------------------------------------------------------- */

.proof {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.proof__item {
  display: grid;
  gap: 4px;
  padding: 28px clamp(12px, 2vw, 24px);
  text-align: center;
  justify-items: center;
}
.proof__item + .proof__item {
  border-left: 1px solid var(--line);
}
.proof__value {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -.024em;
  color: var(--ink);
}
.proof__label { font-size: 13.5px; color: var(--text-muted); line-height: 1.45; }

@media (max-width: 780px) {
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item { padding: 22px 12px; }
  .proof__item:nth-child(odd) { border-left: 0; }
  .proof__item:nth-child(even) { border-left: 1px solid var(--line); }
  .proof__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* --- Section head ------------------------------------------------------ */

.head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.head .lede { margin-top: 16px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .lede { margin-inline: auto; }

/* --- Services bento ---------------------------------------------------- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.svc {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.svc__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.2vw, 28px);
  flex: 1;
}
.svc__body p { color: var(--text-muted); font-size: 15.5px; line-height: 1.55; }
.svc__more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}
.svc__more svg {
  width: 15px; height: 15px;
  transition: transform var(--dur-2) var(--ease);
}
.svc:hover .svc__more svg { transform: translateX(4px); }

.svc--feature { grid-column: span 3; }
.svc--feature .svc__figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-100);
}
.svc--feature .svc__figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease);
}
.svc--feature:hover .svc__figure img { transform: scale(1.035); }

.svc--compact { grid-column: span 2; }
.svc--compact .svc__body { gap: 12px; }

.svc--wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: center;
  gap: 24px;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-navy);
  padding: clamp(26px, 3vw, 40px);
}
.svc--wide h3 { color: var(--white); }
.svc--wide p { color: #c3d2e8; max-width: 46ch; font-size: 16px; }
.svc--wide .icon-frame {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}
.svc--wide .svc__body { padding: 0; }
.svc--wide .svc__van {
  justify-self: end;
  width: min(100%, 380px);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .35));
}

@media (max-width: 980px) {
  .svc--feature { grid-column: span 6; }
  .svc--compact { grid-column: span 3; }
  .svc--wide { grid-template-columns: minmax(0, 1fr); }
  .svc--wide .svc__van { justify-self: center; width: min(100%, 320px); }
}
@media (max-width: 620px) {
  .svc--compact { grid-column: span 6; }
}

/* --- How it works ------------------------------------------------------ */

.how { background: var(--white); border-block: 1px solid var(--line); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
}
.step { position: relative; padding-top: 26px; }
.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--line);
}
.step::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy);
}
.step__n {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 10px; }
.step p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 34ch;
}

@media (max-width: 780px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step p { max-width: 52ch; }
}

/* --- Coverage ---------------------------------------------------------- */

.coverage__inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.coverage__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.coverage__airports {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.coverage__airports .label { display: flex; align-items: center; gap: 8px; }
.coverage__airports .label svg { width: 16px; height: 16px; color: var(--navy); }
.coverage__codes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.coverage__code {
  display: grid;
  gap: 1px;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--navy-050);
  min-width: 128px;
  flex: 1 1 128px;
}
.coverage__code b {
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--navy);
}
.coverage__code span { font-size: 12.5px; color: var(--text-muted-strong); }

.coverage__note {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.coverage__note svg { width: 18px; height: 18px; color: var(--navy); flex: none; margin-top: 2px; }

@media (max-width: 900px) {
  .coverage__inner { grid-template-columns: minmax(0, 1fr); }
}

/* --- About ------------------------------------------------------------- */

.about { background: var(--white); border-block: 1px solid var(--line); }
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about__figure {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 3;
  background: var(--navy-100);
}
.about__figure img { width: 100%; height: 100%; object-fit: cover; }
.about__body p { color: var(--text-muted); font-size: 16.5px; line-height: 1.65; }
.about__body p + p { margin-top: 16px; }
.about__list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.about__list svg { width: 20px; height: 20px; color: var(--accent-ink); flex: none; margin-top: 2px; }

@media (max-width: 900px) {
  .about__inner { grid-template-columns: minmax(0, 1fr); }
}

/* --- Why tiles --------------------------------------------------------- */

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why__tile {
  background: var(--canvas);
  padding: clamp(22px, 2.2vw, 28px);
  display: grid;
  gap: 11px;
  align-content: start;
  justify-items: center;
  text-align: center;
}
.why__tile svg { width: 24px; height: 24px; color: var(--navy); }
.why__tile h3 { letter-spacing: -.02em; }
.why__tile p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

.why__fees {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.why__fees svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--silver); }

@media (max-width: 900px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); }
}

/* --- CTA band ---------------------------------------------------------- */

.cta {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle at center, rgba(47, 123, 255, .28) 0%, rgba(47, 123, 255, 0) 65%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(56px, 6.5vw, 96px);
}
.cta h2 { color: var(--white); max-width: 18ch; }
.cta p {
  margin-top: 18px;
  color: #c3d2e8;
  font-size: 17px;
  max-width: 48ch;
  line-height: 1.6;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .cta__inner { grid-template-columns: minmax(0, 1fr); }
}

/* --- Contact cards ----------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.contact__head { display: flex; align-items: center; justify-content: center; gap: 14px; }
.contact__card--wide { grid-column: 1 / -1; gap: 18px; }
.contact__card--wide .contact__rows {
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 24px;
}
.contact__card { padding: clamp(24px, 2.6vw, 32px); display: grid; gap: 14px; align-content: start; justify-items: center; text-align: center; }
.contact__card .icon-frame { width: 42px; height: 42px; }
.contact__card address { font-style: normal; line-height: 1.6; color: var(--text-muted); font-size: 16px; }
.contact__card a { color: var(--navy); font-weight: 600; }
.contact__card a:hover { color: var(--accent); }
.contact__rows { display: grid; gap: 10px; font-size: 16px; width: 100%; }
.contact__rows dt { font-size: 13px; color: var(--text-muted); }
.contact__rows dd { margin: 0; }

@media (max-width: 760px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__card--wide .contact__rows { grid-auto-flow: row; gap: 12px; }
}

/* --- Quote page placeholder ------------------------------------------- */

.placeholder {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding-block: clamp(72px, 10vw, 140px);
  max-width: 620px;
}
