/* Jayraj Transport Co. — site styles
   Brand palette taken from JRTC's own print material: logo red, black, white.
   Type: Besley (a Clarendon, close to the lettering in the JRTC mark) for headlines,
   place names and figures; Libre Franklin for everything else.
   Most visitors are on phones: the small-screen rules at the end matter as much as the defaults. */

:root {
  --ink: #17181b;
  --ink-2: #2b2d32;
  --ink-line: rgba(255, 255, 255, .16);
  --red: #cf2e27;
  --red-deep: #ad221c;
  --white: #fff;
  --soft: #f4f4f4;
  --text: #1c1d20;
  --muted: #5f6368;
  --line: #e2e2e2;
  --gold: #f5b400;
  --wa: #25d366;
  --wa-deep: #0e7a3e;          /* WhatsApp green dark enough for white text */
  --radius: 8px;
  --display: "Besley", Georgia, "Times New Roman", serif;
  --font: "Libre Franklin", "Noto Sans Devanagari", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 76px;
  --section-pad: clamp(56px, 8vw, 104px);
  --gap-head: 48px;            /* the one gap used under every section heading */
  --track-hang: 63px;          /* how far the tracking card hangs below the hero */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--ink); color: #fff; }
p { text-wrap: pretty; }
a[href^="tel:"] { font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }
svg { width: 1.15em; height: 1.15em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); line-height: 1.22; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: 1.05rem; line-height: 1.6; color: var(--muted); max-width: 60ch; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px; border-radius: 6px; border: 1.5px solid transparent; font: 600 .95rem/1.25 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; white-space: nowrap; }
.btn--lg { min-height: 50px; padding: 12px 24px; font-size: 1rem; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--secondary { background: #fff; color: var(--ink); border-color: #c4c4c6; }
.btn--secondary:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa-deep); color: #fff; }
.btn--wa:hover { background: #0b6532; }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d2d3d6; font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar__links { display: flex; gap: 28px; }
.topbar__in a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #fff; white-space: nowrap; }
.topbar__in a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.header.is-stuck { box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .35); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand__name { font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--red); }
.brand__tag { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-top: 7px; }
.brand__tag i { color: var(--red); font-style: normal; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { position: relative; white-space: nowrap; text-decoration: none; font-size: .94rem; font-weight: 500; color: var(--ink); padding: 6px 0; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); opacity: 0; transition: opacity .15s ease; }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { opacity: 1; }
.nav > .nav__m { display: none; }     /* phone-menu only */
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 11px; cursor: pointer; border-radius: 6px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ----------
   The tracking card is the last item inside the hero. On desktop it hangs below the hero's lower
   edge by --track-hang; on phones it sits in the flow, right under the headline. */
.hero { position: relative; isolation: isolate; display: grid; background: var(--soft); padding: clamp(40px, 3.8vw, 60px) 0 0; min-height: min(calc(100vh - 151px), 640px); min-height: min(calc(100svh - 151px), 640px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 100%; }
/* veil: keeps the copy readable on the left and lets the trucks show on the right */
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(244, 244, 244, .97) 0%, rgba(244, 244, 244, .93) 44%, rgba(244, 244, 244, .5) 66%, rgba(244, 244, 244, .04) 100%),
  linear-gradient(180deg, rgba(244, 244, 244, .85) 0%, rgba(244, 244, 244, 0) 32%); }
