/* Escargo cinematic chrome for the static app shells (R2). Part 1 = shared glass header / 3D footer (business-site chrome.css); part 2 = the services layer (R1); part 3 = the shells layer. All classes cx-*; V3 markup is restyled only under body.cx-svc. */
/* Escargo cinematic chrome: glass header + 3D footer scene. One scoped stylesheet; every class is prefixed cx-.
   Used by every page of the new business site. Content stays real static HTML; only the footer art is an image (lazy, webp). */
.cx-nav{position:sticky;top:0;z-index:60;background:rgba(10,24,18,.55);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 10px 30px rgba(0,0,0,.18)}
.cx-nav .cx-in{max-width:1240px;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:26px;height:72px}
.cx-logo{display:block;line-height:0}
.cx-logo img{height:34px;width:auto;display:block;filter:brightness(0) invert(1)}
.cx-menu{display:flex;gap:26px;margin-left:auto;align-items:center}
.cx-menu a{font:500 12px/1 ui-monospace,'JetBrains Mono',Consolas,monospace;letter-spacing:.1em;text-transform:uppercase;color:#fff;opacity:.85;padding:10px 2px;text-decoration:none;border-bottom:2px solid transparent}
.cx-menu a:hover{opacity:1}
.cx-menu a[aria-current]{opacity:1;border-bottom-color:#BCF35A}
.cx-demo{display:flex;align-items:center;gap:10px;font:500 12px/1 ui-monospace,'JetBrains Mono',Consolas,monospace;letter-spacing:.1em;text-transform:uppercase;color:#fff;text-decoration:none;white-space:nowrap}
.cx-demo b{width:30px;height:30px;border-radius:9px;background:#BCF35A;color:#132A22;display:grid;place-items:center;transition:transform .2s;font-weight:700}
.cx-demo:hover b{transform:translateX(3px)}
.cx-burger{display:none;margin-left:auto;background:none;border:1px solid rgba(255,255,255,.4);color:#fff;border-radius:999px;padding:8px 14px;font:500 12px/1 ui-monospace,'JetBrains Mono',Consolas,monospace;letter-spacing:.1em;cursor:pointer}
.cx-nav a:focus-visible,.cx-burger:focus-visible,.cx-foot a:focus-visible{outline:2px solid #BCF35A;outline-offset:3px;border-radius:4px}
/* hidden on desktop; shown inside the open mobile menu */
.cx-menu .cx-mdemo{display:none}
@media(max-width:900px){
 .cx-nav .cx-in{padding:0 18px}
 .cx-burger{display:block}
 .cx-demo{display:none}
 .cx-menu{display:none;position:absolute;top:72px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:rgba(10,24,18,.96);padding:10px 20px 20px;margin:0;border-bottom:1px solid rgba(255,255,255,.1)}
 .cx-menu.open{display:flex}
 .cx-menu a{padding:14px 2px;border-bottom:1px solid rgba(255,255,255,.08)}
 .cx-menu.open .cx-mdemo{display:flex;color:#BCF35A;border-bottom:0}
}

/* 3D footer */
footer.cx-foot{position:relative;background:#050f0b;color:#9fb3a8;padding:0;border:0;overflow:hidden;isolation:isolate;font-size:.92rem}
.cx-scene{position:relative;width:100%;aspect-ratio:2000/848;max-height:560px;min-height:240px;background:#0a1912}
.cx-scene picture,.cx-scene .cx-bg{position:absolute;inset:0;width:100%;height:100%;display:block}
.cx-scene .cx-bg{object-fit:cover;object-position:50% 85%}
.cx-scene:before{content:"";position:absolute;left:0;right:0;top:0;height:42%;background:linear-gradient(#0C1D17 0%,rgba(12,29,23,0) 100%);z-index:2}
.cx-scene:after{content:"";position:absolute;left:0;right:0;bottom:0;height:48%;background:linear-gradient(rgba(5,15,11,0),#050f0b 94%);z-index:2}
.cx-pop{position:absolute;z-index:3;left:50%;top:5%;width:clamp(92px,13vw,200px);height:auto;aspect-ratio:720/785;transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 30px 24px rgba(0,0,0,.55)) drop-shadow(0 0 32px rgba(188,243,90,.28));animation:cxbob 7s ease-in-out infinite alternate}
@keyframes cxbob{to{transform:translateX(-50%) translateY(-10px) rotate(-1.5deg)}}
.cx-panel{position:relative;z-index:4;max-width:1240px;margin:clamp(-190px,-11vw,-70px) auto 0;padding:0 28px 34px}
.cx-glass{border:1px solid rgba(255,255,255,.14);border-radius:24px;background:rgba(8,22,16,.66);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:34px 34px 22px;box-shadow:0 30px 70px rgba(0,0,0,.4)}
.cx-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:28px}
.cx-brand img{height:38px;width:auto;display:block;filter:brightness(0) invert(1);margin-bottom:12px}
.cx-blurb{max-width:300px;margin:0}
.cx-foot h5{color:#fff;margin:0 0 10px;font:500 11px/1.2 ui-monospace,'JetBrains Mono',Consolas,monospace;letter-spacing:.12em;text-transform:uppercase}
footer.cx-foot .cx-col a{display:block;padding:5px 0;color:#9fb3a8;text-decoration:none}
footer.cx-foot .cx-col a:hover{color:#fff}
.cx-fine{margin-top:26px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:.82rem;display:flex;gap:16px;flex-wrap:wrap;justify-content:space-between}
footer.cx-foot .cx-fine a{display:inline;padding:0;color:#9fb3a8;text-decoration:none}
footer.cx-foot .cx-fine a:hover{color:#fff}
@media(max-width:900px){.cx-grid{grid-template-columns:1fr 1fr}.cx-panel{padding:0 16px 26px;margin-top:-60px}.cx-glass{padding:26px 22px 18px}.cx-scene{aspect-ratio:1000/424}}
@media(max-width:520px){.cx-grid{grid-template-columns:1fr}.cx-scene{aspect-ratio:4/3}.cx-scene .cx-bg{object-position:50% 70%}}
@media(prefers-reduced-motion:reduce){.cx-pop{animation:none}.cx-demo b{transition:none}}

/* Audience switch (For drivers / For businesses) shared by the business site and the consumer page */
.cx-sw{display:flex;gap:2px;padding:3px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.06);flex:none}
.cx-sw a{font:500 11px/1 ui-monospace,'JetBrains Mono',Consolas,monospace;letter-spacing:.08em;text-transform:uppercase;color:#fff;opacity:.8;padding:8px 12px;border-radius:999px;text-decoration:none;white-space:nowrap}
.cx-sw a:hover{opacity:1}
.cx-sw a[aria-current]{background:#BCF35A;color:#132A22;opacity:1}
/* header floating over a full-bleed hero */
.cx-nav.cx-over{position:fixed;left:0;right:0;top:0}
/* consumer right-hand actions */
.cx-act{display:flex;align-items:center;gap:14px}
.cx-act .cx-login{font:500 12px/1 ui-monospace,'JetBrains Mono',Consolas,monospace;letter-spacing:.1em;text-transform:uppercase;color:#fff;opacity:.85;text-decoration:none}
.cx-act .cx-login:hover{opacity:1}
.cx-act .cx-sos{font:600 12px/1 ui-monospace,'JetBrains Mono',Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;color:#132A22;background:#BCF35A;border-radius:999px;padding:11px 16px;text-decoration:none;white-space:nowrap}
.cx-act .cx-sos:hover{filter:brightness(1.06)}
@media(max-width:900px){
 .cx-nav .cx-in{gap:10px}
 .cx-sw{margin-left:auto}
 .cx-sw a{padding:7px 9px;font-size:10px}
 .cx-burger{margin-left:0;padding:8px 11px}
 .cx-act{display:none}
 .cx-menu.open .cx-msos{display:flex;color:#132A22;background:#BCF35A;border-radius:12px;padding:14px;justify-content:center;margin-top:10px;border-bottom:0}
}
@media(max-width:420px){.cx-logo img{height:28px}.cx-sw a{padding:6px 7px}}
.cx-menu .cx-msos{display:none}
.cx-menu .cx-mlogin{display:none}
@media(max-width:900px){.cx-menu.open .cx-mlogin{display:block}}

@media(max-width:480px){.cx-sw .cx-for{display:none}.cx-burger{white-space:nowrap}}

/* ===== /services/<x> pages in the cinematic chrome (release R1). Everything is scoped: classes are cx-*, and rules that restyle live V3 markup start with html body.cx-svc.
   No V3 file is edited. The live scripts (customer.js, service-page.js, service-catalogue.js) bind to the same ids/classes as before. ===== */
html body.cx-svc{--cx-ink:#132A22;--cx-lime:#BCF35A;--cx-mono:ui-monospace,'JetBrains Mono',Consolas,monospace}

/* ---- header: the live .ec-hdr markup (logo, nav, Log in, Create account, List your business, burger) as dark glass ---- */
html body.cx-svc .ec-hdr.cx-hdr{position:sticky;top:0;z-index:60;background:rgba(10,24,18,.78);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 10px 30px rgba(0,0,0,.18)}
html body.cx-svc .cx-hdr .ec-hdr-in{max-width:1400px;min-height:72px;padding:0 28px;gap:16px}
html body.cx-svc .cx-hdr .ec-logo{flex:none}
html body.cx-svc .cx-hdr .ec-logo img{width:116px;height:38px;filter:brightness(0) invert(1)}
html body.cx-svc .cx-hdr .ec-hdr-nav{position:static;transform:none;display:flex;gap:18px;align-items:center;margin-left:6px}
html body.cx-svc .cx-hdr .ec-hdr-nav a,html body.cx-svc .cx-hdr .ec-link,html body.cx-svc .cx-hdr .ec-bizbtn{font:500 12px/1 var(--cx-mono);letter-spacing:.1em;text-transform:uppercase;color:#fff;opacity:.88;text-decoration:none;background:none;border:0;border-radius:0;padding:12px 2px;min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
html body.cx-svc .cx-hdr .ec-hdr-nav a:hover,html body.cx-svc .cx-hdr .ec-link:hover,html body.cx-svc .cx-hdr .ec-bizbtn:hover{opacity:1;background:none;text-decoration:underline;text-decoration-color:var(--cx-lime);text-underline-offset:7px;text-decoration-thickness:2px}
html body.cx-svc .cx-hdr .ec-hdr-sp{display:block;flex:1 1 auto}
html body.cx-svc .cx-hdr .ec-hdr-actions{margin-left:0;gap:16px}
html body.cx-svc .cx-hdr .ec-hdr-actions .ec-explore{display:none}
html body.cx-svc .cx-hdr .ec-signup{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5);border-radius:999px;min-height:40px;padding:0 16px;font:600 12px/1 var(--cx-mono);letter-spacing:.08em;text-transform:uppercase;order:3}
html body.cx-svc .cx-hdr .ec-signup:hover{background:rgba(255,255,255,.12);border-color:#fff}
html body.cx-svc .cx-hdr .ec-bizbtn{order:1}
html body.cx-svc .cx-hdr .cx-sos{order:2;font:600 12px/1 var(--cx-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--cx-ink);background:var(--cx-lime);border-radius:999px;padding:0 16px;min-height:40px;display:inline-flex;align-items:center;text-decoration:none;white-space:nowrap}
html body.cx-svc .cx-hdr .cx-sos:hover{filter:brightness(1.06)}
html body.cx-svc .cx-hdr .ec-burger{order:4;background:transparent;border:1px solid rgba(255,255,255,.5)}
html body.cx-svc .cx-hdr .ec-burger:hover{background:rgba(255,255,255,.12)}
html body.cx-svc .cx-hdr .ec-burger i,html body.cx-svc .cx-hdr .ec-burger i::before,html body.cx-svc .cx-hdr .ec-burger i::after{background:#fff}
html body.cx-svc .cx-hdr .ec-avatar{border:1px solid rgba(255,255,255,.5)}
html body.cx-svc .cx-hdr a:focus-visible,html body.cx-svc .cx-hdr button:focus-visible,html body.cx-svc .cx-sosfab:focus-visible{outline:2px solid var(--cx-lime);outline-offset:3px;border-radius:6px}
.cx-sosfab{display:none}
@media(max-width:1279px){
  html body.cx-svc .cx-hdr .ec-hdr-nav,html body.cx-svc .cx-hdr .ec-bizbtn{display:none}
}
@media(max-width:900px){
  html body.cx-svc .cx-hdr .ec-hdr-in{padding:0 18px;gap:10px;min-height:64px}
  html body.cx-svc .cx-hdr .ec-logo img{width:104px;height:34px}
  html body.cx-svc .cx-hdr .ec-signup{display:none}
  html body.cx-svc .cx-hdr .cx-sw{margin-left:0}
  html body.cx-svc .cx-hdr .ec-hdr-actions{gap:10px}
}
@media(max-width:719px){
  html body.cx-svc .cx-hdr .cx-sos{display:none}
  html body.cx-svc .cx-hdr .ec-hdr-in{padding:0 14px}
  .cx-sosfab{display:inline-flex;align-items:center;position:fixed;left:14px;bottom:max(20px,calc(env(safe-area-inset-bottom) + 14px));z-index:55;min-height:46px;padding:0 22px;border-radius:999px;color:var(--cx-ink);font:700 13px/1 var(--cx-mono);letter-spacing:.07em;text-transform:uppercase;text-decoration:none;
    background:linear-gradient(180deg,#e2ff9c 0%,#bcf35a 52%,#a3dc45 100%);border:1px solid rgba(255,255,255,.65);
    box-shadow:inset 0 2px 0 rgba(255,255,255,.75),inset 0 -3px 6px rgba(19,42,34,.18),0 4px 0 #6f9f22,0 10px 22px rgba(0,0,0,.38),0 0 0 4px rgba(188,243,90,.18);
    -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
  .cx-sosfab:hover,.cx-sosfab:focus-visible{transform:translateY(-2px);filter:brightness(1.05);box-shadow:inset 0 2px 0 rgba(255,255,255,.8),inset 0 -3px 6px rgba(19,42,34,.18),0 6px 0 #6f9f22,0 16px 28px rgba(0,0,0,.42),0 0 0 4px rgba(188,243,90,.3)}
  .cx-sosfab:active{transform:translateY(3px);box-shadow:inset 0 2px 0 rgba(255,255,255,.6),inset 0 -2px 4px rgba(19,42,34,.2),0 1px 0 #6f9f22,0 4px 10px rgba(0,0,0,.35),0 0 0 4px rgba(188,243,90,.18)}
  /* the hero keeps its bottom band empty so the floating action never sits on hero text; the footer keeps an empty strip below its last row for the same reason */
  footer.cx-foot .cx-panel{padding-bottom:96px}
}

/* ---- hero band: the live section.hero (breadcrumb, h1, lead, CTAs) over a family-level image ---- */
html body.ec-skin.cx-svc .cx-hero{position:relative;isolation:isolate;overflow:hidden;background:#0a1912!important;color:#fff!important;padding:clamp(52px,7vw,96px) 0 clamp(48px,6vw,84px)!important;min-height:0!important}
html body.cx-svc .cx-herobg{position:absolute;inset:0;z-index:-1}
html body.cx-svc .cx-herobg picture,html body.cx-svc .cx-herobg img{display:block;width:100%;height:100%}
html body.cx-svc .cx-herobg img{object-fit:cover;object-position:50% 55%}
html body.cx-svc .cx-herobg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,20,14,.92) 0%,rgba(8,20,14,.86) 55%,rgba(8,20,14,.62) 100%)}
html body.cx-svc .cx-fam-tyres .cx-herobg img{object-position:50% 40%}
html body.ec-skin.cx-svc .cx-hero h1{color:#fff!important;font-size:clamp(34px,5.2vw,64px);line-height:1.04;letter-spacing:-.03em;font-weight:600;margin:6px 0 16px;text-shadow:none}
html body.ec-skin.cx-svc .cx-hero .lead,html body.ec-skin.cx-svc .cx-hero p{color:#e8f0eb!important;text-shadow:none}
html body.ec-skin.cx-svc .cx-hero .lead{font-size:clamp(17px,1.5vw,20px)}
html body.ec-skin.cx-svc .cx-hero .sub{font:500 12px/1.4 var(--cx-mono);letter-spacing:.1em;text-transform:uppercase;color:#e8f0eb!important}
html body.ec-skin.cx-svc .cx-hero .sub a{color:#fff!important;text-decoration:none}
html body.ec-skin.cx-svc .cx-hero .sub a:hover{text-decoration:underline!important;color:#fff!important}
html body.ec-skin.cx-svc .cx-hero a:focus-visible,html body.cx-svc main a:focus-visible,html body.cx-svc main summary:focus-visible{outline:2px solid var(--cx-lime);outline-offset:3px;border-radius:6px}
html body.ec-skin.cx-svc .cx-hero .btn-outline{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.6)!important}
html body.ec-skin.cx-svc main a:focus-visible{outline-color:var(--cx-ink)}
html body.ec-skin.cx-svc .cx-hero a:focus-visible{outline-color:var(--cx-lime)}

/* ---- body sections keep their live markup; only the surface changes ---- */
html body.ec-skin.cx-svc .ed-pale,html body.ec-skin.cx-svc .svc-pro.ed-pale{background:#eef2ee!important}
html body.ec-skin.cx-svc .signup{background:#10291a!important;color:#fff!important;text-align:center}
html body.ec-skin.cx-svc .signup h2,html body.ec-skin.cx-svc .signup .sub{color:#fff!important}
html body.ec-skin.cx-svc .signup .hero-ctas{justify-content:center}
html body.ec-skin.cx-svc .signup .sub{margin-left:auto;margin-right:auto}
html body.ec-skin.cx-svc .signup .btn-outline{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.6)!important}
html body.ec-skin.cx-svc .signup a:focus-visible{outline-color:var(--cx-lime)}
html body.cx-svc .svc-card,html body.cx-svc .svc-empty{border-radius:18px}
html body.cx-svc .faq details{border-radius:16px}

/* footer: five link columns (drivers, businesses, about, legal) beside the brand block */
@media(min-width:901px){footer.cx-foot .cx-grid{grid-template-columns:1.3fr repeat(4,1fr)}}
@media(max-width:700px){
  html body.cx-svc .cx-herobg::after{background:linear-gradient(180deg,rgba(8,20,14,.78) 0%,rgba(8,20,14,.9) 100%)}
}
@media(prefers-reduced-motion:reduce){html body.cx-svc *{scroll-behavior:auto!important}.cx-sosfab,.cx-sosfab:hover,.cx-sosfab:focus-visible,.cx-sosfab:active{transition:none!important;transform:none!important}.cx-pop{animation:none!important}}
@media(max-width:719px){html body.ec-skin.cx-svc .cx-hero{padding-bottom:84px!important}}
@media(max-width:359px){html body.cx-svc .cx-hdr .ec-hdr-in{padding:0 10px;gap:6px}html body.cx-svc .cx-hdr .ec-logo img{width:80px;height:27px}html body.cx-svc .cx-hdr .cx-sw a{padding:6px 6px;font-size:9px;letter-spacing:.04em}html body.cx-svc .cx-hdr .ec-burger{width:40px;height:40px;flex-basis:40px}}
@media(max-width:719px) and (max-height:700px){html body.ec-skin.cx-svc .cx-hero{padding-top:22px!important}}


/* ===== R2 layer: the static app shells (/results, /search, /garages, /recovery, /breakdown, the provider profile shell). Same scoping rule: cx-* classes, V3 markup only under html body.cx-svc. ===== */
/* shells whose base CSS is the marketing skin (results, profile) keep their own body background; only the chrome changes */
html body.cx-svc .cx-hdr .ec-logo img{max-width:none}
/* the live pages that load customer-tabs.js get a fixed bottom tab bar on phones (body.ect-on): the floating action sits ABOVE it */
@media(max-width:719px){
  html body.cx-svc.ect-on .cx-sosfab{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  /* the provider profile has its own fixed Book / Message bar (.pp-cta, about 72 px) on phones: same rule */
  html body.cx-pg-garage-profile .cx-sosfab{bottom:calc(92px + env(safe-area-inset-bottom,0px))}
  html body.cx-pg-garage-profile footer.cx-foot .cx-panel{padding-bottom:150px}
  html body.cx-svc.ect-on footer.cx-foot .cx-panel{padding-bottom:150px}
}
/* /breakdown hero band reuses the R1 hero rules; its kicker must read on the dark band */
html body.ec-skin.cx-svc .cx-hero .kicker{color:var(--cx-lime)!important;background:none;letter-spacing:.1em}
html body.cx-pg-breakdown .cx-hero .hero-ctas{display:flex;flex-wrap:wrap;gap:10px}
/* the chrome must not be hidden behind a V3 sticky/fixed element from the shell's own CSS */
html body.cx-svc .cx-hdr{z-index:60}
/* /breakdown: the lead line under the h1 is a sentence, not the small mono breadcrumb the service pages use */
html body.ec-skin.cx-pg-breakdown.cx-svc .cx-hero .sub{font:400 clamp(17px,1.5vw,20px)/1.5 "DM Sans",system-ui,sans-serif;text-transform:none;letter-spacing:0;max-width:44ch;margin-top:6px}
/* Touch Rule: the closed-pilot card button (rendered by site.js) was a tall bar with top-aligned text on the live page */
html body.cx-pg-breakdown #bd-form .btn{display:inline-flex;align-items:center;justify-content:center}
/* pages that load customer-tabs.js add a Messages envelope (.ect-msg) to the header: make room for it on phones so nothing is pushed off-screen */
@media(max-width:420px){
  html body.cx-svc .cx-hdr .ec-hdr-in{padding:0 10px;gap:6px}
  html body.cx-svc .cx-hdr .ec-logo img{width:88px;height:29px}
  html body.cx-svc .cx-hdr .cx-sw a{padding:6px 7px}
  html body.cx-svc .cx-hdr .ect-msg{width:38px;min-width:0;flex:none}
  html body.cx-svc .cx-hdr .ec-burger{width:40px;height:40px;flex-basis:40px}
}
/* the Messages envelope is 44 px more header: drop the desktop nav one step earlier on those pages (Explore, Cars and Escargo Meets stay in the live drawer) */
@media(max-width:1339px){html body.cx-svc:has(.ect-msg) .cx-hdr .ec-hdr-nav{display:none}}
@media(max-width:359px){
  html body.cx-svc .cx-hdr .ec-hdr-in{gap:4px;padding:0 8px}
  html body.cx-svc .cx-hdr .ec-logo img{width:70px;height:24px}
  html body.cx-svc .cx-hdr .cx-sw a{padding:5px 5px;font-size:8.5px;letter-spacing:.02em}
  html body.cx-svc .cx-hdr .ect-msg{width:32px;height:40px}
  html body.cx-svc .cx-hdr .ec-burger{width:36px;height:40px;flex-basis:36px}
}

