/* =============================================================
   BIG RIVER GROUP — Main Stylesheet
   Migrated from prototypes/shared/big-river.css
   + Self-hosted @font-face declarations
   + WordPress-specific base styles
   + Responsive nav breakpoints
   + Mega menu styles (appended)
   ============================================================= */


/* =============================================================
   SELF-HOSTED FONTS
   Inter (variable, 400-700) + PT Sans (400, 700)
   ============================================================= */

/* Inter — Latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter — Latin Extended */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* PT Sans — Latin 400 */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/pt-sans-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* PT Sans — Latin 700 */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/pt-sans-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* =============================================================
   RESET & BASE
   ============================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #182E2A;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
ul, ol { list-style: none; }
input, select, button { font-family: inherit; }


/* ===== WP ADMIN BAR (FRONT-END) ===== */

#wpadminbar {
    background: #182E2A !important;
}

#wpadminbar .ab-top-menu > li:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
    background: #2d5249 !important;
}

#wpadminbar .menupop .ab-sub-wrapper {
    background: #182E2A !important;
}


/* ===== COLOUR VARIABLES ===== */

:root {
    --forest-green: #182E2A;
    --muted-gold: #B4A471;
    --off-white: #F5F7F8;
    --off-white-footer: #F8F8F8;
    --border: rgba(0,0,0,0.1);
    --mid-grey: #5A6B68;
    --light-grey: #737373;
    --black: #000000;
    --white: #FFFFFF;
    --gold-tint: rgba(180,164,113,0.08);
    --charcoal: #2D2D2D;
    --off-white-stat: #FAFAFA;
    --dark-grey: #333333;
    --error-red: #d32f2f;
    --gold: #B4A471;

    /* Brand-aligned branch type palette (used for map pins + card badges) */
    --brand-trade-centre: #D4C315;
    --brand-commercial: #A6A091;
    --brand-panels: #E7A423;
    --brand-timberwood: #8AA954;
    --brand-plytech: #FF8204;
}


/* ===== CONTAINER ===== */

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}


/* ===== TYPOGRAPHY ===== */

.eyebrow {
    font-size: 12.8px;
    font-weight: 700;
    letter-spacing: 1.024px;
    text-transform: uppercase;
    color: var(--muted-gold);
    margin-bottom: 8px;
    line-height: normal;
}
h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    color: var(--forest-green);
}
h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--forest-green);
    margin-bottom: 8px;
}
h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--black);
}
.gold-underline {
    width: 56px;
    height: 3px;
    background: var(--muted-gold);
    margin-bottom: 20px;
}
.gold-underline--center {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}
.body-small {
    font-size: 14px;
    line-height: 24px;
    color: var(--black);
}
.body-caption {
    font-size: 12px;
    line-height: 16px;
    color: var(--black);
}


/* ===== UTILITY ===== */

.text-mid-grey { color: var(--mid-grey); }


/* ===== BUTTONS ===== */

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--forest-green);
    color: var(--white);
    border: 1px solid var(--forest-green);
}
.btn-outline {
    background: transparent;
    color: var(--forest-green);
    border: 1px solid var(--forest-green);
}
.btn-ghost {
    background: transparent;
    color: var(--black);
    border: 1px solid var(--border);
}
.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    line-height: 20px;
    border-radius: 10px;
}
.btn:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}


/* ===== CARDS ===== */

.card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
}

.card-image--crop-left { object-position: left center; }
.card-image--crop-right { object-position: right center; }
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-body .btn {
    margin-top: auto;
    align-self: flex-start;
}
.card-body[style*="text-align:center"] .btn,
.card-body[style*="text-align: center"] .btn,
.card-body.text-center .btn {
    align-self: center;
}


/* ===== SECTION CONTAINER ===== */

.section {
    padding: 48px 0;
}
.section--project-hero,
.section--news-hero {
    padding: 48px 0 16px 0;
}
.section-alt {
    background: var(--off-white);
}
.section-header {
    margin-bottom: 32px;
}
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.view-all {
    font-size: 14px;
    font-weight: 400;
    color: var(--forest-green);
    text-decoration: underline;
    white-space: nowrap;
    margin-top: 28px;
}

.view-all:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
    border-radius: 2px;
}


/* ===== GRID LAYOUTS ===== */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/* ===== COMPLIANCE BADGE ===== */

.compliance-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: var(--off-white);
    color: var(--forest-green);
    border: 1px solid var(--border);
}

a.compliance-badge--link {
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

a.compliance-badge--link:hover {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}


/* ===== COMPARISON TABLE ===== */

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.compare-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    color: var(--forest-green);
    border-bottom: 2px solid var(--forest-green);
    background: var(--off-white);
}
.compare-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--forest-green);
    vertical-align: middle;
}
.compare-table tbody tr:hover {
    background: var(--gold-tint);
}
.compare-table .table-link {
    color: var(--forest-green);
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}
.table-swipe-hint {
    display: none;
}
@media (max-width: 1024px) {
    .table-swipe-hint {
        display: block;
        text-align: center;
        font-size: 14px;
        color: var(--light-grey);
        margin-top: 12px;
    }
}


/* ===== FILTER BAR ===== */

/* Unified archive filter bar — top + bottom border */
.archive-filter-bar {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 24px;
}

/* Product filter bar: segment toggle above nested .filter-bar */
.archive-filter-bar--product .filter-bar {
    border: 0;
    margin-bottom: 0;
    padding: 16px 0 0;
}

/* Category dropdown fallback — hidden on desktop, shown on tablet/mobile */
.category-select-fallback {
    display: none;
}

/* Archive filter toggles — hidden on desktop, shown on mobile */
.product-filter-toggle,
.location-filter-toggle,
.archive-filter-toggle {
    display: none;
}
.product-filter-toggle__chevron,
.location-filter-toggle__chevron,
.archive-filter-toggle__chevron {
    transition: transform 0.2s ease;
}
.product-filter-toggle[aria-expanded="true"] .product-filter-toggle__chevron,
.location-filter-toggle[aria-expanded="true"] .location-filter-toggle__chevron,
.archive-filter-toggle[aria-expanded="true"] .archive-filter-toggle__chevron {
    transform: rotate(180deg);
}


.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.filter-select {
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--forest-green);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23182E2A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.filter-spacer { flex: 1; }
.view-toggle {
    display: flex;
    gap: 4px;
}
.view-toggle__btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--light-grey);
}
.view-toggle__btn.active {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}


/* ===== RESOURCE CARDS ===== */

.resource-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}
.resource-card .btn {
    margin-top: auto;
}
.resource-card__thumbnail {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
}
.resource-card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    opacity: 0.85;
}
.resource-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.doc-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}
.file-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.file-badge-pdf { background: #FEE2E2; color: #DC2626; }
.file-badge-bim { background: #DBEAFE; color: #2563EB; }
.file-badge-dwg { background: #DBEAFE; color: #2563EB; }
.file-badge-xlsx { background: #DCFCE7; color: #16A34A; }
.file-badge-cad { background: #CFFAFE; color: #0891B2; }
.file-badge-default { background: #F3F4F6; color: #6B7280; }
.doc-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 500;
    color: var(--forest-green);
}

/* Document list — horizontal card layout */

.document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.resource-card--horizontal {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    position: relative;
}
.resource-card--horizontal .doc-badges {
    flex-shrink: 0;
}
.resource-card--horizontal .resource-card__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--forest-green);
    margin: 0;
    flex: 1;
    min-width: 0;
}
.resource-card--horizontal .resource-card__title a {
    color: inherit;
    text-decoration: none;
}
.resource-card--horizontal .resource-card__title a:hover {
    text-decoration: underline;
}
.resource-card--horizontal .resource-card__meta {
    font-size: 13px;
    color: var(--mid-grey);
    flex-shrink: 0;
    white-space: nowrap;
}
.resource-card--horizontal .resource-card__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
@media (max-width: 768px) {
    .resource-card--horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
    }
    .resource-card--horizontal .resource-card__actions {
        margin-left: 0;
    }
}

/* ===== TRUST BADGES ===== */

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--off-white);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}


/* ===== BREADCRUMB ===== */

.breadcrumb {
    border-bottom: 1px solid var(--border);
}
.breadcrumb .container {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 14px;
    color: var(--forest-green);
}
.breadcrumb a { color: var(--forest-green); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .separator { margin: 0 8px; color: var(--light-grey); }
.breadcrumb .current { font-weight: 700; }


/* ===== GUIDE SECTION ===== */

.guide-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.guide-content,
.guide-image {
    flex: 1;
    min-width: 0;
}

/* Admin-controlled modifiers (mirrors hero-split / content-split pattern) */
.guide-layout--reverse { flex-direction: row-reverse; }

.guide-layout--img-30 .guide-image { flex: 0 0 30%; }
.guide-layout--img-40 .guide-image { flex: 0 0 40%; }
.guide-layout--img-55 .guide-image { flex: 0 0 55%; }
.guide-layout--img-60 .guide-image { flex: 0 0 60%; }
/* 50% is base/default - no rule needed */

.guide-layout--align-center  { align-items: center; }
.guide-layout--align-flex-end { align-items: flex-end; }
/* flex-start is base/default - no rule needed */

.guide-layout--sticky .guide-image {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}
.guide-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--forest-green);
    margin-top: 20px;
    margin-bottom: 8px;
}
.guide-content p {
    margin-bottom: 12px;
    color: var(--mid-grey);
    font-size: 15px;
    line-height: 24px;
}


/* =============================================================
   HEADER — Top Bar + Main Nav
   ============================================================= */

.site-topbar {
    background: var(--white);
    height: 40px;
}
.site-topbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    height: 100%;
    font-size: 12px;
}
.site-topbar__link {
    color: var(--black);
    text-decoration: none;
}
.site-topbar__link--bordered {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px 12px;
}
.site-topbar__btn {
    color: var(--white);
    background: var(--forest-green);
    border: 1px solid var(--forest-green);
    border-radius: 12px;
    padding: 4px 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.site-nav {
    background: var(--forest-green);
    height: 97px;
    position: relative;
}
.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.site-nav__logo {
    flex-shrink: 0;
}
.site-nav__logo img {
    height: 64px;
    width: auto;
}
.site-nav__logo-text {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    font-family: 'PT Sans', sans-serif;
}
.site-nav__links {
    display: flex;
    gap: 32px;
    font-family: 'PT Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
}
.site-nav__link {
    color: var(--white);
    text-decoration: none;
}
.site-nav__link--active {
    border-bottom: 2px solid var(--white);
    padding-bottom: 2px;
}
.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-nav__search-form {
    display: flex;
    position: relative;
}
.site-nav__search {
    padding: 8px 36px 8px 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 12px;
    width: 306px;
    font-family: 'Inter', sans-serif;
}
.site-nav__search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.site-nav__search-btn:hover {
    color: var(--forest-green);
}
.site-nav__cta {
    color: var(--forest-green);
    background: var(--muted-gold);
    border: 1px solid var(--muted-gold);
    border-radius: 12px;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}


/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
    background: var(--off-white);
    padding: 48px 0 24px;
}
.site-footer .container {
    padding: 0 32px;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.site-footer__brand-logo {
    height: 96px;
    width: auto;
    margin-bottom: 16px;
}
.site-footer__brand-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--forest-green);
    font-family: 'PT Sans', sans-serif;
    margin-bottom: 16px;
}
.site-footer__brand-heading {
    font-size: 20.8px;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 8px;
    line-height: 32px;
}
.site-footer__brand-desc {
    font-size: 15px;
    color: var(--forest-green);
    line-height: 24px;
    margin-bottom: 20px;
}
.site-footer__social {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.site-footer__social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-footer__subscribe {
    margin-top: 4px;
}
.site-footer__subscribe .wpcf7-form {
    margin: 0;
}
.site-footer__subscribe .footer-subscribe-fields,
.site-footer__subscribe .footer-subscribe-fields p {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    align-items: stretch;
}
.site-footer__subscribe .wpcf7-form-control-wrap {
    flex: 1;
}
.site-footer__subscribe input[type="email"] {
    width: 100%;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.4;
    background: #fff;
}
.site-footer__subscribe input[type="email"]:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 0 0 0 2px rgba(24,46,42,0.25);
}
.site-footer__subscribe input[type="email"]:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}
.site-footer__subscribe .wpcf7-response-output {
    margin: 8px 0 0;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
}
.site-footer__subscribe .wpcf7-form.sent .wpcf7-response-output {
    background: var(--forest-green);
    color: #fff;
}
.site-footer__subscribe .wpcf7-form.invalid .wpcf7-response-output,
.site-footer__subscribe .wpcf7-form.failed .wpcf7-response-output {
    background: #fef2f2;
    color: #991b1b;
}
.site-footer__subscribe .wpcf7-form [type="submit"] {
    margin-top: 0;
    width: 100%;
}
.site-footer__subscribe .wpcf7-not-valid-tip {
    display: none;
    font-family: 'Inter', sans-serif;
}
.site-footer__col-heading {
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 16px;
    font-size: 16px;
}
.site-footer__col-heading a {
    color: inherit;
    text-decoration: none;
}
.site-footer__col-heading a:hover {
    text-decoration: underline;
}
.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.site-footer__link {
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: none;
}
/* wp_nav_menu outputs <li> elements — style those to match */
.site-footer__links li {
    list-style: none;
}
.site-footer__links li a {
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: none;
}
.site-footer__copyright {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 13px;
    color: var(--light-grey);
}


/* =============================================================
   STICKY BOTTOM BAR
   ============================================================= */

.sticky-bar {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 900;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    max-width: calc(100vw - 32px);
}
.sticky-bar.is-hidden {
    display: none;
}
.sticky-bar__close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: var(--mid-grey);
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: color 0.15s ease, border-color 0.15s ease;
}
.sticky-bar__close:hover {
    color: var(--black);
    border-color: #bbb;
}
.sticky-bar__text {
    font-size: 14px;
    color: var(--black);
}
.sticky-bar__btn-outline {
    color: var(--forest-green);
    background: transparent;
    border: 1px solid var(--forest-green);
    border-radius: 12px;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.sticky-bar__btn-primary {
    color: var(--white);
    background: var(--forest-green);
    border: 1px solid var(--forest-green);
    border-radius: 12px;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}


/* =============================================================
   CTA DARK BLOCK (in-page, copy varies per page)
   ============================================================= */

.cta-dark {
    background: var(--forest-green);
    padding: 64px 0;
    text-align: center;
}
.cta-dark .container {
    padding: 0 32px;
}
.cta-dark .eyebrow {
    color: var(--muted-gold);
}
.cta-dark h2 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 8px;
}
.cta-dark p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 26px;
    max-width: 560px;
    margin: 0 auto 32px;
}
.cta-dark__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.btn-cta-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 12px;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}
.btn-cta-solid {
    background: var(--white);
    color: var(--forest-green);
    border: 1px solid var(--white);
    border-radius: 12px;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}


