/* =========================================================================
   Emergency Services 24H â€” sitewide stylesheet
   UK trust palette, mobile-first, no framework.
   ========================================================================= */

:root {
    --color-navy: #0B2545;
    --color-navy-light: #16345f;
    --color-red: #D7263D;
    --color-red-dark: #b31c30;
    --color-gold: #F5A623;
    --color-bg: #F7F8FA;
    --color-surface: #FFFFFF;
    --color-text: #1C1F26;
    --color-text-muted: #4b5160;
    --color-green: #2E7D32;
    --color-border: #E3E6EC;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.08);
    --shadow-md: 0 4px 16px rgba(11, 37, 69, 0.12);

    --container-width: 1180px;
    --call-bar-height: 64px;
}

/* ---------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.55;
    padding-bottom: var(--call-bar-height);
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--color-navy); }

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.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: -999px;
    top: 0;
    background: var(--color-navy);
    color: #fff;
    padding: 0.75em 1em;
    z-index: 200;
}
.skip-link:focus { left: 0; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------------------------------------------------------------------
   Header & nav
   --------------------------------------------------------------------- */

.site-header {
    background: var(--color-navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.site-header__logo {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.site-header__logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.site-header__phone {
    display: none;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--color-gold);
    font-size: 1.05rem;
}

.site-header__toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0.4rem;
    display: inline-flex;
    cursor: pointer;
}

/* Mobile uses the full-screen #nav-drawer instead (further down) - the
   inline .site-nav only ever appears at the desktop breakpoint below. */
.site-nav { display: none; }

.site-nav__list {
    display: flex;
    flex-direction: column;
}

.site-nav__item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav__item > a {
    display: block;
    padding: 0.9rem 1.25rem;
    color: #fff;
    font-weight: 600;
}

.site-nav__cta {
    display: block;
    margin: 1rem 1.25rem 1.25rem;
    background: var(--color-red);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
}

@media (min-width: 900px) {
    .site-header__phone { display: inline-flex; }
    .site-header__toggle { display: none; }

    .site-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background: var(--color-navy);
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 0 1.25rem;
        max-width: var(--container-width);
        margin: 0 auto;
    }
    .site-nav__list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .site-nav__item { border-bottom: none; position: relative; }
    .site-nav__item > a { padding: 0.85rem 0.9rem; font-size: 0.95rem; }
    .site-nav__cta {
        margin: 0;
        padding: 0.6rem 1.1rem;
    }

    /* Two-column mega panel: regions on the left, the active region's
       towns on the right - opens on hover, same as a plain dropdown
       would, but JS swaps which region's town panel is visible. */
    .site-nav__mega {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 560px;
        max-height: 60vh;
        background: var(--color-navy-light);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        z-index: 50;
    }
    .site-nav__item--has-menu:hover .site-nav__mega,
    .site-nav__item--has-menu:focus-within .site-nav__mega {
        display: flex;
    }
    .site-nav__mega-label {
        display: block;
        padding: 0.75rem 1.1rem 0.4rem;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.45);
    }
    .site-nav__mega-regions {
        flex: 0 0 42%;
        background: rgba(0,0,0,0.18);
        overflow-y: auto;
        max-height: 60vh;
    }
    .site-nav__mega-region {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
        background: transparent;
        border: 0;
        text-align: left;
        text-decoration: none;
        color: rgba(255,255,255,0.85);
        font-family: inherit;
        font-size: 0.88rem;
        font-weight: 600;
        padding: 0.6rem 1.1rem;
        cursor: pointer;
    }
    .site-nav__mega-region svg { opacity: 0; flex-shrink: 0; }
    .site-nav__mega-region.is-active {
        background: rgba(255,255,255,0.1);
        color: #fff;
    }
    .site-nav__mega-region.is-active svg { opacity: 1; }
    .site-nav__mega-towns {
        flex: 1 1 auto;
        padding: 0.5rem 0;
        overflow-y: auto;
        max-height: 60vh;
    }
    .site-nav__mega-panel { display: none; padding: 0 1.1rem; }
    .site-nav__mega-panel.is-active { display: block; }
    .site-nav__mega-viewall {
        display: inline-block;
        color: var(--color-gold);
        font-weight: 700;
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    .site-nav__mega-towns-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.2rem 0.75rem;
    }
    .site-nav__mega-towns-grid a {
        display: block;
        padding: 0.4rem 0;
        color: rgba(255,255,255,0.8);
        font-size: 0.85rem;
    }
    .site-nav__mega-towns-grid a:hover { color: #fff; }
}

/* ---------------------------------------------------------------------
   Mobile nav drawer (full-screen overlay, service > region > towns)
   --------------------------------------------------------------------- */

.nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--color-bg);
}
.nav-drawer.is-open { display: block; }
.nav-drawer__panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.nav-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-navy);
    color: #fff;
    flex-shrink: 0;
}
.nav-drawer__title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.05rem;
}
.nav-drawer__close {
    background: rgba(255,255,255,0.1);
    border: 0;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.5rem 0 1rem;
    background-color: var(--color-navy);
}
.nav-drawer__service { border-bottom: 1px solid var(--color-border); }
.nav-drawer__service-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}
.nav-drawer__service-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    padding: 0.9rem 0.5rem 0.9rem 1.25rem;
}
.nav-drawer__service-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    background: transparent;
    border: 0;
    padding: 0.9rem 1.25rem 0.9rem 0.5rem;
    cursor: pointer;
}
.nav-drawer__service-icon { color: var(--color-red); flex-shrink: 0; display: flex; }
.nav-drawer__service-label { flex: 1 1 auto; font-weight: 700; color: var(--color-bg); font-size: 0.98rem; }
.nav-drawer__chevron { transition: transform 0.15s ease; color: var(--color-navy); flex-shrink: 0; }
.nav-drawer__chevron_white{ transition: transform 0.15s ease; color: var(--color-bg); flex-shrink: 0; }
.nav-drawer__service.is-open .nav-drawer__chevron_white { transform: rotate(180deg); }
.nav-drawer__regions { display: none; padding-bottom: 0.5rem; }
.nav-drawer__service.is-open .nav-drawer__regions { display: block; }
.nav-drawer__region { margin: 0 1.25rem; }
.nav-drawer__region-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-navy);
    padding: 0.65rem 0.9rem;
    margin-top: 0.5rem;
    cursor: pointer;
}
.nav-drawer__region.is-open .nav-drawer__region-toggle{
    background-color: #ffffffb0;
    border-color: var(--color-bg);
}
.nav-drawer__region-toggle span{
    color: var(--color-navy);
}
.nav-drawer__region.is-open .nav-drawer__chevron { transform: rotate(180deg); }
.nav-drawer__towns { display: none; padding: 0.75rem 0.25rem 0.25rem; }
.nav-drawer__region.is-open .nav-drawer__towns { display: block; }
.nav-drawer__viewall {
    display: inline-block;
    color: var(--color-red);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.nav-drawer__towns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 0.75rem;
}
.nav-drawer__towns-grid a {
    display: block;
    padding: 0.3rem 0;
    color: var(--color-bg);
    font-size: 0.88rem;
}
.nav-drawer__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.25rem;
    font-weight: 700;
    color: var(--color-bg);
    font-size: 0.98rem;
    border-bottom: 1px solid var(--color-border);
}
.nav-drawer__footer {
    flex-shrink: 0;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    text-align: center;
}
.nav-drawer__call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-red-dark);
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
}
.nav-drawer__footnote {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}
@media (min-width: 900px) {
    .nav-drawer { display: none !important; }
}

/* ---------------------------------------------------------------------
   Trust strip
   --------------------------------------------------------------------- */

.trust-strip {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}
.trust-strip__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: none;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-navy);
    justify-content: center;
}
.trust-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

@media (min-width: 700px) {
    .trust-strip__inner { display: flex; justify-content: flex-start; }
}

/* ---------------------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------------------- */

.breadcrumbs {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
}
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.breadcrumbs__item {
    display: flex;
    align-items: center;
}
.breadcrumbs__item a {
    color: var(--color-navy);
    font-weight: 600;
}
.breadcrumbs__item a:hover { text-decoration: underline; }
.breadcrumbs__item [aria-current="page"] {
    color: var(--color-text-muted);
    font-weight: 600;
}
.breadcrumbs__sep {
    margin: 0 0.5rem;
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}
.btn--primary {
    background: var(--color-red);
    color: #fff !important;
}
.btn--primary:hover { background: var(--color-red-dark); }
.btn--outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */

.hero {
    background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: #fff;
    padding: 2.75rem 0 3.25rem;
    overflow: hidden;
}
.hero__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
}
@media (min-width: 800px) {
    .hero__inner { grid-template-columns: 1fr 1.1fr; gap: 2rem; }
}
.hero__media {
    display: flex;
    justify-content: center;
    margin-bottom: -3.25rem;
}
@media (min-width: 800px) {
    .hero__media { justify-content: flex-end; }
}
.hero__media img {
    width: 100%;
    max-width: 620px;
}

/* Portrait hero image with floating trust-stat cards - alternative to
   the plain .hero__media img above, used on service x town pages. The
   badges float outside the image's own box (negative offsets), so this
   variant needs a little breathing room above/below it, and the taller
   portrait column needs the text vertically centered against it rather
   than bottom-aligned like the plain-image .hero elsewhere. Both scoped
   to .hero--portrait so the base .hero is untouched. */
.hero--portrait { padding-bottom: 3.75rem; }
.hero--portrait .hero__inner { align-items: center; }
@media (min-width: 800px) {
    .hero--portrait { padding: 3.75rem 0 3.75rem; }
}
.hero__media--portrait { margin-bottom: 0; }
.hero__portrait {
    position: relative;
    width: 100%;
    max-width: 500px;
}
@media (min-width: 800px) {
    .hero__portrait { margin: 0 2rem 3rem 0; }
}
.hero__portrait-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 15%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.hero__portrait-stat {
    position: absolute;
    background: #fff;
    color: var(--color-navy);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.9rem;
    box-shadow: var(--shadow-md);
    line-height: 1.15;
    min-width: 118px;
}
.hero__portrait-stat strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-navy);
}
.hero__portrait-stat span {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}
.hero__portrait-stat--dark {
    background: var(--color-navy);
    color: #fff;
}
.hero__portrait-stat--dark strong { color: var(--color-gold); }
.hero__portrait-stat--dark span { color: rgba(255,255,255,0.75); }
.hero__portrait-stat--top-left { top: -1.25rem; left: -1rem; }
.hero__portrait-stat--top-right { top: 2rem; right: -1.25rem; }
.hero__portrait-stat--bottom-right { bottom: 2.25rem; right: -1.25rem; }
.hero__portrait-pill {
    position: absolute;
    bottom: -1rem;
    left: -0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(11,37,69,0.94);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}
