/* ==========================================================================
   Autostone — Automotive Aftermarket Platform
   Shared stylesheet (all pages)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — taken from the client's homepage draft */
  --primary:      #1b2537;   /* Autostone navy */
  --primary-mid:  #2a3750;
  --primary-dark: #111827;
  --accent:       #ffcc00;   /* Autostone yellow */
  --accent-mid:   #f2b800;
  --accent-soft:  #fff6cc;

  /* Neutrals */
  --bg:        #f7f7f5;
  --surface:   #ffffff;
  --border:    #e4e6ea;
  --text:      #1a2233;
  --text-soft: #4b5563;
  --text-muted:#6b7280;

  /* Typography */
  --font-display: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-script:  'Satisfy', cursive;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 110px);
  --container:   1440px;
  --gutter:      clamp(1rem, 3vw, 3rem);
  --radius:      6px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 2px rgba(17, 24, 39, .06), 0 1px 1px rgba(17, 24, 39, .04);
  --shadow:      0 10px 30px -12px rgba(17, 24, 39, .22);
  --header-h:    96px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--surface); line-height: 1.6; font-size: 1rem; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--primary); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.15; font-weight: 800; }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.25; font-weight: 700; }
p  { font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.7; color: var(--text-soft); }

[hidden] { display: none !important; }
.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-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--accent); color: var(--primary); padding: .7rem 1rem; font-weight: 700; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--tint { background: var(--bg); }
.section--navy { background: var(--primary); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #c9d0dc; }

.eyebrow { display: inline-block; font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--primary); margin-bottom: .9rem; }
.eyebrow--light { color: #fff; }
.eyebrow--accent { color: var(--accent); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: .9rem; }
.section-head--center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1.35rem; border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn--accent { background: var(--accent); color: var(--primary); }
.btn--accent:hover { background: var(--accent-mid); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(242, 184, 0, .7); }
.btn--navy { background: var(--primary); color: #fff; }
.btn--navy:hover { background: var(--primary-mid); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--primary); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .9rem; color: var(--primary); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(17,24,39,.35); border-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: clamp(.8rem, 1.2vw, 1.5rem); height: var(--header-h); max-width: 1600px; margin-inline: auto; padding-inline: clamp(1rem, 2vw, 3rem); }

.logo { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--primary); flex-shrink: 0; }
.logo-mark { width: 42px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .27em; margin-right: -.27em; position: relative; }
.logo-word sup { font-size: .4em; letter-spacing: 0; position: absolute; top: .1em; right: -.15em; font-weight: 500; }
.logo-sub { font-family: var(--font-display); font-weight: 500; font-size: .5rem; letter-spacing: .3em; color: var(--text-soft); margin-top: .45rem; white-space: nowrap; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(.4rem, .95vw, 1.5rem); list-style: none; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem 0; font-size: .82rem; font-weight: 500; text-decoration: none; color: var(--primary); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav-link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--primary); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); font-weight: 600; }
.nav-link:hover { box-shadow: inset 0 -2px 0 var(--accent); }
.dropdown { position: absolute; top: calc(100% + 8px); left: -1rem; min-width: 240px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); padding: .5rem; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.dropdown a { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: 6px; text-decoration: none; font-size: .88rem; color: var(--text); transition: background .15s; }
.dropdown a svg { width: 18px; height: 18px; color: var(--primary); }
.dropdown a:hover { background: var(--accent-soft); }
@media (hover: hover) and (min-width: 1200px) {
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav-item:hover > .nav-link svg { transform: rotate(180deg); }
}
.nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: none; }

.header-tools { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.site-search { position: relative; }
.site-search input { width: clamp(150px, 12vw, 240px); height: 38px; border: 1px solid var(--border); background: var(--bg); border-radius: 8px; padding: 0 .8rem 0 2.3rem; font-size: .78rem; }
.site-search input:focus { background: #fff; border-color: var(--primary); outline: none; }
.site-search svg { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--primary); pointer-events: none; }
.tool-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 500; text-decoration: none; color: var(--primary); white-space: nowrap; }
.tool-link svg { width: 22px; height: 22px; }
.tool-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-link { position: relative; }
.cart-count { position: absolute; top: -8px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--primary); font-size: .66rem; font-weight: 700; display: grid; place-items: center; }
.book-stack { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.book-stack .btn { padding: .55rem 1.3rem; font-size: .85rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--primary); white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; }