/* ===== FAQ ACCORDION ===== */

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}
.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-green);
    flex: 1;
}
.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--forest-green);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.faq-answer {
    display: none;
    padding-top: 12px;
    font-size: 16px;
    line-height: 26px;
    color: var(--mid-grey);
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}


/* ===== TRUST BADGES SECTION (wrapper) ===== */

.trust-badges-section {
    padding: 40px 0;
}


/* =============================================================
   WORDPRESS — Base styles
   ============================================================= */

/* Admin bar offset for fixed elements */
.admin-bar .sticky-bar {
    bottom: 10px;
}

/* WordPress alignment classes */
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* WordPress captions */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--mid-grey); margin-top: 8px; }

/* Screen reader text (accessibility) */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal;
}
.screen-reader-text:focus {
    clip: auto;
    display: block;
    height: auto;
    width: auto;
    position: static;
}


/* =============================================================
   RESPONSIVE — Nav breakpoints
   ============================================================= */

@media (max-width: 992px) {
    .site-nav__links {
        display: none;
    }
    .site-nav__search-form {
        display: none;
    }
    .site-nav__cta {
        display: none;
    }
    .site-topbar {
        display: none;
    }
    .sticky-bar {
        gap: 8px;
        left: 16px;
        right: 16px;
        transform: none;
        width: auto;
        justify-content: center;
    }
    .sticky-bar__text {
        display: none;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 32px 0;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
    .view-all {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .segment-btn {
        padding-top: 9px;
        padding-bottom: 9px;
    }
    .eyebrow {
        font-size: 13px;
        letter-spacing: 0.8px;
    }
    .trust-pill {
        font-size: 13px;
    }
    /* --- Global section spacing tightening --- */
    .section-header {
        margin-bottom: 20px;
    }
    .gold-underline {
        margin-bottom: 12px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .site-footer .container,
    .cta-dark .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .sticky-bar__btn-outline,
    .sticky-bar__btn-primary {
        font-size: 13px;
        padding: 10px 12px;
    }
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .guide-layout {
        grid-template-columns: 1fr;
    }
    .guide-layout > :last-child:not(.guide-content) {
        display: none;
    }
}


/* =============================================================
   MEGA MENU — Desktop (3-column drill-down)
   Migrated from products-mega-menu/mega-menu.css
   ============================================================= */

:root {
    --mm-shadow: 0 8px 30px rgba(24, 46, 42, 0.15);
    --mm-column-width: 320px;
    --mm-transition: 0.3s ease;
    --mm-mobile-header-height: 60px;
}

/* --- Main Container --- */

.br-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--off-white);
    box-shadow: var(--mm-shadow);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--mm-transition),
                transform var(--mm-transition),
                visibility var(--mm-transition);
}

.br-mega-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.br-mega-menu__container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 500px;
}

/* --- Columns --- */

.br-mega-menu__column {
    width: var(--mm-column-width);
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    opacity: 1;
    transition: opacity var(--mm-transition);
}

.br-mega-menu__column--categories {
    background-color: var(--forest-green);
}

.br-mega-menu__column--subcategories,
.br-mega-menu__column--brands {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: opacity var(--mm-transition),
                transform var(--mm-transition),
                visibility var(--mm-transition);
}

.br-mega-menu__column--subcategories.is-visible,
.br-mega-menu__column--brands.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.br-mega-menu__column--brands {
    border-right: none;
    flex-grow: 1;
    max-width: none;
    width: auto;
    min-width: var(--mm-column-width);
}

/* --- Column Headers --- */

.br-mega-menu__column-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.br-mega-menu__column--categories .br-mega-menu__column-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.br-mega-menu__column-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-mega-menu__column--categories .br-mega-menu__column-title {
    color: var(--white);
}

/* --- View All Link --- */

.br-mega-menu__view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    color: var(--muted-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    transition: background-color var(--mm-transition), color var(--mm-transition);
}

.br-mega-menu__view-all:hover {
    background-color: var(--muted-gold);
    color: var(--white);
}

.br-mega-menu__view-all svg {
    width: 16px;
    height: 16px;
    transition: transform var(--mm-transition);
}

.br-mega-menu__view-all:hover svg {
    transform: translateX(4px);
}

/* --- Brands Hint --- */

.br-mega-menu__brands-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 12px;
    color: var(--mid-grey);
    background-color: rgba(180, 164, 113, 0.08);
    border-bottom: 1px solid var(--border);
}

.br-mega-menu__brands-hint svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* --- List & Items --- */

.br-mega-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.br-mega-menu__column-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.br-mega-menu__column-content .br-mega-menu__list {
    flex-grow: 1;
}

.br-mega-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: background-color var(--mm-transition);
}

.br-mega-menu__column--subcategories .br-mega-menu__item:hover,
.br-mega-menu__column--subcategories .br-mega-menu__item.is-active,
.br-mega-menu__column--brands .br-mega-menu__item:hover,
.br-mega-menu__column--brands .br-mega-menu__item.is-active {
    background-color: rgba(180, 164, 113, 0.15);
}

.br-mega-menu__column--categories .br-mega-menu__item:hover,
.br-mega-menu__column--categories .br-mega-menu__item.is-active {
    background-color: var(--muted-gold);
}

/* --- Links --- */

.br-mega-menu__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: var(--forest-green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    flex-grow: 1;
    transition: color var(--mm-transition);
}

.br-mega-menu__column--categories .br-mega-menu__link {
    color: var(--white);
}

.br-mega-menu__column--categories .br-mega-menu__item:hover .br-mega-menu__link,
.br-mega-menu__column--categories .br-mega-menu__item.is-active .br-mega-menu__link {
    color: var(--forest-green);
}

.br-mega-menu__link:hover {
    text-decoration: none;
}

/* --- Icons --- */

.br-mega-menu__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.br-mega-menu__icon svg {
    width: 24px;
    height: 24px;
}

.br-mega-menu__icon--placeholder {
    opacity: 0.8;
}

/* --- Arrow Buttons --- */

.br-mega-menu__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 100%;
    min-height: 52px;
    background: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    color: var(--white);
    transition: color var(--mm-transition), opacity var(--mm-transition);
    flex-shrink: 0;
    opacity: 0.7;
    padding: 0;
    margin: 0;
}

.br-mega-menu__arrow:focus:not(:focus-visible) {
    outline: none;
}

.br-mega-menu__arrow:focus-visible {
    outline: 2px solid var(--muted-gold);
    outline-offset: -2px;
}

.br-mega-menu__arrow:hover,
.br-mega-menu__arrow:focus,
.br-mega-menu__arrow:active {
    opacity: 1;
}

.br-mega-menu__column--categories .br-mega-menu__arrow {
    color: var(--white);
}

.br-mega-menu__column--categories .br-mega-menu__item:hover .br-mega-menu__arrow,
.br-mega-menu__column--categories .br-mega-menu__item.is-active .br-mega-menu__arrow {
    color: var(--forest-green);
}

.br-mega-menu__column--subcategories .br-mega-menu__arrow,
.br-mega-menu__column--brands .br-mega-menu__arrow {
    color: var(--forest-green);
    opacity: 0.6;
}

.br-mega-menu__column--subcategories .br-mega-menu__arrow:hover,
.br-mega-menu__column--brands .br-mega-menu__arrow:hover {
    color: var(--muted-gold);
    opacity: 1;
}

.br-mega-menu__arrow svg {
    width: 20px;
    height: 20px;
    transition: transform var(--mm-transition);
}

.br-mega-menu__arrow:hover svg {
    transform: translateX(3px);
}

/* --- Brand Items --- */

.br-mega-menu__brand-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    margin-right: 12px;
}

.br-mega-menu__brand-item .br-mega-menu__link {
    padding: 12px 24px;
}

/* --- Scrollbar --- */

.br-mega-menu__list::-webkit-scrollbar {
    width: 6px;
}

.br-mega-menu__list::-webkit-scrollbar-track {
    background: transparent;
}

.br-mega-menu__list::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 3px;
}

.br-mega-menu__list::-webkit-scrollbar-thumb:hover {
    background-color: var(--muted-gold);
}

/* --- States --- */

.br-mega-menu__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--mid-grey);
}

.br-mega-menu__empty {
    padding: 24px;
    color: var(--mid-grey);
    font-size: 14px;
    text-align: center;
}

/* --- Staggered Animation --- */

@keyframes br-fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.br-mega-menu__column-content.is-animating .br-mega-menu__item {
    animation: br-fadeIn 0.3s ease forwards;
}

.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(1) { animation-delay: 0.02s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(2) { animation-delay: 0.04s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(3) { animation-delay: 0.06s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(4) { animation-delay: 0.08s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(5) { animation-delay: 0.10s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(6) { animation-delay: 0.12s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(7) { animation-delay: 0.14s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(8) { animation-delay: 0.16s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(9) { animation-delay: 0.18s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(10) { animation-delay: 0.20s; }
.br-mega-menu__column-content.is-animating .br-mega-menu__item:nth-child(n+11) { animation-delay: 0.22s; }

/* --- Browse All Brands Link (categories column footer) --- */

.mega-menu-brands-link {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 24px;
    margin-right: 24px;
    padding: 12px 0;
}

.mega-menu-brands-link__anchor {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mega-menu-brands-link__anchor:hover {
    color: var(--white);
    text-decoration: none;
}

.mega-menu-brands-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.mega-menu-brands-link__icon svg {
    width: 20px;
    height: 20px;
}

.mega-menu-brands-link__text {
    flex-grow: 1;
}

.mega-menu-brands-link__arrow {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease, transform 0.2s ease;
}

.mega-menu-brands-link__anchor:hover .mega-menu-brands-link__arrow {
    color: var(--muted-gold);
    transform: translateX(3px);
}

.mega-menu-brands-link__arrow svg {
    width: 18px;
    height: 18px;
}

/* --- Desktop Responsive --- */

@media (max-width: 1200px) {
    :root {
        --mm-column-width: 280px;
    }
}

@media (max-width: 992px) {
    .br-mega-menu {
        display: none;
    }
}


/* =============================================================
   MEGA MENU — Mobile (slide-out panel drill-down)
   ============================================================= */

/* --- Hamburger Trigger --- */

.br-mobile-menu__trigger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100000;
}

.br-mobile-menu__trigger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--mm-transition);
}

.br-mobile-menu__trigger--dark .br-mobile-menu__trigger-bar {
    background-color: var(--forest-green);
}

.br-mobile-menu__trigger.is-active .br-mobile-menu__trigger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.br-mobile-menu__trigger.is-active .br-mobile-menu__trigger-bar:nth-child(2) {
    opacity: 0;
}

.br-mobile-menu__trigger.is-active .br-mobile-menu__trigger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
    .br-mobile-menu__trigger {
        display: flex;
    }
}

/* --- Overlay --- */

.br-mobile-menu__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 46, 42, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--mm-transition), visibility var(--mm-transition);
}

.br-mobile-menu__overlay.is-active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .br-mobile-menu__overlay {
        display: block;
    }
}

/* --- Menu Container --- */

.br-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--white);
    z-index: 99999;
    transform: translateX(100%);
    transition: transform var(--mm-transition);
    overflow: hidden;
    flex-direction: column;
}

.br-mobile-menu.is-active {
    transform: translateX(0);
}

@media (max-width: 992px) {
    .br-mobile-menu {
        display: flex;
    }
}

@media (max-width: 480px) {
    .br-mobile-menu {
        max-width: 100%;
    }
}

/* --- Header --- */

.br-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--mm-mobile-header-height);
    padding: 0 20px;
    background-color: var(--forest-green);
    flex-shrink: 0;
}

.br-mobile-menu__header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.br-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 32px;
    line-height: 1;
    transition: opacity var(--mm-transition);
}

.br-mobile-menu__close:hover {
    opacity: 0.7;
}

/* --- Mobile Menu Utility Links (Investors, NZ) --- */

.br-mobile-menu__utility-links {
    display: flex;
    gap: 12px;
    padding: 12px 20px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}
.br-mobile-menu__utility-link {
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
}
.br-mobile-menu__utility-links + .br-mobile-menu__cta {
    margin-top: 0;
}

/* --- Mobile Menu CTA Buttons --- */

.br-mobile-menu__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    margin-top: auto;
}
.br-mobile-menu__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    min-height: 48px;
}
.br-mobile-menu__cta-btn--outline {
    color: var(--forest-green);
    background: var(--white);
    border: 1px solid var(--forest-green);
}
.br-mobile-menu__cta-btn--primary {
    color: var(--white);
    background: var(--forest-green);
    border: 1px solid var(--forest-green);
}

/* --- Browse All Brands Link (mobile categories panel) --- */

.br-mobile-menu__brands-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    color: var(--gold);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.br-mobile-menu__brands-link svg:last-child {
    margin-left: auto;
    color: var(--mid-grey);
}

/* --- Panels --- */

.br-mobile-menu__panels {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
}

.br-mobile-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--mm-transition);
    overflow: hidden;
}

.br-mobile-menu__panel.is-active {
    transform: translateX(0);
}

.br-mobile-menu__panel.is-exiting-left {
    transform: translateX(-30%);
}

.br-mobile-menu__panel--main {
    transform: translateX(0);
}

.br-mobile-menu__panel--main.is-exiting-left {
    transform: translateX(-30%);
}

/* --- Panel Header --- */

.br-mobile-menu__panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: var(--off-white);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.br-mobile-menu__back {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-gold);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px 8px 8px;
    margin: -8px;
    margin-right: 0;
    border-radius: 4px;
    transition: background-color var(--mm-transition);
}

.br-mobile-menu__back:hover {
    background-color: rgba(180, 164, 113, 0.1);
}

.br-mobile-menu__back svg {
    width: 20px;
    height: 20px;
}

.br-mobile-menu__panel-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--forest-green);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* --- Panel Content --- */

.br-mobile-menu__panel-content {
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

/* --- View All Link --- */

.br-mobile-menu__view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--muted-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background-color: rgba(180, 164, 113, 0.08);
    border-bottom: 1px solid var(--border);
    transition: background-color var(--mm-transition);
}

.br-mobile-menu__view-all:hover {
    background-color: rgba(180, 164, 113, 0.15);
    text-decoration: none;
}

.br-mobile-menu__view-all svg {
    width: 16px;
    height: 16px;
}

