* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow: visible;
    height: auto;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("font/Proxima Nova Reg.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("font/Proxima Nova Sbold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("font/Proxima Nova Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Central Hudson Primary Colors */
    --ch-navy: #00234F;        /* Pantone 655 C — dark navy */
    --ch-gold: #F3CA6D;        /* Pantone 2008 C — gold/yellow */

    /* Central Hudson Secondary Colors */
    --ch-steel-blue: #437AB1;  /* Pantone 7689 C */
    --ch-light-gray: #CFD4DF;  /* Pantone 650 C */
    --ch-slate: #556382;       /* Pantone 2374 C */
    --ch-cream: #F1E8CB;       /* Pantone 7499 C */

    /* Central Hudson Neutral Colors */
    --ch-neutral-50: #EDECED;  /* Pantone Cool Gray 1 C */
    --ch-neutral-100: #DDDDDD; /* Pantone 2330 C */
    --ch-neutral-400: #7D828A; /* Pantone 431 C */

    /* Central Hudson Digital Colors */
    --ch-digital-blue: #006EAD;
    --ch-digital-green: #24A159;
    --ch-digital-red: #FF0000;
    --ch-digital-dark: #464856;

    /* Semantic brand scale */
    --brand-50: #CFD4DF;
    --brand-100: #F1E8CB;
    --brand-200: #F3CA6D;
    --brand-300: #437AB1;
    --brand-400: #006EAD;
    --brand-500: #006EAD;
    --brand-600: #437AB1;
    --brand-700: #00234F;
    --brand-800: #464856;
    --brand-900: #1a1c22;

    --slate-50: #EDECED;
    --slate-100: #DDDDDD;
    --slate-200: #CFD4DF;
    --slate-300: #7D828A;
    --slate-400: #556382;
    --slate-500: #464856;
    --slate-600: #3a3c49;
    --slate-700: #2e3038;
    --slate-800: #222428;
    --slate-900: #16181c;

    --ch-accent: #F3CA6D;      /* gold accent */
    --ch-green: #24A159;       /* digital green */

    --primary: var(--ch-digital-blue);
    --primary-strong: var(--ch-steel-blue);
    --primary-dark: var(--ch-navy);
    --surface: #ffffff;
    --surface-muted: var(--slate-50);
    --border: var(--slate-200);
    --text: var(--ch-navy);

    /* Slider track colors */
    --slider-fill: #00234F;
    --slider-track-bg: #ffffff;
    --slider-border: #00234F;
    --slider-thumb: #006EAD;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--surface-muted);
    color: var(--text);
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.numeric {
    font-family: Arial, sans-serif;
}

.container {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.hidden {
    display: none !important;
}

/* ── Slider Card — fixed height so all screens match ─── */

.slider-card {
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    /* Fixed height keeps card identical on question AND answer view */
    height: 680px;
    display: flex;
    flex-direction: column;
}

.q-view,
.a-view {
    height: 680px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* ── Question view ───────────────────────────────────── */

.question-hero {
    width: 100%;
    line-height: 0;
    flex-shrink: 0;
}

/* Only targets the plain <img> fallback (answer hero still uses it) */
.question-hero > img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.question-content {
    padding: 44px 40px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.question-text {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    line-height: 1.35;
    margin-bottom: 28px;
    text-wrap: pretty;
}

/* ── Slider ──────────────────────────────────────────── */

.slider-section {
    position: relative;
    margin-bottom: 0;
}

/* Custom visual track — sits behind the invisible native input */
.slider-custom-track {
    position: relative;
    height: 56px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.slider-track-bg {
    position: absolute;
    left: 0; right: 0;
    height: 18px;
    border-radius: 999px;
    border: 2.5px solid var(--slider-border);
    background: var(--slider-track-bg);
}

.slider-track-fill {
    position: absolute;
    left: 0;
    height: 18px;
    border-radius: 999px;
    background: var(--slider-fill);
    width: 50%;
    pointer-events: none;
}

.slider-emoji-handle {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
    transition: left 0.05s linear;
}

#q-view-res-1 .slider-emoji-handle,
#q-view-com-1 .slider-emoji-handle {
    transform: translateX(-50%) translateY(-75%) scaleX(-1);
    display: flex;
    align-items: flex-end;
    gap: 4px;
    width: auto;
    height: auto;
}

#q-view-res-1 .slider-car-img,
#q-view-com-1 .slider-car-img {
    width: 56px;
    height: 56px;
}

#q-view-res-1 .slider-battery-img,
#q-view-com-1 .slider-battery-img {
    width: 26px;
    height: 26px;
}

/* Native input — invisible overlay, handles all interaction */
.q-slider {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 56px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    margin: 0;
    display: block;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

/* ── Yes / No buttons (residential route) ───────────── */

.yn-section {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 12px 0 4px;
}

.yn-btn {
    flex: 1;
    max-width: 180px;
    padding: 18px 0;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
}

.yn-yes {
    background: var(--ch-digital-blue);
    color: white;
    border-color: var(--ch-digital-blue);
    box-shadow: 0 4px 14px rgba(0, 110, 173, 0.25);
}

.yn-yes:hover {
    background: var(--ch-steel-blue);
    border-color: var(--ch-steel-blue);
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 110, 173, 0.38);
}

.yn-no {
    background: var(--ch-digital-blue);
    color: white;
    border-color: var(--ch-digital-blue);
    box-shadow: 0 4px 14px rgba(0, 110, 173, 0.25);
}

.yn-no:hover {
    background: var(--ch-steel-blue);
    border-color: var(--ch-steel-blue);
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 110, 173, 0.38);
}

/* Footer with only prev-btn (no centered submit) */
.yn-footer {
    display: flex;
    justify-content: flex-start;
    padding: 16px 0 24px;
    margin-top: auto;
}

/* ── Score badge in hero banner ─────────────────────── */

.bh-score {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 4;
    background: rgba(0, 35, 79, 0.85);
    border: 2px solid rgba(243, 202, 109, 0.7);
    border-radius: 50px;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    gap: 9px;
    backdrop-filter: blur(4px);
}

.bh-score-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.bh-score-value {
    color: var(--ch-gold);
    font-size: 1.35rem;
    font-weight: 700;
    font-family: Arial, sans-serif;
}


/* ── Question footer / Submit ────────────────────────── */

.question-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 24px 0 28px;
    margin-top: auto; /* push to bottom of question-content */
}

.question-footer .prev-btn {
    justify-self: start;
}

.question-footer .submit-btn {
    grid-column: 2;
}

.submit-btn {
    background-color: var(--primary-strong);
    color: white;
    border: none;
    padding: 14px 52px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 14px rgba(0, 35, 79, 0.22);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 35, 79, 0.3);
}