.hero__portrait-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
    box-shadow: 0 0 0 3px rgba(46,125,50,0.4);
    flex-shrink: 0;
}
@media (max-width: 479px) {
    .hero__portrait-stat { padding: 0.5rem 0.7rem; min-width: 100px; }
    .hero__portrait-stat strong { font-size: 1.05rem; }
    .hero__portrait-stat span { font-size: 0.62rem; }
    .hero__portrait-stat--top-left { left: -0.5rem; top: -1rem; }
    .hero__portrait-stat--top-right { right: -0.5rem; }
    .hero__portrait-stat--bottom-right { right: -0.5rem; }
    .hero__portrait-pill { left: -0.25rem; font-size: 0.72rem; padding: 0.5rem 0.8rem; }
}

.hero__facts {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.hero__fact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}
.hero__fact:last-child { border-bottom: none; padding-bottom: 0; }
.hero__fact-label { font-size: 0.85rem; color: rgba(255,255,255,0.72); }
.hero__fact-value { font-weight: 800; color: var(--color-gold); font-size: 1.1rem; text-align: right; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(46,125,50,0.18);
    border: 1px solid var(--color-green);
    color: #A8E6A3;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-green);
    box-shadow: 0 0 0 3px rgba(46,125,50,0.3);
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero__lede {
    font-size: 1.05rem;
    max-width: 56ch;
    color: rgba(255,255,255,0.88);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}
.hero__reassurance {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
}

/* ---------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------- */

.section {
    padding: clamp(2.75rem, 5vw, 4.5rem) 0;
    border-bottom: 1px solid var(--color-border);
}
.section:last-of-type { border-bottom: none; }
.section--alt { background: var(--color-surface); }
.section__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Every section opens with the same eyebrow + heading + intro block, so
   giving it one wrapper keeps the gap before the content grid consistent
   instead of relying on each grid's own margin-top. */
.section__header {
    max-width: 62ch;
    margin-bottom: 2.25rem;
}
.section__header h2 { margin-bottom: 0.6rem; }
.section__intro { max-width: 62ch; margin-bottom: 0; color: var(--color-text-muted); }
.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--color-red);
    margin-bottom: 0.6rem;
}
.section__eyebrow::before {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 2px;
    background: var(--color-red);
}

/* ---------------------------------------------------------------------
   Text / media split
   --------------------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 800px) {
    .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.split__text .section__eyebrow { margin-bottom: 0.6rem; }
.split__text p { color: var(--color-text-muted); }
.split__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1.25rem 0 1.5rem;
}
.split__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--color-navy);
}
.split__list li::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.15em;
    border-radius: 50%;
    background: rgba(46,125,50,0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' stroke='%232E7D32' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}
.split__media-placeholder {
    aspect-ratio: 4 / 3;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--color-border);
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--color-text-muted);
    text-align: center;
    padding: 1.5rem;
}
.split__media-placeholder span { font-size: 0.85rem; max-width: 22ch; }
.split__media-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ---------------------------------------------------------------------
   Service cards
   --------------------------------------------------------------------- */

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 700px) {
    .card-grid--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
/* Services We Offer grid - 2 columns even on narrow phones, 3 columns
   once .card-grid--3's own breakpoint takes over above (all scoped to
   max-width: 899px so nothing here can outrank that desktop rule).
   Tighter padding and smaller icon/type below 480px so a 2-up card
   stays comfortable on a ~360-390px phone rather than wrapping badly. */
@media (max-width: 899px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}
@media (max-width: 479px) {
    .services-grid .service-card { padding: 1rem; gap: 0.5rem; }
    .services-grid .service-card__icon { width: 36px; height: 36px; }
    .services-grid .service-card__icon svg { width: 18px; height: 18px; }
    .services-grid .service-card h3 { font-size: 0.92rem; }
    .services-grid .service-card p { font-size: 0.82rem; }
}
@media (min-width: 480px) and (max-width: 899px) {
    .services-grid { gap: 1.25rem; }
}
@media (min-width: 700px) {
    .card-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
    .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.service-card--soon { opacity: 0.6; }

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.service-card__icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: rgba(215,38,61,0.1);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card__cert {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-navy);
    background: rgba(245,166,35,0.14);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    width: fit-content;
}
.service-card__link {
    margin-top: auto;
    font-weight: 700;
    color: var(--color-red);
}
.area-cross-link {
    display: inline-block;
    margin-top: 1.5rem;
}
.area-cross-link--red {
    color: var(--color-red);
    font-weight: 700;
}
.area-cross-link--red:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------
   Icon tiles (compact service grid)
   --------------------------------------------------------------------- */

@media (min-width: 600px) {
    .card-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 800px) {
    .card-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
    .card-grid--5 { grid-template-columns: repeat(5, 1fr); }
}

.icon-tile {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.55rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.icon-tile:hover,
a.icon-tile:focus-visible {
    border-color: var(--color-navy);
    box-shadow: var(--shadow-sm);
}
.icon-tile__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(215,38,61,0.1);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-tile__label { font-weight: 700; color: var(--color-navy); font-size: 0.95rem; margin: 0; }
.icon-tile__desc { color: var(--color-text-muted); font-size: 0.82rem; margin: 0; line-height: 1.5; }
.icon-tile__link {
    margin-top: auto;
    padding-top: 0.4rem;
    font-weight: 700;
    color: var(--color-red);
    font-size: 0.82rem;
}

/* ---------------------------------------------------------------------
   Region coverage grid (region card + named town chips)
   --------------------------------------------------------------------- */

.region-coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}
@media (min-width: 800px) {
    .region-coverage-grid { gap: 1.25rem; }
}

.region-coverage-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 800px) {
    .region-coverage-card { padding: 1.5rem; gap: 1rem; }
}
.region-coverage-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.region-coverage-card__name {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.15rem;
}
.region-coverage-card__name:hover { text-decoration: underline; }
.region-coverage-card__count {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-navy);
    background: rgba(245,166,35,0.14);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
}
.region-coverage-card__towns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.town-chip {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}
.region-coverage-card__link {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
    font-weight: 700;
    color: var(--color-red);
    font-size: 0.88rem;
}

