/**
 * Clear Glass Ltd — visual identity overrides
 * Distinct from Clear View (navy/cyan) and Haynes (sky pills):
 * logo blue #2160AD + ice #A5D5E2, 12px buttons, ice-wash sections.
 */

body.clg-brand-clearglass {
    --clg-title-color: #1F1F1F;
    --clg-muted-color: #495884;
    --clg-sky: #2160AD;
    --clg-sky-dark: #174A86;
    --clg-ice: #A5D5E2;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER / TOPBAR — overrides hardcoded legacy navy (#010176) in theme.css
   ═══════════════════════════════════════════════════════════════════════════ */

body.clg-brand-clearglass .clg-topbar {
    background: var(--clg-sky) !important;
    box-shadow: 0 1px 0 rgba(165, 213, 226, 0.28) !important;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 968px) {
    body.clg-brand-clearglass .clg-topbar.is-away,
    body.clg-brand-clearglass.clg-header-compact .clg-topbar,
    body.clg-brand-clearglass.clg-mobile-menu-open .clg-topbar {
        transform: translateY(-100%) !important;
        pointer-events: none;
    }

    body.clg-brand-clearglass .clg-nav {
        transition:
            top 0.34s cubic-bezier(0.22, 1, 0.36, 1),
            padding 0.28s ease,
            box-shadow 0.28s ease,
            background 0.28s ease;
    }

    body.clg-brand-clearglass.clg-header-compact .clg-nav,
    body.clg-brand-clearglass.clg-mobile-menu-open .clg-nav {
        top: 0 !important;
    }
}

body.clg-brand-clearglass .clg-topbar a {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.clg-brand-clearglass .clg-topbar-phone i {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.clg-brand-clearglass .clg-topbar-icon:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

body.clg-brand-clearglass .clg-nav {
    border-bottom-color: rgba(35, 96, 173, 0.12) !important;
    box-shadow: 0 2px 12px rgba(35, 96, 173, 0.08) !important;
}

body.clg-brand-clearglass .clg-nav-menu > li > a {
    color: #1F1F1F !important;
}

/* Kill legacy navy (#010176) / accent (#2F6FED) nav pills — Clear Glass royal */
body.clg-brand-clearglass .clg-nav-menu > li > a:hover,
body.clg-brand-clearglass .clg-nav-menu > li.clg-has-dropdown:hover > a,
body.clg-brand-clearglass .clg-nav-menu > li.clg-nav-current > a,
body.clg-brand-clearglass .clg-nav-menu > li.current-menu-item > a,
body.clg-brand-clearglass .clg-nav-menu > li.current_page_item > a {
    color: var(--clg-sky-dark) !important;
    background: rgba(35, 96, 173, 0.1) !important;
    box-shadow: inset 0 0 0 1px rgba(35, 96, 173, 0.18) !important;
}

body.clg-brand-clearglass .clg-nav-menu > li.clg-has-dropdown:hover > a,
body.clg-brand-clearglass .clg-nav-menu > li.clg-has-dropdown.is-mega-open > a {
    background: var(--clg-sky) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(35, 96, 173, 0.28) !important;
}

body.clg-brand-clearglass .clg-nav-menu > li.clg-has-dropdown:hover > a .clg-dd-arrow,
body.clg-brand-clearglass .clg-nav-menu > li.clg-has-dropdown.is-mega-open > a .clg-dd-arrow {
    stroke: #fff !important;
}

body.clg-brand-clearglass .clg-nav-menu > li > a::after {
    background: var(--clg-sky) !important;
}

body.clg-brand-clearglass .clg-nav-menu > li > a:hover::after,
body.clg-brand-clearglass .clg-nav-menu > li.clg-nav-current > a::after,
body.clg-brand-clearglass .clg-nav-menu > li.current-menu-item > a::after,
body.clg-brand-clearglass .clg-nav-menu > li.current_page_item > a::after {
    background: var(--clg-sky) !important;
}

body.clg-brand-clearglass .clg-dd-arrow {
    stroke: var(--clg-sky-dark) !important;
}

body.clg-brand-clearglass .clg-nav-cta {
    background: var(--clg-sky) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(35, 96, 173, 0.35) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.clg-brand-clearglass .clg-nav-cta:hover {
    background: var(--clg-sky-dark) !important;
    filter: none !important;
}

body.clg-brand-clearglass .clg-mega-inner {
    border-color: rgba(35, 96, 173, 0.14) !important;
    box-shadow: 0 24px 60px rgba(35, 96, 173, 0.12) !important;
}

body.clg-brand-clearglass .clg-mega-promo {
    background: linear-gradient(160deg, var(--clg-sky-dark) 0%, var(--clg-sky) 100%) !important;
}

body.clg-brand-clearglass .clg-mega-promo-btn {
    background: #fff !important;
    color: var(--clg-sky-dark) !important;
}

body.clg-brand-clearglass .clg-mega-promo-btn:hover {
    background: #eff0f9 !important;
}

body.clg-brand-clearglass .clg-mega-card--accent {
    background: linear-gradient(135deg, rgba(35, 96, 173, 0.1), #f8fafc) !important;
    border-color: rgba(35, 96, 173, 0.22) !important;
}

body.clg-brand-clearglass .clg-mega-card--accent:hover {
    border-color: rgba(35, 96, 173, 0.45) !important;
}

body.clg-brand-clearglass .clg-floating-cta {
    background: transparent !important;
    box-shadow: none !important;
}

body.clg-brand-clearglass .clg-floating-cta-btn {
    background: linear-gradient(135deg, var(--clg-sky-dark) 0%, var(--clg-sky) 100%) !important;
    border-color: rgba(165, 213, 226, 0.45) !important;
    box-shadow:
        0 10px 28px rgba(23, 74, 134, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

body.clg-brand-clearglass .clg-floating-cta-btn:hover {
    box-shadow: 0 14px 36px rgba(23, 74, 134, 0.45) !important;
}

@media (max-width: 768px) {
    body.clg-brand-clearglass .clg-floating-cta:not(.hide-on-mobile-combined) .clg-floating-cta-btn {
        background: linear-gradient(135deg, var(--clg-sky-dark) 0%, var(--clg-sky) 100%) !important;
        border-color: rgba(165, 213, 226, 0.5) !important;
        box-shadow:
            0 10px 28px rgba(23, 74, 134, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    }

    body.clg-brand-clearglass .clg-floating-cta:not(.hide-on-mobile-combined) .clg-floating-cta-icon {
        background: rgba(255, 255, 255, 0.16) !important;
        border-color: rgba(165, 213, 226, 0.45) !important;
        box-shadow: none !important;
    }

    body.clg-brand-clearglass .clg-dock-quote {
        background: linear-gradient(135deg, var(--clg-sky-dark) 0%, var(--clg-sky) 100%) !important;
        border-color: rgba(165, 213, 226, 0.5) !important;
        box-shadow:
            0 12px 32px rgba(23, 74, 134, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    }

    body.clg-brand-clearglass .clg-dock-quote-icon {
        background: rgba(255, 255, 255, 0.14) !important;
        border-color: rgba(165, 213, 226, 0.4) !important;
    }

    body.clg-brand-clearglass .clg-dock-quote-kicker {
        color: rgba(255, 255, 255, 0.92) !important;
    }

    body.clg-brand-clearglass .clg-mobile-sticky-cta {
        background: rgba(232, 244, 248, 0.96) !important;
        border-top-color: rgba(165, 213, 226, 0.55) !important;
    }

    body.clg-brand-clearglass .clg-mobile-sticky-cta-btn,
    body.clg-brand-clearglass .clg-mobile-sticky-cta-btn.clg-mobile-link {
        background: linear-gradient(135deg, var(--clg-sky-dark) 0%, var(--clg-sky) 100%) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(23, 74, 134, 0.35) !important;
    }

    body.clg-brand-clearglass .clg-mobile-sticky-cta-btn:hover,
    body.clg-brand-clearglass .clg-mobile-sticky-cta-btn.clg-mobile-link:hover {
        background: linear-gradient(135deg, var(--clg-sky-dark) 0%, var(--clg-sky) 100%) !important;
        box-shadow: 0 12px 32px rgba(23, 74, 134, 0.42) !important;
    }
}

body.clg-brand-clearglass .clg-mobile-toggle {
    color: var(--clg-sky-dark) !important;
}

/* Hero highlight — undo Clear View #2F6FED flat override */
body.clg-brand-clearglass .clg-hero .clg-hero-line-grad,
body.clg-brand-clearglass .clg-hero .clg-gradient-text,
body.clg-brand-clearglass .clg-hero-mode-side.clg-hero-has-bg .clg-hero-line-grad,
body.clg-brand-clearglass .clg-hero-mode-side.clg-hero-has-bg .clg-gradient-text {
    background: linear-gradient(120deg, var(--clg-sky) 0%, var(--clg-sky-dark) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* ── Section titles: sentence case, rounded accent bar (not dashed orange) ── */
body.clg-brand-clearglass .clg-block-head-kicker,
body.clg-brand-clearglass .clg-section-header .clg-section-eyebrow {
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 600;
    color: var(--clg-sky-dark);
    text-transform: uppercase;
}

body.clg-brand-clearglass .clg-block-head-title,
body.clg-brand-clearglass .clg-section-header h1 {
    text-transform: none;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: var(--clg-title-color);
    line-height: 1.15;
}

body.clg-brand-clearglass .clg-block-head-divider {
    display: block;
    width: 52px;
    height: 4px;
    margin: 14px 0 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sv-primary) 0%, var(--sv-secondary) 100%);
}

body.clg-brand-clearglass .clg-block-head-desc,
body.clg-brand-clearglass .clg-section-header p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--clg-muted-color);
}

/* Highlight text: static gradient (no shimmer) */
body.clg-brand-clearglass .clg-gradient-text,
body.clg-brand-clearglass .clg-hero-line-grad {
    animation: none !important;
    background: linear-gradient(120deg, var(--sv-primary) 0%, var(--sv-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ── Hero ── */
body.clg-brand-clearglass .clg-eyebrow {
    background: rgba(35, 96, 173, 0.1);
    border: 1px solid rgba(35, 96, 173, 0.22);
    color: var(--sv-secondary);
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 14px;
}

body.clg-brand-clearglass .clg-eyebrow-dot {
    background: var(--sv-primary);
}

body.clg-brand-clearglass .clg-hero-title {
    letter-spacing: -0.03em;
}

body.clg-brand-clearglass .clg-blob {
    opacity: 0.12;
    filter: blur(48px);
}

body.clg-brand-clearglass .clg-btn-primary {
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 24px rgba(35, 96, 173, 0.28);
}

body.clg-brand-clearglass .clg-btn-ghost {
    border-radius: 12px;
}

/* Larger logo footprint */
body.clg-brand-clearglass .clg-nav .clg-logo-img {
    width: var(--sv-logo-w-desktop, 320px);
    max-height: var(--sv-logo-h-desktop, 100px);
}

@media (max-width: 768px) {
    body.clg-brand-clearglass .clg-nav .clg-logo-img {
        width: var(--sv-logo-w-mobile, 280px);
        max-height: var(--sv-logo-h-mobile, 92px);
    }
}

body.clg-brand-clearglass .clg-nav-cta {
    font-weight: 600;
}

body.clg-brand-clearglass .clg-nav-menu > li > a {
    font-weight: 500;
}

/* Extra specificity vs late theme.css legacy navy blocks */
body.clg-brand-clearglass .clg-nav .clg-nav-menu > li > a:hover,
body.clg-brand-clearglass .clg-nav .clg-nav-menu > li.clg-nav-current > a,
body.clg-brand-clearglass .clg-nav .clg-nav-menu > li.current-menu-item > a,
body.clg-brand-clearglass .clg-nav .clg-nav-menu > li.current_page_item > a {
    color: var(--clg-sky-dark) !important;
    background: rgba(35, 96, 173, 0.1) !important;
    box-shadow: inset 0 0 0 1px rgba(35, 96, 173, 0.18) !important;
}

body.clg-brand-clearglass .clg-nav .clg-nav-menu > li.clg-has-dropdown:hover > a,
body.clg-brand-clearglass .clg-nav .clg-nav-menu > li.clg-has-dropdown.is-mega-open > a {
    background: var(--clg-sky) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(35, 96, 173, 0.28) !important;
}

/* ── Service cards: left accent stripe, softer corners ── */
body.clg-brand-clearglass .clg-service-card {
    border-radius: 18px;
    border: none;
    background: #fff;
    box-shadow: 0 14px 36px rgba(33, 96, 173, 0.08);
    overflow: hidden;
}

body.clg-brand-clearglass .clg-service-card h3 {
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--clg-title-color);
}

body.clg-brand-clearglass .clg-service-card-copy {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--clg-muted-color);
    margin: 0 0 16px;
}

body.clg-brand-clearglass .clg-service-tagline {
    color: var(--sv-primary);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.clg-brand-clearglass .clg-service-image-box,
body.clg-brand-clearglass .clg-service-card.has-image .clg-service-image-box,
body.clg-brand-clearglass .clg-service-card.has-ba .clg-service-ba {
    height: 320px;
    border-radius: 0;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    body.clg-brand-clearglass .clg-service-image-box,
    body.clg-brand-clearglass .clg-service-card.has-image .clg-service-image-box,
    body.clg-brand-clearglass .clg-service-card.has-ba .clg-service-ba {
        height: 240px;
    }
}

/* ── Steps: numbered circles ── */
body.clg-brand-clearglass .clg-step-icon {
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(35, 96, 173, 0.12), rgba(31, 143, 191, 0.08));
    color: var(--sv-primary);
}

/* ── Areas checker ── */
body.clg-brand-clearglass .clg-areas-checker button {
    border-radius: 999px;
}

/* ── CTA band: soft panel not full gradient block ── */
body.clg-brand-clearglass .clg-cta {
    border-radius: 24px;
    background: linear-gradient(135deg, #eff0f9 0%, #ffffff 55%, #eef8fc 100%);
    border: 1px solid rgba(35, 96, 173, 0.18);
    box-shadow: 0 20px 50px rgba(35, 96, 173, 0.1);
    padding: 48px 32px;
}

body.clg-brand-clearglass .clg-cta h2 {
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--clg-title-color) !important;
}

body.clg-brand-clearglass .clg-cta p {
    color: var(--clg-muted-color) !important;
}

body.clg-brand-clearglass .clg-cta .clg-btn,
body.clg-brand-clearglass .clg-cta .clg-btn-primary {
    border-radius: 999px;
    background: var(--clg-sky) !important;
    color: #fff !important;
}

body.clg-brand-clearglass .clg-cta .clg-btn:hover,
body.clg-brand-clearglass .clg-cta .clg-btn-primary:hover {
    background: var(--clg-sky-dark) !important;
    color: #fff !important;
}

/* Quote page header — readable on light background */
body.clg-brand-clearglass .clg-quote-page .clg-quote-tagline {
    color: var(--clg-title-color);
}

body.clg-brand-clearglass .clg-quote-page .clg-quote-subtitle {
    color: var(--clg-muted-color) !important;
}

body.clg-brand-clearglass .clg-quote-page .clg-quote-trust span {
    color: var(--clg-muted-color);
}

/* Quote form — step wizard */
body.clg-brand-clearglass .clg-quote-form {
    max-width: 640px;
    margin: 0 auto;
}

body.clg-brand-clearglass .clg-quote-progress {
    margin-bottom: 28px;
}

body.clg-brand-clearglass .clg-quote-progress-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(35, 96, 173, 0.12);
    overflow: hidden;
}

body.clg-brand-clearglass .clg-quote-progress-fill {
    display: block;
    height: 100%;
    width: 20%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--clg-sky), var(--clg-sky-dark));
    transition: width 0.3s ease;
}

body.clg-brand-clearglass .clg-quote-progress-label {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--clg-muted-color);
}

body.clg-brand-clearglass .clg-quote-step {
    animation: hctQuoteStepIn 0.28s ease;
}

@keyframes hctQuoteStepIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

body.clg-brand-clearglass .clg-quote-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clg-title-color);
    letter-spacing: -0.02em;
}

body.clg-brand-clearglass .clg-quote-step-title i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 96, 173, 0.12);
    color: var(--clg-sky-dark);
    font-size: 15px;
    flex-shrink: 0;
}

