/* ==========================================================================
   RESET & TOKENS
   ========================================================================== */
:root {
    --red: #a93426;
    --red-cta: #E02B20;
    --red-dark: #74000a;
    --red-hover: #bd1205;
    --text: #222;
    --text-dark: #2d2d2d;
    --text-light: #999;
    --bg-light: #f5f5f5;
    --bg-lighter: #f9f9f9;
    --white: #fff;
    --black: #000;
    --border: #e0e0e0;
    --font: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    --font-nav: 'Barlow Semi Condensed', Helvetica, Arial, sans-serif;
    --font-serif: 'PT Serif', Georgia, serif;
    --max-w: 1280px;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --transition: .3s ease;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }

/* Component label (dev overlay) */
.salient-label { display: none; } /* Dev-only component labels — hidden in normal viewing. Add ?debug=1 logic later if needed. */
.salient-label-disabled-original {
    background: #1a1a2e;
    color: #00d4ff;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    text-align: center;
    border-bottom: 2px solid #00d4ff;
    position: relative;
    z-index: 100;
}
a:hover { color: var(--red-hover); }
h1,h2,h3,h4,h5 {
    font-family: var(--font);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.15;
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 20px; color: var(--red); }
h5 { font-size: 18px; }
p { margin-bottom: 1rem; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 4px;
    font-family: var(--font); font-size: 15px; font-weight: 600;
    text-decoration: none; text-align: center; cursor: pointer;
    border: 2px solid transparent; transition: all var(--transition);
}
.btn-red { background: var(--red-cta); color: var(--white); border-color: var(--red-cta); }
.btn-red:hover { background: var(--red-hover); border-color: var(--red-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--text-dark); border-color: var(--text-dark); }
.btn-outline:hover { background: var(--text-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover { background: var(--bg-light); color: var(--red-hover); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-row {
    display: flex; flex-wrap: wrap; gap: 12px;
    align-items: center; margin-top: 24px;
}

@media (max-width: 560px) {
    .btn-row,
    .interior-banner-cta {
        flex-direction: column; align-items: stretch;
    }
    .btn-row .btn,
    .interior-banner-cta .btn,
    .cta-banner .btn {
        width: 100%; max-width: 340px; margin-left: auto !important; margin-right: auto !important;
    }
    .cta-banner .btn + .btn { margin-top: 12px; }
}

/* ==========================================================================
   Salient-H1: Top Bar
   ========================================================================== */
.top-bar {
    background: var(--red);
    text-align: center;
}
.top-bar a { display: block; }
.top-bar img { margin: 0 auto; max-height: 50px; width: auto; }
.top-bar-mobile { display: none; }

@media (max-width: 979px) {
    .top-bar-desktop { display: none; }
    .top-bar-mobile { display: block; }
}

/* ==========================================================================
   Salient-H2: Navbar
   ========================================================================== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.navbar .wrap {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
}
.navbar-logo img { height: 46px; width: auto; }

/* Top-level nav items */
.navbar-menu {
    display: flex; gap: 0; list-style: none; height: 100%;
}
.navbar-menu > li {
    position: relative; display: flex; align-items: center;
}
.navbar-menu > li > a {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 18px; height: 100%;
    font-family: var(--font-nav); font-size: 14px; font-weight: 600;
    color: var(--text-dark); text-transform: uppercase; letter-spacing: .3px;
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
}
.navbar-menu > li > a:hover,
.navbar-menu > li.active > a {
    color: var(--red); border-bottom-color: var(--red);
}
.navbar-menu > li > a .chevron {
    font-size: 9px; transition: transform .25s ease;
}
.navbar-menu > li.mega-open > a .chevron {
    transform: rotate(180deg);
}

/* CTA button in nav */
.navbar-menu > li.nav-cta > a {
    background: var(--red); color: var(--white);
    border-radius: 5px; padding: 10px 20px; margin-left: 8px;
    border-bottom: none; font-size: 13px;
}
.navbar-menu > li.nav-cta > a:hover {
    background: var(--red-dark); color: var(--white);
}

/* Mega menu panel */
.mega-panel {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-top: 3px solid var(--red);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.08);
    padding: 28px 32px 24px;
    opacity: 0; visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index: 999;
    min-width: 260px;
}
.navbar-menu > li.mega-open .mega-panel {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Multi-column mega panels */
.mega-panel.cols-2 { min-width: 480px; }
.mega-panel.cols-3 { min-width: 640px; }
.mega-cols {
    display: grid; gap: 24px;
}
.mega-cols.c2 { grid-template-columns: 1fr 1fr; }
.mega-cols.c3 { grid-template-columns: 1fr 1fr 1fr; }

/* Column headings */
.mega-col-title {
    font-family: var(--font); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px;
    color: var(--red); margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

/* Mega menu links */
.mega-panel a {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; margin: 0 -10px;
    font-family: var(--font); font-size: 13.5px; font-weight: 500;
    color: var(--text); border-radius: 5px;
    transition: all .15s ease; line-height: 1.3;
}
.mega-panel a:hover {
    background: var(--bg-lighter); color: var(--red);
}
.mega-panel a i {
    font-size: 11px; color: var(--red); opacity: .5; width: 16px; text-align: center;
    flex-shrink: 0;
}
.mega-panel a:hover i { opacity: 1; }

/* Emergency highlight link */
.mega-panel a.mega-emergency {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white); font-weight: 700; margin-top: 8px;
    padding: 10px 12px; border-radius: 6px;
}
.mega-panel a.mega-emergency i { color: var(--white); opacity: 1; }
.mega-panel a.mega-emergency:hover {
    background: linear-gradient(135deg, var(--red-dark), #5a0008);
}

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 8px;
}
.hamburger span {
    width: 26px; height: 3px; background: var(--text-dark);
    border-radius: 2px; transition: all var(--transition); display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile nav */
@media (max-width: 980px) {
    .hamburger { display: flex; }
    .navbar-menu {
        display: none; position: absolute; top: 80px; left: 0; right: 0;
        flex-direction: column; background: var(--white);
        border-bottom: 2px solid var(--border); box-shadow: var(--shadow-lg);
        height: auto; max-height: calc(100vh - 80px - 72px); overflow-y: auto;
    }
    .navbar-menu.open { display: flex; }
    .navbar-menu > li { flex-direction: column; align-items: stretch; }
    .navbar-menu > li > a {
        padding: 14px 24px; height: auto;
        border-bottom: 1px solid var(--border); border-left: 3px solid transparent;
        justify-content: space-between;
    }
    .navbar-menu > li > a:hover,
    .navbar-menu > li.mega-open > a {
        border-bottom-color: var(--border); border-left-color: var(--red);
        background: var(--bg-lighter);
    }
    .navbar-menu > li.nav-cta { padding: 12px 24px; }
    .navbar-menu > li.nav-cta > a {
        margin-left: 0; justify-content: center;
    }
    .mega-panel {
        position: static; transform: none !important;
        border-top: none; border-radius: 0;
        box-shadow: none; padding: 0;
        border-bottom: none;
        background: none;
        opacity: 1; visibility: visible;
        max-height: 0; overflow: hidden;
        transition: max-height .3s ease;
    }
    .navbar-menu > li.mega-open .mega-panel {
        max-height: 600px;
        padding: 8px 24px 16px 36px;
    }
    .mega-panel.cols-2, .mega-panel.cols-3 { min-width: 0; }
    .mega-cols { grid-template-columns: 1fr !important; gap: 16px; }
    .mega-col-title { margin-top: 8px; }
}
@media (max-width: 767px) {
    .navbar .wrap { height: 65px; }
    .navbar-logo img { height: 36px; }
    .navbar-menu { top: 65px; max-height: calc(100vh - 65px - 72px); }
}

/* ==========================================================================
   Salient-H3: Page Hero (homepage / pillar pages)
   Media: single image, video, or rotating slides
   ========================================================================== */
.hero {
    position: relative; width: 100%; height: 500px;
    overflow: hidden; background: var(--text-dark);
}
/* Slide-based (image rotation) */
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
/* Single image hero (no slides needed) */
.hero-single {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
}
/* Video hero */
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    overflow: hidden;
    pointer-events: none;
}
/* When .hero-video wraps a YouTube/Vimeo iframe, scale it to cover */
.hero-video iframe {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: 177.78vh; height: 56.25vw;
    border: 0; pointer-events: none;
}
/* Transparent capture layer hides YouTube hover/playlist controls */
.hero-video::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
}

/* ==========================================================================
   SECTION SUBNAV — pillar-specific submenu bar under main nav
   ========================================================================== */
.section-subnav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.section-subnav-toggle {
    display: none;
}
.section-subnav-list {
    list-style: none; padding: 0; margin: 0;
    display: inline-flex; gap: 0;
    max-width: var(--max-w);
}
.section-subnav-item {
    position: relative;
}
.section-subnav-item > a {
    display: inline-block; padding: 20px 32px;
    font-family: var(--font-nav);
    font-size: 14px; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-dark); text-decoration: none;
    transition: color var(--transition);
}
.section-subnav-item > a:hover { color: var(--red); }
.section-subnav-item > a .fa-chevron-down { font-size: 10px; margin-left: 4px; opacity: .6; }
.section-subnav-dropdown {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    list-style: none; padding: 8px 0; margin: 0;
    min-width: 240px; z-index: 10;
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    text-align: left;
}
.section-subnav-item.subnav-open .section-subnav-dropdown {
    opacity: 1; visibility: visible;
}
.section-subnav-dropdown li a {
    display: block; padding: 10px 22px;
    font-family: var(--font-nav); font-size: 14px;
    color: var(--text-dark); text-decoration: none;
    transition: all var(--transition);
}
.section-subnav-dropdown li a:hover {
    background: var(--bg-light); color: var(--red);
}
@media (max-width: 980px) {
    .section-subnav {
        text-align: left;
    }
    .section-subnav-toggle {
        width: 100%;
        display: flex; align-items: center; justify-content: space-between;
        border: 0;
        border-bottom: 1px solid var(--border);
        background: var(--white);
        padding: 14px 24px;
        font-family: var(--font-nav);
        font-size: 13px; font-weight: 800; letter-spacing: .5px;
        text-transform: uppercase;
        color: var(--text-dark);
        cursor: pointer;
    }
    .section-subnav-toggle .fa-chevron-down {
        font-size: 11px;
        transition: transform .2s ease;
    }
    .section-subnav.subnav-menu-open .section-subnav-toggle .fa-chevron-down {
        transform: rotate(180deg);
    }
    .section-subnav-list {
        display: flex; flex-direction: column;
        max-width: none; width: 100%;
        max-height: 0; overflow: hidden;
        transition: max-height .25s ease;
    }
    .section-subnav.subnav-menu-open .section-subnav-list {
        max-height: 900px;
    }
    .section-subnav-item {
        border-bottom: 1px solid var(--border);
    }
    .section-subnav-item > a {
        display: flex; align-items: center; justify-content: space-between;
        padding: 13px 24px; font-size: 13px;
    }
    .section-subnav-item > a .fa-chevron-down {
        transition: transform .2s ease;
    }
    .section-subnav-item.subnav-open > a .fa-chevron-down {
        transform: rotate(180deg);
    }
    .section-subnav-dropdown {
        position: static; transform: none;
        min-width: 0; width: 100%;
        box-shadow: none; border-top: 1px solid var(--border);
        padding: 0; max-height: 0; overflow: hidden;
        opacity: 1; visibility: visible;
        transition: max-height .25s ease;
        background: var(--bg-lighter);
    }
    .section-subnav-item.subnav-open .section-subnav-dropdown {
        max-height: 360px;
    }
    .section-subnav-dropdown li a {
        padding: 11px 34px;
        font-size: 13px;
    }
}

/* ==========================================================================
   WINDOW TYPES GRID — clickable tiles showing each window style
   ========================================================================== */
.window-types-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 32px;
}
.window-type-card {
    display: flex; flex-direction: column; align-items: center;
    background: var(--white);
    border: 1px solid var(--border); border-radius: 8px;
    padding: 24px 16px; text-align: center;
    text-decoration: none; color: var(--text-dark);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.window-type-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--red);
    color: var(--red);
}
.window-type-card img {
    width: 100%; max-width: 200px; height: 140px;
    object-fit: contain; margin-bottom: 14px;
}
.team-photos .window-type-card img { max-width: 360px; height: 300px; }
.window-type-card h3 {
    font-size: 17px; margin: 0;
    font-family: var(--font);
    text-transform: none; letter-spacing: 0;
}
@media (max-width: 980px) {
    .window-types-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .window-types-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BRAND GRID — Proudly Canadian / manufacturer cards
   ========================================================================== */
.brand-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    margin-top: 32px;
}
.brand-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border-radius: 8px; padding: 36px 28px 28px;
    text-align: center; text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid var(--border);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    color: var(--text);
}
.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    border-color: var(--red);
}
.brand-card-logo {
    height: 100px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.brand-card-logo img {
    max-height: 80px; max-width: 220px; width: auto; height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter .25s ease;
}
.brand-card:hover .brand-card-logo img { filter: grayscale(0); }
.brand-card h3 {
    font-size: 22px; margin: 0 0 12px;
    color: var(--text-dark);
    font-family: var(--font);
}
.brand-card p {
    font-size: 17px; line-height: 1.7; color: var(--text);
    margin: 0 0 18px; flex: 1;
}
.brand-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700;
    color: var(--red); text-transform: uppercase; letter-spacing: .5px;
    transition: gap .2s ease;
}
.brand-card:hover .brand-card-link { gap: 10px; color: var(--red-dark); }
@media (max-width: 980px) {
    .brand-grid { grid-template-columns: 1fr; gap: 20px; }
    .brand-card-logo { height: 80px; }
    .brand-card-logo img { max-height: 64px; max-width: 180px; }
}