/* --- Brands Subheading --- */

.br-mobile-menu__brands-subheading {
    padding: 12px 20px;
    font-size: 13px;
    color: var(--mid-grey);
    background-color: var(--off-white);
    border-bottom: 1px solid var(--border);
}

/* --- List & Items --- */

.br-mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.br-mobile-menu__item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
}

.br-mobile-menu__item:last-child {
    border-bottom: none;
}

/* --- Links --- */

.br-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    padding: 16px 20px;
    color: var(--forest-green);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color var(--mm-transition);
}

.br-mobile-menu__link:hover {
    background-color: rgba(180, 164, 113, 0.08);
    text-decoration: none;
}

.br-mobile-menu__link:active {
    background-color: rgba(180, 164, 113, 0.15);
}

/* --- Icons --- */

.br-mobile-menu__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--forest-green);
}

.br-mobile-menu__icon svg {
    width: 24px;
    height: 24px;
}

.br-mobile-menu__icon--placeholder {
    opacity: 0.6;
}

/* --- Arrow Buttons --- */

.br-mobile-menu__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    background: none;
    background-color: transparent;
    border: none;
    border-left: 1px solid var(--border);
    cursor: pointer;
    color: var(--forest-green);
    transition: background-color var(--mm-transition), color var(--mm-transition);
    flex-shrink: 0;
}

.br-mobile-menu__arrow svg {
    width: 20px;
    height: 20px;
}

.br-mobile-menu__arrow:hover,
.br-mobile-menu__arrow:active {
    background-color: rgba(180, 164, 113, 0.1);
    color: var(--muted-gold);
}

/* --- Brand Items --- */

.br-mobile-menu__item--brand .br-mobile-menu__link {
    padding: 14px 20px;
}

.br-mobile-menu__brand-logo {
    width: 50px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* --- Scrollbar --- */

.br-mobile-menu__panel-content::-webkit-scrollbar {
    width: 4px;
}

.br-mobile-menu__panel-content::-webkit-scrollbar-track {
    background: transparent;
}

.br-mobile-menu__panel-content::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 2px;
}

/* --- Hide on Desktop --- */

@media (min-width: 993px) {
    .br-mobile-menu,
    .br-mobile-menu__overlay,
    .br-mobile-menu__trigger {
        display: none;
    }
}

/* --- Body Scroll Lock --- */

body.br-mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

body.br-mobile-menu-open .br-mobile-menu__trigger {
    z-index: 1;
}


/* =============================================================
   PHASE 3 — COMPONENT CSS
   Template part styles extracted from prototypes
   ============================================================= */


/* --- Hero Split (50/50 text + image) --- */

.hero-split {
    display: flex;
    gap: 48px;
    align-items: center;
}

.hero-split__text {
    flex: 1;
}

.hero-split__text h1,
.hero-split__text h2 {
    margin-bottom: 8px;
}

.hero-split__text p {
    margin-bottom: 24px;
}

.hero-split__image {
    flex: 1;
}

.hero-split__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.hero-split__image--crop-left img { object-position: left center; }
.hero-split__image--crop-right img { object-position: right center; }

.hero-split__image--logo-only img {
    object-fit: contain;
    background: var(--off-white);
    padding: 32px;
}

.hero-split__brand-logo {
    max-height: 48px;
    width: auto;
}

.hero-split__logo-fallback {
    max-width: 280px;
    height: auto;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

/* Admin-controlled modifiers (mirrors content-split pattern) */
.hero-split--reverse { flex-direction: row-reverse; }

.hero-split--img-30 .hero-split__image { flex: 0 0 30%; }
.hero-split--img-40 .hero-split__image { flex: 0 0 40%; }
.hero-split--img-55 .hero-split__image { flex: 0 0 55%; }
.hero-split--img-60 .hero-split__image { flex: 0 0 60%; }

.hero-split--align-flex-start { align-items: flex-start; }
.hero-split--align-flex-end   { align-items: flex-end; }

.hero-split--sticky .hero-split__image {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}


/* --- Hero Centered (text only, no image) --- */

.hero-centered {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}


/* --- Stats Row --- */

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--forest-green);
    line-height: 1.1;
}

.stat-label {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 20px;
}


/* --- Content Split (two-column text + image) --- */

.content-split {
    display: flex;
    gap: 48px;
    align-items: center;
}

.content-split--reverse {
    flex-direction: row-reverse;
}

.content-split__image {
    flex: 0 0 55%;
}
.content-split--img-30 .content-split__image { flex: 0 0 30%; }
.content-split--img-40 .content-split__image { flex: 0 0 40%; }
.content-split--img-50 .content-split__image { flex: 0 0 50%; }
.content-split--img-60 .content-split__image { flex: 0 0 60%; }
.content-split--align-flex-start { align-items: flex-start; }
.content-split--align-flex-end { align-items: flex-end; }

.content-split--sticky .content-split__image {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.content-split__text {
    flex: 1;
}
.content-split__text > ul {
    list-style: disc;
    padding-left: 24px;
}
.content-split__text > ul li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.content-split__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}


/* --- Testimonial Card --- */

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card__quote-mark {
    font-size: 64px;
    line-height: 1;
    color: var(--muted-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card__text {
    font-size: 16px;
    line-height: 28px;
    color: var(--forest-green);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card__author {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
}

.testimonial-card__role {
    font-size: 13px;
    color: var(--mid-grey);
}


/* --- Video Card --- */

.video-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: #2A2A2A;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.video-card__body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.video-card__body h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--forest-green);
}

.video-card__meta {
    font-size: 13px;
    color: var(--light-grey);
    line-height: 20px;
}

.video-card__tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(24, 46, 42, 0.06);
    color: var(--forest-green);
    align-self: flex-start;
    margin-top: auto;
}


/* --- Location Card --- */

.location-card {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-card:hover {
    background: var(--off-white);
}

.location-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.location-card-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-green);
}

.location-card-name a {
    color: var(--forest-green);
    text-decoration: none;
}

.location-card-name a:hover {
    text-decoration: underline;
}

.branch-type-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.badge-trade-centre {
    background: rgba(212,195,21,0.18);
    color: #6E6600;
}

.badge-commercial {
    background: rgba(166,160,145,0.22);
    color: #4F4A3F;
}

.badge-big-river-panels {
    background: rgba(231,164,35,0.18);
    color: #7A4D04;
}

.badge-timberwood-panels {
    background: rgba(138,169,84,0.22);
    color: #3F5324;
}

.badge-plytech-panels {
    background: rgba(255,130,4,0.16);
    color: #8A4300;
}

.location-card-address {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 20px;
}

.location-card-phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
}

.location-card-hours {
    font-size: 13px;
    color: var(--mid-grey);
}

.location-card-hours .status-open {
    color: #2E7D32;
    font-weight: 600;
}

.location-card-hours .status-closed {
    color: #C62828;
    font-weight: 600;
}

.capability-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.capability-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--off-white);
    color: var(--mid-grey);
    border: 1px solid var(--border);
}

.location-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.location-card-actions a {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--forest-green);
}

.location-card-actions a.primary-action {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

.distance-tag {
    font-size: 12px;
    color: var(--light-grey);
    font-style: italic;
}


/* ============================================================ */
/* LOCATION ARCHIVE: Search & Filter Bar                         */
/* ============================================================ */

/* Location archive uses larger padding inside archive-filter-bar */
.search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.search-input-lg {
    flex: 1;
    max-width: 420px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 14px;
    color: var(--mid-grey);
    font-family: 'Inter', sans-serif;
}
.search-input-lg:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 0 0 0 3px rgba(24, 46, 42, 0.12);
}
.archive-filter-bar .search-row .filter-select {
    padding: 12px 16px;
}
.filter-select:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 0 0 0 3px rgba(24, 46, 42, 0.12);
}
.btn-geo {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 14px;
    color: var(--mid-grey);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.btn-geo:hover {
    border-color: var(--forest-green);
    color: var(--forest-green);
}
.btn-geo:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}
.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-pill {
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 13px;
    color: var(--forest-green);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.filter-pill:hover {
    border-color: var(--forest-green);
    color: var(--forest-green);
}
.filter-pill:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}
.filter-pill.active {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

/* ============================================================ */
/* LOCATION ARCHIVE: Map + List Split                            */
/* ============================================================ */

/* location-results-count retired — uses .archive-result-count now */
.map-list-container {
    display: flex;
    gap: 0;
    min-height: 700px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.map-panel {
    flex: 1;
    background: #E8E4DD;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-right: 1px solid var(--border);
    min-height: 700px;
}
.map-panel .map-label {
    font-size: 14px;
    color: var(--mid-grey);
    margin-bottom: 16px;
}
.list-panel {
    flex: 1;
    overflow-y: auto;
    max-height: 700px;
}
.state-group-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mid-grey);
    padding: 16px 24px 8px;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1;
}
.location-card {
    cursor: pointer;
}
.location-card-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.location-card-actions a:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}
.state-directory__link:focus-visible,
.location-nearby-card:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}
.location-card.highlighted {
    background: var(--off-white);
    border-left: 3px solid var(--forest-green);
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 11px;
    color: var(--mid-grey);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.map-legend-title {
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--forest-green);
    margin-bottom: 2px;
}
.map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.map-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.map-legend-dot.trade-centre { background: var(--brand-trade-centre); }
.map-legend-dot.commercial { background: var(--brand-commercial); }
.map-legend-dot.big-river-panels { background: var(--brand-panels); }
.map-legend-dot.timberwood-panels { background: var(--brand-timberwood); }
.map-legend-dot.plytech-panels { background: var(--brand-plytech); }

/* Map info window */
.map-info-window {
    padding: 4px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

/* ============================================================ */
/* LOCATION ARCHIVE: State Directory                             */
/* ============================================================ */

.state-directory {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}
.state-directory__heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.state-directory__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--mid-grey);
    text-decoration: none;
}
.state-directory__link:hover {
    color: var(--forest-green);
}

/* ============================================================ */
/* LOCATION SINGLE: Hero                                         */
/* ============================================================ */

.location-hero {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.location-hero__left {
    flex: 0 0 60%;
}
.location-hero__right {
    flex: 0 0 calc(40% - 32px);
}
.location-hero__image {
    width: 100%;
    height: 320px;
    border-radius: 16px;
    object-fit: cover;
}
.location-hero__image--crop-left { object-position: left center; }
.location-hero__image--crop-right { object-position: right center; }
.location-alert-bar {
    background: #FEF3C7;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.location-hero__type-pill {
    display: inline-block;
    background: var(--off-white);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--forest-green);
}
.location-hero__nap {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.location-hero__nap-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.location-hero__nap-icon {
    width: 20px;
    height: 20px;
    background: var(--off-white);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.location-hero__phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--forest-green);
    text-decoration: none;
}
.location-hero__phone:hover {
    text-decoration: underline;
}

/* Status dot indicator */
.location-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}
.location-status-dot--open { background: #16A34A; }
.location-status-dot--closed { background: #C62828; }

/* ============================================================ */
/* LOCATION SINGLE: Hours                                        */
/* ============================================================ */

.location-hours-table {
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--white);
}
.location-hours-notes {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    padding: 20px;
}

/* ============================================================ */
/* LOCATION SINGLE: Services                                     */
/* ============================================================ */

.location-service-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.location-service-card__icon {
    width: 40px;
    height: 40px;
    background: var(--off-white);
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================ */
/* LOCATION SINGLE: Fleet & Delivery                             */
/* ============================================================ */

.location-fleet-table {
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--white);
}
.delivery-zone-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    padding: 14px 18px;
    border-left: 4px solid var(--light-grey);
}

/* ============================================================ */
/* LOCATION SINGLE: Gallery + Lightbox                           */
/* ============================================================ */

.location-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 12px;
}
.location-gallery-grid > a:first-child {
    grid-row: span 2;
}
.location-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.location-gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    border-radius: 16px;
}
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    font-size: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover, .lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-close:focus-visible, .lightbox-nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================================ */
/* PRODUCT SWATCH GRID                                           */
/* ============================================================ */

.product-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.product-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    gap: 8px;
    font-family: inherit;
}
.product-swatch__img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.product-swatch:hover .product-swatch__img,
.product-swatch:focus-visible .product-swatch__img {
    border-color: var(--gold);
}
.product-swatch:focus-visible {
    outline: none;
}
.product-swatch__name {
    font-size: 12px;
    line-height: 16px;
    color: var(--mid-grey);
    text-align: center;
    word-break: break-word;
}

/* Swatch heading */
.product-swatches-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 32px;
}
.product-swatches-wrap {
    padding-top: 8px;
}

/* Swatch lightbox — transparent overlay, image only */
.swatch-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.swatch-overlay__card {
    position: relative;
    cursor: default;
    text-align: center;
}
.swatch-overlay__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--dark-green, #182E2A);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.swatch-overlay__close:hover {
    background: var(--mid-green, #2d5249);
}
.swatch-overlay__img {
    max-width: 500px;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.swatch-overlay__caption {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-green, #182E2A);
    margin-top: 12px;
}

@media (max-width: 640px) {
    .swatch-overlay__img {
        max-width: 90vw;
    }
}

@media (max-width: 480px) {
    .product-swatches {
        gap: 16px;
    }
    .product-swatch {
        width: 80px;
    }
    .product-swatch__img {
        width: 80px;
        height: 80px;
    }
}

/* ============================================================ */
/* LOCATION SINGLE: Reviews                                      */
/* ============================================================ */

.location-review-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    padding: 20px;
}
.location-review-avatar {
    width: 32px;
    height: 32px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
    flex-shrink: 0;
}
.location-star-rating {
    color: #B4A471;
}

/* ============================================================ */
/* LOCATION SINGLE: Branch Manager                               */
/* ============================================================ */