body.clg-brand-clearglass .clg-quote-step-hint {
    margin: 0 0 20px;
    font-size: 0.95rem;
    color: var(--clg-muted-color);
}

body.clg-brand-clearglass .clg-icon-options {
    display: grid;
    gap: 10px;
}

body.clg-brand-clearglass .clg-icon-options--services {
    grid-template-columns: repeat(2, 1fr);
}

body.clg-brand-clearglass .clg-icon-options--property {
    grid-template-columns: repeat(3, 1fr);
}

body.clg-brand-clearglass .clg-icon-options--beds {
    grid-template-columns: repeat(5, 1fr);
}

body.clg-brand-clearglass .clg-icon-options--yesno {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 560px) {
    body.clg-brand-clearglass .clg-icon-options--property {
        grid-template-columns: repeat(2, 1fr);
    }
    body.clg-brand-clearglass .clg-icon-options--beds {
        grid-template-columns: repeat(3, 1fr);
    }
}

body.clg-brand-clearglass .clg-icon-option {
    cursor: pointer;
    margin: 0;
    position: relative;
}

body.clg-brand-clearglass .clg-icon-option input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
}

body.clg-brand-clearglass .clg-icon-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 92px;
    padding: 14px 10px;
    border-radius: 14px;
    border: 2px solid rgba(35, 96, 173, 0.16);
    background: #fff;
    color: var(--clg-title-color);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.clg-brand-clearglass .clg-icon-options--beds .clg-icon-option-inner {
    min-height: 78px;
}