/* ==========================================================================
   BREADCRUMB BAR — gray bar below hero with Home → Page breadcrumb
   ========================================================================== */
.breadcrumb-bar {
    background: #f5f5f5;
    padding: 5px 0;
    border-bottom: 1px solid #ececec;
}
.breadcrumb-bar .breadcrumb { font-size: 13px; line-height: 1.4; }
.breadcrumb-bar .wrap {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.breadcrumb-bar .breadcrumb {
    font-family: var(--font-nav); font-size: 14px;
    color: var(--text-dark);
}
.breadcrumb-bar .breadcrumb a {
    color: var(--text-dark); text-decoration: none;
    transition: color var(--transition);
}
.breadcrumb-bar .breadcrumb a:hover { color: var(--red); }
.breadcrumb-bar .breadcrumb .sep {
    margin: 0 8px; color: var(--text-light);
}
.breadcrumb-bar .breadcrumb .current { color: var(--red); font-weight: 600; }

/* ==========================================================================
   HERO TITLE CARD — semi-transparent overlay box for pillar/internal page heroes
   ========================================================================== */
.hero-card {
    position: absolute; z-index: 2;
    top: 50%; left: max(40px, calc((100vw - var(--max-w)) / 2));
    transform: translateY(-50%);
    background: rgba(40, 40, 40, .55);
    backdrop-filter: blur(2px);
    padding: 40px 56px; max-width: 720px;
    color: var(--white);
}
.hero-card h1 {
    color: var(--white); margin: 0 0 14px;
    font-size: clamp(36px, 4vw, 56px); line-height: 1.1;
}
.hero-card .hero-subtitle {
    color: var(--white); font-family: var(--font-nav);
    font-size: clamp(16px, 1.4vw, 20px); font-weight: 600;
    margin: 0 0 16px; opacity: .95;
}
.hero-card p {
    color: var(--white); font-size: 17px; line-height: 1.7;
    margin: 0; max-width: 620px;
}
@media (max-width: 767px) {
    .hero-card { margin: 32px 16px; padding: 24px; }
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 100%);
}
.hero-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 60px; max-width: 650px;
}
.hero-content h1 { color: var(--white); margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-content p {
    color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: 24px;
    max-width: 500px; text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.hero-nav {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    display: flex; gap: 10px;
}
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,.4); border: none; cursor: pointer;
    transition: all var(--transition);
}
.hero-dot.active { background: var(--white); transform: scale(1.2); }

@media (max-width: 767px) {
    .hero { height: 350px; }
    .hero-content { padding: 0 24px; }
}

/* ==========================================================================
   Salient-H3b: Interior Banner (subpages — shorter, with breadcrumb)
   ========================================================================== */
.interior-banner {
    position: relative; width: 100%; height: 280px;
    overflow: hidden; background: var(--text-dark);
    background-size: cover; background-position: center;
}
.interior-banner-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
}
.interior-banner-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.interior-banner .hero-overlay,
.interior-banner-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 100%);
}
.interior-banner-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 60px 36px;
    max-width: var(--max-w); margin: 0 auto;
}
.interior-banner-content h1 {
    color: var(--white); font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.interior-banner-desc,
.interior-banner-content p {
    color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: 16px;
    max-width: 600px; text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.interior-banner-cta { display: flex; gap: 12px; margin-bottom: 16px; }
/* Breadcrumb */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; letter-spacing: .3px;
}
.breadcrumb a {
    color: rgba(255,255,255,.75); text-decoration: none;
    transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,.4); }
.breadcrumb .current { color: var(--white); font-weight: 600; }

@media (max-width: 767px) {
    .interior-banner { height: auto; min-height: 340px; }
    .interior-banner-content { justify-content: center; padding: 40px 24px 32px; }
    .interior-banner-content h1 { font-size: 34px; }
    .interior-banner-desc { font-size: 16px; line-height: 1.55; max-width: 100%; }
    .breadcrumb { font-size: 12px; }
}

/* ==========================================================================
   4. LOGO BAR (As Seen In)
   ========================================================================== */
