:root {
    /* ===== Green Heritage design system — Micron Windows ===== */
    --green: #1E4636;
    --green-deep: #16352A;
    --green-darkest: #122B22;
    --green-mid: #2A5A46;
    --gold: #B9975B;
    --gold-light: #D8C08A;
    --gold-dark: #A3814A;
    --gold-line: rgba(185, 151, 91, 0.4);
    --chalk: #F8F6F1;
    --display: 'Marcellus', 'Times New Roman', serif;
    --body: 'Inter', sans-serif;

    /* Neutrals & shared tokens */
    --white: #ffffff;
    --black: #22302A;
    --muted: #5E6B64;
    --bg: var(--chalk);
    --card-shadow: 0 4px 24px rgba(18, 43, 34, 0.08);
    --border: #E5E1D6;
    --avail-green: #22c55e;
    --avail-green-bg: #f0fdf4;
    --unavail-red: #ef4444;
    --unavail-red-bg: #fef2f2;
    --sidebar-w: 290px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    max-width: 100vw;
    overflow-x: clip;
}

body {
    font-family: var(--body);
    color: var(--black);
    line-height: 1.6;
    background: var(--bg);
}

/* ===================================================
           SPLASH SCREEN
        =================================================== */
#splash-screen {
    display: none !important;
}

/* ===================================================
           APP SHELL
        =================================================== */
.app-shell {
    min-height: 100vh;
}

/* ===================================================
           MOBILE TOP NAV
        =================================================== */
.mobile-nav {
    background: var(--white);
    border-bottom: 3px solid var(--green);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 13px 16px;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--black);
    margin-right: auto;
}

.logo-main {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--green);
}

.logo-box {
    color: var(--gold);
}

.logo-tagline {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--muted);
    margin-top: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    color: var(--green);
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.header-btn.phone-icon {
    background: var(--gold);
    color: white;
}

/* ===================================================
           DESKTOP LAYOUT WRAPPER
        =================================================== */
.desktop-wrapper {
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 44px);
}

/* ===================================================
           DESKTOP SIDEBAR
        =================================================== */
.desktop-sidebar {
    display: none;
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: var(--white);
    border-right: 1px solid var(--border);
    position: sticky;
    top: 44px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    overflow-x: hidden !important;
    flex-direction: column;
    padding: 20px 20px;
    z-index: 100;
    scrollbar-width: thin;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        border-color 0.25s ease;
}

/* ===================================================
   INNOVATIVE DESKTOP SIDEBAR COLLAPSE CONTROL
=================================================== */
@media (min-width: 1024px) {
    body.desktop-sidebar-collapsed .desktop-sidebar {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
        border: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    /* Edge toggle button on desktop sidebar - Vertically Centered on Right Border */
    .sidebar-edge-toggle {
        position: fixed;
        left: calc(var(--sidebar-w) - 16px);
        top: 50%;
        transform: translateY(-50%);
        z-index: 99999;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid rgba(203, 213, 225, 0.9);
        box-shadow: 0 4px 14px rgba(18, 43, 34, 0.2), 0 2px 4px rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #122b22;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
            background 0.25s ease,
            color 0.25s ease,
            border-radius 0.25s ease,
            width 0.25s ease,
            height 0.25s ease,
            box-shadow 0.25s ease;
        outline: none;
        padding: 0;
    }

    .sidebar-edge-toggle:hover {
        transform: translateY(-50%) scale(1.15);
        background: #122b22;
        color: #ffffff;
        border-color: #122b22;
        box-shadow: 0 6px 20px rgba(18, 43, 34, 0.4);
    }

    .sidebar-edge-toggle .toggle-chevron {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    /* When Collapsed: Dock Handle to Left Edge at Vertical Middle */
    body.desktop-sidebar-collapsed .sidebar-edge-toggle {
        position: fixed;
        left: 0 !important;
        right: auto !important;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 48px;
        border-radius: 0 12px 12px 0;
        background: #122b22;
        color: #ffffff;
        border: 1px solid #122b22;
        border-left: none;
        box-shadow: 4px 0 18px rgba(18, 43, 34, 0.35);
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    body.desktop-sidebar-collapsed .sidebar-edge-toggle:hover {
        transform: translateY(-50%) scale(1.1);
        background: #B9975B;
        border-color: #B9975B;
        box-shadow: 6px 0 22px rgba(185, 151, 91, 0.45);
    }

    body.desktop-sidebar-collapsed .sidebar-edge-toggle .toggle-chevron {
        transform: rotate(180deg);
    }

    /* Tooltip on hover */
    .sidebar-edge-toggle .toggle-tooltip {
        position: absolute;
        left: 40px;
        top: 50%;
        transform: translateY(-50%) scale(0.9);
        background: #0f172a;
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 8px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s ease;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    }

    .sidebar-edge-toggle:hover .toggle-tooltip {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.desktop-sidebar::-webkit-scrollbar {
    width: 6px;
}

.desktop-sidebar::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 10px;
}

.sidebar-logo {
    margin-bottom: 16px;
}

.sidebar-logo .logo-main {
    font-size: 1.2rem;
}

.sidebar-logo .logo-tagline {
    font-size: 0.62rem;
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 7px;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.sidebar-nav li a:hover {
    background: var(--bg);
    color: var(--green);
    border-left-color: var(--green);
}

.sidebar-nav li a.active {
    background: rgba(18, 43, 34, 0.07);
    color: var(--green);
    border-left-color: var(--green);
    font-weight: 700;
}

.sidebar-nav li a i {
    width: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.nav-badge {
    background: var(--gold);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 900;
    margin-left: auto;
}

.sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-bottom: 16px;
}

.sidebar-cta a,
.sidebar-cta button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.sidebar-cta .cta-primary {
    background: var(--green);
    color: white;
    border-bottom: 3px solid var(--green-deep);
}

.sidebar-cta .cta-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--border);
}

.sidebar-cta .cta-secondary:hover {
    border-color: var(--green);
    color: var(--green);
}

.sidebar-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding-bottom: 0;
}

.sidebar-trust .rating {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--black);
    line-height: 1;
}

.sidebar-trust .stars {
    color: #eab308;
    font-size: 0.8rem;
    margin: 4px 0;
}

.sidebar-trust .review-count {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 16px;
}

.sidebar-trust-logo {
    width: 100%;
    max-width: 160px;
    max-height: 170px;
    height: auto;
    object-fit: contain;
    margin: 12px auto 0 auto;
    display: block;
}

/* ===================================================
           MAIN CONTENT AREA
        =================================================== */
.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ===================================================
           DESKTOP TOP BAR
        =================================================== */
.desktop-topbar {
    display: none;
    background: var(--green);
    height: 44px;
    padding: 0 40px 0 24px;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 200;
    margin-bottom: -1px;
}

.topbar-left-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-home-brand {
    display: none;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.topbar-home-brand:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.03);
}