.location-manager-card {
    max-width: 400px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

/* ============================================================ */
/* LOCATION SINGLE: Document Tabs                                */
/* ============================================================ */

.location-doc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.location-doc-tab {
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--forest-green);
    white-space: nowrap;
    flex-shrink: 0;
}
.location-doc-tab:hover {
    border-color: var(--forest-green);
    color: var(--forest-green);
}
.location-doc-tab:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}
.location-doc-tab.active {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

/* ============================================================ */
/* LOCATION SINGLE: Accreditations                               */
/* ============================================================ */

.location-accreditations {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.location-accreditation-badge {
    background: var(--off-white);
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--forest-green);
    min-width: 80px;
    height: 44px;
    border: 1px solid var(--border);
}

/* ============================================================ */
/* LOCATION SINGLE: Explore / Nearby                             */
/* ============================================================ */

.location-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.location-nearby-card {
    display: block;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
}
.location-nearby-card:hover {
    background: var(--off-white);
}
.location-nearby-badge {
    display: inline-block;
    background: var(--off-white);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
    color: var(--forest-green);
}

/* ============================================================ */
/* LOCATION SINGLE: Responsive Layout Classes                    */
/* ============================================================ */

.location-hours-layout { display: flex; gap: 60px; align-items: flex-start; }
.location-hours-col { flex: 0 0 400px; }
.location-hours-map { flex: 1; min-height: 350px; }
.location-hours-map iframe { height: 100%; }
.location-fleet-layout { display: flex; gap: 32px; }
.location-directions-layout { display: flex; gap: 32px; }
.location-directions-map { flex: 0 0 55%; }
.location-reviews-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.location-hero__ctas { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.location-gallery-grid > a { position: relative; display: block; }
.filter-pills { scrollbar-width: none; }
.filter-pills::-webkit-scrollbar { display: none; }

/* ============================================================ */
/* LOCATION: National Coverage                                   */
/* ============================================================ */

.national-coverage-map {
    border-radius: 16px;
    min-height: 460px;
    background: #E8E4DD;
    overflow: hidden;
    position: relative;
}
.national-coverage-map__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.national-coverage-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--mid-grey);
}

/* ============================================================ */
/* LOCATION: User Location Pulse                                 */
/* ============================================================ */

@keyframes location-pulse {
    0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(66, 133, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); }
}

/* ============================================================ */
/* LOCATION: Responsive                                          */
/* ============================================================ */

@media (max-width: 1024px) {
    .map-list-container {
        flex-direction: column;
        min-height: auto;
    }
    .search-row {
        flex-wrap: wrap;
    }
    .map-panel {
        min-height: 400px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .list-panel {
        max-height: none;
    }
    .location-hero {
        flex-direction: column-reverse;
    }
    .location-hero__left,
    .location-hero__right {
        flex: none;
        width: 100%;
    }
    .location-explore-grid {
        grid-template-columns: 1fr;
    }
    .state-directory {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .search-row {
        flex-wrap: wrap;
    }
    .search-input-lg {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .filter-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .state-directory {
        grid-template-columns: repeat(2, 1fr);
    }
    .location-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .location-gallery-grid > a:first-child {
        grid-row: auto;
        grid-column: span 2;
    }
    .location-hours-layout { flex-direction: column; }
    .location-hours-col { flex: none; width: 100%; }
    .location-hours-map { flex: none; width: 100%; min-height: 300px; }
    .location-fleet-layout { flex-direction: column; }
    .location-directions-layout { flex-direction: column; }
    .location-directions-map { flex: none; width: 100%; }
    .location-reviews-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
    .state-directory {
        grid-template-columns: 1fr;
    }
    .location-manager-card {
        max-width: 100%;
    }
    .location-doc-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .location-gallery-grid {
        grid-template-columns: 1fr;
    }
    .location-gallery-grid > a:first-child {
        grid-column: auto;
    }
}


/* --- Download Modal --- */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-backdrop[hidden] {
    display: none;
}

.modal {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    max-width: 480px;
    width: 100%;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    position: relative;
}

.modal__header {
    padding: 24px 28px 0;
}

.modal__body {
    padding: 20px 28px 28px;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--mid-grey);
}

.modal__close:hover {
    background: var(--off-white);
}

.modal__file-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--off-white);
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal__file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.modal__file-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
    line-height: 20px;
}

.modal__file-meta {
    font-size: 12px;
    color: var(--light-grey);
}

.modal .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.modal .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
}

.modal .form-group input {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--forest-green);
    background: var(--white);
}

.modal .form-group input::placeholder {
    color: var(--light-grey);
}

.modal .form-group input:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 0 0 0 3px rgba(24, 46, 42, 0.12);
}

.modal .form-group input:focus-visible,
.modal__consent input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

.modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal .form-row .form-group {
    margin-bottom: 0;
}

.modal__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.modal__consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--forest-green);
    margin-top: 2px;
    flex-shrink: 0;
}

.modal__consent label {
    font-size: 13px;
    line-height: 18px;
    color: var(--mid-grey);
}

.modal__consent label a {
    color: var(--forest-green);
    text-decoration: underline;
}

.modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal__actions .btn {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
}

.modal__skip {
    text-align: center;
    font-size: 13px;
    color: var(--light-grey);
    margin-top: 4px;
}

.modal__skip a {
    color: var(--mid-grey);
    text-decoration: underline;
}


/* --- Feature Icons Row --- */

.feature-icons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1;
    min-width: 140px;
}

.feature-icon-item .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--forest-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-item .icon-circle svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-icon-item__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
    line-height: 20px;
}

.feature-icon-item__sublabel {
    font-size: 13px;
    color: var(--mid-grey);
    line-height: 18px;
}

.feature-icons-row--left {
    justify-content: flex-start;
}

.feature-icons-row--left .feature-icon-item {
    align-items: flex-start;
    text-align: left;
}


/* --- Logo Bar --- */

.logo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.logo-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-bar__item img {
    max-height: 48px;
    min-height: 28px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-bar--grayscale .logo-bar__item img {
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.2s, opacity 0.2s;
}

.logo-bar--grayscale .logo-bar__item img:hover {
    filter: grayscale(0);
    opacity: 1;
}


/* --- Brand Card --- */

.brand-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.brand-card__media {
    display: block;
    width: calc(100% + 48px);
    margin: -24px -24px 0;
    aspect-ratio: 16 / 9;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-sizing: border-box;
}

.brand-card__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.brand-card__media--logo img {
    object-fit: contain;
}

.brand-card__media--lifestyle img {
    object-fit: cover;
}

.brand-card__logo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    display: block;
    object-fit: contain;
    background: var(--off-white);
    padding: 20px;
    box-sizing: border-box;
}

.brand-card__category {
    font-size: 12.8px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted-gold);
    line-height: normal;
}

.brand-card__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-card__heading h3 {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.brand-card__inline-logo {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-height: 22px;
    max-width: 45%;
    margin-left: auto;
    min-width: 0;
    overflow: hidden;
}

.brand-card__inline-logo img {
    display: block;
    max-width: 100%;
    max-height: 22px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--forest-green);
}

.brand-card p {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 22px;
}

.brand-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.australian-made-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.8px;
    font-weight: 600;
    color: var(--forest-green);
}

.australian-made-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--muted-gold);
    stroke: none;
    flex-shrink: 0;
}

/* --- Credential Grid (Brands Heritage) --- */

.credential-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.credential-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--forest-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.credential-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.credential-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
}

/* --- Resource Support Card (Brands) --- */

.resource-support-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-support-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--forest-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-support-card .icon-circle svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.resource-support-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-green);
}

/* --- Logo Bar (direct img) --- */

.logo-bar img {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* --- Job Listing Card --- */

.job-listing {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    gap: 24px;
}

.job-listing:first-child {
    border-top: 1px solid var(--border);
}

.job-listing__info {
    flex: 1;
}

.job-listing__info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 6px;
}

.job-listing__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.job-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: var(--off-white);
    color: var(--forest-green);
    border: 1px solid var(--border);
}

.job-listing__meta span {
    font-size: 14px;
    color: var(--mid-grey);
}

.job-listing__action {
    flex-shrink: 0;
}


/* --- Text Link --- */

.text-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}


/* --- Body Scroll Lock (modal) --- */

body.modal-open {
    overflow: hidden;
}


/* =============================================================
   PHASE 3 — RESPONSIVE
   ============================================================= */

@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        gap: 32px;
    }

    .hero-split--reverse {
        flex-direction: column;
    }

    .hero-split--img-30 .hero-split__image,
    .hero-split--img-40 .hero-split__image,
    .hero-split--img-55 .hero-split__image,
    .hero-split--img-60 .hero-split__image {
        flex: none;
        width: 100%;
    }

    .content-split {
        flex-direction: column;
        gap: 32px;
    }

    .content-split--reverse {
        flex-direction: column;
    }

    .content-split__image {
        flex: none;
        width: 100%;
    }

    /* Guide layout mobile collapse */
    .guide-layout,
    .guide-layout--reverse {
        flex-direction: column;
        gap: 32px;
    }

    .guide-layout--img-30 .guide-image,
    .guide-layout--img-40 .guide-image,
    .guide-layout--img-55 .guide-image,
    .guide-layout--img-60 .guide-image {
        flex: none;
        width: 100%;
    }

    /* Sticky image disabled on mobile (layout stacks to column) */
    .hero-split--sticky .hero-split__image,
    .content-split--sticky .content-split__image,
    .guide-layout--sticky .guide-image {
        position: static;
    }

    .modal {
        max-width: 100%;
    }

    .feature-icons-row {
        gap: 24px;
    }

    .job-listing {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-number {
        font-size: 24px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .location-card-actions {
        flex-wrap: wrap;
    }

    .modal-backdrop {
        padding: 12px;
    }

    .modal {
        max-height: 85vh;
        max-height: 85dvh;
    }

    .modal__close {
        position: sticky;
        top: 0;
        float: right;
        margin: 12px 12px 0 0;
        z-index: 1;
    }

    .modal__header {
        padding: 12px 20px 0;
    }

    .modal__body {
        padding: 12px 20px 20px;
    }

    .modal .form-group {
        margin-bottom: 10px;
    }

    .modal .form-row {
        grid-template-columns: 1fr;
    }

    .feature-icons-row {
        gap: 20px;
    }

    .feature-icon-item {
        min-width: calc(50% - 16px);
    }

    .logo-bar {
        gap: 20px;
    }

    .logo-bar__item img {
        max-height: 36px;
        max-width: 100px;
    }
}

/* ============================================================= */
/* PHASE 4 — Single Product                                      */
/* ============================================================= */

.product-hero {
    display: flex;
    gap: 32px;
}

.product-hero__gallery {
    flex: 0 0 55%;
    min-width: 0;
}

.product-hero__main-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 12px;
}

.product-hero__main-img--crop-left img { object-position: left center; }
.product-hero__main-img--crop-right img { object-position: right center; }

.product-hero__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    overflow: hidden;
    max-height: 192px;
}

.product-hero__thumb {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-hero__thumb.active {
    border-color: var(--forest-green);
}

.product-hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-hero__info {
    flex: 0 0 calc(45% - 32px);
}

.product-hero__quick-specs {
    background: var(--off-white);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.product-hero__specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.product-features-strip {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-features-strip__item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.product-alert-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    border-left: 4px solid #DC2626;
}

.product-lead-capture {
    display: flex;
    gap: 40px;
    align-items: center;
}

.product-lead-capture__text {
    flex: 1;
}

.product-lead-capture__form {
    display: flex;
    flex-direction: column;
}

.compare-highlighted {
    background: rgba(180, 164, 113, 0.08);
}

/* ============================================================= */
/* PHASE 4 — Responsive                                          */
/* ============================================================= */

@media (max-width: 1024px) {
    .product-hero {
        flex-direction: column;
        gap: 24px;
    }

    .product-hero__gallery,
    .product-hero__info {
        flex: none;
        width: 100%;
    }

    .product-hero__main-img img {
        height: 320px;
    }

    .product-features-strip {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }

    .product-features-strip__item {
        flex: 0 0 calc(33.33% - 16px);
        justify-content: flex-start;
    }

    .product-lead-capture {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .product-hero__main-img img {
        height: 260px;
    }

    .product-hero__thumbs {
        gap: 8px;
    }

    .product-hero__thumb {
        width: 70px;
        height: 70px;
    }

    .product-features-strip__item {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 640px) {
    .product-hero__specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================= */
/* PHASE 4 — Archive Product                                     */
/* ============================================================= */

.archive-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.archive-hero__cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 16px;
}

.archive-hero__phone {
    font-size: 14px;
    color: var(--mid-grey);
}

.archive-result-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--mid-grey);
}

.post-type-archive-project .archive-result-count {
    margin-bottom: 0;
}

/* Filter toggle button — hidden on desktop, shown on mobile */
.project-filter-toggle {
    display: none;
}

.archive-pagination {
    padding: 16px 0 0;
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--mid-grey);
    text-decoration: none;
}

.archive-pagination .page-numbers.current {
    background: var(--forest-green);
    color: #fff;
    border-color: var(--forest-green);
    font-weight: 600;
}

.archive-pagination .page-numbers:hover:not(.current):not(.dots) {
    border-color: var(--forest-green);
    color: var(--forest-green);
}

.archive-pagination .page-numbers.dots {
    border: none;
    width: auto;
}

/* List view — horizontal card layout */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-view .card {
    display: flex;
    flex-direction: row;
    gap: 0;
}

.list-view .card .card-image,
.list-view .card img.card-image {
    width: 200px;
    min-width: 200px;
    height: auto;
    aspect-ratio: auto;
    border-radius: 16px 0 0 16px;
    object-fit: cover;
}

.list-view .card .card-body {
    flex: 1;
}

/* ============================================================= */
/* PHASE 4 — Category Detail                                     */
/* ============================================================= */

.category-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.category-hero__image-wrap {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.category-hero__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-hero__image--crop-top { object-position: center top; }
.category-hero__image--crop-bottom { object-position: center bottom; }
.category-hero__image--crop-left { object-position: left center; }
.category-hero__image--crop-right { object-position: right center; }
.category-hero__video-wrap {
    border-radius: 24px;
    overflow: hidden;
}
.category-hero__video-wrap .responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.category-hero__video-wrap .responsive-video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

@media (max-width: 1024px) {
    .category-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .category-hero__image-wrap,
    .category-hero__video-wrap {
        display: none;
    }
}

/* Child Category Navigation Pills */
.child-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0;
}

/* Mobile sub-category dropdown — hidden on desktop, shown on mobile */
.category-filter-mobile {
    display: none;
}

.child-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--forest-green);
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.child-category-pill:hover {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    color: #fff;
}

.child-category-pill:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

/* ============================================================= */
/* PHASE 4 — Single Project                                      */
/* ============================================================= */

.project-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.project-hero__image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.project-hero__image--crop-left { object-position: left center; }
.project-hero__image--crop-right { object-position: right center; }

.project-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    border-radius: 0 0 24px 24px;
}

.project-hero__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.project-hero__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding-top: 24px;
    padding-bottom: 40px;
}

.project-hero__thumbs a {
    display: block;
    cursor: pointer;
}

.project-hero__thumbs img {
    aspect-ratio: 16/10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.key-facts-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.product-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    background: var(--off-white);
    font-size: 12px;
    font-weight: 600;
    color: var(--forest-green);
    border: 1px solid var(--border);
    text-decoration: none;
}