/* ---------------------------------------------------------------------
   Region categories (region + clickable town list, live/coming-soon)
   --------------------------------------------------------------------- */

.region-categories {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.region-category {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid transparent;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.region-category--live {
    border-left-color: var(--color-red);
    box-shadow: var(--shadow-sm);
}
.region-category__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.region-category__title {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.2rem;
}
a.region-category__title:hover { text-decoration: underline; }
.region-category__status {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}
.region-category__status--live {
    background: rgba(46,125,50,0.14);
    color: var(--color-green);
}
.region-category__status--soon {
    background: var(--color-bg);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}
.region-category__towns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.town-chip--link {
    color: var(--color-text);
    font-weight: 700;
    background: var(--color-bg);
    border-color: var(--color-border);
}
.town-chip--link:hover { background: rgba(215,38,61,0.16); }

/* ---------------------------------------------------------------------
   Area filter bar + town card grid (areas directory)
   --------------------------------------------------------------------- */

.area-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.area-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.area-filter-chip:hover { border-color: var(--color-navy); }
.area-filter-chip__count {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--color-bg);
    color: var(--color-text-muted);
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
}
.area-filter-chip.is-active {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
}
.area-filter-chip.is-active .area-filter-chip__count {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.town-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) {
    .town-card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .town-card-grid { grid-template-columns: repeat(4, 1fr); }
}
.town-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
a.town-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.town-card--soon { opacity: 0.6; }
.town-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: #FBE9EB;
    color: var(--color-navy-light);
}
.town-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.town-card__name {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.05rem;
}
.town-card__region {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.town-card__status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding-top: 0.8rem;
    border-top: 1px solid var(--color-border);
}
.town-card__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-green);
    flex-shrink: 0;
}
.town-card--soon .town-card__status-dot { background: var(--color-text-muted); }
.town-card__arrow {
    margin-left: auto;
    color: var(--color-navy);
    font-weight: 700;
}
.town-card[data-hidden] { display: none; }

/* ---------------------------------------------------------------------
   Review carousel
   --------------------------------------------------------------------- */

.review-carousel__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}
.review-carousel__track::-webkit-scrollbar { display: none; }

.review-card {
    position: relative;
    flex: 0 0 min(300px, 82vw);
    scroll-snap-align: start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: var(--shadow-sm);
}
.review-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    background: var(--color-bg);
    border: 1px dashed var(--color-border);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}
.review-card__person {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-right: 5.5rem;
}
.review-card__avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(11,37,69,0.08);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-card__person-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.review-card__name { font-weight: 700; color: var(--color-navy); font-size: 0.92rem; }
.review-card__location { font-size: 0.8rem; color: var(--color-text-muted); }
.review-card__stars {
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 0.15em;
}
.review-card__quote {
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 0;
}
.review-card__photo {
    margin-top: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    border: 2px dashed var(--color-border);
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--color-text-muted);
}
.review-card__photo span { font-size: 0.72rem; }
.review-card__photo--image {
    border: none;
    background: none;
    object-fit: cover;
    width: 100%;
}

.review-carousel__controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.review-carousel__btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.review-carousel__btn:hover { background: var(--color-bg); border-color: var(--color-navy); }

/* ---------------------------------------------------------------------
   How it works / steps
   --------------------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    counter-reset: step;
}
@media (min-width: 700px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
}
.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--color-navy);
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

/* ---------------------------------------------------------------------
   Why choose us / stats
   --------------------------------------------------------------------- */

.stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 700px) {
    .stat-row { grid-template-columns: repeat(4, 1fr); }
}
.stat {
    background: var(--color-navy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    text-align: center;
}
.stat__value {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--color-gold);
}
.stat__label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

