/* ==========================================================================
   GARRISON HVAC TRIBUTE SITE DESIGN SYSTEM
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary-navy: #002A54;
    --primary-navy-dark: #001A38;
    --primary-navy-light: #004A8F;
    --primary-blue-glow: #0077CC;
    --accent-cyan: #0088CC;
    --accent-teal: #0099CC;
    --accent-amber: #F77F00;
    --accent-orange: #FF5A00;
    --accent-green: #16A34A;
    --text-white: #FFFFFF;
    --text-heading: #002A54;
    --text-light: #334155;
    --text-gray: #64748B;
    --text-dark: #1E293B;
    --bg-dark: #F0F4F8;
    --bg-light: #FFFFFF;
    --bg-card-light: #FFFFFF;
    --bg-glass: #FFFFFF;
    --bg-glass-heavy: rgba(255, 255, 255, 0.96);
    --border-glass: #E2E8F0;
    --border-light: #E2E8F0;
    --glow-cyan: 0 4px 14px rgba(0, 136, 204, 0.2);
    --glow-amber: 0 4px 14px rgba(247, 127, 0, 0.25);
    --shadow-soft: 0 4px 20px rgba(0, 42, 84, 0.08);
    --shadow-premium: 0 12px 32px rgba(0, 42, 84, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Base & Reset Rules --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.section-title,
.hero-title,
.quote-name,
.timeline-item-title,
.product-title,
.calc-card-title,
.step-question,
.option-title,
.result-title,
.result-product-card h4,
.iaq-panel-title,
.sidebar-title,
.dealer-info h4,
.modal-title,
.modal-success-screen h3,
.eco-title,
.spec-val {
    color: var(--text-heading);
}

.section-subtitle,
.hero-tagline,
.product-series,
.result-subtitle {
    color: var(--accent-cyan);
}

.hero-description,
.quote-body,
.quote-title,
.timeline-item-text,
.product-description,
.input-labels label,
.toggle-label {
    color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --- Shared Component Classes --- */
.glass-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(0, 136, 204, 0.35);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-navy) 20%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
    background: linear-gradient(135deg, #FFE5A3 30%, var(--accent-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cool-blue {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.text-green {
    color: var(--accent-green);
}

/* --- Section Formatting --- */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue-glow) 100%);
    color: var(--text-white);
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
    background: linear-gradient(135deg, #60F7FF 0%, #0072F0 100%);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--primary-navy);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--bg-dark);
    border-color: var(--accent-cyan);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-dealer-nav {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-orange) 100%);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 20px;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(247, 127, 0, 0.25);
}

.btn-dealer-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(247, 127, 0, 0.45);
}

.icon-nav {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 1px 8px rgba(0, 42, 84, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Garrison styled Oval Logo --- */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.garrison-logo {
    width: 120px;
    height: 45px;
    overflow: visible;
}

.logo-oval-bg {
    fill: #002A54;
    transition: var(--transition-smooth);
}

.logo-oval-border {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2;
    transition: var(--transition-smooth);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-style: italic;
    fill: #FFFFFF;
    font-size: 26px;
}

.logo-wrapper:hover .logo-oval-bg {
    fill: #00458C;
}

.logo-wrapper:hover .logo-oval-border {
    stroke: var(--accent-cyan);
}

.logo-tribute-badge {
    background: rgba(0, 136, 204, 0.1);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 136, 204, 0.25);
    letter-spacing: 0.05em;
}

/* --- Menu Nav Links --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

/* --- Mobile Menu Button --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary-navy);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- Mobile Nav Panel --- */
.mobile-nav-panel {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 8px 24px rgba(0, 42, 84, 0.08);
    z-index: 999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: var(--transition-smooth);
    border-bottom: 0 solid var(--border-glass);
}

.mobile-nav-panel.open {
    height: 380px;
    padding: 24px;
    border-bottom: 1px solid var(--border-glass);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gray);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
}

.mobile-link:hover {
    color: var(--accent-cyan);
    padding-left: 8px;
}

.btn-mobile-dealer {
    text-align: center;
    background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-orange) 100%);
    color: var(--text-white);
    border-radius: 8px;
    margin-top: 16px;
    font-weight: 700;
}

/* ==========================================================================
   HERO & BRAND SHOWCASE
   ========================================================================== */