body.clg-brand-clearglass .clg-icon-option-inner i {
    font-size: 22px;
    color: var(--clg-sky);
}

body.clg-brand-clearglass .clg-icon-option input:checked + .clg-icon-option-inner {
    border-color: var(--clg-sky);
    background: rgba(35, 96, 173, 0.08);
    box-shadow: 0 0 0 1px var(--clg-sky);
}

body.clg-brand-clearglass .clg-icon-option:hover .clg-icon-option-inner {
    border-color: rgba(35, 96, 173, 0.45);
    transform: translateY(-1px);
}

body.clg-brand-clearglass .clg-quote-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 560px) {
    body.clg-brand-clearglass .clg-quote-extras {
        grid-template-columns: 1fr;
    }
}

body.clg-brand-clearglass .clg-quote-extra-label {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--clg-title-color);
}

body.clg-brand-clearglass .clg-quote-step-nav {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 28px;
}

body.clg-brand-clearglass .clg-quote-step-nav .clg-btn {
    border-radius: 12px;
    min-height: 48px;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}

body.clg-brand-clearglass .clg-quote-step-nav .clg-btn-ghost {
    min-width: 96px;
    background: #fff;
    border: 1.5px solid rgba(35, 96, 173, 0.28);
    color: var(--clg-title-color);
}

body.clg-brand-clearglass .clg-quote-step-nav .clg-btn-primary,
body.clg-brand-clearglass .clg-quote-step-nav .clg-submit-btn {
    flex: 1 1 auto;
    min-width: 0;
}

body.clg-brand-clearglass .clg-quote-step-nav .clg-submit-btn {
    display: inline-flex;
    gap: 8px;
    border-radius: 12px;
}

body.clg-brand-clearglass .clg-quote-step-nav .clg-submit-btn .btn-text,
body.clg-brand-clearglass .clg-quote-step-nav .clg-submit-btn > i {
    display: inline;
    white-space: nowrap;
}

body.clg-brand-clearglass .clg-quote-step-error {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 500;
}

body.clg-brand-clearglass .clg-quote-form .clg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

@media (max-width: 560px) {
    body.clg-brand-clearglass .clg-quote-form .clg-form-row {
        grid-template-columns: 1fr;
    }
}

body.clg-brand-clearglass .clg-quote-contact-wrap {
    max-width: 680px;
    padding: 28px 28px 32px;
}

@media (max-width: 768px) {
    body.clg-brand-clearglass .clg-quote-page .clg-quote-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.clg-brand-clearglass .clg-quote-contact-wrap {
        max-width: none;
        width: 100%;
        padding: 16px 12px 18px;
        border-radius: 16px;
    }

    body.clg-brand-clearglass .clg-quote-form {
        max-width: none;
    }

    body.clg-brand-clearglass .clg-quote-step-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }

    body.clg-brand-clearglass .clg-quote-step-nav .clg-btn,
    body.clg-brand-clearglass .clg-quote-step-nav .clg-btn-ghost,
    body.clg-brand-clearglass .clg-quote-step-nav .clg-btn-primary,
    body.clg-brand-clearglass .clg-quote-step-nav .clg-submit-btn {
        width: 100%;
        min-width: 0;
        flex: none;
        border-radius: 12px;
        white-space: nowrap;
    }

    body.clg-brand-clearglass .clg-quote-step-nav .clg-btn-ghost {
        order: 2;
        background: transparent;
        border: none;
        color: var(--clg-muted-color);
        min-height: 40px;
        padding: 8px 12px;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    body.clg-brand-clearglass .clg-quote-step-nav .clg-btn-primary,
    body.clg-brand-clearglass .clg-quote-step-nav .clg-submit-btn {
        order: 1;
        min-height: 50px;
        font-size: 16px;
    }
}

/* Contact page — clear sticky header + homepage-style title */
body.clg-brand-clearglass .clg-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 210px 24px 40px !important;
    text-align: center;
}

body.clg-brand-clearglass .clg-contact-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

body.clg-brand-clearglass .clg-contact-hero .clg-block-head {
    text-align: center;
}

body.clg-brand-clearglass .clg-contact-hero .clg-block-head-divider {
    margin-left: auto;
    margin-right: auto;
}

body.clg-brand-clearglass .clg-contact-hero .clg-block-head-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
}

body.clg-brand-clearglass .clg-contact-body {
    padding-top: 12px;
}

body.clg-brand-clearglass .clg-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

body.clg-brand-clearglass .clg-contact-cards {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

body.clg-brand-clearglass .clg-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(35, 96, 173, 0.14);
    border-radius: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.clg-brand-clearglass a.clg-contact-card:hover {
    transform: translateY(-2px);
    border-color: var(--clg-sky);
    box-shadow: 0 12px 28px rgba(35, 96, 173, 0.12);
}

body.clg-brand-clearglass .clg-contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--clg-sky), var(--clg-sky-dark));
    color: #fff;
    font-size: 18px;
}

body.clg-brand-clearglass .clg-contact-card-label {
    font-size: 12px;
    color: var(--clg-muted-color);
    margin-bottom: 2px;
}

body.clg-brand-clearglass .clg-contact-card-value {
    font-weight: 600;
    font-size: 17px;
    color: var(--clg-title-color);
}

body.clg-brand-clearglass .clg-contact-form-card {
    background: #fff;
    border: 1px solid rgba(35, 96, 173, 0.14);
    border-radius: 20px;
    padding: 28px;
}

body.clg-brand-clearglass .clg-contact-form-card h2 {
    margin: 0 0 20px;
    font-size: 1.25rem;
    color: var(--clg-title-color);
    text-transform: none;
    letter-spacing: -0.02em;
}

body.clg-brand-clearglass .clg-contact-side-panel,
body.clg-brand-clearglass .clg-contact-map {
    background: #fff;
    border: 1px solid rgba(35, 96, 173, 0.14);
    border-radius: 20px;
    min-height: 420px;
    height: 100%;
}

body.clg-brand-clearglass .clg-contact-map {
    overflow: hidden;
}

body.clg-brand-clearglass .clg-contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

body.clg-brand-clearglass .clg-contact-side-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 36px 32px;
}

body.clg-brand-clearglass .clg-contact-side-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clg-sky), var(--clg-sky-dark));
    color: #fff;
    font-size: 26px;
    margin-bottom: 20px;
}

body.clg-brand-clearglass .clg-contact-side-panel h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: var(--clg-title-color);
}

body.clg-brand-clearglass .clg-contact-side-panel p {
    margin: 0 0 22px;
    color: var(--clg-muted-color);
    line-height: 1.65;
}

@media (max-width: 900px) {
    body.clg-brand-clearglass .clg-contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    body.clg-brand-clearglass .clg-contact-hero {
        padding: 190px 16px 32px !important;
    }
}

@media (max-width: 768px) {
    body.clg-brand-clearglass .clg-contact-hero {
        padding: 180px 16px 28px !important;
    }
}

/* Gallery hero spacing (page hidden at launch — keeps layout safe if re-enabled) */
body.clg-brand-clearglass .clg-gallery-hero {
    padding-top: 168px !important;
}

body.clg-brand-clearglass .clg-gallery-eyebrow {
    margin-top: 10px;
    margin-bottom: 18px;
}

body.clg-brand-clearglass .clg-gallery-hero-copy {
    margin-bottom: 34px;
}

body.clg-brand-clearglass .clg-gallery-hero-actions {
    gap: 16px;
    margin-top: 6px;
}

/* Hero — full-bleed background only, no duplicate side photo */
body.clg-brand-clearglass .clg-hero-inner--copy-only {
    grid-template-columns: 1fr !important;
    max-width: 720px;
}

body.clg-brand-clearglass .clg-hero-mode-side.clg-hero-has-bg .clg-hero-inner--copy-only .clg-hero-content {
    max-width: 100%;
}

