/* ============================================================
   DirtBGone — Main Stylesheet
   Mobile-first, CSS custom properties, no framework
   ============================================================ */

/* ── 1. Custom Properties ─────────────────────────────────── */
:root {
    --brand-primary:      #1EB0A9;
    --brand-primary-dark: #178a84;
    --brand-primary-light:#d0f0ee;
    --brand-bg:           #F0F9F9;
    --brand-ink:          #1A1C1E;
    --brand-ink-light:    #4a4f55;
    --brand-ink-xlight:   #7a8086;
    --brand-white:        #ffffff;
    --brand-border:       #d4ecea;
    --brand-success:      #16a34a;
    --brand-error:        #dc2626;
    --brand-warning:      #d97706;

    --radius-sm:  6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08),  0 1px 2px rgba(0,0,0,.06);
    --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:  0 10px 30px rgba(0,0,0,.12),0 4px 8px rgba(0,0,0,.06);

    --transition: .2s ease;

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    --container-width: 1200px;
    --container-pad:   clamp(1rem, 5vw, 2rem);

    --header-height: 72px;
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--brand-ink);
    background: var(--brand-white);
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--brand-primary-dark); text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; background: none; border: none; }
input, textarea, select {
    font: inherit;
    color: inherit;
    background: var(--brand-white);
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-sm);
    padding: .6rem .875rem;
    width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(30,176,169,.18);
}
h1,h2,h3,h4,h5,h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--brand-ink);
}

/* ── 3. Utilities ─────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.text-centre { text-align: center; }
.text-teal { color: var(--brand-primary); }

/* ── 4. Skip Link ────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    padding: .5rem 1rem;
    background: var(--brand-ink);
    color: var(--brand-white);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; }
.btn-primary {
    background: var(--brand-primary);
    color: var(--brand-white);
    border-color: var(--brand-primary);
}
.btn-primary:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: var(--brand-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}
.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}
.btn-outline:hover {
    background: var(--brand-primary);
    color: var(--brand-white);
    text-decoration: none;
}
.btn-ghost {
    background: transparent;
    color: var(--brand-ink);
    border-color: var(--brand-border);
}
.btn-ghost:hover { background: var(--brand-bg); text-decoration: none; }
.btn-sm { padding: .5rem 1.2rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── 6. Cookie Banner ─────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--brand-ink);
    color: var(--brand-white);
    padding: 1rem var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 8000;
    box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
.cookie-banner a { color: var(--brand-primary-light); }
.cookie-banner[hidden] { display: none; }
.cookie-actions { display: flex; gap: .75rem; }

/* ── 7. Header / Nav ─────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--brand-white);
    border-bottom: 1px solid var(--brand-border);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo-img { height: 44px; width: auto; }
.logo-link:focus-visible { outline: 3px solid var(--brand-primary); border-radius: var(--radius-sm); }

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    z-index: 1100;
}
.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-ink);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--brand-white);
    padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,.12);
    z-index: 1050;
}
.primary-nav.is-open { transform: translateX(0); }

.nav-list { display: flex; flex-direction: column; gap: .25rem; }
.nav-list a {
    display: block;
    padding: .6rem .75rem;
    border-radius: var(--radius-sm);
    color: var(--brand-ink);
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
    background: var(--brand-bg);
    color: var(--brand-primary);
    text-decoration: none;
}
.nav-arrow { font-size: .65em; display: inline-block; margin-left: 2px; }

.dropdown {
    padding-left: 1rem;
    display: none;
}
.has-dropdown.is-open .dropdown { display: block; }
.dropdown a { font-size: .9rem; color: var(--brand-ink-light); }
.nav-cta { align-self: flex-start; }

@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .primary-nav {
        position: static;
        inset: unset;
        transform: none;
        flex-direction: row;
        align-items: center;
        padding: 0;
        box-shadow: none;
        gap: 0;
        overflow: visible;
    }
    .nav-list { flex-direction: row; gap: 0; align-items: center; }
    .nav-list > li { position: relative; }
    .nav-list a { font-size: .925rem; padding: .5rem .75rem; }
    .has-dropdown { position: relative; }
    .dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        min-width: 210px;
        background: var(--brand-white);
        border: 1px solid var(--brand-border);
        border-radius: var(--radius-md);
        padding: .5rem 0;
        box-shadow: var(--shadow-md);
        z-index: 200;
    }
    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown { display: block; }
    .dropdown a { border-radius: 0; padding: .5rem 1.25rem; white-space: nowrap; }
    .nav-cta { margin-left: 1rem; }
}

/* ── 8. Hero ─────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--brand-bg) 0%, #e4f6f5 100%);
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 7vw, 5rem);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(30,176,169,.08);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 768px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brand-primary);
    background: rgba(30,176,169,.12);
    padding: .3rem .85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--brand-primary); }
.hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--brand-ink-light);
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ── 9. Trust Bar ────────────────────────────────────────── */
.trust-bar {
    background: var(--brand-ink);
    color: var(--brand-white);
    padding: 1.25rem 0;
}
.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .875rem;
    font-weight: 500;
}
.trust-icon {
    width: 28px; height: 28px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.trust-icon svg { color: white; }

/* ── 10. Section Styles ──────────────────────────────────── */
.section { padding: clamp(3rem, 8vw, 5rem) 0; }
.section-tint { background: var(--brand-bg); }
.section-dark { background: var(--brand-ink); color: var(--brand-white); }
.section-dark h2, .section-dark h3 { color: var(--brand-white); }
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.section-header h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .75rem; }
.section-header p { color: var(--brand-ink-light); font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,.7); }