.hero-section {
    min-height: 90vh;
    padding-top: 180px;
    padding-bottom: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

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

/* --- Quote Card --- */
.hero-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
}

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

.quote-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid var(--accent-cyan);
}

.quote-name {
    font-size: 1.2rem;
}

.quote-title {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.quote-body {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 24px;
    position: relative;
}

.quote-body::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(0, 136, 204, 0.15);
    position: absolute;
    left: -15px;
    top: -20px;
}

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

.badge-patent {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 136, 204, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.link-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy-light);
}

.link-more:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

/* --- Heating/Cooling floating particles --- */
.flow-indicator {
    position: absolute;
    bottom: 40px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 30px;
}

.flow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.flow-dot.cool {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
    animation: coolFlow 3s infinite linear;
}

.flow-dot.heat {
    background: var(--accent-amber);
    box-shadow: 0 0 15px var(--accent-amber);
    animation: heatFlow 3s infinite linear;
}

@keyframes coolFlow {
    0% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-20px) scale(1.3); opacity: 1; }
    100% { transform: translateY(-40px) scale(1); opacity: 0.2; }
}

@keyframes heatFlow {
    0% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-20px) scale(1.3); opacity: 1; }
    100% { transform: translateY(-40px) scale(1); opacity: 0.2; }
}

/* --- Brand stats showcase --- */
.brand-bar {
    background: #FFFFFF;
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.brand-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}

.brand-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ==========================================================================
   LEGACY TIMELINE
   ========================================================================== */
.legacy-section {
    background-color: var(--bg-dark);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

/* --- Central Timeline Line --- */
.timeline-progress-bar {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #E2E8F0;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg, var(--primary-navy-light) 0%, var(--accent-cyan) 100%);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transition: height 0.5s ease-out;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    width: 50%;
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
}

.timeline-dot {
    position: absolute;
    right: -10px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 4px solid var(--border-glass);
    z-index: 10;
    transition: var(--transition-bounce);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
    right: auto;
}

.timeline-item.active .timeline-dot {
    background: var(--accent-cyan);
    border-color: var(--text-white);
    box-shadow: 0 0 12px var(--accent-cyan);
}

/* --- Timeline Card Details --- */
.timeline-card {
    width: 90%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-bounce);
    cursor: pointer;
}

.timeline-item:hover .timeline-card {
    transform: translateY(-5px);
    border-color: rgba(0, 136, 204, 0.35);
    box-shadow: var(--shadow-premium);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.timeline-item-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.timeline-item-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.timeline-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.timeline-badge.cooling { background: rgba(0, 240, 255, 0.12); color: var(--accent-cyan); border: 1px solid rgba(0, 240, 255, 0.2); }
.timeline-badge.industry { background: rgba(247, 127, 0, 0.12); color: var(--accent-amber); border: 1px solid rgba(247, 127, 0, 0.2); }
.timeline-badge.public { background: rgba(46, 204, 113, 0.12); color: var(--accent-green); border: 1px solid rgba(46, 204, 113, 0.2); }
.timeline-badge.civic { background: rgba(155, 89, 182, 0.12); color: #af7ac5; border: 1px solid rgba(155, 89, 182, 0.2); }
.timeline-badge.future { background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%); color: var(--text-heading); border: 1px solid var(--border-glass); }

/* ==========================================================================
   RESIDENTIAL PRODUCT CATALOG
   ========================================================================== */
.products-section {
    background: #FFFFFF;
    scroll-margin-top: 96px;
}

.products-section .section-header {
    margin-bottom: 12px;
}

/* Hover-expand system lineup (accordion strip) */
.system-expand-hint {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: -8px 0 20px;
}

.system-expand-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    height: clamp(360px, 52vh, 480px);
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.system-expand-card {
    position: relative;
    flex: 0 0 clamp(76px, 12vw, 152px);
    min-width: 76px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: #D6E4F0;
    cursor: pointer;
    outline: none;
    transition:
        flex-grow 0.55s cubic-bezier(0.25, 1, 0.5, 1),
        flex-basis 0.55s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease;
}

.system-expand-row:has(.system-expand-card:hover) .system-expand-card:not(:hover):not(.is-active),
.system-expand-row:has(.system-expand-card.is-active) .system-expand-card:not(:hover):not(.is-active) {
    flex: 0 0 clamp(68px, 10vw, 120px);
}

.system-expand-card:hover,
.system-expand-card.is-active,
.system-expand-card:focus-visible {
    flex: 1 1 48%;
    min-width: min(100%, 300px);
    z-index: 4;
    border-color: rgba(0, 136, 204, 0.55);
    box-shadow: var(--shadow-premium);
}

.system-expand-card__frame {
    position: relative;
    height: 100%;
    width: 100%;
}

.system-expand-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 72%;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Wide thermostat art — same cover behavior as other cards, biased toward the dial */
.system-expand-card--control .system-expand-card__photo {
    object-position: 32% center;
}

.system-expand-card:hover .system-expand-card__photo,
.system-expand-card.is-active .system-expand-card__photo {
    transform: scale(1.05);
}

.system-expand-card__label {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 8px 18px;
    background: linear-gradient(to top, rgba(0, 42, 84, 0.88) 0%, rgba(0, 42, 84, 0.35) 42%, transparent 72%);
    color: #FFFFFF;
    text-align: center;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.system-expand-card__label-series {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 6px;
}

.system-expand-card__label-name {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
    max-width: 10em;
}

.system-expand-card:not(:hover):not(.is-active) .system-expand-card__label-name {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    max-width: none;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    margin-top: auto;
    margin-bottom: auto;
    padding-bottom: 12px;
}

.system-expand-card:not(:hover):not(.is-active) .system-expand-card__label-series {
    display: none;
}

.system-expand-card:hover .system-expand-card__label,
.system-expand-card.is-active .system-expand-card__label {
    opacity: 0;
}

.system-expand-card__detail {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 28px 24px;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.94) 42%,
        rgba(255, 255, 255, 0.55) 62%,
        rgba(255, 255, 255, 0) 78%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease 0.06s;
}

.system-expand-card:hover .system-expand-card__detail,
.system-expand-card.is-active .system-expand-card__detail,
.system-expand-card:focus-within .system-expand-card__detail {
    opacity: 1;
    pointer-events: auto;
}

.system-expand-card__badge {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
}

.system-expand-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-heading);
    max-width: 16rem;
}