/* Full-bleed video: ignore hero padding so the media reaches both edges */
body.clg-brand-clearglass .clg-hero.clg-hero-has-bg,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-background {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden;
}

body.clg-brand-clearglass .clg-hero.clg-hero-has-bg .clg-hero-inner,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-background .clg-hero-inner {
    padding-left: 24px;
    padding-right: 24px;
}

body.clg-brand-clearglass .clg-hero.clg-hero-has-bg .clg-hero-bg,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-background .clg-hero-bg {
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}

body.clg-brand-clearglass .clg-hero-bg-poster {
    z-index: 0;
    transition: opacity 0.45s ease;
    object-fit: cover;
}

body.clg-brand-clearglass .clg-hero-bg-iframe-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

/* Video cover — iframe must overscale; YouTube letterboxes inside 16:9 otherwise */
body.clg-brand-clearglass .clg-hero-bg-iframe-wrap > .clg-hero-bg-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

body.clg-brand-clearglass .clg-hero-bg-iframe-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
    max-width: none;
}

body.clg-brand-clearglass .clg-hero.clg-hero-has-bg .clg-hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-hero-bg-iframe-wrap,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-hero-bg-poster,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.clg-brand-clearglass .clg-hero.clg-hero-mode-background .clg-hero-bg-overlay,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-hero-bg-overlay {
    z-index: 1;
    background:
        linear-gradient(
            118deg,
            rgba(33, 96, 173, calc(0.42 + var(--sv-hero-overlay, 0.52) * 0.48)) 0%,
            rgba(23, 74, 134, calc(0.28 + var(--sv-hero-overlay, 0.52) * 0.32)) 46%,
            rgba(165, 213, 226, calc(0.12 + var(--sv-hero-overlay, 0.52) * 0.18)) 100%
        ) !important;
    opacity: 1 !important;
}

body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-blob {
    display: none;
}

body.clg-brand-clearglass .clg-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

body.clg-brand-clearglass .clg-hero-chip,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-hero-rotate,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-hero-rotate-item {
    color: #fff !important;
}

body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-eyebrow-dot {
    background: var(--clg-ice);
}