/* ── 11. Service Grid ────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-decoration: none;
    color: inherit;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
    text-decoration: none;
}
.service-icon {
    width: 52px; height: 52px;
    background: var(--brand-bg);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-primary);
    flex-shrink: 0;
}
.service-card h3 { font-size: 1.1rem; margin: 0; color: var(--brand-ink); }
.service-card p { color: var(--brand-ink-light); font-size: .9rem; line-height: 1.55; flex: 1; }
.service-card-arrow {
    font-size: .85rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-top: .25rem;
}

/* ── 12. Why Choose Us ───────────────────────────────────── */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 2rem;
}
.benefit-item {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    text-align: center;
    align-items: center;
    padding: 1.5rem;
}
.benefit-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(30,176,169,.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-primary);
}
.benefit-item h3 { font-size: 1rem; margin: 0; }
.benefit-item p { color: var(--brand-ink-light); font-size: .9rem; }

/* ── 13. CTA Band ────────────────────────────────────────── */
.cta-band {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: var(--brand-white);
    padding: clamp(3rem, 7vw, 4.5rem) 0;
    text-align: center;
}
.cta-band h2 { color: var(--brand-white); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .75rem; }
.cta-band p { opacity: .9; max-width: 540px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-band .btn-primary {
    background: var(--brand-white);
    color: var(--brand-primary);
    border-color: var(--brand-white);
}
.cta-band .btn-primary:hover { background: var(--brand-bg); border-color: var(--brand-bg); }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); color: white; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── 14. Area Strip ──────────────────────────────────────── */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
    gap: 1rem;
}
.area-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1rem;
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .9rem;
    color: var(--brand-ink);
    transition: all var(--transition);
    text-decoration: none;
    text-align: center;
}
.area-pill:hover {
    border-color: var(--brand-primary);
    background: var(--brand-bg);
    color: var(--brand-primary);
    text-decoration: none;
}

/* ── 15. Testimonials ────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}
.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card blockquote {
    font-style: italic;
    color: var(--brand-ink-light);
    line-height: 1.6;
    flex: 1;
}
.testimonial-author { font-weight: 600; font-size: .875rem; color: var(--brand-ink); }
.testimonial-location { font-size: .8rem; color: var(--brand-ink-xlight); }

/* ── 16. FAQ Accordion ───────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 800px; }
.faq-item {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--brand-white);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
    font-weight: 600;
    text-align: left;
    color: var(--brand-ink);
    gap: 1rem;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--brand-bg); }
.faq-question[aria-expanded="true"] { background: var(--brand-bg); color: var(--brand-primary); }
.faq-icon {
    width: 24px; height: 24px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--brand-border);
    font-size: 1.1rem;
    transition: transform var(--transition), background var(--transition);
    color: var(--brand-primary);
    font-weight: 400;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--brand-primary); color: white; border-color: var(--brand-primary); }
.faq-answer {
    padding: 0 1.5rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease, padding .35s ease;
}
.faq-answer.is-open { max-height: 600px; padding-bottom: 1.25rem; }
.faq-answer p { color: var(--brand-ink-light); line-height: 1.7; }

/* ── 17. Breadcrumb ──────────────────────────────────────── */
.breadcrumb {
    padding: .75rem 0;
    border-bottom: 1px solid var(--brand-border);
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    font-size: .825rem;
    color: var(--brand-ink-xlight);
}
.breadcrumb-list li { display: flex; align-items: center; gap: .25rem; }
.breadcrumb-list a { color: var(--brand-primary); }
.breadcrumb-list li + li::before { content: '›'; }

/* ── 18. Page Hero (inner pages) ─────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--brand-bg) 0%, #e4f6f5 100%);
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 4rem);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .75rem; }
.page-hero h1 span { color: var(--brand-primary); }
.page-hero-lead { color: var(--brand-ink-light); font-size: 1.05rem; max-width: 560px; margin-bottom: 1.5rem; }
.page-hero-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 768px) {
    .page-hero-grid { grid-template-columns: 1fr auto; align-items: center; }
}

/* ── 19. Inline Quote Form (service/area pages) ──────────── */
.inline-quote-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    min-width: min(100%, 340px);
}
.inline-quote-card h3 { font-size: 1.15rem; margin-bottom: 1.25rem; color: var(--brand-ink); }