/* ── Answer view ─────────────────────────────────────── */

.answer-hero {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.answer-hero > img:first-child {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* All overlays hidden by default */
.overlay-highfive,
.overlay-badge,
.overlay-badge2 {
    display: none;
}

/* ── Tier: High Five (progress > 80%, slider 0–20) ─── */

.answer-hero.show-highfive .overlay-highfive {
    display: block;
    position: absolute;
    inset: 0;
}

/* hero-1-mask.png multiplied: white → photo shows through, blue → tints dark */
.yes-mask {
    position: absolute;
    inset: 0;
    background: url('images/hero-1-mask.png') center / cover no-repeat;
    mix-blend-mode: multiply;
    opacity: 0.88;
}

.high-five-text {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
    text-align: right;
    font-family: Arial, sans-serif;
}

/* ── Tier: Badge (progress 40–80%, slider 20–60) ─────── */

.answer-hero.show-badge .overlay-badge {
    display: block;
    position: absolute;
    top: 12px;
    left: 12px;
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

/* ── Tier: Badge 2 (progress < 40%, slider 60–100) ───── */
/* Reminder card sits bottom-left, like the PDF reference */

.answer-hero.show-badge2 .overlay-badge2 {
    display: block;
    position: absolute;
    bottom: 18px;
    left: 18px;
    width: 300px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.25));
}

/* ── Answer content (below image) ────────────────────── */

.answer-content {
    flex: 1;
    padding: 28px 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.answer-content .answer-buttons {
    margin-top: auto;
}

.answer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ch-navy);
    margin-bottom: 12px;
    font-family: "Myriad Pro", "Source Sans 3", sans-serif;
    text-wrap: pretty;
}