.system-expand-card__desc {
    font-size: 0.84rem;
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 18rem;
}

.system-expand-card__cta {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 18px;
    border-radius: 8px;
    width: fit-content;
    text-decoration: none;
    color: #FFFFFF;
    background: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    transition: background 0.25s ease, transform 0.25s ease;
}

.system-expand-card__cta:hover {
    background: #006699;
    border-color: #006699;
    transform: translateY(-1px);
}

.system-expand-card--performance .system-expand-card__badge {
    color: var(--accent-amber);
}

@media (max-width: 768px) {
    .system-expand-hint {
        margin-bottom: 14px;
    }

    .system-expand-row {
        flex-direction: column;
        height: auto;
    }

    .system-expand-card,
    .system-expand-row:has(.system-expand-card:hover) .system-expand-card:not(:hover):not(.is-active) {
        flex: none;
        min-height: 88px;
        width: 100%;
    }

    .system-expand-card.is-active,
    .system-expand-card:focus-within {
        min-height: 300px;
    }

    .system-expand-card:not(:hover):not(.is-active) .system-expand-card__label-name {
        writing-mode: horizontal-tb;
        transform: none;
        padding-bottom: 0;
    }

    .system-expand-card:not(:hover):not(.is-active) .system-expand-card__label-series {
        display: block;
    }
}