.product-pill:hover {
    background: var(--forest-green);
    color: #fff;
    border-color: var(--forest-green);
}

.project-testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.project-awards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.award-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.award-card__icon {
    width: 56px;
    height: 56px;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-press {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.press-card {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
}

/* ============================================================= */
/* PHASE 4 — Project Archive                                     */
/* ============================================================= */

/* project-filter-bar retired — uses .archive-filter-bar now */
.archive-filter-bar#project-filter-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sector-toggle {
    display: flex;
    gap: 0;
}

.sector-toggle__btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: 0;
    text-decoration: none;
    color: var(--forest-green);
    background: var(--white);
}

.sector-toggle__btn:first-child {
    border-radius: 12px 0 0 12px;
}

.sector-toggle__btn:last-child {
    border-radius: 0 12px 12px 0;
    border-right: 1px solid var(--border);
}

.sector-toggle__btn.active {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
    border-right: 1px solid var(--forest-green);
}

.sector-toggle__btn.active + .sector-toggle__btn {
    border-left: 0;
}

.sector-toggle__btn:nth-last-child(2):has(+ .sector-toggle__nz) {
    border-radius: 0 12px 12px 0;
    border-right: 1px solid var(--border);
}

.sector-toggle__nz,
.sector-toggle__nz:last-child {
    margin-left: 12px;
    border-radius: 12px;
    border-right: 1px solid var(--border);
    cursor: pointer;
}
.sector-toggle__nz:hover {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

/* filter-chips/filter-chip retired — use .filter-pills/.filter-pill instead */

.trust-bar {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--off-white);
}
.trust-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.trust-bar__badges {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.trust-bar__badge {
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--forest-green);
}
.trust-bar__stats {
    display: flex;
    gap: 24px;
    align-items: center;
}
.trust-bar__stat {
    text-align: center;
}
.trust-bar__stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--forest-green);
}
.trust-bar__stat-label {
    font-size: 12px;
    color: var(--light-grey);
}
.trust-bar__stat-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--forest-green);
}

/* ============================================================= */
/* NEWS — Single + Archive                                       */
/* ============================================================= */

/* --- News Hero (single) --- */
.news-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.news-hero__image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.news-hero__image--crop-left { object-position: left center; }
.news-hero__image--crop-right { object-position: right center; }

.news-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    border-radius: 0 0 24px 24px;
}

.news-hero__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.news-hero__meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 12px;
}

/* --- News Article Layout (single) --- */
.news-article {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: flex-start;
}

.news-article__content {
    font-size: 16px;
    line-height: 28px;
    color: var(--mid-grey);
}

.news-article__content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--forest-green);
    margin: 32px 0 12px;
}

.news-article__content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-green);
    margin: 24px 0 8px;
}

.news-article__content > p:first-of-type {
    font-size: 18px;
    line-height: 30px;
    color: var(--dark-grey);
}

.news-article__content p {
    margin-bottom: 20px;
}

.news-article__content ul,
.news-article__content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.news-article__content li {
    margin-bottom: 6px;
}

.news-article__content a {
    color: var(--forest-green);
    text-decoration: underline;
}

.news-article__content a:hover {
    color: var(--muted-gold);
}

.news-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}
.news-article__content img.alignleft {
    margin: 8px 24px 16px 0;
}
.news-article__content img.alignright {
    margin: 8px 0 16px 24px;
}
.news-article__content .wp-block-image {
    margin: 24px 0;
}
.news-article__content .wp-block-image img {
    margin: 0;
}

.news-article__content blockquote {
    border-left: 3px solid var(--muted-gold);
    padding: 16px 0 16px 24px;
    margin: 28px 0;
    font-style: italic;
    color: var(--forest-green);
    font-size: 17px;
    line-height: 28px;
}

.news-article__content blockquote p:last-child {
    margin-bottom: 0;
}

.news-article__content hr {
    border: none;
    border-top: 1px solid var(--light-grey);
    margin: 32px 0;
}

.news-article__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.news-article__content table td,
.news-article__content table th {
    border: 1px solid var(--light-grey);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.news-article__content table tr:first-child td,
.news-article__content table th {
    font-weight: 600;
    color: var(--forest-green);
    background: var(--off-white);
}

/* --- News Sidebar (single) --- */
.news-article__sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-sidebar-card {
    padding: 20px;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* news-filter-bar retired — uses .archive-filter-bar now */

/* ============================================================= */
/* PHASE 4 — Single Resource                                     */
/* ============================================================= */

.resource-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #DBEAFE;
    color: #2563EB;
    margin-bottom: 12px;
}

.video-meta {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 22px;
    margin-bottom: 24px;
}

.video-meta span {
    margin: 0 6px;
    color: var(--border);
}

.video-player {
    max-width: 960px;
    margin: 0 auto;
}

.video-player__embed {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
}

.video-player__embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-player__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.video-player__actions {
    display: flex;
    gap: 16px;
}

.video-player__actions a {
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: underline;
    font-weight: 500;
}

.tag-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tag-pill {
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--mid-grey);
    background: var(--white);
}

/* ============================================================= */
/* RESOURCES PAGE                                                  */
/* ============================================================= */

/* --- Video Thumbnail Small (playlists + library grid) --- */

.video-thumb-sm {
    position: relative;
    aspect-ratio: 16/9;
    background: #2A2A2A;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Playlist Badge Overlay --- */

.playlist-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.playlist-badge svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.playlist-badge span {
    font-size: 12px;
    font-weight: 600;
}

/* --- Featured Video (2/3 + 1/3 layout) --- */

.featured-video {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.featured-video__player {
    flex: 2;
}

.featured-video__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-video__info h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    color: var(--forest-green);
}

.featured-video__info p {
    font-size: 15px;
    color: var(--mid-grey);
    line-height: 24px;
}

.featured-video__meta {
    font-size: 13px;
    color: var(--light-grey);
    line-height: 20px;
}

/* --- Video Filter Tabs --- */

.video-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.video-tab {
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 13px;
    font-weight: 500;
    color: var(--mid-grey);
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.4;
}

.video-tab:hover {
    background: var(--off-white);
}

.video-tab.active {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

/* --- Pagination --- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--forest-green);
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--white);
}

.pagination a:hover {
    background: var(--off-white);
}

.pagination .active,
.pagination .current {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

.pagination .dots,
.pagination .ellipsis {
    border: none;
    background: transparent;
    min-width: 24px;
    color: var(--light-grey);
}

.pagination .next,
.pagination .prev {
    font-weight: 600;
}

/* --- Resources Page Responsive --- */

@media (max-width: 1024px) {
    .featured-video {
        flex-direction: column;
        gap: 24px;
    }

    .featured-video__player,
    .featured-video__info {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .video-tabs {
        flex-wrap: wrap;
    }

}

@media (max-width: 480px) {
    .featured-video__info h2 {
        font-size: 18px;
        line-height: 26px;
    }

    .featured-video__info p {
        font-size: 14px;
        line-height: 22px;
    }

    .featured-video__meta {
        font-size: 12px;
    }
}

/* ============================================================= */
/* SINGLE DOCUMENT                                                */
/* ============================================================= */

.document-hero {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: flex-start;
}

.document-hero__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.document-hero__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--mid-grey);
    margin-bottom: 24px;
}

.document-hero__meta span {
    color: var(--border);
}

.document-preview {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    background: var(--off-white);
}

.document-preview__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.document-preview__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 8px;
    word-break: break-word;
}

.document-preview__size {
    font-size: 13px;
    color: var(--mid-grey);
    margin-bottom: 16px;
}

/* PDF preview thumbnail */
.document-preview__thumb {
    margin-bottom: 16px;
}

.document-preview__image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.document-preview--has-thumb {
    padding: 16px 16px 24px;
}

.document-detail-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.document-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.document-detail-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mid-grey);
}

.document-detail-value {
    font-size: 15px;
    color: var(--forest-green);
    font-weight: 500;
}

.document-detail-value a {
    color: var(--forest-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.document-detail-value a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .document-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .document-preview--has-thumb {
        max-width: 320px;
        margin: 0 auto;
    }
    .video-preview-card__thumb {
        width: 120px;
    }
    .video-preview-card__title {
        font-size: 14px;
        line-height: 20px;
    }
}

/* ============================================================= */
/* PHASE 5 — Contact Page                                        */
/* ============================================================= */

/* Hero phone + hours */

.hero-phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--forest-green);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 4px;
}

.hero-phone:hover {
    text-decoration: underline;
}

.hero-hours {
    font-size: 14px;
    color: var(--mid-grey);
    margin-bottom: 24px;
}

/* Intent routing cards */

.intent-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.intent-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.intent-card .icon-circle,
.contact-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intent-card .icon-circle svg,
.contact-card .icon-circle svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Quick contact cards */

.contact-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.contact-card-phone {
    font-size: 18px;
    font-weight: 700;
    color: var(--forest-green);
}

.contact-card-phone a {
    color: var(--forest-green);
    text-decoration: none;
}

.contact-card-phone a:hover {
    text-decoration: underline;
}

.contact-card-email a {
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: underline;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.callback-form input {
    padding: 12px 16px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

/* Enquiry form layout */

.form-layout {
    display: flex;
    gap: 40px;
}

.form-col {
    flex: 0 0 60%;
}

.support-col {
    flex: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

/* Scoped to contact form placeholder to avoid CF7/modal conflicts */

.contact-form-placeholder .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-form-placeholder .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
}

.contact-form-placeholder .form-group input,
.contact-form-placeholder .form-group select,
.contact-form-placeholder .form-group textarea {
    padding: 8px 16px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    color: var(--forest-green);
    background: var(--white);
    box-sizing: border-box;
}

.contact-form-placeholder .form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23182E2A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.contact-form-placeholder .form-group textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--forest-green);
    min-height: 44px;
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--forest-green);
}

.form-privacy {
    font-size: 12px;
    color: var(--light-grey);
    line-height: 18px;
}

.form-privacy a {
    color: var(--forest-green);
    text-decoration: underline;
}

/* What Happens Next panel */

.what-happens-next {
    background: var(--off-white);
    border-radius: 16px;
    padding: 24px;
}

.what-happens-next h3 {
    margin-bottom: 16px;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Scoped to avoid conflict with location single 56px step-number */
.what-happens-next .step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--forest-green);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    margin: 0;
}

.step-text {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 22px;
    padding-top: 3px;
}

/* Head office + quick links */

.head-office-block h3 {
    margin-bottom: 8px;
}

.head-office-block p {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 22px;
}

.quick-links a {
    display: block;
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: underline;
    margin-bottom: 8px;
}

/* Focus-visible for contact page links */

.hero-phone:focus-visible,
.contact-card-phone a:focus-visible,
.contact-card-email a:focus-visible,
.form-privacy a:focus-visible,
.quick-links a:focus-visible,
.hero-phone-callout a:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

/* ============================================================= */
/* PHASE 5 — Get Started Page                                    */
/* ============================================================= */

.hero-centred {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-centred h1 {
    margin-bottom: 8px;
}

.hero-centred .gold-underline {
    margin-left: auto;
    margin-right: auto;
}

.hero-centred .hero-subtitle {
    font-size: 16px;
    line-height: 26px;
    color: var(--mid-grey);
    margin-bottom: 24px;
}

.hero-phone-callout {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 22px;
}

.hero-phone-callout a {
    font-weight: 700;
    color: var(--forest-green);
    text-decoration: none;
}

.hero-phone-callout a:hover {
    text-decoration: underline;
}

.card-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    align-self: flex-start;
}

.card-badge--gold {
    background: rgba(180,164,113,0.12);
    color: var(--muted-gold);
}

.card-badge--neutral {
    background: var(--off-white);
    color: var(--mid-grey);
    border: 1px solid var(--border);
}

.card-time {
    font-size: 13px;
    color: var(--mid-grey);
    font-weight: 500;
}

.prep-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prep-card h3 {
    margin-bottom: 4px;
}

.prep-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
}

.prep-card ul li {
    font-size: 14px;
    line-height: 22px;
    color: var(--mid-grey);
    padding-left: 20px;
    position: relative;
    list-style: none;
}

.prep-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted-gold);
}

.prep-card .card-time {
    margin-top: auto;
    font-weight: 700;
}

.split-50 {
    display: flex;
    gap: 48px;
    align-items: center;
}

.split-50__image {
    flex: 1;
}

.split-50__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.split-50__text {
    flex: 1;
}

.split-50__text .eyebrow {
    margin-bottom: 8px;
}

.split-50__text h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--forest-green);
    margin-bottom: 8px;
}

.split-50__text .gold-underline {
    margin-bottom: 16px;
}

.split-50__text p {
    font-size: 16px;
    line-height: 26px;
    color: var(--mid-grey);
    margin-bottom: 20px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 24px;
    color: var(--forest-green);
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--muted-gold);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 2px;
}

.supporting-text {
    font-size: 14px;
    color: var(--mid-grey);
    margin-top: 12px;
    line-height: 22px;
}
.supporting-text a {
    color: var(--forest-green);
    text-decoration: underline;
}
.supporting-text a:hover {
    color: var(--big-river-gold);
}
.supporting-text a:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

/* ============================================================= */
/* PHASE 4 — Responsive                                          */
/* ============================================================= */

@media (max-width: 1024px) {
    .project-hero__image {
        height: 400px;
    }

    .project-hero__thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-awards {
        grid-template-columns: 1fr;
    }

    .project-press {
        grid-template-columns: 1fr 1fr;
    }
}

/* Product filter: segment toggle → dropdown at tablet */
@media (max-width: 1024px) {
    .sector-toggle--product {
        display: none;
    }
    .category-select-fallback {
        display: block;
        margin-bottom: 4px;
    }
}