.nav-toggle { display: none; flex-shrink: 0; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: var(--primary); position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1200px) and (max-width: 1499px) {
  .header-tools .site-search, .tool-link--account span { display: none; }
  .logo-sub { display: none; }
}
/* Collapsed navigation: below 1200px the draft's full toolbar cannot fit */
@media (max-width: 1199px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: grid; }
  .header-tools .site-search, .header-tools .tool-link--account span, .header-phone { display: none; }
  .header-tools { order: 2; gap: .9rem; }
  .nav-toggle { order: 3; margin-left: 0; }
  .logo { margin-right: auto; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 1rem clamp(1rem, 4vw, 2rem) 2rem; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; margin: 0; border-top: 1px solid var(--border); }
  .main-nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1rem; }
  .nav-link[aria-current="page"], .nav-link:hover { box-shadow: none; }
  .nav-link[aria-current="page"] { color: var(--primary); border-left: 3px solid var(--accent); padding-left: .75rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; display: none; min-width: 0; }
  .nav-item.open > .dropdown { display: block; }
  .nav-item.open > .nav-link svg { transform: rotate(180deg); }
  .mobile-extras { display: grid !important; }
}
@media (max-width: 560px) {
  .logo { gap: .5rem; flex-shrink: 1; min-width: 0; }
  .logo-mark { width: 32px; }
  .logo-word { font-size: 1.05rem; letter-spacing: .2em; }
  .logo-sub { font-size: .38rem; letter-spacing: .16em; }
  .header-inner { gap: .6rem; }
  .header-tools .book-stack { display: none; }
}
.mobile-extras { display: none; gap: .8rem; padding-top: 1.25rem; }
.mobile-extras .site-search { display: block; }
.mobile-extras .site-search input { width: 100%; height: 46px; font-size: .95rem; }
.mobile-extras .btn { width: 100%; }
.mobile-extras .header-phone { display: inline-flex; justify-content: center; font-size: 1rem; padding: .5rem; }

main { padding-top: var(--header-h); }