/* ---------------------------------------------------------------------
   FAQ accordion
   --------------------------------------------------------------------- */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-item__question {
    width: 100%;
    list-style: none;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__icon { flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
    padding: 0 1.25rem 1.1rem;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------
   Final CTA band
   --------------------------------------------------------------------- */

.cta-band {
    background: var(--color-red);
    color: #fff;
    text-align: center;
    padding: 2.75rem 1.25rem;
}
.cta-band h2 { color: #fff; }
.cta-band .btn--outline:hover { background: rgba(255,255,255,0.12); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

.site-footer {
    background: var(--color-navy);
    color: rgba(255,255,255,0.85);
    padding: 2.5rem 0 6rem;
}
.site-footer__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 700px) {
    .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr; }
}
.site-footer__heading {
    color: #fff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.85rem;
}
.site-footer__col--brand .site-footer__heading {
    text-transform: none;
    font-size: 1.15rem;
    letter-spacing: normal;
}
.site-footer__list li { margin-bottom: 0.45rem; font-size: 0.9rem; }
.site-footer__list a:hover { color: var(--color-gold); }
.site-footer__list--columns {
    column-count: 2;
    column-gap: 1.25rem;
}
.site-footer__phone {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--color-gold);
    font-size: 1.1rem;
}
.site-footer__note { font-size: 0.82rem; margin-top: 0.5rem; }
.site-footer__gbp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.1rem;
    padding: 0.55rem 1rem 0.55rem 0.6rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.site-footer__gbp:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.28);
    transform: translateY(-1px);
}
.site-footer__gbp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
}
.site-footer__gbp-text { display: flex; flex-direction: column; line-height: 1.3; }
.site-footer__gbp-text strong { color: #fff; font-size: 0.88rem; font-weight: 700; }
.site-footer__gbp-sub { color: rgba(255,255,255,0.6); font-size: 0.76rem; }
.site-footer__bottom {
    max-width: var(--container-width);
    margin: 2rem auto 0;
    padding: 1.25rem 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-align: center;
}

/* ---------------------------------------------------------------------
   About page: centred intro band
   --------------------------------------------------------------------- */

.about-hero {
    background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    text-align: center;
}
.about-hero__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-hero h1 { color: #fff; }
.about-hero__lede {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.75rem;
    
}
.section__eyebrow--on-dark { color: var(--color-gold); }
.section__eyebrow--on-dark::before { background: var(--color-gold); }

/* ---------------------------------------------------------------------
   About page: what we are / what we're not
   --------------------------------------------------------------------- */

.compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 700px) {
    .compare-grid { grid-template-columns: 1fr 1fr; }
}
.compare-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border-top: 4px solid var(--color-border);
}
.compare-card--yes { border-top-color: var(--color-green); }
.compare-card--no { border-top-color: var(--color-text-muted); }
.compare-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}
.compare-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}
.compare-card--yes li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.15em;
    border-radius: 50%;
    background: rgba(46,125,50,0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' stroke='%232E7D32' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}
.compare-card--no li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.15em;
    border-radius: 50%;
    background: var(--color-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12h12' stroke='%234b5160' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

/* ---------------------------------------------------------------------
   About page: vertical timeline
   --------------------------------------------------------------------- */

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 0.95rem;
    border-left: 2px solid var(--color-border);
}
.timeline__item {
    position: relative;
    padding: 0 0 2rem 2rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item h3 { margin-bottom: 0.35rem; }
.timeline__item p { margin-bottom: 0; color: var(--color-text-muted); }
.timeline__dot {
    position: absolute;
    left: -1.05rem;
    top: 0;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: var(--color-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 3px solid var(--color-bg);
}

/* ---------------------------------------------------------------------
   About page: standards pillars
   --------------------------------------------------------------------- */

.pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 700px) {
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
    .pillar-grid { grid-template-columns: repeat(4, 1fr); }
}
.pillar {
    background: var(--color-navy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.pillar__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245,166,35,0.18);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar h3 { color: #fff; margin-bottom: 0; }
.pillar p { color: rgba(255,255,255,0.78); font-size: 0.88rem; margin-bottom: 0; }

/* ---------------------------------------------------------------------
   Zone diagram (London travel-zone response visual)
   --------------------------------------------------------------------- */

.zone-diagram {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 800px) {
    .zone-diagram { grid-template-columns: auto 1fr; gap: 3rem; }
}
.zone-diagram__visual {
    display: flex;
    justify-content: center;
}
.zone-diagram__list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.5rem;
}
.zone-diagram__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}
.zone-diagram__list strong { color: var(--color-navy); }
.zone-diagram__swatch {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-top: 0.2em;
}
.zone-diagram__swatch--1 { background: var(--color-gold); }
.zone-diagram__swatch--2 { background: var(--color-navy-light); opacity: 0.75; }
.zone-diagram__swatch--3 { background: var(--color-navy-light); opacity: 0.35; }

/* ---------------------------------------------------------------------
   UK regions map (clickable)
   --------------------------------------------------------------------- */

.uk-map {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
}
.uk-map__svg {
    width: 100%;
    height: auto;
    overflow: visible;
}
.uk-map__region {
    stroke: var(--color-navy);
    stroke-width: 1.4;
    stroke-linejoin: round;
    transition: fill 0.15s ease;
}
.uk-map__region--soon {
    fill: var(--color-border);
    fill-opacity: 0.3;
}
.uk-map__link .uk-map__region--live {
    fill: var(--color-red);
    cursor: pointer;
}
.uk-map__link:hover .uk-map__region--live,
.uk-map__link:focus .uk-map__region--live {
    fill: var(--color-gold);
}
.uk-map__link:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   Local hero (clean gradient banner with a watermark postcode,
   town-level pages - no photo, kept deliberately different from the
   standard two-column .hero used on every region/service page)
   --------------------------------------------------------------------- */

.local-hero {
    position: relative;
    background: linear-gradient(155deg, var(--color-navy) 0%, var(--color-navy-light) 70%);
    color: #fff;
    overflow: hidden;
}
.local-hero__postcode {
    position: absolute;
    top: 50%;
    right: 400px;
    transform: translateY(-50%);
    font-size: 9rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: rgba(255,255,255,0.08);
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}
@media (min-width: 800px) {
    .local-hero__postcode { font-size: 17rem; }
}
.local-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 3.5rem 1.25rem 3rem;
}
.local-hero h1 { color: #fff; max-width: 20ch; }
.local-hero__lede {
    font-size: 1.05rem;
    max-width: 52ch;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.5rem;
}
.local-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.22);
    max-width: 52ch;
}
.local-hero__fact {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.local-hero__fact-value { font-weight: 800; font-size: 1.1rem; color: var(--color-gold); }
.local-hero__fact-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.72);
}
@media (min-width: 800px) {
    .local-hero__inner { padding: 5.5rem 1.25rem 4rem; }
}
@media (max-width: 799px) {
    .local-hero__postcode { display: none; }
}

