/* =========================================================
   Loft Insulation Leeds — site stylesheet
   Concept: the page header is the loft. Navy roof space above,
   an amber "mineral wool" band as the floor of every header.
   ========================================================= */

:root {
    /* Brand */
    --navy: #142B3B;
    --navy-deep: #0D1F2C;
    --navy-mid: #1E3B50;
    --navy-line: #2C4E66;
    --amber: #F3A640;
    --amber-deep: #D98A26;
    --amber-soft: #FDF1DE;
    --green: #20A779;
    --green-ink: #137A57;
    --paper: #F4F7F8;
    --line: #DCE4E9;
    --ink: #1B2B36;
    --muted: #52636F;
    --white: #FFFFFF;

    /* Type */
    --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
    --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container: 75rem;
    --gutter: 20px;
    --header-h: 76px;
    --radius-sm: 6px;
    --radius: 10px;
    --ease: 0.2s ease;

    /* Mineral wool texture, used for the band under page headers */
    --wool: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 4C4 1 10 1 14 4s10 3 14 0' fill='none' stroke='%23D98A26' stroke-width='1.6'/%3E%3Cpath d='M0 11c4 3 10 3 14 0s10-3 14 0' fill='none' stroke='%23FFCF85' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
ul, ol { list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

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

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 10000;
    background: var(--amber); color: var(--navy); padding: 10px 16px;
    border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-stretch: 85%;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--navy);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 0.6em; }
h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: inherit; }

.lead { font-size: 1.1875rem; color: var(--muted); max-width: 60ch; }
.text-center { text-align: center; }
.mt-3 { margin-top: 28px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px;
    font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
    text-decoration: none; white-space: nowrap;
    border: 2px solid transparent; border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn svg { flex-shrink: 0; }
.btn-lg { padding: 16px 26px; font-size: 1.0625rem; }
.btn-sm { padding: 8px 14px; font-size: 0.875rem; }

/* Primary action: the colour of the insulation */
.btn-cta, .btn-amber { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.btn-cta:hover, .btn-amber:hover { background: #FFB95C; border-color: #FFB95C; color: var(--navy); }

.btn-primary { background: var(--green-ink); border-color: var(--green-ink); color: var(--white); }
.btn-primary:hover { background: #0F6447; border-color: #0F6447; color: var(--white); }

.btn-secondary, .btn-navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-secondary:hover, .btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); }

.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-white { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--paper); border-color: var(--paper); color: var(--navy); }

.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 18px rgba(13,31,44,0.08); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); min-width: 0; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.logo:hover { color: var(--navy); }
.logo svg { width: 2.4rem; height: 2.4rem; flex-shrink: 0; }
.logo-text { white-space: nowrap; font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: -0.01em; }

.mobile-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mobile-phone-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 14px;
    background: var(--amber); color: var(--navy);
    border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9375rem; text-decoration: none;
}
.mobile-phone-btn:hover { color: var(--navy); background: #FFB95C; }
.mobile-phone-btn span { display: none; }
@media (min-width: 26.25em) { .mobile-phone-btn span { display: inline; } }

.hamburger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
    cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 12px var(--gutter) 32px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
    z-index: 999;
}
.main-nav.open { visibility: visible; opacity: 1; transform: none; }
.nav-list > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
    font-weight: 700; font-size: 1.125rem; color: var(--navy); text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.nav-list > li > a svg { transition: transform var(--ease); }