.logo-bar {
    background: #848484; padding: 0;
    text-align: center;
}
.logo-bar img {
    width: 100%; max-width: 1200px; height: auto; display: block; margin: 0 auto;
}
.logo-bar .logo-desktop { display: block; }
.logo-bar .logo-mobile { display: none; }
@media (max-width: 767px) {
    .logo-bar { background: #999999; }
    .logo-bar .logo-desktop { display: none; }
    .logo-bar .logo-mobile { display: block; }
}

/* ==========================================================================
   Salient-01: SPLIT SECTION (text + carousel/video/image/map)
   ========================================================================== */
.split {
    display: flex; align-items: stretch; gap: 0;
}
.split-img, .split-txt, .split-carousel { flex: 1; min-width: 0; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-img { overflow: hidden; }
.split-txt { padding: 48px 56px; }

/* When a split is full-bleed (no .wrap parent), push text in from the edge */
.split-bleed .split-txt {
    padding-left: calc(max(56px, (100vw - var(--max-w)) / 2 + 24px));
    padding-right: 56px;
}
.split-bleed.split-reverse .split-txt {
    padding-right: calc(max(56px, (100vw - var(--max-w)) / 2 + 24px));
    padding-left: 56px;
}

/* Image carousel within a split */
.split-carousel {
    position: relative; overflow: hidden; aspect-ratio: 1 / 1;
}
.split-carousel-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease;
}
.split-carousel-slide img {
    width: 100%; height: 100%; object-fit: cover;
}
.split-carousel-slide.active { opacity: 1; }
.split-carousel-dots {
    position: absolute; bottom: 16px; left: 50%;
    transform: translateX(-50%); display: flex; gap: 8px; z-index: 3;
}
.split-carousel-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.45); border: none; cursor: pointer;
    transition: all var(--transition);
}
.split-carousel-dot.active { background: var(--white); transform: scale(1.25); }
.split-txt h2 { margin-bottom: 8px; font-size: clamp(28px, 2.5vw, 42px); }
.split-txt .subtitle {
    font-family: var(--font-serif); font-style: italic;
    color: var(--red); font-size: clamp(16px, 1.4vw, 22px); margin-bottom: 20px;
}
.split-txt p { font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.split-txt .btn { margin-top: 8px; align-self: flex-start; }
.split-reverse { flex-direction: row-reverse; }

@media (max-width: 980px) {
    .split, .split-reverse { flex-direction: column; }
    .split-img, .split-txt, .split-carousel { width: 100%; }
    .split-txt { padding: 36px 24px; }
    .split-bleed .split-txt,
    .split-bleed.split-reverse .split-txt { padding: 36px 24px; }
    .split-carousel { min-height: 320px; }
}

/* ==========================================================================
   6. SECTIONS BASE
   ========================================================================== */
.section { padding: 60px 0; }
.section-after-breadcrumb { padding-top: 0; }
.section-header {
    text-align: center; margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 17px; line-height: 1.7; max-width: 600px; margin: 0 auto; }
.section-header .line {
    width: 60px; height: 3px; background: var(--red);
    margin: 16px auto 0;
}

@media (max-width: 767px) {
    .section { padding: 44px 0; }
    .section-after-breadcrumb { padding-top: 0; }
    .section-header { margin-bottom: 30px; }
    .split-txt { padding: 32px 24px; }
    .split-txt h2 { font-size: 30px; }
}

/* ==========================================================================
   Salient-03: PRODUCT CARD GRID
   ========================================================================== */
.products-section {
    background: #ece7e2;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
    color: inherit;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

/* Red title header */
.product-card-header {
    background: var(--red);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-card-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.25;
    letter-spacing: .2px;
}
.product-card:hover .product-card-header {
    background: var(--red-dark);
}

/* Content row: image + body side by side under the header */
.product-card-content {
    display: flex;
    flex: 1;
}
.product-card-img {
    flex: 0 0 110px;
    overflow: hidden;
    position: relative;
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; top: 0; left: 0;
    transition: transform .4s ease;
}
.product-card:hover .product-card-img img {
    transform: scale(1.06);
}

/* Card body */
.product-card-body {
    flex: 1;
    padding: 14px 16px 16px;
    display: flex; flex-direction: column;
}
.product-card-body ul {
    list-style: none;
    padding: 0; margin: 0 0 12px;
}
.product-card-body li {
    font-size: 14px;
    color: #202020;
    font-weight: 600;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}
.product-card-body li::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    opacity: .85;
}
.product-card-link {
    font-size: 14px;
    font-weight: 800;
    color: #7a1d14;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: gap .2s ease;
}
.product-card:hover .product-card-link {
    gap: 9px;
    color: var(--red-dark);
}

@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card-img { flex: 0 0 95px; }
}
@media (max-width: 560px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card-content { flex-direction: column; }
    .product-card-img { flex: 0 0 80px; }
    .product-card-header { padding: 8px 10px; }
    .product-card-header h3 { font-size: 13px; }
    .product-card-body { padding: 8px 10px 10px; }
    .product-card-body ul { font-size: 13px; }
    .product-card-link { font-size: 13px; }
    .product-card-img { flex: 0 0 110px; }
    .product-card-body { padding: 12px 14px; }
}

/* ==========================================================================
   7. WHY CHOOSE US + TESTIMONIAL
   ========================================================================== */
.why-section { background: var(--bg-light); }
.testimonial-box {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 6px; padding: 32px; margin-top: 24px;
    position: relative;
}
.testimonial-box .quote-icon {
    font-size: 36px; color: var(--red); opacity: .3; margin-bottom: 12px;
}
.testimonial-box blockquote {
    font-family: var(--font-serif); font-style: italic;
    font-size: 17px; line-height: 1.7; color: var(--text-dark);
    margin-bottom: 16px;
}
.testimonial-box .author {
    font-weight: 600; color: var(--red); font-size: 14px;
}
.experience-badge {
    position: relative;
    background: rgba(0,0,0,.65); color: var(--white);
    padding: 28px 24px; margin-top: -120px;
    margin-left: 20px; margin-right: 20px;
    z-index: 2;
}
.experience-badge h3 { color: var(--white); margin-bottom: 4px; font-size: 22px; }
.experience-badge p { color: rgba(255,255,255,.85); margin: 0; font-size: 14px; }

/* ==========================================================================
   Salient-02: CTA BANNER
   ========================================================================== */
.cta-banner {
    padding: 56px 0; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; font-size: clamp(30px, 3vw, 42px); }
.cta-banner p { color: rgba(255,255,255,.95); font-size: 20px; margin-bottom: 24px; }
.cta-banner.bg-red { background: var(--red); }
.cta-banner.bg-dark { background: var(--text-dark); }
.cta-banner .btn + .btn { margin-left: 16px; }

@media (max-width: 767px) {
    .cta-banner .btn + .btn { margin-left: auto; margin-top: 12px; }
    .cta-banner .btn {
        display: block; width: 100%; max-width: 340px;
        margin-left: auto; margin-right: auto;
    }
}

/* ==========================================================================
   Salient-12: ARTICLES GRID (3-col blog cards)
   ========================================================================== */