.topbar-brand-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.topbar-brand-name {
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    white-space: nowrap;
}

.topbar-brand-name .brand-gold {
    color: #B9975B;
}

/* Display Home Brand in Topbar when Desktop Sidebar is Collapsed */
body.desktop-sidebar-collapsed .topbar-home-brand {
    display: inline-flex;
    animation: fadeInBrand 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeInBrand {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.topbar-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-link:hover {
    color: white;
}

/* ===================================================
           HERO CAROUSEL
        =================================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #0f172a;
}

.swiper-stage {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    padding: 30px 24px;
    position: relative;
}

.slide-bg-1 {
    background: linear-gradient(to top, rgba(18, 43, 34, 0.7) 20%, rgba(0, 0, 0, 0.05)), url('../images/css_homepage-flush-casement-1920w-1.webp') center/cover;
}

.slide-bg-2 {
    background: linear-gradient(to top, rgba(18, 43, 34, 0.7) 20%, rgba(0, 0, 0, 0.05)), url('../images/css_dsc00342-1920w.jpg') center/cover;
}

.slide-bg-3 {
    background: linear-gradient(to top, rgba(18, 43, 34, 0.7) 20%, rgba(0, 0, 0, 0.05)), url('../images/css_whatsappimage2021-08-04at09.57.31-1920w-1.jpeg') center/cover;
}

.hero-content {
    color: white;
    width: 100%;
    z-index: 5;
}

.hero-content h1 {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    font-weight: 500;
    display: none;
}

.hero-cta-row {
    display: none;
    margin-top: 16px;
    gap: 10px;
}

.hero-cta-btn {
    height: 44px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.hero-cta-primary {
    background: var(--gold);
    color: white;
    border-bottom: 3px solid var(--gold-dark);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.installation-badge {
    position: absolute;
    top: 18px;
    left: 20px;
    background: var(--gold);
    color: white;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 15;
}

.carousel-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    gap: 6px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot.active {
    background: white;
    width: 16px;
    border-radius: 4px;
}

/* ===================================================
           TRUST BAR
        =================================================== */
.trust-bar {
    display: none;
    background: var(--green);
    padding: 20px 40px;
    gap: 0;
}

.trust-item {
    flex: 1;
    text-align: center;
    color: white;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item .trust-num {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.trust-item .trust-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    margin-top: 4px;
    font-weight: 600;
}

/* ===================================================
           APP BODY & GRIDS
        =================================================== */
.app-body {
    padding: 20px 16px;
}

.section-header {
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green);
}

.swipeable-tags {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scrollbar-width: none;
}

.swipeable-tags::-webkit-scrollbar {
    display: none;
}

.filter-tag {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--black);
    border-bottom: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-tag.active {
    background: var(--green);
    color: white;
    border-color: var(--green);
    border-bottom: 2px solid var(--green-deep);
}

/* PRODUCT CARDS */
.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-graphic {
    height: 160px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border);
}

.img-windows {
    background-image: url('../images/css_homepage-flush-casement-1920w-1.webp');
}

.img-doors {
    background-image: url('../images/css_dsc-4007-copy.jpg');
}

.img-conservatories {
    background-image: url('../images/css_skypod_square_acute_0011jpg-800h.webp');
}

.img-warm-roofs {
    background-image: url('../images/warm-roof-tiled.jpg');
}

.img-bifold {
    background-image: url('../images/css_bifold-41ee53a9-2880w-e1779281099517.webp');
}

.img-kubu {
    background-image: url('../images/css_photo-1558002038-1055907df827');
}

.img-outdoor {
    background-image: url('../images/css_outdoor-living.jpg');
}

.img-cladding {
    background-image: url('../images/css_hardie_plank_cobble_stone_lifestyle_2_1051x700.jpg');
}

.card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 4px;
}

.card-body p {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 16px;
    flex: 1;
}

