/* =========================================================
   Shri Vishwakarma Cargo — marketing site
   Brand: navy + teal (logo), with blue/yellow accents (illustrations)
   ========================================================= */

:root {
  --navy: #0f1f33;
  --navy-2: #172a44;
  --navy-3: #22395a;
  --teal: #2fa4b3;
  --teal-600: #1d8796;
  --teal-50: #e6f5f7;
  --blue: #3d7fe8;
  --yellow: #f7b52c;
  --red: #ef4f4f;
  --cream: #fbf7ee;
  --ink: #0f1f33;
  --muted: #5b6b7f;
  --line: #e4e9f0;
  --bg: #ffffff;
  --card: #ffffff;
  --tint: #f5f8fb;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(15 31 51 / .06), 0 2px 8px rgb(15 31 51 / .05);
  --shadow: 0 10px 30px -10px rgb(15 31 51 / .18), 0 2px 6px rgb(15 31 51 / .06);
  --shadow-lg: 0 30px 60px -20px rgb(15 31 51 / .28), 0 8px 20px -8px rgb(15 31 51 / .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgb(15 31 51 / .5); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgb(29 135 150 / .6); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-600); transform: translateY(-2px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow-light { color: #7fd3dd; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: #c9d4e2; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar-badges { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgb(47 164 179 / .25); }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { color: #fff; }
/* scrolling cities ticker in the top bar */
.topbar-marquee {
  overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.topbar-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.topbar-marquee:hover .topbar-track { animation-play-state: paused; }
.topbar-dup { display: contents; }
.topbar-track span:not(.topbar-dup) { position: relative; padding: 0 20px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.topbar-track span:not(.topbar-dup)::after {
  content: ""; position: absolute; right: -2.5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: var(--teal);
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.header.is-scrolled {
  background: rgb(255 255 255 / .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgb(15 31 51 / .25);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; background: var(--navy); border-radius: 12px; padding: 3px; }
.brand-ring { transform-origin: 24px 24px; animation: spin 14s linear infinite; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.brand-text small { font-size: 10.5px; font-weight: 800; color: var(--teal-600); letter-spacing: .2em; margin-top: 3px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-mark { background: var(--navy-3); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--navy); background: var(--teal-50); }
.nav-cta-mobile { display: none !important; }

/* FAQs: highlighted pill in the nav */
.nav a.nav-faq { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 8px 14px 8px 11px; background: var(--yellow); color: var(--navy); font-weight: 700; }
.nav a.nav-faq svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav a.nav-faq:hover { background: var(--navy); color: #fff; }
.nav a.nav-faq.is-active { background: var(--navy); color: #fff; }

/* "Join us" dropdown */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 14px; border: 0; border-radius: 999px; background: none;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .2s, background .2s;
}
.nav-drop-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav-drop-toggle:hover, .nav-drop.is-open .nav-drop-toggle, .nav-drop-toggle.is-active { color: var(--navy); background: var(--teal-50); }
.nav-drop.is-open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 10; width: 290px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge over the gap */
.nav .nav-drop-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; }
.nav-drop-menu strong { font-size: 15px; color: var(--navy); }
.nav-drop-menu small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.nav .nav-drop-menu a:hover { background: var(--teal-50); }
@media (hover: hover) and (min-width: 1081px) {
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-drop:hover .nav-drop-toggle svg { transform: rotate(180deg); }
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-track { padding: 11px 18px; font-size: 14.5px; }
.header-track:hover svg { transform: none; }
.header-track.is-active { border-color: var(--teal); color: var(--teal-600); background: var(--teal-50); }
.header-phone {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, transform .2s;
}
.header-phone:hover { border-color: var(--teal); transform: rotate(-12deg); }
.header-phone svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 48px) 0 96px;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-a { width: 520px; height: 520px; background: #bfe6ec; top: -120px; right: -80px; animation: float 16s ease-in-out infinite; }
.blob-b { width: 420px; height: 420px; background: #ffe2a3; bottom: -160px; left: -120px; animation: float 20s ease-in-out infinite reverse; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(15 31 51 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(15 31 51 / .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.hero-copy .eyebrow {
  background: #fff; border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 999px;
  text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--navy); box-shadow: var(--shadow-sm);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; animation: ping 1.8s var(--ease) infinite; }

.hero h1 { margin-top: 22px; font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
.grad-text {
  background: linear-gradient(90deg, var(--teal-600), var(--blue) 55%, var(--teal));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-proof { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 36px; }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof li[hidden] { display: none; }
/* while the app's content is loading (class set by js/config.js) */
.site-pending .topbar-track, .site-pending .city-cloud, .site-pending .branches,
.site-pending .contact-list, .site-pending [data-site], .site-pending [data-hide-with-stats],
.site-pending #clients, .site-pending #reviews { visibility: hidden; }
/* sections the app's content can empty out */
.branches[hidden], .contact-list[hidden], .city-cloud[hidden] { display: none; }
/* no branch cards → the Network text uses the full width */
.network-inner:has(.branches[hidden]) { grid-template-columns: 1fr; }
.network-inner:has(.branches[hidden]) .network-copy { max-width: 720px; }
.hero-proof strong { font-size: 28px; font-weight: 800; color: var(--navy); }
.hero-proof li + li { padding-left: 36px; border-left: 1px solid var(--line); }
.hero-proof li > span { font-size: 14px; color: var(--muted); }

/* ---------- journey animation ---------- */
.journey { position: relative; justify-self: center; width: min(600px, 100%); min-width: 0; }
.journey-card {
  position: relative; background: var(--card); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid rgb(15 31 51 / .06);
}
.journey-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 4px 14px; font-size: 13px; }
.lr { font-weight: 800; color: var(--navy); background: var(--tint); padding: 5px 10px; border-radius: 8px; letter-spacing: .02em; }
.route-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.route-name svg { width: 14px; height: 14px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; }

.stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: #fff; isolation: isolate;
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-ring {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(15 31 51 / .06);
}

.caption { display: flex; gap: 10px; align-items: center; padding: 10px 4px 0; }
.caption-step {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 12px;
}
.caption strong { display: block; font-size: 14.5px; color: var(--navy); }
.caption p { font-size: 12.5px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caption > div { min-width: 0; }
.caption.swap > * { animation: captionIn .6s var(--ease); }

.route { position: relative; height: 48px; margin: 4px 4px 0; }
.route svg { position: absolute; inset: 0 0 12px; width: 100%; height: 36px; overflow: visible; }
.route-base { fill: none; stroke: var(--line); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.route-fill { fill: none; stroke: var(--teal); stroke-width: 3.5; stroke-linecap: round; }
.route-truck {
  position: absolute; left: 0; top: 0; width: 28px; height: 18px; margin: -9px 0 0 -14px;
  display: grid; place-items: center; background: var(--yellow); border-radius: 7px;
  box-shadow: 0 6px 14px -4px rgb(247 181 44 / .8); z-index: 2; will-change: transform;
}
.route-truck svg { width: 18px; height: 11px; fill: var(--navy); }
.route-nodes { position: absolute; inset: 0; }
.route-node {
  position: absolute; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--line);
  cursor: pointer; padding: 0; transition: border-color .4s, background .4s, transform .4s var(--ease);
}
.route-node::after {
  content: attr(data-label); position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .3s;
}
.route-node.is-done { border-color: var(--teal); background: var(--teal); }
.route-node.is-current { transform: translate(-50%, -50%) scale(1.25); border-color: var(--teal); background: #fff; box-shadow: 0 0 0 6px rgb(47 164 179 / .18); }
.route-node.is-current::after, .route-node.is-done::after { color: var(--navy); }
.route-node:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow); border: 1px solid rgb(15 31 51 / .05); white-space: nowrap;
}
.chip svg { width: 18px; height: 18px; fill: none; stroke: var(--teal-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-status { top: 88px; left: -44px; animation: bob 6s ease-in-out infinite; }
.chip-eta { top: 42%; right: -40px; animation: bob 7s ease-in-out -2s infinite; }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgb(247 181 44 / .22); transition: background .4s, box-shadow .4s; }
.chip-status.is-delivered .chip-dot { background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / .22); }
.chip-status #chipStatus { display: inline-block; }
.chip-status .flip { animation: captionIn .5s var(--ease); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgb(15 31 51 / .25); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--navy); animation: scrollCue 2s var(--ease) infinite; }


/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-tint { background: var(--tint); }
.section-dark { background: radial-gradient(1200px 600px at 80% -10%, #1f3b5c 0%, transparent 60%), var(--navy); color: #d6e0ec; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .network-copy h2, .about-copy h2, .contact-copy h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-dark h2 { color: #fff; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.service::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgb(47 164 179 / .16), transparent 70%); opacity: 0; transition: opacity .4s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--teal-50); margin-bottom: 22px; transition: background .3s, transform .4s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.service:hover .service-icon { background: var(--navy); transform: rotate(-6deg) scale(1.05); }
.service:hover .service-icon svg { stroke: #fff; }
.service h3 { font-size: 20px; font-weight: 700; }
.service p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 110px; left: 12%; right: 12%; height: 2px;
  background-image: linear-gradient(90deg, var(--teal) 50%, transparent 50%); background-size: 14px 2px; opacity: .5;
}
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 18px 18px 26px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-media { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; }
.step-media video { width: 100%; height: 100%; object-fit: cover; }
.step-num { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 800; color: var(--teal-600); background: var(--teal-50); padding: 3px 10px; border-radius: 999px; }
.step h3 { margin-top: 10px; font-size: 20px; }
.step p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* network */
.network-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.network-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.network-copy p { margin-top: 16px; color: #aebdd0; font-size: 17px; }
.city-cloud { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.city-cloud span {
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); color: #d6e0ec;
  transition: background .25s, border-color .25s, color .25s;
}
.city-cloud span:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.branch-finder { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.branch-tools { display: flex; gap: 10px; }
.branch-search { position: relative; display: block; flex: 1; min-width: 0; }
.branch-tools[hidden], .branch-empty[hidden], .branch[hidden] { display: none; }
.branch-download { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 50px; padding: 0 18px; border-radius: 14px; border: 1px solid rgb(47 164 179 / .5); background: rgb(47 164 179 / .14); color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.branch-download:hover:not(:disabled) { background: var(--teal); border-color: var(--teal); }
.branch-download:disabled { opacity: .5; cursor: not-allowed; }
.branch-download svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 520px) { .branch-download span { display: none; } .branch-download { padding: 0 15px; } }
.branch-search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: #7fd3dd; stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.branch-search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .05); color: #fff; font: inherit; font-size: 15px; transition: border-color .2s, background .2s; }
.branch-search input::placeholder { color: #8a9bb2; }
.branch-search input:focus { outline: none; border-color: var(--teal); background: rgb(255 255 255 / .08); }
.branch-empty { padding: 18px 20px; border-radius: 14px; border: 1px dashed rgb(255 255 255 / .18); color: #aebdd0; font-size: 15px; }
.branch-empty a { color: #7fd3dd; font-weight: 700; white-space: nowrap; }
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.branch {
  background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .09); border-radius: var(--radius);
  padding: 24px; transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.branch:hover { background: rgb(255 255 255 / .07); border-color: rgb(47 164 179 / .6); transform: translateY(-4px); }
.branch-hq { grid-column: 1 / -1; background: linear-gradient(135deg, rgb(47 164 179 / .22), rgb(61 127 232 / .1)); border-color: rgb(47 164 179 / .45); }
.branch-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--yellow); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.branch h3 { color: #fff; font-size: 20px; }
.branch p { margin-top: 8px; font-size: 14.5px; color: #aebdd0; }
.branch-phones { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.branch-phones a { font-size: 13.5px; font-weight: 700; color: #7fd3dd; padding: 5px 10px; border-radius: 8px; background: rgb(47 164 179 / .12); transition: background .2s, color .2s; }
.branch-phones a:hover { background: var(--teal); color: #fff; }
.branch-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.branch-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #aebdd0; overflow-wrap: anywhere; transition: color .2s; }
.branch-links a:hover { color: #7fd3dd; }
.branch-links svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* about */
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; right: -18px; bottom: 28px; background: #fff; border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; max-width: 220px;
}
.about-badge strong { font-size: 22px; color: var(--navy); }
.about-badge span { font-size: 13.5px; color: var(--muted); }
.about-copy p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d8796' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* about page */
.page-hero { padding-bottom: 80px; }
.page-hero-inner { position: relative; max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-hero .lead { margin-inline: auto; }
.page-hero .hero-proof { justify-content: center; }
.services-grid-4 { grid-template-columns: repeat(4, 1fr); }
.about-copy p + p { margin-top: 12px; }
.page-cta { margin-top: 28px; }

/* policy pages (privacy, payment, terms) — long-form reading text */
.page-hero-sm { padding-bottom: 64px; }
.page-hero-sm h1 { margin-top: 14px; font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -0.03em; }
.page-hero-sm .lead { margin-top: 14px; font-size: 17px; }
.legal-hero-icon {
  width: 60px; height: 60px; border-radius: 18px; margin-bottom: 18px; display: grid; place-items: center;
  background: var(--navy); box-shadow: 0 14px 30px -12px rgb(15 31 51 / .55);
}
.legal-hero-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.legal-meta { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.legal-meta span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  background: rgb(255 255 255 / .8); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--navy);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.legal-meta svg { width: 15px; height: 15px; fill: none; stroke: var(--teal-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal-updated { margin-top: 12px; font-size: 14px; color: var(--muted); }

.legal-section { padding-top: 64px; min-height: 50vh; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }

/* sticky "On this page" sidebar, filled by js/main.js from the .legal-block headings */
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal-toc-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 10px; }
.legal-toc nav { display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
  display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 10px;
  font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--muted); transition: background .2s, color .2s;
}
.legal-toc a span { font-size: 12px; font-weight: 800; color: var(--teal-600); min-width: 14px; }
.legal-toc a:hover { background: var(--tint); color: var(--navy); }
.legal-toc a.is-active { background: var(--teal-50); color: var(--navy); }

.legal { max-width: 820px; color: var(--ink); font-size: 16px; line-height: 1.75; }
.legal p { margin: 0 0 14px; color: #3c4a5c; }
.legal strong { color: var(--ink); }
.legal a { color: var(--teal-600); font-weight: 600; }
.legal-intro {
  position: relative; padding: 24px 28px 24px 32px; margin-bottom: 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
}
.legal-intro::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--teal), var(--blue)); }
.legal-intro p { margin: 0; font-size: 17px; color: var(--ink); }

.legal-block {
  padding: 30px 32px; margin-bottom: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px); transition: box-shadow .3s var(--ease), border-color .3s;
}
.legal-block:hover { box-shadow: var(--shadow); border-color: transparent; }
.legal-block > :last-child { margin-bottom: 0; }
.legal-block h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 22px; font-weight: 800; color: var(--navy); }
.legal-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 16px; font-weight: 800;
}

.legal-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 6px; }
.legal-card { padding: 18px 20px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.legal-card:hover { border-color: var(--teal); background: var(--teal-50); }
.legal-card h3 { position: relative; padding-left: 16px; font-size: 15.5px; font-weight: 700; color: var(--navy); }
.legal-card h3::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgb(47 164 179 / .2); }
.legal-card p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.65; }

.legal-ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.legal-ticks li { position: relative; padding-left: 34px; color: #3c4a5c; }
.legal-ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d8796' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.legal-callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 16px; border-radius: 14px; background: #eafaf0; border: 1px solid #bfe8cf; }
.legal-callout svg { flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: #16a34a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal-callout p { margin: 0; color: #1f4d33; }
.legal-callout strong { color: #14532d; }
/* neutral bullet list, and a "you must not" list with red crosses */
.legal-dots, .legal-crosses { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.legal-dots li, .legal-crosses li { position: relative; padding-left: 30px; color: #3c4a5c; }
.legal-dots li::before { content: ""; position: absolute; left: 6px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgb(47 164 179 / .2); }
.legal-crosses li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #fdecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d33a3a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.legal-callout-warn { background: #fff7e6; border-color: #f5d79a; }
.legal-callout-warn svg { stroke: #b7791f; }
.legal-callout-warn p { color: #6b4a12; }
.legal-callout-warn strong { color: #5a3d0c; }
.legal-block > .legal-callout:not(:first-child) { margin-top: 4px; }
/* allowed / not-allowed cards (e.g. cancellation before vs after pickup) */
.legal-card-ok { background: #f0fbf4; border-color: #c8ebd5; }
.legal-card-ok h3::before { background: #16a34a; box-shadow: 0 0 0 3px rgb(22 163 74 / .2); }
.legal-card-no { background: #fdf2f2; border-color: #f3cccc; }
.legal-card-no h3::before { background: var(--red); box-shadow: 0 0 0 3px rgb(239 79 79 / .2); }

.legal-contact-card {
  display: grid; gap: 12px; padding: 22px; border-radius: var(--radius); margin-top: 6px;
  background: radial-gradient(600px 300px at 90% -20%, #1f3b5c 0%, transparent 60%), var(--navy);
}
.legal-contact-item { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); color: #fff !important; font-weight: 600; transition: background .2s, border-color .2s; }
a.legal-contact-item:hover { background: rgb(47 164 179 / .18); border-color: rgb(47 164 179 / .6); }
.legal-contact-item > span:last-child { display: flex; flex-direction: column; font-size: 15px; line-height: 1.45; }
.legal-contact-item small { font-size: 12px; font-weight: 600; color: #8fa3ba; }
.legal-contact-card .contact-icon { background: var(--teal); }

.legal-placeholder { padding: 40px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted) !important; background: #fff; }

@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal-toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
}
@media (max-width: 640px) {
  .legal-block { padding: 22px 18px; }
  .legal-block h2 { font-size: 19px; gap: 12px; }
  .legal-num { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
  .legal-intro { padding: 20px 20px 20px 24px; }
  .legal-intro p { font-size: 16px; }
}

/* contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.contact-list { margin-top: 30px; display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
a.contact-item:hover { border-color: var(--teal); transform: translateX(4px); }
.contact-item > span:last-child { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; }
.contact-item small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.contact-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); }
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.quote-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--tint);
  transition: border-color .2s, background .2s, box-shadow .2s; outline: none; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgb(47 164 179 / .15); }
.field.invalid input { border-color: var(--red); }
.form-note { font-size: 14px; color: var(--teal-600); min-height: 1.2em; text-align: center; }
.form-note.error { color: var(--red); }
/* spam-trap field: off-screen for people, still in the form for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alt { font-size: 14px; color: var(--muted); text-align: center; }
.form-alt a { color: var(--teal-600); font-weight: 700; }
.field-optional { font-weight: 500; color: var(--muted); font-size: 12px; }
.field.invalid textarea { border-color: var(--red); }

/* footer */
.footer { background: var(--navy); color: #aebdd0; padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 15px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social[hidden] { display: none; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--teal); color: var(--navy); }
.footer-social svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.footer-col a { font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: #7fd3dd; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgb(255 255 255 / .08); display: flex; justify-content: space-between; gap: 16px; font-size: 14px; flex-wrap: wrap; }

/* ---------- happy clients (scrolling logo strip) ---------- */
#clients { overflow: hidden; }
.clients-marquee {
  /* full-bleed: runs edge to edge of the screen, not just the content width */
  margin-inline: calc(50% - 50vw);
  display: grid; gap: 16px; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.clients-row { overflow: hidden; padding: 6px 0; }
/* the track holds the logos twice; sliding it by half loops seamlessly.
   Spacing uses margin (not gap) so the two halves are exactly equal. */
.clients-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.clients-track > * { margin-right: 18px; }
.clients-row.is-reverse .clients-track { animation-direction: reverse; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.client {
  flex-shrink: 0; width: 210px; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 18px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.client:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
/* real logos: muted until hovered so mixed brand colours sit calmly together */
.client img { max-height: 58px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.client:hover img { filter: none; opacity: 1; }
/* client name on hover (logo tiles) */
.client.has-label { position: relative; overflow: hidden; }
.client.has-label img { transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.client-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px;
  background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.client.has-label:hover .client-label, .client.has-label:focus-visible .client-label { transform: none; }
.client.has-label:hover img, .client.has-label:focus-visible img { transform: translateY(-12px); }
/* touch screens can't hover — show the name under the logo all the time */
@media (hover: none) {
  .client.has-label { justify-content: flex-start; padding-bottom: 30px; }
  .client-label { transform: none; background: transparent; color: var(--navy); padding: 4px 8px 8px; }
}
/* placeholder tiles */
.client[data-sample] { border-style: dashed; color: var(--muted); box-shadow: none; }
.client[data-sample] svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.client[data-sample] span { font-size: 12.5px; font-weight: 600; }
@media (max-width: 640px) {
  .client { width: 160px; height: 84px; padding: 14px 16px; border-radius: 16px; }
  .clients-track > * { margin-right: 12px; }
}
/* no animation wanted → a plain row you can scroll sideways */
@media (prefers-reduced-motion: reduce) {
  .clients-row { overflow-x: auto; }
  .clients-track { animation: none !important; }
}
/* client without a logo: its name as a word-mark */
.client-name { font-size: 15px; font-weight: 800; color: var(--navy); text-align: center; line-height: 1.25; }
#clients[hidden], #reviews[hidden] { display: none; }

/* ---------- customer reviews ---------- */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.reviews-head h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.reviews-nav { display: flex; gap: 10px; }
.reviews-nav[hidden] { display: none; }
.reviews-arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, background .2s, opacity .2s;
}
.reviews-arrow:hover:not(:disabled) { border-color: var(--teal); background: var(--teal-50); }
.reviews-arrow:disabled { opacity: .4; cursor: default; }
.reviews-arrow svg { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* horizontal scroll with snapping — 3 cards on desktop, 2 on tablet, 1 on phone */
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: var(--radius); }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; padding: 26px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.review-stars { display: flex; gap: 2px; font-size: 18px; color: var(--yellow); letter-spacing: 0; }
.review-stars .off { color: var(--line); }
.review blockquote { margin: 0; flex: 1; font-size: 15.5px; line-height: 1.7; color: var(--ink); position: relative; }
.review blockquote::before { content: "\201C"; display: block; height: 22px; font-size: 48px; line-height: 1; color: var(--teal); opacity: .35; font-family: Georgia, serif; }
.review-by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 15px;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-by > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.review-by strong { color: var(--navy); font-size: 15px; }
.review-by small { color: var(--muted); font-size: 13px; }
.review[data-sample] blockquote { color: var(--muted); }

@media (max-width: 980px) {
  .reviews-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .client { height: 88px; }
  .reviews-head { align-items: flex-start; flex-direction: column; }
  .reviews-track { grid-auto-columns: 86%; }
  .review { padding: 22px; }
}

/* ---------- website logo from the app ---------- */
.brand.has-logo { gap: 0; }
.brand-logo { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.brand-light.has-logo { background: #fff; padding: 6px 10px; border-radius: 12px; }
.site-pending .brand { visibility: hidden; }
@media (max-width: 640px) { .brand-logo { height: 38px; max-width: 170px; } }

/* ---------- parcel tracking page ---------- */
.track-wrap { max-width: 860px; display: grid; gap: 20px; }
.track-form {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 14px; align-items: end;
  background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg);
}
.track-form .btn { height: 50px; }
.track-note { grid-column: 1 / -1; min-height: 1.2em; font-size: 14px; color: var(--teal-600); }
.track-note.error { color: var(--red); }
.track-result { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px; display: grid; gap: 22px; }
.track-result[hidden] { display: none; }
.track-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.track-head small, .track-route small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.track-lr { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.track-badge { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--teal-50); color: var(--teal-600); }
.track-badge.is-done { background: #e9f9ef; color: #15803d; }
.track-badge.is-cancelled { background: #fdecec; color: #c53030; }
.track-route { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; background: var(--tint); }
.track-route span { font-weight: 700; color: var(--navy); }
.track-arrow svg { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.track-pkgs { margin-left: auto; }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.track-steps li { position: relative; display: flex; gap: 14px; padding: 0 0 22px; }
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; background: var(--line); }
.track-steps li:last-child::before { display: none; }
.track-steps li.is-done::before { background: var(--teal); }
.track-steps li.is-current::before { background: var(--line); }
.track-dot { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff; margin-top: 1px; }
.track-steps li.is-done .track-dot {
  border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.track-steps li.is-current .track-dot { box-shadow: 0 0 0 5px rgb(47 164 179 / .2); }
.track-steps strong { display: block; color: var(--navy); font-size: 15.5px; }
.track-steps li:not(.is-done) strong { color: var(--muted); font-weight: 600; }
.track-steps small { font-size: 13px; color: var(--muted); }
.track-cancelled { padding: 14px 16px; border-radius: 14px; background: #fdecec; color: #8a1f1f; font-weight: 600; }
/* Customer / Party tabs */
.track-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.track-tab {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-radius: 14px; background: transparent;
  text-align: left; cursor: pointer; color: var(--muted); transition: background .2s, color .2s;
}
.track-tab svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.track-tab span { display: flex; flex-direction: column; line-height: 1.3; }
.track-tab strong { font-size: 16px; color: inherit; }
.track-tab small { font-size: 12.5px; }
.track-tab:hover { background: var(--tint); }
.track-tab.is-active { background: var(--navy); color: #fff; }
.track-tab.is-active small { color: #aebdd0; }
.track-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- FAQ page ---------- */
.faq-wrap { max-width: 860px; display: grid; gap: 28px; }
.faq-tools { display: grid; gap: 14px; }
.faq-search input { background: #fff; border-color: var(--line); color: var(--navy); box-shadow: var(--shadow-sm); }
.faq-search input::placeholder { color: var(--muted); }
.faq-search input:focus { background: #fff; }
.faq-search svg { stroke: var(--teal-600); }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-chips:empty { display: none; }
.faq-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.faq-chip:hover { border-color: var(--teal); }
.faq-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-list { display: grid; gap: 32px; }
.faq-group[hidden], .faq-item[hidden], .faq-empty[hidden] { display: none; }
.faq-cat { font-size: 20px; font-weight: 800; color: var(--navy); }
.faq-item { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgb(47 164 179 / .5); box-shadow: var(--shadow-sm); }
.faq-item summary { position: relative; padding: 18px 56px 18px 20px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 16px; }
.faq-a { padding: 0 20px 18px; }
.faq-a p { color: var(--muted); font-size: 15.5px; line-height: 1.65; white-space: pre-line; }
.faq-empty { padding: 18px 20px; border-radius: 14px; border: 1px dashed var(--line); color: var(--muted); }
.faq-empty a { color: var(--teal-600); font-weight: 700; }
.faq-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--navy); color: #aebdd0; }
.faq-cta h3 { color: #fff; font-size: 20px; font-weight: 800; }
.faq-cta p { margin-top: 4px; font-size: 15px; }
.faq-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-cta .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .3); }
.faq-cta .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- join us page ---------- */
.join-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.join-form-head h2 { font-size: 24px; font-weight: 800; color: var(--navy); }
.join-form-head p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.file-field input[type="file"] { padding: 10px 12px; cursor: pointer; font-size: 14px; }
.file-field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 7px 14px; border: 0; border-radius: 999px; background: var(--navy); color: #fff;
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.field.invalid input[type="file"] { border-color: var(--red); }
.track-panel { display: grid; gap: 20px; }
.track-panel[hidden] { display: none; }

/* Party results */
.party-result { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 18px; }
.party-result[hidden] { display: none; }
.party-preview { padding: 10px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f5d79a; color: #6b4a12; font-size: 13.5px; font-weight: 600; }
.party-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.party-head small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.party-total { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.party-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.party-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.party-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: all .2s;
}
.party-chip span { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--tint); font-size: 12px; text-align: center; }
.party-chip:hover { border-color: var(--teal); color: var(--navy); }
.party-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.party-chip.is-active span { background: rgb(255 255 255 / .18); }
.party-search { width: min(260px, 100%); padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--tint); font-size: 14px; outline: none; }
.party-search:focus { border-color: var(--teal); background: #fff; }
.party-list { list-style: none; margin: 0; padding: 0; }
/* Scrollable shipment table with a sticky column header. Header and rows share
   --party-cols (fixed status width) so the titles line up with the cells. */
.party-scroll { --party-cols: minmax(110px, .9fr) minmax(0, 1.3fr) minmax(0, 1.4fr) 150px 18px; border: 1px solid var(--line); border-radius: 16px; overflow: auto; overscroll-behavior: contain; }
.party-scroll.is-long { max-height: min(560px, 70vh); }
.party-thead {
  position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: var(--party-cols); gap: 14px; padding: 10px 16px;
  background: var(--navy); color: #cfdae6; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.party-thead-status { text-align: right; }
.party-tools-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.party-select { padding: 9px 30px 9px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--tint); font: inherit; font-size: 14px; color: var(--navy); cursor: pointer; outline: none; }
.party-select:focus { border-color: var(--teal); background-color: #fff; }
.party-count { margin-top: -8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.party-count:empty { display: none; }
.party-list > li + li { border-top: 1px solid var(--line); }
.party-row {
  width: 100%; display: grid; grid-template-columns: var(--party-cols); align-items: center; gap: 14px;
  padding: 14px 16px; border: 0; background: #fff; text-align: left; cursor: pointer; transition: background .2s;
}
.party-row:hover, .party-row[aria-expanded="true"] { background: var(--tint); }
a.party-row { color: inherit; text-decoration: none; }
a.party-row:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.party-status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.party-progress { width: 110px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.party-progress > span { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.party-go { display: grid; place-items: center; color: var(--muted); transition: transform .2s, color .2s; }
.party-go svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
a.party-row:hover .party-go { color: var(--teal-600); transform: translateX(3px); }
.party-hint { font-size: 13px; color: var(--muted); text-align: center; }
.party-lr { display: flex; flex-direction: column; line-height: 1.3; }
.party-lr strong { color: var(--navy); font-size: 15px; }
.party-lr small, .party-pkgs { font-size: 12.5px; color: var(--muted); }
.party-route { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); font-size: 14px; min-width: 0; }
/* sender / receiver names */
.party-people { display: grid; gap: 3px; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.party-people > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.party-people small { display: inline-block; width: 62px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
/* route + delivery type + packages */
.party-where { display: grid; gap: 6px; min-width: 0; }
.party-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); }
.party-delivery { padding: 2px 9px; border-radius: 999px; background: var(--teal-50); color: var(--teal-600); font-size: 11.5px; font-weight: 700; }
.party-delivery.is-godown { background: #fff4dc; color: #8a5a00; }
/* party summary: code, name, credit */
.party-summary { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: 1px; margin: 0; border-radius: 16px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.party-summary > div { padding: 12px 16px; background: var(--tint); min-width: 0; }
.party-summary dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.party-summary dd { margin: 2px 0 0; font-size: 16px; font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
.party-summary small { font-size: 12px; color: var(--muted); }
.party-credit { background: var(--teal-50) !important; }
.party-credit dd { color: var(--teal-600); }
.party-route svg { flex-shrink: 0; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.party-chevron { width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; justify-self: center; margin-top: -4px; }
.party-row[aria-expanded="true"] .party-chevron { transform: rotate(-135deg); margin-top: 4px; }
.party-detail { padding: 6px 18px 20px 18px; background: var(--tint); }
.party-detail[hidden] { display: none; }
.party-empty { padding: 26px; text-align: center; color: var(--muted); }
@media (max-width: 720px) {
  .track-tabs { grid-template-columns: 1fr 1fr; }
  .join-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .track-tab { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
  .track-tab small { display: none; }
  .party-row { grid-template-columns: minmax(0, 1fr) auto 18px; row-gap: 8px; }
  .party-thead { display: none; }
  .party-tools-right { width: 100%; }
  .party-tools-right .party-search { flex: 1; min-width: 150px; width: auto; }
  .party-people { grid-column: 1 / 2; grid-row: 2; }
  .party-where { grid-column: 1 / 2; grid-row: 3; }
  .party-status { grid-column: 2; grid-row: 1 / span 3; }
  .party-go { grid-column: 3; grid-row: 1 / span 3; }
  .party-summary { grid-template-columns: 1fr 1fr; }
  .party-summary > div:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .party-progress { width: 80px; }
  .party-search { width: 100%; }
}

.track-help { font-size: 14px; color: var(--muted); text-align: center; }
.track-help a { color: var(--teal-600); font-weight: 700; }
@media (max-width: 720px) {
  .track-form { grid-template-columns: 1fr; padding: 20px; }
  .track-form .btn { width: 100%; }
  .track-pkgs { margin-left: 0; }
}

/* ---------- rate check page (quote.html) ---------- */
.qt-wrap { max-width: 920px; }
.field select { cursor: pointer; appearance: none; padding-right: 38px; }
/* custom arrow — also on :focus, whose `background` shorthand would otherwise clear it */
.field select, .field select:focus {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field select:disabled { cursor: not-allowed; opacity: .6; }
.field.invalid select { border-color: var(--red); }

/* Route form: From card · swap · To card */
.qt-route {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center;
  background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg);
}
.qt-side { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--tint); display: grid; gap: 12px; min-width: 0; }
.qt-side legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.qt-side .field input, .qt-side .field select { background-color: #fff; }
.qt-pin { width: 10px; height: 10px; border-radius: 50%; }
.qt-pin-from { background: var(--teal); box-shadow: 0 0 0 4px rgb(47 164 179 / .18); }
.qt-pin-to { background: var(--navy); box-shadow: 0 0 0 4px rgb(15 31 51 / .12); }
.qt-swap {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .2s, color .2s;
}
.qt-swap svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
.qt-swap:hover { border-color: var(--teal); color: var(--teal-600); transform: rotate(180deg); }
.qt-swap:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.qt-actions { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.qt-actions .btn { height: 50px; }
.qt-actions .track-note { grid-column: auto; }

/* Results */
.qt-result { animation: qt-in .35s var(--ease); }
@keyframes qt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qt-route-title { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qt-route-title svg { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.qt-badge { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; background: #fff7e6; color: #8a5a00; }
.qt-badge.is-open { background: #e9f9ef; color: #15803d; }
.qt-muted { margin: 0; font-size: 14px; color: var(--muted); }
.qt-pricing { display: grid; gap: 18px; }
.qt-rates { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.qt-rate {
  display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(160deg, #fff 0%, var(--teal-50) 140%); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.qt-rate:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgb(47 164 179 / .45); }
.qt-rate-name { font-weight: 800; color: var(--navy); font-size: 15px; }
.qt-rate small { font-size: 12.5px; color: var(--muted); }
.qt-rate-price { margin-top: 8px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.qt-rate-price strong { font-size: 26px; font-weight: 800; color: var(--teal-600); letter-spacing: -0.02em; }
.qt-rate-price span { font-size: 13px; color: var(--muted); font-weight: 600; }
.qt-charges { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.qt-charge-group { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff; }
.qt-charge-group h4 { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qt-charge-group ul { list-style: none; margin: 0; padding: 0; display: grid; }
.qt-charge-group li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--navy); }
.qt-charge-group li + li { border-top: 1px dashed var(--line); }
.qt-charge-group li strong { white-space: nowrap; }
.qt-notes { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: 14px; color: var(--navy); }

/* Party rates: one expandable row per destination */
.qt-lines { display: grid; gap: 10px; }
.qt-line { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.qt-line[open] { border-color: rgb(47 164 179 / .45); box-shadow: var(--shadow); }
.qt-line summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr) 18px;
  align-items: center; gap: 14px; padding: 14px 16px; transition: background .2s;
}
.qt-line summary::-webkit-details-marker { display: none; }
.qt-line summary:hover { background: var(--tint); }
.qt-line summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.qt-line[open] .party-chevron { transform: rotate(-135deg); margin-top: 4px; }
.qt-line-dest { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.qt-line-dest strong { color: var(--navy); font-size: 15.5px; }
.qt-line-dest small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qt-line-from { display: flex; align-items: baseline; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.qt-line-from strong { font-size: 18px; color: var(--teal-600); }
.qt-line-from small { font-size: 12px; color: var(--muted); font-weight: 600; }
.qt-line-body { padding: 4px 16px 18px; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.qt-paymode { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; border: 1px solid transparent; }
.qt-paymode.is-any { background: var(--tint); color: var(--muted); border-color: var(--line); }
.qt-paymode.is-paid { background: #e9f9ef; color: #15803d; }
.qt-paymode.is-topay { background: #fff7e6; color: #8a5a00; }
.qt-paymode.is-tbb { background: #e8f0fe; color: #1e4fb8; }

/* Custom price call-to-action */
.qt-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 24px; border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, var(--navy-3) 0%, var(--navy) 60%);
  box-shadow: var(--shadow);
}
.qt-cta > div:first-child { display: grid; gap: 4px; max-width: 460px; }
.qt-cta strong { font-size: 18px; }
.qt-cta span { color: #aebdd0; font-size: 14px; }
.qt-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.qt-cta .btn-primary { background: var(--teal); }
.qt-cta .btn-primary:hover { background: var(--teal-600); }

@media (max-width: 720px) {
  .qt-route { grid-template-columns: 1fr; padding: 18px; }
  .qt-swap { justify-self: center; margin: -4px 0; }
  .qt-swap svg { transform: none; }
  .qt-actions { grid-template-columns: 1fr; }
  .qt-actions .btn { width: 100%; }
  .qt-line summary { grid-template-columns: minmax(0, 1fr) auto 18px; row-gap: 6px; }
  .qt-line-from { grid-column: 1 / 2; grid-row: 2; justify-content: flex-start; }
  .qt-paymode { grid-column: 2; grid-row: 1; }
  .qt-line summary .party-chevron { grid-column: 3; grid-row: 1 / span 2; }
  .qt-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .qt-rate { padding: 12px; }
  .qt-rate-price strong { font-size: 22px; }
  .qt-cta-actions, .qt-cta-actions .btn { width: 100%; }
}

/* ---------- promotion popup (slides) ---------- */
.promo { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.promo[hidden] { display: none; }
.promo-backdrop { position: absolute; inset: 0; background: rgb(15 31 51 / .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s var(--ease); }
.promo-card {
  position: relative; width: min(880px, 100%); max-height: calc(100dvh - 32px); overflow-x: hidden; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.promo.is-open .promo-backdrop { opacity: 1; }
.promo.is-open .promo-card { opacity: 1; transform: none; }
.promo-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: background .2s, transform .2s;
}
.promo-close:hover { background: var(--tint); transform: rotate(90deg); }
.promo-close svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }

/* slides sit side by side; the track slides left by 100% per slide */
.promo-track { display: flex; transition: transform .55s var(--ease); }
.promo-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.promo-media { position: relative; min-height: 320px; background: #fff; border-right: 1px solid var(--line); }
.promo-media video, .promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.promo-tag {
  position: absolute; left: 16px; top: 16px; z-index: 1; padding: 5px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.promo-body { min-width: 0; padding: 48px 40px 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.promo-body h2 { margin-top: 10px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--navy); }
.promo-body p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.promo-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
/* Image-only slide: same size as a normal slide (2:1, or as tall as the
   tallest slide). The whole image is shown on top of a blurred copy of
   itself, so any shape fills the card without cropping or white bars. */
.promo-slide-image { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--navy); }
.promo-slide-image > a { position: absolute; inset: 0; }
.promo-slide-image .promo-fill { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(22px) brightness(.85); }
.promo-slide-image .promo-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.promo-nav { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px; border-top: 1px solid var(--line); background: var(--tint); }
.promo-nav[hidden] { display: none; }
.promo-arrow {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.promo-arrow:hover { border-color: var(--teal); background: var(--teal-50); }
.promo-arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.promo-dots { display: flex; gap: 8px; }
.promo-dot { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: #c9d3df; cursor: pointer; transition: width .3s var(--ease), background .3s; }
.promo-dot.is-active { width: 26px; background: var(--teal); }

@media (max-width: 720px) {
  .promo-slide { grid-template-columns: minmax(0, 1fr); }
  .promo-media { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .promo-body { padding: 22px 22px 24px; }
  .promo-actions .btn { flex: 1 1 100%; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 30px); } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes captionIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .chip-status { left: -16px; }
  .chip-eta { right: -16px; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .services-grid, .services-grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .network-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .network-copy { position: static; }
  .about-visual { max-width: 460px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .topbar-badges { display: none; }
  .topbar-inner { justify-content: center; }
}

/* Header: tighter nav on smaller laptops, hamburger menu below 1080px
   (the nav has 7 items + Track + Get a quote, which don't fit narrower) */
@media (max-width: 1260px) and (min-width: 1081px) {
  .header-inner { gap: 16px; }
  .nav { gap: 2px; }
  .nav a, .nav-drop-toggle { padding-inline: 10px; font-size: 14.5px; }
  .nav a.nav-faq { padding-inline: 9px 12px; }
  .header-track { padding-inline: 14px; }
}

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: 0; left: 0; right: 0; height: 100dvh; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: safe center; overflow-y: auto; gap: 6px; padding: 96px 24px 32px;
    background: rgb(255 255 255 / .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    z-index: -1;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 22px; padding: 14px 18px; text-align: center; color: var(--navy); }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 16px; color: #fff !important; }
  .nav-track-mobile { margin-top: 8px; color: var(--navy) !important; background: #fff; border-color: var(--line); }
  .nav-drop { display: flex; flex-direction: column; align-items: center; }
  .nav-drop-toggle { font-size: 22px; padding: 14px 18px; color: var(--navy); }
  .nav-drop-menu { position: static; width: 100%; max-width: 360px; display: none; padding: 4px; margin-top: 2px; box-shadow: none; opacity: 1; visibility: visible; transform: none; text-align: center; }
  .nav-drop.is-open .nav-drop-menu { display: flex; }
  .nav .nav-drop-menu a { align-items: center; padding: 10px 14px; text-align: center; }
  .nav-drop-menu strong { font-size: 17px; }
  .nav a.nav-faq { justify-content: center; margin: 4px 0 0; padding: 14px 18px; }
  .nav a.nav-faq svg { width: 22px; height: 22px; }
  .header-track { display: none; }
  .brand, .header-actions { position: relative; z-index: 2; }
  .header-actions { margin-left: auto; }
  body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .section { padding: 80px 0; }
  .hero { padding-bottom: 80px; }
  .hero-proof { gap: 20px; }
  .hero-proof li + li { padding-left: 20px; }
  .hero-proof strong { font-size: 22px; }
  .lead { font-size: 16px; }
  .brand-text strong { font-size: 15px; }
  .brand-mark { width: 38px; height: 38px; }
  .header-phone { display: none; }
  .journey-card { padding: 12px; border-radius: 22px; }
  .chip { font-size: 12px; padding: 7px 10px; border-radius: 11px; }
  .chip svg { width: 15px; height: 15px; }
  .chip-status { top: 64px; left: -6px; }
  .chip-eta { right: -6px; top: 40%; }
  .route-node::after { font-size: 10px; }
  .services-grid, .services-grid-4, .steps, .field-row { grid-template-columns: 1fr; }
  .page-hero { padding-bottom: 64px; }
  .branches { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; }
  .about-badge { right: 8px; bottom: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

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