.answer-body-text {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 26px;
    font-weight: 400;
}

.answer-body-text strong {
    font-weight: 700;
}

.answer-buttons {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.answer-buttons .prev-btn {
    justify-self: start;
}

.answer-buttons .next-btn,
.answer-buttons .submit-btn {
    grid-column: 2;
}

.learn-more-btn {
    background-color: var(--primary-strong);
    color: white;
    text-decoration: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    font-family: inherit;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 5px 14px rgba(0, 35, 79, 0.22);
    display: inline-block;
}

.learn-more-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.next-btn {
    display: inline-block;
    text-decoration: none;
    background: transparent;
    color: var(--primary-strong);
    border: 2.5px solid var(--primary-strong);
    padding: 13px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.next-btn:hover {
    background-color: var(--primary-strong);
    color: white;
    transform: translateY(-2px);
}

.prev-btn {
    background: transparent;
    border: none;
    color: var(--ch-navy);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}

.prev-btn:hover {
    background: var(--ch-navy);
    color: white;
}

.contact-prev-wrap {
    margin-top: 16px;
}

.contact-prev-btn {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.7);
}

.contact-prev-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: white;
}

/* ── Progress bar ────────────────────────────────────── */

.progress-section {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(420px, 100%);
    align-items: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 25px;
    background-color: #e1e3e5;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.35s ease;
    border-radius: 999px;
    min-width: 48px;
}

.progress-text {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: white;
    font-weight: 700;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    font-family: "Myriad Pro", "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
}

/* ── Result Page ─────────────────────────────────────── */

.result-container {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.result-image {
    width: 100%;
    height: auto;
    display: block;
}

.result-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    padding: 54px 52px;
    background: linear-gradient(90deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.16) 55%, rgba(255,255,255,0) 85%);
}

.result-overlay.right-align {
    align-items: flex-end;
    text-align: right;
}

.result-title {
    color: var(--primary-dark);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    white-space: pre-line;
    text-shadow: 0 3px 10px rgba(255,255,255,0.55);
}

.result-description {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin: 0 0 22px;
    text-shadow: 0 3px 10px rgba(255,255,255,0.55);
    line-height: 1.45;
    max-width: 520px;
    white-space: pre-line;
}

.restart-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 6px 14px rgba(0, 35, 79, 0.22);
}

.restart-button:hover {
    background-color: var(--primary-strong);
    transform: translateY(-2px);
}

.com-start-desc {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 26px;
    font-weight: 400;
    text-align: center;
}

.res-start-title {
    line-height: 1.2;
}