.articles-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.article-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 6px; overflow: hidden; transition: all var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.article-card-img { height: 200px; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-card-body .tag {
    display: inline-block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; color: var(--red); margin-bottom: 8px;
    letter-spacing: .5px;
}
.article-card-body h3 { font-size: 18px; margin-bottom: 10px; }
.article-card-body h3 a { color: var(--text-dark); }
.article-card-body h3 a:hover { color: var(--red); }
.article-card-body p { font-size: 17px; line-height: 1.7; margin-bottom: 0; }

@media (max-width: 980px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .articles-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Salient-17: Brand Logos
   ========================================================================== */
.brands-bar {
    padding: 40px 0; background: var(--bg-light); text-align: center;
}
.brands-bar h3 { margin-bottom: 24px; font-size: 20px; }
.brands-logos {
    display: flex; align-items: center; justify-content: center;
    gap: 48px; flex-wrap: wrap;
}
.brands-logos img {
    height: 50px; width: auto; opacity: .7;
    transition: opacity var(--transition);
}
.brands-logos img:hover { opacity: 1; }

/* ==========================================================================
   Salient-F1: Footer
   ========================================================================== */
.footer {
    background-color: #000;
    background-image: linear-gradient(180deg,#000 0%,rgba(0,0,0,.8) 100%), url("/images/centennial-icon-white.png");
    background-position: left 9% top -22%;
    background-repeat: no-repeat;
    background-size: 42% auto;
    color: var(--white);
    padding: 30px 0;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px;
    align-items: start;
}
.footer h5 {
    color: var(--red); font-size: 19px; font-weight: 700;
    margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0;
}
.footer p { font-size: 15px; line-height: 1.4; margin-bottom: 12px; }
.footer a {
    color: var(--white); display: block;
    font-size: 15px; font-weight: 300; line-height: 1.15;
    margin-bottom: 9px;
}
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-subhead,
.footer-location-title { margin-top: 24px; }
.footer-map { margin: 0 0 22px; overflow: hidden; }
.footer-map iframe { display: block; width: 100%; height: 200px; border: 0; }
.footer-phone { font-size: 15px !important; font-weight: 300 !important; }

@media (max-width: 980px) {
    .footer {
        background-size: 70% auto;
        background-position: left -10% top 0;
    }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .footer { background-size: 120% auto; background-position: center top 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Emergency Bar */
.emergency-bar {
    background: var(--red); color: var(--white);
    padding: 10px 0; text-align: center;
    font-size: 41px; font-weight: 700; line-height: 1.2;
}
.emergency-bar a { color: var(--white); }
.emergency-bar a:hover { text-decoration: underline; color: var(--white); }

/* Copyright */
.copyright {
    background: #000; color: var(--white);
    padding: 0 0 10px; text-align: center;
    font-size: 15px; font-weight: 300; line-height: 1.5;
}
.copyright p { margin: 0 0 8px; }
.copyright a { color: var(--white); }
.copyright a:hover { color: var(--white); text-decoration: underline; }

@media (max-width: 980px) {
    .emergency-bar { font-size: 30px; }
    .copyright { text-align: center; }
}
@media (max-width: 767px) {
    .emergency-bar { font-size: 24px; padding: 14px 0; }
    .copyright { font-size: 12px; padding-bottom: 16px; }
}

/* ==========================================================================
   Salient-F2: Mobile Sticky Bar
   ========================================================================== */
.mobile-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--border);
    padding: 10px 12px; z-index: 1001;
    box-shadow: 0 -2px 12px rgba(0,0,0,.1);
}
.mobile-bar-inner { display: flex; gap: 8px; }
.mobile-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 8px; border-radius: 4px;
    font-size: 13px; font-weight: 600; text-decoration: none;
    transition: all var(--transition);
}
.mobile-bar .bar-call { background: var(--red-cta); color: var(--white); }
.mobile-bar .bar-call:hover { background: var(--red-hover); }
.mobile-bar .bar-quote { background: var(--bg-light); color: var(--text-dark); border: 1px solid var(--border); }
.mobile-bar .bar-directions { background: var(--bg-light); color: var(--text-dark); }

@media (max-width: 767px) {
    .mobile-bar { display: block; }
    body { padding-bottom: 72px; }
}

/* Desktop Quick Quote Floating */
.quick-quote-float {
    display: none; position: fixed; bottom: 24px; right: 24px;
    z-index: 900;
}
.quick-quote-float a {
    display: flex; align-items: center; gap: 8px;
    background: var(--red-cta); color: var(--white);
    padding: 14px 24px; border-radius: 50px;
    font-weight: 600; font-size: 14px;
    box-shadow: 0 4px 16px rgba(224,43,32,.35);
    transition: all var(--transition);
}
.quick-quote-float a:hover {
    background: var(--red-hover); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224,43,32,.45); color: var(--white);
}

@media (min-width: 981px) { .quick-quote-float { display: block; } }

/* Quick Quote Modal */
.quote-modal[hidden] { display: none; }
.quote-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}
.quote-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(17, 17, 17, .6);
}
.quote-modal-dialog {
    position: relative; z-index: 1;
    width: 100%; max-width: 760px; margin: auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    animation: quote-modal-in .2s ease-out;
}
@keyframes quote-modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.quote-modal-close {
    position: absolute; top: 10px; right: 14px;
    background: none; border: 0; cursor: pointer;
    font-size: 30px; line-height: 1; color: var(--text-light);
    transition: color var(--transition);
}
.quote-modal-close:hover { color: var(--red); }
.quote-modal-body { padding: 32px 32px 36px; }
/* Inside the modal the dialog already supplies the frame + padding, so flatten
   the shared form panel to avoid doubled padding / max-width. */
.quote-modal .contact-form-panel { max-width: none; margin: 0; padding: 0; background: transparent; }
@media (max-width: 640px) {
    /* Full-screen modal on phones */
    .quote-modal { padding: 0; }
    .quote-modal-dialog { max-width: 100%; min-height: 100%; border-radius: 0; margin: 0; }
    .quote-modal-body { padding: 20px 16px 26px; }

    /* Tighten the form so it needs far less scrolling on phones:
       keep the choice cards as a 2x2 grid (instead of one tall column),
       shrink imagery, and trim heading / field spacing. */
    .quote-modal .section-header { margin-bottom: 12px !important; }
    .quote-modal .section-header h2 { font-size: 24px; }
    .quote-modal .section-header p { font-size: 13px; line-height: 1.45; }
    .quote-modal .contact-form-panel h3 { font-size: 20px; margin-bottom: 12px; }
    .quote-modal .contact-form-panel legend { font-size: 16px; margin-bottom: 10px; }
    .quote-modal .contact-choice-grid-simple { grid-template-columns: 1fr 1fr; gap: 12px; }
    .quote-modal .contact-choice-simple img { aspect-ratio: 4 / 3; }
    .quote-modal .contact-choice-simple span { font-size: 13px; padding-top: 6px; }
    .quote-modal .contact-progressive { margin-top: 18px; }
    .quote-modal .contact-form-grid { gap: 12px; }
    .quote-modal .contact-form-panel textarea { height: 110px; min-height: 0; }
    .quote-modal .contact-submit-row { gap: 14px; margin-top: 18px; }
}

/* ==========================================================================
   Shared Contact / Quick Quote form (includes/contact-form.php)
   Global styles so the form renders correctly anywhere it's embedded
   (the /contact-information/ page AND the Quick Quote modal on every page).
   ========================================================================== */
