/* =========================================================================
   Redtree Logistics — main stylesheet
   Hand-rolled. No frameworks. CSS custom properties throughout.
   ========================================================================= */

:root{
  --red:        #be1e2d;
  --red-dark:   #8e1521;
  --red-soft:   #fbeaec;
  --ink:        #0e1116;
  --ink-2:      #2b3038;
  --ink-3:      #5b6471;
  --line:       #e6e8ec;
  --bg:         #ffffff;
  --bg-2:       #f7f8fa;
  --bg-3:       #0e1116;
  --gold:       #f5b400;
  --good:       #1f8a4c;
  --shadow-sm:  0 1px 2px rgba(14,17,22,.06), 0 1px 1px rgba(14,17,22,.04);
  --shadow-md:  0 6px 24px -8px rgba(14,17,22,.18);
  --shadow-lg:  0 24px 60px -20px rgba(14,17,22,.25);
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --t-xs:  clamp(.78rem, .76rem + .1vw,  .82rem);
  --t-sm:  clamp(.88rem, .85rem + .15vw, .94rem);
  --t-base:clamp(1rem,   .95rem + .2vw,  1.06rem);
  --t-lg:  clamp(1.12rem, 1.05rem + .35vw, 1.25rem);
  --t-xl:  clamp(1.35rem, 1.2rem + .7vw,   1.75rem);
  --t-2xl: clamp(1.7rem,  1.4rem + 1.4vw,  2.4rem);
  --t-3xl: clamp(2.2rem,  1.6rem + 2.6vw,  3.4rem);
  --t-4xl: clamp(2.4rem,  1.6rem + 3.2vw,  3.8rem);
}