.res-start-highlight {
    font-size: 1.3em;
    color: var(--ch-navy);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    /* Landing */
    .landing-card {
        height: auto;
        min-height: 520px;
    }

    .landing-header {
        padding: 24px 20px 20px;
    }

    .landing-title {
        font-size: 1.5rem;
    }

    .landing-choices {
        flex-direction: column;
    }

    .choice-card {
        padding: 28px 20px;
        gap: 8px;
    }

    .choice-icon {
        width: 64px;
        height: 64px;
    }

    .choice-label {
        font-size: 1.5rem;
    }

    .question-hero img,
    .answer-hero > img:first-child {
        height: 240px;
    }

    .question-content {
        padding: 20px 20px 0;
    }

    .question-text {
        font-size: 1.15rem;
        margin-bottom: 22px;
    }

    .slider-emoji-handle {
        width: 34px;
        height: 34px;
    }

    .yn-btn {
        font-size: 1.1rem;
        padding: 15px 0;
    }

    .bh-score {
        padding: 7px 14px;
        top: 12px;
        right: 14px;
    }

    .bh-score-label {
        font-size: 0.82rem;
    }

    .bh-score-value {
        font-size: 1.1rem;
    }


    .high-five-text {
        font-size: 2.2rem;
    }

    .answer-content {
        padding: 20px 20px 24px;
    }

    .answer-body-text {
        font-size: 1rem;
    }

    .answer-buttons {
        flex-direction: column;
        align-items: center;
    }

    .learn-more-btn,
    .next-btn {
        width: 100%;
        text-align: center;
        padding: 13px 20px;
    }

    .overlay-badge {
        width: 180px !important;
        height: 180px !important;
    }

    .overlay-badge2 {
        width: 200px !important;
        height: auto !important;
    }

    .slider-card,
    .q-view,
    .a-view {
        height: auto;
        min-height: 560px;
    }

    /* Result page */
    .result-title {
        font-size: 1.8rem;
        margin-top: 2rem;
    }

    .result-description {
        font-size: 1rem;
    }

    .result-overlay {
        padding: 20px;
    }

    .result-container {
        min-height: 520px;
        position: relative;
    }

    .result-container picture,
    .result-container .result-image {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .result-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 2;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px;
        padding: 30px 24px;
        background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0) 100%);
    }

    .result-title {
        font-size: 2rem;
        margin-top: 0;
    }

    .result-description {
        font-size: 1.1rem;
        max-width: 280px;
    }

    .restart-button {
        margin-top: auto;
        margin-bottom: 20px;
    }
}

/* ══════════════════════════════════════════════════════════
   LANDING SCREEN
   ══════════════════════════════════════════════════════════ */

.landing-card {
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    height: 680px;
    display: flex;
    flex-direction: column;
}

.landing-header {
    background: var(--ch-navy);
    padding: 32px 48px 28px;
    text-align: center;
    flex-shrink: 0;
}

.landing-logo {
    height: 44px;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.landing-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-family: "Myriad Pro", "Source Sans 3", sans-serif;
    line-height: 1.2;
}

.landing-accent-line {
    width: 56px;
    height: 4px;
    background: var(--ch-gold);
    margin: 0 auto 14px;
    border-radius: 2px;
}

.landing-subtitle {
    font-size: 1rem;
    color: var(--ch-light-gray);
    line-height: 1.5;
    margin: 0;
}

.landing-choices {
    flex: 1;
    display: flex;
    min-height: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    background: url('images/ch-6.jpeg') center / cover no-repeat;
}

.choice-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.18s ease;
    font-family: inherit;
    padding: 32px 20px;
}

.choice-card:hover {
    filter: brightness(0.91);
    transform: scale(0.985);
}

.choice-card:disabled:hover,
.choice-card:disabled:active {
    filter: none;
    transform: none;
}

.choice-card:active {
    transform: scale(0.97);
}

.choice-residential {
    background: var(--ch-navy);
}

.choice-commercial {
    background: var(--ch-gold);
}

.choice-commercial:disabled {
    background: #b7bcc8;
    cursor: not-allowed;
    filter: grayscale(1);
}

.choice-icon {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 8px;
}

.choice-residential .choice-icon {
    filter: brightness(0) invert(1);
}

.choice-commercial .choice-icon {
    filter: brightness(0);
    opacity: 0.75;
}

.choice-label {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
}

.choice-sublabel {
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.8;
}

.choice-residential .choice-label,
.choice-residential .choice-sublabel {
    color: white;
}

.choice-commercial .choice-label,
.choice-commercial .choice-sublabel {
    color: var(--ch-navy);
}

/* ══════════════════════════════════════════════════════════
   CONTACT SCREEN
   ══════════════════════════════════════════════════════════ */

.contact-card {
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    height: 680px;
    display: flex;
    flex-direction: column;
}