.card-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.lnk-more-info {
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-examples {
    background: var(--white);
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-examples:hover {
    background: var(--gold);
    color: white;
}

.see-all-card {
    background: transparent;
    border: 2px dashed var(--muted) !important;
    box-shadow: none !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: default;
}

.see-all-card .card-body {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.see-all-card i {
    font-size: 2.2rem;
    color: var(--green);
    margin-bottom: 12px;
}

.see-all-card h3 {
    margin: 0;
    line-height: 1.3;
}

/* TEAM / SALES REP CARDS */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-card-inner {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Retired team member card: whole box greyscaled, compact notice only */
.team-card.retired .team-card-inner {
    filter: grayscale(100%);
    opacity: 0.75;
}

.team-retired-notice {
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--muted);
    margin-top: 10px;
}

.team-retired-notice a {
    color: var(--black);
    font-weight: 700;
    text-decoration: underline;
}

.team-header {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    align-items: center;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.team-info h3 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--green);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 4px;
}

.team-info .role {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}

.team-stars {
    color: #eab308;
    font-size: 0.78rem;
    margin-top: 3px;
}

.team-bio {
    font-size: 0.83rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 16px;
    flex: 1;
}

.team-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.avail-dot.green {
    background: var(--avail-green);
}

.avail-dot.amber {
    background: #f59e0b;
}

.avail-dot.grey {
    background: var(--muted);
}

.btn-book-rep {
    width: 100%;
    height: 42px;
    background: var(--green);
    color: white;
    border: none;
    border-bottom: 3px solid var(--green-deep);
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    margin-top: auto;
}

.btn-book-rep:hover:not(:disabled) {
    background: var(--green-deep);
}

.btn-book-rep:disabled {
    background: var(--border);
    color: var(--muted);
    border-bottom-color: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

/* REVIEWS */
.reviews-block {
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, rgba(18, 43, 34, 0.97) 40%, rgba(18, 43, 34, 0.85)), url('../images/css_dsc00394-1920w.webp') no-repeat center/cover;
    border-left: 5px solid var(--gold);
}

.reviews-block h3 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    margin-bottom: 14px;
}

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

.review-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    color: #eab308;
    /* Darker gold for WCAG contrast */
    margin-bottom: 4px;
}

.review-item p {
    color: #f1f5f9;
    font-size: 0.83rem;
    line-height: 1.4;
}

.reviews-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.more-reviews-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 11px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.2s;
}

.more-reviews-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-checkatrade {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
}

.btn-checkatrade:hover {
    background: rgba(34, 197, 94, 0.25);
}