/* ==========================================================================
   Home — Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-media { position: relative; aspect-ratio: 970 / 356; background: #dfe6ee; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-body { position: relative; z-index: 2; padding: 2rem var(--gutter) 2.5rem; }
.hero-body h1 .light { display: block; font-weight: 500; }
.hero-body > p { margin-top: 1.1rem; max-width: 31rem; color: var(--text); }
.reg-form { display: flex; margin-top: 1.6rem; max-width: 34rem; background: #fff; border-radius: var(--radius); box-shadow: 0 6px 22px -10px rgba(17,24,39,.35); border: 1px solid var(--border); }
.reg-field { position: relative; flex: 1; min-width: 0; }
.reg-field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; color: var(--primary); pointer-events: none; }
.reg-field input { width: 100%; height: 58px; border: 0; background: transparent; padding: 0 1rem 0 3.6rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--radius) 0 0 var(--radius); }
.reg-field input::placeholder { text-transform: none; letter-spacing: 0; color: var(--text-muted); }
.reg-field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.reg-form .btn { border-radius: 0 var(--radius) var(--radius) 0; padding-inline: 1.4rem; font-size: .95rem; }
.form-hint { font-size: .82rem; margin-top: .5rem; min-height: 1.2em; color: #b42318; }
.trust-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin-top: 1.6rem; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: .6rem; font-size: .84rem; font-weight: 500; color: var(--text); }
.trust-row svg { width: 24px; height: 24px; color: var(--primary); }

@media (min-width: 1024px) {
  .hero { min-height: clamp(460px, 29vw, 600px); display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0 0 0 22%; aspect-ratio: auto; background: #fff; }
  .hero-media img { object-position: 75% 50%; }
  .hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.95) 11%, rgba(255,255,255,.6) 22%, rgba(255,255,255,0) 36%); }
  .hero-inner { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: clamp(1rem, 2.4vw, 3rem); }
  .hero-body { padding: 1.6rem 0 1.8rem; width: min(38%, 600px); }
  .hero-body h1 { font-size: clamp(2.2rem, 3.05vw, 3.4rem); }
  .hero-body > p { font-size: .98rem; line-height: 1.55; }
  .trust-row { grid-template-columns: repeat(4, auto); justify-content: start; gap: 1.1rem; }
  .trust-row li { font-size: .78rem; white-space: nowrap; }
}

/* Load-in animation for hero */
.hero-anim { opacity: 0; transform: translateY(24px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-anim:nth-child(2) { animation-delay: .08s; }
.hero-anim:nth-child(3) { animation-delay: .16s; }
.hero-anim:nth-child(4) { animation-delay: .24s; }
.hero-anim:nth-child(5) { animation-delay: .32s; }
.hero-anim:nth-child(6) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Home — Service strip
   ========================================================================== */
.service-strip { position: relative; z-index: 3; }
.service-strip .container { max-width: 1520px; }
.strip-list { display: flex; overflow-x: auto; scroll-snap-type: x proximity; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); margin-top: 1.25rem; scrollbar-width: none; }
.strip-list::-webkit-scrollbar { display: none; }
.strip-list li { flex: 1 1 auto; scroll-snap-align: start; }
.strip-list li + li { border-left: 1px solid var(--border); }
.strip-list a { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.1rem clamp(.6rem, .9vw, 1.1rem); min-height: 66px; text-decoration: none; font-size: .8rem; font-weight: 500; color: var(--text); white-space: nowrap; transition: background .2s, color .2s; }
.strip-list a svg { width: 28px; height: 28px; color: var(--primary); transition: transform .2s; }
.strip-list a:hover { background: var(--accent-soft); }
.strip-list a:hover svg { transform: scale(1.1); }

/* ==========================================================================
   Home — Feature cards (six)
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.4rem; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .feature-grid { grid-template-columns: repeat(6, 1fr); gap: 1.2rem; } }
.feature-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature-media { position: relative; aspect-ratio: 16 / 6.2; overflow: hidden; background: #d9dee6; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover .feature-media img { transform: scale(1.05); }
.feature-badge { position: absolute; left: 1rem; top: -15px; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--primary); box-shadow: var(--shadow-sm); transition: background .2s; z-index: 1; }
.feature-badge svg { width: 15px; height: 15px; }
.feature-card:hover .feature-badge { background: var(--accent); }
.feature-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1rem 1.1rem; }
.feature-body h3 { font-size: .86rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.feature-tag { font-size: .85rem; color: var(--text); margin-top: .15rem; }
.feature-body p:not(.feature-tag) { font-size: .8rem; line-height: 1.6; color: var(--text-muted); margin-top: .9rem; }
.feature-body .link-arrow { margin-top: auto; padding-top: 1rem; font-size: .82rem; }
.feature-body .link-arrow::after { content: ""; position: absolute; inset: 0; }

/* ==========================================================================
   Home — Promo band (Care / My Autostone / Fleet)
   ========================================================================== */
.promo-band { display: grid; grid-template-columns: 1fr; margin-top: clamp(1.5rem, 3vw, 2rem); }
.promo { position: relative; overflow: hidden; min-height: 240px; }
.promo-care { background: linear-gradient(90deg, #1c1d22 0%, #3a3128 30%, #8c6a44 52%, #5a4a3a 75%, #26272c 100%); color: #fff; display: grid; }
.promo-care .promo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 62%; }
.promo-care::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,20,26,.9) 0%, rgba(20,20,26,.7) 30%, rgba(20,20,26,.1) 55%, rgba(20,20,26,.15) 72%, rgba(20,20,26,.7) 100%); }
.promo-care-inner { position: relative; z-index: 2; display: grid; gap: 1.5rem; align-items: center; padding: 2rem var(--gutter); }
.promo-care h2 { color: #fff; max-width: 15ch; font-size: clamp(1.35rem, 1.75vw, 1.6rem); font-weight: 700; line-height: 1.2; }
.promo-care p { color: #f1f1f1; margin: .5rem 0 1.2rem; font-size: .92rem; }
.check-list { list-style: none; display: grid; gap: .65rem; }
.check-list li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 500; }
.promo-care .check-list li { white-space: nowrap; }
.check-list .tick { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; }
.check-list .tick svg { width: 13px; height: 13px; }

.promo-account { background: #fff; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; padding: 1.5rem var(--gutter); border-block: 1px solid var(--border); }
.promo-account h2 { font-size: .85rem; letter-spacing: .2em; white-space: nowrap; text-transform: uppercase; font-weight: 700; }
.promo-account .lead { font-family: var(--font-display); font-weight: 600; color: var(--primary); font-size: 1.05rem; margin-top: .2rem; }
.promo-account p:not(.lead) { font-size: .82rem; margin: .7rem 0 1rem; }

.phone { width: 108px; aspect-ratio: 9 / 18.5; border-radius: 16px; background: #111; padding: 5px; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); transform: rotate(-2deg); }
.phone-screen { height: 100%; border-radius: 12px; background: #fff; overflow: hidden; display: flex; flex-direction: column; font-size: 5px; }
.phone-top { background: var(--primary); color: #fff; padding: 6px 6px 5px; display: flex; align-items: center; gap: 3px; font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; font-size: 4.5px; }
.phone-top svg { width: 8px; height: 8px; }
.phone-sec { padding: 5px 6px 2px; font-weight: 700; color: var(--primary); font-size: 5.5px; }
.phone-car { margin: 2px 6px 5px; border: 1px solid var(--border); border-radius: 4px; padding: 5px; display: flex; gap: 4px; align-items: center; }
.phone-car svg { width: 18px; height: 10px; color: var(--primary); }
.phone-car b { display: block; font-size: 5.5px; color: var(--primary); }
.phone-car span { color: var(--text-muted); font-size: 4.5px; }
.phone-row { display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-top: 1px solid #f0f1f3; color: var(--text); }
.phone-row i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--primary); flex-shrink: 0; }

.promo-fleet { background: var(--primary); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.promo-fleet .promo-img { position: absolute; inset: 0 0 auto 0; width: 100%; height: 62%; object-fit: cover; object-position: center 40%; }
.promo-fleet::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27,37,55,0) 18%, rgba(27,37,55,.8) 48%, var(--primary) 66%); }
.promo-fleet-inner { position: relative; z-index: 2; padding: 7rem var(--gutter) 1.6rem; }
.promo-fleet h2 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.promo-fleet .lead { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #fff; }
.promo-fleet p:not(.lead) { color: #d6dbe4; font-size: .84rem; margin: .4rem 0 1rem; max-width: 22rem; }

@media (min-width: 640px) {
  .promo-care-inner { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 1024px) {
  .promo-band { grid-template-columns: 50% 24% 26%; min-height: 250px; }
  .promo-care-inner { padding: 1.6rem clamp(1rem, 2.6vw, 3.3rem); grid-template-columns: 1fr auto; }
  .promo-care .check-list { padding-right: 3%; }
  .promo-care .promo-img { inset: 0 auto 0 26%; width: 56%; object-position: center 62%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 80%, transparent 100%); }
  .promo-care::before { background: linear-gradient(90deg, rgba(20,20,26,.85) 0%, rgba(20,20,26,.45) 30%, rgba(20,20,26,0) 45%, rgba(20,20,26,0) 70%, rgba(20,20,26,.55) 100%); }
  .promo-account { clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); margin-inline: -2.2%; z-index: 2; padding: 1.4rem 11% 1.4rem 11%; gap: 1.2rem; border: 0; box-shadow: 0 0 0 1px var(--border); }
  .promo-fleet .promo-img { height: 58%; }
  .promo-fleet-inner { padding: 6rem clamp(1rem, 2vw, 2.4rem) 1.4rem 16%; }
}

/* ==========================================================================
   Home — Lower band (Sell / Centre / Driven by people)
   ========================================================================== */
.lower-band { display: grid; gap: 1.25rem; margin-top: 1.4rem; }
.sell-card { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; }
.sell-card img { width: 100%; aspect-ratio: 212 / 72; object-fit: cover; border-radius: 3px; }
.sell-card h2 { font-size: 1.15rem; font-weight: 700; }
.sell-card .lead { font-size: .85rem; color: var(--text); line-height: 1.5; }
.sell-card p:not(.lead) { font-size: .78rem; line-height: 1.55; margin: .5rem 0 .8rem; }
.centre-card { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; background: #fff; overflow: hidden; }
.centre-card > img { width: 100%; height: 100%; min-height: 120px; object-fit: cover; }
.centre-card .centre-brand { padding: .75rem 1rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--primary); }
.brand-lockup .logo-mark { width: 28px; }
.brand-lockup .logo-word { font-size: 1rem; letter-spacing: .32em; }
.brand-lockup .logo-sub { font-size: .38rem; margin-top: .3rem; }
.script { font-family: var(--font-script); color: var(--primary); font-size: 1.35rem; line-height: 1.1; display: block; margin-top: .75rem; transform: rotate(-4deg); transform-origin: left; }
.driven-card { position: relative; overflow: hidden; background: var(--primary); color: #fff; border-radius: 3px; min-height: 150px; display: flex; align-items: center; }
.driven-card > img { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.driven-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, var(--primary) 0%, var(--primary) 42%, rgba(27,37,55,.55) 60%, rgba(27,37,55,.1) 100%); }
.driven-inner { position: relative; z-index: 2; padding: 1.3rem 1.6rem 3.4rem; max-width: 62%; }
.driven-card h2 { color: #fff; font-size: 1.1rem; font-weight: 600; line-height: 1.25; }
.driven-card p { color: #e5e7eb; font-size: .8rem; margin-top: .6rem; line-height: 1.55; }
.driven-card .brand-lockup { position: absolute; right: 1.2rem; bottom: 1rem; z-index: 2; color: #fff; }
.driven-card .brand-lockup .logo-sub { color: #d1d5db; }
@media (min-width: 768px) {
  .sell-card { grid-template-columns: 44% 1fr; gap: 1.2rem; }
}
@media (min-width: 1024px) {
  .lower-band { grid-template-columns: 1fr 1fr; }
  .driven-card { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .lower-band { grid-template-columns: 1.08fr .82fr 1.05fr; gap: 1.3rem; align-items: stretch; }
  .driven-card { grid-column: auto; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
  .driven-inner { padding-left: 3.6rem; }
}
@media (max-width: 480px) {
  .driven-inner { max-width: 100%; padding-bottom: 3.5rem; }
  .driven-card::before { background: linear-gradient(100deg, rgba(27,37,55,.96) 0%, rgba(27,37,55,.8) 70%, rgba(27,37,55,.55) 100%); }
  .centre-card { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Assurance strip + Footer (light, as per client draft)
   ========================================================================== */
.assure { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1.3rem 0; }
.assure li { display: flex; align-items: center; gap: .8rem; font-size: .82rem; color: var(--text); }
.assure svg { width: 22px; height: 22px; color: var(--primary); }
.assure .big { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--primary); }
.assure small { display: block; color: var(--text-muted); font-size: .74rem; }
@media (min-width: 640px) { .assure { grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; } .assure li { padding-right: 2rem; } .assure li + li { padding-left: 2rem; border-left: 1px solid var(--border); } }

.site-footer { background: #fff; border-top: 1px solid var(--border); color: var(--text); }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.5rem 2rem; grid-template-columns: 1fr; }
.footer-col h2 { font-family: var(--font-body); font-size: .82rem; font-weight: 700; color: var(--primary); letter-spacing: .02em; margin-bottom: .8rem; }
.footer-links { list-style: none; display: grid; gap: .45rem; }
.footer-links--2 { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 3rem; }
.footer-links a, .footer-contact a { font-size: .82rem; color: var(--text-soft); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { font-style: normal; display: grid; gap: .45rem; font-size: .82rem; color: var(--text-soft); margin-top: 1rem; }
.footer-contact a { display: inline-flex; gap: .5rem; align-items: center; }
.footer-contact svg { width: 16px; height: 16px; color: var(--primary); }
.newsletter p { font-size: .8rem; }
.newsletter form { display: flex; margin-top: .7rem; max-width: 22rem; }
.newsletter input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--border); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); padding: 0 .8rem; font-size: .8rem; }
.newsletter input:focus { outline: none; border-color: var(--primary); }
.newsletter button { width: 46px; border: 0; background: var(--accent); color: var(--primary); border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.newsletter button:hover { background: var(--accent-mid); }
.newsletter button svg { width: 18px; height: 18px; }
.newsletter .form-msg { font-size: .78rem; margin-top: .5rem; color: #067647; min-height: 1.1em; }
.socials { display: flex; gap: .9rem; margin-top: 1rem; list-style: none; }
.socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--primary); border: 1px solid var(--border); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.socials svg { width: 16px; height: 16px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .brand-lockup .logo-mark { width: 36px; }
.footer-brand .brand-lockup .logo-word { font-size: 1.25rem; }
.footer-brand .brand-lockup .logo-sub { font-size: .46rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .76rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-soft); }
.footer-bottom a:hover { color: var(--primary); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-block: 2rem 1.6rem; }
  .footer-col + .footer-col { border-left: 1px solid var(--border); padding-left: 2.5rem; }
  .footer-brand { align-items: flex-end; text-align: right; }
}

/* ==========================================================================
   Interior pages
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; background: var(--primary); color: #fff; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,24,39,.96) 0%, rgba(27,37,55,.85) 45%, rgba(27,37,55,.35) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { color: #d6dbe4; max-width: 38rem; margin-top: 1rem; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: .8rem; color: #c1c8d4; margin-bottom: 1.3rem; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #8792a5; }
.page-hero .yellow-rule { display: block; width: 64px; height: 4px; background: var(--accent); margin-bottom: 1.2rem; }

.jump-nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: var(--header-h); z-index: 20; }
.jump-nav ul { display: flex; gap: .4rem; overflow-x: auto; list-style: none; padding-block: .7rem; scrollbar-width: none; }
.jump-nav a { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--border); font-size: .84rem; font-weight: 500; text-decoration: none; color: var(--primary); white-space: nowrap; transition: background .2s, border-color .2s; }
.jump-nav a:hover { background: var(--accent-soft); border-color: var(--accent); }

.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 1.1rem; transition: background .2s; }
.card:hover .card-icon { background: var(--accent); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .92rem; }
.card ul { list-style: none; margin-top: 1rem; display: grid; gap: .45rem; }
.card ul li { display: flex; gap: .55rem; font-size: .88rem; color: var(--text-soft); }
.card ul li svg { width: 16px; height: 16px; color: #1a7f45; margin-top: .25rem; }
.card .link-arrow, .card .btn { margin-top: auto; padding-top: 1.1rem; align-self: flex-start; }
.card .btn { padding-top: .75rem; margin-top: 1.2rem; }
.card-price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--primary); margin-top: .8rem; }
.card-price small { font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--text-muted); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .tagline { position: absolute; left: 1rem; bottom: 1rem; background: var(--accent); color: var(--primary); font-weight: 700; font-size: .85rem; padding: .5rem .9rem; border-radius: var(--radius); }
.split-body p + p { margin-top: 1rem; }
.split-body .btn { margin-top: 1.6rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split-media { order: 2; } }

.service-block { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--border); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block .card-icon { margin: 0; }
.service-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: .6rem; }
.service-block .includes { list-style: none; display: grid; gap: .55rem; }
.service-block .includes li { display: flex; gap: .6rem; font-size: .92rem; color: var(--text-soft); }
.service-block .includes svg { width: 18px; height: 18px; color: #1a7f45; margin-top: .2rem; }
.service-block .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
@media (min-width: 900px) { .service-block { grid-template-columns: 64px 1.3fr 1fr; gap: 2.2rem; align-items: start; } }

.steps { counter-reset: step; display: grid; gap: 1.25rem; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent-mid); line-height: 1; margin-bottom: .9rem; }
.steps h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.steps p { font-size: .9rem; }
.section--navy .steps li { background: var(--primary-mid); border-color: rgba(255,255,255,.1); }
.section--navy .steps h3 { color: #fff; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--accent); line-height: 1.05; }
.stat span { font-size: .9rem; color: #d6dbe4; }

.cta-band { background: var(--accent); }
.cta-band .container { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding-block: clamp(2.2rem, 4vw, 3rem); }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { color: var(--primary); margin-top: .35rem; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Tabs / filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filter-bar button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: .85rem; font-weight: 500; color: var(--primary); transition: background .2s, border-color .2s; }
.filter-bar button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-bar button:hover:not([aria-pressed="true"]) { border-color: var(--accent); background: var(--accent-soft); }

/* Product tiles */
.product .product-visual { aspect-ratio: 4 / 3; border-radius: 10px; margin-bottom: 1.1rem; display: grid; place-items: center; color: var(--primary); background:
  radial-gradient(circle at 30% 30%, #fff 0, #f3f4f6 60%, #e5e7eb 100%); }
.product .product-visual svg { width: 42%; height: auto; opacity: .9; }
.product .meta { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .3rem; }
.product.hidden { display: none; }
.basket { margin-top: 2.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; }
.basket h2 { font-size: 1.3rem; margin-bottom: .8rem; }
.basket ul { list-style: none; display: grid; gap: .5rem; margin-bottom: 1rem; }
.basket li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--border); }
.basket li button { border: 0; background: none; color: #b42318; cursor: pointer; font-size: .8rem; }
.basket .empty { color: var(--text-muted); font-size: .92rem; }

/* Plans */
.plan-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; padding: 2rem 1.6rem; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -13px; left: 1.6rem; background: var(--accent); color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 4px; }
.plan h3 { font-size: 1.35rem; }
.plan > p { font-size: .9rem; margin-top: .4rem; }
.plan ul { list-style: none; margin: 1.3rem 0 1.6rem; display: grid; gap: .6rem; }
.plan li { display: flex; gap: .55rem; font-size: .9rem; color: var(--text-soft); }
.plan li svg { width: 18px; height: 18px; color: #1a7f45; margin-top: .15rem; }
.plan li.no { color: var(--text-muted); text-decoration: line-through; }
.plan li.no svg { color: #9ca3af; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: .7rem; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 1.2rem; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.15rem; font-size: .93rem; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--primary); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfd4dc; border-radius: var(--radius); padding: .8rem .9rem; font-size: .95rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,204,0,.45); }
.field .reg-input { text-transform: uppercase; font-weight: 700; letter-spacing: .08em; background: #ffd400; border-color: #e0b800; font-size: 1.1rem; max-width: 16rem; }
.field-note { font-size: .78rem; color: var(--text-muted); margin-top: .35rem; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--text-soft); }
.checkbox input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--primary); }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success .tick-big { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; margin: 0 auto 1rem; }
.form-success .tick-big svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: .5rem; }
form.sent { display: none; }
form.sent + .form-success { display: block; }

.contact-list { list-style: none; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .card-icon { margin: 0; width: 46px; height: 46px; }
.contact-list b { display: block; color: var(--primary); font-family: var(--font-display); }
.contact-list a, .contact-list span { color: var(--text-soft); text-decoration: none; font-size: .95rem; }
.contact-list a:hover { color: var(--primary); text-decoration: underline; }

/* Booking stepper */
.stepper { display: flex; gap: .5rem; list-style: none; margin-bottom: 1.6rem; counter-reset: bs; }
.stepper li { flex: 1; counter-increment: bs; font-size: .78rem; font-weight: 600; color: var(--text-muted); border-top: 4px solid var(--border); padding-top: .5rem; }
.stepper li::before { content: counter(bs) ". "; }
.stepper li.active, .stepper li.done { color: var(--primary); border-color: var(--accent); }
.book-step { display: none; }
.book-step.active { display: block; animation: rise .4s ease forwards; }
.book-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.option-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.option-grid label { display: flex; gap: .7rem; align-items: center; border: 1px solid var(--border); border-radius: 10px; padding: .85rem 1rem; cursor: pointer; font-size: .9rem; font-weight: 500; transition: border-color .2s, background .2s; }
.option-grid label svg { width: 22px; height: 22px; color: var(--primary); }
.option-grid input { accent-color: var(--primary); }
.option-grid label:has(input:checked) { border-color: var(--primary); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.summary-box { background: var(--bg); border-radius: 10px; padding: 1.2rem; font-size: .92rem; display: grid; gap: .4rem; }
.summary-box b { color: var(--primary); }

/* Account */
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.tabs button { flex: 1; padding: .9rem; border: 0; background: none; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--primary); border-color: var(--accent); }
.tab-panel[hidden] { display: none; }

/* Location finder */
.region-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.region { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.3rem; }
.region h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.region h3 svg { width: 20px; height: 20px; color: var(--accent-mid); }
.region p { font-size: .88rem; margin-top: .4rem; }
.region .pill { display: inline-block; margin-top: .8rem; margin-right: .3rem; font-size: .72rem; font-weight: 600; padding: .25rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--primary); }
.finder { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; max-width: 36rem; }
.finder select { color: var(--text); background: #fff; }
.finder input { color: var(--text); background: #fff; flex: 1 1 220px; height: 54px; border-radius: var(--radius); border: 0; padding: 0 1rem; font-size: 1rem; text-transform: uppercase; }
.finder input:focus { outline: 3px solid var(--accent); }
.finder-result { margin-top: 1rem; color: #fff; font-size: .95rem; min-height: 1.4em; }

/* 404 */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-pad); }
.error-page .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--accent); }
.error-page p { max-width: 32rem; margin: 1rem auto 1.8rem; }

/* Legal */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-soft); font-size: .98rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin-top: .6rem; }
.prose p + p { margin-top: .8rem; }

/* Draft notice (removed at launch) */
.draft-note { background: var(--primary-dark); color: #e5e7eb; font-size: .78rem; text-align: center; padding: .45rem 1rem; }
.draft-note b { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-anim { opacity: 1; transform: none; animation: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Small phones: stack the registration lookup */
@media (max-width: 480px) {
  .reg-form { flex-direction: column; }
  .reg-field input { border-radius: var(--radius) var(--radius) 0 0; }
  .reg-form .btn { border-radius: 0 0 var(--radius) var(--radius); padding-block: .95rem; }
  .header-tools { gap: .6rem; }
}

/* ==========================================================================
   Client logo (supplied artwork from autostone.co.uk) + additions from
   the existing site: real Care plans, reviews, head-office map
   ========================================================================== */
.logo-img { display: block; height: 54px; width: auto; }
.lockup-img { display: block; height: 58px; width: auto; }
.centre-card .lockup-img { height: 52px; }
.footer-brand .lockup-img { height: 64px; }
.driven-card .lockup-img { height: 40px; }
.phone-top .phone-logo { height: 12px; width: auto; }
.phone-top { justify-content: center; padding: 4px 6px; }
@media (max-width: 1199px) { .logo-img { height: 46px; } }
@media (max-width: 560px) { .logo-img { height: 40px; } }

.footer-addr { display: inline-flex; gap: .5rem; align-items: flex-start; }
.footer-addr svg { width: 16px; height: 16px; color: var(--primary); margin-top: .15rem; }

.plan-grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .plan-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plan-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.plan { border-top: 6px solid var(--plan, var(--accent)); }
.plan--featured { border-top-color: var(--plan, var(--accent)); }
.plan h3 { color: var(--plan, var(--primary)); }
.plan-price { margin-top: .6rem; color: var(--text-soft); font-size: .95rem; }
.plan-price b { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--primary); line-height: 1; margin-right: .25rem; }
.plan-suits { margin-top: 1.2rem; font-weight: 700; color: var(--primary); font-size: .88rem; }
.plan > ul { margin-top: .6rem; }
.plan-note { text-align: center; margin-top: 1.6rem; font-size: .88rem; color: var(--text-muted); }

@media (min-width: 1100px) { .steps--6 { grid-template-columns: repeat(3, 1fr); } }

.stars { display: inline-flex; gap: 2px; color: var(--accent-mid); margin-bottom: .8rem; }
.stars svg { width: 18px; height: 18px; }
.review blockquote p { color: var(--text); font-size: .98rem; }
.review .review-by { margin-top: auto; padding-top: 1rem; font-size: .88rem; color: var(--text-muted); }
.review .review-by b { color: var(--primary); }

.map-wrap { background: var(--bg); }
