/* Hauling Heroes — haulingheroestx.com
   Brand: Anton (display) + Hanken Grotesk (text); palette white, #E7E7EC, #97B4E0, #13254F, black.
   Media: hero video of a forklift working the back of a box trailer (Pexels); real West Texas places (Permian Basin highway, Midland skyline, Hockley County windmill) plus stock freight shots.

/* ---------- tokens ---------- */
:root {
  --navy: #13254F;
  --navy-hover: #1E3670;
  --night: #0B1633;
  --blue: #97B4E0;
  --blue-tint: #DDE7F6;
  --page: #EDF2FA;
  --gray: #E7E7EC;
  --gray-line: #D3D5DE;
  --line: #E1E2E9;
  --white: #FFFFFF;
  --black: #000000;
  --text: #2F3649;
  --muted: #565D72;
  --on-navy: #CAD5EA;
  --ok: #1F7A52;
  --err: #B3261E;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --lift: 0 30px 60px -30px rgba(11, 22, 51, .55), 0 2px 6px rgba(19, 37, 79, .06);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 8vw, 120px);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; font-synthesis: none; }
body { margin: 0; font: 400 1.125rem/1.6 var(--body); color: var(--text); background: var(--page); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; max-width: 62ch; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; color: var(--navy); margin: 0 0 1.25rem; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 1.6rem + 5vw, 5.75rem); line-height: .94; }
h2 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: .98; }
h3 { font: 700 1.375rem/1.25 var(--body); color: var(--navy); margin: 0 0 .5rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); line-height: 1.6; color: var(--muted); }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--navy-hover); outline-offset: 3px; border-radius: 3px; }
.header :focus-visible, .hero :focus-visible, .photo-band :focus-visible, .quote-sec :focus-visible, .footer :focus-visible, .mbar :focus-visible { outline-color: var(--blue); }
.qform :focus-visible { outline-color: var(--navy-hover); }