/* ── 20. Forms ───────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-group label { font-weight: 600; font-size: .875rem; color: var(--brand-ink); }
.form-group .hint { font-size: .8rem; color: var(--brand-ink-xlight); }
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select { border-color: var(--brand-error); }
.form-error { color: var(--brand-error); font-size: .8rem; }
.hp-field { display: none !important; } /* honeypot */
.form-row { display: grid; gap: 1rem; }
@media (min-width: 540px) {
    .form-row-2 { grid-template-columns: 1fr 1fr; }
}
.form-success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    color: #065f46;
    font-weight: 500;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}

/* Multi-step form */
.quote-steps { display: flex; gap: .5rem; margin-bottom: 2rem; }
.quote-step-indicator {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--brand-border);
    transition: background .3s ease;
}
.quote-step-indicator.active { background: var(--brand-primary); }
.form-step { display: none; }
.form-step.active { display: block; }

/* ── 21. Checklist ───────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: .5rem; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .95rem;
    color: var(--brand-ink-light);
    line-height: 1.5;
}
.checklist li::before {
    content: '';
    display: block;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--brand-primary);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ── 22. Process Steps ───────────────────────────────────── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 2rem;
    counter-reset: step;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.process-step h3 { font-size: 1rem; margin-bottom: .4rem; }
.process-step p { color: var(--brand-ink-light); font-size: .875rem; }

/* ── 23. Content Page ────────────────────────────────────── */
.content-page { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.content-body h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; color: var(--brand-ink); }
.content-body h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; color: var(--brand-ink); }
.content-body p { color: var(--brand-ink-light); margin-bottom: 1rem; }
.content-body ul, .content-body ol { padding-left: 1.25rem; margin-bottom: 1rem; color: var(--brand-ink-light); }
.content-body ul li { list-style: disc; margin-bottom: .35rem; }
.content-body ol li { list-style: decimal; margin-bottom: .35rem; }
.content-body a { color: var(--brand-primary); text-decoration: underline; }

/* ── 24. Blog ────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
}
.blog-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: inherit;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--brand-bg); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.blog-tag {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: var(--brand-primary);
}
.blog-card h3 { font-size: 1rem; line-height: 1.35; color: var(--brand-ink); flex: 1; }
.blog-meta { font-size: .8rem; color: var(--brand-ink-xlight); }
.blog-read-more { font-size: .85rem; font-weight: 600; color: var(--brand-primary); margin-top: .25rem; }

/* ── 25. 404 / Error ─────────────────────────────────────── */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem var(--container-pad);
}
.error-code { font-size: clamp(4rem, 15vw, 8rem); font-weight: 800; color: var(--brand-primary); opacity: .15; line-height: 1; }
.error-page h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin: -1rem 0 1rem; }
.error-page p { color: var(--brand-ink-light); margin-bottom: 2rem; max-width: 400px; }

/* ── 26. Footer ──────────────────────────────────────────── */
.site-footer {
    background: #111416;
    color: rgba(255,255,255,.8);
    padding-top: clamp(2.5rem, 7vw, 4.5rem);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 540px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }

.footer-tagline { color: rgba(255,255,255,.55); font-size: .875rem; margin: .75rem 0; line-height: 1.6; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--brand-primary); color: white; text-decoration: none; }

.footer-heading {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--brand-primary); text-decoration: none; }

.footer-nap { font-style: normal; display: flex; flex-direction: column; gap: .6rem; }
.footer-nap p { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; color: rgba(255,255,255,.7); }
.footer-nap svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-primary); }
.footer-nap a { color: rgba(255,255,255,.85); }
.footer-nap a:hover { color: var(--brand-primary); }
.footer-cta { margin-top: 1.25rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: clamp(2rem, 5vw, 3.5rem);
    padding: 1.25rem 0;
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom nav a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom nav a:hover { color: rgba(255,255,255,.7); text-decoration: none; }

/* ── 27. Sticky mobile CTA ───────────────────────────────── */
.sticky-cta-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--brand-white);
    border-top: 1px solid var(--brand-border);
    padding: .75rem 1rem;
    z-index: 900;
    gap: .75rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
@media (max-width: 767px) {
    .sticky-cta-bar { display: flex; }
    .sticky-cta-bar .btn { flex: 1; justify-content: center; }
}

/* ── 28. Tables ──────────────────────────────────────────── */
.responsive-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th { background: var(--brand-bg); font-weight: 700; text-align: left; padding: .75rem 1rem; border-bottom: 2px solid var(--brand-border); }
tbody td { padding: .7rem 1rem; border-bottom: 1px solid var(--brand-border); color: var(--brand-ink-light); }
tbody tr:last-child td { border-bottom: none; }

/* ── 29. Utility Overrides ───────────────────────────────── */
.mb-0  { margin-bottom: 0 !important; }
.mt-1  { margin-top:    .5rem !important; }
.mt-2  { margin-top:    1rem !important; }
.mt-3  { margin-top:    2rem !important; }
.mb-2  { margin-bottom: 1rem !important; }
.gap-2 { gap: 1rem !important; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-centre { align-items: center; }
.justify-centre { justify-content: center; }