@media (max-width: 768px) {
    .archive-hero {
        flex-direction: column;
        gap: 8px;
    }

    .archive-hero__cta {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding-top: 8px;
    }

    .archive-hero__phone {
        font-size: 13px;
    }

    .archive-result-count {
        margin-top: 12px;
        margin-bottom: 16px;
    }

    .archive-pagination {
        padding: 0;
    }

    /* Collapsible product filter toggle */
    .product-filter-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        margin-top: 16px;
        background: var(--off-white);
        border: 1px solid var(--border);
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        color: var(--forest-green);
        cursor: pointer;
        font-family: inherit;
    }

    .product-filter-toggle[aria-expanded="true"] {
        border-radius: 12px 12px 0 0;
        border-bottom: 0;
    }

    .product-filter-toggle span {
        flex: 1;
        text-align: left;
    }

    .archive-filter-bar--product {
        display: none;
        flex-direction: column;
        gap: 12px;
        border: 1px solid var(--border);
        border-top: 0;
        border-radius: 0 0 12px 12px;
        padding: 16px;
        margin-top: 0;
    }

    .product-filter-toggle[aria-expanded="true"] + .archive-filter-bar--product {
        display: flex;
    }

    .archive-filter-bar--product .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding-top: 0;
        gap: 8px;
    }

    .archive-filter-bar--product .filter-bar .filter-spacer {
        display: none;
    }

    .archive-filter-bar--product .filter-bar .filter-select {
        width: 100%;
    }

    .archive-filter-bar--product .filter-bar .view-toggle {
        justify-content: flex-start;
    }

    /* Generic archive filter toggle (news, documents) */
    .archive-filter-toggle,
    .location-filter-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        margin-top: 16px;
        background: var(--off-white);
        border: 1px solid var(--border);
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        color: var(--forest-green);
        cursor: pointer;
        font-family: inherit;
    }

    .archive-filter-toggle span,
    .location-filter-toggle span {
        flex: 1;
        text-align: left;
    }

    .archive-filter-toggle[aria-expanded="true"],
    .location-filter-toggle[aria-expanded="true"] {
        border-radius: 12px 12px 0 0;
        border-bottom: 0;
    }

    .archive-filter-toggle + .archive-filter-bar,
    .location-filter-toggle + .archive-filter-bar {
        display: none;
        flex-direction: column;
        gap: 12px;
        border: 1px solid var(--border);
        border-top: 0;
        border-radius: 0 0 12px 12px;
        padding: 16px;
        margin-top: 0;
    }

    .archive-filter-toggle[aria-expanded="true"] + .archive-filter-bar,
    .location-filter-toggle[aria-expanded="true"] + .archive-filter-bar {
        display: flex;
    }

    .archive-filter-toggle + .archive-filter-bar .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding-top: 0;
        gap: 8px;
        border: 0;
        margin-bottom: 0;
    }

    .archive-filter-toggle + .archive-filter-bar .filter-bar .filter-spacer {
        display: none;
    }

    .archive-filter-toggle + .archive-filter-bar .filter-bar .filter-select {
        width: 100%;
    }

    .archive-filter-toggle + .archive-filter-bar .filter-bar .view-toggle {
        justify-content: flex-start;
    }

    /* Hide child category pills on mobile — replaced by dropdown inside accordion */
    .child-category-nav {
        display: none;
    }

    .category-filter-mobile {
        display: block;
        width: 100%;
    }

    /* Tighten category hero bottom padding on mobile */
    .category-hero-section {
        padding-bottom: 0 !important;
    }

    /* Space around filter accordion */
    .archive-filter-toggle {
        margin-top: 16px;
        margin-bottom: 24px;
    }
    .archive-filter-toggle[aria-expanded="true"] {
        margin-bottom: 0;
    }
    .archive-filter-toggle[aria-expanded="true"] + .archive-filter-bar {
        margin-bottom: 24px;
    }

    /* Location accordion: wrap filters, search + geo side by side */
    .archive-filter-bar--location .search-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .archive-filter-bar--location .search-input-lg {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }
    .archive-filter-bar--location .filter-select {
        width: 100%;
    }
    .archive-filter-bar--location .sector-toggle {
        flex-wrap: wrap;
        gap: 6px;
    }
    .archive-filter-bar--location .sector-toggle__btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Collapsible project filter toggle */
    .project-filter-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        margin-top: 16px;
        background: var(--off-white);
        border: 1px solid var(--border);
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        color: var(--forest-green);
        cursor: pointer;
        font-family: inherit;
    }

    .project-filter-toggle[aria-expanded="true"] {
        border-radius: 12px 12px 0 0;
        border-bottom: 0;
    }

    .project-filter-toggle span {
        flex: 1;
        text-align: left;
    }

    .project-filter-toggle__chevron {
        transition: transform 0.2s ease;
    }

    .project-filter-toggle[aria-expanded="true"] .project-filter-toggle__chevron {
        transform: rotate(180deg);
    }

    .archive-filter-bar#project-filter-panel {
        display: none;
        flex-direction: column;
        gap: 12px;
        border-radius: 0 0 12px 12px;
        border-top: 0;
    }

    .project-filter-toggle[aria-expanded="true"] + .archive-filter-bar#project-filter-panel {
        display: flex;
    }

    .list-view .card {
        flex-direction: column;
    }

    .list-view .card .card-image,
    .list-view .card img.card-image {
        width: 100%;
        height: auto;
        min-width: auto;
        border-radius: 16px 16px 0 0;
    }

    .project-hero__image {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }

    .project-hero__overlay {
        position: relative;
        padding: 100px 24px 24px;
    }

    .project-hero__thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .key-facts-panel {
        grid-template-columns: 1fr;
    }

    .key-facts-panel > div {
        border-right: none !important;
    }

    .project-press {
        grid-template-columns: 1fr;
    }

    .archive-filter-bar#project-filter-panel {
        flex-direction: column;
        gap: 12px;
    }

    .archive-filter-bar#project-filter-panel > div[style*="width:1px"] {
        display: none;
    }

    .sector-toggle {
        flex-wrap: wrap;
        gap: 6px;
    }

    .sector-toggle__btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .filter-pills {
        flex-wrap: wrap;
    }

    .trust-bar {
        padding: 12px 0;
    }
    .trust-bar__inner {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .trust-bar__badges {
        gap: 6px;
        justify-content: center;
    }
    .trust-bar__badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    .trust-bar__stats {
        justify-content: center;
        gap: 16px;
    }
    .trust-bar__stat-value {
        font-size: 15px;
    }
    .trust-bar__stat-label {
        font-size: 11px;
    }
    .trust-bar__stat-divider {
        height: 24px;
    }
}

/* Mobile: convert connected button-group to individual rounded pills */
@media (max-width: 640px) {
    .sector-toggle {
        justify-content: flex-start;
    }
    .sector-toggle__btn {
        border-radius: 12px;
        border-right: 1px solid var(--border);
    }
    .sector-toggle__btn:first-child {
        border-radius: 12px;
    }
    .sector-toggle__btn:last-child {
        border-radius: 12px;
    }
    .sector-toggle__btn.active {
        border-right: 1px solid var(--forest-green);
    }
    .sector-toggle__btn.active + .sector-toggle__btn {
        border-left: 1px solid var(--border);
    }
    .sector-toggle__btn:nth-last-child(2):has(+ .sector-toggle__nz) {
        border-radius: 12px;
        border-right: 1px solid var(--border);
    }
    .sector-toggle__nz,
    .sector-toggle__nz:last-child {
        margin-left: 0;
    }
}

/* ============================================================= */
/* NEWS — Responsive                                             */
/* ============================================================= */

@media (max-width: 1024px) {
    .news-article {
        grid-template-columns: 1fr 240px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .news-hero__image {
        height: 280px;
    }

    .news-hero__overlay {
        padding: 24px;
    }

    .news-hero__overlay h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .news-article {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .news-article__sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .news-sidebar-card {
        flex: 1;
        min-width: 140px;
    }

    .archive-filter-bar.archive-filter-bar--news {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .news-hero__image {
        height: 220px;
    }

    .news-hero__overlay {
        padding: 16px;
    }

    .news-article__sidebar {
        flex-direction: column;
    }

    .news-sidebar-card {
        min-width: auto;
    }
}

/* ============================================================= */
/* PHASE 5 — Responsive                                          */
/* ============================================================= */

@media (max-width: 1024px) {
    .form-layout {
        gap: 24px;
    }

    .split-50 {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .form-layout {
        flex-direction: column;
    }

    .form-col {
        flex: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-phone {
        font-size: 22px;
    }
}

/* ============================================================ */
/* CF7 Form Styles                                               */
/* ============================================================ */

.wpcf7-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.wpcf7-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
}

.wpcf7-form .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-grey, #333);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    padding: 10px 14px;
    border: 1px solid var(--border, #ddd);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: var(--white, #fff);
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--forest-green, #233D38);
    box-shadow: 0 0 0 2px rgba(35, 61, 56, 0.1);
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: var(--error-red, #d32f2f);
}

.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: var(--error-red, #d32f2f);
    margin-top: 4px;
}

.wpcf7-form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.wpcf7-form.sent .wpcf7-response-output {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
    background: #fce4ec;
    border: 1px solid #ef5350;
    color: #c62828;
}

.wpcf7-form [type="submit"] {
    margin-top: 8px;
}

.wpcf7-form .wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.wpcf7-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

@media (max-width: 768px) {
    .wpcf7-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.wpcf7-form input:focus-visible,
.wpcf7-form select:focus-visible,
.wpcf7-form textarea:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: -2px;
}

.wpcf7-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23182E2A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.wpcf7-form input[type="file"] {
    padding: 10px 14px;
    border: 1px dashed var(--border, #ddd);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.wpcf7-form input[type="file"]:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: -2px;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    accent-color: var(--forest-green);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wpcf7-form .wpcf7-spinner {
    margin-left: 12px;
    vertical-align: middle;
}

.wpcf7-form.submitting [type="submit"] {
    opacity: 0.7;
    pointer-events: none;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: var(--light-grey, #737373);
}

abbr.required {
    color: var(--error-red, #d32f2f);
    text-decoration: none;
    font-weight: 600;
}

/* ============================================================= */
/* PHASE 6 — 404 Page                                            */
/* ============================================================= */

.error-hero {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 48px;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--forest-green);
    opacity: 0.08;
    line-height: 1;
    margin-bottom: -16px;
    user-select: none;
}

.error-hero h1 {
    margin-bottom: 16px;
}

.error-hero p {
    font-size: 16px;
    line-height: 26px;
    color: var(--mid-grey);
    max-width: 720px;
    margin: 0 auto 32px;
}

.error-search {
    max-width: 720px;
    margin: 0 auto 12px;
    display: flex;
    gap: 12px;
}

.error-search input {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    color: var(--forest-green);
    background: var(--white);
}

.error-search input::placeholder {
    color: var(--mid-grey);
}

.error-search .btn {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.error-helper {
    font-size: 14px;
    color: var(--mid-grey);
    text-align: center;
}

/* Destination cards */

.dest-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.dest-card:hover {
    border-color: var(--forest-green);
}

.dest-card:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

.dest-card .icon-circle {
    width: 40px;
    height: 40px;
}

.dest-card .icon-circle svg {
    width: 18px;
    height: 18px;
}

.dest-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--forest-green);
}

/* Product category pills */

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.pill-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--forest-green);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pill-link:hover {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

.pill-link:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

/* Help text */

.help-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.help-text h3 {
    margin-bottom: 12px;
}

.help-text p {
    font-size: 16px;
    line-height: 26px;
    color: var(--mid-grey);
    margin-bottom: 8px;
}

.help-text a {
    color: var(--forest-green);
    text-decoration: underline;
}

.help-text strong {
    color: var(--forest-green);
}

/* ============================================================= */
/* PHASE 6 — Search Page                                         */
/* ============================================================= */

.search-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-input-wrap {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.search-input-hero {
    width: 100%;
    height: 48px;
    padding: 0 52px 0 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 18px;
    font-family: inherit;
    color: var(--forest-green);
    background: var(--white);
    outline: none;
    box-sizing: border-box;
}

.search-input-hero:focus {
    border-color: var(--forest-green);
}

.search-input-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: none;
    background: var(--forest-green);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input-btn:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

.search-input-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-result-count {
    font-size: 16px;
    color: var(--mid-grey);
    margin-top: 16px;
    text-align: center;
}

.search-result-count strong {
    color: var(--forest-green);
}

/* Tab bar */

.tab-bar {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.tab-bar__tabs {
    display: flex;
    gap: 0;
    flex: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-item {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mid-grey);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

a.tab-item:hover {
    color: var(--forest-green);
}

a.tab-item:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: -2px;
}

.tab-item.active {
    color: var(--forest-green);
    border-bottom-color: var(--forest-green);
}

.tab-item.disabled {
    color: var(--border);
    cursor: default;
}

.tab-item .tab-count {
    font-weight: 400;
    font-size: 13px;
}

.tab-bar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--mid-grey);
    padding-right: 4px;
    white-space: nowrap;
}

.tab-bar__sort select {
    padding: 6px 32px 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 13px;
    font-family: inherit;
    color: var(--forest-green);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23182E2A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Results group headers */

.results-group {
    margin-bottom: 32px;
}

.results-group:last-child {
    margin-bottom: 0;
}

.results-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.results-group-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-green);
}

.results-group-header .view-all-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--forest-green);
    text-decoration: none;
}

.results-group-header .view-all-link:hover {
    text-decoration: underline;
}

/* Result cards (horizontal) */

.result-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 12px;
}

.result-card:last-child {
    margin-bottom: 0;
}

.result-card__thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.result-card__content {
    flex: 1;
    min-width: 0;
}

.result-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 4px;
}

.result-card__name a {
    color: var(--forest-green);
    text-decoration: none;
}

.result-card__name a:hover {
    text-decoration: underline;
}

.result-card__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--mid-grey);
    background: var(--off-white);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.result-card__desc {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-card__action {
    flex-shrink: 0;
}

/* Resource/document result icons */

.result-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-card__icon--pdf {
    background: #FEE2E2;
    color: #DC2626;
}

.result-card__icon--bim {
    background: #DBEAFE;
    color: #2563EB;
}

.result-card__meta {
    font-size: 13px;
    color: var(--mid-grey);
}

.result-card__meta .product-assoc {
    font-weight: 500;
    color: var(--forest-green);
}

.result-card__download {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
    text-decoration: underline;
}

.result-card__download:hover {
    color: var(--muted-gold);
}

/* Location result card */

.result-card__pin {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-card__pin svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-card__links {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.result-card__links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-green);
    text-decoration: none;
}

.result-card__links a:hover {
    text-decoration: underline;
}

.result-card__links .link-sep {
    color: var(--border);
}

/* No results state */

.no-results {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.no-results h2 {
    margin-bottom: 12px;
}

.no-results p {
    font-size: 16px;
    color: var(--mid-grey);
    line-height: 26px;
    margin-bottom: 24px;
}

.search-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.search-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    color: var(--forest-green);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.search-pill:hover {
    background: var(--off-white);
    border-color: var(--forest-green);
}

.search-pill:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

.no-results__contact {
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: underline;
}

.no-results__contact:hover {
    color: var(--muted-gold);
}

/* Search responsive */

@media (max-width: 768px) {
    .tab-bar {
        flex-direction: column;
        gap: 12px;
    }
    .tab-bar__tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .result-card {
        flex-wrap: wrap;
        gap: 12px;
    }
    .result-card__desc {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .result-card__action {
        width: 100%;
    }
}

/* ============================================================= */
/* PHASE 6 — Homepage                                            */
/* ============================================================= */

/* Hero split 50/50 */

.hp-hero-split {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.hp-hero-split__text {
    flex: 1;
}

.hp-hero-split__image {
    flex: 1;
}

.hp-hero-split__image-img {
    width: 100%;
    height: auto;
    aspect-ratio: 598 / 290;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

/* Segment buttons */

.segment-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.segment-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    background: transparent;
    color: var(--forest-green);
    border: 1px solid var(--forest-green);
}

.segment-btn:hover {
    background: var(--forest-green);
    color: var(--white);
}

.segment-btn:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

/* Trust pills (hero) */

.trust-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--forest-green);
    background: var(--off-white);
    border: 1px solid var(--border);
}

/* Role cards */

.role-card {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.role-card:hover {
    border-color: var(--forest-green);
}

.role-card:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

.role-card__heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.role-card__icon {
    flex-shrink: 0;
    line-height: 0;
}

.role-card h3 {
    margin-bottom: 4px;
}

.role-card p {
    font-size: 14px;
    line-height: 22px;
    color: var(--mid-grey);
    flex: 1;
}

.role-card__explore {
    font-size: 13px;
    font-weight: 600;
    color: #182E2A;
    margin-top: 14px;
}

/* ============================================================
   Featured Product Slider (Homepage)
   ============================================================ */

.featured-slider {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.featured-slider__track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
    will-change: transform;
}

.featured-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--white);
}

.featured-slide__text {
    flex: 0 0 32%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-slide__text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 16px;
}

.featured-slide__text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
}