.contact-image-wrap {
    flex-shrink: 0;
    line-height: 0;
}

.contact-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.contact-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 48px 24px;
    background: var(--ch-navy);
}

.contact-body .next-btn {
    color: #ffffff;
    border-color: #ffffff;
}

.contact-body .next-btn:hover {
    background-color: #ffffff;
    color: var(--ch-navy);
}

.contact-body .submit-btn {
    background-color: var(--ch-gold);
    color: var(--ch-navy);
    box-shadow: 0 5px 14px rgba(243, 202, 109, 0.35);
}

.contact-body .submit-btn:hover {
    background-color: #e8b94a;
    color: var(--ch-navy);
    box-shadow: 0 8px 20px rgba(243, 202, 109, 0.5);
}

.contact-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    font-family: "Myriad Pro", "Source Sans 3", sans-serif;
    line-height: 1.2;
}

#contact-res-title {
    font-size: 2rem;
}

.contact-res-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ch-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.contact-accent-line {
    width: 56px;
    height: 4px;
    background: var(--ch-gold);
    margin: 0 auto 12px;
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--ch-light-gray);
    line-height: 1.5;
    margin: 0 0 16px;
    max-width: 520px;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-cta-btn {
    display: inline-block;
    text-decoration: none;
}

.contact-cta-btn:hover {
    background-color: var(--ch-gold);
    color: var(--ch-navy);
    box-shadow: 0 8px 20px rgba(243, 202, 109, 0.4);
}

/* ── Residential contact eligible devices link ─────────── */
.contact-eligible-link {
    display: inline-block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.contact-eligible-link:hover {
    color: var(--ch-gold);
}

/* ── Mailchimp form overrides (both contact screens) ── */
#mc_embed_shell,
#mc_embed_shell_com {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 12px;
    text-align: left;
}

#mc_embed_signup,
#mc_embed_signup_com {
    background: transparent !important;
    padding: 0 !important;
}

#mc_embed_signup h2,
#mc_embed_signup_com h2 {
    display: none;
}

#mc_embed_signup .indicates-required,
#mc_embed_signup_com .indicates-required {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    text-align: right;
    margin-bottom: 12px;
}

#mc_embed_signup .asterisk,
#mc_embed_signup_com .asterisk {
    color: #e85c41;
}

#mc_embed_signup .mc-field-group,
#mc_embed_signup_com .mc-field-group {
    margin-bottom: 10px;
    padding-bottom: 0 !important;
    width: 100% !important;
}

#mc_embed_signup .mc-field-group label,
#mc_embed_signup_com .mc-field-group label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    display: block !important;
    margin-bottom: 5px !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}

#mc_embed_signup .mc-field-group input,
#mc_embed_signup_com .mc-field-group input {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color 0.2s, background 0.2s !important;
    height: auto !important;
    margin: 0 !important;
}

#mc_embed_signup .mc-field-group input::placeholder,
#mc_embed_signup_com .mc-field-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

#mc_embed_signup .mc-field-group input:focus,
#mc_embed_signup_com .mc-field-group input:focus {
    border-color: var(--ch-gold);
    background: rgba(255, 255, 255, 0.15);
}

#mc_embed_signup .clear,
#mc_embed_signup_com .clear {
    margin-top: 24px;
}

#mc_embed_signup .button,
#mc-embedded-subscribe,
#mc_embed_signup_com .button,
#mc-embedded-subscribe-com {
    width: 100% !important;
    padding: 13px 0 !important;
    border-radius: 50px !important;
    background: var(--ch-gold) !important;
    color: var(--ch-navy) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 5px 14px rgba(243, 202, 109, 0.35) !important;
    text-align: center !important;
    display: block !important;
}

#mc_embed_signup .button:hover,
#mc-embedded-subscribe:hover,
#mc_embed_signup_com .button:hover,
#mc-embedded-subscribe-com:hover {
    background: #e8b94a !important;
    box-shadow: 0 8px 20px rgba(243, 202, 109, 0.5) !important;
}