.product-card {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: var(--shadow-premium);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.product-badge.premium {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

.product-badge.standard {
    background: var(--accent-amber);
    color: var(--text-white);
}

/* --- High-Quality HVAC CSS/SVG Visual Graphics --- */
.product-image-wrapper {
    height: 220px;
    background: linear-gradient(135deg, #E8EEF5 0%, #D6E4F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-glass);
}

.product-image-wrapper.img-contain {
    background: #E8EEF5;
}

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

/* Custom CSS Art Outdoor Heat Pump Unit */
.hvac-unit-visual {
    width: 120px;
    height: 120px;
    background: #2D3748;
    border-radius: 12px;
    border: 3px solid #4A5568;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unit-grille {
    position: absolute;
    width: 85%;
    height: 85%;
    border: 2px solid #718096;
    border-radius: 50%;
    z-index: 1;
}

.unit-fan {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.unit-fan::before, .unit-fan::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #1A202C;
    transform-origin: center;
}

/* 4-blade fan layout */
.unit-fan::before {
    width: 60px;
    height: 10px;
    margin-top: -5px;
    margin-left: -30px;
    border-radius: 5px;
}

.unit-fan::after {
    width: 10px;
    height: 60px;
    margin-left: -5px;
    margin-top: -30px;
    border-radius: 5px;
}

/* Blower Fan Rotation Animations */
.cool-flow .unit-fan {
    animation: rotateFan 0.8s infinite linear;
}

.mild-flow .unit-fan {
    animation: rotateFan 2s infinite linear;
}

.mild-flow .unit-fan.slow {
    animation: rotateFan 4s infinite linear;
}

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

.unit-brand {
    position: absolute;
    bottom: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    color: #A0AEC0;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 3;
}

/* Gas Furnace CSS representation */
.furnace-body {
    width: 80px;
    height: 110px;
    background: #4A5568;
    border: 3px solid #718096;
    border-radius: 6px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

.furnace-vent {
    width: 50px;
    height: 12px;
    background: #1A202C;
    border-radius: 2px;
}

.furnace-burner-glow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-amber) 20%, var(--accent-orange) 60%, transparent 100%);
    box-shadow: 0 0 10px var(--accent-amber);
    animation: burnerPulse 2s infinite ease-in-out;
}

@keyframes burnerPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Dynamic glow overlays inside wraps */
.cool-flow::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
}

.heat-flow::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(247, 127, 0, 0.15) 0%, transparent 70%);
}

/* --- Product Details Layout --- */
.product-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-series {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.product-description {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-specs {
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.spec-label {
    color: var(--text-gray);
}

.spec-val {
    font-weight: 600;
}

.product-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-product-cta {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-product-cta:hover {
    color: var(--primary-navy);
    transform: translateX(4px);
}

/* ==========================================================================
   ENERGY SAVINGS CALCULATOR
   ========================================================================== */
.savings-section {
    background: var(--bg-dark);
}

.grid-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.calculator-card {
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.calculator-card.card-inputs {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft);
}

.calc-card-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
}

.input-group {
    margin-bottom: 30px;
}

.input-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.input-labels label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

.slider-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-cyan);
}

/* --- Styled HTML5 Sliders --- */
.input-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #E2E8F0;
    outline: none;
    transition: var(--transition-smooth);
}

.input-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-white);
    border: 4px solid var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    transition: var(--transition-bounce);
}

.input-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--accent-cyan);
    border-color: var(--text-white);
}

.slider-note {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 6px;
}

.calculator-legend {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-color.old { background-color: var(--accent-amber); }
.legend-color.new { background-color: var(--accent-cyan); }

/* --- Output Display Card --- */
.calculator-card.card-results {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.08) 0%, rgba(0, 42, 84, 0.06) 100%);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft);
}

.savings-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.saving-stat {
    text-align: center;
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: 12px;
}

.saving-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
}

.saving-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Savings Chart Visualizer --- */
.savings-chart-area {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
    min-height: 160px;
}

.chart-container {
    width: 100%;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 120px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.chart-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 20px;
}

.old-column .chart-bar {
    background: linear-gradient(0deg, var(--accent-amber) 0%, #FF9E2A 100%);
    box-shadow: var(--glow-amber);
}

.new-column .chart-bar {
    background: linear-gradient(0deg, var(--primary-navy-light) 0%, var(--accent-cyan) 100%);
    box-shadow: var(--glow-cyan);
}

.bar-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-white);
}

.chart-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 8px;
    font-weight: 600;
}

/* --- Environmental Callout --- */
.eco-impact-box {
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.eco-icon-wrapper {
    background: rgba(46, 204, 113, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
}

.eco-icon {
    width: 20px;
    height: 20px;
}

.eco-title {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.eco-text {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* ==========================================================================
   COMFORT MATCHER WIZARD
   ========================================================================== */
.matcher-section {
    background: var(--bg-dark);
}

.matcher-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px;
}

/* --- Matcher Header Steps Navigation --- */
.matcher-steps-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.step-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--border-glass);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-bounce);
}

.step-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
}

.step-nav-line {
    flex-grow: 1;
    height: 2px;
    background: #E2E8F0;
    margin: 0 12px;
    margin-top: -24px;
    z-index: 1;
}

