/* Dubai Towing Experts — site styles.
   Built to the owner's homepage design (docs/design/reference/).
   Tokens documented in docs/design/design-system.md. Fonts: public/assets/css/fonts.css */

:root {
    /* Brand — sampled from the supplied design */
    --c-red: #DD0310;
    --c-red-600: #B80009;
    --c-red-50: #FFF1F2;
    --c-red-on-dark: #FF5A5A;  /* brand red lightened for AA contrast over the dark hero */
    --c-navy: #0B2946;          /* dark section bands */
    --c-navy-800: #04264A;      /* top bar */
    --c-navy-900: #011B30;      /* footer */
    --c-blue-cta: #053B78;      /* bottom CTA card */
    --c-wa: #0A7C26;            /* WhatsApp green, darkened from #0AAD32 for AA contrast */
    --c-wa-600: #086320;

    --c-bg: #FFFFFF;
    --c-surface: #F7FBFE;
    --c-surface-2: #F1F7FA;
    --c-border: #E6EDF3;
    --c-heading: #0F2744;
    --c-text: #40536B;
    --c-muted: #64748B;
    --c-on-dark: #FFFFFF;
    --c-on-dark-muted: #B9C9DC;
    --c-success: #067647;
    --c-success-bg: #ECFDF3;
    --c-error: #B42318;
    --c-error-bg: #FEF3F2;

    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --fs-h1: clamp(2.1rem, 1.35rem + 3.1vw, 3.4rem);
    --fs-h2: clamp(1.6rem, 1.25rem + 1.6vw, 2.35rem);
    --fs-h3: 1.15rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
    --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

    --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
    --sh-1: 0 2px 10px rgba(11, 41, 70, .07);
    --sh-2: 0 14px 40px rgba(11, 41, 70, .16);
    --container: min(1200px, 100% - 2rem);
    --header-h: 96px;
}

/* ---------- 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; font-family: var(--font); font-size: var(--fs-body); line-height: 1.7;
    color: var(--c-text); background: var(--c-bg); padding-bottom: 76px;
    overflow-x: hidden; /* guard: decorative absolute layers must never create a sideways scroll */
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red); text-underline-offset: 3px; }
a:hover { color: var(--c-red-600); }
h1, h2, h3, h4 { margin: 0 0 var(--s-4); color: var(--c-heading); line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--s-4); }
ul, ol { padding-left: 1.2rem; margin: 0 0 var(--s-4); }
:focus-visible { outline: 3px solid var(--c-red); outline-offset: 2px; border-radius: 3px; }
.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: 8px; top: -60px; z-index: 100; background: var(--c-red); color: #fff; padding: 12px 16px; font-weight: 700; border-radius: var(--r-sm); }
.skip-link:focus { top: 8px; }
.container { width: var(--container); margin-inline: auto; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose li + li { margin-top: var(--s-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s-5); font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.prose th { background: var(--c-surface); }
.prose figure { margin: 0 0 var(--s-5); }
.prose img { border-radius: var(--r-md); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); }
.mx-auto { margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Red rule used above section headings and the hero eyebrow */
.eyebrow {
    display: flex; align-items: center; gap: 12px; margin: 0 0 var(--s-3);
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-heading);
}
.eyebrow::before { content: ""; width: 34px; height: 4px; border-radius: 2px; background: var(--c-red); flex: none; }
.section--dark .eyebrow { color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-navy-800); color: #E2EAF3; font-size: .8rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px var(--s-6); align-items: center; padding: 9px 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; color: var(--c-red); }
.topbar__spacer { margin-left: auto; }
@media (max-width: 767px) {
    .topbar__item:nth-child(n+3) { display: none; }
    /* Two items left, so centre them rather than leaving them hanging on the left. */
    .topbar__inner { flex-direction: column; align-items: center; gap: 4px; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--c-border); }
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-3); min-height: var(--header-h); padding-block: 8px; }
/* Owner-supplied logo artwork (truck + wordmark, roughly 2.2:1) — it needs a little height
   for the "TOWING EXPERTS" line to stay legible. */
.logo { display: inline-flex; align-items: center; text-decoration: none; min-width: 0; }
.logo img { width: auto; height: 78px; }
.logo--footer img { height: 92px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
.header-actions .btn { padding-inline: 16px; }
/* Small phones: keep the call button but drop the number text so nothing overflows */
@media (max-width: 560px) {
    .logo img { height: 56px; }
    .header-actions .btn__label { display: none; }
    .header-actions .btn { padding-inline: 14px; }
}
.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--r-sm); color: var(--c-heading); cursor: pointer;
}
.site-nav { display: none; order: 3; width: 100%; border-top: 1px solid var(--c-border); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.site-nav.is-open { display: block; }
.no-js .site-nav { display: block; }
.no-js .nav-toggle { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: var(--s-2) 0 var(--s-4); }
.site-nav a { display: block; padding: 11px 4px; color: var(--c-heading); text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--c-red); }
.site-nav .sub { padding: 0 0 0 var(--s-4); }
.site-nav .sub a { font-weight: 500; color: var(--c-text); padding: 8px 4px; font-size: .92rem; }