.restart-link {
    background: none;
    border: none;
    color: var(--ch-light-gray);
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    transition: color 0.2s;
    padding: 0;
}

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

/* ── Step-level Start Over link (below card) ─────────── */

.step-restart {
    text-align: center;
    margin-top: 12px;
}

.step-restart .restart-link {
    color: var(--ch-neutral-400);
    font-size: 0.9rem;
}

.step-restart .restart-link:hover {
    color: var(--ch-navy);
}

/* ══════════════════════════════════════════════════════════
   TABLET / iPAD  (601px – 1024px)
   ══════════════════════════════════════════════════════════ */

@media (min-width: 601px) and (max-width: 1024px) {
    body {
        padding: 16px;
    }

    /* Use auto height so content never clips */
    .slider-card,
    .q-view,
    .a-view {
        height: auto;
        min-height: 560px;
    }

    .landing-card {
        height: auto;
        min-height: 560px;
    }

    .question-hero img,
    .answer-hero > img:first-child {
        height: 300px;
    }

    .landing-header {
        padding: 28px 36px 24px;
    }

    .contact-card {
        height: auto;
        min-height: 560px;
    }

    .contact-image {
        height: 300px;
    }

    .choice-icon {
        width: 80px;
        height: 80px;
    }

    .choice-label {
        font-size: 1.75rem;
    }
}

/* ── Landscape tablet / iPad landscape: viewport is short ── */

@media (max-height: 740px) and (min-width: 601px) {
    .slider-card,
    .q-view,
    .a-view,
    .landing-card {
        height: auto;
        min-height: unset;
    }

    .question-hero img,
    .answer-hero > img:first-child {
        height: 240px;
    }

    .landing-header {
        padding: 22px 36px 18px;
    }

    .contact-image {
        height: 220px;
    }

    .landing-title,
    .contact-title {
        font-size: 1.65rem;
    }

    .landing-logo {
        height: 36px;
        margin-bottom: 10px;
    }
}

/* ── Contact responsive ── */

@media (max-width: 600px) {
    .contact-card {
        height: auto;
        min-height: 520px;
    }

    .contact-image {
        height: 240px;
    }

    .contact-body {
        padding: 28px 20px;
    }

    .contact-title {
        font-size: 1.5rem;
    }
}

/* ══════════════════════════════════════════════════════════
   ANIMATED BANNER HERO
   ══════════════════════════════════════════════════════════ */

/* ── Keyframes ───────────────────────────────────────── */

@keyframes bh-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

@keyframes bh-drive {
    0%         { transform: translateX(-110px) scaleX(1); }
    48%        { transform: translateX(110px)  scaleX(1); }
    50%        { transform: translateX(110px)  scaleX(-1); }
    98%        { transform: translateX(-110px) scaleX(-1); }
    100%       { transform: translateX(-110px) scaleX(1); }
}

@keyframes bh-float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50%       { transform: translateY(-6px) rotate(0.4deg); }
}

@keyframes bh-glow-gold {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(243,202,109,0)); }
    50%       { filter: drop-shadow(0 0 18px rgba(243,202,109,0.85))
                        drop-shadow(0 0 36px rgba(243,202,109,0.4)); }
}

@keyframes bh-glow-blue {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(0,110,173,0)); }
    50%       { filter: drop-shadow(0 0 16px rgba(0,110,173,0.7))
                        drop-shadow(0 0 32px rgba(0,110,173,0.3)); }
}

@keyframes bh-flash {
    0%, 78%, 100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(243,202,109,0.5)); }
    82%            { opacity: 0.35; filter: none; }
    86%            { opacity: 1; filter: drop-shadow(0 0 12px rgba(243,202,109,0.9)); }
    90%            { opacity: 0.6; filter: none; }
}