.form-error-banner {
    max-width: 1080px; margin: 0 auto 18px; padding: 14px 18px;
    background: #fdecea; border: 1px solid #f5c2bd; border-left: 4px solid var(--red);
    color: #8a1c12; border-radius: 4px; font-weight: 600;
}
.contact-form-panel { max-width: 1080px; margin: 0 auto; background: #fff; padding: 34px; }
.contact-form-panel h3 { margin-bottom: 20px; }
.contact-form-panel legend {
    font-family: var(--font-condensed); font-size: 20px; font-weight: 700;
    color: var(--text-dark); margin-bottom: 12px;
}
.contact-choice-grid-simple { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.contact-choice-simple { display: block; cursor: pointer; }
.contact-choice-simple img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.contact-choice-simple span {
    display: flex; gap: 8px; align-items: center; padding: 10px 0 0;
    color: var(--text-dark); font-weight: 700; line-height: 1.25;
}
.contact-choice-simple input { accent-color: var(--red); }
.contact-progressive { display: none; margin-top: 28px; }
.contact-form-panel.is-started .contact-progressive { display: block; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form-grid .full { grid-column: 1 / -1; }
.contact-submit-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.recaptcha-placeholder {
    width: 304px; min-height: 78px; border: 1px solid #d7d7d7; background: #f8f8f8;
    display: flex; align-items: center; gap: 14px; padding: 16px; color: var(--text-dark);
}
.recaptcha-placeholder .box { width: 30px; height: 30px; border: 2px solid #777; background: #fff; flex: 0 0 auto; }
.recaptcha-placeholder small { display: block; margin-top: 4px; color: #777; font-size: 11px; }
@media (max-width: 980px) {
    .contact-choice-grid-simple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .contact-form-panel { padding: 24px; }
    .contact-choice-grid-simple,
    .contact-form-grid { grid-template-columns: 1fr; }
    .contact-choice-simple img { aspect-ratio: 4 / 3; }
    .recaptcha-placeholder { width: 100%; }
}

/* ==========================================================================
   Salient-10: FAQ ACCORDION
   ========================================================================== */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; cursor: pointer; user-select: none;
    transition: color var(--transition);
}
.faq-q:hover { color: var(--red); }
.faq-q h3 { flex: 1; font-size: 18px; margin: 0; pointer-events: none; }
.faq-q .icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg-light); display: flex; align-items: center; justify-content: center;
    font-size: 12px; transition: all var(--transition); flex-shrink: 0; margin-left: 16px;
}
.faq-q:hover .icon { background: var(--red); color: var(--white); }
.faq-a {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .35s ease, opacity .3s ease, padding .3s ease;
    padding: 0 0;
}
.faq-a.open { max-height: 300px; opacity: 1; padding: 0 0 20px; }
.faq-a p { font-size: 18px; line-height: 1.75; margin: 0; }

/* Video Block */
.video-wrap {
    position: relative; padding-bottom: 56.25%; height: 0;
    overflow: hidden; border-radius: 6px;
}
.video-wrap iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex; gap: 0; list-style: none;
    padding: 14px 0; font-size: 14px;
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after {
    content: '/'; margin: 0 10px; color: var(--text-light);
}
.breadcrumb li:last-child { color: var(--text-dark); }

/* Contact Form */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--text-dark); margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--border); border-radius: 4px;
    font-family: var(--font); font-size: 14px; color: var(--text-dark);
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(169,52,38,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Guided Quick Quote Flow */
.quote-flow {
    max-width: 1180px; margin: 32px auto 0; background: var(--white);
    border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow);
    padding: 30px;
}
.quote-flow-intro {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 28px; align-items: end; padding-bottom: 22px; border-bottom: 1px solid var(--border);
    margin-bottom: 26px;
}
.quote-flow-intro h3 {
    margin: 4px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.05;
    color: var(--text-dark);
}
.quote-flow-intro p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--text); }
.quote-flow .eyebrow {
    display: inline-block; color: var(--red); font-weight: 800; text-transform: uppercase;
    letter-spacing: .6px; font-size: 13px;
}
.quote-step { border: 0; padding: 0; margin: 0; }
.quote-step legend {
    font-family: var(--font-heading); font-size: 28px; font-weight: 800;
    color: var(--text-dark); margin-bottom: 18px; padding: 0;
}
.quote-choice-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.quote-choice-card {
    display: flex; flex-direction: column; min-height: 100%;
    border: 2px solid var(--border); border-radius: 8px; background: var(--white);
    cursor: pointer; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.quote-choice-card:hover { border-color: rgba(169,52,38,.5); box-shadow: var(--shadow); transform: translateY(-2px); }
.quote-choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.quote-choice-card:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 3px rgba(169,52,38,.12); }
.quote-choice-image {
    display: block; aspect-ratio: 4 / 3; background: var(--bg-light); overflow: hidden;
}
.quote-choice-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote-choice-title {
    display: block; padding: 16px 16px 6px; font-family: var(--font-heading);
    font-size: 24px; line-height: 1.12; font-weight: 800; color: var(--text-dark);
}
.quote-choice-copy {
    display: block; padding: 0 16px 18px; font-size: 16px; line-height: 1.45; color: var(--text);
}
.quote-panel, .quote-subpanel, .quote-nested {
    border-left: 0; border-right: 0; border-bottom: 0;
    margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border);
}
.quote-panel legend {
    font-family: var(--font-heading); font-size: 28px; font-weight: 800;
    color: var(--text-dark); margin-bottom: 18px; padding: 0;
}
.quote-panel-heading {
    display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
    gap: 26px; margin-bottom: 22px; align-items: start;
}
.quote-panel-heading h4 {
    margin: 0; font-family: var(--font-heading); font-size: 34px; line-height: 1.1;
    color: var(--red);
}
.quote-panel-heading p { margin: 0; color: var(--text); font-size: 18px; line-height: 1.65; }
.quote-form-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px;
}
.quote-form-grid .full { grid-column: 1 / -1; }
.quote-flow .form-group { margin: 0; }
.quote-flow .form-group label {
    font-size: 16px; color: var(--text-dark); font-weight: 800; margin-bottom: 8px;
}
.quote-flow .form-group input,
.quote-flow .form-group textarea,
.quote-flow .form-group select {
    font-size: 17px; min-height: 48px; background: var(--white); color: var(--text-dark);
}
.segmented-options, .check-list {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch;
}
.segmented-options.stack { flex-direction: column; align-items: stretch; }
.segmented-options label,
.check-list label {
    display: flex; align-items: center; gap: 9px; margin: 0;
    border: 1px solid var(--border); background: var(--bg-light); border-radius: 6px;
    padding: 10px 12px; color: var(--text-dark); font-size: 16px; line-height: 1.35;
    font-weight: 700;
}
.check-list.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-list input, .segmented-options input { width: auto; min-height: 0; accent-color: var(--red); }
.quote-contact-block {
    margin-top: 24px; padding: 22px; background: var(--bg-light);
    border: 1px solid var(--border); border-radius: 8px;
}
.quote-contact-block h5,
.quote-repair-card h5 {
    margin: 0 0 16px; font-family: var(--font-heading); color: var(--text-dark);
    font-size: 24px; line-height: 1.15;
}
.quote-repair-card {
    margin-top: 18px; padding: 20px; border: 1px solid var(--border); border-radius: 8px;
    background: var(--white);
}
.quote-repair-detail { margin-top: 18px; }
.quote-submit-row {
    display: flex; justify-content: space-between; align-items: center; gap: 18px;
    margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border);
}
.quote-submit-note {
    display: grid; gap: 3px; color: var(--text); font-size: 15px; line-height: 1.45;
}
.quote-submit-note strong { color: var(--text-dark); }
.quote-placeholder-message {
    margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--red);
    background: rgba(169,52,38,.08); color: var(--text-dark); font-weight: 700;
}

@media (max-width: 980px) {
    .quote-flow { padding: 22px; }
    .quote-flow-intro, .quote-panel-heading { grid-template-columns: 1fr; gap: 12px; }
    .quote-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .quote-flow { padding: 18px; border-radius: 0; margin-left: -16px; margin-right: -16px; }
    .quote-choice-grid, .quote-form-grid, .check-list.two-col { grid-template-columns: 1fr; }
    .quote-submit-row { display: grid; }
    .quote-flow-intro h3 { font-size: 32px; }
    .quote-step legend, .quote-panel-heading h4 { font-size: 28px; }
}

/* Shower Builder */
.shower-builder-section { background: var(--bg-light); }
.shower-builder {
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    box-shadow: var(--shadow); padding: 30px;
}
.shower-builder-head {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
    gap: 28px; align-items: end; padding-bottom: 24px; border-bottom: 1px solid var(--border);
    margin-bottom: 26px;
}
.shower-builder-head h2 {
    margin: 4px 0 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05;
    color: var(--text-dark);
}
.shower-builder-head p { margin: 0; color: var(--text); font-size: 18px; line-height: 1.65; }
.shower-builder .eyebrow {
    display: inline-block; color: var(--red); font-weight: 800; text-transform: uppercase;
    letter-spacing: .6px; font-size: 13px;
}
.shower-builder-step { border: 0; padding: 0; margin: 0; }
.shower-step-title-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-bottom: 18px;
}
.shower-builder-step legend {
    font-family: var(--font-heading); font-size: 30px; font-weight: 800;
    color: var(--text-dark); margin: 0; padding: 0;
}
.shower-step-complete {
    display: grid; grid-template-columns: auto minmax(180px, max-content) minmax(0, 1fr);
    gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--border);
    border-radius: 8px; background: #f7f7f7; margin-bottom: 18px;
}
.shower-step-complete strong {
    font-family: var(--font-heading); color: var(--text-dark); font-size: 24px; line-height: 1.1;
}
.shower-step-complete span:last-child {
    color: var(--text); font-size: 16px; line-height: 1.45;
}
.shower-builder-step.step-complete .shower-style-grid {
    display: none;
}
.shower-style-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.shower-style-card {
    position: relative; display: flex; flex-direction: column; min-height: 100%;
    border: 2px solid var(--border); border-radius: 8px; overflow: hidden;
    background: var(--white); cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.shower-style-card:hover { border-color: rgba(169,52,38,.5); box-shadow: var(--shadow); transform: translateY(-2px); }
.shower-style-card input { position: absolute; opacity: 0; pointer-events: none; }
.shower-style-card:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 3px rgba(169,52,38,.12); }
.shower-style-img {
    display: block; aspect-ratio: 4 / 3; background: var(--bg-light); overflow: hidden;
}
.shower-style-img img {
    width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px;
}
.shower-style-meta {
    padding: 14px 14px 0; color: var(--red); font-size: 12px; font-weight: 800;
    letter-spacing: .5px; text-transform: uppercase;
}
.shower-style-title {
    padding: 4px 14px 6px; font-family: var(--font-heading); font-size: 22px;
    line-height: 1.1; color: var(--text-dark); font-weight: 800;
}
.shower-style-copy {
    padding: 0 14px 16px; font-size: 15px; line-height: 1.45; color: var(--text);
}
.shower-builder-panel {
    margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border);
}
.shower-selected-summary {
    display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: 26px; align-items: center; background: #f7f7f7; border: 1px solid var(--border);
    border-radius: 8px; padding: 20px; margin-bottom: 22px;
}
.shower-selected-image {
    background: var(--white); border: 1px solid var(--border); border-radius: 6px;
    aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
}
.shower-selected-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.shower-selected-summary h3 {
    margin: 4px 0 8px; font-family: var(--font-heading); color: var(--text-dark);
    font-size: 38px; line-height: 1.05;
}
.shower-selected-summary p { color: var(--text); font-size: 18px; line-height: 1.6; margin: 0 0 8px; }
.shower-best-for strong { color: var(--text-dark); }
.shower-builder-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
    margin-top: 22px;
}
.shower-builder-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    padding: 22px;
}
.shower-builder-card h4 {
    margin: 0 0 10px; font-family: var(--font-heading); font-size: 28px;
    line-height: 1.1; color: var(--text-dark);
}
.shower-builder-card p { color: var(--text); font-size: 17px; line-height: 1.6; }
.shower-measurements {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
    margin-top: 18px;
}
.measurement-help {
    display: block; color: var(--text); font-size: 14px; line-height: 1.4; margin-top: 6px;
}
.quote-form-grid.compact { gap: 16px; }
.shower-accessories { margin-top: 18px; }
.shower-builder-submit {
    display: flex; justify-content: space-between; align-items: center; gap: 18px;
    margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border);
}
.shower-builder-submit div {
    display: grid; gap: 4px; color: var(--text); font-size: 15px; line-height: 1.45;
}
.shower-builder-submit strong { color: var(--text-dark); }

