/* ==========================================================================
   Total Tuning Ireland — site stylesheet. Plain CSS, no build step.
   Colours come from the logo: red #F80404 on black, with chrome/silver text.

   1. Tokens   2. Base   3. Layout   4. Buttons & small parts
   5. Header   6. Hero   7. Sections & cards   8. Forms   9. Footer & bars
   Breakpoints: 640px, 900px, 1100px.
   ========================================================================== */

/* 0. Fonts — self-hosted variable fonts (Latin subset, from Google Fonts, OFL) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/saira-latin.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/saira-italic-latin.woff2") format("woff2"); }

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #0a0a0b;
  --bg-alt: #111114;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --border: rgb(255 255 255 / 0.08);
  --border-strong: rgb(255 255 255 / 0.16);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;

  --red: #f80404;
  --red-bright: #ff2d2d;
  --red-deep: #b30000;
  --red-glow: rgb(248 4 4 / 0.35);
  --gradient-red: linear-gradient(135deg, #ff2d2d 0%, #e00000 55%, #a80000 100%);
  --gradient-chrome: linear-gradient(180deg, #ffffff 0%, #e4e4e7 45%, #9ca3af 55%, #f4f4f5 100%);
  --wa: #25d366;

  --font-head: "Saira", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgb(0 0 0 / 0.8);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.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: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.icon, .icon-xs, .icon-lg { flex-shrink: 0; width: 18px; height: 18px; stroke-width: 2; }
.icon-xs { width: 14px; height: 14px; }
.icon-lg { width: 26px; height: 26px; }

.text-red { color: var(--red-bright); }
.text-chrome { background: var(--gradient-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 0.875rem; }
.break { overflow-wrap: anywhere; }
.link { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: #fff; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 800px; }
.container--mid { max-width: 920px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.section { padding: 64px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .section { padding: 96px 0; } .section--tight { padding: 64px 0; } }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red-bright);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--gradient-red); transform: skewX(-20deg); }
.section-head .eyebrow::after { content: ""; width: 22px; height: 3px; background: var(--gradient-red); transform: skewX(-20deg); }
.title {
  font-family: var(--font-head); font-weight: 800; font-style: italic; letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; text-transform: uppercase;
}
.lead { margin-top: 16px; color: var(--muted); font-size: 1.075rem; }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--reverse > :first-child { order: 2; } }
.split .lead { margin-bottom: 24px; }
.rounded-img img, img.rounded-img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 4. Buttons & small parts ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--gradient-red); color: #fff; box-shadow: 0 8px 24px -8px var(--red-glow); }
.btn--primary:hover { box-shadow: 0 12px 32px -8px rgb(248 4 4 / 0.6); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--ghost { background: rgb(255 255 255 / 0.06); border-color: var(--border-strong); color: #fff; backdrop-filter: blur(8px); }
.btn--ghost:hover, .btn--outline:hover { border-color: var(--red); }
.btn--outline { border-color: var(--border-strong); color: #fff; }
.btn--light { background: #fff; color: #111; }
.btn--outline-light { border-color: rgb(255 255 255 / 0.5); color: #fff; }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.1); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.icon-tile {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px; background: rgb(248 4 4 / 0.1); border: 1px solid rgb(248 4 4 / 0.3); color: var(--red-bright);
}
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile--solid { background: var(--gradient-red); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px var(--red-glow); }
.icon-tile--wa { background: rgb(37 211 102 / 0.12); border-color: rgb(37 211 102 / 0.4); color: var(--wa); }

.more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--red-bright); }
.more .icon { transition: transform 0.2s var(--ease); }
a:hover .more .icon, .more:hover .icon { transform: translateX(4px); }
.more--lg { font-size: 1rem; padding-top: 0; }

.ticklist { display: grid; gap: 12px; margin: 20px 0 24px; }
.ticklist li { display: flex; gap: 10px; align-items: flex-start; color: #e4e4e7; }
.ticklist .icon { color: var(--red-bright); margin-top: 3px; }
.ticklist--lg { margin-top: 28px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 0.875rem; color: var(--dim); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--muted); }

/* 5. Header ---------------------------------------------------------------- */
.topbar { display: none; background: #000; border-bottom: 1px solid var(--border); font-size: 0.8125rem; color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item .icon { width: 14px; height: 14px; color: var(--red-bright); }
.topbar__link:hover { color: #fff; }
.topbar__end { display: flex; align-items: center; gap: 16px; }
.topbar__social { display: flex; gap: 6px; }
.social-link--sm { width: 26px; height: 26px; border-radius: 7px; }
.social-link--sm .icon { width: 14px; height: 14px; }
@media (min-width: 900px) { .topbar { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(10 10 11 / 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); transition: background 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgb(5 5 6 / 0.96); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 70%, transparent); opacity: 0.6; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.header__logo img { width: 170px; height: auto; }
@media (min-width: 1100px) { .header__logo img { width: 200px; } }

.nav { display: none; align-items: center; gap: 2px; }
@media (min-width: 1100px) { .nav { display: flex; } }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 0.925rem; color: #d4d4d8; transition: color 0.2s, background 0.2s; }
.nav__link:hover { color: #fff; background: rgb(255 255 255 / 0.05); }
.nav__link.is-active { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 8px 8px 0 0; }
.nav__dropdown { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; width: 290px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s var(--ease);
}
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__dropdown:hover .nav__menu, .nav__dropdown:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 0.925rem; color: #d4d4d8; }
.nav__menu-link .icon { color: var(--red-bright); }
.nav__menu-link:hover, .nav__menu-link.is-active { background: rgb(248 4 4 / 0.1); color: #fff; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: none; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.header__phone .icon { color: var(--red-bright); }
.header__phone:hover { color: var(--red-bright); }
@media (min-width: 640px) { .header__phone { display: inline-flex; } }
.header__quote { display: none; }
@media (min-width: 900px) { .header__quote { display: inline-flex; } }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgb(255 255 255 / 0.05); border: 1px solid var(--border); }
@media (min-width: 1100px) { .menu-toggle { display: none; } }

.mobile-menu { border-top: 1px solid var(--border); background: rgb(10 10 11 / 0.98); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu__nav { display: grid; padding-top: 12px; padding-bottom: 24px; }
.mobile-menu__link { padding: 14px 4px; border-bottom: 1px solid var(--border); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; }
.mobile-menu__link.is-active { color: var(--red-bright); }
.mobile-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__img, .hero picture img, .page-hero__img, .page-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(5 5 6 / 0.96) 0%, rgb(5 5 6 / 0.82) 45%, rgb(5 5 6 / 0.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__inner { display: grid; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
@media (min-width: 1100px) { .hero__inner { grid-template-columns: 1.25fr 0.85fr; gap: 64px; padding-top: 96px; padding-bottom: 120px; min-height: 640px; } }
.eyebrow--chip { padding: 6px 14px; border-radius: 999px; background: rgb(248 4 4 / 0.12); border: 1px solid rgb(248 4 4 / 0.35); color: #fff; letter-spacing: 0.08em; font-size: 0.75rem; }
.eyebrow--chip::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 4px rgb(248 4 4 / 0.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(248 4 4 / 0); } }
.hero__title {
  margin-top: 8px; font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem); line-height: 1; letter-spacing: -0.015em;
}
.hero__title span { display: block; }
.hero__slogan { margin-top: 14px; font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.1; letter-spacing: 0.01em; }
.hero__lead { margin-top: 24px; max-width: 590px; font-size: 1.125rem; font-weight: 500; color: #e4e4e7; }
.hero__lead--sub { margin-top: 12px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 0.9rem; color: #d4d4d8; }
.hero__checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero__checks .icon { color: var(--red-bright); width: 16px; height: 16px; }

.hero__card {
  position: relative; padding: 28px; border-radius: 18px;
  background: linear-gradient(180deg, rgb(29 29 34 / 0.92), rgb(17 17 20 / 0.92)); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.hero__card::before { content: ""; position: absolute; inset: 0 24px auto; height: 3px; background: var(--gradient-red); border-radius: 0 0 4px 4px; }
.hero__card-title { font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.6rem; line-height: 1.15; margin-bottom: 6px; }
.hero__card .plate-link { margin-top: 20px; }
.hero__card-alt { margin-top: 16px; font-size: 0.9rem; color: var(--muted); text-align: center; }

/* Irish plate */
.plate-link { display: grid; gap: 12px; }
.plate {
  display: flex; align-items: stretch; height: 64px; overflow: hidden;
  background: #fff; border: 3px solid #111; border-radius: 10px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.4), 0 10px 30px -10px rgb(0 0 0 / 0.8);
  transition: box-shadow 0.2s var(--ease);
}
.plate-link:hover .plate { box-shadow: 0 0 0 2px var(--red), 0 10px 30px -10px var(--red-glow); }
.plate__band { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 46px; background: #003399; color: #fff; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em; }
.plate__stars { width: 24px; height: 24px; }
.plate__text { flex: 1; display: grid; place-items: center; color: #111; font-family: "Arial Narrow", Arial, sans-serif; font-weight: 700; font-size: clamp(1.2rem, 4.8vw, 1.6rem); letter-spacing: 0.06em; }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(5 5 6 / 0.95) 0%, rgb(5 5 6 / 0.75) 60%, rgb(5 5 6 / 0.5) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.page-hero__inner { padding-top: 64px; padding-bottom: 64px; max-width: 1200px; }
@media (min-width: 900px) { .page-hero__inner { padding-top: 104px; padding-bottom: 96px; } }
.page-hero__title { max-width: 820px; font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.02; letter-spacing: -0.01em; }
.page-hero__lead { margin-top: 18px; max-width: 640px; font-size: 1.125rem; color: #d4d4d8; }

/* 7. Sections & cards ------------------------------------------------------ */
.trust { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust__grid { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; }
.trust__text { font-size: 0.9rem; color: var(--muted); }

.card { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.card--accent { border-color: rgb(248 4 4 / 0.3); box-shadow: 0 0 0 1px rgb(248 4 4 / 0.08), var(--shadow); }
.card--accent::before, .card--form::before { content: ""; position: absolute; inset: 0 24px auto; height: 3px; background: var(--gradient-red); border-radius: 0 0 4px 4px; }
.card--form { padding: 24px; }
@media (min-width: 640px) { .card--form { padding: 32px; } }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin: 12px 0 8px; text-transform: uppercase; }
.card--form .card__title, .card--accent .card__title { margin-top: 0; }

.feature-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature { position: relative; isolation: isolate; display: flex; min-height: 380px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.feature:hover img { transform: scale(1.05); }
.feature__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(5 5 6 / 0.97) 15%, rgb(5 5 6 / 0.55) 60%, rgb(5 5 6 / 0.25) 100%); }
.feature__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px; width: 100%; }
@media (min-width: 640px) { .feature__body { padding: 36px; } }
.feature__title { font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 2rem; line-height: 1.05; margin-top: 8px; }
.feature__text { color: #d4d4d8; max-width: 440px; }
.feature:hover { border-color: rgb(248 4 4 / 0.5); }

.service-card {
  display: flex; flex-direction: column; gap: 8px; padding: 26px; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.service-card:hover { border-color: rgb(248 4 4 / 0.5); transform: translateY(-4px); background: var(--surface-2); }
.service-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.2; margin-top: 10px; text-transform: uppercase; }
.service-card__lead { font-weight: 600; color: #e4e4e7; }
.service-card__text { color: var(--muted); font-size: 0.95rem; }
.service-card--cta { background: linear-gradient(160deg, rgb(248 4 4 / 0.16), var(--surface) 60%); border-color: rgb(248 4 4 / 0.3); }
.service-card--compact { padding: 22px; }
.service-card--photo { padding: 0; overflow: hidden; }
.service-card__media { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card--photo:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; position: relative; }
.service-card--photo .icon-tile { position: absolute; top: -23px; left: 24px; background: var(--gradient-red); color: #fff; border: 0; box-shadow: 0 8px 20px -6px var(--red-glow); }
.services-note { margin-top: 32px; }

.vehicle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .vehicle-grid { grid-template-columns: repeat(4, 1fr); } }
.vehicle { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; }
.vehicle .icon { width: 28px; height: 28px; color: var(--red-bright); }

.steps { display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 32px 28px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.step__num { position: absolute; right: 18px; top: 4px; font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 5rem; line-height: 1; color: rgb(255 255 255 / 0.05); }
.step__icon { width: 30px; height: 30px; color: var(--red-bright); }
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; margin: 16px 0 6px; }
.step__text { color: var(--muted); }

.county-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .county-chips { grid-template-columns: repeat(3, 1fr); } }
.county-chip { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; transition: border-color 0.2s, background 0.2s; }
.county-chip .icon { color: var(--red-bright); width: 16px; height: 16px; }
.county-chip:hover { border-color: rgb(248 4 4 / 0.5); background: var(--surface-2); }

.county-card { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 20px); }
.county-card:target { border-color: var(--red); box-shadow: 0 0 0 3px rgb(248 4 4 / 0.15); }
.county-card__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; }
.county-card__title .icon { color: var(--red-bright); }
.county-card__text { margin: 10px 0 16px; color: var(--muted); font-size: 0.95rem; }
.town-list { display: flex; flex-wrap: wrap; gap: 6px; }
.town-list li { padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.05); border: 1px solid var(--border); font-size: 0.825rem; color: #d4d4d8; }
.two-ways { display: grid; gap: 20px; }
.town-list--lg { margin: 8px 0 12px; }
.town-list--lg li { font-size: 0.9rem; padding: 6px 12px; }
.county-card .more { padding-top: 16px; }
.nearby-head { margin: 28px 0 10px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.875rem; color: var(--muted); }
.county-chips--inline { grid-template-columns: 1fr; }
@media (min-width: 640px) { .county-chips--inline { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .two-ways { grid-template-columns: 1fr 1fr; } }

/* Service page */
.service-layout { display: grid; gap: 40px; }
@media (min-width: 1100px) { .service-layout { grid-template-columns: 1fr 360px; gap: 56px; align-items: start; } .service-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.prose h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.25; margin: 36px 0 12px; text-transform: uppercase; }
.prose p { color: #d4d4d8; margin-bottom: 14px; }
.prose__intro { font-size: 1.125rem; color: #e4e4e7 !important; }
.summary { margin-bottom: 28px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: var(--radius-sm); color: #d4d4d8; }
.summary strong { color: var(--red-bright); }
.aside-price { margin-bottom: 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; color: #fff; }
.service-aside .btn + .btn { margin-top: 10px; }
.aside-phone { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.aside-phone:hover { color: var(--red-bright); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-bottom: 32px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color 0.2s; }
.faq__item[open] { border-color: rgb(248 4 4 / 0.4); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { width: 20px; height: 20px; color: var(--red-bright); transition: transform 0.25s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 22px; color: var(--muted); }

/* CTA */
.cta {
  position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center;
  padding: 40px 28px; border-radius: 20px; background: var(--gradient-red); box-shadow: 0 30px 60px -30px var(--red-glow);
}
@media (min-width: 900px) { .cta { grid-template-columns: 1.2fr 1fr; padding: 56px; } }
.cta__stripes { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgb(0 0 0 / 0) 0 40px, rgb(0 0 0 / 0.08) 40px 80px); pointer-events: none; }
.cta__body, .cta__actions { position: relative; }
.cta .eyebrow { color: #fff; }
.cta .eyebrow::before { background: #fff; }
.cta__title { font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; }
.cta__text { margin-top: 12px; color: rgb(255 255 255 / 0.9); }
.cta__actions { display: grid; gap: 12px; }
@media (min-width: 640px) { .cta__actions { grid-template-columns: 1fr 1fr; } .cta__actions .btn:first-child { grid-column: 1 / -1; } }

/* Lookup */
.lookup-card { padding: 28px; }
@media (min-width: 640px) { .lookup-card { padding: 40px; } }
.lookup-card::before { content: ""; position: absolute; inset: 0 24px auto; height: 3px; background: var(--gradient-red); border-radius: 0 0 4px 4px; }
/* remappingwebsite.com widget: it expects Bootstrap utilities (mb-0 etc.)
   that this site doesn't load, so tidy its title bar here. */
#vehicle-lookup-container .card-header { padding: 0.7rem 1.25rem !important; }
#vehicle-lookup-container .card-header h5 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; }

/* Quote section & contact */
.quote-split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1100px) { .quote-split { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } .quote-split > :first-child { position: sticky; top: calc(var(--header-h) + 32px); } }
.contact-mini { display: grid; gap: 12px; margin-top: 28px; }
.contact-mini__item, .contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color 0.2s; }
a.contact-mini__item:hover, a.contact-card:hover { border-color: rgb(248 4 4 / 0.5); }
.contact-mini__item strong, .contact-card strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.contact-mini__item small, .contact-card small { display: block; color: var(--muted); font-size: 0.875rem; }
.contact-card--wa { border-color: rgb(37 211 102 / 0.35); }
.contact-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1100px) { .contact-layout { grid-template-columns: 1.3fr 0.9fr; } }
.contact-cards { display: grid; gap: 12px; }
.form-intro { margin-bottom: 20px; }

.notfound__links { margin: 32px 0 8px; text-align: left; }

/* 8. Forms ----------------------------------------------------------------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: 0.875rem; font-weight: 600; color: #e4e4e7; }
.field__hint { font-weight: 400; color: var(--dim); }
.req { color: var(--red-bright); }
.field__input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-strong); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input::placeholder { color: var(--dim); }
.field__input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgb(248 4 4 / 0.2); }
.field__input:disabled { opacity: 0.6; cursor: not-allowed; }
.field__input--reg { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.field__input--reg::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }
select.field__input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ff2d2d' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select.field__input option { background: var(--surface); }
textarea.field__input { resize: vertical; min-height: 96px; }
.field.is-invalid .field__input { border-color: var(--red); }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 0.9rem; cursor: pointer; transition: all 0.2s; }
.pill input:checked + span { background: rgb(248 4 4 / 0.15); border-color: var(--red); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: var(--radius-sm); background: rgb(248 4 4 / 0.12); border: 1px solid rgb(248 4 4 / 0.4); color: #fecaca; font-size: 0.925rem; }
.form-note { margin-top: 12px; font-size: 0.8125rem; color: var(--dim); text-align: center; }
.quote-form__sent { display: grid; justify-items: center; gap: 10px; padding: 32px 8px; text-align: center; color: var(--muted); }
.quote-form__sent-icon { width: 56px; height: 56px; color: var(--wa); }
.quote-form__sent-title { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: #fff; }

/* 9. Footer & fixed bars --------------------------------------------------- */
.site-footer { position: relative; margin-top: 32px; background: #050506; border-top: 1px solid var(--border); padding-bottom: 72px; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
@media (min-width: 900px) { .site-footer { padding-bottom: 0; } }
.footer__grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer__logo { width: 210px; height: auto; }
.footer__about { margin-top: 16px; color: var(--muted); font-size: 0.925rem; max-width: 360px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.social-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgb(255 255 255 / 0.05); border: 1px solid var(--border); color: #d4d4d8; transition: all 0.2s; }
.social-link:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer__heading { font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer__links { display: grid; gap: 8px; font-size: 0.925rem; color: var(--muted); }
.footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; font-size: 0.925rem; color: var(--muted); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--red-bright); margin-top: 3px; width: 16px; height: 16px; }
.footer__email { overflow-wrap: anywhere; }
.footer__bottom { border-top: 1px solid var(--border); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; font-size: 0.8125rem; color: var(--dim); }
.footer__bottom a:hover { color: #fff; }

.whatsapp-float { display: none; position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgb(37 211 102 / 0.6); transition: transform 0.2s var(--ease); }
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); }
@media (min-width: 900px) { .whatsapp-float { display: grid; } }

.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgb(5 5 6 / 0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--border-strong); }
@media (min-width: 900px) { .action-bar { display: none; } }
.action-bar__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; }
.action-bar__btn--wa { background: var(--wa); color: #06210f; border-color: transparent; }
.action-bar__btn--quote { background: var(--gradient-red); color: #fff; border-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Google reviews carousel (includes/google-reviews.php) ------------------- */
.gr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.gr-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); }
.gr-score { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #fff; line-height: 1; }
.stars { display: inline-flex; gap: 2px; }
.star { width: 18px; height: 18px; color: rgb(255 255 255 / 0.18); }
.star--on { color: #fbbc04; }
.gr-nav { display: flex; gap: 10px; flex-shrink: 0; }
.gr-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-strong); color: #fff; transition: border-color 0.2s, background 0.2s; }
.gr-btn:hover { border-color: var(--red); background: rgb(248 4 4 / 0.12); }
.gr-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 88%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
@media (min-width: 640px) { .gr-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (min-width: 1100px) { .gr-track { grid-auto-columns: calc((100% - 40px) / 3); } }
.gr-track:focus-visible { outline-offset: 6px; }
.gr-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.section--alt .gr-card { background: var(--surface-2); }
.gr-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gr-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--muted); }
.gr-badge .icon { width: 14px; height: 14px; }
.gr-text { color: #e4e4e7; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gr-card.open .gr-text { -webkit-line-clamp: unset; display: block; }
.gr-more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--red-bright); font-weight: 600; font-size: 0.9rem; }
.gr-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.gr-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.gr-avatar--initial { display: grid; place-items: center; background: var(--gradient-red); color: #fff; font-family: var(--font-head); font-weight: 700; }
.gr-name { display: block; font-weight: 600; color: #fff; }
a.gr-name:hover { color: var(--red-bright); }
.gr-when { display: block; font-size: 0.8125rem; color: var(--dim); }
.gr-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; }
.gr-foot .more { padding-top: 0; }

/* Real-photo mosaic (home) and gallery (about) ------------------------------ */
.photo-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-mosaic picture, .photo-mosaic > img { display: block; }
.photo-mosaic img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.photo-mosaic > picture:first-child { grid-column: 1 / -1; }
.photo-mosaic > picture:first-child img { aspect-ratio: 16 / 10; }
.photo-mosaic__more { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; color: var(--red-bright); }
.photo-mosaic__more:hover .icon { transform: translateX(4px); }
.photo-mosaic__more .icon { transition: transform 0.2s var(--ease); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__link { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.gallery__img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery__link:hover .gallery__img { transform: scale(1.05); }
.gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; background: linear-gradient(0deg, rgb(5 5 6 / 0.9), transparent); font-size: 0.85rem; font-weight: 600; }

/* Shop (products.php, product.php, mail-in) -------------------------------- */
.shop-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.shop-filter__link { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 0.9rem; color: #d4d4d8; }
.shop-filter__link:hover { border-color: var(--red); color: #fff; }
.shop-filter__link.is-active { background: rgb(248 4 4 / 0.15); border-color: var(--red); color: #fff; }
.shop-empty { display: grid; justify-items: start; gap: 6px; max-width: 720px; }
.product-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.product-card:hover { border-color: rgb(248 4 4 / 0.5); transform: translateY(-4px); }
.product-card__media { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--border); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--surface-2); color: var(--dim); }
.product-card__placeholder--lg { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.product-card__placeholder .icon-lg { width: 48px; height: 48px; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.product-card__cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-bright); }
.product-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; text-transform: uppercase; }
.product-card__text { color: var(--muted); font-size: 0.925rem; }
.product-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; }
.product-card__foot .more { padding-top: 0; }
.product-card__price { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }

.breadcrumb--top { padding-top: 24px; }
.product-layout { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .product-layout { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.product-gallery__main { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.product-gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.product-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product-gallery__thumb { width: 72px; height: 72px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid var(--border-strong); background: #fff; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb.is-active, .product-gallery__thumb:hover { border-color: var(--red); }
.product-info__title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.product-info__price { margin-top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: #fff; }
.product-info__summary { margin-top: 8px; }
.product-compat { margin-top: 28px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.product-compat__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; }
.product-compat .ticklist { margin: 12px 0 0; }
.form-product { padding: 12px 14px; border-radius: var(--radius-sm); background: rgb(248 4 4 / 0.08); border: 1px solid rgb(248 4 4 / 0.3); }
.summary--wide { margin-bottom: 32px; }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1099px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }

/* Admin (/admin/) ----------------------------------------------------------- */
.admin { background: var(--bg); }
.admin-bar { background: #000; border-bottom: 1px solid var(--border-strong); }
.admin-bar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; }
.admin-bar__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; }
.admin-bar__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 0.925rem; }
.admin-bar__nav a:hover, .admin-link:hover { color: var(--red-bright); }
.inline-form { display: inline; }
.admin-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.admin-main { padding-top: 32px; padding-bottom: 64px; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.admin-flash { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid rgb(37 211 102 / 0.4); background: rgb(37 211 102 / 0.1); }
.admin-flash--warn { border-color: rgb(251 188 4 / 0.5); background: rgb(251 188 4 / 0.1); }
.admin-login { max-width: 420px; margin: 40px auto; }
.admin-form { display: grid; gap: 16px; }
.admin-form--grid { gap: 20px; }
@media (min-width: 1000px) { .admin-form--grid { grid-template-columns: 1.4fr 1fr; align-items: start; } .admin-form__wide { grid-column: 1 / -1; } }
.admin-form .card { display: grid; gap: 16px; }
.field__help { font-size: 0.8125rem; color: var(--dim); }
.check { display: flex; align-items: center; gap: 8px; font-size: 0.925rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.check--danger { color: #fca5a5; }
.admin-save { display: flex; gap: 12px; }
.admin-delete { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.btn--danger { border-color: rgb(248 4 4 / 0.5); color: #fca5a5; }
.btn--danger:hover { background: rgb(248 4 4 / 0.15); }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.admin-tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 0.875rem; }
.admin-tabs a.is-active { background: rgb(248 4 4 / 0.15); border-color: var(--red); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.925rem; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--surface); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #fff; display: grid; place-items: center; color: var(--dim); }
.admin-thumb--empty { background: var(--surface-2); }
.admin-name { font-weight: 600; }
.admin-name:hover { color: var(--red-bright); }
.admin-actions { white-space: nowrap; display: flex; gap: 14px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.badge--active { background: rgb(37 211 102 / 0.15); color: #86efac; }
.badge--hidden { background: rgb(255 255 255 / 0.08); color: var(--muted); }
.admin-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.admin-image { display: grid; gap: 6px; padding: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.admin-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #fff; }
.admin code { padding: 2px 6px; border-radius: 4px; background: var(--surface-2); }

.aside-link { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 18px 20px; transition: border-color 0.2s; }
.aside-link:hover { border-color: rgb(248 4 4 / 0.5); }
.aside-link strong { display: block; font-family: var(--font-head); text-transform: uppercase; }
.aside-link small { display: block; color: var(--muted); }

/* Header fit with the Shop menu: keep items on one line; between 1100px and
   1440px show only the phone icon (the number returns on wide screens). */
.nav__link, .header__phone { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1439px) {
  .nav__link { padding: 8px 9px; font-size: 0.9rem; }
  .header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--border-strong); border-radius: 10px; }
  .header__logo img { width: 170px; }
}

/* Contact page: vehicle lookup card (last in the contact column) */
.contact-card--lookup { margin-top: 8px; background: linear-gradient(160deg, rgb(248 4 4 / 0.16), var(--surface) 65%); border-color: rgb(248 4 4 / 0.35); }
.contact-card--lookup:hover { border-color: var(--red); }
.contact-card--lookup__body { flex: 1; }
.contact-card--lookup__eyebrow { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-bright); }
.contact-card--lookup__arrow { color: var(--red-bright); transition: transform 0.2s var(--ease); }
.contact-card--lookup:hover .contact-card--lookup__arrow { transform: translateX(4px); }

/* Guides, author box, related links ------------------------------------------ */
.guide-meta { margin-bottom: 16px; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: var(--radius-sm); }
.author-box__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box__name { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; color: #fff; margin: 0 0 4px !important; }
.author-box__text { font-size: 0.95rem; margin: 0 0 6px !important; }
.author-box .more { padding-top: 4px; }
.guide-related { margin-top: 16px; }
.guide-related__list, .faq-more__list { display: grid; gap: 4px; }
.guide-related__list .more, .faq-more__list .more { padding-top: 6px; }
.faq-more { margin-top: 8px; }
@media (min-width: 640px) { .faq-more__list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.author-box picture { flex-shrink: 0; width: 72px; height: 72px; }