/* ---------------------------------------------------------------------
   Spotlight panel (dark call-out box, alternative to pillar-grid)
   --------------------------------------------------------------------- */

.spotlight-panel {
    background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
}
.spotlight-panel__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 700px) {
    .spotlight-panel__grid { grid-template-columns: repeat(2, 1fr); }
}
.spotlight-panel__item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.spotlight-panel__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245,166,35,0.16);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.spotlight-panel__item h3 { color: #fff; margin-bottom: 0.3rem; font-size: 1.05rem; }
.spotlight-panel__item p { color: rgba(255,255,255,0.82); margin: 0; font-size: 0.92rem;
}

/* ---------------------------------------------------------------------
   Pricing table
   --------------------------------------------------------------------- */

.region-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

/* ---------------------------------------------------------------------
   Area coverage layout: locality-card grid + a compact "other services"
   sidebar card, side by side on wider screens.
   --------------------------------------------------------------------- */

.area-coverage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 800px) {
    .area-coverage { grid-template-columns: 1fr 300px; gap: 2.5rem; }
}
.coverage-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.coverage-card__title {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1rem;
}
.coverage-card__row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-navy);
}
a.coverage-card__row:hover { border-color: var(--color-navy-light); background: var(--color-bg); }
.coverage-card__row-icon { color: var(--color-navy-light); flex-shrink: 0; display: flex; }
.coverage-card__row-arrow { margin-left: auto; color: var(--color-red-dark); flex-shrink: 0; }
.coverage-card__row--soon { color: var(--color-text-muted); }
.coverage-card__row--soon .coverage-card__row-icon { color: var(--color-text-muted); }
.coverage-card__divider { border: none; border-top: 1px solid var(--color-border); margin: 0.1rem 0; }
.coverage-card__link {
    text-align: center;
    font-weight: 700;
    color: var(--color-red);
    font-size: 0.9rem;
}
.coverage-card__link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------
   Locality grid (structured neighbourhood list, town-level pages)
   --------------------------------------------------------------------- */

.locality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns so text isn't squished */
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* 2. Tablets (640px and up) */
@media (min-width: 640px) {
    .locality-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

/* 3. Laptops & PCs (1024px and up) */
@media (min-width: 1024px) {
    .locality-grid { 
        grid-template-columns: repeat(5, 1fr); /* Beautiful 5-column layout */
    }
}
.locality-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.8rem 0.9rem;
    box-shadow: var(--shadow-sm);
}
.locality-card__icon {
    flex-shrink: 0;
    color: var(--color-red);
}
.locality-card__name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-navy);
    line-height: 1.25;
}
.locality-card--primary {
    background: var(--color-navy);
    border-color: var(--color-navy);
    grid-column: span 2;
}
.locality-card--primary .locality-card__icon { color: var(--color-gold); }
.locality-card--primary .locality-card__name { color: #fff; }

.pricing-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
}
.pricing-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.pricing-table thead th {
    background: var(--color-navy);
    color: #fff;
    text-align: left;
    padding: 0.9rem 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-table thead th span {
    display: block;
    font-weight: 500;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.15rem;
}
.pricing-table tbody th {
    text-align: left;
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    white-space: nowrap;
}
.pricing-table td {
    padding: 0.85rem 1.1rem;
    color: var(--color-text);
    white-space: nowrap;
}
.pricing-table tbody tr:nth-child(even) { background: var(--color-bg); }
.pricing-table tbody tr:hover { background: rgba(215,38,61,0.06); }

.pricing-note {
    margin: 1.5rem 0 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------------------
   Process steps (numbered call-out timeline, service x town pages)
   --------------------------------------------------------------------- */

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    counter-reset: process-step;
}
@media (min-width: 700px) {
    .process-steps { grid-template-columns: repeat(4, 1fr); }
}
.process-step {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-sm);
}
.process-step::before {
    counter-increment: process-step;
    content: counter(process-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-gold);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.process-step p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; }

/* ---------------------------------------------------------------------
   Callout panel (single local-knowledge deep dive, service x town pages)
   --------------------------------------------------------------------- */

.callout-panel {
    background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}
.callout-panel__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 800px) {
    .callout-panel__inner { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; }
}
.callout-panel__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.callout-panel__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}
.callout-panel h2 { color: #fff; }
.callout-panel p {
    color: rgba(255,255,255,0.88);
    font-size: 1.02rem;
    max-width: 70ch;
}
.callout-panel__list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.callout-panel__list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.92);
}
.callout-panel__list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    margin-top: 0.55rem;
}

/* ---------------------------------------------------------------------
   Info table (symptom / likely cause reference, service x town pages)
   --------------------------------------------------------------------- */