@media (max-width: 1180px) {
    .shower-style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .shower-builder { padding: 22px; }
    .shower-builder-head, .shower-selected-summary { grid-template-columns: 1fr; }
    .shower-style-grid, .shower-builder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .shower-builder { padding: 18px; border-radius: 0; margin-left: -16px; margin-right: -16px; }
    .shower-style-grid, .shower-builder-grid, .shower-measurements { grid-template-columns: 1fr; }
    .shower-step-title-row, .shower-step-complete { grid-template-columns: 1fr; display: grid; }
    .shower-step-title-row .btn { width: 100%; max-width: 260px; }
    .shower-builder-head h2 { font-size: 34px; }
    .shower-builder-step legend, .shower-builder-card h4 { font-size: 27px; }
    .shower-selected-summary h3 { font-size: 30px; }
    .shower-builder-submit { display: grid; }
}
.shower-spec-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
@media (max-width: 767px) {
    .shower-spec-grid { grid-template-columns: 1fr; }
}

/* Screen Builder */
.screen-builder-intro .section-header { margin-bottom: 20px; }
.screen-builder-intro-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 34px; align-items: center; max-width: 1080px; margin: 0 auto;
}
.screen-builder-intro .content-narrow {
    max-width: none; margin: 0; text-align: left;
}
.screen-builder-intro .content-narrow p {
    color: var(--text); font-size: 18px; line-height: 1.7;
}
.screen-builder-intro-logo {
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    padding: 20px; box-shadow: var(--shadow);
}
.screen-builder-intro-logo img { display: block; width: 100%; height: auto; }
.screen-builder-section { background: var(--bg-light); }
.screen-builder-layout {
    display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: 34px; align-items: start;
}
.screen-builder-logo {
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    padding: 22px; box-shadow: var(--shadow); position: sticky; top: 94px;
}
.screen-builder-logo img { width: 100%; height: auto; display: block; }
.screen-builder {
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    box-shadow: var(--shadow); padding: 30px;
}
.screen-builder-head {
    padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.screen-builder-head h2 {
    margin: 4px 0 0; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.05;
    color: var(--text-dark);
}
.screen-builder-head p { margin: 0; color: var(--text); font-size: 18px; line-height: 1.65; }
.screen-builder .eyebrow {
    display: inline-block; color: var(--red); font-weight: 800; text-transform: uppercase;
    letter-spacing: .6px; font-size: 13px;
}
.screen-builder-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    padding: 22px; margin-top: 22px;
}
.screen-builder-card:first-child { margin-top: 0; }
.screen-builder-card legend,
.screen-builder-card h3 {
    margin: 0 0 14px; padding: 0; font-family: var(--font-heading);
    font-size: 30px; line-height: 1.1; color: var(--text-dark); font-weight: 800;
}
.screen-builder-card p { color: var(--text); font-size: 17px; line-height: 1.6; }
.screen-builder-count { border: 1px solid var(--border); }
.screen-builder-tip {
    align-self: end; display: grid; gap: 4px; padding: 14px 16px; border-radius: 8px;
    background: #f7f7f7; color: var(--text); font-size: 16px; line-height: 1.45;
}
.screen-builder-tip strong { color: var(--text-dark); }
.screen-builder-empty {
    display: grid; gap: 4px; margin-top: 18px; padding: 18px; border: 1px dashed var(--border);
    border-radius: 8px; background: #f7f7f7; color: var(--text); font-size: 17px;
}
.screen-builder-empty strong { color: var(--text-dark); font-family: var(--font-heading); font-size: 24px; }
.screen-list { display: grid; gap: 18px; margin-top: 22px; }
.screen-item {
    border: 1px solid var(--border); border-radius: 8px; background: var(--white);
    overflow: hidden;
}
.screen-item-head {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    width: 100%; border: 0; background: #f7f7f7; padding: 16px 18px; cursor: pointer;
    color: var(--text-dark); text-align: left;
}
.screen-item-title {
    display: grid; gap: 3px; font-family: var(--font-heading); font-size: 28px;
    font-weight: 800; line-height: 1.1;
}
.screen-item-summary {
    font-family: var(--font-body); color: var(--text); font-size: 15px; font-weight: 500;
}
.screen-item-toggle {
    color: var(--red); font-family: var(--font-heading); font-weight: 800;
    text-transform: uppercase; font-size: 15px; white-space: nowrap;
}
.screen-item-body { padding: 22px; }
.screen-option-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.screen-option-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.screen-option-card {
    position: relative; display: grid; gap: 8px; min-height: 100%;
    border: 2px solid var(--border); border-radius: 8px; padding: 14px; cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.screen-option-card:hover { border-color: rgba(169,52,38,.5); box-shadow: var(--shadow); transform: translateY(-2px); }
.screen-option-card input { position: absolute; opacity: 0; pointer-events: none; }
.screen-option-card:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 3px rgba(169,52,38,.12); }
.screen-option-image {
    display: block; aspect-ratio: 4 / 3; background: var(--bg-light); border-radius: 6px;
    overflow: hidden;
}
.screen-option-image img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 8px; }
.screen-option-title {
    color: var(--text-dark); font-family: var(--font-heading); font-size: 23px;
    font-weight: 800; line-height: 1.1;
}
.screen-option-copy { color: var(--text); font-size: 15px; line-height: 1.45; }
.screen-item-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.screen-frame-type {
    margin-top: 18px; padding-top: 18px;
}
.screen-item-section h4 {
    margin: 0 0 12px; color: var(--text-dark); font-family: var(--font-heading);
    font-size: 24px; line-height: 1.1;
}
.screen-addon-details { margin-top: 18px; }
.screen-builder-links { margin-bottom: 0; }
.screen-builder-links a { color: var(--red); font-weight: 700; }

@media (max-width: 980px) {
    .screen-builder-intro-grid { grid-template-columns: 1fr; }
    .screen-builder-intro-logo { max-width: 300px; margin: 0 auto; }
    .screen-builder-intro .content-narrow { text-align: center; }
    .screen-builder { padding: 22px; }
    .screen-builder-layout { grid-template-columns: 1fr; }
    .screen-builder-logo { position: static; max-width: 320px; margin: 0 auto; }
    .screen-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .screen-builder { padding: 18px; border-radius: 0; margin-left: -16px; margin-right: -16px; }
    .screen-builder-head h2 { font-size: 34px; }
    .screen-builder-card legend, .screen-builder-card h3 { font-size: 27px; }
    .screen-item-head { display: grid; }
    .screen-option-grid, .screen-option-grid.two { grid-template-columns: 1fr; }
    .screen-item-body { padding: 18px; }
}

/* Air Conditioning Kit Quote */
.ac-quote-section { background: var(--bg-light); }
.ac-quote-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 34px; align-items: start;
}
.ac-quote-form-card,
.ac-quote-image-card,
.ac-support-image {
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    box-shadow: var(--shadow);
}
.ac-quote-form-card { padding: 28px; }
.ac-quote-form-card h2 {
    color: var(--red); font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.05; margin-bottom: 18px;
}
.required-note { color: var(--text); font-size: 16px; margin-bottom: 18px; }
.ac-form-fieldset {
    border: 1px solid var(--border); border-radius: 8px;
    padding: 20px; margin: 0 0 20px;
}
.ac-form-fieldset legend {
    padding: 0 8px; font-family: var(--font-heading); font-size: 27px;
    font-weight: 800; color: var(--text-dark);
}
.ac-form-submit {
    display: flex; justify-content: flex-start; align-items: center;
    padding-top: 4px;
}
.ac-quote-image-card { padding: 16px; }
.ac-quote-image-card img {
    width: 100%; height: auto; border-radius: 6px;
}
.ac-support-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 34px; align-items: start;
}
.ac-support-image { padding: 16px; }
.ac-support-image img { width: 100%; height: auto; border-radius: 6px; }

@media (max-width: 980px) {
    .ac-quote-layout,
    .ac-support-layout { grid-template-columns: 1fr; }
    .ac-quote-image-card,
    .ac-support-image { max-width: 620px; margin: 0 auto; }
}
@media (max-width: 767px) {
    .ac-quote-form-card {
        padding: 20px; border-radius: 0; margin-left: -16px; margin-right: -16px;
    }
    .ac-form-fieldset { padding: 16px; }
    .ac-form-fieldset legend { font-size: 24px; }
    .ac-quote-form-card h2 { font-size: 32px; }
}

/* ==========================================================================
   Salient-07: FEATURE CARDS (4-col, icon circle + heading + paragraph)
   ========================================================================== */
.feature-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
    background: var(--bg-light); border-radius: 6px; padding: 36px 28px;
    text-align: center; transition: all var(--transition);
    border: 1px solid transparent;
}
.feature-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-card .fc-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--red); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 20px;
}
.feature-card h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.feature-card p { font-size: 17px; line-height: 1.7; margin: 0; }