body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-hero-line-grad,
body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-gradient-text {
    background: linear-gradient(120deg, #ffffff 0%, var(--clg-ice) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-btn-primary {
    background: var(--clg-sky) !important;
    box-shadow: 0 12px 32px rgba(33, 96, 173, 0.45);
}

body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg .clg-hero-media-widget > * {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(165, 213, 226, 0.55) !important;
    box-shadow:
        0 40px 80px -30px rgba(23, 74, 134, 0.45),
        0 12px 28px -12px rgba(33, 96, 173, 0.28) !important;
}

/* ── Contact bar: logo blue (not Clear View navy → cyan) ── */
body.clg-brand-clearglass .clg-contact-bar {
    background: linear-gradient(180deg, var(--clg-sky) 0%, var(--clg-sky-dark) 100%) !important;
}

/* Trust slider — readable white copy on a solid logo-blue card, edge to edge */
body.clg-brand-clearglass .clg-feature-banners {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #174A86;
}

body.clg-brand-clearglass .clg-fb-veil {
    background:
        linear-gradient(115deg, rgba(23, 74, 134, 0.78) 0%, rgba(33, 96, 173, 0.55) 48%, rgba(15, 40, 72, 0.35) 100%) !important;
}

body.clg-brand-clearglass .clg-fb-card,
body.clg-brand-clearglass .clg-fb-card.clg-block-head {
    background: rgba(15, 40, 72, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(10px);
    color: #fff !important;
}

body.clg-brand-clearglass .clg-fb-card::before {
    background: var(--clg-ice) !important;
}

body.clg-brand-clearglass .clg-fb-card .clg-block-head-kicker,
body.clg-brand-clearglass .clg-fb-card .clg-block-head-title,
body.clg-brand-clearglass .clg-fb-card .clg-block-head-desc,
body.clg-brand-clearglass .clg-fb-card .clg-block-head-title .clg-gradient-text {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

body.clg-brand-clearglass .clg-fb-card .clg-block-head-divider {
    background: var(--clg-ice) !important;
    border: none !important;
}

body.clg-brand-clearglass .clg-contact-bar-item {
    border-radius: 16px;
}

/* Ice wash on alternating homepage bands */
body.clg-brand-clearglass .clg-section-alt,
body.clg-brand-clearglass .clg-why-icons,
body.clg-brand-clearglass .clg-testimonials-section,
body.clg-brand-clearglass .clg-faq-section {
    background: #E8F4F8;
}

/* Intro — overlapping rounded photos (not polaroids) */
body.clg-brand-clearglass .clg-about-team-photos {
    position: relative;
    min-height: 380px;
}

body.clg-brand-clearglass .clg-team-photo {
    margin: 0;
    position: absolute;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(23, 74, 134, 0.22);
    background: #d7e8f0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.clg-brand-clearglass .clg-team-photo.is-in {
    opacity: 1;
    transform: translateY(0);
}

body.clg-brand-clearglass .clg-team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.clg-brand-clearglass .clg-team-photo figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(33, 96, 173, 0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.clg-brand-clearglass .clg-team-photo--main {
    width: 72%;
    aspect-ratio: 4 / 5;
    left: 0;
    top: 0;
    z-index: 1;
}

body.clg-brand-clearglass .clg-team-photo--inset {
    width: 48%;
    aspect-ratio: 4 / 5;
    right: 0;
    bottom: 0;
    z-index: 2;
    outline: 6px solid #fff;
    transition-delay: 0.12s;
}

@media (max-width: 768px) {
    body.clg-brand-clearglass .clg-about-team-photos {
        min-height: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    body.clg-brand-clearglass .clg-team-photo {
        position: relative;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        outline: none;
    }
}

/* Contact mega — Haynes card grid */
body.clg-brand-clearglass .clg-mega--contact .clg-mega-grid--contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.clg-brand-clearglass .clg-mega-grid--mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 4px 0 12px;
}

@media (min-width: 480px) {
    body.clg-brand-clearglass .clg-mega-grid--mobile {
        grid-template-columns: 1fr 1fr;
    }
}

/* Inner-page heroes — clear the sticky topbar + logo nav */
body.clg-brand-clearglass .clg-page-hero,
body.clg-brand-clearglass .clg-page-title-hero,
body.clg-brand-clearglass .clg-flex-hero,
body.clg-brand-clearglass .clg-svc-hero,
body.clg-brand-clearglass .clg-gallery-hero,
body.clg-brand-clearglass .clg-reviews-hero,
body.clg-brand-clearglass .clg-referral-hero,
body.clg-brand-clearglass .clg-news-hero,
body.clg-brand-clearglass .clg-portal-hero,
body.clg-brand-clearglass .clg-legal-hero,
body.clg-brand-clearglass .clg-services-page-hero,
body.clg-brand-clearglass .clg-contact-hero,
body.clg-brand-clearglass .clg-loc-hero {
    padding-top: 200px !important;
    padding-bottom: 72px !important;
}

@media (max-width: 768px) {
    body.clg-brand-clearglass .clg-page-hero,
    body.clg-brand-clearglass .clg-page-title-hero,
    body.clg-brand-clearglass .clg-flex-hero,
    body.clg-brand-clearglass .clg-svc-hero,
    body.clg-brand-clearglass .clg-gallery-hero,
    body.clg-brand-clearglass .clg-reviews-hero,
    body.clg-brand-clearglass .clg-referral-hero,
    body.clg-brand-clearglass .clg-news-hero,
    body.clg-brand-clearglass .clg-portal-hero,
    body.clg-brand-clearglass .clg-legal-hero,
    body.clg-brand-clearglass .clg-services-page-hero,
    body.clg-brand-clearglass .clg-contact-hero,
    body.clg-brand-clearglass .clg-loc-hero {
        padding-top: 176px !important;
        padding-bottom: 56px !important;
    }
}

/* Page-title heroes — same logo-blue band on every inner page */
body.clg-brand-clearglass .clg-page-title-hero,
body.clg-brand-clearglass .clg-page-title-hero--gradient,
body.clg-brand-clearglass .clg-referral-hero,
body.clg-brand-clearglass .clg-portal-hero,
body.clg-brand-clearglass .clg-legal-hero {
    background:
        radial-gradient(ellipse 90% 70% at 12% 8%, rgba(165, 213, 226, 0.28), transparent 55%),
        linear-gradient(145deg, #174A86 0%, #2160AD 55%, #2A78C4 100%) !important;
}

/* Keep the next block off the blue hero band */
body.clg-brand-clearglass .clg-page-title-hero + .clg-section,
body.clg-brand-clearglass .clg-page-title-hero + section,
body.clg-brand-clearglass .clg-about-body {
    padding-top: 72px !important;
}

body.clg-brand-clearglass .clg-page-title-hero .clg-block-head-kicker,
body.clg-brand-clearglass .clg-block-head--on-gradient .clg-block-head-kicker {
    color: var(--clg-ice) !important;
}

body.clg-brand-clearglass .clg-page-title-hero .clg-block-head-title,
body.clg-brand-clearglass .clg-page-title-hero .clg-block-head-desc,
body.clg-brand-clearglass .clg-page-title-hero h1,
body.clg-brand-clearglass .clg-block-head--on-gradient .clg-block-head-title,
body.clg-brand-clearglass .clg-block-head--on-gradient .clg-block-head-desc,
body.clg-brand-clearglass .clg-referral-hero-content h1,
body.clg-brand-clearglass .clg-referral-hero-content p {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

body.clg-brand-clearglass .clg-page-title-hero .clg-gradient-text,
body.clg-brand-clearglass .clg-block-head--on-gradient .clg-gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Centred page heroes don't use the left accent bar — it just floats mid-band */
body.clg-brand-clearglass .clg-page-title-hero .clg-block-head-divider,
body.clg-brand-clearglass .clg-block-head--on-gradient .clg-block-head-divider {
    display: none !important;
}

/* Quote button is logo-blue — it disappears on the blue page hero */
body.clg-brand-clearglass .clg-page-title-hero .clg-btn-primary,
body.clg-brand-clearglass .clg-page-title-hero--gradient .clg-btn-primary {
    background: #fff !important;
    color: var(--clg-sky-dark) !important;
    box-shadow: 0 10px 28px rgba(10, 30, 60, 0.28);
}

body.clg-brand-clearglass .clg-page-title-hero .clg-btn-primary:hover,
body.clg-brand-clearglass .clg-page-title-hero--gradient .clg-btn-primary:hover {
    background: var(--clg-ice) !important;
    color: var(--clg-sky-dark) !important;
}

body.clg-brand-clearglass .clg-page-title-hero .clg-btn-ghost {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #fff !important;
}

body.clg-brand-clearglass .clg-page-title-hero .clg-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* Photo heroes (legacy) — no Clear View electric blue on the highlight */
body.clg-brand-clearglass .clg-block-head--on-image .clg-block-head-kicker {
    color: var(--clg-ice) !important;
}
body.clg-brand-clearglass .clg-block-head--on-image .clg-gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
body.clg-brand-clearglass .clg-block-head--on-image .clg-block-head-divider {
    display: none !important;
}
body.clg-brand-clearglass .clg-referral-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(23, 74, 134, 0.42) 0%,
        rgba(33, 96, 173, 0.58) 55%,
        rgba(23, 74, 134, 0.72) 100%
    ) !important;
}

/* Payments / Make a Payment — kill leftover navy + #2F6FED */
body.clg-brand-clearglass .clg-payment-trust-item,
body.clg-brand-clearglass .clg-payment-card,
body.clg-brand-clearglass .clg-payment-aside-card {
    border-color: rgba(33, 96, 173, 0.14) !important;
    box-shadow: 0 18px 44px -28px rgba(33, 96, 173, 0.35);
}
body.clg-brand-clearglass .clg-payment-trust-icon {
    background: linear-gradient(135deg, var(--clg-sky-dark), var(--clg-sky)) !important;
}
body.clg-brand-clearglass .clg-payment-trust-item strong,
body.clg-brand-clearglass .clg-payment-aside-name,
body.clg-brand-clearglass .clg-payment-aside-card h3,
body.clg-brand-clearglass .clg-payment-aside-link {
    color: var(--clg-sky-dark) !important;
}
body.clg-brand-clearglass .clg-payment-aside-link:hover {
    color: var(--clg-sky) !important;
}
body.clg-brand-clearglass .clg-payment-step-num {
    background: rgba(33, 96, 173, 0.12) !important;
    color: var(--clg-sky-dark) !important;
}
body.clg-brand-clearglass .clg-payment-aside-card--muted,
body.clg-brand-clearglass .clg-payment-alt-pay {
    background: #E8F4F8 !important;
    border-color: rgba(33, 96, 173, 0.12) !important;
}
body.clg-brand-clearglass .clg-payment-form-wrap {
    border-color: rgba(33, 96, 173, 0.12) !important;
    box-shadow: 0 12px 32px rgba(33, 96, 173, 0.08) !important;
}
body.clg-brand-clearglass .clg-payment-form-wrap input:focus,
body.clg-brand-clearglass .clg-payment-form-wrap select:focus,
body.clg-brand-clearglass .clg-payment-form-wrap textarea:focus,
body.clg-brand-clearglass .clg-payment-form-wrap .ff-el-form-control:focus {
    border-color: var(--clg-sky) !important;
    box-shadow: 0 0 0 3px rgba(33, 96, 173, 0.16) !important;
}
body.clg-brand-clearglass .clg-payment-form-wrap .ff-btn-submit,
body.clg-brand-clearglass .clg-payment-form-wrap button[type="submit"],
body.clg-brand-clearglass .clg-payment-form-wrap input[type="submit"],
body.clg-brand-clearglass .clg-payment-form-wrap .gform_button {
    background: linear-gradient(135deg, var(--clg-sky-dark), var(--clg-sky)) !important;
}
body.clg-brand-clearglass .clg-payment-form-wrap .ff-btn-submit:hover,
body.clg-brand-clearglass .clg-payment-form-wrap button[type="submit"]:hover,
body.clg-brand-clearglass .clg-payment-form-wrap input[type="submit"]:hover,
body.clg-brand-clearglass .clg-payment-form-wrap .gform_button:hover {
    box-shadow: 0 8px 22px rgba(33, 96, 173, 0.28) !important;
}

body.clg-brand-clearglass .clg-service-pro .clg-svc-hero {
    background: linear-gradient(135deg, #174A86, #2160AD);
}

body.clg-brand-clearglass .clg-svc-hero-overlay {
    background: linear-gradient(115deg, rgba(23, 74, 134, 0.82) 0%, rgba(33, 96, 173, 0.55) 55%, rgba(165, 213, 226, 0.28) 100%);
}

/* ── Service detail pages ── */
body.clg-brand-clearglass .clg-svc-hero h1 {
    text-transform: none;
    letter-spacing: -0.03em;
}

body.clg-brand-clearglass .clg-svc-block h2 {
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--clg-title-color);
    padding-bottom: 10px;
    border-bottom: 3px solid rgba(35, 96, 173, 0.25);
    display: inline-block;
}

body.clg-brand-clearglass .clg-svc-card {
    border-radius: 18px;
    border: 1px solid rgba(35, 96, 173, 0.14);
}

body.clg-brand-clearglass .clg-svc-related-card {
    border-radius: 16px;
    border-left: 3px solid var(--sv-primary);
}

body.clg-brand-clearglass .clg-svc-ticks {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
body.clg-brand-clearglass .clg-svc-ticks li {
    position: relative;
    padding: 4px 0 4px 28px;
    color: var(--sv-text, #1e293b);
}
body.clg-brand-clearglass .clg-svc-ticks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sv-primary, #2160AD);
    font-weight: 700;
}
body.clg-brand-clearglass .clg-svc-faqs .clg-faq-grid {
    margin-top: 16px;
}

/* ── Footer: lighter top rule ── */
body.clg-brand-clearglass .clg-footer {
    border-top: 3px solid var(--sv-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEASONAL EFFECTS — lights/particles hang from under nav into hero
   No emoji. Message uses text-shadow + soft wash (not a white box).
   ═══════════════════════════════════════════════════════════════════════════ */

body.clg-brand-clearglass .clg-seasonal-effects {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

/* Kill old footer rule that hid most particles on mobile */
body.clg-brand-clearglass .clg-seasonal-effects > * {
    display: block !important;
}

body.clg-brand-clearglass .clg-seasonal-strand,
body.clg-brand-clearglass .clg-xmas-lights,
body.clg-brand-clearglass .clg-balloon-strand,
body.clg-brand-clearglass .clg-seasonal-snow,
body.clg-brand-clearglass .clg-seasonal-layer,
body.clg-brand-clearglass .clg-seasonal-corners {
    display: block !important;
}

/* Shared top strand — Christmas lights & New Year balloons hang under nav */
body.clg-brand-clearglass .clg-seasonal-strand,
body.clg-brand-clearglass .clg-xmas-lights,
body.clg-brand-clearglass .clg-balloon-strand {
    position: absolute;
    top: var(--clg-seasonal-hang, 140px);
    left: 0;
    right: 0;
    height: 56px;
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    padding: 4px 2% 0;
    z-index: 4;
}

body.clg-brand-clearglass .clg-seasonal-snow,
body.clg-brand-clearglass .clg-seasonal-layer {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--clg-seasonal-hang, 140px);
    bottom: 0;
    overflow: hidden;
    z-index: 3;
}

/* Corner spider webs — hero + sections */
body.clg-brand-clearglass .clg-seasonal-corners {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: visible;
}

body.clg-brand-clearglass .clg-seasonal-effects--under-nav .clg-seasonal-corners .clg-spiderweb {
    top: var(--clg-seasonal-hang, 140px);
}

body.clg-brand-clearglass .clg-seasonal-effects--section .clg-seasonal-corners .clg-spiderweb {
    top: 0;
}

/* Mid-page section strands sit at the section top (no nav offset) */
body.clg-brand-clearglass .clg-seasonal-effects--section .clg-seasonal-strand,
body.clg-brand-clearglass .clg-seasonal-effects--section .clg-xmas-lights,
body.clg-brand-clearglass .clg-seasonal-effects--section .clg-balloon-strand,
body.clg-brand-clearglass .clg-seasonal-effects--section .clg-seasonal-snow,
body.clg-brand-clearglass .clg-seasonal-effects--section .clg-seasonal-layer {
    top: 0;
}

body.clg-brand-clearglass .clg-seasonal-effects--section .clg-seasonal-strand,
body.clg-brand-clearglass .clg-seasonal-effects--section .clg-xmas-lights,
body.clg-brand-clearglass .clg-seasonal-effects--section .clg-balloon-strand {
    height: 48px;
    opacity: 0.92;
}

/* Page heroes that host under-nav effects */
body.clg-brand-clearglass .clg-contact-hero,
body.clg-brand-clearglass .clg-page-hero,
body.clg-brand-clearglass .clg-flex-hero,
body.clg-brand-clearglass .clg-svc-hero,
body.clg-brand-clearglass .clg-gallery-hero,
body.clg-brand-clearglass .clg-reviews-hero,
body.clg-brand-clearglass .clg-referral-hero,
body.clg-brand-clearglass .clg-news-hero,
body.clg-brand-clearglass .clg-portal-hero {
    position: relative;
    overflow: hidden;
}

body.clg-brand-clearglass .clg-strand-wire,
body.clg-brand-clearglass .clg-xmas-wire {
    position: absolute;
    top: 14px;
    left: 2%;
    right: 2%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(20, 20, 20, 0.55) 8%, rgba(20, 20, 20, 0.55) 92%, transparent);
    border-radius: 2px;
}

body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb {
    position: relative;
    width: 10px;
    height: 14px;
    margin-top: 10px;
    border-radius: 50% 50% 45% 45%;
    flex: 0 0 auto;
    transform-origin: top center;
    animation: hctBulbSway 3.2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.12s);
    box-shadow:
        0 0 8px currentColor,
        0 0 18px currentColor;
}

body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 2px;
    height: 8px;
    background: rgba(30, 30, 30, 0.65);
    transform: translateX(-50%);
}

body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb--0 { color: #f87171; background: #ef4444 !important; }
body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb--1 { color: #4ade80; background: #22c55e !important; }
body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb--2 { color: #60a5fa; background: #3b82f6 !important; }
body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb--3 { color: #fbbf24; background: #f59e0b !important; }

/* Never show the old fixed top-of-page light strand */
body.clg-brand-clearglass .clg-header-decoration,
body.clg-brand-clearglass .clg-christmas-lights {
    display: none !important;
}

@keyframes hctBulbSway {
    0%, 100% { transform: rotate(-6deg) translateY(0); filter: brightness(1); }
    50% { transform: rotate(6deg) translateY(2px); filter: brightness(1.25); }
}

/* Shared particles */
body.clg-brand-clearglass .clg-particle {
    position: absolute;
    top: -12px;
    left: var(--left, 10%);
    pointer-events: none;
    will-change: transform, opacity;
}

body.clg-brand-clearglass .clg-particle--snow {
    display: block !important;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 6px rgba(255, 255, 255, 0.95),
        0 0 14px rgba(186, 230, 253, 0.7);
    animation: hctSnowFall linear infinite;
    /* Fall distance must use vh/% of viewport — % in translate is relative to the flake itself */
    animation-duration: calc(9s + (var(--i) * 0.28s));
    animation-delay: calc(var(--i) * -0.45s);
    opacity: 0.95;
}

body.clg-brand-clearglass .clg-particle--snow.clg-particle--far {
    width: 5px;
    height: 5px;
    opacity: 0.7;
    filter: blur(0.35px);
}

body.clg-brand-clearglass .clg-particle--snow.clg-particle--near {
    width: 11px;
    height: 11px;
    opacity: 1;
}

@keyframes hctSnowFall {
    0% {
        transform: translate3d(0, -12px, 0);
        opacity: 0;
    }
    8% { opacity: 1; }
    92% { opacity: 0.9; }
    100% {
        transform: translate3d(28px, 100vh, 0);
        opacity: 0;
    }
}

/* Halloween — classic corner orb-webs + scuttling spider */
body.clg-brand-clearglass .clg-spiderweb {
    position: absolute;
    width: min(280px, 42vw);
    height: min(280px, 42vw);
    pointer-events: none;
}

body.clg-brand-clearglass .clg-spiderweb--left { left: 0; }
body.clg-brand-clearglass .clg-spiderweb--right { right: 0; }

body.clg-brand-clearglass .clg-spiderweb__svg {
    display: block;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.88);
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

body.clg-brand-clearglass.clg-light .clg-spiderweb__svg {
    color: rgba(30, 22, 14, 0.72);
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.9))
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

body.clg-brand-clearglass .clg-spider {
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    z-index: 2;
    color: #111;
    will-change: transform;
}

body.clg-brand-clearglass .clg-spider__icon {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.35));
}

body.clg-brand-clearglass.clg-light .clg-spider {
    color: #111;
}

body.clg-brand-clearglass .clg-spiderweb--right .clg-spider {
    left: auto;
    right: 0;
}

body.clg-brand-clearglass .clg-spider--left {
    animation: hctSpiderScuttleLeft 8s ease-in-out infinite;
}

body.clg-brand-clearglass .clg-spider--right {
    animation: hctSpiderScuttleRight 9s ease-in-out infinite;
    animation-delay: -3s;
}

/* Spider crawls along a web ring toward the corner then back */
@keyframes hctSpiderScuttleLeft {
    0%   { transform: translate(118px, 8px) scaleX(-1); }
    25%  { transform: translate(82px, 28px) scaleX(-1); }
    50%  { transform: translate(48px, 52px) scaleX(-1); }
    75%  { transform: translate(22px, 78px) scaleX(1); }
    100% { transform: translate(118px, 8px) scaleX(-1); }
}

@keyframes hctSpiderScuttleRight {
    0%   { transform: translate(-118px, 8px) scaleX(1); }
    25%  { transform: translate(-82px, 28px) scaleX(1); }
    50%  { transform: translate(-48px, 52px) scaleX(1); }
    75%  { transform: translate(-22px, 78px) scaleX(-1); }
    100% { transform: translate(-118px, 8px) scaleX(1); }
}

/* Legacy cobweb class — hide if any old markup remains */
body.clg-brand-clearglass .clg-cobweb {
    display: none !important;
}

body.clg-brand-clearglass .clg-particle--orb {
    display: none !important;
}

/* Kill any leftover bat particles from older markup */
body.clg-brand-clearglass .clg-particle--bat {
    display: none !important;
}

/* Easter petals */
body.clg-brand-clearglass .clg-particle--petal {
    width: 10px;
    height: 14px;
    border-radius: 60% 40% 60% 40%;
    background: hsl(calc(320 + var(--i) * 18), 70%, 78%);
    opacity: 0.75;
    animation: hctPetalFall 12s linear infinite;
    animation-delay: calc(var(--i) * -0.7s);
}

@keyframes hctPetalFall {
    0% { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    100% { transform: translate3d(-30px, 105vh, 0) rotate(280deg); opacity: 0; }
}

/* New Year — balloon strand (like Christmas lights) + confetti */
body.clg-brand-clearglass .clg-balloon-strand .clg-balloon {
    position: relative;
    width: 16px;
    height: 20px;
    margin-top: 12px;
    flex: 0 0 auto;
    border-radius: 50% 50% 45% 45%;
    transform-origin: top center;
    animation: hctBalloonSway 3.4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.14s);
    box-shadow:
        inset -3px -2px 6px rgba(0, 0, 0, 0.12),
        0 3px 10px rgba(0, 0, 0, 0.1);
}

body.clg-brand-clearglass .clg-balloon-strand .clg-balloon::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 1px;
    height: 10px;
    background: rgba(50, 50, 50, 0.45);
    transform: translateX(-50%);
}

body.clg-brand-clearglass .clg-balloon-strand .clg-balloon::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    width: 4px;
    height: 3px;
    background: currentColor;
    border-radius: 1px;
    transform: translateX(-50%);
    opacity: 0.75;
}

body.clg-brand-clearglass .clg-balloon--0 { background: #ef4444; color: #ef4444; }
body.clg-brand-clearglass .clg-balloon--1 { background: #2360AD; color: #2360AD; }
body.clg-brand-clearglass .clg-balloon--2 { background: #fbbf24; color: #fbbf24; }
body.clg-brand-clearglass .clg-balloon--3 { background: #a78bfa; color: #a78bfa; }

@keyframes hctBalloonSway {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(2px); }
}

body.clg-brand-clearglass .clg-particle--confetti {
    width: 6px;
    height: 12px;
    border-radius: 1px;
    animation: hctConfettiFall 8s linear infinite;
    animation-delay: calc(var(--i) * -0.28s);
}

body.clg-brand-clearglass .clg-particle--c0 { background: #2360AD; }
body.clg-brand-clearglass .clg-particle--c1 { background: #fbbf24; }
body.clg-brand-clearglass .clg-particle--c2 { background: #ffffff; }
body.clg-brand-clearglass .clg-particle--c3 { background: #1A4E8C; }

@keyframes hctConfettiFall {
    0% { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 0; }
    8% { opacity: 1; }
    100% { transform: translate3d(40px, 105vh, 0) rotate(540deg); opacity: 0; }
}

/* Valentine hearts (CSS shape, no emoji) */
body.clg-brand-clearglass .clg-particle--heart {
    width: 12px;
    height: 12px;
    background: #f472b6;
    transform: rotate(-45deg);
    opacity: 0.75;
    animation: hctHeartFall 11s linear infinite;
    animation-delay: calc(var(--i) * -0.6s);
    box-shadow: 0 0 10px rgba(244, 114, 182, 0.35);
}

body.clg-brand-clearglass .clg-particle--heart::before,
body.clg-brand-clearglass .clg-particle--heart::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f472b6;
}

body.clg-brand-clearglass .clg-particle--heart::before { top: -6px; left: 0; }
body.clg-brand-clearglass .clg-particle--heart::after { top: 0; left: 6px; }

@keyframes hctHeartFall {
    0% { transform: translate3d(0, -20px, 0) rotate(-45deg) scale(0.8); opacity: 0; }
    12% { opacity: 0.8; }
    100% { transform: translate3d(22px, 105vh, 0) rotate(-20deg) scale(1); opacity: 0; }
}

/* Seasonal message — fancy script, still readable; no white box */
body.clg-brand-clearglass .clg-seasonal-banner {
    display: block;
    margin: 0 0 18px;
    max-width: 36rem;
    position: relative;
    z-index: 5;
}

body.clg-brand-clearglass .clg-seasonal-banner-inner,
body.clg-brand-clearglass .clg-seasonal-banner {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    animation: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

body.clg-brand-clearglass .clg-seasonal-message {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 10px 6px 12px;
    font-family: "Dancing Script", "Segoe Script", "Apple Chancery", cursive;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: #fff !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.75),
        0 2px 14px rgba(0, 0, 0, 0.6),
        0 0 28px rgba(0, 0, 0, 0.4);
}

/* Soft dark wash only behind the message text — not a boxed panel */
body.clg-brand-clearglass .clg-seasonal-message::before {
    content: "";
    position: absolute;
    inset: -6px -18px -8px;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(8, 16, 28, 0.45) 0%, rgba(8, 16, 28, 0.18) 55%, transparent 78%);
    pointer-events: none;
}

body.clg-brand-clearglass .clg-seasonal-character-custom {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin: 0 0 8px;
    display: block;
    animation: none !important;
}

body.clg-brand-clearglass .clg-seasonal-character-emoji {
    display: none !important;
}

/* Side-bg / photo heroes already dark — keep message white */
body.clg-brand-clearglass .clg-hero-mode-side.clg-hero-has-bg .clg-seasonal-message,
body.clg-brand-clearglass .clg-hero-mode-background .clg-seasonal-message {
    color: #fff !important;
}

@media (max-width: 768px) {
    body.clg-brand-clearglass .clg-seasonal-strand,
    body.clg-brand-clearglass .clg-xmas-lights,
    body.clg-brand-clearglass .clg-balloon-strand {
        height: 44px;
        padding: 2px 1% 0;
    }
    body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb {
        width: 8px;
        height: 11px;
    }
    body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb:nth-child(n+16),
    body.clg-brand-clearglass .clg-balloon-strand .clg-balloon:nth-child(n+16) {
        display: none !important;
    }
    body.clg-brand-clearglass .clg-balloon-strand .clg-balloon {
        width: 12px;
        height: 16px;
    }
    body.clg-brand-clearglass .clg-spiderweb {
        width: min(200px, 46vw);
        height: min(200px, 46vw);
    }
    body.clg-brand-clearglass .clg-spider {
        width: 20px;
        height: 20px;
    }
    body.clg-brand-clearglass .clg-seasonal-snow .clg-particle--snow:nth-child(n+24),
    body.clg-brand-clearglass .clg-seasonal-layer .clg-particle--confetti:nth-child(n+16),
    body.clg-brand-clearglass .clg-seasonal-layer .clg-particle--petal:nth-child(n+10),
    body.clg-brand-clearglass .clg-seasonal-layer .clg-particle--heart:nth-child(n+9) {
        display: none !important;
    }
    body.clg-brand-clearglass .clg-seasonal-message {
        font-size: 1.45rem;
    }
}

/* Homepage hero: centre the copy in the viewport, not under the nav */
body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg {
    display: flex;
    align-items: center !important;
    padding-top: 112px !important;
    padding-bottom: 72px !important;
}
@media (min-width: 1024px) {
    body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg {
        padding-top: 120px !important;
        padding-bottom: 80px !important;
    }
}
@media (max-width: 768px) {
    /* First-screen hero: fill the phone viewport and space the copy out */
    body.clg-brand-clearglass .clg-hero.clg-hero-mode-side.clg-hero-has-bg,
    body.clg-brand-clearglass .clg-hero.clg-hero-mode-background {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        min-height: 100svh !important;
        min-height: 100dvh !important;
        padding-top: calc(42px + var(--sv-nav-h-mobile, 78px) + 40px) !important;
        padding-bottom: 36px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.clg-brand-clearglass .clg-hero.clg-hero-has-bg .clg-hero-inner,
    body.clg-brand-clearglass .clg-hero.clg-hero-mode-background .clg-hero-inner,
    body.clg-brand-clearglass .clg-hero.clg-hero-mode-side .clg-hero-inner {
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 8px !important;
        gap: 0 !important;
    }

    body.clg-brand-clearglass .clg-hero .clg-hero-content {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 0 0 auto;
        gap: 0;
        width: 100%;
        max-width: 100% !important;
        padding: 12px 0 88px;
        margin: 0 !important;
        min-height: 0;
    }

    body.clg-brand-clearglass .clg-hero-chips {
        gap: 8px;
        margin: 0 0 28px;
        width: 100%;
    }

    body.clg-brand-clearglass .clg-hero-chip {
        padding: 7px 13px;
        font-size: 12px;
    }

    body.clg-brand-clearglass .clg-hero .clg-hero-rotate {
        margin: 0 0 16px;
    }

    body.clg-brand-clearglass .clg-hero h1.clg-hero-title,
    body.clg-brand-clearglass .clg-hero h1 {
        line-height: 1.12;
        margin: 0 0 22px !important;
    }

    body.clg-brand-clearglass .clg-hero .clg-hero-description {
        line-height: 1.7;
        max-width: 100%;
        margin: 0 0 28px !important;
    }

    body.clg-brand-clearglass .clg-hero .clg-hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    body.clg-brand-clearglass .clg-dock-wa {
        display: none !important;
    }

    body.clg-brand-clearglass .clg-hero .clg-hero-buttons .clg-btn {
        width: 100%;
        justify-content: center;
    }

    body.clg-brand-clearglass .clg-mobile-menu-content {
        padding: 28px 22px 100px;
    }

    body.clg-brand-clearglass .clg-mobile-menu-header {
        margin-bottom: 26px;
    }

    body.clg-brand-clearglass .clg-mobile-menu-logo {
        max-width: calc(100% - 56px);
    }

    body.clg-brand-clearglass .clg-mobile-menu-logo-img {
        max-width: min(300px, 78vw);
        max-height: 76px;
    }

    body.clg-brand-clearglass .clg-mobile-menu-logo-text {
        font-size: 1.35rem;
    }
}

/* Instant quote widget + Call / Quote / Email bar — desktop only */
@media (max-width: 968px) {
    body.clg-brand-clearglass .clg-hero-media-widget,
    body.clg-brand-clearglass .clg-hero-image:has(.clg-hero-media-widget) {
        display: none !important;
    }

    body.clg-brand-clearglass .clg-contact-bar {
        display: none !important;
    }

    body.clg-brand-clearglass .clg-hero.clg-hero-mode-side .clg-hero-inner {
        gap: 24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* Light heroes — keep flakes readable against pale skies */
body.clg-brand-clearglass.clg-light .clg-particle--snow {
    background: #e0f2fe;
    box-shadow:
        0 0 5px rgba(255, 255, 255, 0.95),
        0 0 12px rgba(56, 189, 248, 0.55);
}

/* ── Pricing: Glass (modern) ─────────────────────────────────── */
body.clg-brand-clearglass .clg-pricing--modern {
    background:
        radial-gradient(1200px 420px at 12% -10%, rgba(165, 213, 226, 0.55), transparent 60%),
        radial-gradient(900px 380px at 92% 8%, rgba(33, 96, 173, 0.12), transparent 55%),
        linear-gradient(180deg, #f4fafc 0%, #e8f4f8 100%);
}
body.clg-brand-clearglass .clg-pricing--modern.clg-section-alt {
    background:
        radial-gradient(1100px 400px at 80% -8%, rgba(165, 213, 226, 0.5), transparent 58%),
        linear-gradient(180deg, #eef7fb 0%, #f8fbfd 100%);
}
body.clg-brand-clearglass .clg-pricing--modern .clg-block-head-title span {
    color: #2160AD !important;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table-wrap {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82) 0%, rgba(232, 244, 248, 0.45) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 28px 70px -32px rgba(23, 74, 134, 0.5),
        0 10px 28px -14px rgba(33, 96, 173, 0.18);
    backdrop-filter: blur(22px) saturate(1.45);
    -webkit-backdrop-filter: blur(22px) saturate(1.45);
    overflow: hidden;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%);
    pointer-events: none;
    z-index: 1;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table {
    table-layout: fixed;
    width: 100%;
    min-width: 720px;
    background: transparent;
    position: relative;
    z-index: 2;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-col-prop { width: 15%; }
body.clg-brand-clearglass .clg-pricing--modern .clg-col-price { width: 18%; }
body.clg-brand-clearglass .clg-pricing--modern .clg-col-action { width: 13%; }
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table thead th {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 38%),
        linear-gradient(135deg, #174A86 0%, #2160AD 62%, #2a78c4 100%);
    color: #fff;
    border: 0;
    border-bottom: 1px solid rgba(165, 213, 226, 0.4);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 16px 10px;
    text-align: center;
    vertical-align: bottom;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table thead th:first-child,
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table thead th.clg-price-action-h {
    font-size: 11px;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table thead th:first-child {
    text-align: left;
    padding-left: 18px;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-th-icon {
    display: none;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-th-label {
    display: block;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-group th {
    background: rgba(165, 213, 226, 0.38);
    color: #174A86;
    border: 0;
    border-bottom: 1px solid rgba(33, 96, 173, 0.14);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 11px 18px;
    text-align: left;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table td {
    display: table-cell;
    background: rgba(255, 255, 255, 0.22);
    border: 0;
    border-bottom: 1px solid rgba(33, 96, 173, 0.09);
    color: #174A86;
    padding: 16px 10px;
    text-align: center;
    vertical-align: middle;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-table td.clg-price-prop {
    text-align: left;
    padding-left: 18px;
    color: #174A86;
    font-weight: 700;
    font-size: 15px;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.6em;
    padding: 8px 14px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.72) 100%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #2160AD;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 4px 16px -6px rgba(23, 74, 134, 0.35),
        0 0 0 1px rgba(165, 213, 226, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-pill--empty {
    min-width: 2.5em;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(165, 213, 226, 0.35);
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-action {
    text-align: center;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #2160AD;
    white-space: nowrap;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-pricing-row:hover,
body.clg-brand-clearglass .clg-pricing--modern .clg-pricing-row:focus {
    background: rgba(165, 213, 226, 0.28);
    outline: none;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-pricing-row:hover .clg-price-pill,
body.clg-brand-clearglass .clg-pricing--modern .clg-pricing-row:focus .clg-price-pill {
    color: #174A86;
    background: #fff;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 0 0 3px rgba(165, 213, 226, 0.55),
        0 6px 18px -8px rgba(33, 96, 173, 0.35);
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-mobile-group-title {
    background: rgba(165, 213, 226, 0.35);
    color: #174A86;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48));
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 32px -18px rgba(23, 74, 134, 0.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-card-chip {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(165, 213, 226, 0.65);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
body.clg-brand-clearglass .clg-pricing--modern .clg-price-card:hover,
body.clg-brand-clearglass .clg-pricing--modern .clg-price-card:focus {
    border-color: #2160AD;
    box-shadow: 0 0 0 3px rgba(165, 213, 226, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    body.clg-brand-clearglass .clg-particle,
    body.clg-brand-clearglass .clg-spider,
    body.clg-brand-clearglass .clg-balloon-strand .clg-balloon,
    body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb {
        animation: none !important;
    }
    body.clg-brand-clearglass .clg-particle {
        display: none;
    }
    body.clg-brand-clearglass .clg-spider--left {
        transform: translate(72px, 36px);
    }
    body.clg-brand-clearglass .clg-spider--right {
        transform: translate(-72px, 36px);
    }
    body.clg-brand-clearglass .clg-balloon-strand .clg-balloon,
    body.clg-brand-clearglass .clg-xmas-lights .clg-xmas-bulb {
        filter: none;
        transform: none;
    }
}

/* Page heroes: space between title and secondary copy */
body.clg-brand-clearglass .clg-page-title-hero .clg-block-head-title {
    margin-bottom: 22px !important;
}

body.clg-brand-clearglass .clg-page-title-hero .clg-block-head-desc {
    margin-top: 0;
}

body.clg-brand-clearglass .clg-page-hero-lede {
    max-width: 38rem;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    line-height: 1.7;
}

body.clg-brand-clearglass .clg-page-hero-lede p {
    margin: 0 0 1em;
}

body.clg-brand-clearglass .clg-page-hero-lede p:last-child {
    margin-bottom: 0;
}

body.clg-brand-clearglass .clg-page-hero-ticks {
    list-style: none;
    margin: 0 auto 1.15em;
    padding: 0;
    display: inline-block;
    text-align: left;
}

body.clg-brand-clearglass .clg-page-hero-ticks li {
    position: relative;
    padding-left: 1.45em;
    margin: 0.28em 0;
    font-weight: 600;
}

body.clg-brand-clearglass .clg-page-hero-ticks li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-weight: 700;
}

body.clg-brand-clearglass .clg-hero .clg-hero-description p {
    margin: 0 0 0.95em;
}

body.clg-brand-clearglass .clg-hero .clg-hero-description p:last-child {
    margin-bottom: 0;
}

body.clg-brand-clearglass .clg-legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--sv-bg-card);
    border: 1px solid var(--sv-border);
    border-radius: 20px;
    padding: 40px 32px 56px;
}

body.clg-brand-clearglass .clg-legal-text {
    color: #1e293b;
    line-height: 1.85;
    font-size: 16px;
}

body.clg-brand-clearglass .clg-legal-text h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2.15em 0 0.85em;
    line-height: 1.35;
}

body.clg-brand-clearglass .clg-legal-text h2:first-child {
    margin-top: 0;
}

body.clg-brand-clearglass .clg-legal-text p {
    margin: 0 0 1.2em;
}

body.clg-brand-clearglass .clg-legal-text p:last-child {
    margin-bottom: 0;
}

body.clg-brand-clearglass .clg-mega-card-body strong {
    display: block;
}

@media (max-width: 768px) {
    body.clg-brand-clearglass .clg-legal-content {
        padding: 28px 20px 40px;
    }

    body.clg-brand-clearglass .clg-page-title-hero .clg-block-head-title {
        margin-bottom: 20px !important;
    }
}