.hero__grid { position: relative; display: flex; flex-direction: column; }
.hero__copy { max-width: 640px; margin-bottom: clamp(56px, 6vw, 80px); }
.hero__kicker { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.hero__kicker::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: none; }
.hero h1 { display: flex; flex-direction: column; }
.hero__slogan { font-size: clamp(2.2rem, 4.3vw, 3.6rem); line-height: 1.08; letter-spacing: -.025em; }
.hero__service { font-family: var(--font); font-size: clamp(1.12rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -.005em; color: var(--red); margin-top: 14px; }
.hero__mr { color: var(--muted); margin-top: 6px; font-size: 1rem; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0; margin-top: 22px; padding-top: 14px; border-top: 1px solid #d0d0d2; font-size: .9rem; color: #4a4d52; }
.hero__trust li { display: flex; align-items: center; min-height: 44px; }
.hero__trust li + li::before { content: ""; width: 1px; height: 18px; margin: 0 18px; background: #cccccc; }
.hero__trust a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink); }
.hero__trust a strong { font-weight: 700; }
.hero__trust .g { width: 18px; height: 18px; }
.stars { --pct: calc(var(--rating) / 5 * 100%); background: linear-gradient(90deg, var(--gold) var(--pct), #d4d4d4 var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 1px; font-size: 1rem; line-height: 1; }
.hero__badge { position: absolute; right: 0; top: -8px; width: clamp(112px, 11vw, 164px); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .3)); }

/* ---------- Track ---------- */
.track { position: relative; z-index: 2; margin-top: auto; margin-bottom: calc(-1 * var(--track-hang)); }
.track__card { display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(300px, 1.3fr); align-items: center; gap: 16px 28px; background: #fff; border-radius: var(--radius); padding: 24px 28px; border: 1px solid var(--line); box-shadow: 0 16px 36px -24px rgba(0, 0, 0, .4); }
.track__head h2 { font-size: 1.25rem; letter-spacing: -.01em; }
.track__head p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.seg { display: inline-flex; background: var(--soft); border-radius: 6px; padding: 4px; border: 1px solid var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 14px; border-radius: 4px; font-weight: 600; font-size: .86rem; color: var(--muted); transition: background-color .15s, color .15s; white-space: nowrap; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.track__row { display: flex; gap: 10px; }
.track__row input { flex: 1; min-width: 0; font: 500 1rem var(--font); padding: 11px 14px; border-radius: 6px; border: 1.5px solid #c4c4c6; color: var(--ink); background: #fff; }
.track__row input:focus { outline: none; border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.hero + .section { padding-top: calc(var(--section-pad) + var(--track-hang)); }
.section--paper { background: var(--soft); }
.section--ink { background: var(--ink); color: #d2d3d6; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: #fff; opacity: .75; }
.section__head { max-width: 760px; margin-bottom: var(--gap-head); }

/* Where we deliver */
.coverage { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.route { display: grid; }
.route__stop { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 0 0 26px 38px; cursor: default; }
.route__stop:last-child { padding-bottom: 0; }
.route__stop::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 0; width: 2px; background: #cccccc; transform: scaleY(var(--line, 1)); transform-origin: center top; }
.route__stop:last-child::before { display: none; }
.route__pin { position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--red); transition: box-shadow .15s ease; }
.route__stop--from .route__pin { background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.route__tag { font-size: .84rem; font-weight: 500; color: var(--muted); }
.route__stop strong { font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); transition: color .15s ease; }
.route__stop span:last-child { color: var(--muted); font-size: .93rem; }
.route__stop.is-active strong { color: var(--red); }
.route__stop.is-active .route__pin { box-shadow: 0 0 0 2px var(--red), 0 0 0 7px rgba(207, 46, 39, .16); }
.route__stop--from.is-active .route__pin { box-shadow: 0 0 0 2px var(--ink), 0 0 0 7px rgba(0, 0, 0, .14); }

/* Coverage map: real boundaries (OpenStreetMap), drawn in the site palette */
.cmap { width: 100%; max-width: 540px; justify-self: end; }
.cmap svg { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #e5e7ea; }
.cmap figcaption { margin-top: 8px; font-size: .72rem; color: var(--muted); text-align: right; }
.cmap figcaption a { color: inherit; }
.cmap__key { display: none; }
.cmap text { font-family: var(--font); paint-order: stroke; stroke-linejoin: round; }
.cmap__land path { fill: #fcfcfc; stroke: #cfcfd1; stroke-width: .8; }
.cmap__origin { fill: rgba(0, 0, 0, .055); stroke: rgba(0, 0, 0, .45); stroke-width: 1; stroke-dasharray: 3 3; }
.cmap__area path { fill: rgba(207, 46, 39, .15); stroke: var(--red); stroke-width: 1.2; stroke-linejoin: round; transition: fill .2s ease; }
.cmap__area.is-active path:first-child { fill: rgba(207, 46, 39, .32); }
.cmap__routes path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.cmap__routes .cmap__arrow { fill: var(--ink); stroke: none; stroke-dasharray: none; }
.cmap__towns circle { fill: #5f6368; }
.cmap__towns text { font-size: 11.5px; font-weight: 500; fill: #44474c; stroke: rgba(255, 255, 255, .75); stroke-width: 2.4px; }
.cmap__state { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; fill: #9a9da2; }
.cmap__sea { font-family: var(--display) !important; font-style: italic; font-weight: 500; font-size: 13.5px; fill: #878b92; }
.cmap__region { font-family: var(--display) !important; font-size: 17px; font-weight: 700; fill: #8c1c17; stroke: rgba(255, 255, 255, .7); stroke-width: 3px; }
.cmap__pin circle { fill: var(--ink); }
.cmap__pin .cmap__pin-ring, .cmap__legend .cmap__pin-ring { fill: #fff; stroke: var(--ink); stroke-width: 2; transition: stroke-width .15s ease; }
.cmap__pin.is-active .cmap__pin-ring { stroke-width: 4; }
.cmap__office { font-family: var(--display) !important; font-size: 14.5px; font-weight: 700; fill: var(--ink); stroke: rgba(255, 255, 255, .8); stroke-width: 3px; }
.cmap__office-sub { font-size: 11px; font-weight: 500; fill: #4a4d52; stroke: rgba(255, 255, 255, .8); stroke-width: 2.4px; }
.cmap__legend text { font-size: 11.5px; font-weight: 500; fill: #44474c; }
.cmap__key-dot { fill: var(--ink); }
.cmap__key-area { fill: rgba(207, 46, 39, .2); stroke: var(--red); stroke-width: 1; }
.cmap__key-route { stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.cmap__area, .cmap__pin { cursor: default; }

/* Why JRTC: six compact tiles, then the figures strip */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.tile { padding: 24px 0 30px; border-top: 1px solid var(--ink-line); }
.tile svg { width: 30px; height: 30px; color: #fff; margin-bottom: 14px; }
.tile h3 { margin-bottom: 6px; }
.tile p { font-size: .93rem; line-height: 1.6; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border-top: 1px solid var(--ink-line); }
.stats > div { padding: 28px 24px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.stats dt { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #fff; font-variant-numeric: lining-nums; }
.stats dd { margin-top: 4px; font-size: .9rem; }

/* About */
.about { display: grid; grid-template-columns: minmax(280px, .6fr) 1.4fr; gap: clamp(36px, 5vw, 72px); align-items: stretch; }
.about__copy h2 { margin-bottom: 14px; }
.about__copy strong { color: var(--ink); font-weight: 600; }
.about__lead { max-width: 60ch; font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: var(--gap-head); }
.about__points > div { padding-top: 18px; border-top: 2px solid var(--ink); }
.about__points h3 { margin-bottom: 6px; }
.about__points p { color: var(--muted); font-size: .95rem; line-height: 1.7; }
.about__photo { margin-top: 32px; border-radius: var(--radius); overflow: hidden; }
.about__photo img { width: 100%; }
/* founder card: portrait on a light panel, name on a dark plate */
.founder { container-type: inline-size; order: -1; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #efefef 0%, #dadada 100%); box-shadow: 0 24px 48px -32px rgba(0, 0, 0, .5); }
.founder__frame { position: relative; flex: 1; min-height: 380px; overflow: hidden; }
.founder__frame img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 95%; max-height: 520px; width: auto; max-width: none; }
.founder figcaption { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; background: var(--ink); border-top: 3px solid var(--red); }
/* the name is sized from the card width so it always fits on one line */
.founder figcaption strong { font-family: var(--display); font-size: .9rem; font-size: clamp(13px, calc((100cqw - 38px) / 18.3), 17px); font-weight: 700; line-height: 1.35; white-space: nowrap; color: #fff; }
.founder figcaption span { color: #d2d3d6; font-size: .88rem; }

/* Offices and enquiry: three cards of equal height, each ending in a full-width button */
.contact { display: grid; grid-template-columns: 1fr 1fr 1.18fr; gap: 24px; align-items: stretch; }
.office { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.office__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.office__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.office__icon svg { width: 24px; height: 24px; }
.office__icon--wa { background: var(--wa-deep); }
.office__tag { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 4px; border: 1px solid var(--line); background: var(--soft); color: #4a4d52; }
.office__tag--hq { border-color: transparent; background: #fdeceb; color: var(--red-deep); }
.enquiry .office__tag { background: #fff; }
.office h3 { font-size: 1.2rem; margin-bottom: 8px; }
.office address { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.office__links { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 20px; }
.office__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.office__links a:hover { color: var(--red); }
.office__links svg { color: var(--red); }
.office__cta { margin-top: auto; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto 1fr auto; gap: 12px 14px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.enquiry .office__top { grid-column: 1 / -1; margin-bottom: 4px; }
.enquiry h3 { grid-column: 1 / -1; font-size: 1.2rem; margin-bottom: 2px; }
.field { grid-column: 1 / -1; display: grid; gap: 6px; }
.field--half { grid-column: span 1; }
.field--grow { grid-template-rows: auto 1fr; }
.field--grow textarea { height: 100%; min-height: 64px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; font: 400 .95rem var(--font); color: var(--text); background: #fff; border: 1.5px solid #cccccc; border-radius: 6px; padding: 10px 12px; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #92959a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field .is-invalid { border-color: var(--red); }
.enquiry .btn { grid-column: 1 / -1; margin-top: 4px; }
.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ----------
   Transport motif: the route drawn as a road, with a JRTC truck that drives in and parks near Goa. */
.footer { color: #d2d3d6; background: linear-gradient(180deg, rgba(23, 24, 27, .78) 0%, rgba(12, 12, 14, .1) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='60' viewBox='0 0 35 60'%3E%3Cpath d='M17.5 0L35 10V30L17.5 40L0 30V10ZM17.5 20V40M17.5 20L0 10M17.5 20L35 10M17.5 40V60M0 50L17.5 40L35 50M0 50V60M35 50V60M0 0V10M35 0V10' fill='none' stroke='%23fff' stroke-opacity='.075'/%3E%3C/svg%3E"), #0f1012; border-top: 4px solid var(--red); padding: 52px 0 16px; }
.footer__lead { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.footer__tagline { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2.1vw, 1.45rem); line-height: 1.3; color: #fff; }
.footer__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__route { margin: 26px 0 52px; }
.footer__road { position: relative; height: 66px; border-bottom: 2px solid rgba(255, 255, 255, .3); }
.footer__road::after { content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 18px, transparent 18px 36px); }
.footer__truck { position: absolute; left: calc(86% - 66px); bottom: -1px; width: 132px; height: auto; }
/* markers are placed to scale along the route (--at is the share of the total distance) */
.footer__road i { position: absolute; left: var(--at); bottom: -6px; width: 2px; height: 10px; transform: translateX(-50%); background: rgba(255, 255, 255, .6); }
.footer__stops { position: relative; height: 16px; margin-top: 24px; }
.footer__stops li { position: absolute; left: var(--at); top: 0; transform: translateX(-50%); white-space: nowrap; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a8aaae; }
.footer__stops .is-start { transform: none; }
.footer__stops .is-end { transform: translateX(-100%); color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1.35fr; gap: 40px; }
.footer__brand img { width: 112px; border-radius: 50%; clip-path: circle(47% at 50% 50%); }
.footer__brand p { margin-top: 14px; font-size: .95rem; font-weight: 600; line-height: 1.45; color: #fff; }
.footer h4 { color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer__grid a { display: block; width: fit-content; text-decoration: none; font-size: .93rem; padding: 4px 0; color: #d2d3d6; }
.footer__grid a:hover { color: #fff; text-decoration: underline; }
.footer__offices address { margin-bottom: 12px; font-size: .9rem; line-height: 1.55; }
.footer__offices address strong { display: block; color: #fff; font-weight: 600; }
.footer__tel { display: flex; flex-wrap: wrap; }
.footer__tel a { padding: 2px 0 0; color: #fff; }
.footer__tel a + a::before { content: "·"; margin: 0 10px; color: #a8aaae; }
.footer__grid .footer__mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.footer__legal { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 4px 28px; margin-top: 30px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .22); font-size: .85rem; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }

/* ---------- WhatsApp widget (larger screens; phones use the action bar instead) ---------- */
.chat { position: fixed; right: 25px; bottom: 25px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; transform-origin: 100% 100%; }
.chat__fab { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 0; cursor: pointer; font: inherit; }
.chat__label { background: #fff; color: #333; font-size: .85rem; font-weight: 600; padding: 7px 12px; border-radius: 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.chat__icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.chat__icon svg { width: 28px; height: 28px; }
.chat__panel { transform-origin: 100% 100%; width: min(330px, calc(100vw - 40px)); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .5); }
.chat__head { display: flex; align-items: center; gap: 12px; background: #075e54; color: #fff; padding: 14px 16px; }
.chat__head img { border-radius: 50%; background: #fff; }
.chat__head div { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.chat__head span { font-size: .78rem; opacity: .85; }
.chat__head button { border: 0; background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 2px 6px; }
.chat__body { background: #ece5dd; padding: 20px 16px; }
.chat__bubble { display: inline-block; background: #fff; color: #222; padding: 10px 14px; border-radius: 0 10px 10px 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); font-size: .9rem; }
.chat__start { display: flex; margin: 14px 16px 16px; }

/* ---------- Phone action bar ---------- */
.dock { display: none; }

/* ---------- Motion ----------
   Animation is done with Motion (js/vendor/motion.min.js) from js/main.js.
   These pieces are hidden only while it starts up; everything is visible without it. */
.motion-pending .hero__copy > *, .motion-pending .hero__bg img, .motion-pending .hero__badge, .motion-pending .track__card, .motion-pending .chat { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .brand__name { font-size: 1rem; }
  .brand img { height: 44px; }
}
@media (max-width: 1080px) {
  :root { --track-hang: 128px; }
  .track__card { grid-template-columns: 1fr auto; }
  .track__row { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr 1fr; }
  .enquiry { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .topbar__note { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; }
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 4px 24px 12px; box-shadow: 0 24px 32px -24px rgba(0, 0, 0, .45); display: none; }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav > a:not(.btn):last-of-type { border-bottom: 0; }
  .nav > a:not(.btn)::after { display: none; }
  .nav > .nav__m { display: block; }
  .nav__cta { display: none; }
  .hero__bg::after { background:
    linear-gradient(90deg, rgba(244, 244, 244, .97) 0%, rgba(244, 244, 244, .9) 62%, rgba(244, 244, 244, .45) 100%),
    linear-gradient(180deg, rgba(244, 244, 244, .85) 0%, rgba(244, 244, 244, 0) 32%); }
  .hero__copy { max-width: 560px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .about { grid-template-columns: 1fr; }
  .founder { order: 0; max-width: 340px; }
  .founder__frame { min-height: 360px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .coverage { grid-template-columns: 1fr; }
  .cmap { max-width: 560px; justify-self: start; }
}

/* ---------- Phones ---------- */
@media (max-width: 680px) {
  :root { --gap-head: 28px; --section-pad: 52px; --track-hang: 0px; }
  .container { width: min(1160px, 100% - 40px); }
  .hide-xs { display: none; }
  .office__cta > span { text-transform: capitalize; }

  /* header: the top strip is dropped; Call, WhatsApp and Track LR live in the action bar */
  .topbar { display: none; }
  .header__in { gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand img { height: 40px; }
  .brand__name { font-size: .8rem; letter-spacing: .01em; }
  .brand__tag { font-size: .56rem; letter-spacing: .14em; margin-top: 5px; }

  /* hero: headline, tracking, call, rating, then the whole truck line-up as a band */
  .hero { padding: 20px 0 41vw; min-height: 0; }
  .hero__bg img { position: absolute; left: -12.5%; bottom: 0; width: 125%; max-width: none; height: auto; -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 46%); mask-image: linear-gradient(180deg, transparent 4%, #000 46%); }
  .hero__bg::after { display: none; }
  .hero__copy { display: contents; }
  .hero__kicker { display: none; }
  .hero h1 { order: 1; }
  .hero__slogan { font-size: 1.85rem; }
  .hero__service { font-size: 1.08rem; margin-top: 6px; padding-right: 78px; }
  .hero__mr { order: 2; margin-top: 2px; font-size: .95rem; }
  .track { order: 3; margin: 14px 0 0; }
  .hero__cta { order: 4; margin-top: 12px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__cta .btn--secondary { display: none; }
  .hero__trust { order: 5; margin-top: 4px; padding-top: 0; border-top: 0; }
  .hero__trust li + li { display: none; }
  .hero__badge { width: 70px; top: 38px; right: -4px; }
  .track__card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px; }
  .track__head h2 { font-size: 1.02rem; }
  .track__head p { display: none; }
  .seg { display: flex; }
  .seg label { flex: 1; text-align: center; }
  .seg span { padding: 11px 6px; font-size: .82rem; }
  .track__row .btn { padding-inline: 14px; }

  /* where we deliver: stops two by two, text legend under the map */
  .route { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .route__stop { padding: 0 0 0 26px; }
  .route__stop::before { display: none; }
  .route__pin { top: 5px; width: 14px; height: 14px; }
  .route__tag { font-size: .78rem; }
  .route__stop strong { font-size: 1.1rem; }
  .route__stop span:last-child { font-size: .84rem; }
  .cmap__towns, .cmap__state, .cmap__office-sub, .cmap__legend { display: none; }
  .cmap__region { font-size: 21px; }
  .cmap__office, .cmap__sea { font-size: 19px; }
  .cmap__key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .78rem; color: #4a4d52; }
  .cmap__key li { display: flex; align-items: center; gap: 7px; }
  .cmap__key i { flex: none; }
  .cmap__key .k-office { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: radial-gradient(var(--ink) 38%, #fff 42%); }
  .cmap__key .k-area { width: 13px; height: 13px; border-radius: 2px; border: 1px solid var(--red); background: rgba(207, 46, 39, .2); }
  .cmap__key .k-route { width: 16px; height: 2px; background: var(--ink); }
  .cmap figcaption { text-align: left; }
  .cmap figcaption a { display: inline-block; padding: 12px 0; }

  /* why JRTC */
  .tiles { gap: 0 18px; }
  .tile { padding: 18px 0 20px; }
  .tile svg { width: 26px; height: 26px; margin-bottom: 10px; }
  .tile h3 { font-size: 1rem; }
  .tile p { font-size: .88rem; line-height: 1.55; }
  .stats { margin-top: 6px; }
  .stats > div { padding: 18px 6px 0 0; }
  .stats > div + div { padding-left: 10px; }
  .stats dt { font-size: 1.4rem; }
  .stats dd { font-size: .72rem; line-height: 1.35; }

  /* about: heading, founder beside his name, text, then the fleet */
  .about { gap: 0; }
  .about__copy { display: contents; }
  .about .eyebrow { order: 1; }
  .about h2 { order: 2; margin-bottom: 18px; }
  .founder { order: 3; container-type: normal; flex-direction: row; align-items: center; gap: 14px; max-width: none; margin-bottom: 18px; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
  .founder__frame { flex: none; width: 72px; height: 72px; min-height: 0; border-radius: 50%; background: linear-gradient(180deg, #efefef 0%, #dadada 100%); }
  .founder__frame img { top: 6px; bottom: auto; width: 118%; height: auto; max-height: none; }
  .founder figcaption { padding: 0; border-top: 0; background: none; }
  .founder figcaption strong { font-size: clamp(12.5px, 3.6vw, 16px); white-space: normal; color: var(--ink); }
  .founder figcaption span { color: var(--muted); }
  .about__lead { order: 4; font-size: 1.05rem; }
  .about__points { order: 5; grid-template-columns: 1fr; gap: 20px; }
  .about__photo { order: 6; margin-top: 26px; }
  .about__photo img { aspect-ratio: 16 / 9; object-fit: cover; }

  /* offices: compact cards with two buttons side by side */
  .contact { grid-template-columns: 1fr; gap: 16px; }
  .office { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 10px; padding: 18px; }
  .office__top, .office h3, .office address { grid-column: 1 / -1; }
  .office__top { margin-bottom: 12px; }
  .office__icon { width: 40px; height: 40px; }
  .office address { margin-bottom: 14px; }
  /* the list's items join the card grid: main number and Directions as two buttons, alternate number below */
  .office__links { display: contents; }
  .office__links li:first-child { order: 1; }
  .office__links li:first-child a { justify-content: center; gap: 7px; width: 100%; min-height: 46px; padding: 8px; border: 1.5px solid #c4c4c6; border-radius: 6px; font-size: .88rem; }
  .office__cta { order: 2; margin-top: 0; padding: 8px; font-size: .88rem; }
  .office__alt { order: 3; grid-column: 1 / -1; margin-top: 6px; }
  .office__alt a { font-size: .88rem; }
  .office__links li:nth-child(n+3) { display: none; }
  .enquiry { padding: 18px; }
  .field--half { grid-column: 1 / -1; }
  .map iframe { height: 240px; }

  /* footer: the buttons repeat the action bar, so they go; link lists sit side by side */
  .footer { padding: 40px 0 86px; }        /* bottom room for the fixed action bar */
  .footer__cta { display: none; }
  .footer__route { margin: 20px 0 40px; }
  .footer__truck { width: 110px; left: calc(82% - 55px); }
  .footer__road { height: 56px; }
  .footer__stops li { letter-spacing: .08em; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
  .footer__brand img { width: 64px; }
  .footer__brand p { margin-top: 0; }
  .footer__offices { grid-column: 1 / -1; }
  .footer__grid a { padding: 11px 0; }
  .footer__tel a { padding: 9px 0 3px; }
  .footer__legal { margin-top: 28px; }

  .chat { display: none; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 6px; color: #fff; text-decoration: none; font-weight: 600; font-size: .88rem; }
  .dock a + a { border-left: 1px solid var(--ink-line); }
  .dock a:nth-child(2) svg { color: var(--wa); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