@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Salient-13: Before / After Showcase
   Dark header → tags → description → bridging before/after slider
   ========================================================================== */
.showcase-section {
    position: relative; overflow: visible;
}
.showcase-dark {
    background: var(--text-dark); color: var(--white);
    padding: 56px 0 140px; text-align: center;
}
.showcase-dark h2 { color: var(--white); margin-bottom: 24px; }
.showcase-tags {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 28px;
}
.showcase-tag {
    padding: 8px 22px; border-radius: 50px;
    font-family: var(--font); font-size: 12px; font-weight: 600;
    letter-spacing: .6px; text-transform: uppercase;
    border: none; cursor: default;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.55);
    transition: all var(--transition);
}
.showcase-tag.highlight {
    background: rgba(169,52,38,.2); color: var(--white);
    border: 1px solid rgba(169,52,38,.5);
}
.showcase-dark .divider {
    width: 70%; max-width: 700px; height: 1px;
    background: rgba(255,255,255,.1); margin: 0 auto 28px;
}
.showcase-dark .sc-label {
    display: inline-block; padding: 7px 18px; background: var(--red-cta);
    color: var(--white); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    border-radius: 3px; margin-bottom: 14px;
}
.showcase-dark h3 { color: var(--white); font-size: 26px; margin-bottom: 8px; }
.showcase-dark .sc-desc {
    color: rgba(255,255,255,.75); font-size: 17px;
    max-width: 680px; margin: 0 auto; line-height: 1.7;
}

/* Bridging before/after slider */
.showcase-bridge {
    position: relative; margin-top: -100px; z-index: 2;
    padding-bottom: 60px;
}
.ba-slider {
    max-width: 900px; margin: 0 auto;
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    position: relative; user-select: none;
    line-height: 0;
}
.ba-slider img { width: 100%; display: block; }
.ba-slider .ba-after {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
}
.ba-slider .ba-after img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
}
/* Labels */
.ba-label {
    position: absolute; top: 16px;
    padding: 6px 16px; border-radius: 4px;
    font-family: var(--font); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--white); z-index: 3; pointer-events: none;
}
.ba-label-before { left: 16px; background: rgba(0,0,0,.55); }
.ba-label-after { right: 16px; background: var(--red); }

/* Drag handle */
.ba-handle {
    position: absolute; top: 0; bottom: 0; width: 4px;
    background: var(--white); cursor: ew-resize; z-index: 4;
    left: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
}
.ba-handle::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--white); border: 3px solid var(--red);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a93426' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a93426' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 4px center, 16px center;
}

@media (max-width: 767px) {
    .showcase-dark { padding-bottom: 100px; }
    .showcase-bridge { margin-top: -70px; }
    .ba-handle::after { width: 34px; height: 34px; }
}

/* ==========================================================================
   Salient-14: Sample Gallery
   ========================================================================== */
.filter-bar {
    display: flex; align-items: center; gap: 8px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 32px;
}
.filter-label {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: var(--text-dark); margin-right: 8px;
}
.filter-chip {
    padding: 7px 18px; border-radius: 50px;
    font-family: var(--font); font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .4px;
    border: 1.5px solid var(--border); background: var(--white);
    color: var(--text); cursor: pointer;
    transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--red); color: var(--red); }
.filter-chip.active {
    background: var(--red); color: var(--white); border-color: var(--red);
}

.samples-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.sample-item {
    text-align: center; cursor: pointer;
    transition: all .4s ease;
}
.sample-item.hidden {
    display: none;
}
.sample-item img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 8px; border: 2px solid transparent;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.sample-item:hover img {
    border-color: var(--red); transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(169,52,38,.15);
}
.sample-item span {
    display: block; margin-top: 10px; font-size: 14px; font-weight: 600;
    color: var(--text-dark);
}
.sample-item .sample-cat {
    font-size: 11px; color: var(--text-light); font-weight: 500;
    text-transform: uppercase; letter-spacing: .3px; margin-top: 2px;
}
.samples-empty {
    grid-column: 1 / -1; text-align: center; padding: 40px;
    color: var(--text-light); font-size: 16px;
}

/* ==========================================================================
   Salient-11: REVIEWS SHOWCASE
   ========================================================================== */
.reviews-section {
    background: var(--text-dark); padding: 72px 0; overflow: hidden;
}
.reviews-section .section-header h2 { color: var(--white); }
.reviews-section .section-header p { color: rgba(255,255,255,.6); }
.reviews-section .line { background: var(--red); }

/* 3-card grid: 1 large left, 2 small stacked right */
.reviews-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-top: 40px;
}
.review-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px; padding: 32px;
    transition: all var(--transition);
    display: flex; flex-direction: column;
}
.review-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(169,52,38,.4);
}

/* Large card spans both rows on the left */
.review-card.featured {
    grid-row: 1 / 3; position: relative;
}
.review-card.featured blockquote::before {
    content: '\201c'; font-size: 72px; font-family: var(--font-serif);
    color: var(--red); opacity: .35; line-height: 1;
    position: absolute; top: 20px; right: 28px;
}
.review-card .rc-stars { color: #f5a623; font-size: 14px; letter-spacing: 1px; margin-bottom: 16px; }
.review-card.featured .rc-stars { font-size: 18px; margin-bottom: 20px; }
.review-card blockquote {
    font-family: var(--font-serif); font-style: italic;
    font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.75);
    margin-bottom: 20px; flex: 1;
}
.review-card.featured blockquote {
    font-size: clamp(17px, 2vw, 20px); line-height: 1.75;
    color: rgba(255,255,255,.85);
}
.review-card .rc-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px;
    margin-top: auto;
}
.review-card .rc-author { font-size: 13px; font-weight: 700; color: var(--white); }
.review-card.featured .rc-author { font-size: 15px; }
.review-card .rc-source {
    font-size: 11px; color: rgba(255,255,255,.35);
    text-transform: uppercase; letter-spacing: .5px;
}
.review-card .rc-source i { margin-right: 3px; }

.reviews-cta {
    text-align: center; margin-top: 32px;
}
.reviews-cta a {
    display: inline-block; font-size: 14px; font-weight: 600;
    color: var(--white); text-decoration: none;
    letter-spacing: .3px; transition: color var(--transition);
}
.reviews-cta a:hover { color: var(--red); }
.reviews-cta a i { margin-right: 6px; }

@media (max-width: 767px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card.featured { grid-row: auto; }
    .review-card { padding: 24px; }
}