/* ACCREDITATIONS & FOOTER */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.brand-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:nth-child(odd):hover {
    transform: translateY(-3px);
    border-color: var(--blue, #0f4c81);
    box-shadow: 0 8px 20px -4px rgba(15, 76, 129, 0.2);
}

.brand-card:nth-child(odd):hover i.fa-solid,
.brand-card:nth-child(odd):hover .brand-info-icon {
    color: var(--blue, #0f4c81);
    opacity: 1;
}

.brand-card:nth-child(even):hover {
    transform: translateY(-3px);
    border-color: var(--blue, #0f4c81);
    box-shadow: 0 8px 20px -4px rgba(15, 76, 129, 0.2);
}

.brand-card:nth-child(even):hover i.fa-solid,
.brand-card:nth-child(even):hover .brand-info-icon {
    color: var(--blue, #0f4c81);
    opacity: 1;
}

.brand-card i {
    color: var(--gold);
    font-size: 1.15rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Info Pop-up Modals */
.info-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 41, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.info-modal-overlay[hidden] {
    display: none;
    opacity: 0;
}

.info-modal {
    background: #ffffff;
    border-radius: 22px;
    max-width: 640px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 34px 30px 28px;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(10, 25, 41, 0.35), 0 0 0 1px rgba(15, 76, 129, 0.08);
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.info-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.info-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-header-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.modal-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 8px 16px -4px rgba(15, 76, 129, 0.12);
}

.badge-blue {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(15, 76, 129, 0.18));
    color: var(--blue, #0f4c81);
    border: 1px solid rgba(15, 76, 129, 0.25);
}

.badge-emerald {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
    border: 1px solid #a7f3d0;
}

.badge-indigo {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(15, 76, 129, 0.18));
    color: var(--blue, #0f4c81);
    border: 1px solid rgba(15, 76, 129, 0.25);
}

.badge-red {
    background: linear-gradient(135deg, rgba(217, 56, 58, 0.08), rgba(217, 56, 58, 0.18));
    color: var(--red, #d9383a);
    border: 1px solid rgba(217, 56, 58, 0.25);
}

.badge-purple {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.modal-header-meta {
    flex: 1;
    padding-right: 28px;
}

.modal-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.tag-blue {
    background: rgba(15, 76, 129, 0.1);
    color: var(--blue, #0f4c81);
}

.tag-emerald {
    background: #ecfdf5;
    color: #059669;
}

.tag-indigo {
    background: rgba(15, 76, 129, 0.1);
    color: var(--blue, #0f4c81);
}

.tag-red {
    background: rgba(217, 56, 58, 0.1);
    color: var(--red, #d9383a);
}

.tag-purple {
    background: #faf5ff;
    color: #7e22ce;
}

.info-modal h3 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

.modal-verification-strip {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-verification-strip i {
    color: #16a34a;
}

.info-modal p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 12px;
}

.info-modal a {
    color: var(--blue, #0f4c81);
    font-weight: 600;
    text-decoration: underline;
}

.info-modal a:hover {
    color: var(--blue-dark, #0a3356);
}

.modal-highlights-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    margin: 16px 0;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

@media (min-width: 480px) {
    .modal-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.modal-highlight-item {
    font-size: 0.76rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-highlight-item i {
    color: #16a34a;
}

.modal-actions-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.modal-action-btn {
    flex: 1;
    min-width: 130px;
    height: 42px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.83rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1.5px solid transparent;
}

.modal-action-btn.btn-primary {
    background: var(--blue, #0f4c81);
    color: #fff;
    border-color: var(--blue, #0f4c81);
}

.modal-action-btn.btn-primary:hover {
    background: var(--blue-dark, #0a3356);
    border-color: var(--gold, #d9aa55);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
}

.modal-action-btn.btn-emerald {
    background: #059669;
    color: #fff;
    border-color: #059669;
}

.modal-action-btn.btn-emerald:hover {
    background: #047857;
    border-color: var(--blue, #0f4c81);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
}

.modal-action-btn.btn-indigo {
    background: var(--blue, #0f4c81);
    color: #fff;
    border-color: var(--blue, #0f4c81);
}

.modal-action-btn.btn-indigo:hover {
    background: var(--blue-dark, #0a3356);
    border-color: var(--gold, #d9aa55);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
}

.modal-action-btn.btn-red {
    background: var(--blue, #0f4c81);
    color: #fff;
    border-color: var(--blue, #0f4c81);
}

.modal-action-btn.btn-red:hover {
    background: var(--blue-dark, #0a3356);
    border-color: var(--gold, #d9aa55);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
}

.modal-action-btn.btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.modal-action-btn.btn-secondary:hover {
    background: #ffffff;
    border-color: var(--blue, #0f4c81);
    color: var(--blue, #0f4c81);
    transform: translateY(-1px);
}

.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 36px 20px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.footer-meta {
    font-size: 0.73rem;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    width: 100%;
}

.footer-meta a {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.footer-credit {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-weight: 700;
    color: var(--green);
}

/* BOTTOM ACTION BAR (mobile only) */
.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 10px 16px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    z-index: 2000;
}

.action-btn {
    height: 46px;
    border-radius: 6px;
    border: none;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-family: inherit;
}

.btn-enquire {
    background: var(--green);
    color: white;
    border-bottom: 3px solid var(--green-deep);
}

.btn-ai {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--border);
}

.btn-ai:hover {
    border-color: var(--green);
    color: var(--green);
}

body {
    padding-bottom: 90px;
}

/* ===================================================
           DRAWER (mobile)
        =================================================== */
.nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    box-sizing: border-box;
    background: var(--white);
    z-index: 3000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 20px 20px calc(16px + env(safe-area-inset-bottom, 0px)) 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.drawer-header h3 {
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--green);
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    margin-bottom: 12px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.drawer-links::-webkit-scrollbar {
    display: none;
}

.drawer-links li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 12px;
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
}

.drawer-links li a i {
    width: 20px;
    color: var(--muted);
}

.drawer-logo-container {
    flex-shrink: 0;
    margin-top: auto;
    padding: 20px 20px;
    text-align: center;
    background: var(--green-deep);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(18, 43, 34, 0.15);
    width: 100%;
    box-sizing: border-box;
}

.drawer-logo-container img {
    width: 100%;
    max-width: 280px;
    max-height: 170px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ===================================================
           SHEETS & FORMS
        =================================================== */
.app-sheet {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 540px;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.15);
    z-index: 4000;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px;
    border-top: 4px solid var(--green);
}

.app-sheet.active {
    bottom: 0;
}

.app-sheet.tall-sheet {
    height: 88vh;
    overflow-y: auto;
    padding-bottom: 40px;
}

.sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2500;
    display: none;
    backdrop-filter: blur(4px);
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.sheet-header h3 {
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--green);
}

.close-sheet-btn {
    background: #f1f5f9;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--black);
    cursor: pointer;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--muted);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 11px 14px;
    font-size: 0.88rem;
    color: var(--black);
    font-family: inherit;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

/* AI CHAT CORE CLASSES */
.ai-gate-notice {
    font-size: 0.8rem;
    color: #475569;
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--green);
    margin-bottom: 16px;
    line-height: 1.4;
}

.ai-info-reveal {
    display: none;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--muted);
    background: #e0f2fe;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #bae6fd;
    line-height: 1.4;
}

.ai-active-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
}

.chat-history {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 12px;
    max-height: 350px;
    scrollbar-width: none;
}

.chat-history::-webkit-scrollbar {
    display: none;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
}

.chat-user {
    background: var(--green);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-bot {
    background: #f1f5f9;
    color: var(--black);
    border: 1px solid var(--border);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

/* Other Sheet Styles */
.booking-rep-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(18, 43, 34, 0.06);
    border: 1px solid rgba(18, 43, 34, 0.15);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
}

.booking-rep-banner img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.booking-rep-banner .rep-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.booking-rep-info h4 {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--green);
    text-transform: uppercase;
}

.booking-rep-info .rep-desc {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
    margin-top: 2px;
}

.booking-rep-info .rep-avail {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--avail-green);
    text-transform: uppercase;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.booking-rep-info .rep-avail::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--avail-green);
}

.date-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: none;
}

.date-scroll::-webkit-scrollbar {
    display: none;
}

.picker-slot {
    flex-shrink: 0;
    border: 2px solid var(--border);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    background: var(--white);
}

.picker-slot.slot-available {
    border-color: var(--avail-green);
    color: var(--avail-green);
    background: var(--avail-green-bg);
}

.picker-slot.slot-unavailable {
    border-color: var(--unavail-red);
    color: var(--unavail-red);
    background: var(--unavail-red-bg);
    text-decoration: line-through;
    opacity: 0.6;
    cursor: not-allowed;
}

.picker-slot.slot-selected {
    background: var(--avail-green);
    color: white;
    border-color: var(--avail-green);
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

/* ===================================================
           AI VISUALISER SPECIFIC CSS
        =================================================== */
.sticky-warning {
    position: sticky;
    top: -24px;
    background: #fffbeb;
    color: #b45309;
    padding: 8px 12px 8px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    z-index: 10;
    border: 1px solid #fde68a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.warning-text-wrapper {
    flex: 1;
    text-align: left;
}

.warning-close-btn {
    background: rgba(180, 83, 9, 0.1) !important;
    color: #b45309 !important;
    border: none !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background 0.2s !important;
    margin: 0 !important;
}

.warning-close-btn:hover {
    background: rgba(180, 83, 9, 0.2) !important;
}

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.before-image {
    width: 50%;
    border-right: 3px solid white;
    z-index: 2;
}

.slider-ctrl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    appearance: none;
    background: transparent;
    cursor: ew-resize;
    z-index: 10;
}

.slider-ctrl::-webkit-slider-thumb {
    appearance: none;
    width: 40px;
    height: 40px;
}

.slider-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-weight: bold;
}

.notes-box {
    margin-top: 16px;
    padding: 15px;
    background: var(--bg);
    border-radius: 8px;
    font-size: 0.85rem;
    border-left: 4px solid var(--green);
    line-height: 1.5;
}

#vis-loading {
    display: none;
    text-align: center;
    margin: 30px 0;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.history-item {
    animation: fadeIn 0.4s ease;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.history-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ===================================================
           DESKTOP OVERRIDES (≥900px)
        =================================================== */
@media (min-width: 900px) {
    body {
        padding-bottom: 0 !important;
    }

    /* body.mobile-mode { padding-bottom: 0 !important; } */
    .mobile-nav {
        display: none !important;
    }

    .desktop-sidebar {
        display: flex;
    }

    .desktop-topbar {
        display: flex;
    }

    .bottom-action-bar {
        display: none !important;
    }

    .app-body {
        padding: 32px 40px;
    }

    .hero-carousel {
        height: 480px;
    }

    .hero-slide {
        padding: 50px 50px;
    }

    .hero-content h1 {
        font-size: 3rem;
        max-width: 560px;
    }

    .hero-content p {
        display: block;
        max-width: 480px;
        font-size: 1rem;
    }

    .hero-cta-row {
        display: flex;
    }

    .installation-badge {
        font-size: 0.72rem;
        padding: 7px 14px;
        top: 24px;
        left: 24px;
    }

    .trust-bar {
        display: flex;
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    @media (min-width: 1200px) {
        .team-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (min-width: 1400px) {
        .team-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    .review-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 14px;
    }

    .reviews-actions {
        flex-direction: row;
    }

    .brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .feature-card:not(.see-all-card):nth-child(odd):hover,
    .team-card:nth-child(odd):hover,
    .review-item:nth-child(odd):hover {
        border-color: var(--gold);
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(185, 151, 91, 0.15);
    }

    .feature-card:not(.see-all-card):nth-child(even):hover,
    .team-card:nth-child(even):hover,
    .review-item:nth-child(even):hover {
        border-color: var(--green);
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(18, 43, 34, 0.15);
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .site-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 30px 40px;
        text-align: left;
    }

    .footer-meta {
        border-top: none;
        padding-top: 0;
        border-left: 1px solid var(--border);
        padding-left: 28px;
        max-width: 60%;
    }
}

@media (min-width: 640px) and (max-width: 899px) {
    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .review-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-actions {
        flex-direction: row;
    }
}

.label-sm {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--muted);
    margin-bottom: 6px;
    display: block;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

/* SEO/a11y visually hidden class */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* FAQ Accordion Styling */
.faq-section {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    transition: all 0.3s;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-weight: 700;
    font-size: 1rem;
    color: var(--green);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: bold;
    transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s;
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 10px;
}

/* Highlighted Cards (Windows, Doors, Conservatories, Warm Roofs) */
.feature-card.highlighted-card {
    border: 3px solid var(--gold) !important;
    box-shadow: 0 4px 15px rgba(185, 151, 91, 0.08) !important;
}

/* Fascia background */
.img-fascia {
    background-image: url('../images/fascia-soffit-guttering.jpg') !important;
}

/* ===================================================
   CONTACT PAGE CUSTOM BUTTONS (SOCIAL & REPS)
   =================================================== */

/* Action button group for Sales Rep cards */
.action-btn-group {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    width: 100%;
}

.action-btn-group>* {
    flex: 1 !important;
    margin-top: 0 !important;
}

/* Email representative button */
.btn-email-rep {
    flex: 1;
    height: 42px;
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--border);
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-email-rep:hover {
    background: var(--bg-main);
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* Large Social Connect Buttons */
.btn-social-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: white !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-social-large i {
    font-size: 1rem;
}

.btn-social-large.bg-fb {
    background: #1877f2;
    box-shadow: 0 2px 6px rgba(24, 119, 242, 0.2);
}

.btn-social-large.bg-fb:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.btn-social-large.bg-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 2px 6px rgba(220, 39, 67, 0.2);
}

.btn-social-large.bg-ig:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.btn-social-large.bg-li {
    background: #0a66c2;
    box-shadow: 0 2px 6px rgba(10, 102, 194, 0.2);
}

.btn-social-large.bg-li:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

/* ===================================================
   SUB-CARDS BACKGROUND IMAGES (LOCAL)
   =================================================== */
.img-window-alum {
    background-image: url('../images/aluminium-window.jpg') !important;
}

.img-window-flush {
    background-image: url('../images/flush-casement-windows.jpg') !important;
}

.img-window-repl {
    background-image: url('../images/replacement.jpg') !important;
}

.img-window-upvc {
    background-image: url('../images/upvc-windows.jpg') !important;
}

.img-window-sash {
    background-image: url('../images/vertical-sliders-sash.jpg') !important;
}

.img-door-bifold {
    background-image: url('../images/aluminium-bifold-doors.jpg') !important;
}

.img-door-patio {
    background-image: url('../images/aluminium-patio-doors.jpg') !important;
}

.img-door-composite {
    background-image: url('../images/composite-door.jpg') !important;
}

.img-door-back {
    background-image: url('../images/upvc-back-doors.jpg') !important;
}

.img-door-french {
    background-image: url('../images/french-doors.jpg') !important;
}

.img-door-front {
    background-image: url('../images/upvc-front-door.jpg') !important;
}

.img-door-sliding {
    background-image: url('../images/upvc-patio-door.jpg') !important;
}

.img-door-spitfire {
    background-image: url('../images/spitfire-door.jpg') !important;
}

.img-cons-gable {
    background-image: url('../images/gable-end-conservatory.jpg') !important;
}

.img-cons-leanto {
    background-image: url('../images/lean-to-conservatory.jpg') !important;
}

.img-cons-orange {
    background-image: url('../images/orangery.jpg') !important;
}

.img-cons-pshape {
    background-image: url('../images/p-shape-conservatory.jpeg') !important;
}

.img-cons-tshape {
    background-image: url('../images/t-shape-conservatory.jpeg') !important;
}

.img-cons-victorian {
    background-image: url('../images/victorian-conservatory.jpg') !important;
}

.img-roof-repl {
    background-image: url('../images/replacement-equinox-roof.jpg') !important;
}

.img-roof-warm {
    background-image: url('../images/replacement-equinox-roof.jpg') !important;
}

/* Sub-card default hiding */
.feature-card.sub-card {
    display: none;
}

/* Mobile top tagline hiding */
@media (max-width: 480px) {
    .mobile-nav .logo-tagline {
        display: none !important;
    }
}

/* Bottom Action Bar single button override layout */
@media (max-width: 899px) {
    .bottom-action-bar {
        display: flex !important;
        gap: 0 !important;
        padding: 10px 16px !important;
    }
}

.bottom-action-bar .action-btn-single {
    width: 100% !important;
    height: 50px !important;
    background: var(--green) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.bottom-action-bar .action-btn-single:hover {
    background: var(--green-deep) !important;
}

/* ===================================================
   MOBILE LANDSCAPE & LOW-HEIGHT VIEWPORT OPTIMIZATION
=================================================== */
@media (max-height: 550px) {
    .app-sheet {
        top: 10px !important;
        bottom: 10px !important;
        height: auto !important;
        max-height: calc(100vh - 20px) !important;
        overflow-y: auto !important;
        border-radius: 12px !important;
        padding: 16px !important;
        transform: translate(-50%, 120%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .app-sheet.active {
        transform: translate(-50%, 0) !important;
    }

    /* Reduce margins inside sheet to fit form elements on small screens */
    .ai-gate-notice {
        margin-bottom: 10px !important;
        padding: 10px !important;
        font-size: 0.8rem !important;
    }

    .form-group {
        margin-bottom: 8px !important;
    }
}

/* Hide mobile bottom action bar when nav drawer or any sheet is active to prevent overlapping */
body:has(.app-sheet.active) .bottom-action-bar,
body:has(.nav-drawer.active) .bottom-action-bar {
    display: none !important;
}

/* ===================================================
   GREEN HERITAGE THEME LAYER — Micron Windows
   Marcellus display type over Inter body copy,
   deep green surfaces with antique gold accents.
=================================================== */
h1,
h2,
h3,
.logo-main,
.section-header h2,
.gallery-title,
.hero-content h1,
.hero-content h2,
.product-hero h1,
.trust-item .trust-num,
.sidebar-trust .rating {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-tagline,
.topbar-tagline,
.section-eyebrow,
.hero-eyebrow {
    font-family: var(--display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.logo-box {
    color: var(--gold);
}

.desktop-sidebar {
    background: linear-gradient(180deg, #1B4234 0%, var(--green-deep) 55%, var(--green-darkest) 100%);
    border-right: 1px solid var(--gold-line);
    padding: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid var(--gold-line);
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a i {
    color: var(--gold);
}

.sidebar-nav a.active {
    background: rgba(185, 151, 91, 0.12);
    box-shadow: inset 3px 0 0 var(--gold);
}

.nav-badge {
    background: var(--gold);
    color: var(--green-darkest);
}

.cta-primary,
.hero-cta-primary {
    background: var(--gold);
    color: var(--green-darkest);
    border-bottom-color: var(--gold-dark);
}

.cta-primary:hover,
.hero-cta-primary:hover {
    background: var(--gold-light);
}

.cta-secondary {
    border: 1px solid var(--gold-line);
    color: #ffffff;
}

.cta-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.desktop-topbar {
    background: var(--green-deep);
    color: var(--gold-light);
    border-bottom: 1px solid var(--gold-line);
}

.desktop-topbar .topbar-tagline {
    color: var(--gold-light);
    font-weight: 400;
}

.desktop-topbar .topbar-link {
    color: #ffffff;
    font-weight: 600;
}

.desktop-topbar .topbar-link i {
    color: var(--gold);
}

.desktop-topbar .topbar-link:hover {
    color: var(--gold-light);
}

.site-footer {
    background: linear-gradient(135deg, #1B4234 0%, #122B22 100%);
    border-top: 1px solid rgba(185, 151, 91, 0.3);
    padding: 32px 20px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
}

.social-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(185, 151, 91, 0.4);
    color: #B9975B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background: #B9975B;
    color: #122B22;
    border-color: #B9975B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 151, 91, 0.3);
}

.footer-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.75;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 18px;
    width: 100%;
}

.footer-meta a {
    color: #B9975B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-meta a:hover {
    color: #d4af6e;
    text-decoration: underline;
}

.footer-credit {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
}

@media (min-width: 900px) {
    .site-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 30px 40px;
        text-align: left;
    }

    .footer-meta {
        border-top: none;
        padding-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        padding-left: 28px;
        max-width: 60%;
    }
}

.section-header h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    background: var(--gold);
    margin-top: 9px;
}

.feature-card {
    border-color: rgba(30, 70, 54, 0.12);
}

.feature-card:hover,
.contact-method-card:hover {
    border-color: var(--gold);
    box-shadow: 0 14px 30px rgba(18, 43, 34, 0.14);
}

/* ===================================================
   GREEN HERITAGE — SIDEBAR CONTRAST FIXES
   High-specificity overrides so the dark green sidebar
   matches the heritage template: white nav text, gold
   icons, gold CTA, white rating, crest logo at the top.
=================================================== */
.desktop-sidebar {
    padding: 0;
}

.desktop-sidebar .sidebar-logo {
    display: block;
    text-align: center;
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--gold-line);
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.desktop-sidebar .logo-wrapper,
.desktop-sidebar .logo-main {
    color: #ffffff;
    justify-content: center;
}

.desktop-sidebar .logo-main {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.22rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.desktop-sidebar .logo-box {
    color: #ffffff;
}

.desktop-sidebar .logo-tagline {
    color: var(--gold-light);
    font-family: var(--display);
    font-weight: 400;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-top: 7px;
    white-space: normal;
}

.desktop-sidebar .sidebar-nav {
    flex: 1;
    gap: 0;
    padding: 0;
    margin-bottom: 0;
}

.desktop-sidebar .sidebar-nav li {
    border-bottom: 1px solid rgba(185, 151, 91, 0.12);
}

.desktop-sidebar .sidebar-nav li a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 0.85rem;
    gap: 12px;
    padding: 10px 20px;
    border-radius: 0;
    border-left: none;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.desktop-sidebar .sidebar-nav li a i {
    color: var(--gold);
    text-align: center;
}

.desktop-sidebar .sidebar-nav li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding-left: 25px;
}

.desktop-sidebar .sidebar-nav li a.active {
    background: rgba(185, 151, 91, 0.12);
    color: #ffffff;
    box-shadow: inset 3px 0 0 var(--gold);
    font-weight: 400;
}

.desktop-sidebar .sidebar-cta {
    border-top: 1px solid var(--gold-line);
    padding: 12px 16px;
    margin-bottom: 0;
}

.desktop-sidebar .sidebar-cta .cta-primary {
    background: var(--gold);
    color: var(--green-darkest);
    border-bottom: 3px solid var(--gold-dark);
}

.desktop-sidebar .sidebar-cta .cta-primary:hover {
    background: var(--gold-light);
}

.desktop-sidebar .sidebar-cta .cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--gold-line);
}

.desktop-sidebar .sidebar-cta .cta-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.desktop-sidebar .sidebar-trust {
    border-top: 1px solid var(--gold-line);
    padding: 12px 16px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.desktop-sidebar .sidebar-trust .rating {
    color: #ffffff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 1;
}

.desktop-sidebar .sidebar-trust .stars {
    color: var(--gold);
    font-size: 0.8rem;
    margin: 3px 0 1px;
}

.desktop-sidebar .sidebar-trust .review-count {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
}

.desktop-sidebar .sidebar-trust .logo-crest {
    width: 160px;
    max-width: 90%;
    height: auto;
    display: block;
    margin: 12px auto 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* ===================================================
   PREMIUM UI/UX POLISH & SHIMMER SKELETONS
=================================================== */

/* Custom Smooth Thin Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Glassmorphism Panel styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Apply Glassmorphism & Spring Animations to App Sheets & Drawer */
.app-sheet {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1) !important;
    /* Spring ease */
}

.nav-drawer {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1) !important;
    /* Spring ease */
}

/* Global Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton-loader {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.skeleton-circle {
    border-radius: 50% !important;
}

/* Specific Skeletal Components */
.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-text {
    height: 14px;
    width: 90%;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-image {
    height: 200px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

.skeleton-button {
    height: 44px;
    width: 100%;
    border-radius: 8px;
}

/* Image Zoom & Pan container */
.zoom-container {
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    border-radius: 12px;
}

.zoom-image {
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    width: 100%;
    height: auto;
}

.zoom-container.zoomed {
    cursor: zoom-out;
}

/* Side-by-Side Comparison Layout */
.sbs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
    width: 100%;
}

.sbs-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sbs-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.sbs-img-wrapper {
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: #f1f5f9;
}

.sbs-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Layout switch button */
.layout-switch-bar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}

.layout-switch-btn {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.layout-switch-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

/* Typing state bounce for AI Chat */
.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 6px 4px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--muted);
    border-radius: 50%;
    animation: bounceDot 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounceDot {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Chat bubble bounce animation */
@keyframes bubbleEntrance {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-bubble-animated {
    animation: bubbleEntrance 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Chat Quick Reply Chips */
.quick-replies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.quick-reply-chip {
    background: #f1f5f9;
    border: 1px solid var(--border);
    color: var(--black);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.quick-reply-chip:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(18, 43, 34, 0.15);
}

/* Scroll Reveal Animations (Progressive Enhancement) */
@media (prefers-reduced-motion: no-preference) {
    /* Native CSS Scroll-driven animations (Chrome/Edge 115+, Safari 19+) */
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes slideUpReveal {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        [data-reveal="slide-up"] {
            animation: slideUpReveal both linear;
            animation-timeline: view();
            animation-range: entry 10% cover 30%;
        }
    }

    /* Fallback styles for Firefox / older browsers triggered by IntersectionObserver in ui.js */
    .scroll-reveal-initial {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .scroll-reveal-initial.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   AI VISUALISER DESKTOP GRID LAYOUT
=================================================== */

/* Mobile-first defaults for the split columns */
.vis-workspace-body {
    display: block;
}

.vis-workspace-sidebar {
    display: block;
}

.vis-workspace-main {
    display: block;
}

.vis-placeholder-desktop {
    display: none;
    /* Hide on mobile by default */
}

@media (min-width: 992px) {
    #sheet-visualiser-workspace.app-sheet {
        top: 50% !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.98) !important;
        width: 95vw !important;
        max-width: 1200px !important;
        height: 90vh !important;
        max-height: 850px !important;
        border-radius: 16px !important;
        border-top: none !important;
        border-left: 4px solid var(--green) !important;
        opacity: 0;
        visibility: hidden;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        /* Contain scroll to inner columns */
        padding: 16px 24px 24px 24px !important;
        /* Tighter top padding */
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), opacity 0.4s, visibility 0.4s !important;
    }

    #sheet-visualiser-workspace.app-sheet.active {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #sheet-visualiser-workspace .sticky-warning {
        top: -16px !important;
        margin-bottom: 8px !important;
    }

    #sheet-visualiser-workspace .sheet-header {
        margin-bottom: 12px !important;
    }

    .vis-workspace-body {
        display: grid !important;
        grid-template-columns: 360px 1fr !important;
        gap: 24px !important;
        flex: 1 !important;
        min-height: 0 !important;
        /* Enables scrollable child views */
        padding-top: 10px !important;
    }

    .vis-workspace-sidebar {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        overflow-y: auto !important;
        padding-right: 12px !important;
        border-right: 1px solid var(--border) !important;
    }

    .vis-workspace-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .vis-workspace-main {
        overflow-y: auto !important;
        padding-right: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
    }

    .vis-workspace-main::-webkit-scrollbar {
        width: 6px;
    }

    /* Ensure forms inside the workspace sidebar fit beautifully */
    #vis-setup {
        padding-top: 0 !important;
    }

    #current-vis-workspace {
        padding-top: 0 !important;
    }

    /* Styles for the desktop empty state placeholder */
    .vis-placeholder-desktop {
        display: flex;
        /* Controlled by JS toggle without !important conflict */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 2px dashed var(--border);
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.02);
        color: var(--muted);
        padding: 40px;
        flex: 1;
        min-height: 400px;
        margin-top: 10px;
    }

    .vis-placeholder-desktop .placeholder-icon {
        font-size: 3rem;
        color: var(--green);
        margin-bottom: 16px;
        opacity: 0.5;
        animation: placeholderPulse 2s infinite ease-in-out;
    }

    .vis-placeholder-desktop h4 {
        font-family: 'Marcellus', serif;
        font-size: 1.25rem;
        color: var(--black);
        margin-bottom: 8px;
        font-weight: 700;
    }

    .vis-placeholder-desktop p {
        font-size: 0.9rem;
        max-width: 320px;
        line-height: 1.5;
        color: var(--muted);
    }
}

@keyframes placeholderPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Lock background scroll when any overlay sheet or drawer is open */
html.sheet-open,
body.sheet-open {
    overflow: hidden !important;
    height: 100vh !important;
    position: relative !important;
}

/* Progressive grid column breakpoints for Popular Products */
.feature-grid {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

@media (min-width: 480px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1500px) {
    .feature-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

/* Ensure mobile drawer typography matches Homestyle exactly */
.drawer-header h3 {
    font-family: var(--body) !important;
    font-weight: 900 !important;
    font-size: 0.95rem !important;
    letter-spacing: normal !important;
    color: var(--green) !important;
}

.drawer-links li a {
    font-family: var(--body) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}