.featured-slide__text li {
    font-size: 15px;
    line-height: 26px;
    color: var(--mid-grey);
    margin-bottom: 4px;
}

.featured-slide__image {
    flex: 0 0 68%;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.featured-slide__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* Slider navigation (shared with location carousel) */

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 24px;
}

.slider-nav[hidden] {
    display: none;
}

.slider-btn {
    width: 32px;
    height: 32px;
    border-radius: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--forest-green);
    transition: color 0.2s;
    font-family: inherit;
}

.slider-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-btn:hover {
    color: var(--gold);
}

.slider-btn:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

/* ---- Tablet (<=1024px): stack text above image ---- */

@media (max-width: 1024px) {
    .featured-slide {
        flex-direction: column;
    }

    .featured-slide__text {
        flex: none;
        width: 100%;
        padding: 24px;
    }

    .featured-slide__image {
        flex: none;
        width: 100%;
        min-height: 200px;
    }
}

/* ---- Mobile (<=768px) ---- */

@media (max-width: 768px) {
    .featured-slider {
        margin-top: 24px;
    }

    .featured-slide__text {
        padding: 20px;
    }

    .featured-slide__text ul {
        margin-bottom: 16px;
    }

    .featured-slide__image {
        min-height: 180px;
    }
}

/* ---- Small mobile (<=480px) ---- */

@media (max-width: 480px) {
    .featured-slide__text h3 {
        font-size: 18px;
    }

    .featured-slide__text li {
        font-size: 14px;
    }
}

/* Homepage location cards (prefixed to avoid store locator collision) */

.hp-location-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hp-state-pills {
    margin-bottom: 24px;
}

/* Carousel container */
.hp-carousel {
    position: relative;
    overflow: hidden;
}

.hp-carousel__track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.hp-carousel__track .hp-location-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 0;
}

/* Location carousel uses shared .slider-nav / .slider-btn styles */

/* Search results grid (non-carousel) */
.hp-search-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card styles */
.hp-location-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    overflow: hidden;
}

.hp-location-card__image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.hp-location-card__info {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hp-location-card__info h3 {
    margin-bottom: 4px;
}

.hp-location-card__info p {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 22px;
}

.btn-geo.active {
    background: var(--forest-green);
    color: var(--white);
    border-color: var(--forest-green);
}

.hp-location-card__distance {
    font-size: 12px;
    color: var(--forest-green);
    font-weight: 600;
    margin-top: 6px;
}

.hp-location-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.hp-location-card__actions .btn {
    padding: 6px 12px;
    font-size: 13px;
}

.hp-location-empty {
    text-align: center;
    padding: 40px 24px;
    color: var(--mid-grey);
}

.hp-location-empty p {
    margin-bottom: 12px;
}

.hp-clear-search {
    display: none;
    font-size: 14px;
    color: var(--forest-green);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-top: 12px;
    font-family: inherit;
}

.hp-clear-search:hover {
    text-decoration: underline;
}

.hp-clear-search.visible {
    display: inline-block;
}

.hp-location-grid--loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s;
}

#hp-location-status:empty {
    display: none;
}

#hp-location-status {
    font-size: 13px;
    color: var(--mid-grey);
    margin-bottom: 12px;
}

/* Action cards */

.action-card {
    padding: 28px;
    border-radius: 16px;
    border: none;
    background: var(--off-white);
    display: flex;
    flex-direction: column;
}

.action-card__icon {
    width: 48px;
    height: 48px;
    color: #B4A471;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.action-card h3 {
    margin-bottom: 8px;
}

.action-card p {
    font-size: 14px;
    line-height: 22px;
    color: var(--mid-grey);
    margin-bottom: 16px;
}

.action-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Video preview cards (document archive) */

.video-preview-card {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.video-preview-card:hover {
    border-color: var(--forest-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.video-preview-card__thumb {
    position: relative;
    width: 140px;
    flex-shrink: 0;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
}
.video-preview-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-preview-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-preview-card__play svg {
    margin-left: 2px;
}
.video-preview-card__duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 16px;
}
.video-preview-card__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.video-preview-card__category {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted-gold);
}
.video-preview-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: #000;
    margin: 0;
}
.video-preview-card__subtitle {
    font-size: 12px;
    color: var(--mid-grey);
}

/* Brand logo carousel */

.brand-carousel {
    overflow: hidden;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 12px 0;
}

.brand-carousel__track {
    display: flex;
    transition: transform 0.4s ease;
}

.brand-carousel__track a {
    width: calc(100% / 7);
    flex-shrink: 0;
    display: block;
}

.brand-carousel__track a img {
    width: 100%;
}

.brand-carousel__track img {
    width: calc(100% / 7);
    height: 144px;
    object-fit: contain;
    flex-shrink: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.brand-carousel__item {
    width: calc(100% / 7);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.brand-carousel__item img {
    width: 100%;
    height: 80px;
    object-fit: contain;
}

/* Who We Are */

.who-we-are {
    background: var(--off-white);
    padding: 64px 0;
}

.sub-brand-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.sub-brand-logos img {
    height: 96px;
    width: auto;
    object-fit: contain;
}

/* Stat cards */

.stat-cards {
    display: flex;
    gap: 16px;
    margin: 24px 0;
}

.stat-card {
    flex: 1;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #FAFAFA;
}

.stat-card__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 2px;
}

.stat-card__label {
    font-size: 14px;
    color: var(--mid-grey);
}

/* Milestones */

.milestones {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.milestone {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.milestone__decade {
    font-size: 18px;
    font-weight: 700;
    color: var(--forest-green);
    flex: 0 0 64px;
}

.milestone__desc {
    font-size: 15px;
    line-height: 24px;
    color: var(--mid-grey);
}

/* History layout */

.history-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Booklet download */

.booklet-download {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.booklet-download img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.booklet-download .btn {
    font-size: 14px;
    padding: 8px 20px;
}

/* Screen reader only */
.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;
}

/* Homepage Social Feed Section */
.hp-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.hp-social-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hp-social-card__image-wrap {
    position: relative;
}
.hp-social-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}
.hp-social-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--forest-green);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}
.hp-social-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hp-social-card__caption {
    font-size: 14px;
    line-height: 20px;
    color: #000;
    margin: 0 0 8px;
}
.hp-social-card__time {
    font-size: 12px;
    color: var(--light-grey);
    margin-top: auto;
}
.hp-social__icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}
.hp-social__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    text-decoration: none;
}
.hp-social__icon:hover {
    opacity: 0.85;
}
.hp-social__icon:focus {
    outline: 2px solid var(--forest-green);
    outline-offset: 3px;
}

/* Lead capture */

.lead-form-layout {
    display: flex;
    gap: 48px;
    align-items: center;
}

.lead-form-layout__text {
    flex: 1;
}

.lead-form-layout__form {
    flex: 1;
}

.lead-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.lead-form select,
.lead-form input {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    color: var(--forest-green);
    background: var(--white);
    flex: 1;
}

.lead-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23182E2A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.lead-form .btn-primary {
    white-space: nowrap;
    flex-shrink: 0;
}

.lead-form-disclaimer {
    font-size: 12px;
    color: var(--light-grey);
    margin-top: 8px;
}

/* CF7 overrides for homepage lead capture inline form */
.lead-form-layout__form .wpcf7-form .lead-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.lead-form-layout__form .wpcf7-form .lead-form p {
    margin: 0;
    flex: 1;
    min-width: 140px;
}

.lead-form-layout__form .wpcf7-form .lead-form p:last-of-type {
    flex: 0 0 auto;
}

.lead-form-layout__form .wpcf7-form .lead-form select,
.lead-form-layout__form .wpcf7-form .lead-form input[type="email"] {
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    color: var(--forest-green);
    background: var(--white);
    box-sizing: border-box;
}