@media (min-width: 1100px) {
    body { padding-bottom: 0; }
    .nav-toggle { display: none; }
    .site-header__bar { flex-wrap: nowrap; gap: var(--s-5); }
    .site-nav { display: block; order: 0; width: auto; border: 0; margin-inline: auto; max-height: none; overflow: visible; }
    .site-nav > ul { display: flex; gap: 2px; padding: 0; }
    .site-nav > ul > li { position: relative; }
    .site-nav > ul > li > a { padding: 24px 12px; position: relative; display: inline-flex; align-items: center; gap: 5px; }
    .site-nav > ul > li > a[aria-current="page"]::after {
        content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px; height: 2.5px; background: var(--c-red); border-radius: 2px;
    }
    .site-nav .has-sub > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
    .site-nav .sub {
        display: none; position: absolute; top: 100%; left: 0; min-width: 250px; padding: var(--s-2);
        background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-2); border: 1px solid var(--c-border);
    }
    .site-nav .sub a { padding: 10px 12px; border-radius: var(--r-sm); }
    .site-nav .sub a:hover { background: var(--c-surface); color: var(--c-red); }
    .site-nav li:hover > .sub, .site-nav li:focus-within > .sub { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 11px 22px; border-radius: var(--r-sm); border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .12s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.btn__stack small { font-size: .78rem; font-weight: 500; opacity: .92; }
.btn--call { background: var(--c-red); color: #fff; box-shadow: 0 6px 18px rgba(221, 3, 16, .25); }
.btn--call:hover { background: var(--c-red-600); color: #fff; }
.btn--wa { background: var(--c-wa); color: #fff; box-shadow: 0 6px 18px rgba(10, 124, 38, .22); }
.btn--wa:hover { background: var(--c-wa-600); color: #fff; }
.btn--primary { background: var(--c-navy); color: #fff; }
.btn--primary:hover { background: var(--c-navy-800); color: #fff; }
.btn--white { background: #fff; color: var(--c-heading); box-shadow: var(--sh-1); }
.btn--white:hover { color: var(--c-red); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { background: transparent; color: var(--c-heading); border-color: var(--c-border); }
.btn--outline:hover { border-color: var(--c-red); color: var(--c-red); }
.btn--lg { min-height: 58px; padding: 13px 26px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; text-decoration: none; color: var(--c-red); }
.link-more:hover { gap: 11px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; padding: var(--s-7) 0 var(--s-6);
    background: linear-gradient(115deg, #FFF6EE 0%, #FCEFE6 40%, #E8EEF6 100%);
}
.hero--plain { background: linear-gradient(115deg, #FFF6EE 0%, #FCEFE6 40%, #E8EEF6 100%); }
/*
 * Homepage hero: light panel on the left for the copy, the owner's photo on the right, fading
 * into the panel (as in the approved design). On phones the photo sits behind the copy with a
 * strong wash so text still meets AA contrast.
 */
.hero--photo { background: linear-gradient(115deg, #FFF8F2 0%, #FDF1E9 45%, #EDF2F8 100%); }
/*
 * Phones (owner's reference, 2026-09-25): the complete photo sits as a clean band across the top —
 * nothing over it, nothing cropped — and the copy follows on solid navy. The two read as one block
 * because the panel behind the copy is dark like the photo; the earlier light panel was what made
 * the section look unfinished, not the split itself.
 *
 * The band's height is the photo's own aspect ratio at full width (1920x800, so 41.667vw), which is
 * why nothing is cropped. Its bottom edge dissolves into the navy instead of stopping at a hard
 * line, so the photo belongs to the section rather than sitting above it. .hero--bg (service and
 * area pages) does the same from its --hero-img, with the band height passed in as --hero-band
 * because those photos are not all the same shape.
 */
@media (max-width: 899px) {
    /* .hero.hero--photo, not .hero--photo: the .hero--compact padding shorthand is declared later
       in the file, and at equal specificity it would win and drop the room left for the photo. */
    .hero.hero--photo, .hero.hero--bg {
        background-color: var(--c-navy-900);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: top center;
        /* The band is the photo at full width, so the copy starts just below it. */
        padding: calc(var(--hero-band) + var(--s-5)) 0 var(--s-7);
        /* Clear over the top two thirds of the photo, then down into the navy by its bottom edge. */
        --hero-fade: linear-gradient(180deg,
            rgba(1, 27, 48, 0) 0,
            rgba(1, 27, 48, 0) calc(var(--hero-band) * .55),
            rgba(1, 27, 48, .55) calc(var(--hero-band) * .82),
            var(--c-navy-900) var(--hero-band));
    }
    .hero--photo { --hero-band: 41.667vw; background-image: var(--hero-fade), url('/assets/img/hero-bg.webp'); }
    .hero--bg { background-image: var(--hero-fade), var(--hero-img); }
    .hero--photo h1, .hero--bg h1,
    .hero--photo .eyebrow, .hero--bg .eyebrow { color: #fff; }
    .hero--photo h1 .accent, .hero--bg h1 .accent { color: var(--c-red-on-dark); }
    .hero--photo .hero__lead, .hero--bg .hero__lead { color: rgba(255, 255, 255, .93); }
    .hero--photo .hero__phone, .hero--bg .hero__phone { color: rgba(255, 255, 255, .82); }
    .hero--photo .hero__phone a, .hero--bg .hero__phone a { color: #fff; }
    .hero--photo .trust-list, .hero--bg .trust-list { color: rgba(255, 255, 255, .93); }
    .hero--photo .trust-list .icon, .hero--bg .trust-list .icon { color: var(--c-red-on-dark); }
    /* Call and WhatsApp share one row across the full width, as in the reference. */
    .hero--photo .btn-row, .hero--bg .btn-row { flex-wrap: nowrap; gap: var(--s-2); }
    .hero--photo .btn-row > .btn, .hero--bg .btn-row > .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; }
    .hero--photo .hero__stats { border-top-color: rgba(255, 255, 255, .22); }
    .hero--photo .hero__stats .icon, .hero--photo .hero__stats strong { color: #fff; }
    .hero--photo .hero__stats span { color: rgba(255, 255, 255, .78); }
    .hero--photo .hero__stats li + li { border-left-color: rgba(255, 255, 255, .22); }
}
.hero__photo { display: none; }
@media (min-width: 900px) {
    /* Desktop: the photo becomes the right-hand background layer instead */
    .hero__photo { display: none; }
    .hero--photo::before {
        content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
        background: url('/assets/img/hero-bg.webp') center right / cover no-repeat;
    }
}
.hero__sky {
    position: absolute; inset: auto 0 0 0; height: 62%; color: #C7D2E3; opacity: .55; pointer-events: none;
}
.hero__sky svg { width: 100%; height: 100%; }
.hero--photo .hero__sky { display: none; }
@media (min-width: 900px) {
    .hero--photo { min-height: 560px; display: grid; align-items: center; }
    /* Full-strength photo on the right, dissolving into the light panel that holds the copy */
    .hero--photo::before {
        left: 44%;
        opacity: 1;
        background-position: 72% center; /* keeps the billboard off-frame so the script line sits on sky */
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 12%, #000 30%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 12%, #000 30%);
    }
    /* Copy stays on the clean panel, clear of the truck */
    .hero--photo .hero__lead { max-width: 430px; }
    .hero--photo .btn-row { max-width: 600px; gap: var(--s-2); }
    .hero--photo .btn-row .btn--lg { min-height: 54px; padding: 11px 18px; font-size: .95rem; }
    /* Four compact stats on one line, as in the design */
    .hero--photo .hero__stats { max-width: 620px; grid-template-columns: repeat(4, auto); gap: var(--s-4); justify-content: start; }
    .hero--photo .hero__stats li + li { padding-left: var(--s-4); }
    .hero--photo .hero__stats .icon { width: 22px; height: 22px; }
    .hero--photo .hero__stats strong { font-size: .92rem; }
    .hero--photo .hero__stats span { font-size: .74rem; }
}
@media (min-width: 1280px) {
    .hero--photo { min-height: 620px; }
    .hero--photo::before { left: 47%; }
    .hero--photo .hero__lead { max-width: 500px; }
    .hero--photo .hero__stats { max-width: 620px; }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 19ch; }
.hero h1 .accent { color: var(--c-red); }
.hero__lead { font-size: 1.05rem; color: #3C4E63; max-width: 52ch; }
.hero__script {
    display: none; position: absolute; top: 40px; right: 24px; z-index: 2; max-width: 260px;
    font-size: 1.6rem; font-weight: 600; font-style: italic; line-height: 1.25; color: var(--c-heading); text-align: center; transform: rotate(-4deg);
}
.hero__script::after { content: ""; display: block; height: 10px; margin: 6px auto 0; width: 70%; border-bottom: 3px solid var(--c-red); border-radius: 50%; }
@media (min-width: 1100px) {
    .hero--photo .hero__script { display: block; top: 30px; right: 48px; max-width: 280px; font-size: 1.45rem; }
}
.hero__stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-5);
    margin: var(--s-6) 0 0; padding: var(--s-5) 0 0; list-style: none; border-top: 1px solid rgba(11,41,70,.12);
}
.hero__stats li { display: flex; align-items: center; gap: 10px; }
.hero__stats .icon { color: var(--c-heading); width: 26px; height: 26px; }
.hero__stats strong { display: block; color: var(--c-heading); font-size: 1rem; line-height: 1.2; }
.hero__stats span { font-size: .82rem; color: var(--c-muted); }
.hero--inner, .hero--compact { padding: var(--s-6) 0 var(--s-7); }
.hero--inner h1, .hero--compact h1 { max-width: 24ch; }
.hero__media img { border-radius: var(--r-lg); box-shadow: var(--sh-2); }
/*
 * Inner pages (service, area): the page's own photo becomes the hero background, treated exactly
 * like the home page — the whole photo as a band on phones, a right-hand layer dissolving into the
 * copy panel from 900px up. The image URL and the band's height are set on the section as
 * --hero-img and --hero-band, because both come from the media record.
 * Declared after .hero--compact so the phone padding wins over its shorthand.
 *
 * The light panel belongs to the desktop layout only. As a plain rule it sat later in the file
 * than the phone block above and its `background` shorthand quietly reset the photo there.
 */
@media (min-width: 900px) {
    .hero--bg {
        min-height: 460px; display: grid; align-items: center;
        background: linear-gradient(115deg, #FFF8F2 0%, #FDF1E9 45%, #EDF2F8 100%);
    }
    .hero--bg::before {
        content: ""; position: absolute; inset: 0 0 0 44%; z-index: 0; pointer-events: none;
        background: var(--hero-img) center right / cover no-repeat;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 12%, #000 30%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 12%, #000 30%);
    }
    .hero--bg .hero__lead, .hero--bg .trust-list { max-width: 430px; }
}
@media (min-width: 1280px) {
    .hero--bg { min-height: 520px; }
    .hero--bg::before { inset: 0 0 0 47%; }
    .hero--bg .hero__lead, .hero--bg .trust-list { max-width: 500px; }
}
.hero__phone { margin-top: var(--s-4); color: var(--c-muted); font-size: .92rem; }
.hero__phone a { font-weight: 700; color: var(--c-heading); text-decoration: none; }
.hero__phone a:hover { color: var(--c-red); }
.hero h1 .accent { white-space: nowrap; }
.trust-list { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: 10px; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; }
.trust-list .icon { color: var(--c-red); margin-top: 4px; width: 20px; height: 20px; }
.section--dark .trust-list .icon, .hero--dark .trust-list .icon { color: #fff; }
.chevrons { height: 6px; background: repeating-linear-gradient(-45deg, var(--c-red) 0 12px, var(--c-navy) 12px 24px); }
@media (min-width: 768px) {
    .hero__stats { grid-template-columns: repeat(4, 1fr); }
    .hero__stats li + li { border-left: 1px solid rgba(11,41,70,.12); padding-left: var(--s-5); }
    .hero--photo .hero__stats li + li { padding-left: var(--s-4); }
    .hero--photo .hero__stats span { font-size: .8rem; }
}
@media (min-width: 1024px) {
    .hero { padding: var(--s-8) 0 var(--s-7); }
    /* Two columns only when there is something to show beside the text (photo or form). */
    .hero__grid--media { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-7); align-items: center; }
    .hero__script { display: block; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s-8) 0; }
.section--surface { background: var(--c-surface); }
.section--surface-2 { background: var(--c-surface-2); }
.section--tight { padding: var(--s-7) 0; }
.section--dark {
    position: relative; overflow: hidden; background: var(--c-navy); color: var(--c-on-dark-muted);
}
/* Dark band over the owner's night-skyline photo */
.section--photo {
    background-image: linear-gradient(90deg, rgba(8,32,58,.95) 0%, rgba(9,36,64,.88) 45%, rgba(9,36,64,.82) 100%), url('/assets/img/why-bg.webp');
    background-size: cover;
    background-position: center;
}
.section--photo .section--dark__sky { display: none; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark__sky { position: absolute; inset: auto 0 0 0; height: 70%; color: rgba(255,255,255,.055); }
.section--dark__sky svg { width: 100%; height: 100%; }
.section--dark .container { position: relative; z-index: 1; }
.section__head { margin-bottom: var(--s-6); }
.section__head p { color: var(--c-muted); max-width: 62ch; }
.section--dark .section__head p { color: var(--c-on-dark-muted); }
.section__head--row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: end; justify-content: space-between; }
.section__head--row h2 { margin: 0; }
.section__head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
/* Inside the two-column projects/reviews block the headings are a touch smaller so the
   "View all" link stays on the same line, as in the design. */
.split--even .section__head--row h2 { font-size: clamp(1.3rem, 1rem + .85vw, 1.7rem); }
@media (min-width: 1100px) {
    /* Keep "View all …" on the right of the heading rather than dropping below it */
    .split--even .section__head--row { flex-wrap: nowrap; align-items: baseline; }
    .split--even .section__head--row > div { min-width: 0; }
    .split--even .section__head--row .link-more { white-space: nowrap; }
}
.section__foot { margin-top: var(--s-6); }
.grid { display: grid; gap: var(--s-5); }
.grid--tight { gap: var(--s-4); }
@media (min-width: 560px) { .grid--2, .grid--3, .grid--4, .grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4, .grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
    .grid--6 { grid-template-columns: repeat(6, 1fr); }
    .split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
    .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split__aside { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Cards ---------- */
.card {
    position: relative; display: flex; flex-direction: column; gap: var(--s-3);
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--s-5);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--c-muted); font-size: .94rem; }
.card__head { display: flex; align-items: center; gap: 10px; }
.card__head .icon { color: var(--c-red); width: 22px; height: 22px; }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-red-50); color: var(--c-red); }
.card__link { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: var(--c-red); font-size: .92rem; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__media { margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) 0; }
.card__media img, .card__media .media-ph { border-radius: var(--r-md) var(--r-md) 0 0; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__meta { font-size: .82rem; color: var(--c-muted); display: flex; flex-wrap: wrap; gap: 3px 12px; }
.card--flat { padding: var(--s-4); }
/* Compact service tiles (six across on wide screens, as in the design) */
.grid--6 .card h3 { font-size: 1rem; }
.grid--6 .card p { font-size: .88rem; }
.grid--6 .card__head .icon { width: 20px; height: 20px; }

/* Placeholder used until the owner supplies photography */
.media-ph {
    display: grid; place-items: center; width: 100%; aspect-ratio: 16/10;
    background: linear-gradient(135deg, #0B2946 0%, #13406B 100%); color: rgba(255,255,255,.55);
}
.media-ph .icon { width: 38px; height: 38px; }
.media-ph--light { background: linear-gradient(135deg, #E8EEF6 0%, #D4E0EC 100%); color: rgba(11,41,70,.45); }

/* Area tiles — name only, no photography (owner's request 2026-09-23) */
.area-card {
    display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 14px 18px;
    border-radius: var(--r-md); text-decoration: none; background: #fff; border: 1px solid var(--c-border);
    font-weight: 600; color: var(--c-heading); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.area-card .icon { width: 20px; height: 20px; color: var(--c-red); flex: none; }
.area-card--static { cursor: default; }
.area-card--static:hover { border-color: var(--c-border); color: var(--c-heading); box-shadow: none; transform: none; }
/* Tiles flow to fill the row whatever the number of areas */
.area-grid { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.area-grid .area-card { flex: 1 1 210px; min-height: 58px; padding: 12px 16px; font-size: .94rem; }
.area-card:hover { border-color: var(--c-red); color: var(--c-red); box-shadow: var(--sh-1); transform: translateY(-2px); }
.area-card:hover .icon { color: var(--c-red); }
.area-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-border); text-decoration: none; color: var(--c-heading); font-weight: 600; font-size: .9rem; }
.area-chip:hover { border-color: var(--c-red); color: var(--c-red); }
.area-chip .icon { width: 17px; height: 17px; color: var(--c-red); }
.chip-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.chip-list--center { justify-content: center; }

/* ---------- Why choose us strip ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); text-align: center; }
.usp-grid li { list-style: none; }
.usp-grid .icon { width: 34px; height: 34px; margin: 0 auto 10px; color: #fff; }
.usp-grid strong { display: block; font-size: .95rem; line-height: 1.35; }
@media (min-width: 640px) { .usp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
    .usp-band { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
    .usp-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Services marquee (continuous auto-slide) ---------- */
.marquee { position: relative; overflow: hidden; padding: 4px 0 10px; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
/* Pause/play control — WCAG 2.2.2 requires a way to stop content that moves on its own */
/*
 * The pause control is kept but taken out of the visual design: it sits off-screen and appears
 * the moment it is focused. WCAG 2.2.2 wants a way to stop content that moves on its own, and
 * hover/focus pausing alone does not help a keyboard or touch user.
 */
.marquee-toggle {
    position: absolute; left: -10000px; top: auto; z-index: 3;
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
    background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--r-pill);
    font: inherit; font-size: .85rem; font-weight: 600; color: var(--c-heading); cursor: pointer;
}
.marquee-toggle:focus-visible { left: 8px; bottom: 8px; }
.marquee-toggle:hover { border-color: var(--c-red); color: var(--c-red); }
.marquee-toggle .icon { width: 16px; height: 16px; }
/* Keep the control above the edge-fade overlays */
.marquee .marquee-toggle { position: relative; z-index: 3; }
.marquee::before, .marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--c-surface), rgba(247,251,254,0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--c-surface), rgba(247,251,254,0)); }
.marquee__track { display: flex; gap: var(--s-4); width: max-content; animation: marquee-right 46s linear infinite; }
/* Right-to-left direction (hero stats, why-choose strip) */
.marquee--rtl .marquee__track { animation-name: marquee-left; }
@keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - (var(--s-4) / 2))); }
}
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: var(--s-4); }
.marquee .card { width: 290px; flex: none; }
@keyframes marquee-right {
    from { transform: translateX(calc(-50% - (var(--s-4) / 2))); }
    to { transform: translateX(0); }
}
/* Visitors who ask for reduced motion get a much slower drift rather than a stop, and the
   pause button (always present) lets anyone freeze it completely. */
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation-duration: 60s; }
}

/*
 * Marquees that only slide on phones: from 900px up they fall back to the normal grid/row and the
 * duplicated set is hidden, so desktop layout is unchanged.
 */
@media (max-width: 899px) {
    .marquee--mobile .marquee__group { display: flex; gap: var(--s-4); margin: 0; padding: 0; border: 0; }
    .marquee--mobile .marquee__group > li { flex: none; list-style: none; }
    /* Button sits under the strip, never over the content */
    .marquee--mobile { display: flex; flex-direction: column; }
    .marquee--mobile .marquee-toggle { align-self: flex-end; margin-top: var(--s-3); min-height: 36px; padding: 5px 14px; font-size: .78rem; }
    /* Hero stats — dark pills, because the hero behind them is now the photo, not a light panel.
       .86 keeps the labels past 4.5:1 even where a pill lands on the truck's white bodywork. */
    .marquee--stats { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,.22); }
    /* The default fade is to the light page surface; here the panel behind is navy. */
    .marquee--stats::before { background: linear-gradient(90deg, var(--c-navy-900), rgba(1,27,48,0)); }
    .marquee--stats::after { background: linear-gradient(270deg, var(--c-navy-900), rgba(1,27,48,0)); }
    .marquee--stats .marquee__group > li {
        width: 215px; padding: 10px 14px; border-radius: var(--r-md);
        background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    }
    /* Why-choose strip */
    .marquee--usp .marquee__group > li { width: 132px; text-align: center; }
    .marquee--usp::before { background: linear-gradient(90deg, var(--c-navy), rgba(11,41,70,0)); }
    .marquee--usp::after { background: linear-gradient(270deg, var(--c-navy), rgba(11,41,70,0)); }
    .marquee--usp .marquee-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
}
@media (min-width: 900px) {
    .marquee--mobile { overflow: visible; padding: 0; }
    .marquee--mobile::before, .marquee--mobile::after { display: none; }
    .marquee--mobile .marquee__track { display: block; width: auto; animation: none; }
    .marquee--mobile .marquee__group + .marquee__group { display: none; }
    .marquee--mobile .marquee-toggle { display: none; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.steps li { counter-increment: step; display: flex; gap: var(--s-4); align-items: flex-start; }
.steps li::before {
    content: counter(step); flex: none; width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; background: var(--c-red); color: #fff;
}
.steps h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 1.05rem; white-space: nowrap; }
.steps h3 .icon { color: var(--c-heading); width: 20px; height: 20px; flex: none; }
.steps p { margin: 0; color: var(--c-muted); font-size: .92rem; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
@media (max-width: 420px) { .steps h3 { white-space: normal; } }

/* Red "need help now" card */
.help-card {
    background: var(--c-red); color: #fff; border-radius: var(--r-md); padding: var(--s-5);
    display: flex; gap: var(--s-4); align-items: center; box-shadow: 0 12px 30px rgba(221,3,16,.25);
}
/* Compact variant that sits beside the section heading */
.help-card--inline { padding: var(--s-4) var(--s-5); max-width: 460px; }
.help-card--inline p { font-size: .86rem; }
.help-card--inline .icon--big { width: 38px; height: 38px; }
.help-card .icon--big { width: 46px; height: 46px; flex: none; opacity: .9; }
.help-card h3 { color: #fff; margin: 0 0 4px; }
.help-card p { margin: 0 0 var(--s-3); font-size: .9rem; color: rgba(255,255,255,.92); }
.help-card .btn { background: #fff; color: var(--c-red); }
.help-card .btn:hover { background: #fff; color: var(--c-red-600); }

/* ---------- Project tiles (home slider) ---------- */
.project-tile {
    display: block; width: 216px; flex: none; background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--r-md); overflow: hidden; text-decoration: none;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.project-tile img, .project-tile .media-ph { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.project-tile__title { display: block; padding: 10px 12px 0; font-weight: 700; font-size: .9rem; line-height: 1.3; color: var(--c-heading); }
.project-tile__meta { display: block; padding: 3px 12px 12px; font-size: .8rem; color: var(--c-muted); }
.project-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.project-tile:hover .project-tile__title { color: var(--c-red); }
.marquee--projects { display: flex; flex-direction: column; }
.marquee--projects .marquee-toggle { align-self: flex-end; margin-top: var(--s-3); min-height: 36px; padding: 5px 14px; font-size: .78rem; }
.marquee--projects::before { background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.marquee--projects::after { background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }

/* ---------- Review carousel ---------- */
.review-carousel { position: relative; display: grid; gap: var(--s-4); }
.carousel-viewport { overflow: hidden; border-radius: var(--r-md); }
.carousel-track { display: flex; transition: transform .35s ease; }
.carousel-track > * { flex: 0 0 100%; min-width: 0; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: var(--s-4); }
.carousel-arrow {
    width: 44px; height: 44px; flex: none; display: grid; place-items: center; cursor: pointer;
    background: #fff; border: 1.5px solid var(--c-border); border-radius: 50%; color: var(--c-heading);
}
.carousel-arrow:hover { border-color: var(--c-red); color: var(--c-red); }
.carousel-arrow .icon { width: 18px; height: 18px; }
.carousel-arrow--prev .icon { transform: rotate(180deg); }
.carousel-dots { display: flex; gap: 7px; align-items: center; }
.carousel-dots button {
    width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--c-border); cursor: pointer;
}
.carousel-dots button[aria-selected="true"] { background: var(--c-red); width: 11px; height: 11px; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }

/* ---------- Reviews ---------- */
/* Card: quote mark, stars, the review, then the person — as in the approved design. */
.review {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5);
    margin: 0; display: flex; flex-direction: column; gap: var(--s-3); box-shadow: var(--sh-1);
}
.review__quote { font-size: 2.6rem; line-height: .7; color: #F6C9CC; font-weight: 800; }
.review blockquote { margin: 0; color: var(--c-text); flex: 1; }
.review blockquote p:last-child { margin-bottom: 0; }
.review cite { font-style: normal; font-weight: 700; color: var(--c-heading); display: block; }
.review__person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--c-border); }
.review__meta { display: block; font-size: var(--fs-small); color: var(--c-muted); }
.review__avatar {
    width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: var(--c-red-50); color: var(--c-red); font-weight: 700; font-size: .95rem; letter-spacing: .03em;
}
.stars { display: inline-flex; gap: 2px; color: #F5A623; }
.stars .icon { width: 17px; height: 17px; }
.stars .off { color: #D7DEE7; }
.review__photos { display: flex; gap: 8px; }
.review__photos img { width: 92px; height: 70px; object-fit: cover; border-radius: var(--r-sm); }

/*
 * Carousel card: photo/initials on the left, name, stars and the quote beside it. The pieces are
 * placed explicitly on a grid, so the same markup serves both layouts without reordering the DOM.
 */
.review--wide { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px var(--s-5); align-items: start; padding: var(--s-5) var(--s-6); }
.review--wide .review__quote { display: none; }
.review--wide .review__person { display: contents; }
.review--wide .review__avatar { grid-column: 1; grid-row: 1 / span 3; width: 68px; height: 68px; font-size: 1.15rem; align-self: center; }
.review--wide .review__person > span:last-child { grid-column: 2; grid-row: 1; }
.review--wide > .stars { grid-column: 2; grid-row: 2; }
.review--wide blockquote { grid-column: 2; grid-row: 3; margin-top: var(--s-2); }
.review--wide .review__photos { grid-column: 2; grid-row: 4; }
@media (max-width: 560px) {
    /* Stacked: the person on the first line, then the stars and the quote across the full width. */
    .review--wide { gap: 4px var(--s-4); padding: var(--s-5); }
    .review--wide .review__avatar { grid-column: 1; grid-row: 1; width: 52px; height: 52px; font-size: .95rem; }
    .review--wide .review__person > span:last-child { grid-column: 2; grid-row: 1; align-self: center; }
    .review--wide > .stars { grid-column: 1 / -1; grid-row: 2; margin-top: var(--s-3); }
    .review--wide blockquote { grid-column: 1 / -1; grid-row: 3; }
    .review--wide .review__photos { grid-column: 1 / -1; grid-row: 4; }
}

/*
 * Reviews page: every approved review in one grid — it keeps filling out as more arrive, with no
 * paging, so the columns are set by available width rather than by a fixed count.
 */
.review-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: stretch; }
.review-grid .review { height: 100%; }

/* Centred section intro, used above the "Leave Us a Review" form. */
.container--narrow { width: min(760px, 100% - 2rem); margin-inline: auto; }
.section-head--center { text-align: center; margin-bottom: var(--s-6); }
.section-head--center p:last-child { margin-bottom: 0; }
.eyebrow--center { justify-content: center; color: var(--c-red); }
.eyebrow--center::before { display: none; }
.cta-card--center { text-align: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-sm); }
.faq details[open] { border-color: #D8E3EC; box-shadow: var(--sh-1); }
.faq summary {
    list-style: none; cursor: pointer; padding: 15px 44px 15px 16px; position: relative;
    font-weight: 600; color: var(--c-heading); font-size: .97rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--c-red); }
.faq details[open] summary::after { content: "−"; }
.faq__answer { padding: 0 16px 16px; color: var(--c-text); font-size: .95rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA card / band ---------- */
.cta-card {
    position: relative; overflow: hidden; border-radius: var(--r-md); padding: var(--s-6);
    color: #fff;
    background-image: linear-gradient(100deg, rgba(4,32,64,.96) 0%, rgba(5,45,90,.88) 45%, rgba(6,55,110,.72) 100%), url('/assets/img/cta-bg.webp');
    background-size: cover;
    background-position: center;
}
.cta-card__sky { display: none; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; margin: 0 0 var(--s-3); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.cta-card p { color: rgba(255,255,255,.9); margin: 0 0 var(--s-5); }
.cta-band { background: var(--c-navy); color: #fff; border-radius: var(--r-md); padding: var(--s-6); display: grid; gap: var(--s-4); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(-45deg, var(--c-red) 0 12px, var(--c-navy) 12px 24px); }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 0; color: var(--c-on-dark-muted); }
@media (min-width: 1024px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: var(--s-7); } }

/* Sidebar contact box */
.contact-box { background: var(--c-navy); color: var(--c-on-dark-muted); border-radius: var(--r-md); padding: var(--s-5); display: grid; gap: var(--s-3); }
.contact-box h2, .contact-box h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.contact-box p { color: var(--c-on-dark-muted); margin: 0; font-size: .92rem; }
.contact-box .btn { width: 100%; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-4); }
.form--card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-1); }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
/* align-content keeps each row at its natural height. Without it a field stretches to match the
   taller column beside it, and the extra space lands on the input — which is why a select sat
   lower and taller than the text box next to it. */
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--c-heading); }
.field .req { color: var(--c-red); }
.field .hint { font-size: var(--fs-small); color: var(--c-muted); }
/* Consent wording under the submit button, where the checkbox used to be. */
.hint--consent { margin: 0; font-size: var(--fs-small); color: var(--c-muted); text-align: center; }
.input, .select, .textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--c-heading);
    background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--r-sm);
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid rgba(221,3,16,.35); outline-offset: 0; border-color: var(--c-red); }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--c-error); }
.field__error { color: var(--c-error); font-size: var(--fs-small); font-weight: 600; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-pill span { display: inline-flex; min-height: 46px; align-items: center; padding: 8px 16px; border: 1.5px solid var(--c-border); border-radius: var(--r-pill); font-weight: 600; font-size: .92rem; }
.radio-pill input:checked + span { border-color: var(--c-red); background: var(--c-red); color: #fff; }
.radio-pill input:focus-visible + span { outline: 3px solid var(--c-red); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { cursor: pointer; color: #D7DEE7; padding: 2px; }
.rating-input label .icon { width: 32px; height: 32px; }
/* Red stars, as in the approved design; published reviews show the usual amber stars. */
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--c-red); }
.rating-input input:focus-visible + label { outline: 3px solid var(--c-red); border-radius: 4px; }
.alert { padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid; font-weight: 500; font-size: .95rem; }
.alert--success { background: var(--c-success-bg); border-color: #ABEFC6; color: var(--c-success); }
.alert--error { background: var(--c-error-bg); border-color: #FECDCA; color: var(--c-error); }
.alert--info { background: var(--c-red-50); border-color: #FECDCA; color: var(--c-heading); }

/* ---------- Pagination, project page ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-3); margin: 0 0 var(--s-6); padding: 0; }
.facts div { background: var(--c-surface); border-radius: var(--r-sm); padding: var(--s-4); }
.facts dt { font-size: var(--fs-small); color: var(--c-muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--c-heading); }
.before-after { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .before-after { grid-template-columns: 1fr 1fr; } }
.before-after figure, .gallery figure { margin: 0; }
.before-after img, .gallery img { border-radius: var(--r-md); width: 100%; }
figcaption { font-size: var(--fs-small); color: var(--c-muted); margin-top: 6px; }
.gallery { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s-6) 0 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; color: var(--c-heading); }
.pagination a:hover { border-color: var(--c-red); color: var(--c-red); }
.pagination [aria-current] { background: var(--c-red); color: #fff; border-color: var(--c-red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy-900); color: var(--c-on-dark-muted); padding: var(--s-7) 0 0; font-size: .92rem; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: var(--s-4); letter-spacing: 0; }
.site-footer a { color: var(--c-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo__bottom, .site-footer .logo__text { color: #fff; }
.site-footer .logo__tag { color: rgba(255,255,255,.55); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-6); }
.footer-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.5fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1.5fr 1.2fr .7fr; } }
.footer-nap { display: grid; gap: 10px; font-style: normal; }
.footer-nap li, .footer-nap > span, .footer-nap > a { display: flex; align-items: flex-start; gap: 9px; }
.footer-nap .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--c-red); flex: none; }
.footer-about { margin-top: var(--s-4); max-width: 40ch; }
.social-row { display: flex; gap: 10px; }
.social-row a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm); background: rgba(255,255,255,.1); color: #fff; }
.social-row a:hover { background: var(--c-red); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12); padding: var(--s-4) 0; display: flex; flex-wrap: wrap;
    gap: var(--s-2) var(--s-5); justify-content: space-between; align-items: center; font-size: .82rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-sign { display: inline-flex; align-items: center; gap: 6px; }
.footer-sign .icon--heart { width: 15px; height: 15px; color: var(--c-red); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(4, 38, 74, .97); box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
.mobile-cta .btn { min-height: 52px; box-shadow: none; }
@media (min-width: 1100px) { .mobile-cta { display: none; } }

/* ---------- Consent banner ---------- */
.consent { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 84px; max-width: 520px; background: #fff; color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-md); box-shadow: var(--sh-2); padding: var(--s-4); display: grid; gap: var(--s-3); font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent .btn { min-height: 44px; padding: 8px 16px; }
@media (min-width: 1100px) { .consent { bottom: 16px; left: 16px; } }

/* ---------- Landing + errors ---------- */
.landing-header .site-header__bar { justify-content: space-between; }
.error-page { padding: var(--s-9) 0; text-align: center; }
.error-page .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
    /* The services marquee is excluded: it slows right down (see above) and can be stopped with
       its pause button, rather than disappearing for anyone who has reduced motion switched on. */
    *:not(.marquee__track), *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
    .topbar, .site-header, .site-footer, .mobile-cta, .consent, .cta-card, .cta-band { display: none !important; }
    body { padding: 0; }
}