.info-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
}
.info-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.info-table thead th {
    background: var(--color-navy);
    color: #fff;
    text-align: left;
    padding: 0.9rem 1.1rem;
    font-weight: 700;
}
.info-table tbody th {
    text-align: left;
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    vertical-align: top;
    width: 36%;
}
.info-table td {
    padding: 0.85rem 1.1rem;
    color: var(--color-text-muted);
    vertical-align: top;
}
.info-table tbody tr:nth-child(even) { background: var(--color-bg); }

/* ---------------------------------------------------------------------
   Sticky mobile call bar
   --------------------------------------------------------------------- */

.call-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: var(--call-bar-height);
    z-index: 150;
    background: var(--color-red);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
}
.call-bar__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: 100%;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

@media (min-width: 900px) {
    .call-bar { display: none; }
    body { padding-bottom: 0; }
}

/* ---------------------------------------------------------------------
   Contact page: hero, emergency banner, form + info card
   --------------------------------------------------------------------- */

.ct-hero {
    background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    text-align: center;
}
.ct-hero__inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ct-h1 { color: #fff; margin: 1rem 0 0.75rem; }
.ct-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    max-width: 480px;
    margin: 0 auto 1.75rem;
}
.ct-hero__call { margin-bottom: 0.6rem; }
.ct-hero__note { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; }

.ct-emergency-banner {
    background: #FDECEC;
    border-top: 1px solid #F5C6C8;
    border-bottom: 1px solid #F5C6C8;
    padding: 1.25rem 0;
}
.ct-emergency-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.ct-emergency-banner__text { display: flex; align-items: flex-start; gap: 1rem; flex: 1; min-width: 260px; }
.ct-emergency-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.ct-emergency-banner__title { font-size: 0.98rem; font-weight: 700; color: var(--color-navy); margin-bottom: 0.25rem; }
.ct-emergency-banner__desc { font-size: 0.86rem; color: var(--color-text-muted); max-width: 520px; margin: 0; }
.ct-emergency-banner__call {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--color-red);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(215,38,61,0.35);
    white-space: nowrap;
    flex-shrink: 0;
}
.ct-emergency-banner__call:hover { background: var(--color-red-dark); }

.form-alert {
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
}
.form-alert--success {
    background: rgba(46,125,50,0.1);
    color: var(--color-green);
    border: 1px solid rgba(46,125,50,0.3);
}
.form-alert--error {
    background: rgba(215,38,61,0.08);
    color: var(--color-red-dark);
    border: 1px solid rgba(215,38,61,0.3);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
}
@media (min-width: 800px) {
    .contact-layout { grid-template-columns: 1.4fr 1fr; }
}
.contact-form-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.contact-form {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-navy);
}
.form-input,
.form-textarea,
.form-select {
    font: inherit;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: 2px solid var(--color-navy-light);
    outline-offset: 1px;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%234b5160' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    cursor: pointer;
}
.form-checkbox input {
    margin-top: 0.2em;
    width: 16px;
    height: 16px;
    accent-color: var(--color-red);
    flex-shrink: 0;
}
.form-checkbox a { color: var(--color-red); font-weight: 600; }

.ct-call-card {
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.ct-call-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}
.ct-call-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--color-red);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    width: 100%;
    box-shadow: var(--shadow-sm);
}
.ct-call-card__btn:hover { background: var(--color-red-dark); }
.ct-call-card__caption { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 0.6rem; }

.contact-info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.contact-info-card h2 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.ct-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-bg);
}
.ct-info-row:last-of-type { border-bottom: none; }
.ct-info-row__icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ct-info-row__label { display: block; font-size: 0.72rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.15rem; }
.ct-info-row__value { display: block; font-size: 0.92rem; font-weight: 600; color: var(--color-navy); }
.ct-info-row__value--phone { font-size: 1.1rem; color: var(--color-red); }
.contact-info-card__note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--color-bg);
}

@media (max-width: 768px) {
    .ct-emergency-banner__inner { flex-direction: column; align-items: stretch; text-align: center; }
    .ct-emergency-banner__text { flex-direction: column; align-items: center; text-align: center; }
    .ct-emergency-banner__call { justify-content: center; }
}

/* ---------------------------------------------------------------------
   Legal pages (Privacy Policy)
   --------------------------------------------------------------------- */

.legal-content {
    max-width: none;
}
.legal-content h2 {
    margin-top: 2rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--color-text-muted); }
.legal-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 1em;
    color: var(--color-text-muted);
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--color-red); font-weight: 600; }
.legal-content h3 {
    margin-top: 1.5rem;
    color: var(--color-navy);
}
.legal-content__sub {
    margin-left: 1.5rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--color-border);
}
.legal-content__date {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    font-weight: 600;
}