/* Step States */
.step-nav-item.active .step-circle {
    background: var(--accent-cyan);
    color: var(--text-white);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.step-nav-item.active .step-label {
    color: var(--text-heading);
}

.step-nav-item.completed .step-circle {
    background: var(--primary-navy-light);
    color: var(--text-white);
    border-color: var(--accent-cyan);
}

/* --- Step Cards content --- */
.matcher-steps-container {
    position: relative;
    min-height: 260px;
    margin-bottom: 40px;
}

.matcher-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.matcher-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-question {
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: center;
}

/* --- Radio Option Grid --- */
.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.option-card {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    padding: 24px;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-bounce);
}

.option-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 136, 204, 0.35);
    background: var(--bg-dark);
}

.option-card.active {
    background: rgba(0, 136, 204, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.option-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* --- Step 4 Matcher Results view --- */
.result-wrapper {
    text-align: center;
    padding: 20px 0;
}

.result-confetti {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.result-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    text-transform: uppercase;
}

.result-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.result-showcase {
    max-width: 550px;
    margin: 0 auto 30px auto;
}

.result-product-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 136, 204, 0.35);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    box-shadow: var(--glow-cyan);
}

.rec-badge {
    display: inline-block;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.result-product-card h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.result-product-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.rec-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feat-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --- Step Actions bar --- */
.matcher-actions-bar {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
}

.matcher-actions-bar .btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

/* ==========================================================================
   INDOOR AIR QUALITY (IAQ) LAB
   ========================================================================== */
.iaq-section {
    background: var(--bg-dark);
}

.iaq-lab-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
}

.iaq-control-panel {
    display: flex;
    flex-direction: column;
}

.iaq-panel-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.iaq-panel-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.iaq-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

/* Custom Checkbox Toggle Switch Styles */
.iaq-toggle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.iaq-toggle-item input {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 44px;
    height: 22px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-glass);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-gray);
    left: 2px;
    top: 2px;
    transition: var(--transition-bounce);
}

.iaq-toggle-item input:checked + .toggle-slider {
    background: var(--accent-cyan);
}

.iaq-toggle-item input:checked + .toggle-slider::before {
    left: 24px;
    background: var(--text-white);
    box-shadow: 0 0 5px rgba(0, 42, 84, 0.15);
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Particle Legend */
.particle-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
    margin-bottom: 30px;
}

.particle-key {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.particle-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.particle-dot.allergen { background-color: #E2E8F0; }
.particle-dot.pathogen { background-color: #E53E3E; }
.particle-dot.trapped { background-color: var(--accent-green); }

.iaq-stats {
    display: flex;
    gap: 20px;
}

.iaq-stat-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    padding: 12px 20px;
    border-radius: 8px;
    flex-grow: 1;
    text-align: center;
}

.iaq-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
}

.iaq-stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* --- Simulation Canvas Screen --- */
.iaq-simulation-screen {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-glass);
    background: linear-gradient(180deg, #D6E8F7 0%, #E8F2FA 100%);
    box-shadow: inset 0 0 24px rgba(0, 42, 84, 0.08);
    height: 300px;
}

#iaq-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.canvas-labels {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.canvas-labels span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
}

.lbl-airflow-in { color: #E2E8F0; background: rgba(0, 0, 0, 0.5); }
.lbl-filter-mesh { color: var(--accent-cyan); background: rgba(0, 42, 84, 0.7); }
.lbl-airflow-out { color: var(--accent-green); background: rgba(0, 0, 0, 0.5); }

/* ==========================================================================
   DEALER LOCATOR WIDGET
   ========================================================================== */
.locator-section {
    background: #FFFFFF;
    padding-bottom: 120px;
}

.locator-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
    height: 520px;
    max-height: 520px;
    min-height: 0;
    overflow: hidden;
}

.locator-sidebar {
    padding: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sidebar-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.search-form {
    margin-bottom: 24px;
}

.input-search-group {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.input-text {
    flex-grow: 1;
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    padding: 12px 18px;
    border-radius: 30px;
    color: var(--text-heading);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-smooth);
}

.input-text:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.search-helper {
    font-size: 0.75rem;
    color: var(--text-gray);
    display: block;
}

/* Dealers List card deck scrolling */
.dealers-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dealers-list::-webkit-scrollbar {
    width: 6px;
}

.dealers-list::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

.search-placeholder-message {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    padding: 40px 0;
}

/* Dealer Card injected layout */
.dealer-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
}