.has-dropdown.open > a svg { transform: rotate(180deg); }
.nav-list > li > a.active { color: var(--green-ink); }
.dropdown { display: none; padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.has-dropdown.open .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 0 9px 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
.dropdown a:hover { color: var(--green-ink); }
.header-phone { display: none; }
.nav-cta { width: 100%; margin-top: 24px; }

@media (min-width: 70em) {
    .mobile-controls { display: none; }
    .main-nav {
        position: static; visibility: visible; opacity: 1; transform: none;
        display: flex; align-items: center; gap: 1.25rem;
        flex: 1; min-width: 0; padding: 0; overflow: visible; background: none;
    }
    .nav-list { display: flex; align-items: center; gap: 2px; margin-right: auto; }
    .nav-list > li { position: relative; }
    .nav-list > li > a {
        gap: 0.375rem; padding: 0.625rem 0.75rem; border: 0;
        font-size: 0.9875rem; font-weight: 600; white-space: nowrap;
        border-radius: var(--radius-sm);
    }
    .nav-list > li > a:hover { background: var(--paper); color: var(--navy); }
    .nav-list > li > a.active { color: var(--navy); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 0; }
    .dropdown {
        position: absolute; top: 100%; left: 0; min-width: 250px;
        padding: 8px; margin-top: 6px;
        background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: 0 14px 30px rgba(13,31,44,0.12);
    }
    .dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
    .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
    .dropdown a { padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.9375rem; }
    .dropdown a:hover { background: var(--paper); }
    .dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; color: var(--green-ink); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
    .nav-cta { width: auto; margin-top: 0; padding: 0.7rem 1.125rem; flex-shrink: 0; }
}
@media (min-width: 84em) {
    .header-phone {
        display: flex; flex-direction: column; align-items: flex-end;
        text-decoration: none; color: var(--navy); line-height: 1.15;
    }
    .header-phone small { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
    .header-phone strong { font-family: var(--font-display); font-stretch: 85%; font-size: 1.3rem; font-weight: 800; }
    .header-phone:hover { color: var(--green-ink); }
}

/* ---------- Alerts ---------- */
.alert {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    max-width: var(--container); margin: 16px auto; padding: 14px 18px;
    border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9375rem;
}
.alert-success { background: #E6F5EE; color: #0F5A40; border: 1px solid #B9E2CF; }
.alert-error { background: #FDECEC; color: #8F1D1D; border: 1px solid #F5C2C2; }
.alert-warning { background: var(--amber-soft); color: #7A4A0B; border: 1px solid #F6D39A; }
.alert-info { background: #EAF2F8; color: #1C4766; border: 1px solid #C5DAEA; }
.alert-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: inherit; opacity: .7; }

/* ---------- Page headers (the loft) ---------- */
.hero, .page-hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
}
/* the insulation layer that every header sits on */
.hero::after, .page-hero::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 18px;
    background: var(--amber) var(--wool);
    background-size: 28px 14px;
    border-top: 2px solid var(--amber-deep);
}
.hero h1, .page-hero h1 { color: var(--white); }

/* Homepage hero */
.hero { padding: 56px 0 74px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.02; margin-bottom: 20px; max-width: 14ch; }
.hero-lead { font-size: 1.1875rem; color: rgba(255,255,255,0.82); max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: grid; gap: 10px; margin-top: 30px; color: rgba(255,255,255,0.88); font-size: 0.9875rem; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; }
.hero-points svg { color: var(--amber); margin-top: 3px; flex-shrink: 0; }
.hero-figure { width: 100%; max-width: 600px; justify-self: center; }
.hero-figure .lbl { font-family: var(--font-display); font-stretch: 85%; }

@media (min-width: 60em) {
    .hero { padding: 72px 0 96px; }
    .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 48px; }
    .hero-points { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

/* Inner page header */
.page-hero { padding: 36px 0 58px; }
.page-hero .container > * { max-width: 820px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); margin-bottom: 14px; }
.page-hero p { font-size: 1.125rem; color: rgba(255,255,255,0.8); max-width: 62ch; }
.page-hero .btn { margin-top: 22px; }
.page-hero .hero-actions { margin-top: 24px; }
.page-hero .hero-actions .btn { margin-top: 0; }
@media (min-width: 60em) { .page-hero { padding: 52px 0 72px; } }

/* Breadcrumbs: small trail above the page title, never a bar of its own */
.breadcrumbs { margin-bottom: 18px; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.breadcrumbs ol, .breadcrumbs ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; color: rgba(255,255,255,0.35); }
.breadcrumbs a { color: rgba(255,255,255,0.78); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs span, .breadcrumbs [aria-current] { color: rgba(255,255,255,0.6); }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-grey, .section-alt { background: var(--paper); }
.section-dark, .section-navy { background: var(--navy); color: rgba(255,255,255,0.82); }
.section-dark h2, .section-dark h3, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-dark a:not(.btn) { color: #7FE0BC; }
.section-dark a:not(.btn):hover { color: var(--white); }
@media (min-width: 60em) { .section { padding: 88px 0; } }

.section-header { max-width: 720px; margin-bottom: 36px; }
.section-header p { color: var(--muted); font-size: 1.125rem; }
.section-header.text-center { margin-left: auto; margin-right: auto; }
.section-header .label, .label { display: none; } /* legacy eyebrow labels retired */

/* Two-part section: heading column + content column */
.split { display: grid; gap: 32px; }
@media (min-width: 60em) {
    .split { grid-template-columns: 5fr 7fr; gap: 72px; }
    .split-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.split-head p { color: var(--muted); }
.section-dark .split-head p { color: rgba(255,255,255,0.75); }

/* ---------- Grids ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
@media (min-width: 45em) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Homepage: reasons list ---------- */
.reasons { display: grid; gap: 0; border-top: 2px solid var(--navy); }
.reasons li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.reasons svg { color: var(--amber-deep); }
.reasons h3 { font-size: 1.25rem; margin-bottom: 4px; }
.reasons p { color: var(--muted); }

/* ---------- Homepage: services ---------- */
.service-index {
    display: grid; gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden;
}
@media (min-width: 45em) { .service-index { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .service-index { grid-template-columns: repeat(3, 1fr); } }
.service-index a {
    display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-content: start;
    padding: 26px 24px; background: var(--white); text-decoration: none; color: var(--ink);
    transition: background-color var(--ease);
}
.service-index a:hover { background: var(--amber-soft); color: var(--ink); }
.service-index a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.service-index .icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    display: grid; place-items: center;
    background: var(--navy); color: var(--amber);
}
.service-index h3 { font-size: 1.2rem; margin-bottom: 6px; }
.service-index p { color: var(--muted); font-size: 0.975rem; line-height: 1.55; }
.service-index .featured { background: var(--navy); color: rgba(255,255,255,0.8); }
.service-index .featured:hover { background: var(--navy-mid); color: rgba(255,255,255,0.85); }
.service-index .featured h3 { color: var(--white); }
.service-index .featured p { color: rgba(255,255,255,0.75); }
.service-index .featured .icon { background: var(--amber); color: var(--navy); }

/* ---------- Generic card (blog, testimonials, contact info, 404) ---------- */
.service-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px;
    color: var(--ink); text-decoration: none;
}
a.service-card:hover { border-color: var(--navy); color: var(--ink); }
a.service-card:hover h3 { color: var(--green-ink); }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--muted); font-size: 0.975rem; }
.service-card-icon {
    width: 44px; height: 44px; margin-bottom: 16px; border-radius: var(--radius-sm);
    display: grid; place-items: center; background: var(--navy); color: var(--amber);
}
.section-grey .service-card { border-color: transparent; }

/* ---------- Foil section ---------- */
.foil-figure { background: var(--navy-mid); border-radius: var(--radius); padding: 22px; }
.foil-figure figcaption { margin-top: 14px; font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.foil-figure .lbl { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: #E6EDF2; }
.link-list { margin: 20px 0 28px; display: grid; gap: 2px; }
.link-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.14);
    text-decoration: none; font-weight: 600;
}

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; gap: 28px 40px; }
@media (min-width: 45em) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
.benefit-item { padding-top: 18px; border-top: 3px solid var(--amber); }
.benefit-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.benefit-item p { color: var(--muted); font-size: 0.99rem; }
.benefit-icon { display: none; }
.figure-callout {
    margin-top: 28px; padding: 22px 24px;
    background: var(--amber-soft); border-left: 4px solid var(--amber);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.figure-callout strong { display: block; font-family: var(--font-display); font-stretch: 85%; font-size: 2.6rem; line-height: 1; color: var(--navy); margin-bottom: 6px; }
.figure-callout span { color: var(--ink); }

/* ---------- Process (a real sequence) ---------- */
.process-steps { display: grid; gap: 0; counter-reset: step; }
.step, .process-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-bottom: 28px; }
.step:not(:last-child)::before, .process-step:not(:last-child)::before {
    content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line);
}
.step-number, .process-step-number {
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--navy); color: var(--white);
    font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: 1.3rem;
    position: relative; z-index: 1;
}
.step h3, .process-step h3 { font-size: 1.2rem; margin: 10px 0 4px; }
.step p, .process-step p { color: var(--muted); font-size: 0.975rem; }
@media (min-width: 64em) {
    .process-steps-wide { grid-template-columns: repeat(5, 1fr); gap: 24px; }
    .process-steps-wide .step { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
    .process-steps-wide .step:not(:last-child)::before { left: 48px; right: -24px; top: 23px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px; display: flex; flex-direction: column;
}
.testimonial-card > p { font-size: 1.05rem; margin-bottom: 18px; flex: 1; }
.testimonial-card strong { display: block; color: var(--navy); }
.testimonial-location, .testimonial-card .location { display: block; color: var(--muted); font-size: 0.875rem; }
.stars { display: block; color: var(--amber-deep); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.1rem; }
.star { color: #C9D3DA; }
.star.filled { color: var(--amber-deep); }
.service-tag { display: inline-block; margin-top: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--green-ink); }

/* ---------- Areas ---------- */
.area-chips, .areas-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips a, .areas-grid a {
    display: inline-block; padding: 9px 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    color: var(--navy); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.area-chips a:hover, .areas-grid a:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.section-grey .area-chips a, .section-grey .areas-grid a { border-color: var(--line); }

/* Areas page: lists of towns inside .grid-4 */
.grid-4 ul { display: grid; gap: 6px; }
.grid-4 ul a {
    display: block; padding: 10px 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
    color: var(--navy); font-weight: 600; text-decoration: none;
}
.grid-4 ul a:hover { border-color: var(--navy); }
.grid-4 ul li:not(:has(a)) { padding: 10px 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-accordion, .faq-list { max-width: 860px; border-top: 2px solid var(--navy); }
.split .faq-accordion { max-width: none; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    width: 100%; padding: 20px 0;
    background: none; border: 0; cursor: pointer; text-align: left;
    font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; color: var(--navy);
}
.faq-question::after {
    content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 2v10M2 7h10' stroke='%23142B3B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat;
    transition: transform var(--ease), background-color var(--ease);
}
.section-grey .faq-question::after { background-color: var(--white); }
.faq-item.open .faq-question::after { transform: rotate(45deg); background-color: var(--amber); }
.faq-question:hover { color: var(--green-ink); }
.faq-icon { display: none; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer > p, .faq-answer-inner { padding: 0 48px 22px 0; color: var(--muted); }

/* ---------- Inner pages: article + sidebar ---------- */
.page-layout { display: grid; gap: 48px; }
@media (min-width: 64em) {
    .page-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
    .page-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.prose { max-width: 72ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.8em 0 0.5em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 0.4em; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
    content: ''; position: absolute; left: 2px; top: 0.62em;
    width: 10px; height: 10px; background: var(--amber); border-radius: 2px;
}
.prose ol { counter-reset: ol; }
.prose ol li { counter-increment: ol; position: relative; padding-left: 40px; }
.prose ol li::before {
    content: counter(ol); position: absolute; left: 0; top: 0.1em;
    width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--navy); color: var(--white);
    font-size: 0.8125rem; font-weight: 700;
}
.prose li strong { color: var(--navy); }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; background: var(--paper); border-left: 4px solid var(--amber); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.services-list li a { font-weight: 700; }

.aside-card {
    background: var(--navy); color: rgba(255,255,255,0.82);
    border-radius: var(--radius); overflow: hidden;
}
.aside-card-body { padding: 26px 24px 24px; }
.aside-card::after { content: ''; display: block; height: 14px; background: var(--amber) var(--wool); background-size: 28px 14px; }
.aside-card h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 8px; }
.aside-card p { font-size: 0.975rem; margin-bottom: 18px; }
.aside-phone {
    display: block; margin-bottom: 14px; text-decoration: none;
    font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--amber);
}
.aside-phone:hover { color: #FFC877; }
.aside-card .btn { width: 100%; }
.aside-ticks { margin-top: 20px; display: grid; gap: 8px; font-size: 0.9375rem; }
.aside-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.aside-ticks svg { color: var(--amber); margin-top: 4px; flex-shrink: 0; }
.aside-links { margin-top: 28px; }
.aside-links h2 { font-size: 1.15rem; margin-bottom: 8px; }
.aside-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.975rem; }
.aside-links a:hover, .aside-links a[aria-current] { color: var(--green-ink); }

/* ---------- Closing call to action (one per page) ---------- */
.cta-section {
    background: var(--amber) ;
    color: var(--navy);
    padding: 56px 0;
    position: relative;
}
.cta-section .container { display: grid; gap: 14px 48px; align-items: center; }
.cta-section h2 { color: var(--navy); margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.6rem); max-width: 22ch; }
.cta-section p { color: #3A2A10; font-size: 1.0625rem; max-width: 60ch; margin: 0; }
.cta-section p a { color: var(--navy); font-weight: 700; }
.cta-section .btn { margin: 6px 10px 0 0; }
.cta-section .btn-cta, .cta-section .btn-primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cta-section .btn-cta:hover, .cta-section .btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.cta-section .btn-white, .cta-section .btn-secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.cta-section .btn-white:hover, .cta-section .btn-secondary:hover { background: var(--navy); color: var(--white); }
@media (min-width: 60em) {
    .cta-section { padding: 72px 0; }
    .cta-section .container { grid-template-columns: 1fr auto; }
    .cta-section h2, .cta-section p { grid-column: 1; }
    .cta-section .cta-buttons { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; }
    .cta-section .cta-buttons .btn { margin: 0; }
}

/* ---------- Forms ---------- */
.quote-form { display: grid; gap: 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.9375rem; color: var(--navy); }
.form-group label .required { color: #B42318; }
.form-control, .quote-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .quote-form select, .quote-form textarea {
    width: 100%; padding: 13px 14px;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--white); border: 1.5px solid #B8C6CF; border-radius: var(--radius-sm);
    transition: border-color var(--ease), box-shadow var(--ease);
}
.form-control:focus, .quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
    outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(243,166,64,0.45);
}
textarea.form-control, .quote-form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; gap: 0 18px; }
@media (min-width: 45em) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; color: var(--muted); }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-ink); }
.form-error { color: #B42318; font-size: 0.875rem; margin-top: 4px; }
.form-control.error { border-color: #B42318; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* ---------- Blog ---------- */
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.blog-card-body, .card-content { padding: 22px; }
.post-date, .blog-card-meta { font-size: 0.875rem; color: var(--muted); }
.category-tag { display: inline-block; font-size: 0.8125rem; font-weight: 700; color: var(--green-ink); }
.blog-content { max-width: 72ch; }
.pagination ul { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--navy); font-weight: 600; }
.pagination .active a { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 64px 0 0; font-size: 0.975rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 45em) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer-col h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col ul a { display: inline-block; padding: 4px 0; color: rgba(255,255,255,0.72); text-decoration: none; }
.footer-col ul a:hover { color: var(--white); text-decoration: underline; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--white); font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: 1.3rem; }
.footer-col > p { margin-bottom: 20px; max-width: 40ch; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-contact a:hover { color: var(--amber); }
.footer-contact .footer-phone { font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: 1.5rem; color: var(--amber); }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); color: var(--white); }
.footer-social a:hover { background: var(--amber); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--white); }