@keyframes bh-slide-in {
    from { transform: translateX(-30px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 0.22; }
}

@keyframes bh-pulse-scale {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50%       { transform: translateY(-50%) scale(1.04); }
}

@keyframes bh-draw-line {
    from { stroke-dashoffset: 2000; }
    to   { stroke-dashoffset: 0; }
}

@keyframes bh-star-spin {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ── Base banner container ───────────────────────────── */

.banner-hero {
    width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* ── Residential banner ──────────────────────────────── */

.banner-residential {
    background: linear-gradient(135deg, #f4f7fb 0%, #eaf0f7 55%, #dce7f2 100%);
}

/* Thin gold accent stripe across the lower third */
.banner-residential::before {
    content: '';
    position: absolute;
    bottom: 88px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(243,202,109,0.25) 15%,
        rgba(243,202,109,0.55) 45%,
        rgba(243,202,109,0.55) 60%,
        rgba(243,202,109,0.15) 80%,
        transparent 100%
    );
    pointer-events: none;
}

/* Dot grid */
.banner-residential::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,35,79,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* House — large, right side, BEHIND lightning */
.banner-residential .bh-house {
    position: absolute;
    right: -20px; top: -10px;
    width: 340px; height: 400px;
    opacity: 0.18;
    z-index: 1;
    animation: bh-float-slow 6s ease-in-out infinite;
    pointer-events: none;
}
.banner-residential .bh-house img { width: 100%; height: 100%; object-fit: contain; }

/* Verdict state — check/cross stays at original smaller size */
.banner-answered .bh-lightning.bh-verdict {
    animation: bh-float 3.5s ease-in-out infinite !important;
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.28)) !important;
    width: 180px !important;
    left: calc(50% - 90px) !important;
}

@media (min-width: 601px) and (max-width: 1024px) {
    .banner-answered .bh-lightning.bh-verdict { width: 150px !important; left: calc(50% - 75px) !important; }
}

@media (max-width: 600px) {
    .banner-answered .bh-lightning.bh-verdict { width: 120px !important; left: calc(50% - 60px) !important; }
}

/* Charge line — along the bottom, z-index below lightning */
.banner-residential .bh-chargeline {
    position: absolute;
    bottom: 0; left: 0;
    width: 70%; height: 80px;
    opacity: 0;
    z-index: 1;
    animation: bh-slide-in 0.9s 0.3s ease-out forwards;
    pointer-events: none;
}
.banner-residential .bh-chargeline img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: left bottom;
}

/* EV car — drives left and right across the residential banner */
.banner-residential .bh-lightning {
    position: absolute;
    left: calc(50% - 120px); bottom: 20px;
    width: 240px;
    z-index: 2;
    animation: bh-drive 5s ease-in-out infinite;
    transform-origin: center bottom;
}
.banner-residential .bh-lightning img { width: 100%; height: auto; }

/* Logo — top left, above everything */
.banner-residential .bh-logo {
    position: absolute;
    top: 22px; left: 26px;
    width: 160px;
    z-index: 3;
}
.banner-residential .bh-logo img { width: 100%; height: auto; }

/* ── Answer state: bolt fires when result appears ────── */

@keyframes bh-bolt-charged {
    /* initial big flash */
    0%  { filter: none; transform: translateY(0) scale(1); }
    4%  { filter: drop-shadow(0 0 40px rgba(243,202,109,1))
                  drop-shadow(0 0 80px rgba(243,202,109,0.55));
          transform: scale(1.22) translateY(-7px); }
    8%  { filter: drop-shadow(0 0 4px rgba(243,202,109,0.15));
          transform: scale(1) translateY(0); }
    /* strobe */
    13% { filter: drop-shadow(0 0 28px rgba(243,202,109,0.9));
          transform: scale(1.14) translateY(-4px); }
    18% { filter: drop-shadow(0 0 4px rgba(243,202,109,0.15));
          transform: scale(1) translateY(0); }
    22% { filter: drop-shadow(0 0 18px rgba(243,202,109,0.75));
          transform: scale(1.07) translateY(-3px); }
    27% { filter: drop-shadow(0 0 4px rgba(243,202,109,0.2));
          transform: scale(1) translateY(0); }
    /* settle into warm sustained glow pulse */
    38%, 100% { filter: drop-shadow(0 0 16px rgba(243,202,109,0.7));
                transform: translateY(-6px) scale(1); }
    68%        { filter: drop-shadow(0 0 5px rgba(243,202,109,0.25));
                 transform: translateY(0) scale(1); }
}