@media (max-width: 980px) { .samples-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .samples-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 480px) { .samples-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Salient-15: Mini Tabs
   ========================================================================== */
.mini-tabs-wrap {
    display: flex; gap: 0; background: var(--white);
    border-radius: 8px; overflow: hidden; box-shadow: var(--shadow);
}
.mini-tabs-content { flex: 1; }
.mini-tabs-nav {
    display: flex; border-bottom: 2px solid var(--border);
}
.mini-tab-btn {
    flex: 1; padding: 16px 24px; background: var(--bg-light);
    border: none; font-family: var(--font); font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .6px; cursor: pointer;
    color: var(--text-dark); transition: all var(--transition);
    border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.mini-tab-btn.active {
    background: var(--red); color: var(--white); border-bottom-color: var(--red-dark);
}
.mini-tab-btn:hover:not(.active) { background: var(--border); }
.mini-tab-panel { display: none; padding: 28px 32px; }
.mini-tab-panel.active { display: block; }
.mini-tab-panel ul { margin: 0; padding: 0; list-style: none; }
.mini-tab-panel li {
    padding: 8px 0 8px 20px; position: relative; font-size: 15px;
    font-weight: 500; color: var(--text-dark);
}
.mini-tab-panel li::before {
    content: '•'; color: var(--red); position: absolute; left: 0; font-weight: bold;
}
.mini-tabs-img {
    flex: 0 0 45%; overflow: hidden;
}
.mini-tabs-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
    .mini-tabs-wrap { flex-direction: column; }
    .mini-tab-btn { padding: 14px 18px; }
    .mini-tab-panel { padding: 22px 24px; }
    .mini-tabs-img { min-height: 250px; }
}

/* ==========================================================================
   Salient-16: Portfolio Gallery
   ========================================================================== */
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-item {
    position: relative; overflow: hidden; border-radius: 6px;
    cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: '\f065'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(169,52,38,.0); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; opacity: 0; transition: all .3s ease;
}
.gallery-item:hover::after {
    background: rgba(169,52,38,.45); opacity: 1;
}
.gallery-item .gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: var(--white); padding: 24px 16px 12px; font-size: 13px; font-weight: 600;
    transform: translateY(100%); transition: transform .3s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.content-narrow {
    max-width: 920px;
}
.content-narrow ul {
    margin: 20px 0 0;
    padding-left: 22px;
}
.content-narrow li {
    margin-bottom: 8px;
    line-height: 1.65;
}

/* ==========================================================================
   Cabinet Glass Pattern Cards
   ========================================================================== */
.pattern-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.pattern-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pattern-card:hover {
    transform: translateY(-3px);
    border-color: rgba(169,52,38,.35);
    box-shadow: var(--shadow);
}
.pattern-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--bg-light);
}
.pattern-card span {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 12px 14px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 3px 14px rgba(0,0,0,.05);
}
.faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    color: var(--text-dark);
    font-weight: 700;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\f078';
    float: right;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--red);
    transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p {
    padding: 0 22px 20px;
    margin: 0;
}
@media (max-width: 980px) { .pattern-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .pattern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pattern-card span { min-height: 48px; padding: 10px 12px; font-size: 14px; }
    .faq-item summary { padding: 16px 18px; }
    .faq-item p { padding: 0 18px 18px; }
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.catalog-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    color: var(--text-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}
.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--red);
}
.catalog-card-img {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--bg-light);
}
.catalog-card-img img,
.catalog-main-img,
.catalog-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.catalog-card-title {
    display: block;
    padding: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.catalog-title-band {
    background: #222;
    color: var(--white);
    padding: 58px 0 52px;
}
.catalog-title-band h1 {
    color: var(--white);
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
}
.catalog-title-band p {
    color: rgba(255,255,255,.82);
    margin: 10px 0 0;
    font-size: 18px;
}
.catalog-product {
    display: grid;
    grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.catalog-product-media {
    display: grid;
    gap: 14px;
}
.catalog-main-img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-light);
}
.catalog-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.catalog-thumbs img {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-light);
}
.catalog-product-copy h1,
.catalog-product-copy h2 { margin-bottom: 18px; }
.catalog-product-copy h3,
.catalog-description h2,
.catalog-description h3,
.catalog-description h4 {
    margin: 18px 0 10px;
}
.catalog-meta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 15px;
}
.catalog-description ul { margin: 18px 0 0 22px; }
@media (max-width: 980px) {
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-product { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .catalog-grid { grid-template-columns: 1fr; }
}

/* Lightbox overlay */
.lightbox {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.92); z-index: 9999;
    align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 90vw; max-height: 85vh; border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.lightbox-close {
    position: absolute; top: 20px; right: 28px;
    background: none; border: none; color: var(--white);
    font-size: 32px; cursor: pointer; opacity: .7; transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-caption {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    color: var(--white); font-size: 16px; font-weight: 600; text-align: center;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15); border: none; color: var(--white);
    width: 48px; height: 48px; border-radius: 50%; font-size: 20px;
    cursor: pointer; transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==========================================================================
   Salient-04: ICON CARDS (flexible grid — 2/3/4/5 col, optional title/footer)
   ========================================================================== */
/* Grid — default 3 columns */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.icon-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.icon-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.icon-cards.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Individual card */
.icon-card {
    background: var(--bg-light); border-radius: 10px; padding: 36px 32px;
    border: 1px solid #e0dcd8;
}
.icon-card-icon {
    width: 42px; height: 42px; border-radius: 50%; background: var(--red);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 18px; margin-bottom: 16px;
}
.icon-card h3 { font-size: 22px; margin-bottom: 12px; }
.icon-card p { font-size: 18px; line-height: 1.75; margin-bottom: 12px; color: #2a2a2a; }
.icon-card ul { padding-left: 20px; margin-bottom: 16px; }
.icon-card ul li { font-size: 17px; line-height: 1.8; color: #2a2a2a; }

/* Optional CTA inside a card */
.icon-card-cta { font-weight: 700; color: var(--red); font-size: 17px; }
.icon-card-cta a { color: var(--red); text-decoration: none; }
.icon-card-cta a:hover { text-decoration: underline; }

/* Optional footer below the grid */
.icon-cards-footer { text-align: center; margin-top: 32px; }
.icon-cards-footer p { font-size: 18px; color: #2a2a2a; margin-bottom: 4px; }
.icon-cards-footer strong { font-weight: 700; }
.icon-cards-footer a { color: var(--red); font-weight: 700; text-decoration: none; }
.icon-cards-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
    .icon-cards.cols-4, .icon-cards.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .icon-cards, .icon-cards.cols-2, .icon-cards.cols-4, .icon-cards.cols-5 { grid-template-columns: 1fr; }
    .icon-card { padding: 28px 24px; }
    .icon-card p { font-size: 17px; line-height: 1.65; }
}

/* --- Salient-01 media: video embed ------------------------------------ */
.split-video {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: 6px; background: #000;
}
.split-video iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* ==========================================================================
   Salient-06: COMPARE CARDS (3-col, image + heading + list)
   ========================================================================== */
.compare-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.compare-card {
    background: var(--white); border-radius: 10px; overflow: hidden;
    border: 1px solid #e0dcd8; display: flex; flex-direction: column;
}
.compare-card-img { overflow: hidden; }
.compare-card-img img { width: 100%; height: 220px; object-fit: cover; display: block; }
.compare-card-body { padding: 24px 20px; flex: 1; }
.compare-card-body h3 { font-size: 20px; margin-bottom: 12px; }
.compare-card-body ul { padding-left: 20px; }
.compare-card-body ul li { font-size: 17px; line-height: 1.9; color: #2a2a2a; }
.compare-card-extra { padding: 0 20px 20px; }
.compare-card-extra img { max-height: 60px; width: auto; }
@media (max-width: 900px) { .compare-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Salient-08: CONTACT + MAP (2-col info card + map embed)
   ========================================================================== */
.contact-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card {
    background: var(--white); border-radius: 10px; padding: 36px 32px;
    border: 1px solid #e0dcd8;
}
.contact-card-icon { color: var(--red); font-size: 32px; margin-bottom: 12px; }
.contact-card h3 { font-size: 26px; margin-bottom: 16px; }
.contact-card h4 { color: var(--red); font-family: var(--font-serif); font-style: italic; font-size: 17px; margin: 20px 0 8px; }
.contact-card ul { padding-left: 20px; }
.contact-card ul li { font-size: 18px; line-height: 1.8; color: #2a2a2a; }
.contact-card ul a { color: var(--red); text-decoration: none; font-weight: 600; }
.contact-card ul a:hover { text-decoration: underline; }
.map-card {
    background: var(--white); border-radius: 10px; overflow: hidden;
    border: 1px solid #e0dcd8; display: flex; flex-direction: column;
}
.map-card h3 { font-size: 26px; text-align: center; padding: 24px 20px 0; }
.map-card iframe { flex: 1; min-height: 350px; width: 100%; border: 0; }
@media (max-width: 767px) { .contact-split { grid-template-columns: 1fr; } }

/* ==========================================================================
   Salient-09: TEAM GRID (photo cards, max 6/row, rows auto-wrap)
   Use: .team-grid              → 6 per row (default)
        .team-grid.cols-5       → 5 per row
        .team-grid.cols-4       → 4 per row
        .team-grid.cols-3       → 3 per row
   ========================================================================== */
.team-section h3 {
    color: var(--red); font-family: var(--font-serif); font-style: italic;
    font-size: 22px; margin: 32px 0 16px;
}
.team-section h3:first-child { margin-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.team-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.team-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.team-card {
    border-radius: 8px; overflow: hidden; border: 2px solid #ddd;
    background: var(--white); position: relative;
}
.team-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.team-card-info {
    background: var(--red); padding: 14px 16px; color: var(--white);
}
.team-card-info .team-name { font-weight: 700; font-size: 17px; display: block; }
.team-card-info .team-role { font-size: 15px; display: block; }
.team-card-info .team-ext { font-size: 14px; font-weight: 700; margin-top: 4px; display: block; }
@media (max-width: 980px) {
    .team-grid, .team-grid.cols-5, .team-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    .team-grid, .team-grid.cols-5, .team-grid.cols-4, .team-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Legacy WordPress page conversions
   ========================================================================== */
.legacy-page {
    max-width: 980px;
}
.legacy-page .section-header {
    text-align: left;
    margin: 36px 0 18px;
}
.legacy-page .section-header:first-child {
    margin-top: 0;
}
.legacy-page .section-header .line {
    margin-left: 0;
}
.legacy-page h3 {
    font-family: var(--font-condensed);
    font-size: 26px;
    line-height: 1.2;
    margin: 30px 0 12px;
    color: var(--dark);
}
.legacy-page p,
.legacy-page li {
    font-size: 17px;
    line-height: 1.7;
    color: #2a2a2a;
}
.legacy-page p {
    margin: 0 0 18px;
}
.legacy-page a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}
.legacy-page a:hover {
    text-decoration: underline;
}
.legacy-list {
    padding-left: 24px;
    margin: 0 0 24px;
}
.legacy-list li + li {
    margin-top: 8px;
}
.legacy-image {
    margin: 30px 0;
}
.legacy-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.legacy-link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.legacy-link-grid a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid #e0dcd8;
    border-radius: 6px;
    color: var(--dark);
    font-family: var(--font-condensed);
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
}
.legacy-link-grid a:hover {
    border-color: var(--red);
    color: var(--red);
}
@media (max-width: 900px) {
    .legacy-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .legacy-page h3 {
        font-size: 23px;
    }
    .legacy-link-grid {
        grid-template-columns: 1fr;
    }
}