.site-footer__bottom a {
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
}
.site-footer__bottom a:hover { color: #fff; }


/* ---------------------------------------------------------------------
   Blog - index page: featured post + list
   --------------------------------------------------------------------- */

.blog-intro {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

a.blog-featured {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 800px) {
    a.blog-featured { grid-template-columns: 1.15fr 1fr; }
}
.blog-featured[data-hidden] { display: none; }
.blog-featured__media { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 800px) {
    .blog-featured__media { aspect-ratio: auto; }
}
.blog-featured__body {
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}
.blog-featured__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.55);
}
.blog-featured__category {
    display: inline-block;
    color: #fff;
    background: var(--color-red);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: fit-content;
}
.blog-featured__title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
a.blog-featured:hover .blog-featured__title { text-decoration: underline; }
.blog-featured__excerpt { color: rgba(255,255,255,0.75); font-size: 1rem; }
.blog-featured__meta { display: flex; gap: 0.9rem; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.blog-featured__link { color: #fff; font-weight: 700; margin-top: 0.4rem; }

.blog-controls-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (min-width: 800px) {
    .blog-controls-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
}

.blog-filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.blog-filter-chip {
    display: inline-flex;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.blog-filter-chip:hover { border-color: var(--color-navy); }
.blog-filter-chip.is-active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }

.blog-search { position: relative; width: 100%; max-width: 320px; }
.blog-search__icon {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}
.blog-search__input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--color-navy);
}
.blog-search__input::placeholder { color: var(--color-text-muted); }
.blog-search__input:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(215,38,61,0.12);
}
.blog-search__input::-webkit-search-cancel-button { cursor: pointer; }
.blog-search__empty { text-align: center; color: var(--color-text-muted); padding: 2rem 1rem; }

.blog-list { display: flex; flex-direction: column; margin-top: 1rem; }
.blog-list-item[data-hidden] { display: none; }
a.blog-list-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
    color: inherit;
    text-decoration: none;
    transition: padding-left 0.15s ease;
}
.blog-list a.blog-list-item:first-child { border-top: 1px solid var(--color-border); }
a.blog-list-item:hover { padding-left: 0.5rem; }
.blog-list-item__media { flex-shrink: 0; width: 120px; height: 90px; border-radius: var(--radius-md); overflow: hidden; }
.blog-list-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-list-item__body { flex: 1 1 auto; min-width: 0; }
.blog-list-item__category { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-red); }
.blog-list-item__title { font-size: 1.05rem; color: var(--color-navy); margin: 0.25rem 0 0.3rem; }
a.blog-list-item:hover .blog-list-item__title { text-decoration: underline; }
.blog-list-item__excerpt {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.blog-list-item__meta { display: flex; gap: 0.6rem; font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.4rem; }
.blog-list-item__arrow { flex-shrink: 0; color: var(--color-red); }
@media (max-width: 560px) {
    .blog-list-item__media { width: 76px; height: 62px; }
    .blog-list-item__excerpt { display: none; }
}

/* Small related-post cards reused at the bottom of an article page. */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
a.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    color: inherit;
    text-decoration: none;
}
.blog-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1 1 auto; }
.blog-card__category { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-red); }
.blog-card__title { font-size: 1.1rem; color: var(--color-navy); margin: 0; }
a.blog-card:hover .blog-card__title { text-decoration: underline; }
.blog-card__excerpt { color: var(--color-text-muted); font-size: 0.9rem; flex: 1 1 auto; }
.blog-card__meta { display: flex; gap: 0.75rem; font-size: 0.8rem; color: var(--color-text-muted); }
.blog-card__link { margin-top: 0.25rem; font-weight: 700; color: var(--color-red); }

/* ---------------------------------------------------------------------
   Blog - article page: image-overlay hero + sidebar layout
   --------------------------------------------------------------------- */

.blog-article-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--color-navy);
}
.blog-article-hero__media { position: absolute; inset: 0; z-index: 0; }
.blog-article-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-article-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,37,69,0.25) 0%, rgba(11,37,69,0.95) 100%);
}
.blog-article-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 3rem 1.25rem 2.25rem;
    width: 100%;
}
.blog-article-hero__category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--color-red);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.blog-article-hero h1 { color: #fff; margin: 0 0 0.75rem; max-width: 900px; }
.blog-article-hero__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

.blog-article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 960px) {
    .blog-article-layout { grid-template-columns: 1fr 300px; }
}

.blog-article h2 { margin-top: 2rem; }
.blog-article h2:first-child { margin-top: 0; }
.blog-article p { color: var(--color-text-muted); max-width: 68ch; }
.blog-article ul, .blog-article ol { color: var(--color-text-muted); padding-left: 1.25rem; margin: 0 0 1em; max-width: 68ch; }
.blog-article li { margin-bottom: 0.4rem; }
.blog-article a { color: var(--color-red); font-weight: 600; }
.blog-article__cta {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(215,38,61,0.06);
    border: 1px solid rgba(215,38,61,0.2);
    max-width: 68ch;
    text-align: center;
}
.blog-article__cta p { color: var(--color-navy); font-weight: 600; margin-bottom: 0.75rem; max-width: none; font-size: 1.15rem; }
.blog-article__related { max-width: none; }
.blog-article__figure { max-width: 68ch; margin: 2rem 0; }
.blog-article__figure img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.blog-article__figure figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--color-text-muted); }

.blog-article-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 960px) {
    .blog-article-sidebar { position: sticky; top: 1.5rem; }
}
.blog-sidebar-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; }
.blog-sidebar-card h2 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin: 0 0 1rem;
}
.blog-sidebar-card--cta { background: var(--color-navy); border-color: var(--color-navy); color: #fff; text-align: center; }
.blog-sidebar-card--cta p { color: rgba(255,255,255,0.8); margin: 0 0 1rem; font-weight: 600; font-size: 0.92rem; }
.blog-toc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.blog-toc a { display: flex; align-items: baseline; gap: 0.55rem; color: var(--color-navy); font-weight: 600; font-size: 0.9rem; }
.blog-toc a:hover { color: var(--color-red); }
.blog-toc__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(215,38,61,0.1);
    color: var(--color-red);
    font-size: 0.7rem;
    font-weight: 700;
}