.lead-form-layout__form .wpcf7-form .lead-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23182E2A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.lead-form-layout__form .wpcf7-form .lead-form input[type="submit"] {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 28px;
    border-radius: 12px;
    border: none;
    background: var(--forest-green);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.lead-form-layout__form .wpcf7-form .lead-form input[type="submit"]:hover {
    background: var(--forest-green-hover, #1e3a34);
}

.lead-form-layout__form .wpcf7-form .lead-form select:focus-visible,
.lead-form-layout__form .wpcf7-form .lead-form input[type="email"]:focus-visible {
    border-color: var(--forest-green);
    outline: 2px solid var(--forest-green);
    outline-offset: -2px;
}

.lead-form-layout__form .wpcf7-form .wpcf7-response-output {
    margin: 8px 0 0;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.lead-form-layout__form .wpcf7-form .wpcf7-not-valid-tip {
    font-size: 12px;
    margin-top: 4px;
}

/* Phase 6 — Focus-visible & touch targets */

.results-group-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-green);
    margin: 0;
}

.error-search input:focus-visible {
    border-color: var(--forest-green);
    outline: 2px solid var(--forest-green);
    outline-offset: -2px;
}

.search-input-hero:focus-visible {
    border-color: var(--forest-green);
    box-shadow: 0 0 0 2px rgba(24, 46, 42, 0.2);
}

.result-card__name a:focus-visible,
.result-card__download:focus-visible,
.result-card__links a:focus-visible,
.results-group-header .view-all-link:focus-visible,
.no-results__contact:focus-visible,
.help-text a:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

.tab-bar__sort select:focus-visible {
    border-color: var(--forest-green);
    outline: 2px solid var(--forest-green);
    outline-offset: -2px;
}

.lead-form select:focus-visible,
.lead-form input:focus-visible {
    border-color: var(--forest-green);
    outline: 2px solid var(--forest-green);
    outline-offset: -2px;
}

.modal__close:focus-visible {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

.hp-location-card__actions .btn {
    padding: 10px 12px;
    font-size: 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* ============================================================= */
/* PHASE 6 — Responsive                                          */
/* ============================================================= */

@media (max-width: 1024px) {
    .hp-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hp-social-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .hp-hero-split {
        flex-direction: column;
        gap: 32px;
    }

    .hp-hero-split__text,
    .hp-hero-split__image {
        flex: none;
        width: 100%;
    }

    .history-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .lead-form-layout {
        flex-direction: column;
        gap: 24px;
    }

    .sub-brand-logos {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .sub-brand-logos img {
        height: 64px;
    }

    .hp-carousel__track .hp-location-card {
        flex: 0 0 calc(33.333% - 16px);
    }

    .hp-search-results {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .error-search {
        flex-direction: column;
    }

    .error-search .btn {
        width: 100%;
        justify-content: center;
    }

    .error-code {
        font-size: 80px;
    }

    .tab-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-bar__tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-bar__sort {
        padding: 8px 0;
        justify-content: flex-end;
    }

    .result-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .result-card__thumb {
        width: 100%;
        height: 160px;
    }

    .result-card__action {
        width: 100%;
    }

    .result-card__action .btn {
        width: 100%;
        text-align: center;
    }

    .hp-location-search {
        flex-wrap: wrap;
    }

    .hp-location-search .search-input-lg {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }

    .hp-state-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hp-state-pills::-webkit-scrollbar {
        display: none;
    }

    .hp-carousel__track .hp-location-card {
        flex: 0 0 calc(50% - 12px);
    }

    .hp-location-card__image {
        height: 140px;
    }

    .hp-search-results {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-form,
    .lead-form-layout__form .wpcf7-form .lead-form {
        flex-direction: column;
    }

    .lead-form select,
    .lead-form input[type="email"],
    .lead-form input[type="submit"] {
        width: 100%;
    }

    .lead-form-layout__form .wpcf7-form .lead-form p {
        flex: 1 1 100%;
    }

    .stat-cards {
        flex-direction: column;
    }

    .brand-carousel__track img {
        height: 80px;
        padding: 0 12px;
    }
}

/* Homepage: override horizontal scroll with wrapped pills on mobile */
@media (max-width: 640px) {
    .hp-state-pills {
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 6px;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .error-hero {
        padding-top: 48px;
        padding-bottom: 32px;
    }

    .error-code {
        font-size: 60px;
    }

    .tab-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .results-group-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hp-carousel__track .hp-location-card {
        flex: 0 0 100%;
    }

    .hp-search-results {
        grid-template-columns: 1fr;
    }

    .hp-location-card__actions {
        flex-wrap: wrap;
    }

    .hp-state-pills .filter-pill {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Brand carousel: 2 logos on small phones */
    .brand-carousel__track a,
    .brand-carousel__track img {
        width: calc(100% / 2);
    }
    .brand-carousel__item {
        width: calc(100% / 2);
    }

    .sub-brand-logos img {
        height: 48px;
    }

    .booklet-download {
        flex-direction: column;
        align-items: flex-start;
    }

    .milestone {
        flex-direction: column;
        gap: 4px;
    }

    .milestone__decade {
        flex: none;
    }
}

/* ── Elementor Page Template ── */
.elementor-page-content {
    min-height: 50vh;
}

/* ── Skip Navigation ──────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--forest-green);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: none;
}

/* ── Image Utilities ─────────────────────────────── */
.img-rounded-block {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* ══════════════════════════════════════════════════════
   UTILITY CLASSES
   Replacing inline style="" attributes across templates.
   ══════════════════════════════════════════════════════ */

/* ── Spacing: Margin Bottom ─────────────────────── */
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: 4px; }
.mb-6  { margin-bottom: 6px; }
.mb-8  { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-56 { margin-bottom: 56px; }
.mb-64 { margin-bottom: 64px; }

/* ── Spacing: Margin Top ────────────────────────── */
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

/* ── Spacing: Padding Bottom ────────────────────── */
.pb-0  { padding-bottom: 0; }
.pb-8  { padding-bottom: 8px; }
.pb-12 { padding-bottom: 12px; }
.pb-16 { padding-bottom: 16px; }
.pb-24 { padding-bottom: 24px; }
.pb-32 { padding-bottom: 32px; }
.pb-40 { padding-bottom: 40px; }
.pb-48 { padding-bottom: 48px; }

/* ── Spacing: Padding Top ───────────────────────── */
.pt-0  { padding-top: 0; }
.pt-8  { padding-top: 8px; }
.pt-12 { padding-top: 12px; }
.pt-16 { padding-top: 16px; }
.pt-24 { padding-top: 24px; }
.pt-32 { padding-top: 32px; }
.pt-48 { padding-top: 48px; }

/* ── Spacing: Padding X / Y ─────────────────────── */
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-20 { padding-left: 20px; padding-right: 20px; }
.px-24 { padding-left: 24px; padding-right: 24px; }
.px-32 { padding-left: 32px; padding-right: 32px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }
.py-32 { padding-top: 32px; padding-bottom: 32px; }
.py-48 { padding-top: 48px; padding-bottom: 48px; }

/* ── Spacing: Gap ───────────────────────────────── */
.gap-4  { gap: 4px; }
.gap-6  { gap: 6px; }
.gap-8  { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }

/* ── Typography: Font Size ──────────────────────── */
.text-11 { font-size: 11px; }
.text-12 { font-size: 12px; }
.text-13 { font-size: 13px; }
.text-14 { font-size: 14px; }
.text-15 { font-size: 15px; }
.text-16 { font-size: 16px; }
.text-18 { font-size: 18px; }
.text-20 { font-size: 20px; }
.text-22 { font-size: 22px; }
.text-24 { font-size: 24px; }
.text-28 { font-size: 28px; }
.text-32 { font-size: 32px; }
.text-36 { font-size: 36px; }
.text-40 { font-size: 40px; }
.text-48 { font-size: 48px; }

/* ── Typography: Color ──────────────────────────── */
.text-mid-grey    { color: var(--mid-grey); }
.text-forest-green { color: var(--forest-green); }
.text-white       { color: #ffffff; }
.text-white-90    { color: rgba(255,255,255,0.9); }
.text-dark-grey   { color: var(--dark-grey); }

/* ── Typography: Weight & Style ─────────────────── */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ── Typography: Line Height ────────────────────── */
.lh-tight   { line-height: 1.2; }
.lh-snug    { line-height: 1.3; }
.lh-normal  { line-height: 1.5; }
.lh-relaxed { line-height: 1.625; }
.lh-22 { line-height: 22px; }
.lh-24 { line-height: 24px; }
.lh-26 { line-height: 26px; }
.lh-28 { line-height: 28px; }
.lh-30 { line-height: 30px; }
.lh-32 { line-height: 32px; }

/* ── Typography: Alignment & Decoration ─────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.no-underline { text-decoration: none; }
.nowrap { white-space: nowrap; }

/* ── Layout: Display ────────────────────────────── */
.d-flex    { display: flex; }
.d-grid    { display: grid; }
.d-block   { display: block; }
.d-inline-block { display: inline-block; }
.d-none    { display: none; }
.flex-wrap { flex-wrap: wrap; }
.flex-col  { flex-direction: column; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start   { justify-content: flex-start; }
.justify-end     { justify-content: flex-end; }
.flex-1 { flex: 1; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }

/* ── Layout: Width & Max-Width ──────────────────── */
.w-full    { width: 100%; }
.max-w-480 { max-width: 480px; }
.max-w-520 { max-width: 520px; }
.max-w-560 { max-width: 560px; }
.max-w-600 { max-width: 600px; }
.max-w-680 { max-width: 680px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }

/* ── Position ───────────────────────────────────── */
.pos-relative { position: relative; }
.pos-absolute { position: absolute; }
.inset-0 { inset: 0; }

/* ── Border & Radius ────────────────────────────── */
.rounded-4  { border-radius: 4px; }
.rounded-8  { border-radius: 8px; }
.rounded-12 { border-radius: 12px; }
.rounded-16 { border-radius: 16px; }
.rounded-full { border-radius: 50%; }
.overflow-hidden { overflow: hidden; }

/* ── Background ─────────────────────────────────── */
.bg-white { background: #ffffff; }
.bg-forest-green { background: var(--forest-green); }
.bg-off-white { background: var(--off-white); }

/* ── Common Semantic Patterns ───────────────────── */
.body-text {
    font-size: 16px;
    line-height: 26px;
    color: var(--mid-grey);
}

.body-text--white {
    font-size: 16px;
    line-height: 26px;
    color: rgba(255,255,255,0.9);
}

.body-text ul,
.wysiwyg-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 1em;
}

.body-text ol,
.wysiwyg-content ol {
    list-style: decimal;
    padding-left: 24px;
    margin-bottom: 1em;
}

.body-text li,
.wysiwyg-content li {
    margin-bottom: 4px;
    line-height: 26px;
}

.body-text blockquote {
    border-left: 3px solid var(--muted-gold);
    padding: 16px 0 16px 24px;
    margin: 28px 0;
    font-style: italic;
    color: var(--forest-green);
    font-size: 17px;
    line-height: 28px;
}

.body-text blockquote p:last-child {
    margin-bottom: 0;
}

.body-text--sm {
    font-size: 14px;
    line-height: 22px;
    color: var(--mid-grey);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay--dark {
    position: absolute;
    inset: 0;
    background: rgba(24,46,42,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn--white {
    background: #ffffff;
    color: var(--forest-green);
    border: 1px solid #ffffff;
}

.btn--white:hover {
    background: var(--off-white);
}

.phone-link {
    color: var(--forest-green);
    font-weight: 600;
    text-decoration: none;
}

.card-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.tag-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tag-pill--green {
    background: var(--forest-green);
    color: #ffffff;
}

.tag-pill--outline {
    border: 1px solid var(--mid-grey);
    color: var(--mid-grey);
}

/* Duplicate .stat-number / .grid-* removed — originals at lines ~298 and ~2245 */

@media (max-width: 768px) {
    .grid-applications {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .grid-applications .card-body {
        padding: 12px 16px;
    }
    .grid-applications .card-body h4 {
        font-weight: 400;
    }
}

/* ── Additional Utility Classes ────────────────────── */

/* Color */
.text-light-grey  { color: var(--light-grey); }
.text-inherit     { color: inherit; }
.text-error       { color: var(--error-red, #d32f2f); }
.text-muted-gold  { color: var(--muted-gold); }
.text-success     { color: #16a34a; }
.text-danger      { color: #DC2626; }
.font-mono        { font-family: monospace; }

/* Text */
.text-left     { text-align: left; }
.text-underline { text-decoration: underline; }
.text-uppercase { text-transform: uppercase; }
.ls-05 { letter-spacing: 0.5px; }

/* Line-height */
.lh-20 { line-height: 20px; }
.lh-171 { line-height: 1.71; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

/* Padding */
.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.p-24 { padding: 24px; }
.p-32 { padding: 32px; }
.px-12 { padding-left: 12px; padding-right: 12px; }

/* Width/Height */
.max-w-640 { max-width: 640px; }
.max-w-720 { max-width: 720px; }
.max-w-820 { max-width: 820px; }
.min-w-140 { min-width: 140px; }

/* Border */
.border-border { border: 1px solid var(--border); }
.border-bottom-border { border-bottom: 1px solid var(--border); }
.border-collapse { border-collapse: collapse; }

/* Object-fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Overflow */
.overflow-x-auto { overflow-x: auto; }

/* List */
.list-none { list-style: none; }
.list-disc { list-style: disc; }
.pl-20 { padding-left: 20px; }

/* Display */
.d-inline-flex { display: inline-flex; }

/* ── Component Utilities ───────────────────────────── */

/* Spec table */
.spec-table { border-collapse: collapse; width: 100%; }
.spec-table th,
.spec-table td { padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.spec-table th { font-weight: 600; }

/* Location info link */
.info-link {
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: none;
    display: block;
}
.info-link--bordered {
    font-size: 14px;
    color: var(--forest-green);
    text-decoration: none;
    display: block;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

/* Info list */
.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Detail card */
.detail-card {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Detail card alt (with border var) */
.detail-card-alt {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    background: var(--white);
}

/* Meta line */
.meta-line {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: var(--mid-grey);
    margin-top: 12px;
}

/* Divider */
.divider-v {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Map embed */
.map-embed {
    border: 0;
    height: 100%;
    min-height: 400px;
}

/* Subheading label */
.subheading-label {
    font-size: 12px;
    color: var(--light-grey);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Small meta text */
.meta-small {
    font-size: 12px;
    color: #888;
}

/* Badge: image overlay */
.badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--forest-green);
    color: var(--white);
    font-size: 10px;
    padding: 4px 8px;
    letter-spacing: 0.5px;
    z-index: 1;
    text-transform: uppercase;
}

/* Alert/warning color */
.text-warning { color: #92400E; }

/* Unstyled button reset */
.btn-reset {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/* Italic text */
.font-italic { font-style: italic; }

/* Table cell padding */
.cell-pad { padding: 10px 16px; }
.cell-pad-sm { padding: 8px 16px; }

/* Small pill/tag */
.tag-sm { padding: 4px 12px; }

/* Margin bottom tiny */
.mb-2 { margin-bottom: 2px; }
.mt-2 { margin-top: 2px; }
.mt-10 { margin-top: 10px; }

/* Table header border */
.border-bottom-2-green { border-bottom: 2px solid var(--forest-green); }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Line-height px */
.lh-18 { line-height: 18px; }

/* Max-width small */
.max-w-300 { max-width: 300px; }
.max-w-400 { max-width: 400px; }

/* Width/height fixed */
.w-56 { width: 56px; }
.h-56 { height: 56px; }

/* Margin reset */
.m-0 { margin: 0; }

/* Padding large */
.p-64 { padding: 64px; }

/* Min-height */
.min-h-300 { min-height: 300px; }

/* Rounded large */
.rounded-24 { border-radius: 24px; }

/* Grid span full row */
.col-span-full { grid-column: 1 / -1; }

/* Width/Height 48px */
.w-48 { width: 48px; }
.h-48 { height: 48px; }

/* =============================================================
   Category Preview — Responsive
   ============================================================= */
.category-tiles-grid {
    grid-template-columns: repeat(5, 1fr);
}
.category-tiles-grid--cols-1 { grid-template-columns: 1fr; max-width: 360px; }
.category-tiles-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.category-tiles-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.category-tiles-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
    .category-tiles-grid,
    .category-tiles-grid--cols-4,
    .category-tiles-grid--cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .category-tiles-grid,
    .category-tiles-grid[class*="category-tiles-grid--cols-"] {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .category-tiles-grid,
    .category-tiles-grid[class*="category-tiles-grid--cols-"] {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   MOBILE OVERRIDES — Homepage Components
   Placed at end of file to win cascade over base component rules
   ============================================================= */
@media (max-width: 768px) {
    /* Action cards */
    .action-card {
        padding: 18px;
    }
    .action-card__icon {
        margin-bottom: 10px;
    }
    .action-card p {
        margin-bottom: 12px;
    }
    /* Role cards */
    .role-card p {
        flex: none;
    }
    .role-card__explore {
        margin-top: 0;
    }
    /* Brand carousel — fewer logos */
    .brand-carousel__track a,
    .brand-carousel__track img {
        width: calc(100% / 3);
    }
    .brand-carousel__item {
        width: calc(100% / 3);
    }
    /* Lead form layout */
    .lead-form-layout {
        gap: 16px;
    }
    .lead-form-layout__text {
        padding: 0;
    }
    /* Footer — centre brand, 2-col links, full-width subscribe */
    .site-footer__grid > div:first-child {
        text-align: center;
    }
    .site-footer__brand-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .site-footer__social {
        justify-content: center;
    }
    .site-footer__subscribe .footer-subscribe-fields,
    .site-footer__subscribe .footer-subscribe-fields p {
        flex-direction: column;
        width: 100%;
    }
    .site-footer__subscribe .wpcf7-form-control-wrap {
        width: 100%;
    }
    .site-footer__subscribe input[type="email"] {
        width: 100%;
    }
    .site-footer__subscribe .wpcf7-form [type="submit"] {
        width: 100%;
    }
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .site-footer__grid > div:first-child {
        grid-column: 1 / -1;
    }
    /* Nav actions — hide search + CTA on mobile, keep hamburger */
    .site-nav__search-form,
    .site-nav__cta {
        display: none !important;
    }
    /* Resources page — hide hero image on mobile */
    .post-type-archive-resource .hero-split__image {
        display: none;
    }
    /* Stats — reduce large numbers on mobile */
    .stat-number {
        font-size: 24px;
    }
    /* Location archive — tighten mobile spacing */
    .post-type-archive-location .section.pb-32 {
        padding-bottom: 12px;
    }
    .post-type-archive-location .archive-filter-bar--location.py-24 {
        margin-top: 8px;
        padding-top: 16px;
        padding-bottom: 12px;
    }
    .post-type-archive-location .archive-filter-bar--location .sector-toggle.mb-16,
    #branch-finder .archive-filter-bar--location .sector-toggle.mb-16 {
        margin-bottom: 0;
    }
    #branch-finder .archive-filter-bar--location.py-24 {
        padding-bottom: 12px;
    }
    #branch-finder .archive-result-count {
        margin-bottom: 12px;
    }
    .post-type-archive-location .section.pt-24 {
        padding-top: 12px;
    }
    .post-type-archive-location .archive-result-count {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .brand-carousel__track a,
    .brand-carousel__track img {
        width: calc(100% / 2);
    }
    .brand-carousel__item {
        width: calc(100% / 2);
    }
}

/* MOBILE OVERRIDES — Content Images */
@media (max-width: 640px) {
    .news-article__content img.alignleft,
    .news-article__content img.alignright {
        float: none;
        display: block;
        margin: 16px auto;
        max-width: 100%;
    }
}
