/* =========================================================
   Premium Automobile Service Ltd, Abuja
   Light, professional palette built from the logo:
   white and soft grey surfaces, deep navy ink, racing red for action.
   ========================================================= */
:root {
  --paper: #ffffff;
  --tint: #f4f6f9;          /* alternate section background */
  --tint-2: #eaeef4;
  --ink: #0b1530;           /* headings, primary text */
  --text: #2b3550;          /* body text */
  --text-2: #5a6582;        /* secondary text */
  --line: #e1e6ee;
  --navy: #13235a;          /* logo navy */
  --navy-2: #1c3278;
  --navy-deep: #0b1530;     /* towing band, footer */
  --red: #d71f28;           /* logo red */
  --red-deep: #b5161e;
  --red-soft: #fdecec;
  --on-dark: #e9edf5;
  --on-dark-2: #a9b3cb;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --topbar-h: 40px;
  --bar-h: 84px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 48, .06), 0 2px 8px rgba(11, 21, 48, .05);
  --shadow: 0 1px 2px rgba(11, 21, 48, .06), 0 14px 34px -14px rgba(11, 21, 48, .2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-text-size-adjust: 100%; scrollbar-color: #b9c2d3 var(--tint); accent-color: var(--red); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--navy); color: #fff; }
input, textarea, select { caret-color: var(--red); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--tint); }
::-webkit-scrollbar-thumb { background: #b9c2d3; border: 3px solid var(--tint); border-radius: 12px; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.tag { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); font-weight: 600; margin-bottom: 4px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent; font: 600 .97rem/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 14px -6px rgba(181, 22, 30, .55); }
.btn--red:hover { background: var(--red-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tint-2); }
.btn--wa { background: #128c4a; color: #fff; box-shadow: 0 6px 14px -6px rgba(18, 140, 74, .5); }
.btn--wa:hover { background: #0e7a40; }
.btn--outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.link { font-weight: 600; color: var(--red-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.link:hover { color: var(--navy); }

/* ---------- Header (always white, so the real logo reads) ---------- */
.header { position: sticky; top: 0; z-index: 50; transition: transform .4s var(--ease); }
.topbar { height: var(--topbar-h); background: var(--navy-deep); color: var(--on-dark-2); font-size: .85rem; }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.topbar__inner > span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { width: 15px; height: 15px; color: #ff6b72; }
.topbar__wa { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.topbar__wa .ic { color: #4ade80; }
.topbar__tow { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.topbar__tow:hover strong, .topbar__wa:hover strong { text-decoration: underline; }
.header__bar { height: var(--bar-h); background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled .header__bar { box-shadow: 0 6px 20px -12px rgba(11, 21, 48, .25); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { position: relative; z-index: 2; display: block; }
.logo img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: .97rem; color: var(--ink); }
.nav a:not(.btn) { position: relative; padding: 6px 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-current { color: var(--navy); }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; padding: 0 20px; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero: full-screen video slides ---------- */
.hero { position: relative; height: calc(100svh - var(--topbar-h) - var(--bar-h)); min-height: 560px; max-height: 920px; overflow: hidden; background: #1a1f2b; isolation: isolate; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.slide__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* light touch: only darken behind the words so the cars stay bright */
.slide__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 14, 32, .72) 0%, rgba(8, 14, 32, .45) 34%, rgba(8, 14, 32, 0) 62%), linear-gradient(0deg, rgba(8, 14, 32, .45) 0%, rgba(8, 14, 32, 0) 30%); }
.slide__content { position: relative; padding-bottom: 40px; }
.slide__title { color: #fff; font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; max-width: 15ch; margin-bottom: 20px; }
.slide__lead { color: rgba(255, 255, 255, .9); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 44ch; margin-bottom: 30px; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.slide .slide__title, .slide .slide__lead, .slide .slide__actions { opacity: 0; transform: translateY(16px); }
.slide.is-active .slide__title, .slide.is-active .slide__lead, .slide.is-active .slide__actions { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide__lead { transition-delay: .12s; }
.slide.is-active .slide__actions { transition-delay: .22s; }

/* small pause control: auto-playing video must be stoppable */
.hero__pause { position: absolute; right: var(--gutter); top: 20px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(8, 14, 32, .35); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.hero__pause:hover { background: rgba(8, 14, 32, .6); border-color: #fff; }
.hero__pause .ic { width: 18px; height: 18px; }
.hero__pause .ic-play { display: none; }
.hero__pause[aria-pressed="true"] .ic-pause { display: none; }
.hero__pause[aria-pressed="true"] .ic-play { display: block; fill: currentColor; }

/* ---------- Quick booking (overlaps the hero) ---------- */
.booker { position: relative; z-index: 6; }
.booker__card {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr auto; align-items: end; gap: 18px 20px;
  margin-top: -44px; padding: 26px 28px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(11, 21, 48, .35), 0 2px 6px rgba(11, 21, 48, .05);
}
.booker__intro h2 { font-size: 1.35rem; letter-spacing: -.01em; }
.booker__intro p { color: var(--text-2); font-size: .94rem; margin-top: 4px; }
.booker__field { display: grid; gap: 6px; }
.booker__field label { font-size: .82rem; font-weight: 600; color: var(--text-2); }
.booker__field select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); font-weight: 500; padding: 13px 40px 13px 15px; border: 1px solid #cfd6e2; border-radius: 10px; appearance: none; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6582' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.booker__field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19, 35, 90, .14); }
.booker__card .btn { min-height: 50px; }
.booker__alt { grid-column: 1 / -1; font-size: .9rem; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 14px; }
.booker__alt a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }

/* ---------- Brand specialists ---------- */
.brands { padding: 64px 0 12px; }
.brands__inner { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; justify-content: center; text-align: center; }
.brands p { font-size: .82rem; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .12em; }
.brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.brands li { font: 600 clamp(1.1rem, 1.8vw, 1.45rem)/1.3 var(--font-head); color: var(--navy); letter-spacing: -.01em; padding: 4px 26px; }
.brands li + li { border-left: 1px solid var(--line); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 60px; flex-wrap: wrap; }
.section__head--split { flex-wrap: nowrap; }
.section__head--split h2 { flex: 1 1 auto; max-width: 18ch; }
.section__head--split .section__lead { flex: 0 1 44ch; max-width: 44ch; margin-top: 0; padding-bottom: 6px; }
.section__lead { color: var(--text-2); font-size: 1.08rem; margin-top: 16px; max-width: 52ch; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; padding: 0 16% 18% 0; }
.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); height: auto; }
.about__img--main { width: 100%; aspect-ratio: 4 / 3; }
.about__img--inset { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; border: 6px solid #fff; }
.about__copy .lead { font-size: 1.12rem; color: var(--ink); margin: 20px 0 14px; }
.promises { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.promises li { display: flex; gap: 14px; align-items: flex-start; }
.promises .ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--red-soft); color: var(--red-deep); }
.promises strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.promises span { color: var(--text-2); font-size: .95rem; line-height: 1.5; display: block; }

/* ---------- Services: editorial rows ---------- */
.svc-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.svc-list li + li { border-top: 1px solid var(--line); }
.svc { display: grid; align-items: center; grid-template-columns: 52px 30% minmax(0, 1fr) 160px; gap: 8px 28px; padding: 26px 32px; transition: background .25s; }
.svc:hover, .svc:focus-visible { background: #f9fafc; }
.svc__ic { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--tint); color: var(--navy); }
.svc h3 { font-size: 1.2rem; }
.svc p { color: var(--text-2); }
.svc__go { justify-self: end; font-weight: 600; font-size: .94rem; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(19, 35, 90, .3); text-underline-offset: .3em; transition: color .2s, text-decoration-color .2s; }
.svc:hover .svc__go { color: var(--red-deep); text-decoration-color: currentColor; }
.svc--tow .svc__ic { background: var(--red-soft); color: var(--red-deep); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.process__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.steps { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: step; display: grid; gap: 4px; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 1rem/1 var(--font-head); }
.steps strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; margin-bottom: 2px; }
.steps span { color: var(--text-2); }

/* ---------- Showroom ---------- */
.feature { display: grid; grid-template-columns: 1.6fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px; }
.feature__img { overflow: hidden; min-height: 300px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: transform 1.2s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.03); }
.feature__info { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feature__info h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.feature__info > p:not(.tag) { color: var(--text-2); margin-bottom: 24px; }
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.car:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.car__img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint-2); }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.car:hover .car__img img { transform: scale(1.04); }
.car__body { padding: 18px 20px 20px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 16px; }
.car__body .tag { width: 100%; }
.car__body h3 { font-size: 1.12rem; }

/* ---------- Spare parts ---------- */
.parts { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.parts__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.checks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--navy); color: #fff; stroke-width: 3; }
.parts__hint { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.parts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.part { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px 10px; border-radius: 12px; background: var(--tint); border: 1px solid transparent; font-size: .9rem; font-weight: 500; color: var(--ink); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.part .ic { width: 28px; height: 28px; color: var(--navy); stroke-width: 1.7; }
.part:hover, .part:focus-visible { background: #fff; border-color: var(--line); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Towing ---------- */
.towing { background: var(--navy-deep); color: var(--on-dark); padding: clamp(72px, 9vw, 110px) 0; }
.towing__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px clamp(40px, 6vw, 72px); align-items: center; }
.towing__img { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.towing__img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.towing__img figcaption, .tracker__img figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.towing__img figcaption .ic { width: 16px; height: 16px; color: var(--red-deep); }
.towing__list { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
.towing h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.towing .section__lead { color: var(--on-dark-2); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: .88rem; font-weight: 500; margin-bottom: 20px; }
.badge .ic { width: 16px; height: 16px; color: #ff6b72; }
.towing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.towing__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.towing__list li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.towing__list .ic { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--red); color: #fff; }
.towing__list strong { display: block; color: #fff; font-weight: 600; }
.towing__list span { color: var(--on-dark-2); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--topbar-h) + var(--bar-h) + 24px); }
.faq__img { position: relative; margin: 32px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.faq__help { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 16px 18px; background: rgba(255, 255, 255, .96); border-radius: 12px; box-shadow: var(--shadow-sm); }
.faq__help strong { color: var(--ink); font-weight: 600; }
.faq__help span { grid-column: 1; font-size: .9rem; color: var(--text-2); }
.faq__help .btn { grid-column: 2; grid-row: 1 / span 2; min-height: 44px; padding: 0 16px; font-size: .9rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font: 600 1.08rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--red-deep); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--text-2); max-width: 62ch; }
.faq summary:hover { color: var(--navy); }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.info-list { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.info-list .ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--tint); color: var(--navy); }
.info-list span { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.info-list strong, .info-list a { font-weight: 600; color: var(--ink); }
.map { min-height: 440px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--tint-2); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 88px); }
.contact__cards { display: grid; gap: 12px; margin-top: 30px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.ccard:hover { border-color: #c9d1df; box-shadow: var(--shadow-sm); }
.ccard > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--red-soft); color: var(--red-deep); }
.ccard span { display: block; font-size: .82rem; color: var(--text-2); }
.ccard strong { color: var(--ink); font-weight: 600; }
.ccard[hidden] { display: none; }
.ccard--wa { border-color: #b8e2c8; background: #f2fbf5; }
.ccard--wa > .ic { background: #128c4a; color: #fff; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); align-self: start; }
.form__title { grid-column: 1 / -1; font-size: 1.4rem; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfd6e2; border-radius: 10px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: #6d7790; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6582' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19, 35, 90, .14); }
.field__err { display: none; color: var(--red-deep); font-size: .85rem; }
.field.is-invalid input { border-color: var(--red); }
.field.is-invalid .field__err { display: block; }
.form__note { font-size: .95rem; color: var(--text-2); min-height: 1.4em; }
.form__note.is-ok { color: #11733f; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-dark-2); padding-top: 64px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 48px; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.footer__tag { color: #fff; font-weight: 500; }
.footer h4 { color: #fff; font: 600 .85rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic { color: #ff6b72; margin-top: 4px; width: 17px; height: 17px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Sample-data note (shown only while js/data.js has sample entries) ---------- */
.sample-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 5px 10px; border-radius: 999px; background: #fff7e6; color: #8a5a00; border: 1px solid #f3dca8; font-size: .78rem; font-weight: 600; }
.section--navy .sample-note { background: rgba(255, 255, 255, .1); color: #ffd98a; border-color: rgba(255, 217, 138, .3); }

/* backgrounds inside tinted sections */
.section--tint .form, .section--tint .part { background: #fff; }
.section--tint .part:hover { border-color: var(--line); }
.section--navy { background: var(--navy-deep); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .section__lead { color: var(--on-dark-2); }

/* ---------- 1. Price guide ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px 22px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card__img { margin: 0 -22px 18px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint-2); }
.price-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.price-card:hover .price-card__img img { transform: scale(1.05); }
.price-card h3 { font-size: 1.05rem; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.price-card h3 .ic { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--tint); color: var(--navy); }
.price-card ul { list-style: none; margin: 0; padding: 0; }
.price-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.price-card li:last-child { border-bottom: 0; }
.price-card li span { color: var(--text); }
.price-card li strong { color: var(--ink); font-family: var(--font-head); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-card li strong small { font: 500 .72rem var(--font-body); color: var(--text-2); margin-right: 3px; }
.prices__foot { margin-top: 26px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; border-radius: var(--radius); background: var(--tint); overflow: hidden; }
.prices__foot > img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.prices__foot-copy { padding: clamp(24px, 4vw, 44px); }
.prices__foot-copy h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.prices__foot-copy p { color: var(--text); max-width: 52ch; margin-bottom: 22px; }

/* ---------- 2. Repair tracker ---------- */
.tracker { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.tracker__img { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); position: sticky; top: calc(var(--topbar-h) + var(--bar-h) + 24px); }
.tracker__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.tracker__img figcaption .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #128c4a; color: #fff; stroke-width: 3; }
.tracker__copy .tracker__panel { margin-top: 24px; }
.tracker__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; align-items: end; }
.tracker__form .btn { grid-column: 1 / -1; }
.tracker__form label { color: var(--on-dark); }
.tracker__form input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 13px 15px; text-transform: uppercase; }
.tracker__form input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.tracker__form input::placeholder { text-transform: none; color: #6d7790; }
.tracker__hint { margin-top: 14px; font-size: .9rem; color: #ffd98a; }
.tracker__panel { background: #fff; color: var(--text); border-radius: 16px; padding: clamp(20px, 3vw, 28px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.tracker__empty { display: flex; align-items: center; gap: 16px; color: var(--text-2); }
.tracker__empty .ic { flex: none; width: 52px; height: 52px; padding: 12px; border-radius: 12px; background: var(--tint); color: var(--navy); stroke-width: 1.6; }
.tracker__empty strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; }
.tracker__empty span { font-size: .93rem; }
.job__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.job__head strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.15rem; }
.job__head span { color: var(--text-2); font-size: .9rem; }
.job__badge { padding: 6px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red-deep); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.job__badge--done { background: #e7f6ec; color: #11733f; }
.job__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.job__steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 9px 0; color: var(--text-2); font-weight: 500; }
.job__steps li::before { content: ""; position: absolute; left: 13px; top: 34px; bottom: -10px; width: 2px; background: var(--line); }
.job__steps li:last-child::before { display: none; }
.job__dot { position: relative; z-index: 1; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); }
.job__dot .ic { width: 14px; height: 14px; stroke-width: 3; color: #fff; display: none; }
.job__steps li.is-done { color: var(--ink); }
.job__steps li.is-done .job__dot { background: var(--navy); border-color: var(--navy); }
.job__steps li.is-done .job__dot .ic { display: block; }
.job__steps li.is-done::before { background: var(--navy); }
.job__steps li.is-now { color: var(--ink); font-weight: 600; }
.job__steps li.is-now .job__dot { border-color: var(--red); background: var(--red-soft); }
.job__steps li.is-now .job__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.job__note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--tint); font-size: .95rem; }
.job__note small { display: block; color: var(--text-2); margin-top: 4px; }
.job__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.job__error { text-align: center; display: grid; gap: 8px; justify-items: center; place-content: center; padding: 16px 0; }
.job__error .ic { width: 40px; height: 40px; color: var(--red-deep); }
.job__error strong { color: var(--ink); font-family: var(--font-head); font-size: 1.1rem; }

/* ---------- 4. Showroom filters ---------- */
.stockbar { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #cfd6e2; background: #fff; color: var(--ink); font-weight: 500; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip small { opacity: .7; margin-left: 4px; }
.stockbar__sort { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--text-2); }
.stockbar__sort select { font: inherit; font-size: 15px; color: var(--ink); padding: 9px 36px 9px 12px; border: 1px solid #cfd6e2; border-radius: 10px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6582' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; cursor: pointer; }
.stock__count { color: var(--text-2); font-size: .9rem; margin-bottom: 16px; }
.car__specs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.car__specs li { font-size: .8rem; color: var(--text-2); background: var(--tint); padding: 4px 9px; border-radius: 6px; }
.car__price { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.car__price strong { font-family: var(--font-head); color: var(--ink); font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.car__price strong.is-request { font-size: .95rem; color: var(--text-2); font-weight: 600; }
.car__price .btn { min-height: 40px; padding: 0 14px; font-size: .88rem; }

/* ---------- 3. Reviews ---------- */
.rating { display: flex; align-items: center; gap: 14px; }
.rating__score { font: 700 2.6rem/1 var(--font-head); color: var(--ink); }
.rating__stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; }
.rating span { display: block; color: var(--text-2); font-size: .9rem; }
.rating a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; font-size: .9rem; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.review__stars { color: #f5a623; letter-spacing: 2px; }
.review blockquote { margin: 0; color: var(--ink); line-height: 1.6; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.review__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 .9rem var(--font-head); flex: none; }
.review figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.review figcaption span { color: var(--text-2); font-size: .85rem; }

/* ---------- 8. Gallery, before/after, team ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--tint-2); }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left; color: #fff; font-size: .88rem; font-weight: 500; background: linear-gradient(0deg, rgba(8, 14, 32, .75), transparent); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery__item:hover span, .gallery__item:focus-visible span { opacity: 1; transform: none; }
.lightbox { padding: 0; border: 0; border-radius: 14px; max-width: min(1100px, 94vw); background: #0b1530; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 9, 20, .85); }
.lightbox img { display: block; max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; }
.lightbox p { padding: 14px 18px; color: var(--on-dark); }
.lightbox__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__close .ic { width: 20px; height: 20px; }
.ba, .team { margin-top: 48px; }
.ba h3, .team h3 { margin-bottom: 18px; }
.ba__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ba__item { margin: 0; }
.ba__frame { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; --pos: 50%; }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__frame .ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__frame input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 10px rgba(0, 0, 0, .4); }
.ba__item figcaption { margin-top: 8px; color: var(--text-2); font-size: .9rem; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team__card { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.team__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team__card figcaption { padding: 14px 16px; }
.team__card strong { display: block; color: var(--ink); }
.team__card span { color: var(--text-2); font-size: .9rem; }

/* ---------- 5. Booking with time slots ---------- */
.book-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; margin-bottom: clamp(32px, 4vw, 48px); }
.book-intro .checks { margin-bottom: 0; }
.book-intro__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.booking { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 18px; align-items: start; }
.booking__step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.booking__step h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 16px; }
.booking__step h3 span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: .85rem; }
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.day, .slot { min-height: 52px; border: 1px solid #cfd6e2; border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; font: inherit; transition: background .2s, border-color .2s, color .2s; }
.day { display: grid; place-content: center; text-align: center; padding: 6px 2px; line-height: 1.15; }
.day small { display: block; font-size: .72rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.day strong { font: 600 1.1rem var(--font-head); }
.day:hover, .slot:hover { border-color: var(--navy); }
.day[aria-checked="true"], .slot[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.day[aria-checked="true"] small { color: rgba(255, 255, 255, .8); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { font-weight: 600; font-size: .95rem; }
.slot:disabled { opacity: .45; cursor: not-allowed; }
.slot.is-past { text-decoration: line-through; }
.booking__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking__summary { margin: 16px 0 10px; padding: 12px 14px; border-radius: 10px; background: var(--tint); color: var(--ink); font-weight: 500; font-size: .95rem; }
.booking .btn { width: 100%; margin-top: 6px; }
#bookErr { display: none; margin-bottom: 6px; }
.booking.is-invalid #bookErr { display: block; }
.booked { margin-top: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--radius); background: #e7f6ec; border: 1px solid #b8e2c8; }
.booked > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #128c4a; color: #fff; stroke-width: 3; }
.booked div { flex: 1 1 260px; }
.booked strong { display: block; color: var(--ink); }
.booked span { color: var(--text); font-size: .95rem; }
.booked[hidden] { display: none; }

/* ---------- 6. Brand pages ---------- */
.brand-hero { position: relative; min-height: min(78svh, 720px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #1a1f2b; }
.brand-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.brand-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 14, 32, .82) 0%, rgba(8, 14, 32, .5) 45%, rgba(8, 14, 32, .1) 75%), linear-gradient(0deg, rgba(8, 14, 32, .55), transparent 40%); }
.brand-hero__copy { padding-block: 120px 64px; color: #fff; }
.brand-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; margin-bottom: 18px; }
.brand-hero p { max-width: 52ch; color: rgba(255, 255, 255, .9); font-size: 1.1rem; margin-bottom: 28px; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.faults { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fault { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.fault > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--red-soft); color: var(--red-deep); }
.fault h3 { font-size: 1.08rem; margin-bottom: 6px; }
.fault p { color: var(--text-2); font-size: .95rem; }
.brand-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.brand-split img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.models { list-style: none; padding: 0; margin: 20px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.models li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .92rem; }
.brand-cta { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.brand-cta .btn { margin-top: 24px; }
.brand-cta > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.brand-workshop__img { position: relative; margin: 0 0 40px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.brand-workshop__img img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.brand-workshop__img figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 20px; padding: 60px clamp(18px, 3vw, 32px) clamp(18px, 3vw, 28px); background: linear-gradient(0deg, rgba(8, 14, 32, .85), transparent); color: #fff; }
.brand-workshop__img strong { font: 600 clamp(1.2rem, 2vw, 1.6rem) var(--font-head); }
.brand-workshop__img span { grid-column: 1; color: rgba(255, 255, 255, .85); }
.brand-workshop__img .btn { grid-column: 2; grid-row: 1 / span 2; }
.other-brands { text-align: center; font-size: 1.05rem; color: var(--text-2); }
.other-brands a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.brands li a { color: inherit; transition: color .2s; }
.brands li a:hover { color: var(--red-deep); }

/* ---------- WhatsApp + phone bar ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-2px); }
.wa-float .ic { width: 26px; height: 26px; }
.wa-float[hidden] { display: none; }
.quickbar { display: none; }

/* ---------- Slide-in on scroll ----------
   main.js tags elements with data-slide="up|left|right"; untagged content is always visible.
   Photos slide in from one side, words from the other, lists cascade one after another. */
.js [data-slide] {
  opacity: 0;
  transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
.js [data-slide="up"] { transform: translate3d(0, 44px, 0); }
.js [data-slide="left"] { transform: translate3d(-72px, 0, 0); }
.js [data-slide="right"] { transform: translate3d(72px, 0, 0); }
.js [data-slide="zoom"] { transform: scale(.94); }
.js [data-slide].is-in { opacity: 1; transform: none; will-change: auto; }
html, body { overflow-x: clip; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 20px; font-size: .92rem; }
  .topbar__loc { display: none; }
}

@media (max-width: 1080px) {
  .cars { grid-template-columns: 1fr 1fr; }
  .prices, .reviews, .team__grid, .faults { grid-template-columns: 1fr 1fr; }
  .towing__list { grid-template-columns: 1fr 1fr; }
  .booking { grid-template-columns: 1fr 1fr; }
  .booking__details { grid-column: 1 / -1; }
  .gallery { grid-auto-rows: 200px; }
  .svc { grid-template-columns: 52px 1fr 140px; }
  .svc p { grid-column: 2 / -1; grid-row: 2; }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .parts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --bar-h: 72px; }
  .topbar { display: none; }
  /* no blur here: a backdrop-filter would trap the full-screen menu inside the bar */
  .header__bar { background: #fff; backdrop-filter: none; }
  .logo img { height: 48px; }
  .booker__card { grid-template-columns: 1fr 1fr; margin-top: -32px; }
  .booker__intro { grid-column: 1 / -1; }
  .booker__card .btn { grid-column: 1 / -1; }
  .faq__head { position: static; }
  .faq__img img { aspect-ratio: 16 / 10; }
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 22px; background: #fff; font: 600 1.6rem/1 var(--font-head); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__cta { font-size: 1rem; min-height: 52px; padding: 0 30px; margin-top: 8px; }
  body.menu-open { overflow: hidden; }
  .about, .process, .parts, .feature, .towing__inner, .faq, .location, .contact, .tracker { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .book-intro { grid-template-columns: 1fr; }
  .tracker__img { position: relative; top: auto; }
  .tracker__img img { aspect-ratio: 16 / 11; object-position: 50% 30%; }
  .about__media { max-width: 640px; }
  .process__img img, .parts__img img { aspect-ratio: 16 / 10; }
  .section__head--split { flex-wrap: wrap; }
  .hero { height: auto; min-height: 0; max-height: none; aspect-ratio: auto; }
}

/* Tablets and phones: the hero keeps a fixed, comfortable height */
@media (max-width: 960px) and (min-aspect-ratio: 4/5) {
  .hero { height: 74svh; min-height: 520px; }
}

/* Phones + portrait tablets: tall video fills the screen */
@media (max-width: 767px), (max-aspect-ratio: 4/5) {
  .hero { height: calc(100svh - var(--bar-h)); min-height: 560px; max-height: none; }
  .slide { align-items: flex-end; padding-bottom: 48px; }
  .slide__shade { background: linear-gradient(0deg, rgba(8, 14, 32, .85) 0%, rgba(8, 14, 32, .5) 40%, rgba(8, 14, 32, 0) 70%); }
  .slide__title { font-size: clamp(2rem, 8.6vw, 3.2rem); }
  .slide__content { padding-bottom: 0; }
  .hero__pause { top: 14px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .slide__actions .btn { flex: 1 1 100%; }
  .booker__card { grid-template-columns: 1fr; padding: 22px 20px; margin-top: 0; border-radius: 0 0 16px 16px; border-top: 0; }
  .wrap:has(> .booker__card) { padding-inline: 0; }
  .brands { padding-top: 44px; }
  .brands__inner { gap: 12px; }
  .brands li { padding: 4px 14px; font-size: 1.05rem; }
  .brands li + li { border-left: 0; }
  .faq__help { position: static; margin: 0; border-radius: 0; grid-template-columns: 1fr; box-shadow: none; background: var(--tint); }
  .faq__help .btn { grid-column: 1; grid-row: auto; margin-top: 10px; justify-self: start; }
  .section__head--split { display: block; }
  .section__head--split h2 { max-width: none; }
  .section__head--split .section__lead { margin-top: 14px; }
  .promises { grid-template-columns: 1fr; }
  .about__media { padding: 0 10% 22% 0; }
  .svc { grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 20px 18px; }
  .svc__ic { width: 40px; height: 40px; padding: 9px; }
  .svc p, .svc__go { grid-column: 2; }
  .svc__go { grid-row: 3; justify-self: start; margin-top: 4px; }
  .cars { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .prices, .reviews, .team__grid, .ba__grid, .faults { grid-template-columns: 1fr; }
  .brand-split { grid-template-columns: 1fr; }
  .brand-hero__copy { padding-block: 90px 40px; }
  .brand-cta { grid-template-columns: 1fr; }
  .brand-cta .btn { width: 100%; }
  .brand-workshop__img img { aspect-ratio: 4 / 3; }
  .brand-workshop__img figcaption { grid-template-columns: 1fr; padding-top: 80px; }
  .brand-workshop__img .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  .prices__foot { grid-template-columns: 1fr; }
  .prices__foot > img { min-height: 0; aspect-ratio: 16 / 10; }
  .prices__foot .btn { width: 100%; }
  .towing__list { grid-template-columns: 1fr; }
  .towing__img figcaption, .tracker__img figcaption { left: 10px; bottom: 10px; font-size: .8rem; padding: 8px 12px; }
  .tracker__empty { align-items: flex-start; }
  .tracker__form { grid-template-columns: 1fr; }
  .tracker__panel { min-height: 0; }
  .tracker__empty { min-height: 0; }
  .booking { grid-template-columns: 1fr; }
  .booking__fields { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .stockbar { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .stockbar > * { min-width: 0; }
  .stockbar__sort { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .stockbar__sort select { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(1) ~ .gallery__item:last-child:nth-child(even) { grid-column: span 2; }
  .gallery__item span { opacity: 1; transform: none; font-size: .78rem; padding: 20px 10px 8px; }
  .rating { margin-top: 16px; }
  .towing__actions .btn { flex: 1 1 100%; }
  .map { min-height: 320px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(4) { grid-column: 1 / -1; }
  .footer ul { gap: 0; }
  .footer ul a { display: inline-block; padding: 9px 0; }
  .footer__contact li { align-items: center; }
  .footer__contact .ic { margin-top: 0; }

  .quickbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .quickbar.is-on { transform: none; }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 6px; border-radius: 10px; background: var(--tint); color: var(--ink); font-weight: 600; font-size: .88rem; white-space: nowrap; }
  .quickbar .ic { width: 18px; height: 18px; }
  .quickbar__tow { background: var(--red) !important; color: #fff !important; }
  .quickbar__wa { background: #128c4a !important; color: #fff !important; }
  .wa-float { display: none !important; } /* the phone bar already has WhatsApp */
  .footer { padding-bottom: 76px; }
}

/* phones: shorter, vertical slides only (sideways slides can push the page wider) */
@media (max-width: 767px) {
  .js [data-slide="left"], .js [data-slide="right"], .js [data-slide="up"] { transform: translate3d(0, 28px, 0); }
  .js [data-slide] { transition-duration: .55s, .7s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .js [data-slide] { opacity: 1; transform: none; }
}