/* ---------- Back to top / cookie / misc ---------- */
.back-to-top {
    position: fixed; right: 18px; bottom: 18px; z-index: 900;
    width: 46px; height: 46px; display: grid; place-items: center;
    background: var(--navy); color: var(--white); border: 0; border-radius: var(--radius-sm);
    cursor: pointer; opacity: 0; visibility: hidden; transition: opacity var(--ease), visibility var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--navy-mid); }

.cookie-consent {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
    background: var(--navy-deep); color: rgba(255,255,255,0.85);
    padding: 16px var(--gutter);
    transform: translateY(100%); transition: transform 0.3s ease;
    border-top: 3px solid var(--amber);
}
.cookie-consent.show { transform: none; }
.cookie-consent-inner { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.cookie-consent p { font-size: 0.9rem; margin: 0; flex: 1 1 420px; }
.cookie-consent a { color: var(--amber); }
.cookie-buttons { display: flex; gap: 8px; }
.cookie-buttons .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.cookie-buttons .btn-outline:hover { background: rgba(255,255,255,0.1); }

.toast-container { position: fixed; top: 20px; right: 20px; z-index: 11000; display: grid; gap: 8px; }
.toast { background: var(--white); border-left: 4px solid var(--green-ink); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: 0 10px 30px rgba(13,31,44,0.18); max-width: 360px; font-size: 0.9375rem; }
.toast.error { border-left-color: #B42318; }

.modal-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(13,31,44,0.9); opacity: 0; visibility: hidden; transition: opacity var(--ease); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content img { max-height: 85vh; border-radius: var(--radius); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* Content from the CMS */
.content-area { max-width: 72ch; }
.content-area h2 { margin-top: 1.6em; }
.content-area ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.content-area ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1em; }

@media print {
    .site-header, .site-footer, .cta-section, .cookie-consent, .back-to-top, .page-aside { display: none !important; }
    .hero, .page-hero { background: none; color: #000; padding: 0 0 16px; }
    .hero::after, .page-hero::after { display: none; }
    .hero h1, .page-hero h1, .page-hero p { color: #000; }
}

/* SVG figure text */
.hero-figure text, .foil-figure text { font-family: var(--font-body); }
.hero-figure .lbl { font-family: var(--font-display); font-stretch: 85%; }
.header-phone strong, .header-phone small { white-space: nowrap; }
.section-dark .split { align-items: center; }
.foil-figure { align-self: center; }
@media (min-width: 60em) { .hero h1 { max-width: 15ch; } }

/* Forms: consent checkbox inside a form group */
.form-group .form-check { display: flex; font-weight: 500; color: var(--muted); font-size: 0.9375rem; margin: 0; }
.alert ul { padding-left: 1.1em; list-style: disc; font-weight: 500; }
.alert p + ul { margin-top: 4px; }
.empty-note { grid-column: 1 / -1; color: var(--muted); }

/* Areas page: town descriptions in groups */
.grid-4 + h2, .grid-4 + p + h2 { margin-top: 56px; }
.grid-4 + .grid-4 { margin-top: 28px; }
.grid-4 h3 { font-size: 1.15rem; margin-bottom: 4px; }
.grid-4 > div > p { color: var(--muted); font-size: 0.96rem; }
.section > .container > p { max-width: 75ch; }
.section > .container > p + h2 { margin-top: 48px; }
h3, h4 { letter-spacing: 0; font-stretch: 92%; }
h1, h2, h3, h4, .logo-text, .footer-logo { word-spacing: 0.08em; }
.section :is(ul, ol, p) + h2 { margin-top: 44px; }
.section :is(ul, ol, p) + h3 { margin-top: 28px; }