.dealer-card:hover {
    background: #FFFFFF;
    border-color: var(--accent-cyan);
}

.dealer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.dealer-stars {
    color: var(--accent-amber);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.dealer-meta {
    font-size: 0.75rem;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dealer-awards {
    margin-top: 8px;
    display: flex;
    gap: 4px;
}

.award-tag {
    font-size: 0.65rem;
    background: rgba(247, 127, 0, 0.1);
    border: 1px solid rgba(247, 127, 0, 0.2);
    color: var(--accent-amber);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.btn-book-dealer {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-blue-glow) 100%);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 240, 255, 0.2);
}

/* --- Live Leaflet dealer map --- */
.locator-map {
    position: relative;
    overflow: hidden;
    min-height: 0;
    height: 100%;
}

.dealer-map-container {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #e8eef3;
    z-index: 1;
}

.locator-map .leaflet-container {
    background: #e8eef3;
    font-family: var(--font-body);
}

.locator-map .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #5a6472 !important;
    font-size: 0.65rem;
    border-radius: 4px 0 0 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.locator-map .leaflet-control-attribution a {
    color: #0077a8 !important;
}

.garrison-map-marker {
    background: transparent !important;
    border: none !important;
}

.garrison-map-marker .marker-dot {
    display: block;
    width: 16px;
    height: 16px;
    margin: 4px;
    background: var(--accent-cyan);
    border: 3px solid rgba(0, 240, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.garrison-map-marker.active .marker-dot {
    background: #2ECC71;
    border-color: rgba(46, 204, 113, 0.5);
    box-shadow: 0 0 16px rgba(46, 204, 113, 0.8);
    transform: scale(1.35);
}

@keyframes markerPulseLeaflet {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 240, 255, 0.5); }
    50% { box-shadow: 0 0 18px rgba(0, 240, 255, 0.9); }
}

.garrison-map-marker .marker-dot {
    animation: markerPulseLeaflet 1.5s infinite ease-out;
}

.garrison-map-marker.active .marker-dot {
    animation: none;
}

.map-ui-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 500;
}

.map-city-label {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-glass);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-cyan);
    box-shadow: var(--shadow-soft);
}

.map-zoom-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: auto;
}

.map-zoom-buttons button {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-glass);
    color: var(--text-heading);
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
}

/* ==========================================================================
   CONSULTATION MODAL DIALOG
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0, 42, 84, 0.45);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-container {
    max-width: 600px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-premium);
    padding: 40px;
    position: relative;
    border-radius: 24px;
    animation: modalSlideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideDown {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-white);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
}

.input-textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--text-heading);
    font-family: var(--font-body);
    outline: none;
    resize: none;
}

.input-textarea:focus {
    border-color: var(--accent-cyan);
}

/* Success Screen Overlays */
.modal-success-screen {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.modal-success-screen.open {
    display: block;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 24px;
    border: 2px solid var(--accent-green);
}

.modal-success-screen h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.modal-success-screen p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 10;
    background: #FFFFFF;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px 0;
    font-size: 0.85rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

.footer-tribute-disclaimer {
    color: var(--text-gray);
    font-size: 0.75rem;
    line-height: 1.5;
}

.footer-links-column h4 {
    color: var(--text-heading);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    color: var(--text-gray);
}

.footer-links-column a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid var(--border-glass);
    padding-top: 40px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    color: var(--text-gray);
    font-size: 0.75rem;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    color: var(--text-gray);
}

.social-icons a:hover {
    color: var(--text-white);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .grid-calculator {
        grid-template-columns: 1fr;
    }
    
    .iaq-lab-container {
        grid-template-columns: 1fr;
    }
    
    .locator-wrapper {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .locator-sidebar {
        max-height: 420px;
    }
    
    .locator-map {
        height: 300px;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .main-header {
        height: 70px;
    }
    
    .header-container {
        height: 70px;
    }
    
    .mobile-nav-panel {
        top: 70px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-progress-bar {
        left: 24px;
    }
    
    .timeline-item {
        width: 100%;
        align-self: flex-start !important;
        justify-content: flex-start !important;
        padding-left: 48px;
    }
    
    .timeline-dot {
        left: 14px !important;
        right: auto !important;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .savings-highlights {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