/* ---------- base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--bg); color:var(--ink); -webkit-font-smoothing:antialiased; font:400 var(--t-base)/1.6 'Inter', system-ui, -apple-system, sans-serif; }
img,svg,video{ max-width:100%; height:auto; display:block; }
a{ color:var(--red); text-decoration:none; transition:color .15s; }
a:hover{ color:var(--red-dark); }
:focus-visible{ outline:3px solid var(--red); outline-offset:3px; border-radius:6px; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip{ position:absolute; left:-9999px; top:0; }
.skip:focus{ left:16px; top:16px; background:#000; color:#fff; padding:10px 16px; z-index:9999; border-radius:6px; }

h1,h2,h3,h4{ font-family:'Manrope', system-ui, sans-serif; font-weight:800; letter-spacing:-.02em; line-height:1.08; color:var(--ink); margin:0 0 .5em; }
h1{ font-size:var(--t-3xl); }
h2{ font-size:var(--t-2xl); }
h3{ font-size:var(--t-xl); }
h4{ font-size:var(--t-lg); letter-spacing:-.01em; }
p{ margin:0 0 1em; color:var(--ink-2); }
p:last-child{ margin-bottom:0; }
.lede{ font-size:var(--t-lg); color:var(--ink-2); }
.eyebrow{ font:600 var(--t-sm)/1 'Inter'; text-transform:uppercase; letter-spacing:.12em; color:var(--red); display:inline-block; margin-bottom:14px; }
.eyebrow--light{ color:#ff5468; }
.muted{ color:var(--ink-3); }
ul.clean{ list-style:none; padding:0; margin:0; }

.container{ max-width:1200px; margin-inline:auto; padding-inline:clamp(20px,4vw,40px); }
section{ padding-block:clamp(64px,9vw,128px); }
section.alt{ background:var(--bg-2); }
section.dark{ background:var(--bg-3); color:#fff; }
section.dark h1,section.dark h2,section.dark h3,section.dark h4{ color:#fff; }
section.dark p{ color:#cfd4dc; }
section.tight{ padding-block:clamp(40px,6vw,80px); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px; justify-content:center;
  font:600 var(--t-base)/1 'Inter'; padding:14px 22px; border-radius:var(--r-pill);
  background:var(--red); color:#fff; border:1.5px solid var(--red);
  transition:transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
  cursor:pointer; box-shadow:var(--shadow-sm); text-decoration:none; white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px) scale(1.02); box-shadow:var(--shadow-md); color:#fff; background:var(--red-dark); border-color:var(--red-dark); }
.btn:active{ transform:translateY(0) scale(1); }
.btn svg{ transition:transform .25s var(--ease); }
.btn:hover svg{ transform:translateX(2px); }
.btn[aria-busy="true"],.btn:disabled{ opacity:.6; pointer-events:none; }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn--ghost:hover{ background:var(--bg-2); color:var(--ink); border-color:var(--line); }
.btn--ghost-light{ background:transparent; color:#fff; border-color:rgba(255,255,255,.4); }
.btn--ghost-light:hover{ background:rgba(255,255,255,.1); color:#fff; border-color:#fff; }
.btn--dark{ background:var(--ink); color:#fff; border-color:var(--ink); }
.btn--dark:hover{ background:#000; color:#fff; border-color:#000; }
.btn--lg{ padding:18px 28px; font-size:var(--t-lg); }
.btn--sm{ padding:10px 16px; font-size:var(--t-sm); }
.btn--block{ width:100%; }

/* ---------- utility strip ---------- */
.utility{ background:var(--ink); color:#cfd4dc; font-size:var(--t-xs); }
.utility__row{ display:flex; gap:18px; align-items:center; min-height:38px; }
.utility__hours,.utility__cover{ display:inline-flex; align-items:center; gap:6px; }
.utility__sep{ color:#5b6471; }
.utility__phone{ margin-left:auto; color:#fff; font-weight:600; display:inline-flex; align-items:center; gap:6px; }
.utility__phone:hover{ color:#fff; opacity:.85; }
@media (max-width:700px){
  .utility__cover{ display:none; }
  .utility__sep{ display:none; }
}

/* ---------- header / nav ---------- */
.site-top{
  position:-webkit-sticky;
  position:sticky;
  top:0;
  z-index:50;
}
.site-header{
  position:-webkit-sticky;
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
  transition:box-shadow .2s;
}
.site-top > .site-header{
  position:relative;
  top:auto;
  z-index:auto;
}
.site-header.is-scrolled{ box-shadow:var(--shadow-md); }
.site-header__row{ display:flex; align-items:center; gap:24px; min-height:76px; }
.brand{ color:var(--red); flex:0 0 auto; display:inline-flex; align-items:center; }
.brand svg{ height:38px; width:auto; }
.brand .logo-img{ height:48px; width:auto; display:block; }
.brand:hover{ color:var(--red); opacity:.92; }
.brand--footer{ color:#fff; }
.brand--footer svg{ height:42px; }
.brand--footer .logo-img{ height:52px; }

.nav{ margin-left:auto; }
.nav__list{ display:flex; gap:4px; list-style:none; margin:0; padding:0; }
.nav__list a{
  display:flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:8px; color:var(--ink-2); font-weight:500; font-size:var(--t-sm);
}
.nav__list a:hover,.nav__list a.is-active{ background:var(--bg-2); color:var(--ink); }
.nav__list a .nav-arrow{ display:none; }
.nav__list a .nav-icon{
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 18px; width:18px; height:18px; color:var(--red);
}
.nav__list a .nav-icon svg{ width:16px; height:16px; }
.nav__list a:hover .nav-icon, .nav__list a.is-active .nav-icon{ color:var(--red-dark); }
.header-cta{ margin-left:8px; flex:0 0 auto; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; margin-left:auto; background:none; border:0; padding:10px; cursor:pointer; }
.nav-toggle span{ width:24px; height:2px; background:var(--ink); border-radius:2px; transition:.2s; display:block; }

@media (max-width: 880px){
  .nav-toggle{ display:flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .nav{ position:fixed; inset:114px 0 auto 0; background:#fff; border-bottom:1px solid var(--line);
        transform:translateY(-12px); opacity:0; pointer-events:none; transition:.2s var(--ease); margin:0;
        max-height:calc(100vh - 114px); overflow-y:auto; }
  .nav.is-open{ transform:none; opacity:1; pointer-events:auto; }
  .nav__list{ flex-direction:column; padding:16px; }
  .nav__list a{ padding:14px 16px; font-size:var(--t-lg); }
  .header-cta{ display:none; }
}
.grecaptcha-badge {
  display: none !important;
}
/* ---------- forms ---------- */
.field{ display:flex; flex-direction:column; gap:8px; }
.field--row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field label, .label{ font-weight:600; font-size:var(--t-sm); color:var(--ink); }
.field .hint{ color:var(--ink-3); font-size:var(--t-xs); }
.input, .select, .textarea{
  width:100%; padding:14px 16px; font:500 var(--t-base) 'Inter'; color:var(--ink);
  background:#fff; border:1.5px solid var(--line); border-radius:var(--r-md);
  transition:border-color .15s, box-shadow .15s;
}
.textarea{ resize:vertical; min-height:120px; line-height:1.5; }
.input:focus,.select:focus,.textarea:focus{
  outline:0; border-color:var(--red); box-shadow:0 0 0 4px var(--red-soft);
}
.input.is-error,.select.is-error,.textarea.is-error{ border-color:#d72c2c; box-shadow:0 0 0 4px #fde6e6; }
.field__error{ color:#a3201d; font-size:var(--t-xs); display:none; }
.field.is-error .field__error{ display:block; }
.radio-row{ display:flex; gap:12px; flex-wrap:wrap; }
.radio{ flex:1 1 140px; position:relative; }
.radio input{ position:absolute; opacity:0; pointer-events:none; }
.radio label{ display:flex; align-items:center; gap:10px; padding:14px 16px;
  border:1.5px solid var(--line); border-radius:var(--r-md); cursor:pointer; font-weight:500; transition:.15s; }
.radio input:checked + label{ border-color:var(--red); background:var(--red-soft); color:var(--red-dark); }
.radio input:focus-visible + label{ box-shadow:0 0 0 4px var(--red-soft); }
.honeypot{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* ---------- reveal animations ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
.reveal[data-delay="4"]{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  html{ scroll-behavior:auto; }
}

/* ---------- generic grid ---------- */
.grid{ display:grid; gap:24px; }
.grid--2{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
.grid--3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
.grid--4{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
@media (max-width:900px){ .grid--3,.grid--4{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:640px){ .grid--2,.grid--3,.grid--4{ grid-template-columns:1fr; } }

/* ---------- hero (home) ---------- */
.hero{ padding-block:clamp(48px,7vw,96px); overflow-x:clip; }
.hero__grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.hero__copy h1{ font-size:var(--t-4xl); }
.hero__copy h1 em{ font-style:normal; color:var(--red); }

/* hand-drawn underline mark */
.ink-mark{ position:relative; display:inline-block; white-space:nowrap; color:var(--ink); }
.ink-mark__line{
  position:absolute; left:-4%; right:-4%; width:108%;
  bottom:-.18em; height:.42em;
  overflow:visible; pointer-events:none;
}
.ink-mark__line path{
  stroke-dasharray:260; stroke-dashoffset:260;
  transition:stroke-dashoffset 1.2s ease-out .25s;
}
.is-in .ink-mark__line path,
h1.is-in .ink-mark__line path{ stroke-dashoffset:0; }
@media (prefers-reduced-motion: reduce){
  .ink-mark__line path{ stroke-dashoffset:0; transition:none; }
}
.hero__sub{ font-size:var(--t-lg); color:var(--ink-2); margin:24px 0 32px; max-width:54ch; }
.hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero__trust{ display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:36px; color:var(--ink-3); font-size:var(--t-sm); align-items:center; }
.hero__trust strong{ color:var(--ink); }
.hero__trust .dot{ color:var(--line); }
.hero__media{ position:relative; aspect-ratio:5/4; }
.hero__media img{ width:100%; height:100%; object-fit:cover; border-radius:var(--r-lg); box-shadow:var(--shadow-lg); }
.hero__ring{ position:absolute; inset:-8% -8% auto auto; width:62%; aspect-ratio:1; pointer-events:none; opacity:.5; animation:spin 60s linear infinite; }
.hero__ring circle{ fill:none; stroke:var(--red); stroke-width:1; stroke-dasharray:2 8; }
@keyframes spin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .hero__ring{ animation:none; } }
.hero__counter{ position:absolute; left:-28px; bottom:32px; background:#fff; box-shadow:var(--shadow-lg); border-radius:var(--r-md); padding:16px 20px; border:1px solid var(--line); }
.hero__counter small{ display:block; color:var(--ink-3); font-size:var(--t-xs); text-transform:uppercase; letter-spacing:.1em; }
.hero__counter strong{ font-family:'Manrope'; font-weight:800; font-size:var(--t-2xl); color:var(--red); display:block; }

@media (max-width:900px){
  .hero__grid{ grid-template-columns:1fr; gap:40px; }
  .hero__counter{ left:16px; bottom:16px; padding:12px 16px; }
}

/* ---------- client logo strip ---------- */
.clients{ padding-block:48px; background:var(--bg-2); border-block:1px solid var(--line); }
.clients__lede{ text-align:center; color:var(--ink-3); font-size:var(--t-sm); text-transform:uppercase; letter-spacing:.14em; font-weight:600; margin-bottom:24px; }
.clients__row{ display:grid; grid-template-columns:repeat(6, 1fr); gap:32px; align-items:center; }
.clients__row span{ text-align:center; font-family:'Manrope'; font-weight:700; color:var(--ink-3); opacity:.7; letter-spacing:.04em; font-size:var(--t-sm); }
@media (max-width:900px){ .clients__row{ grid-template-columns:repeat(3, 1fr); gap:24px; } }
@media (max-width:480px){ .clients__row{ grid-template-columns:repeat(2, 1fr); } }

/* ---------- prop cards ---------- */
.prop{ padding:32px; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); transition:transform .2s var(--ease), box-shadow .2s; height:100%; }
.prop:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.prop__icon{ width:48px; height:48px; border-radius:12px; background:var(--red-soft); color:var(--red); display:grid; place-items:center; margin-bottom:20px; }
.prop__icon svg{ width:26px; height:26px; }
.prop h3{ font-size:var(--t-lg); margin-bottom:10px; }
.prop p{ margin:0; }
.prop__more{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:600; }
.prop__more::after{ content:"→"; transition:transform .2s; }
.prop__more:hover::after{ transform:translateX(3px); }

/* ---------- quote teaser ---------- */
.quote-teaser{ background:linear-gradient(135deg, var(--red-soft) 0%, #fff5f6 100%); }
.quote-teaser__inner{ display:grid; grid-template-columns:1fr 1.2fr; gap:48px; align-items:center; }
.quote-teaser h2{ font-size:var(--t-2xl); }
.quote-teaser form{ display:grid; grid-template-columns:1fr 1fr auto; gap:12px; background:#fff; padding:16px; border-radius:var(--r-lg); box-shadow:var(--shadow-md); border:1px solid var(--line); }
.quote-teaser .input{ border:1.5px solid transparent; background:var(--bg-2); }
.quote-teaser .input:focus{ background:#fff; }
@media (max-width:800px){
  .quote-teaser__inner{ grid-template-columns:1fr; gap:24px; }
  .quote-teaser form{ grid-template-columns:1fr; }
}

/* ---------- how it works ---------- */
.how__grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; counter-reset:step; position:relative; }
.how__step{ position:relative; padding-top:64px; }
.how__step::before{
  counter-increment:step; content:counter(step);
  width:48px; height:48px; border-radius:50%; background:var(--red); color:#fff;
  display:grid; place-items:center; font-family:'Manrope'; font-weight:800; font-size:var(--t-lg);
  position:absolute; top:0; left:0;
}
.how__step h3{ font-size:var(--t-lg); margin-bottom:8px; }
.how__step p{ font-size:var(--t-sm); }
.how__line{ position:absolute; top:24px; left:48px; right:48px; height:2px; background:linear-gradient(to right, var(--red) var(--p,0%), var(--line) var(--p,0%)); z-index:-1; }
@media (max-width:800px){ .how__grid{ grid-template-columns:1fr 1fr; } .how__line{ display:none; } }
@media (max-width:480px){ .how__grid{ grid-template-columns:1fr; } }

/* ---------- drivers rail ---------- */
.drivers{ overflow-x:clip; }
.drivers__head{ display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:32px; flex-wrap:wrap; }
.drivers__rail{ display:grid; grid-template-columns:repeat(5, 1fr); gap:20px; }
@media (max-width:1024px){
  .drivers__rail{ display:flex; gap:20px; overflow-x:auto; padding-bottom:16px; scroll-snap-type:x mandatory; margin-inline:calc(-1 * clamp(20px,4vw,40px)); padding-inline:clamp(20px,4vw,40px); }
  .driver-card{ flex:0 0 240px; scroll-snap-align:start; }
}
.driver-card{ display:flex; flex-direction:column; gap:14px; }
.driver-card__img{ aspect-ratio:1; border-radius:var(--r-lg); overflow:hidden; background:var(--bg-2); }
.driver-card__img img{ width:100%; height:100%; object-fit:cover; }
.driver-card h4{ margin:0; font-size:var(--t-base); }
.driver-card__meta{ color:var(--ink-3); font-size:var(--t-xs); }
.driver-card blockquote{ margin:0; font-size:var(--t-sm); color:var(--ink-2); font-style:italic; line-height:1.5; }
.driver-card blockquote::before{ content:"\201C"; color:var(--red); font-size:1.5em; line-height:.5; vertical-align:-.2em; margin-right:2px; }

/* ---------- stars + reviews ---------- */
.stars{
  --star-h:18px;
  --star-w:96px;
  display:inline-block;
  height:var(--star-h);
  width:var(--star-w);
  overflow:hidden;
  vertical-align:middle;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 18'><g fill='%23f5b400'><polygon points='9,1 11.2,6.6 17.4,7 12.6,11 14,17 9,13.7 4,17 5.4,11 .6,7 6.8,6.6'/><polygon points='28,1 30.2,6.6 36.4,7 31.6,11 33,17 28,13.7 23,17 24.4,11 19.6,7 25.8,6.6'/><polygon points='47,1 49.2,6.6 55.4,7 50.6,11 52,17 47,13.7 42,17 43.4,11 38.6,7 44.8,6.6'/><polygon points='66,1 68.2,6.6 74.4,7 69.6,11 71,17 66,13.7 61,17 62.4,11 57.6,7 63.8,6.6'/><polygon points='85,1 87.2,6.6 93.4,7 88.6,11 90,17 85,13.7 80,17 81.4,11 76.6,7 82.8,6.6'/></g></svg>");
  background-repeat:no-repeat;
  background-size:var(--star-w) var(--star-h);
}
.stars--1{ width:calc(var(--star-w) * 1 / 5); }
.stars--2{ width:calc(var(--star-w) * 2 / 5); }
.stars--3{ width:calc(var(--star-w) * 3 / 5); }
.stars--4{ width:calc(var(--star-w) * 4 / 5); }

.review{ background:#fff; border:1px solid var(--line); border-radius:var(--r-md); padding:24px; display:flex; flex-direction:column; gap:14px; box-shadow:var(--shadow-sm); transition:transform .2s var(--ease), box-shadow .2s; }
.review:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.review__head{ display:flex; align-items:center; justify-content:space-between; }
.review__date{ color:var(--ink-3); font-size:var(--t-sm); }
.review__title{ font-size:var(--t-lg); margin:0; }
.review__body{ color:var(--ink-2); margin:0; font-size:var(--t-sm); line-height:1.6; }
.review__foot{ display:flex; align-items:center; gap:12px; padding-top:12px; border-top:1px solid var(--line); margin-top:auto; }
.review__avatar{ width:40px; height:40px; border-radius:50%; color:var(--red-dark); display:grid; place-items:center; font-weight:700; font-size:var(--t-sm); flex:0 0 40px; }
.review__author{ display:flex; flex-direction:column; line-height:1.3; }
.review__author strong{ font-size:var(--t-sm); }
.review__verified{ color:var(--good); font-size:var(--t-xs); display:inline-flex; align-items:center; gap:4px; }
.review__verified::before{ content:"✓"; font-weight:700; }

/* aggregate card on /reviews */
.review-agg{ background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:32px; box-shadow:var(--shadow-sm); display:grid; grid-template-columns:auto 1fr; gap:40px; align-items:center; }
.review-agg__score{ text-align:center; }
.review-agg__score .num{ font-family:'Manrope'; font-weight:800; font-size:4rem; color:var(--ink); line-height:1; }
.review-agg__score .lbl{ font-weight:700; color:var(--good); font-size:var(--t-lg); margin-top:6px; }
.review-agg__score .count{ color:var(--ink-3); font-size:var(--t-sm); margin-top:4px; }
.review-agg__score .stars{ --star-h:24px; --star-w:128px; margin:8px auto 0; }
.review-agg__bars{ display:flex; flex-direction:column; gap:8px; }
.review-agg__bar{ display:grid; grid-template-columns:80px 1fr 50px; gap:12px; align-items:center; font-size:var(--t-sm); color:var(--ink-3); }
.review-agg__bar .fill{ height:8px; background:var(--line); border-radius:4px; overflow:hidden; }
.review-agg__bar .fill > span{ display:block; height:100%; background:var(--gold); }
@media (max-width:700px){ .review-agg{ grid-template-columns:1fr; gap:24px; } }

.review-filters{ display:flex; gap:8px; flex-wrap:wrap; margin:32px 0 24px; }
.review-filters button{ background:transparent; border:1.5px solid var(--line); border-radius:var(--r-pill); padding:8px 16px; font:500 var(--t-sm) 'Inter'; color:var(--ink-2); cursor:pointer; transition:.15s; }
.review-filters button:hover{ border-color:var(--ink-3); }
.review-filters button.is-active{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* ---------- stats band ---------- */
.stats{ background:linear-gradient(135deg, #0e1116 0%, #1a1d24 100%); position:relative; overflow:hidden; }
.stats::after{ content:""; position:absolute; inset:0; background:radial-gradient(ellipse at top right, rgba(190,30,45,.18), transparent 60%); pointer-events:none; }
.stats__grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:32px; position:relative; }
.stat__num{ font-family:'Manrope'; font-weight:800; font-size:clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); color:#fff; line-height:1; }
.stat__num em{ font-style:normal; color:var(--red); }
.stat__label{ color:#cfd4dc; margin-top:8px; font-size:var(--t-sm); }
@media (max-width:800px){ .stats__grid{ grid-template-columns:1fr 1fr; gap:40px; } }

/* ---------- FAQ ---------- */
.faq{ max-width:780px; margin:0 auto; }
.faq details{ border-bottom:1px solid var(--line); padding:20px 0; }
.faq details[open]{ }
.faq summary{ display:flex; justify-content:space-between; align-items:center; gap:24px; cursor:pointer; list-style:none; font-family:'Manrope'; font-weight:700; font-size:var(--t-lg); color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; flex:0 0 auto; width:32px; height:32px; border-radius:50%; background:var(--bg-2); color:var(--red); display:grid; place-items:center; font-size:1.2em; transition:.2s; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ margin:14px 0 0; color:var(--ink-2); }

/* ---------- CTA band (footer-adjacent) ---------- */
.cta-band{ background:var(--bg-3); color:#fff; padding-block:clamp(56px,8vw,96px); position:relative; overflow:hidden; }
.cta-band::after{ content:""; position:absolute; inset:auto -10% -40% auto; width:60%; aspect-ratio:1; background:radial-gradient(circle, var(--red) 0%, transparent 60%); opacity:.18; pointer-events:none; }
.cta-band h2{ color:#fff; font-size:var(--t-2xl); margin:0; }
.cta-band__inner{ display:grid; grid-template-columns:1.4fr 1fr; gap:32px; align-items:center; position:relative; }
.cta-band__sub{ color:#cfd4dc; margin:8px 0 0; max-width:48ch; }
.cta-band__actions{ display:flex; gap:12px; justify-content:flex-end; flex-wrap:wrap; }
@media (max-width:800px){
  .cta-band__inner{ grid-template-columns:1fr; }
  .cta-band__actions{ justify-content:flex-start; }
}

/* ---------- footer ---------- */
.site-footer{ background:#08090c; color:#cfd4dc; padding-top:80px; }
.site-footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:48px; padding-bottom:48px; border-bottom:1px solid #21252d; }
.site-footer__brand p{ color:#cfd4dc; margin-top:24px; max-width:36ch; }
.rating-pill{ display:inline-flex; align-items:center; gap:8px; background:#21252d; padding:8px 14px; border-radius:var(--r-pill); margin-top:16px; color:#fff; font-size:var(--t-sm); }
.site-footer h4{ color:#fff; font-size:var(--t-base); margin-bottom:16px; }
.site-footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.site-footer a{ color:#cfd4dc; }
.site-footer a:hover{ color:#fff; }
.site-footer__legal{ display:flex; justify-content:space-between; align-items:center; padding-block:24px; color:#5b6471; font-size:var(--t-sm); flex-wrap:wrap; gap:12px; }
.site-footer__legal ul{ flex-direction:row; gap:24px; }
@media (max-width:900px){ .site-footer__grid{ grid-template-columns:1fr 1fr; gap:40px; } }
@media (max-width:560px){ .site-footer__grid{ grid-template-columns:1fr; gap:32px; padding-bottom:32px; } .site-footer{ padding-top:48px; } }

/* ---------- page hero (non-home) ---------- */
.page-hero{ padding-block:clamp(72px,8vw,120px); background:var(--bg-2); border-bottom:1px solid var(--line); }
.page-hero__grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:48px; align-items:center; }
.page-hero__grid--single{ grid-template-columns:1fr; max-width:840px; }
.page-hero h1{ font-size:var(--t-3xl); }
.page-hero p.lede{ font-size:var(--t-lg); color:var(--ink-2); max-width:54ch; }
.page-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:28px; }
#quoteFormStart{ scroll-margin-top:100px; }
.page-hero__media{ aspect-ratio:4/5; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-md); }
.page-hero__media img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:900px){ .page-hero__grid{ grid-template-columns:1fr; gap:32px; } }

/* ---------- feature block (image-left / image-right) ---------- */
.feature{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.feature--reverse{ direction:rtl; }
.feature--reverse > *{ direction:ltr; }
.feature__media{ aspect-ratio:4/3; border-radius:var(--r-lg); overflow:hidden; background:var(--bg-2); }
.feature__media img{ width:100%; height:100%; object-fit:cover; }
.feature ul{ margin:16px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:10px; }
.feature ul li{ padding-left:28px; position:relative; }
.feature ul li::before{ content:""; position:absolute; left:0; top:6px; width:18px; height:18px; border-radius:50%; background:var(--red-soft); }
.feature ul li::after{ content:""; position:absolute; left:5px; top:11px; width:8px; height:4px; border-left:2px solid var(--red); border-bottom:2px solid var(--red); transform:rotate(-45deg); }
@media (max-width:900px){ .feature{ grid-template-columns:1fr; gap:32px; } }

/* ---------- quote calculator page ---------- */
.quote-app{ display:grid; grid-template-columns:1.4fr 1fr; gap:48px; align-items:start; }
@media (max-width:900px){ .quote-app{ grid-template-columns:1fr; } }
.quote-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:32px; box-shadow:var(--shadow-sm); }
.quote-card h2{ font-size:var(--t-xl); margin-bottom:6px; }
.quote-card .step-label{ color:var(--red); font-weight:600; font-size:var(--t-sm); text-transform:uppercase; letter-spacing:.1em; margin-bottom:4px; }
.quote-form .field + .field{ margin-top:16px; }
.quote-form .field--row{ margin-top:16px; align-items:end; }
.quote-form .field--row > .field + .field{ margin-top:0; }
.quote-form .field--row > .field{ min-width:0; }
.quote-actions{ margin-top:24px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.estimate-output{ display:flex; align-items:baseline; gap:12px; padding:16px 20px; background:var(--red-soft); border-radius:var(--r-md); flex:1; min-width:200px; }
.estimate-output__price{ font-family:'Manrope'; font-weight:800; font-size:var(--t-2xl); color:var(--red); }
.estimate-output__meta{ color:var(--ink-3); font-size:var(--t-xs); }
.estimate-output.is-empty{ background:var(--bg-2); }
.estimate-output.is-empty .estimate-output__price{ color:var(--ink-3); }
.estimate-output.is-error{ background:#fde6e6; }
.estimate-output.is-error .estimate-output__price{ color:#a3201d; font-size:var(--t-lg); }

/* vehicle-type toggles (heavy / EV) */
.vehicle-opts{ border:0; padding:0; margin:0; }
.vehicle-opts .label .muted{ color:var(--ink-3); }
.opt-toggles{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:520px){ .opt-toggles{ grid-template-columns:1fr; } }
.opt-toggle{ position:relative; display:flex; align-items:center; gap:14px; padding:14px 44px 14px 16px; border:1.5px solid var(--line); border-radius:var(--r-md); cursor:pointer; background:#fff; transition:border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease); user-select:none; }
.opt-toggle:hover{ border-color:#c9ced6; box-shadow:var(--shadow-sm); }
.opt-toggle input{ position:absolute; opacity:0; pointer-events:none; width:1px; height:1px; }
.opt-toggle__icon{ flex:none; width:38px; height:38px; border-radius:10px; display:grid; place-items:center; background:var(--bg-2); color:var(--ink-2); transition:.15s var(--ease); }
.opt-toggle__body{ display:flex; flex-direction:column; gap:2px; line-height:1.3; min-width:0; }
.opt-toggle__title{ font-weight:600; color:var(--ink); font-size:var(--t-sm); }
.opt-toggle__meta{ color:var(--ink-3); font-size:var(--t-xs); }
.opt-toggle__check{ position:absolute; top:50%; right:14px; transform:translateY(-50%) scale(.6); width:22px; height:22px; border-radius:999px; display:grid; place-items:center; background:var(--red); color:#fff; opacity:0; transition:.18s var(--ease); }
.opt-toggle:focus-within{ outline:2px solid var(--red); outline-offset:2px; }
.opt-toggle:has(input:checked){ border-color:var(--red); background:var(--red-soft); }
.opt-toggle:has(input:checked) .opt-toggle__icon{ background:#fff; color:var(--red); }
.opt-toggle:has(input:checked) .opt-toggle__title{ color:var(--red-dark); }
.opt-toggle:has(input:checked) .opt-toggle__check{ opacity:1; transform:translateY(-50%) scale(1); }

.step-2{ margin-top:24px; overflow:hidden; max-height:0; opacity:0; transition:.45s var(--ease); }
.step-2.is-open{ max-height:2400px; opacity:1; }
.substeps{ display:flex; gap:8px; margin-bottom:24px; }
.substep-dot{ flex:1; height:6px; border-radius:3px; background:var(--line); transition:.2s; }
.substep-dot.is-done{ background:var(--good); }
.substep-dot.is-current{ background:var(--red); }
.substep{ display:none; }
.substep.is-active{ display:block; }
.substep-nav{ display:flex; gap:12px; margin-top:24px; align-items:center; }
.substep-nav .btn--back{ background:transparent; color:var(--ink-3); border-color:transparent; padding-left:0; padding-right:0; }
.substep-nav .btn--back:hover{ background:transparent; color:var(--ink); border-color:transparent; }
.substep-nav .spacer{ flex:1; }

.summary-card{ background:var(--bg-2); border:1px solid var(--line); border-radius:var(--r-md); padding:20px; margin-bottom:16px; }
.summary-row{ display:flex; justify-content:space-between; padding:8px 0; font-size:var(--t-sm); }
.summary-row + .summary-row{ border-top:1px solid var(--line); }
.summary-row strong{ color:var(--ink); font-weight:600; }

.price-aside{ position:sticky; top:120px; }
.price-aside h3{ font-size:var(--t-lg); margin-bottom:8px; }
.price-aside .price-big{ font-family:'Manrope'; font-weight:800; font-size:var(--t-3xl); color:var(--red); line-height:1; }
.price-aside .price-meta{ color:var(--ink-3); font-size:var(--t-sm); margin-top:8px; }
.price-aside ul{ list-style:none; padding:0; margin:24px 0 0; display:flex; flex-direction:column; gap:10px; font-size:var(--t-sm); color:var(--ink-2); }
.price-aside ul li{ padding-left:24px; position:relative; }
.price-aside ul li::before{ content:"✓"; position:absolute; left:0; color:var(--good); font-weight:700; }

/* ---------- coverage / map ---------- */
.uk-map{ width:100%; max-width:520px; margin:0 auto; }
.uk-map path.land{ fill:var(--bg-2); stroke:var(--line); stroke-width:1; }
.uk-map path.route{ fill:none; stroke:var(--red); stroke-width:1.5; stroke-linecap:round; stroke-dasharray:1000; stroke-dashoffset:1000; transition:stroke-dashoffset 1.4s var(--ease); opacity:.7; }
.uk-map.is-in path.route{ stroke-dashoffset:0; }
.uk-map .city{ fill:var(--ink); }
.uk-map .city--hq{ fill:var(--red); }
.uk-map text{ font:600 11px/1 'Inter'; fill:var(--ink-2); }

.drive-times{ display:grid; grid-template-columns:repeat(2, 1fr); gap:12px 32px; max-width:640px; margin:0 auto; }
.drive-times__row{ display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px dashed var(--line); }
.drive-times__row strong{ color:var(--ink); }
.drive-times__row span{ color:var(--ink-3); font-variant-numeric:tabular-nums; }
@media (max-width:640px){ .drive-times{ grid-template-columns:1fr; } }

.areas-list{ columns:3; column-gap:32px; color:var(--ink-2); font-size:var(--t-sm); }
.areas-list li{ break-inside:avoid; padding:4px 0; }
@media (max-width:800px){ .areas-list{ columns:2; } }
@media (max-width:480px){ .areas-list{ columns:1; } }

/* ---------- thank-you ---------- */
.thank-you{ max-width:640px; margin:0 auto; text-align:center; }
.thank-you__icon{ width:80px; height:80px; border-radius:50%; background:#e7f6ed; color:var(--good); display:grid; place-items:center; margin:0 auto 24px; }
.thank-you__icon svg{ width:44px; height:44px; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.2fr; gap:48px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-info{ display:flex; flex-direction:column; gap:24px; }
.contact-info__row{ display:flex; gap:14px; align-items:flex-start; }
.contact-info__row .icon{ flex:0 0 40px; width:40px; height:40px; border-radius:10px; background:var(--red-soft); color:var(--red); display:grid; place-items:center; }
.contact-info__row .icon svg{ width:20px; height:20px; }
.contact-info__row h4{ margin:0; font-size:var(--t-base); }
.contact-info__row p{ margin:4px 0 0; font-size:var(--t-sm); }
.contact-map{ aspect-ratio:1; border:0; border-radius:var(--r-lg); width:100%; margin-top:8px; }

/* ---------- mobile nav body lock ---------- */
body.no-scroll{ overflow:hidden; }

/* ---------- scroll progress indicator ---------- */
.scroll-progress{
  position:absolute; left:0; right:0; bottom:-1px; height:2px; pointer-events:none;
  background:transparent;
  opacity:0; visibility:hidden;
  transition:opacity .35s ease, visibility 0s linear .35s;
}
.scroll-progress.is-visible{
  opacity:1; visibility:visible;
  transition:opacity .35s ease, visibility 0s linear 0s;
}
.scroll-progress__line{
  position:absolute; left:0; top:0; height:100%; width:0; background:var(--red);
  transition:width .12s linear; border-radius:0 2px 2px 0;
}
.scroll-progress__car{
  position:absolute; top:50%; left:0; transform:translate(-50%, -50%) scaleX(-1);
  color:var(--red); pointer-events:none; display:block;
  transition:left .12s linear;
}
.scroll-progress__car svg{ width:26px; height:14px; display:block; filter:drop-shadow(0 1px 1px rgba(0,0,0,.15)); }

/* ---------- mobile nav with icons ---------- */
.nav-mobile-cta{ display:none; }
@media (max-width: 880px){
  .nav.is-open{ box-shadow:var(--shadow-lg); }
  .nav__list{ padding:8px; }
  .nav__list li{ border-bottom:1px solid var(--bg-2); }
  .nav__list li:last-child{ border-bottom:0; }
  .nav__list a{ display:flex; align-items:center; gap:14px; padding:18px 16px; font-size:var(--t-lg); font-weight:600; border-radius:12px; transition:.15s; }
  .nav__list a:hover, .nav__list a.is-active{ background:var(--red-soft); color:var(--red-dark); }
  .nav__list a .nav-icon{
    display:grid; place-items:center; width:40px; height:40px; flex:0 0 40px;
    border-radius:10px; background:var(--bg-2); color:var(--red); transition:.15s;
  }
  .nav__list a .nav-icon svg{ width:20px; height:20px; }
  .nav__list a:hover .nav-icon, .nav__list a.is-active .nav-icon{ background:#fff; }
  .nav__list a .nav-arrow{ display:block; margin-left:auto; color:var(--ink-3); opacity:.5; transition:.2s; }
  .nav__list a:hover .nav-arrow, .nav__list a.is-active .nav-arrow{ opacity:1; color:var(--red); transform:translateX(4px); }
  .nav-mobile-cta{ display:block; padding:16px; border-top:1px solid var(--line); margin-top:8px; }
  .nav-mobile-cta .btn{ width:100%; padding:18px; font-size:var(--t-lg); }
  .nav-mobile-call{ display:flex; gap:12px; margin-top:12px; }
  .nav-mobile-call a{ flex:1; padding:14px; text-align:center; border:1.5px solid var(--line); border-radius:var(--r-pill); color:var(--ink); font-weight:600; font-size:var(--t-sm); display:flex; align-items:center; justify-content:center; gap:8px; }
  .nav-mobile-call a:hover{ background:var(--bg-2); }
}

/* ---------- prominent "trusted by" line ---------- */
.trusted-line{
  padding:48px 0;
  background:var(--bg-2);
  border-block:1px solid var(--line);
  text-align:center;
}
.trusted-line__inner{
  display:inline-flex; flex-direction:column; align-items:center; gap:14px;
}
.trusted-line__pre{
  font:600 var(--t-sm)/1 'Inter';
  text-transform:uppercase; letter-spacing:.16em; color:var(--ink-3);
}
.trusted-line__main{
  font-family:'Manrope', system-ui, sans-serif;
  font-weight:700; font-size:var(--t-xl);
  color:var(--ink); line-height:1.2;
  max-width:48ch;
}
.trusted-line__main em{ font-style:normal; color:var(--red); }
.trusted-line__sub{ color:var(--ink-3); font-size:var(--t-sm); }

/* ---------- partner pricing notice pills ---------- */
.partner-pill{
  display:flex; gap:16px; align-items:flex-start;
  background:#fff8db; border:1px solid #f0d97e; color:#604c00;
  padding:18px 22px; border-radius:var(--r-md);
  font-size:var(--t-sm); line-height:1.5;
}
.partner-pill .icon{
  flex:0 0 24px; width:24px; height:24px; border-radius:50%;
  background:#f5b400; color:#fff; display:grid; place-items:center;
  font-weight:800; font-size:14px; font-family:'Manrope';
}
.partner-pill strong{ color:#3d2f00; }
.partner-pill a{ color:#8c6500; font-weight:600; border-bottom:1px solid currentColor; }
.partner-pill a:hover{ color:#604c00; }

/* ---------- continuous reviews marquee ---------- */
.marquee{
  padding:24px 0 32px;
  background:#fff;
  border-block:1px solid var(--line);
  overflow-x:clip;
  overflow-y:visible;
  position:relative;
}
.marquee::before, .marquee::after{
  content:""; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none;
}
.marquee::before{ left:0;  background:linear-gradient(to right, #fff, transparent); }
.marquee::after{  right:0; background:linear-gradient(to left,  #fff, transparent); }
.marquee__track{
  display:flex; gap:24px; width:max-content;
  animation:marquee 90s linear infinite;
}
.marquee__card{
  flex:0 0 360px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:18px 20px;
  display:flex; flex-direction:column; gap:8px;
  box-shadow:var(--shadow-sm);
}
.marquee__head{ display:flex; align-items:center; gap:10px; }
.marquee__head time{ color:var(--ink-3); font-size:var(--t-xs); margin-left:auto; }
.marquee__title{ font-family:'Manrope'; font-weight:700; font-size:var(--t-sm); margin:0; color:var(--ink); }
.marquee__body{ color:var(--ink-2); font-size:var(--t-xs); line-height:1.5; margin:0;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.marquee__foot{ display:flex; align-items:center; gap:8px; padding-top:8px; border-top:1px solid var(--line); margin-top:auto; }
.marquee__avatar{ width:24px; height:24px; border-radius:50%; background:var(--red-soft); color:var(--red-dark); display:grid; place-items:center; font-weight:700; font-size:11px; font-family:'Manrope'; }
.marquee__name{ font-size:var(--t-xs); font-weight:600; color:var(--ink); }
.marquee__verified{ margin-left:auto; color:var(--good); font-size:11px; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee__track{ animation:none; } }

/* ---------- leadership card (MD / Ops Director placeholder) ---------- */
.leader-card{
  display:flex; gap:20px; align-items:center;
  padding:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  transition:transform .2s var(--ease), box-shadow .2s;
}
.leader-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.leader-card__avatar{
  flex:0 0 88px; width:88px; height:88px; border-radius:50%;
  background:linear-gradient(135deg, var(--red-soft), #f7d8dd);
  color:var(--red); display:grid; place-items:center;
}
.leader-card__avatar svg{ width:48px; height:48px; }
.leader-card h3{ font-size:var(--t-lg); margin:0 0 4px; }
.leader-card .role{ color:var(--red); font-weight:600; font-size:var(--t-sm); }
.leader-card p{ margin:6px 0 0; font-size:var(--t-sm); color:var(--ink-2); line-height:1.5; }

.team-strength{
  background:linear-gradient(135deg, var(--red-soft) 0%, #fdf1f3 100%);
  border-radius:var(--r-lg);
  padding:32px 40px;
  display:flex; align-items:center; gap:32px;
  margin-top:32px;
}
.team-strength__num{
  font-family:'Manrope'; font-weight:800;
  font-size:clamp(2.6rem, 1.8rem + 2.4vw, 3.4rem);
  color:var(--red); line-height:1;
}
.team-strength__copy h3{ margin:0 0 4px; font-size:var(--t-lg); }
.team-strength__copy p{ margin:0; color:var(--ink-2); }
@media (max-width:640px){
  .team-strength{ padding:24px; gap:20px; }
}

/* ---------- review form (leave a review) ---------- */
.review-form{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:32px;
  box-shadow:var(--shadow-sm);
  max-width:680px;
  margin:0 auto;
}
.review-form h2{ margin-bottom:8px; }
.review-form .field + .field{ margin-top:16px; }
.review-form .field--row{ margin-top:16px; align-items:end; }
.review-form .field--row > .field + .field{ margin-top:0; }
.review-form .field--row > .field{ min-width:0; }
.review-form .field--row > .field > label{ min-height:20px; line-height:1.4; }

/* Star rating input */
.star-input{ display:inline-flex; gap:4px; padding:6px; border-radius:8px; transition:box-shadow .15s, background-color .15s; }
.star-input.is-error{ background:#fde6e6; box-shadow:0 0 0 2px #d72c2c inset; }
.star-input button{
  background:none; border:0; padding:4px; cursor:pointer;
  color:var(--line); transition:color .15s, transform .15s;
}
.star-input button:hover{ transform:scale(1.15); }
.star-input button.is-on,
.star-input button.is-on ~ button:not(.is-on){
  /* no-op; we toggle is-on imperatively */
}
.star-input button.is-on{ color:var(--gold); }
.star-input button svg{ width:32px; height:32px; }

/* "Thanks pending" success state */
.review-form.is-sent{ background:#eef9f1; border-color:#a8d8b9; }
.review-form.is-sent .review-form__success{ display:block; }
.review-form.is-sent .review-form__inner{ display:none; }
.review-form__success{ display:none; text-align:center; padding:20px 0; }
.review-form__success svg{ width:64px; height:64px; color:var(--good); margin:0 auto 12px; }
.review-form__success h3{ font-size:var(--t-xl); color:var(--good); }

/* ---------- footer mobile padding fix ---------- */
@media (max-width:640px){
  .site-footer{ padding-top:64px; }
  .site-footer__grid{ padding-bottom:48px; gap:40px; }
  .site-footer__legal{ padding-block:24px 32px; }
  .cta-band{ padding-block:64px; }
  .cta-band__inner{ gap:24px; }
}

/* ---------- prevent the home drivers rail underflow on mobile ---------- */
.drivers__rail-inner{ display:flex; gap:20px; }

/* ---------- h1/h2 auto-reveal ---------- */
h1, h2, .auto-reveal{
  opacity:0; transform:translateY(20px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
h1.is-in, h2.is-in, .auto-reveal.is-in{
  opacity:1; transform:none;
}
@media (prefers-reduced-motion: reduce){
  h1, h2, .auto-reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- review rating filter visibility ---------- */
.review.is-filtered-out{ display:none; }

/* =========================================================================
   CHATBOT — dummy bubble + panel
   Ported from barriersandgatesdirect.co.uk and themed to Redtree.
   ========================================================================= */
.chatbot{ position:fixed; bottom:1.5rem; right:1.5rem; z-index:1400; font-family:'Inter', system-ui, -apple-system, sans-serif; }

.chatbot__trigger{
  width:56px; height:56px; border-radius:50%;
  background:var(--red); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lg); cursor:pointer;
  transition:transform .2s var(--ease), background .2s ease;
}
.chatbot__trigger:hover{ transform:scale(1.08); background:var(--red-dark); }
.chatbot__trigger svg{ width:26px; height:26px; }

/* Subtle "live" throb — gentle scale on the button plus an expanding glow
   rendered via box-shadow (no overlay, so the icon stays fully visible).
   Pauses on hover and while the panel is open. */
.chatbot__trigger{
  position:relative;
  animation:chatbotThrob 2.6s var(--ease) infinite;
}
.chatbot__trigger::after{
  content:''; position:absolute; inset:0; border-radius:50%;
  pointer-events:none;
  box-shadow:0 0 0 0 rgba(190,30,45,.55);
  animation:chatbotPulseGlow 2.6s var(--ease) infinite;
}
.chatbot__trigger:hover,
.chatbot:has(.chatbot__panel.is-open) .chatbot__trigger{ animation:none; }
.chatbot:has(.chatbot__panel.is-open) .chatbot__trigger::after{ animation:none; box-shadow:none; }

@keyframes chatbotThrob{
  0%, 100%{ transform:scale(1); }
  50%     { transform:scale(1.05); }
}
@keyframes chatbotPulseGlow{
  0%   { box-shadow:0 0 0 0    rgba(190,30,45,.55); }
  70%  { box-shadow:0 0 0 18px rgba(190,30,45,0); }
  100% { box-shadow:0 0 0 0    rgba(190,30,45,0); }
}
@media (prefers-reduced-motion: reduce){
  .chatbot__trigger,
  .chatbot__trigger::after{ animation:none !important; }
}

.chatbot__panel{
  position:absolute; bottom:68px; right:0;
  width:370px; max-height:520px;
  background:#fff; border-radius:var(--r-lg);
  box-shadow:0 12px 48px rgba(14,17,22,.22);
  display:flex; flex-direction:column; overflow:hidden;
  transform:scale(.9) translateY(12px); opacity:0; visibility:hidden;
  transform-origin:bottom right;
  transition:transform .25s var(--ease), opacity .25s var(--ease), visibility .25s var(--ease);
}
.chatbot__panel.is-open{ transform:scale(1) translateY(0); opacity:1; visibility:visible; }

.chatbot__header{
  background:var(--ink); color:#fff;
  padding:1rem 1.25rem;
  display:flex; align-items:center; justify-content:space-between;
  flex-shrink:0;
}
.chatbot__header-info{ display:flex; align-items:center; gap:.75rem; }
.chatbot__avatar{
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; flex-shrink:0;
}
.chatbot__name{ font-family:'Manrope', system-ui, sans-serif; font-weight:800; font-size:.95rem; color:#fff; letter-spacing:-.01em; }
.chatbot__status{ font-size:.72rem; opacity:.7; color:#cfd4dc; }

.chatbot__close{
  background:none; border:none; color:#fff; font-size:1.5rem; line-height:1;
  cursor:pointer; padding:0 .25rem; opacity:.7; transition:opacity .2s;
}
.chatbot__close:hover{ opacity:1; }

.chatbot__messages{
  flex:1; overflow-y:auto;
  padding:1rem 1.25rem;
  display:flex; flex-direction:column; gap:.5rem;
  min-height:240px; max-height:320px;
  background:var(--bg-2);
}

.chatbot__msg{ display:flex; max-width:85%; }
.chatbot__msg--bot{ align-self:flex-start; }
.chatbot__msg--user{ align-self:flex-end; }

.chatbot__msg-text{
  padding:.55rem .9rem;
  border-radius:var(--r-md);
  font-size:.88rem; line-height:1.5;
}
.chatbot__msg--bot .chatbot__msg-text{
  background:#fff; color:var(--ink);
  border-bottom-left-radius:4px;
  box-shadow:var(--shadow-sm);
}
.chatbot__msg--bot .chatbot__msg-text a{ color:var(--red); text-decoration:underline; }
.chatbot__msg--bot .chatbot__msg-text a:hover{ color:var(--red-dark); }
.chatbot__msg--user .chatbot__msg-text{
  background:var(--red); color:#fff;
  border-bottom-right-radius:4px;
}

.chatbot__msg--typing .chatbot__msg-text{ color:transparent; position:relative; min-width:38px; }
.chatbot__msg--typing .chatbot__msg-text::after{
  content:''; position:absolute; left:14px; top:50%; transform:translateY(-50%);
  width:4px; height:4px; border-radius:50%;
  background:var(--ink-3);
  animation:chatbotDots 1.2s infinite;
  box-shadow:8px 0 0 var(--ink-3), 16px 0 0 var(--ink-3);
}
@keyframes chatbotDots{
  0%, 60%, 100%{ opacity:.3; }
  30%{ opacity:1; }
}

.chatbot__quick-replies{
  padding:.4rem 1.25rem .7rem;
  display:flex; flex-wrap:wrap; gap:.35rem;
  background:var(--bg-2);
  border-top:1px solid var(--line);
}
.chatbot__quick-btn{
  background:#fff; border:1px solid var(--line);
  border-radius:var(--r-pill);
  padding:6px 12px; font-size:.75rem; font-weight:600;
  color:var(--ink); cursor:pointer;
  transition:all .2s var(--ease);
  font-family:inherit; white-space:nowrap;
}
.chatbot__quick-btn:hover{
  background:var(--red); color:#fff; border-color:var(--red);
}

.chatbot__input{
  display:flex; padding:.65rem 1rem; gap:.4rem;
  border-top:1px solid var(--line);
  background:#fff; flex-shrink:0;
}
.chatbot__input input{
  flex:1; border:1px solid var(--line);
  border-radius:var(--r-pill);
  padding:.45rem .9rem; font-size:.88rem;
  outline:none; font-family:inherit;
  background:var(--bg-2); color:var(--ink);
}
.chatbot__input input:focus{ border-color:var(--red); background:#fff; }

.chatbot__send{
  width:36px; height:36px; border-radius:50%;
  background:var(--red); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s ease;
  flex-shrink:0;
}
.chatbot__send:hover{ background:var(--red-dark); }
.chatbot__send svg{ width:16px; height:16px; }

@media (max-width:768px){
  .chatbot{ bottom:1rem; right:1rem; }
  .chatbot__panel{
    width:calc(100vw - 2rem);
    right:0; bottom:64px;
    max-height:70vh;
  }
}