/* ---------- buttons & links (interactive) ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--r-sm); font: 700 1.0625rem/1.1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 2px)); box-shadow: 0 14px 24px -14px rgba(11,22,51,.7); }
.btn:active { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(.96); box-shadow: none; transition-duration: .06s; }
/* light sweep across the button on hover */
.btn::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%); transform: translateX(-110%); pointer-events: none; }
.btn:hover::before { transform: translateX(110%); transition: transform .75s var(--ease); }
/* click ripple (span added by main.js) */
.ripple { position: absolute; z-index: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: currentColor; opacity: .28; pointer-events: none; animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(40); opacity: 0; } }
/* gentle "ready when you are" pulse on the main call to action */
.btn--pulse { animation: pulse 2.8s ease-out 1.6s infinite; }
.btn--pulse:hover { animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(151,180,224,.7); } 70%, 100% { box-shadow: 0 0 0 16px rgba(151,180,224,0); } }
.btn .ic-arrow { transition: transform .2s var(--ease); }
.btn:hover .ic-arrow, .svc__cta:hover .ic-arrow { transform: translateX(5px); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-hover); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--light { background: var(--blue); color: var(--navy); }
.btn--light:hover { background: #fff; box-shadow: 0 16px 30px -12px rgba(151,180,224,.55); }
.btn--ghost { background: rgba(11,22,51,.55); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.link { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .15s, color .15s; }
.link:hover { text-decoration-color: var(--navy); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(19,37,79,.97); color: #fff; backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: rgba(255,255,255,.1); box-shadow: 0 14px 30px -20px rgba(11,22,51,.8); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: none; }
.brand__mark { width: 50px; height: 27px; fill: currentColor; transition: transform .3s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__name { font: 400 1.55rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand--light { color: #fff; }
.nav { margin-left: auto; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { position: relative; display: block; padding: 10px 14px; font-weight: 600; font-size: 1rem; color: var(--on-navy); text-decoration: none; border-radius: var(--r-sm); transition: color .15s, background-color .15s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.header .btn--primary { background: var(--blue); color: var(--navy); }
.header .btn--primary:hover { background: #fff; }
.header .btn--secondary { color: #fff; border-color: rgba(255,255,255,.5); }
.header .btn--secondary:hover { background: #fff; color: var(--navy); border-color: #fff; }
.nav__actions { display: none; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; text-decoration: none; }
.header__phone .ic { color: var(--blue); transition: transform .3s var(--ease); }
.header__phone:hover .ic { transform: rotate(-14deg) scale(1.1); }
.burger { display: none; width: 48px; height: 48px; margin-left: auto; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-sm); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero: forklift working the back of a box trailer (looping video over a poster) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; background: var(--navy); color: #fff; min-height: min(calc(100svh - var(--header-h)), 940px); }
.hero__img, .hero__video { position: absolute; inset: 0 0 0 38%; z-index: -2; width: 62%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__pause { position: absolute; z-index: 2; top: 20px; right: var(--gutter); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(11,22,51,.5); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: background-color .2s, transform .2s var(--ease); }
.hero__pause:hover { background: rgba(11,22,51,.85); transform: scale(1.06); }
.hero__pause .ic { width: 18px; height: 18px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 38%, rgba(19,37,79,.78) 47%, rgba(19,37,79,.2) 62%, rgba(19,37,79,0) 100%),
              linear-gradient(0deg, rgba(11,22,51,.7) 0%, rgba(11,22,51,0) 30%); }
.hero__in { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 8vh, 112px) 0 clamp(32px, 5vh, 56px); }

/* lanes board (hero bottom) */
.lanes { position: relative; border-top: 1px solid rgba(255,255,255,.16); background: rgba(6,13,33,.72); backdrop-filter: blur(6px); }
.lanes__in { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 28px; padding: 18px 0 16px; }
.lanes__title { display: flex; align-items: center; gap: 10px; margin: 0; font: 400 1.25rem/1 var(--display); letter-spacing: .04em; color: var(--blue); white-space: nowrap; }
.lanes__list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.lane { display: grid; width: 100%; padding: 9px 12px 10px; text-align: left; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-sm); background: rgba(255,255,255,.04); color: #fff; font-family: var(--body); cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.lane:hover, .lane:focus-visible { background: var(--blue); border-color: var(--blue); color: var(--navy); transform: translateY(-3px); }
.lane__to { font: 400 1.0625rem/1.15 var(--display); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.lane__mi { margin-top: 4px; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.lane__t { font-size: .8125rem; color: var(--on-navy); font-variant-numeric: tabular-nums; }
.lane:hover .lane__t, .lane:focus-visible .lane__t { color: var(--navy); }
.lanes__note { grid-column: 2; margin: 2px 0 0; font-size: .8125rem; color: #9FAAC3; max-width: none; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-weight: 600; color: var(--blue); }
.hero h1 { color: #fff; max-width: 16.5ch; font-size: clamp(2.9rem, 1.3rem + 3.4vw, 4.75rem); text-shadow: 0 2px 30px rgba(11,22,51,.5); }
.hero__lead { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); line-height: 1.5; color: var(--on-navy); max-width: 40ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__in > * { animation: rise .9s var(--ease) both; }
.hero__in > :nth-child(2) { animation-delay: .08s; }
.hero__in > :nth-child(3) { animation-delay: .16s; }
.hero__in > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--gray { background: var(--blue-tint); }
.head { max-width: 680px; margin-bottom: clamp(36px, 4vw, 56px); }
.head p { color: var(--muted); font-size: 1.1875rem; }

/* scroll reveal (one gentle fade per block) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ticks */
.ticks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2313254F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- services ---------- */
.head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 48px; max-width: none; }
.head--split h2 { margin-bottom: 0; }
.head--split p { margin: 0; max-width: 40ch; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { display: flex; flex-direction: column; padding: 0 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--lift); border-color: transparent; }
.svc__photo { position: relative; margin: 0 -28px 40px; aspect-ratio: 3 / 2; background: var(--gray); }
.svc__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 100%; transition: transform 1s var(--ease); }
.svc:hover .svc__photo img { transform: scale(1.06); }
.svc__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,51,0) 55%, rgba(11,22,51,.35) 100%); pointer-events: none; }
.svc__photo .svc__icon { position: absolute; z-index: 1; left: 24px; bottom: -28px; margin: 0; box-shadow: 0 8px 20px -8px rgba(11,22,51,.5); }
.svc__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%; background: var(--navy); color: var(--blue); border: 3px solid #fff; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.svc__icon .ic { width: 26px; height: 26px; }
.svc:hover .svc__icon { background: var(--blue); color: var(--navy); transform: rotate(-8deg); }
.svc > p { color: var(--muted); }
.svc .ticks { margin: 6px 0 24px; }
.svc__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 700; color: var(--navy); text-decoration: none; padding: 10px 0; border-bottom: 2px solid var(--blue); transition: border-color .2s; }
.svc__cta:hover { border-color: var(--navy); }
.svc__cta .ic-arrow { transition: transform .2s var(--ease); }

/* ---------- about / who we serve ---------- */
.about__in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; padding-bottom: 40px; }
.about__main { width: 86%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 28% 50%; border-radius: var(--r-lg); }
.about__owner { position: absolute; right: 0; bottom: 0; width: clamp(150px, 34%, 200px); margin: 0; padding: 8px 8px 12px; background: #fff; border-radius: var(--r-md); box-shadow: var(--lift); transition: transform .3s var(--ease); }
.about__owner:hover { transform: translateY(-4px) rotate(-1.5deg); }
.about__owner img { width: 100%; aspect-ratio: 23 / 25; object-fit: cover; object-position: 30% 30%; border-radius: var(--r-sm); }
.about__owner figcaption { padding: 10px 4px 0; font-size: .875rem; line-height: 1.3; color: var(--muted); }
.about__owner strong { display: block; font-size: 1rem; color: var(--navy); }
.why { display: grid; gap: 18px; margin: 28px 0 32px; }
.why li { display: flex; gap: 16px; align-items: flex-start; }
.why__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--blue); }
.why strong { display: block; color: var(--navy); font-size: 1.125rem; }
.why span:not(.why__icon) { color: var(--muted); }
.chips-label { margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1.5px solid var(--gray-line); border-radius: 99px; background: #fff; font-weight: 600; font-size: .9375rem; color: var(--navy); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); cursor: default; }
.chips li:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- photo band: Midland skyline ---------- */
.photo-band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(440px, 52vw, 640px); background: var(--night); color: #fff; }
.photo-band__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,22,51,.92) 0%, rgba(11,22,51,.7) 42%, rgba(11,22,51,.15) 78%); }
.photo-band__in { padding: var(--section) 0; }
.photo-band h2 { color: #fff; max-width: 15ch; }
.photo-band p { color: var(--on-navy); font-size: 1.1875rem; max-width: 44ch; margin-bottom: 28px; }

/* ---------- route map + quote ---------- */
.quote-sec { background: var(--navy); color: var(--on-navy); }
.quote-sec h2 { color: #fff; margin-bottom: .5rem; }
.quote-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 36px; }
.quote-sec__head p { margin: 0; font-size: 1.1875rem; }
.mini-steps { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.mini-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.mini-steps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue); font: 400 1.1rem/1 var(--display); color: var(--blue); }
.quote-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; }
.qmap { position: relative; min-height: 600px; border-radius: var(--r-lg); overflow: hidden; background: #DCE2EC; box-shadow: var(--lift); }
.qmap__map { position: absolute; inset: 0; }
.qmap__card { position: absolute; left: 16px; bottom: 16px; z-index: 500; width: min(380px, calc(100% - 32px)); padding: 18px 20px; background: #fff; border-radius: var(--r-md); box-shadow: 0 18px 40px -18px rgba(11,22,51,.6); color: var(--text); transition: transform .3s var(--ease); }
.qmap__hint { margin: 0; font-weight: 600; color: var(--navy); }
.qmap__result { display: none; }
.qmap__card[data-state="ok"] .qmap__hint { display: none; }
.qmap__card[data-state="ok"] .qmap__result { display: block; animation: rise .5s var(--ease) both; }
.qmap__card[data-state="loading"] .qmap__hint::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid var(--blue); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; }
.qmap__card[data-state="error"] .qmap__hint { color: var(--err); }
@keyframes spin { to { transform: rotate(360deg); } }
.qmap__path { margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.qmap__stats { display: flex; gap: 28px; }
.qmap__stats > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 6px; }
.qmap__stats .ic { grid-row: span 2; align-self: center; width: 26px; height: 26px; color: var(--navy); margin-right: 6px; }
.qmap__num { font: 400 2.25rem/1 var(--display); color: var(--navy); }
.qmap__unit { font-size: .875rem; font-weight: 600; color: var(--muted); grid-column: 2; }
.qmap__note { margin: 10px 0 0; font-size: .8125rem; color: var(--muted); }

.qform-wrap { background: #fff; border-radius: var(--r-lg); box-shadow: var(--lift); padding: clamp(24px, 3vw, 36px); color: var(--text); }
.qform .field { display: block; margin: 0 0 16px; }
.field > span { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; color: var(--navy); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: 500 1.0625rem/1.4 var(--body); color: var(--text); background: #fff; border: 1.5px solid var(--gray-line); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s; }
select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2313254F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
input::placeholder { color: #8A90A2; }
input:hover, select:hover { border-color: #AEB3C3; }
input:focus, select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--blue-tint); }
.is-bad, .is-bad:focus { border-color: var(--err) !important; box-shadow: 0 0 0 4px rgba(179,38,30,.12) !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hp { position: absolute; left: -9999px; }
.qform__route { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--blue-tint); color: var(--navy); font-weight: 600; font-size: .9375rem; animation: rise .4s var(--ease) both; }
.qform__route[data-state="error"] { background: #FBEAE9; color: var(--err); }
.qform .btn--block { margin-top: 6px; }
.fine { margin: 14px 0 0; font-size: .9375rem; color: var(--muted); }
.fine a { color: var(--navy); font-weight: 700; }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.is-err { color: var(--err); }
.form-msg a { color: inherit; }
.done { padding: 12px 4px; animation: rise .5s var(--ease) both; }
.done:focus { outline: none; }
.done__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--ok); color: #fff; }
.done__icon .ic { width: 30px; height: 30px; }
.done h3 { font: 400 2.25rem/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.done p { color: var(--muted); }
.done .done__route { color: var(--navy); font-weight: 600; }

/* Leaflet bits (map styled to the brand) */
.qmap .leaflet-container { font-family: var(--body); background: #DCE2EC; }
.route__tiles { filter: grayscale(1) contrast(.9) brightness(1.05); }
.qmap .leaflet-control-attribution { font-size: 10px; }
.qmap .leaflet-bar a { color: var(--navy); }
.town { display: grid; place-items: center; }
.town i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 2px 6px rgba(11,22,51,.35); transition: transform .2s var(--ease), background-color .2s; }
.town:hover i, .town.is-picked i { transform: scale(1.35); background: var(--blue); }
.town--hub i { width: 20px; height: 20px; background: var(--navy); border-color: #fff; }
.town b { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); white-space: nowrap; font: 700 12px/1 var(--body); color: var(--navy); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; pointer-events: none; }
.town--hub b { font: 400 15px/1 var(--display); letter-spacing: .04em; }
.qmap .leaflet-popup-content-wrapper { border-radius: var(--r-md); box-shadow: 0 18px 40px -18px rgba(11,22,51,.6); }
.qmap .leaflet-popup-content { margin: 14px 16px; font: 500 .9375rem/1.4 var(--body); }
.pop strong { display: block; margin-bottom: 10px; font-size: 1.0625rem; color: var(--navy); }
.pop__btns { display: flex; gap: 8px; }
.pop__btns button { min-height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 .875rem/1 var(--body); cursor: pointer; transition: background-color .15s, color .15s, transform .15s var(--ease); }
.pop__btns button:first-child { background: var(--navy); color: #fff; }
.pop__btns button:hover { transform: translateY(-1px); background: var(--navy-hover); color: #fff; border-color: var(--navy-hover); }
.route-line { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw 1.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route-tip { padding: 4px 9px; border: 0; border-radius: var(--r-sm); background: var(--navy); color: #fff; font: 700 .8125rem/1.3 var(--body); box-shadow: 0 4px 10px rgba(19,37,79,.3); }
.route-tip::before { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head p { color: var(--muted); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 52px 22px 0; font-weight: 700; font-size: 1.1875rem; color: var(--navy); transition: color .15s, padding-left .25s var(--ease); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { padding-left: 6px; }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 2px; background: var(--navy); transition: transform .25s var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list details p { margin: -6px 0 0; padding-bottom: 22px; color: var(--muted); }
.faq__list details[open] p { animation: rise .35s var(--ease) both; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: #B5BBC9; font-size: 1rem; }
.footer__hero { position: relative; isolation: isolate; overflow: hidden; }
.footer__hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
.footer__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,22,51,.5) 0%, rgba(11,22,51,.78) 70%, var(--night) 100%); }
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(96px, 12vw, 168px) 0 clamp(48px, 6vw, 72px); }
.footer__cta h2 { margin: 0; color: #fff; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding: 52px 0; border-top: 1px solid rgba(255,255,255,.14); }
.footer__brand p { margin: 16px 0 20px; }
.footer h3 { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; transition: color .15s; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.footer__contact .ic { margin-top: 4px; color: var(--blue); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-sm); color: #fff; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--blue); border-color: var(--blue); color: var(--navy); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.credits { flex-basis: 100%; max-width: none; margin: 6px 0 0; font-size: .75rem; line-height: 1.6; color: #6F7686; }
.credits a { color: #8F96A7; text-decoration: underline; text-underline-offset: 2px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; color: #8F96A7; }

.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .lanes__in { grid-template-columns: 1fr; }
  .lanes__note { grid-column: 1; }
  .lanes__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .qmap { min-height: 520px; }
}

@media (max-width: 960px) {
  .hero__img, .hero__video { inset: 0; width: 100%; }
  .hero::before { background: linear-gradient(90deg, rgba(19,37,79,.92) 0%, rgba(19,37,79,.75) 55%, rgba(19,37,79,.4) 100%), linear-gradient(0deg, rgba(11,22,51,.7) 0%, rgba(11,22,51,0) 30%); }
  :root { --header-h: 68px; }
  .burger { display: flex; }
  .header__quote { margin-left: auto; }
  .header__quote + .burger { margin-left: 0; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; margin: 0; padding: 8px var(--gutter) 24px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 40px -24px rgba(19,37,79,.5); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { padding: 16px 0; font-size: 1.125rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); border-radius: 0; }
  .nav__links a::after { display: none; }
  .nav__links a:hover { background: none; }
  .nav__actions { display: grid; gap: 10px; margin-top: 20px; }
  .svc-grid { grid-template-columns: 1fr; max-width: 640px; }
  .svc__photo { aspect-ratio: 16 / 9; }
  .about__in, .faq { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .quote-grid { grid-template-columns: 1fr; }
  .qmap { min-height: 420px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: 72px; font-size: 1.0625rem; }
  .header__quote { display: none; }
  .burger, .header__quote + .burger { margin-left: auto; }
  .brand__name { font-size: 1.3rem; }
  .brand__mark { width: 42px; height: 23px; }
  .hero { min-height: 0; }
  .hero__in { padding: 56px 0 200px; }
  .hero::before { background: linear-gradient(180deg, rgba(11,22,51,.92) 0%, rgba(11,22,51,.84) 50%, rgba(11,22,51,.25) 72%, rgba(11,22,51,.25) 100%); }
  .hero__img, .hero__video { object-position: 52% 50%; }
  .lanes__in { padding: 14px 0; }
  .lanes__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .lanes__list::-webkit-scrollbar { display: none; }
  .lanes__list li { flex: 0 0 auto; scroll-snap-align: start; }
  .lane { min-width: 128px; }
  .photo-band::before { background: linear-gradient(180deg, rgba(11,22,51,.85) 0%, rgba(11,22,51,.75) 100%); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .row2 { grid-template-columns: 1fr; }
  .about__main { width: 100%; aspect-ratio: 3 / 4; object-position: 0% 45%; }
  .about__owner { right: 12px; width: 150px; }
  .mini-steps { flex-direction: column; }
  .qmap { min-height: 360px; }
  .qmap__card { position: relative; left: auto; bottom: auto; width: auto; margin: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
  .qmap { display: flex; flex-direction: column; }
  .qmap__map { position: relative; inset: auto; height: 300px; flex: none; }
  .qmap__num { font-size: 2rem; }
  .town:not(.town--hub) b { display: none; }
  .qform-wrap { margin-inline: calc(-1 * var(--gutter) + 8px); }
  .footer__cta-actions, .footer__cta-actions .btn { width: 100%; }
  .footer__in { gap: 32px 20px; }
  .footer__in > .footer__col:last-child { grid-column: 1 / -1; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; inset: auto 0 0; z-index: 900; padding: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); background: var(--navy); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.5); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--r-sm); font-weight: 700; color: #fff; text-decoration: none; background: rgba(255,255,255,.08); transition: transform .1s; }
  .mbar a:active { transform: scale(.96); }
  .mbar .ic { color: var(--blue); }
  .mbar a.mbar__quote { background: var(--blue); color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .route-line { stroke-dashoffset: 0; }
}