/* Residential answered: stop driving, float the check/cross in place */
.banner-residential.banner-answered .bh-lightning {
    animation: bh-float 3.5s ease-in-out infinite !important;
    left: calc(50% - 120px);
    transform: none;
}

/* Commercial answered: keep bolt animation */
.banner-commercial.banner-answered .bh-lightning {
    animation: bh-bolt-charged 3.5s ease-out infinite !important;
}

/* ── Commercial banner ───────────────────────────────── */

.banner-commercial {
    background: radial-gradient(ellipse at 75% 40%, #0d3870 0%, #00234F 65%);
}

/* Gold diagonal accent lines */
.banner-commercial::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(118deg, transparent 38%, rgba(243,202,109,0.09) 38.5%, transparent 39%),
        linear-gradient(118deg, transparent 52%, rgba(243,202,109,0.06) 52.5%, transparent 53%);
    pointer-events: none;
}

/* Subtle dot grid */
.banner-commercial::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Car — right side, showing side profile */
.banner-commercial .bh-car {
    position: absolute;
    right: -40px; bottom: -30px;
    width: 480px; height: auto;
    opacity: 0.18;
    z-index: 1;
    animation: bh-float-slow 7s ease-in-out infinite;
    pointer-events: none;
}
.banner-commercial .bh-car img { width: 100%; height: auto; }

/* Lightning — large, dominant, center-left */
.banner-commercial .bh-lightning {
    position: absolute;
    left: calc(30% - 80px); bottom: 24px;
    width: 160px;
    z-index: 2;
    animation:
        bh-flash 4s ease-in-out infinite,
        bh-float 3.5s ease-in-out infinite;
    transform-origin: bottom center;
}
.banner-commercial .bh-lightning img { width: 100%; height: auto; }

/* Logo — top left, white version */
.banner-commercial .bh-logo {
    position: absolute;
    top: 22px; left: 26px;
    width: 160px;
    z-index: 3;
    filter: brightness(0) invert(1);
}
.banner-commercial .bh-logo img { width: 100%; height: auto; }

/* ── Override: question-hero height for banner ───────── */

.question-hero .banner-hero {
    display: block;
}

/* ── Tablet: reduce banner height ───────────────────── */

@media (min-width: 601px) and (max-width: 1024px) {
    .banner-hero { height: 300px; }
    .banner-residential .bh-house { width: 240px; height: 310px; }
    .banner-residential .bh-lightning { width: 200px; left: calc(50% - 100px); }
    .banner-commercial .bh-car { width: 340px; }
    .banner-commercial .bh-lightning { width: 120px; }
}

/* ── Mobile: reduce banner height ───────────────────── */

@media (max-width: 600px) {
    .banner-hero { height: 220px; }
    .banner-residential .bh-house { width: 180px; height: 230px; right: -16px; top: -16px; }
    .banner-residential .bh-lightning { width: 160px; left: calc(50% - 80px); bottom: 12px; }
    .banner-residential .bh-logo { width: 120px; top: 14px; left: 16px; }
    .banner-commercial .bh-car { width: 260px; right: -20px; }
    .banner-commercial .bh-lightning { width: 90px; left: calc(30% - 45px); bottom: 16px; }
    .banner-commercial .bh-logo { width: 120px; top: 14px; left: 16px; }
}


#mc_embed_signup .button,
#mc_embed_signup_com .button {
    min-height: 50px;
    line-height: 1 !important;
}
#mc_embed_signup form,
#mc_embed_signup_com form {
    margin: 0 !important;
}