/* TyreAid UK — bold roadside signage: white pages, black bands, lime speed accents */
:root {
  --ink: #0B0D0C;
  --paper: #FFFFFF;
  --mist: #F1F4EF;
  --line: #DCE2D8;
  --muted: #4B5550;
  --night: #0E120F;
  --night-2: #171C18;
  --on-night: #F4F7F2;
  --on-night-muted: #B9C2BB;
  --lime: #7AD12B;
  --green: #2A7F10;
  --green-hover: #226B0C;
  --display: "Exo 2", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

h1, h2, h3, .display { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; font-weight: 800; }
.hl { color: var(--green); }
.band-dark .hl, .hero-dark .hl { color: var(--lime); }
p { margin: 0; }
.lead { font-size: 20px; color: var(--muted); max-width: 60ch; }
.eyebrow { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.band-dark .eyebrow { color: var(--lime); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 8px; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green); color: #FFFFFF; }
.btn-primary:hover { background: var(--green-hover); color: #FFFFFF; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.band-dark .btn-ghost { color: var(--on-night); border-color: var(--on-night); }
.band-dark .btn-ghost:hover { background: var(--on-night); color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { flex: none; display: block; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { border-bottom-color: var(--lime); }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: 16px; border-bottom: 2px solid transparent; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .brand img { height: 46px; }
}

/* Hero */
/* Homepage hero: van photo as the background, fading to white behind the text */
.hero { position: relative; overflow: hidden; background-color: var(--paper);
  background-image: linear-gradient(90deg, var(--paper) 0%, var(--paper) 34%, rgba(255,255,255,.88) 42%, rgba(255,255,255,0) 56%), url(../img/hero-bg.webp);
  background-repeat: no-repeat; background-position: center, right center; background-size: 100% 100%, auto 100%; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 40px; align-items: center; min-height: 580px; padding-block: 56px 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-copy .lead { color: #2F3833; }
.hero-media { display: none; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 0; margin: 4px 0 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.trust svg { width: 26px; height: 26px; color: var(--green); flex: none; }
@media (max-width: 1100px) {
  .hero { background-image: linear-gradient(90deg, var(--paper) 0%, var(--paper) 40%, rgba(255,255,255,.88) 52%, rgba(255,255,255,.1) 72%), url(../img/hero-bg.webp); }
}
@media (max-width: 860px) {
  .hero { background-image: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 32px 40px; }
  .hero-media { display: block; }
  .hero-media img { border-radius: var(--radius); width: 100%; }
}

/* Photo backgrounds for inner page heroes and panels (image set inline as --bg) */
.page-hero.has-bg { background-color: var(--night); background-repeat: no-repeat; }
.page-hero.has-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,15,1) 0%, rgba(14,18,15,.96) 34%, rgba(14,18,15,.5) 62%, rgba(14,18,15,.2) 100%); }
.page-hero.has-bg::after { display: none; }
.page-hero.has-bg .wrap { padding-block: 84px 80px; }
@media (max-width: 760px) {
  .page-hero.has-bg { background-size: cover !important; background-position: center !important; }
  .page-hero.has-bg::before { background: rgba(14,18,15,.84); }
}

.page-hero.has-art::after { display: none; }
.page-hero.has-art .wrap { padding-block: 84px 80px; }
.hero-art { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 62%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 78%); mask-image: linear-gradient(90deg, transparent 0%, #000 78%); }
@media (max-width: 760px) { .hero-art { max-width: 100%; width: 100%; opacity: .28; } }

.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel-bg { min-height: 400px; padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0;
  background-repeat: no-repeat; background-color: var(--night); color: var(--on-night); }
.panel-bg .lead { font-size: 18px; color: var(--on-night-muted); }
.panel-bg .hl { color: var(--lime); }
.panel-bg h2 { font-size: clamp(28px, 3vw, 40px); }
.p-map { background-color: #07130A; background-image: linear-gradient(90deg, #07130A 0%, rgba(7,19,10,.92) 45%, rgba(7,19,10,.2) 80%), url(../img/map-bg.webp); background-position: center, right center; background-size: 100% 100%, auto 100%; }
.p-tyres { background-color: #0B0D0C; background-image: linear-gradient(0deg, #0B0D0C 38%, rgba(11,13,12,.15) 78%), url(../img/tyres-bg.webp); background-position: center, center top; background-size: 100% 100%, auto 62%; justify-content: flex-end; }
.p-tech { background-color: var(--paper); color: var(--ink); background-image: linear-gradient(90deg, var(--paper) 0%, rgba(255,255,255,.95) 44%, rgba(255,255,255,0) 74%), url(../img/tech-bg.webp); background-position: center, right center; background-size: 100% 100%, auto 100%; }
.p-tech .lead { color: #2F3833; }
.p-tech .hl { color: var(--green); }
.panel-bg .ticks svg { color: var(--lime); }
@media (max-width: 980px) {
  .panels { grid-template-columns: minmax(0, 1fr); }
  .panel-bg { min-height: 340px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .p-tech { background-image: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.35) 100%), url(../img/tech-bg.webp); }
}

/* Service cards with photo tops */
.card.has-photo { padding: 0; overflow: hidden; gap: 0; }
.card.has-photo .ph { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; max-width: 100%; }
.card.has-photo .card-body { padding: 0 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card.has-photo .icon { margin-top: -28px; position: relative; border: 3px solid var(--paper); }

/* Page hero (inner pages) */
.page-hero { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.page-hero .wrap { padding-block: 64px 60px; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.page-hero .lead { color: var(--on-night-muted); }
.page-hero::after { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 46%; background: repeating-linear-gradient(-66deg, transparent 0 34px, rgba(122, 209, 43, .14) 34px 44px); pointer-events: none; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero .hl { color: var(--lime); }
.crumbs { font-size: 15px; color: var(--on-night-muted); }
.crumbs a { color: var(--on-night); }

/* Bands */
.band { padding-block: 80px; }
.band-mist { background: var(--mist); }
.band-dark { background: var(--night); color: var(--on-night); }
.band-dark .lead, .band-dark .muted { color: var(--on-night-muted); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.muted { color: var(--muted); }

/* Service strip */
.strip { background: var(--night); color: var(--on-night); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.strip li a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 10px; color: var(--on-night); text-decoration: none; text-align: center; font-weight: 600; font-size: 16px; line-height: 1.25; border-right: 1px solid rgba(255,255,255,.08); }
.strip li:last-child a { border-right: 0; }
.strip li a:hover { background: var(--night-2); color: var(--lime); }
.strip svg { width: 34px; height: 34px; color: var(--lime); }
@media (max-width: 860px) { .strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .strip li a { border-bottom: 1px solid rgba(255,255,255,.08); } }

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

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card .icon { width: 56px; height: 56px; border-radius: 12px; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.card .icon svg { width: 30px; height: 30px; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 18px; height: 18px; }
.band-dark .card { background: var(--night-2); border-color: rgba(255,255,255,.08); }
.band-dark .card p { color: var(--on-night-muted); }
.band-dark .card .icon { background: var(--lime); color: var(--ink); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.steps .num { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #FFFFFF; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }
.band-dark .steps p { color: var(--on-night-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split .copy { display: flex; flex-direction: column; gap: 20px; }
.split img { border-radius: var(--radius); width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 24px; height: 24px; color: var(--green); margin-top: 2px; }
.band-dark .ticks svg { color: var(--lime); }

/* Tyre size diagram */
.sizecode { background: var(--night-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 24px; border: 1px solid rgba(255,255,255,.08); }
.sizecode .code { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(36px, 6vw, 60px); color: var(--on-night); letter-spacing: 0.02em; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sizecode .code span { border-bottom: 5px solid var(--lime); padding-bottom: 4px; }
.sizecode dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.sizecode dt { font-family: var(--display); font-style: italic; font-weight: 800; color: var(--lime); font-size: 20px; }
.sizecode dd { margin: 2px 0 0; color: var(--on-night-muted); font-size: 16px; }
@media (max-width: 640px) { .sizecode dl { grid-template-columns: minmax(0, 1fr); } }

/* Region list */
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.region { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.region h3 { display: flex; align-items: center; gap: 10px; }
.region h3 svg { width: 24px; height: 24px; color: var(--green); }
.region ul { list-style: none; margin: 0; padding: 0; color: var(--muted); display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
@media (max-width: 980px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .regions { grid-template-columns: minmax(0, 1fr); } }

/* Vehicle chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--night-2); color: var(--on-night); font-weight: 600; font-size: 16px; }
.chips svg { width: 22px; height: 22px; color: var(--lime); }
.band-mist .chips li, .band .chips li { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.band-dark .chips li { background: var(--night-2); color: var(--on-night); border-color: rgba(255,255,255,.08); }
.band-mist .chips svg { color: var(--green); }

/* CTA band */
.cta { background: var(--green); color: #FFFFFF; position: relative; overflow: hidden; }
.cta .wrap { padding-block: 56px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta h2 { color: #FFFFFF; }
.cta p { color: #E6F4DC; font-size: 19px; margin-top: 8px; }
.cta .btn { background: var(--ink); color: #FFFFFF; }
.cta .btn:hover { background: #000000; color: #FFFFFF; }
.cta::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 40%; background: repeating-linear-gradient(-66deg, transparent 0 30px, rgba(0,0,0,.08) 30px 40px); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 900; font-size: 28px; color: var(--green); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; max-width: 70ch; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 16px; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; padding: 13px 14px; border: 1.5px solid #B8C2B4; border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; border-color: var(--green); }
.form-note { grid-column: 1 / -1; padding: 16px 18px; border-radius: 8px; background: var(--mist); border: 1px solid var(--line); font-weight: 600; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.safety { background: var(--night); color: var(--on-night); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.safety h3 { color: var(--lime); }
.safety ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--on-night-muted); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-block: 64px 32px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 260px; max-width: 100%; }
.site-footer h4 { margin: 0 0 14px; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 17px; color: var(--on-night); letter-spacing: 0.04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: var(--on-night-muted); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 15px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

.service-block { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; padding-block: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.service-block:last-child { border-bottom: 0; }
.service-block .icon { width: 72px; height: 72px; border-radius: 14px; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.service-block .icon svg { width: 38px; height: 38px; }
.service-block .body { display: flex; flex-direction: column; gap: 14px; }
.service-block p { color: var(--muted); max-width: 68ch; }
@media (max-width: 560px) { .service-block { grid-template-columns: minmax(0, 1fr); } }

.notfound { padding-block: 120px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* Areas We Cover: searchable list of cities and towns */
.city-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.city-chips li { padding: 8px 16px; border-radius: 999px; background: var(--night-2); border: 1px solid rgba(255,255,255,.1); color: var(--on-night); font-weight: 600; font-size: 16px; }
.area-tools { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.area-search input { font-size: 19px; padding: 15px 16px; }
.area-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.nation-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.nation-nav a { font-weight: 700; text-decoration: none; }
.area-none { padding: 18px 20px; border-radius: var(--radius); background: var(--night); color: var(--on-night); margin-bottom: 28px; font-size: 18px; }
.area-none a { color: var(--lime); }
.nation { padding-block: 28px; scroll-margin-top: 100px; }
.nation-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; border-bottom: 3px solid var(--ink); padding-bottom: 10px; }
.nation-head h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 3.4vw, 38px); }
.nation-head h2 svg { width: 30px; height: 30px; color: var(--green); }
.counties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.county { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.county summary { cursor: pointer; list-style: none; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; }
.county summary::-webkit-details-marker { display: none; }
.county summary .count { flex: none; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--mist); color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.county[open] summary { border-bottom: 1px solid var(--line); }
.county[open] summary .count { background: var(--green); color: #FFFFFF; }
.county ul { list-style: none; margin: 0; padding: 12px 16px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; font-size: 16px; color: var(--muted); }
.county li { min-width: 0; overflow-wrap: anywhere; }
.county li.is-city { color: var(--ink); font-weight: 700; }
.county li.is-city::after { content: "City"; margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.county li mark { background: var(--lime); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.county li[hidden] { display: none; }
@media (max-width: 980px) { .counties { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .counties { grid-template-columns: minmax(0, 1fr); } .area-tools { padding: 18px; } }

/* Phone and WhatsApp */
.btn svg { width: 20px; height: 20px; }
.nav-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); border-bottom: 0 !important; }
.nav-phone svg { width: 26px; height: 26px; color: var(--green); flex: none; }
.nav-phone span { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 19px; white-space: nowrap; }
.nav-phone small { font-family: var(--body); font-style: normal; font-weight: 600; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.header-inner .nav { gap: 22px; }
@media (min-width: 981px) and (max-width: 1260px) { .nav-phone { display: none; } .nav { gap: 18px; } .nav a { font-size: 16px; } }
@media (max-width: 980px) { .nav-phone { padding: 16px 0; } }
.btn-wa { background: #FFFFFF; color: var(--ink); }
.btn-wa:hover { background: var(--mist); color: var(--ink); }
.cta .btn-wa { background: #FFFFFF; color: var(--ink); }
.cta .btn-wa:hover { background: #F0F0F0; color: var(--ink); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 20px; }
.footer-contact svg { width: 22px; height: 22px; color: var(--lime); }
.contact-card { background: var(--paper); border: 2px solid var(--green); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.contact-number { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(34px, 5vw, 46px); color: var(--ink); text-decoration: none; line-height: 1; }
.contact-number:hover { color: var(--green); }
/* Floating call and WhatsApp buttons, always on screen */
.float-contact { position: fixed; z-index: 80; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fc { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fc-icon { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .15s; flex: none; }
.fc:hover .fc-icon { transform: scale(1.06); }
.fc-icon svg { width: 34px; height: 34px; }
.fc-wa .fc-icon { background: #25D366; }
.fc-call .fc-icon { background: var(--green); color: #FFFFFF; }
.fc-call .fc-icon svg { width: 28px; height: 28px; }
.fc-label { background: var(--night); color: #FFFFFF; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; padding: 9px 14px; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.22); white-space: nowrap; }
.fc:focus-visible { outline: none; }
.fc:focus-visible .fc-icon { outline: 3px solid var(--lime); outline-offset: 3px; }
@keyframes fc-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 8px 22px rgba(0,0,0,.28); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 8px 22px rgba(0,0,0,.28); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 8px 22px rgba(0,0,0,.28); } }
.fc-wa .fc-icon { animation: fc-pulse 2.4s ease-out infinite; }
@media (max-width: 760px) {
  .fc-label { display: none; }
  .fc-icon { width: 58px; height: 58px; }
  body { padding-bottom: 24px; }
}
.site-header .wrap { max-width: 1400px; }
.nav a, .nav .btn { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1340px) { .nav-phone { display: none; } .nav { gap: 18px; } .nav a { font-size: 16px; } }

/* Recent jobs gallery */
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.job { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); min-width: 0; }
.job img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-width: 100%; }
.job figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(transparent, rgba(11,13,12,.92)); color: #FFFFFF; display: flex; flex-direction: column; gap: 2px; }
.job figcaption strong { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 20px; color: var(--lime); }
.job figcaption span { font-size: 15px; color: #E3E8E1; }
@media (max-width: 860px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .jobs { grid-template-columns: minmax(0, 1fr); } }
.fc-label { border: 1.5px solid rgba(255,255,255,.55); }
.form-note .wa-open { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--green); }

/* Floating "Get a Quote" button and pop-up form */
.fc { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.fc-form .fc-icon { background: var(--ink); color: var(--lime); border: 2px solid var(--lime); }
.fc-form .fc-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; }
.quote-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 14px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.4); overflow: auto; }
.quote-dialog::backdrop { background: rgba(11,13,12,.6); }
.qd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 18px; background: var(--night); color: var(--on-night); position: sticky; top: 0; z-index: 1; }
.qd-head h2 { font-size: 30px; color: #FFFFFF; }
.qd-head .eyebrow { color: var(--lime); margin-bottom: 4px; }
.qd-close { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: transparent; color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qd-close svg { width: 22px; height: 22px; }
.qd-close:hover { border-color: var(--lime); color: var(--lime); }
.quote-dialog .form { padding: 22px 24px 26px; }
.quote-dialog textarea { min-height: 90px; }
.qd-emergency { margin: 0; display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: #FFF4D6; color: var(--ink); font-weight: 600; font-size: 16px; border-bottom: 1px solid #F0DFA8; }
.qd-emergency svg { width: 24px; height: 24px; flex: none; color: #B45309; }
.qd-emergency a { color: var(--ink); font-weight: 800; }

/* Emergency call box shown when an urgent service is chosen */
.urgent-call { background: #B91C1C; color: #FFFFFF; border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 26px rgba(185,28,28,.3); }
.urgent-call[hidden] { display: none; }
.uc-text { display: flex; gap: 12px; align-items: flex-start; }
.uc-text svg { width: 30px; height: 30px; flex: none; color: #FFFFFF; }
.uc-text strong { display: block; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.uc-text span { color: #FDE2E2; font-size: 16px; }
.uc-number { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(32px, 5vw, 42px); color: #FFFFFF; text-decoration: none; line-height: 1; }
.uc-number:hover { color: #FFFFFF; text-decoration: underline; }
.urgent-call .btn-primary { background: #FFFFFF; color: #B91C1C; }
.urgent-call .btn-primary:hover { background: #FDE2E2; color: #991B1B; }
.urgent-call .btn-ghost { color: #FFFFFF; border-color: #FFFFFF; }
.urgent-call .btn-ghost:hover { background: #FFFFFF; color: #B91C1C; }
@media (prefers-reduced-motion: no-preference) { .urgent-call:not([hidden]) { animation: uc-in .25s ease-out; } }
@keyframes uc-in { from { transform: translateY(-6px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Service card grid: 7 services, emergency tyres card twice as wide */
.grid-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-svc > .card:first-child { grid-column: span 2; }
.grid-svc > .card:first-child h3 { font-size: 26px; }
@media (max-width: 1100px) { .grid-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-svc > .card:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .grid-svc { grid-template-columns: minmax(0, 1fr); } }
.strip ul { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 860px) { .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip li:first-child { grid-column: 1 / -1; } }

/* City and service internal links */
.city-chips a { color: var(--on-night); text-decoration: none; }
.city-chips li:has(a):hover { border-color: var(--lime); }
.city-chips a:hover { color: var(--lime); }
.city-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.city-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; }
.city-links a::after { content: "→"; color: var(--green); }
.city-links a:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 980px) { .city-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .city-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.town-chips li { font-weight: 500; }
.band-dark .chips svg { color: var(--lime); }
@media (min-width: 761px) and (max-width: 1499px) {
  .fc-label { opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .15s, transform .15s; }
  .fc:hover .fc-label, .fc:focus-visible .fc-label { opacity: 1; transform: none; }
}

/* Recovery questions shown for Breakdown Recovery and Wrong Fuel Recovery */
.recovery-fields { border: 2px solid var(--green); border-radius: var(--radius); padding: 16px 18px 20px; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--mist); min-width: 0; }
.recovery-fields[hidden] { display: none; }
.recovery-fields legend { display: flex; align-items: center; gap: 8px; padding: 0 8px; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 17px; color: var(--green); }
.recovery-fields legend svg { width: 22px; height: 22px; }
.field[hidden] { display: none; }
@media (max-width: 640px) { .recovery-fields { grid-template-columns: minmax(0, 1fr); } }

/* Whole service card is clickable: the "Learn more" link stretches over the card */
.card:has(.more) { position: relative; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card .more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card:has(.more):hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,13,12,.12); border-color: var(--green); }
.card:has(.more):hover h3 { color: var(--green); }
.band-dark .card:has(.more):hover h3 { color: var(--lime); }
.card:has(.more:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }
.card .more:focus-visible { outline: none; }
/* Only the visible parts of the floating buttons catch clicks */
.float-contact, .fc { pointer-events: none; }
.fc-icon, .fc-label { pointer-events: auto; }
@media (min-width: 761px) and (max-width: 1499px) { .fc-label { pointer-events: none; } .fc:hover .fc-label { pointer-events: auto; } }

/* "100% mobile service" strip above the header */
.mobile-only-bar { background: var(--night); color: var(--on-night); font-size: 15px; }
.mobile-only-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 8px; text-align: center; }
.mobile-only-bar svg { width: 20px; height: 20px; color: var(--lime); flex: none; }
.mobile-only-bar strong { color: var(--lime); font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.site-header .wrap { max-width: 1400px; }
@media (max-width: 640px) { .mobile-only-bar { font-size: 13px; } .mob-more { display: none; } }

/* Legal pages */
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 34px; }
.legal-sec { display: flex; flex-direction: column; gap: 12px; }
.legal-sec h2 { font-size: clamp(24px, 3vw, 30px); }
.legal-sec p, .legal-sec li { color: #2F3833; max-width: 70ch; }
.legal-sec ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-highlight { background: #FFF4D6; border: 1px solid #F0DFA8; border-radius: 8px; padding: 14px 16px; color: var(--ink) !important; }
.todo { background: #FFE8A3; color: #5A3B00; border-radius: 3px; padding: 0 4px; font-weight: 700; }
.site-footer .todo { background: #FFE8A3; color: #5A3B00; }
.form-terms { font-size: 14px; color: var(--muted); margin: 0; }
.form-terms a { color: var(--green); font-weight: 600; }

/* "All services" card and grouped services page */
.all-card { background: var(--night); border-color: var(--night); justify-content: center; }
.all-card h3 { color: #FFFFFF; }
.all-card p { color: var(--on-night-muted) !important; }
.all-card .icon { background: var(--lime); color: var(--ink); }
.all-card .more { color: var(--lime); }
.all-card:hover h3 { color: var(--lime) !important; }
.svc-groups { display: flex; flex-direction: column; gap: 56px; }
.svc-group { scroll-margin-top: 110px; }
.svc-group .section-head { margin-bottom: 22px; }
.svc-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-mini { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px; }
.svc-mini .icon { flex: none; width: 48px; height: 48px; }
.svc-mini .icon svg { width: 26px; height: 26px; }
.svc-mini-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.svc-mini h3 { font-size: 19px; }
.svc-mini p { font-size: 16px; }
.svc-mini .more { margin-top: 0; align-self: center; color: var(--green); }
.svc-mini .more svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .svc-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-mini-grid { grid-template-columns: minmax(0, 1fr); } }
.job img { aspect-ratio: 4 / 5; object-fit: cover; }
.safety + img { margin-top: 0; }

/* Guides */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.guide-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.guide-links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.guide-links a { font-weight: 700; }
.legal-sec ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal .sizecode { margin-top: 6px; }
@media (max-width: 900px) { .guide-layout { grid-template-columns: minmax(0, 1fr); } .guide-side { position: static; } }
.guide-side .contact-number { font-size: 32px; white-space: nowrap; }
