/* ============================================
   HOT WATER HEAT PUMP PAGE STYLES
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    /* Colours */
    --ec-black: #0a0a0a;
    --ec-white: #ffffff;
    --ec-grey-950: #0f0f0f;
    --ec-grey-900: #171717;
    --ec-grey-800: #262626;
    --ec-grey-700: #404040;
    --ec-grey-600: #525252;
    --ec-grey-500: #737373;
    --ec-grey-400: #a3a3a3;
    --ec-grey-300: #d4d4d4;
    --ec-grey-200: #e5e5e5;
    --ec-grey-100: #f5f5f5;
    --ec-grey-50: #fafafa;
    --ec-warm-50: #f8fafc;
    --ec-primary: #E47D22;
    --ec-primary-dark: #462900;
    --ec-primary-light: #EA8C08;
    --ec-accent: #E47D22;
    --ec-accent-text: #D2821F;
    --ec-accent-hover: #164d8a;
    --ec-red: #C2141C;
    --ec-orange: #D2821F;
    --ec-yellow: #FBF24F;
    --ec-success: #22c55e;
    --ec-gradient: linear-gradient(to right, #1E60AA 0%, #95CAF4 37%, #FEFFFF 49%, #FBF24F 60%, #D2821F 84%, #C2141C 100%);
    /* Opacity-white tokens */
    --ec-white-75:  rgba(255, 255, 255, 0.75);
    --ec-white-15:  rgba(255, 255, 255, 0.15);
    --ec-white-08:  rgba(255, 255, 255, 0.08);
    --ec-white-06:  rgba(255, 255, 255, 0.06);
    --ec-white-04:  rgba(255, 255, 255, 0.04);
    /* Gold accent (app card hover) */
    --ec-gold:      #c8a951;
    --ec-gold-soft: rgba(200, 169, 81, 0.9);
    /* Typography */
    --ec-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Transitions */
    --ec-transition: 0.3s ease;
    /* Layout */
    --ec-header-offset: 0px;
    /* Mobile overrides */
    --ec-mobile-padding: 1rem;
    --ec-mobile-section-padding: 2rem 0;
    /* Surface context tokens — defaults for light backgrounds.
       Override on any dark/image context; components consume these. */
    --ec-ctx-heading:      var(--ec-grey-900);
    --ec-ctx-body:         var(--ec-grey-800);
    --ec-ctx-list-item:    var(--ec-grey-600);
    --ec-ctx-list-border:  var(--ec-grey-200);
    --ec-ctx-badge-bg:     var(--ec-primary);
    --ec-ctx-badge-text:   var(--ec-white);
}



/* ============================================
   2. BASE STYLES
   ============================================ */
.ec-page {
    font-family: var(--ec-font);
    color: var(--ec-grey-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

    .ec-page h1,
    .ec-page h2,
    .ec-page h3,
    .ec-page h4 {
        font-family: var(--ec-font);
        font-weight: 600;
        letter-spacing: -0.02em;
        line-height: 1.15;
        color: var(--ec-ctx-heading);
    }

    .constrained .ec-page  h2 {
        font-size: 2rem;
    }
    .constrained .ec-page .me-hero-subtitle {
        font-size: 1.2rem;
    }
    .constrained .ec-page p, .constrained .ec-page li {
        font-size: .9rem
    }
    .constrained .ec-page .caveat {
        font-size: .7rem
    }

    /* .constrained .container {
        padding: 2.5rem;
    } */

    .ec-page .caveat {
        font-size: 0.75rem;
    }

/* ============================================
   3. TYPOGRAPHY UTILITIES
   ============================================ */
.ec-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ec-accent-text);
    margin-bottom: 1rem;
}

.ec-eyebrow-light {
    color: rgba(255,255,255,0.7);
}

.ec-eyebrow-bar {
    display: inline-block;
    width: 64px;
    height: 2px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--ec-gradient);
}

.ec-large {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--ec-grey-600);
}


/* ============================================
   4. BUTTONS
   ============================================ */
.ec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--ec-transition);
    border: 1px solid transparent;
    cursor: pointer;
}

    .ec-btn i {
        font-size: 0.875rem;
    }

.ec-btn-primary {
    background: var(--ec-white);
    color: var(--ec-grey-900);
    border-color: var(--ec-white);
}

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

.ec-btn-secondary {
    background: transparent;
    color: var(--ec-white);
    border-color: rgba(255,255,255,0.3);
}

    .ec-btn-secondary:hover {
        border-color: var(--ec-white);
        background: rgba(255,255,255,0.1);
    }

.ec-btn-accent {
    background: var(--ec-accent);
    color: var(--ec-grey-200);
}

    .ec-btn-accent:hover {
        background: #CE6F1C;
        transform: translateY(-2px);
    }

.ec-btn-dark {
    background: var(--ec-grey-900);
    color: var(--ec-white);
    border-color: var(--ec-grey-900);
}

.ec-btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.8125rem;
}

    .ec-btn-dark:hover {
        background: var(--ec-black);
        transform: translateY(-2px);
    }

.ec-btn-outline {
    background: transparent;
    color: var(--ec-grey-900);
    border-color: var(--ec-grey-300);
}

    .ec-btn-outline:hover {
        border-color: var(--ec-primary);
        background: var(--ec-primary);
        color: var(--ec-white);
    }

.ec-btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.ec-btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ec-btn-full {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 4px;
}


/* ============================================
   5. HERO SECTION — Ecodan overrides
   ============================================ */

/* Use Ecodan black as background, Ecodan logo at 300px wide */
.ec-page .me-hero {
    background: var(--ec-black);
    --me-hero-logo-width: 300px;
}

#solutions .ec-solutions-features,
#what-is .ec-solutions-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 1.5rem;
}

#solutions .ec-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================
   6. STATS BAR
   ============================================ */
.ec-stats-bar {
    background: var(--ec-grey-900);
    border-top: 1px solid var(--ec-grey-800);
}

.ec-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .ec-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ec-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid var(--ec-grey-800);
}

.ec-stat:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .ec-stat {
        padding: 2rem 1.5rem;
        border-bottom: none;
        border-right: 1px solid var(--ec-grey-800);
    }

    .ec-stat:last-child {
        border-right: none;
    }
}

.ec-stat-icon {
    font-size: 2rem;
    color: var(--ec-accent, #e60012);
    flex-shrink: 0;
}

.ec-stat-body {
    text-align: center;
}

.ec-stat-value {
    display: block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--ec-white);
    letter-spacing: -0.02em;
}

.ec-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--ec-grey-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ec-stat-info-link {
    color: var(--ec-grey-300);
    font-size: 0.75rem;
    vertical-align: middle;
    transition: color 0.2s;
}

.ec-stat-info-link:hover {
    color: var(--ec-white);
}


/* ============================================
   7. COP COMPARISON CHART
   ============================================ */

.cop-chart {
    margin-top: 2rem;
    background: var(--ec-grey-50);
    border: 1px solid var(--ec-grey-200);
    border-radius: 12px;
    padding: 1.5rem;
}

.cop-chart-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ec-grey-500);
    margin-bottom: 0.75rem;
}

.cop-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-size: 0.8rem;
    color: var(--ec-grey-600);
    margin-bottom: 1.25rem;
    align-items: center;
}

.cop-legend-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 2px;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.cop-dot-ecodan   { background: #6db33f; }
.cop-dot-electric { background: #f5c100; }
.cop-dot-gas      { background: #d94f1e; }

.cop-chart-area {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cop-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    height: 180px;
    border-bottom: 2px solid var(--ec-grey-300);
}

.cop-bar-wrap {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.cop-bar-fill {
    width: 100%;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.8s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.is-visible .cop-bar-fill { transform: scaleY(1); }

.cop-bar-gas      { background: #d94f1e; transition-delay: 0.4s; }
.cop-bar-electric { background: #f5c100; transition-delay: 0.55s; }
.cop-bar-ecodan   { background: #6db33f; transition-delay: 0.7s; }

.cop-bar-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.cop-bar-value sup { font-size: 0.6em; }

.cop-bar-electric .cop-bar-value { color: #333; }

.cop-chart-labels {
    display: flex;
    gap: 0.75rem;
    text-align: center;
}

.cop-chart-labels span {
    flex: 1;
    font-size: 0.75rem;
    color: var(--ec-grey-500);
    line-height: 1.3;
}

.cop-chart-labels small {
    font-size: 0.7rem;
    color: var(--ec-grey-400);
}

/* ============================================
   8. FEATURE CARDS (3-up: Efficiency / Environment / Upgrade)
   ============================================ */

.ec-feature-cards-section {
    background: #fff;
    padding: 0;
}

.ec-feature-cards-row {
    border-top: 1px solid var(--ec-grey-200);
}

.ec-feature-card {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--ec-grey-200);
}

.ec-feature-card:last-child {
    border-right: none;
}

.ec-feature-card-icon {
    font-size: 1.75rem;
    color: var(--ec-grey-400);
    margin-bottom: 1.5rem;
}

.ec-feature-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ec-grey-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.ec-feature-card-desc {
    font-size: 0.875rem;
    color: var(--ec-grey-500);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.ec-feature-card-list {
    font-size: 0.875rem;
    color: var(--ec-grey-700);
}

.ec-feature-card-check {
    font-size: 0.6rem;
    margin-top: 4px !important;
}

.ec-feature-card-stat {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 300;
    color: var(--ec-grey-900);
    line-height: 1;
}

.ec-feature-card-stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--ec-primary);
    line-height: 1;
}

/* Stack cards on mobile */
@media (max-width: 767px) {
    .ec-feature-card {
        border-right: none;
        border-bottom: 1px solid var(--ec-grey-200);
        padding: 2rem 1.25rem;
    }

    .ec-feature-card:last-child {
        border-bottom: none;
    }
}


/* ============================================
   8. JUMP NAVIGATION
   ============================================ */
.ec-jump-nav {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 100;
    transition: box-shadow var(--ec-transition);
}

    .ec-jump-nav.ec-jump-nav-sticky {
        position: fixed;
        top: var(--ec-header-offset);
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 992px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

.ec-jump-nav-placeholder {
    display: none;
    height: 0;
}

    .ec-jump-nav-placeholder.ec-active {
        display: block;
    }

.ec-jump-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}

    .ec-jump-nav-inner::-webkit-scrollbar {
        display: none;
    }

.ec-jump-nav-arrow {
    flex-shrink: 0;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    color: var(--ec-grey-500);
    font-size: 0.875rem;
    transition: opacity var(--ec-transition), color var(--ec-transition);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

    .ec-jump-nav-arrow:hover {
        color: var(--ec-grey-900);
    }

    .ec-jump-nav-arrow-left {
        box-shadow: 4px 0 8px rgba(255, 255, 255, 0.9);
    }

    .ec-jump-nav-arrow-right {
        box-shadow: -4px 0 8px rgba(255, 255, 255, 0.9);
    }

    .ec-jump-nav-arrow.ec-visible {
        opacity: 1;
        pointer-events: auto;
    }

.ec-jump-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 0.7rem;
    text-decoration: none;
    color: var(--ec-grey-500);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-bottom: 2px solid transparent;
    transition: all var(--ec-transition);
    white-space: nowrap;
}

    .ec-jump-link i {
        font-size: 0.875rem;
    }

    .ec-jump-nav-inner .ec-jump-link i {
        display: none;
    }

    .ec-jump-link:hover {
        color: var(--ec-grey-900);
        border-color: var(--ec-grey-300);
        text-decoration: none;
    }

    .ec-jump-link.ec-active {
        color: var(--ec-grey-900);
        border-bottom-color: var(--ec-accent);
        background: linear-gradient(to bottom, transparent 0%, rgba(210,130,31,0.05) 100%);
    }

        .ec-jump-link.ec-active i {
            color: var(--ec-accent);
        }

    .ec-jump-link.ec-jump-cta {
        background: var(--ec-grey-900);
        color: var(--ec-white);
        border-bottom-color: var(--ec-grey-900);
        margin-left: auto;
    }

        .ec-jump-link.ec-jump-cta:hover {
            background: var(--ec-black);
        }

/* Mobile Jump Nav */
.ec-jump-nav-mobile {
    display: none;
    position: relative;
}

.ec-jump-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--ec-white);
    border: none;
    cursor: pointer;
    font-family: var(--ec-font);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ec-grey-900);
    text-align: left;
}

.ec-jump-nav-toggle-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .ec-jump-nav-toggle-content i {
        color: var(--ec-accent);
        font-size: 1rem;
    }

.ec-jump-nav-toggle-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ec-grey-400);
    margin-right: 0.5rem;
}

.ec-jump-nav-toggle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--ec-grey-100);
    border-radius: 4px;
    transition: all var(--ec-transition);
}

    .ec-jump-nav-toggle-arrow i {
        font-size: 0.75rem;
        color: var(--ec-grey-600);
        transition: transform var(--ec-transition);
    }

.ec-jump-nav-toggle[aria-expanded="true"] .ec-jump-nav-toggle-arrow {
    background: var(--ec-grey-900);
}

    .ec-jump-nav-toggle[aria-expanded="true"] .ec-jump-nav-toggle-arrow i {
        color: var(--ec-white);
        transform: rotate(180deg);
    }

.ec-jump-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ec-white);
    border-top: 1px solid var(--ec-grey-200);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ec-transition);
    z-index: 200;
}

    .ec-jump-nav-dropdown.ec-open {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }

.ec-jump-nav-dropdown .ec-jump-link {
    padding: 0.85rem 1rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 0.85rem;
}

    .ec-jump-nav-dropdown .ec-jump-link:hover {
        background: var(--ec-grey-50);
    }

    .ec-jump-nav-dropdown .ec-jump-link.ec-active {
        background: rgba(210,130,31,0.08);
        border-left-color: var(--ec-accent);
    }

    .ec-jump-nav-dropdown .ec-jump-link.ec-jump-cta {
        margin: 0.5rem 1rem 0.75rem;
        border-radius: 6px;
        justify-content: center;
        border-left: none;
    }


/* ============================================
   9. SECTIONS
   ============================================ */
.ec-section {
    padding: 2rem 0;
    min-height: 80vh;
}

.constrained .ec-section {
    min-height: auto;
}

.ec-section-dark,
.ec-split-dark {
    --ec-ctx-heading:     var(--ec-white);
    --ec-ctx-body:        var(--ec-grey-400);
    --ec-ctx-list-item:   var(--ec-grey-300);
    --ec-ctx-list-border: var(--ec-grey-800);
    --ec-ctx-badge-bg:    var(--ec-primary-light);
    --ec-ctx-badge-text:  var(--ec-primary-dark);
}

.ec-section-dark,
.ec-split-dark {
    background: var(--ec-grey-950);
}

.ec-section-dark a:not(.ec-btn),
.ec-split-dark a:not(.ec-btn),
.ec-bg-section a:not(.ec-btn) {
    color: var(--ec-white);
}

.ec-section p,
.ec-split-content p {
    color: var(--ec-ctx-body);
}

.ec-section-warm {
    background: var(--ec-warm-50);
}

.ec-section-white {
    background: #fff;
    padding: 4rem 2rem;
}

.ec-section-light {
    background: var(--ec-grey-100);
}

.ec-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

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

.ec-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

    .ec-intro h2 {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
        font-weight: 500;
        line-height: 1.4;
        color: var(--ec-grey-800);
    }


/* ============================================
   10. SPLIT SECTIONS
   ============================================ */
.ec-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 70vh;
    background: #fff;
}

.ec-split-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ec-split-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ec-split-image.ec-image-contain {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .ec-split-image.ec-image-contain img {
            position: relative;
            inset: unset;
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 650px;
            object-fit: contain;
        }

.ec-split-content {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: var(--ec-white);
}

.ec-split-content-inner {
    max-width: 520px;
}

.ec-split-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.ec-split-dark .ec-split-content {
    background: var(--ec-grey-950);
}


/* ============================================
   11. PHOTO TILES — Ecodan accent override
   ============================================ */

/* Apply Ecodan's gold/orange as the accent colour for me-photo-tiles
   on any page using the .ec-page shell. */
.ec-page {
    --me-photo-tile-accent: var(--ec-primary);
}

@media (max-width: 767.98px) {
    .ec-page .me-photo-tiles {
        grid-template-columns: 1fr;
    }
}




/* ============================================
   12. FEATURES & LISTS
   ============================================ */
.ec-features-list {
    padding: 0;
    list-style: none;
}

    .ec-features-list li {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--ec-ctx-list-border);
        font-size: 1rem;
        color: var(--ec-ctx-list-item);
    }

.ec-image-section {
    --ec-ctx-list-item:   var(--ec-grey-200);
    --ec-ctx-list-border: rgba(255, 255, 255, 0.1);
}

.ec-split {
    --ec-ctx-list-item: var(--ec-grey-700);
}

.ec-split.ec-split-dark {
    --ec-ctx-list-item: var(--ec-grey-300);
}

#performance {
    --ec-ctx-list-item: var(--ec-grey-300);
}

.ec-features-list li:last-child {
    border-bottom: none;
}

.ec-features-list li::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--ec-ctx-badge-bg);
    color: var(--ec-ctx-badge-text);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}


/* ============================================
   13. SOLUTIONS FEATURES
   ============================================ */
.ec-app-feature {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--ec-grey-200);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.ec-app-feature:hover {
    border-color: var(--ec-grey-300);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
}

.ec-app-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--ec-grey-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
    align-self: center;
}

.ec-app-feature-icon i {
    font-size: 18px;
    color: var(--ec-grey-600);
}

.ec-app-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ec-grey-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.ec-app-feature-desc {
    font-size: 13px;
    color: var(--ec-grey-500);
    line-height: 1.6;
    margin: 0;
}


/* ============================================
   14. CTA SECTIONS
   ============================================ */
.ec-cta-section {
    background: #171717;
    padding: 4rem 0;
}

.ec-cta-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

    .ec-cta-content h2 {
        color: #fff;
        margin-bottom: 0.75rem;
    }

    .ec-cta-content > p {
        color: rgba(255, 255, 255, 0.55);
    }

.ec-cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 36px 0;
}

.ec-cta-feature {
    background: var(--ec-white-04);
    border: 1px solid var(--ec-white-06);
    padding: 28px 24px;
    border-radius: 8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

    .ec-cta-feature i {
        font-size: 1.75rem;
        display: block;
    }

    .ec-cta-feature h3 {
        color: rgba(255, 255, 255, 0.85);
        font-size: 14px;
        font-weight: 600;
        margin: 12px 0 6px;
    }

    .ec-cta-feature p {
        color: rgba(255, 255, 255, 0.4);
        font-size: 12px;
        margin: 0;
        line-height: 1.4;
    }

.ec-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

    .ec-cta-actions .ec-btn {
        justify-content: center;
    }

.ec-cta-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.ec-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 8px;
    padding: 11px 18px;
    background: transparent;
    border: 1px solid var(--ec-white-15);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 150ms ease, color 150ms ease;
    font-size: 13px;
}

    .ec-contact-btn:hover {
        border-color: rgba(255, 255, 255, 0.35);
        color: #fff;
        text-decoration: none;
    }

    .ec-contact-btn i {
        font-size: 13px;
    }


/* ============================================
   15. PROCESS GRID
   ============================================ */
.ec-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.ec-process-card {
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

    .ec-process-card::before {
        display: none;
    }

.ec-process-step-num {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    color: #e5e5e5;
    line-height: 1;
    margin-bottom: 12px;
}

.ec-process-card-inner {
    background: #ffffff;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .ec-process-card-inner i {
        color: #737373;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .ec-process-card-inner h3 {
        color: #171717;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .ec-process-card-inner p {
        margin: 0;
        color: #737373;
        line-height: 1.6;
        font-size: 0.875rem;
    }


/* ============================================
   16. BANNER
   ============================================ */
.ec-banner-link {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    /* min-width: 60vh; */
}

    .ec-banner-link:hover .ec-banner-bg img {
        transform: scale(1.03);
    }

.ec-banner-bg {
    aspect-ratio: 16 / 6;
    overflow: hidden;
}

    .ec-banner-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.6s ease;
    }

.ec-banner-content {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    padding: 2rem;
}

    .ec-banner-content h2 {
        color: var(--ec-white);
        font-size: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: 0.5rem;
    }

    .ec-banner-content p {
        color: rgba(255,255,255,0.7);
        margin-bottom: 1.5rem;
    }


/* ============================================
   17. MODALS
   ============================================ */
.ec-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ec-transition);
    backdrop-filter: blur(8px);
}

    .ec-modal-overlay.ec-modal-active {
        opacity: 1;
        visibility: visible;
    }

.ec-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 2001;
    background: var(--ec-white);
    max-width: 900px;
    width: calc(100% - 2rem);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ec-transition);
    border-radius: 8px;
}

    .ec-modal.ec-modal-active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%) scale(1);
    }

.ec-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ec-grey-200);
    background: var(--ec-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--ec-grey-600);
    transition: all var(--ec-transition);
    z-index: 10;
    border-radius: 4px;
}

    .ec-modal-close:hover {
        background: var(--ec-grey-900);
        border-color: var(--ec-grey-900);
        color: var(--ec-white);
    }

.ec-modal-content {
    padding: 3rem;
}


/* ============================================
   18. ANIMATIONS
   ============================================ */
.ec-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .ec-fade-up.ec-visible {
        opacity: 1;
        transform: translateY(0);
    }

.ec-stagger .ec-fade-up:nth-child(1) {
    transition-delay: 0s;
}

.ec-stagger .ec-fade-up:nth-child(2) {
    transition-delay: 0.1s;
}

.ec-stagger .ec-fade-up:nth-child(3) {
    transition-delay: 0.2s;
}


/* ============================================
   19. MOBILE CTA
   ============================================ */
.ec-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    display: none;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.95);
    border-top: 1px solid var(--ec-grey-200);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}


/* ============================================
   20. SAVINGS SECTION
   ============================================ */

.ec-savings-section {
    padding: 4rem 0;
    color: var(--ec-white);
}

.ec-savings-section h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--ec-white);
}

.ec-savings-sup {
    font-size: 0.4em;
    vertical-align: super;
}

.ec-savings-card {
    background: var(--ec-white-06);
    border: 1px solid var(--ec-white-08);
    border-radius: 12px;
    padding: 28px;
    color: var(--ec-white);
    display: flex;
    flex-direction: column;
}

.ec-savings-stat-num {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--ec-white);
    line-height: 1;
}

.ec-savings-stat-unit {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 300;
    color: var(--ec-primary);
    line-height: 1;
}

.ec-savings-vr {
    width: 1px;
    background: var(--ec-white-15);
    align-self: stretch;
    flex-shrink: 0;
}

.ec-savings-card-footer {
    border-top: 1px solid var(--ec-white-08);
    padding-top: 16px;
    margin-top: auto;
}

.ec-savings-footnote-icon {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.ec-savings-lead {
    color: rgba(255, 255, 255, 0.65);
}

.ec-savings-card-body {
    color: rgba(255, 255, 255, 0.85);
}

.ec-savings-muted {
    color: rgba(255, 255, 255, 0.4);
}

.ec-savings-footnote-strong {
    color: var(--ec-white-75);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .ec-savings-section .row {
        --bs-gutter-y: 2rem;
    }
}

/* ============================================
   21. BACKGROUND IMAGE SECTION
   ============================================ */

.ec-bg-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
}

.ec-bg-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.15) 100%);
}

.ec-bg-section-content {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.ec-check-icon {
    width: 24px;
    height: 24px;
    background: var(--ec-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ec-white);
    font-size: 10px;
}

/* ============================================
   22. UTILITY CLASSES
   ============================================ */
.ec-highlight-box {
    background: var(--ec-grey-900);
    color: var(--ec-white);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 4px;
}

    .ec-highlight-box h3 {
        color: var(--ec-accent);
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .ec-highlight-box p {
        color: var(--ec-accent);
        margin: 0;
    }

.system {
    max-width: 350px;
}

.ec-quiet-content {
    position: relative;
}

.ec-quiet-badge {
    display: none;
}

@media (min-width: 768px) {
    .ec-quiet-badge {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        max-width: 110px;
        height: auto;
    }
}

.ec-noise-chart {
    margin: 2rem 0 0;
}

/* Context labels above the bar */
.noise-scale-context {
    position: relative;
    height: 4.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.65rem;
    color: var(--ec-grey-500);
    line-height: 1.3;
    text-align: center;
}

.nsc-item {
    position: absolute;
    transform: translateX(-50%);
    top: 0;
}

.nsc-item:first-child {
    transform: translateX(0);
    text-align: left;
}

.nsc-item:last-child {
    transform: translateX(-100%);
    text-align: right;
}

.nsc-item i {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    color: var(--ec-grey-400);
}

.nsc-item:first-child i,
.nsc-item:last-child i {
    display: block;
}

.nsc-item small {
    color: var(--ec-grey-400);
    font-size: 0.6rem;
}

/* Gradient bar */
.noise-scale-bar-wrap {
    position: relative;
}

.noise-scale-bar {
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(to right,
        #29b6d8 0%,
        #7dd95b 36%,
        #c7e330 43%,
        #f5c100 55%,
        #f07020 71%,
        #e03030 100%
    );
}

/* Marker line + callout */
.noise-scale-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
}

.noise-scale-marker::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(-50%);
}

.noise-scale-callout {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a6eb5;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
}

.noise-scale-callout sup {
    font-size: 0.65em;
}

.noise-scale-callout::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #1a6eb5;
}

/* Axis tick labels below bar */
.noise-scale-axis {
    position: relative;
    margin-top: 2.25rem;
    height: 1rem;
    font-size: 0.7rem;
    color: var(--ec-grey-400);
}

.nsa-tick {
    position: absolute;
    transform: translateX(-50%);
}

.nsa-tick:first-child {
    transform: translateX(0);
}

.nsa-tick:last-child {
    transform: translateX(-100%);
}



/* Video Section */
.ec-video-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--ec-grey-950) 0%, var(--ec-grey-900) 100%);
    overflow: hidden;
}

    .ec-video-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, var(--ec-accent) 50%, transparent 100%);
    }

    .ec-video-section .ec-section-header {
        margin-bottom: 3rem;
        position: relative;
        z-index: 2;
    }

        .ec-video-section .ec-section-header h2 {
            color: var(--ec-white);
            font-size: clamp(2rem, 4vw, 3rem);
        }

        .ec-video-section .ec-section-header p {
            color: rgba(255,255,255,0.7);
            font-size: 1.125rem;
            max-width: 600px;
            margin: 0 auto;
        }

.ec-video-wrapper {
    max-width: 2200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.ec-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 0;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}

    .ec-video-container::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: var(--ec-gradient);
        border-radius: 0;
        z-index: -1;
        opacity: 0.8;
    }

    .ec-video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    
/**************************\
  Dark CTA Panel (.me-dark-cta)
\**************************/

.me-dark-cta {
    background-color: #1c1c1c;
    padding: 48px 32px;
    text-align: center;
}

.me-dark-cta__header {
    margin-bottom: 32px;
}

.me-dark-cta__title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.me-dark-cta__subtitle {
    margin: 0;
    color: #fff;
}

.me-dark-cta__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 575.98px) {
    .me-dark-cta__cards {
        grid-template-columns: 1fr;
    }
}

.me-dark-cta__card {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px 8px;
}

.me-dark-cta__icon {
    display: block;
    font-size: 24px;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.me-dark-cta__card-title {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.me-dark-cta__card-text {
    margin: 0;
    color: #888;
}

.me-dark-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.me-dark-cta .me-dark-cta__btn {
    background-color: rgb(241, 241, 241);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.me-dark-cta__btn:hover {
    background: white;
    transform: translateY(-2px);
}

/* ============================================
   23. RESPONSIVE BREAKPOINTS
   ============================================ */

/* ========== TABLET & UP (768px+) ========== */
@media (min-width: 768px) {
    /* Stats grid — 3 columns fixed, no responsive override needed */

    .ec-stat:last-child {
            border-right: none;
        }

    /* System image */
    .system {
        max-width: 400px;
    }
}

/* ========== TABLET ONLY (768px - 991px) ========== */
@media (min-width: 768px) and (max-width: 991.98px) {
    .ec-split-content {
        padding: 2.5rem 1.5rem;
    }

    .ec-modal-content {
        padding: 2rem 1.5rem;
    }

    .ec-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== DESKTOP (992px+) ========== */
@media (min-width: 992px) {
    .ec-split {
        grid-template-columns: 1fr 1fr;
    }

    #efficiency-detail {
        grid-template-columns: 50fr 45fr;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        min-height: unset;
    }

        .ec-split.ec-split-reverse .ec-split-image {
            order: 2;
        }

        .ec-split.ec-split-reverse .ec-split-content {
            order: 1;
        }

    .ec-split-content {
        padding: 3rem;
    }

    .ec-jump-nav-inner {
        display: flex;
    }

    .ec-jump-nav-mobile {
        display: none;
    }
}

/* ========== LARGE DESKTOP (1200px+) ========== */
@media (min-width: 1200px) {
    .ec-split-content {
        padding: 2rem;
    }

    .ec-app-card {
        min-height: 320px;
    }
}

/* ========== EXTRA LARGE (1320px+) ========== */
@media (min-width: 1320px) {
    .ec-app-card {
        min-height: 576px;
    }
}

/* ========== TABLET & BELOW (< 992px) ========== */
@media (max-width: 991.98px) {


    .ec-jump-nav-inner {
        display: none;
    }

    .ec-jump-nav-mobile {
        display: block;
    }

}

/* ========== MOBILE (< 768px) ========== */
@media (max-width: 767.98px) {
    /* Base mobile adjustments */
    .ec-page {
        padding-bottom: 70px;
    }

        .ec-page p {
            font-size: 0.9375rem;
            line-height: 1.6;
        }

    .ec-eyebrow {
        margin-bottom: 0.5rem;
        font-size: 0.7rem;
    }

    /* Constrained logo width override for mobile */
    #ecPageShell.constrained .me-hero-logo {
        width: 160px;
    }

    /* Buttons mobile */
    .ec-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .ec-btn-small {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Stats mobile */
    .ec-stat {
        padding: 1.5rem 1rem;
    }

    .ec-stat-value {
        font-size: 2rem;
    }

    .ec-stat-label {
        font-size: 0.75rem;
    }

    .ec-jump-nav {
        background: #fff;
    }

    /* Sections mobile */
    .ec-section {
        padding: 1.5rem 0;
    }

    #solutions .ec-solutions-features,
    #what-is .ec-solutions-features {
        grid-template-columns: 1fr;
    }

    .ec-section-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .ec-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    /* Split sections mobile */
    .ec-split {
        min-height: auto;
    }

    .ec-split-image {
        min-height: 300px;
    }

        .ec-split-image.ec-image-contain {
            min-height: 0;
            padding: 2rem 1.5rem;
        }

            .ec-split-image.ec-image-contain img {
                width: auto;
                max-width: 100%;
                max-height: 420px;
            }

    .ec-split-content {
        padding: 2rem 1rem;
    }

        .ec-split-content h2 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

    /* Features list mobile */
    .ec-features-list {
        margin: 1.5rem 0;
    }

        .ec-features-list li {
            padding: 0.75rem 0;
            font-size: 0.9375rem;
            gap: 0.75rem;
        }

            .ec-features-list li::before {
                width: 20px;
                height: 20px;
                font-size: 0.65rem;
            }

    /* Highlight boxes mobile */
    .ec-highlight-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

        .ec-highlight-box h3 {
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
        }

    /* Process grid mobile */
    .ec-process-grid {
        grid-template-columns: 1fr;
    }

    .ec-process-card-inner {
        padding: 1.25rem;
    }

    /* CTA section mobile */
    .ec-cta-section {
        padding: 3rem 0;
    }

    .ec-cta-features {
        grid-template-columns: 1fr;
    }

    .ec-video-section {
        padding: 3rem 0;
    }

        .ec-video-section .ec-section-header {
            margin-bottom: 2rem;
            padding: 0 1rem;
        }

    .ec-video-wrapper {
        padding: 0 1rem;
    }

    /* Banner mobile — CSS grid stacking so height follows content */
    .ec-banner-link {
        display: grid;
    }

    .ec-banner-bg {
        grid-area: 1 / 1;
        aspect-ratio: unset;
        min-height: 280px;
    }

    .ec-banner-content {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        /* width: 100vw; */
        z-index: 1;
        padding: 2rem 1.5rem;
        align-items: flex-start;
    }

        .ec-banner-content h2 {
            font-size: 1.375rem;
        }

        .ec-banner-content p {
            font-size: 0.9375rem;
        }

    /* Modal mobile */
    .ec-modal {
        width: calc(100% - 1rem);
        max-height: calc(100vh - 2rem);
    }

    .ec-modal-content {
        padding: 1.5rem;
    }

        .ec-modal-content h3 {
            font-size: 1.25rem;
            padding-right: 2.5rem;
        }

    .ec-modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }

    /* Mobile CTA bar */
    .ec-mobile-cta {
        display: flex;
        padding: 0.75rem;
        gap: 0.5rem;
    }

        .ec-mobile-cta.ec-mobile-cta-visible {
            transform: translateY(0);
        }

    .ec-page.ec-mobile-cta-active {
        padding-bottom: 70px;
    }

    .ec-mobile-cta .ec-btn {
        flex: 1;
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
}

/* ========== SMALL MOBILE (< 576px) ========== */
@media (max-width: 575.98px) {
    .ec-section h2 {
        font-size: 1.5rem;
    }

    .ec-split-content h2 {
        font-size: 1.375rem;
    }

    .ec-stat-value {
        font-size: 1.75rem;
    }

}


/* ============================================
   24. PRINT STYLES
   ============================================ */
@media print {
    .ec-jump-nav,
    .ec-mobile-cta,
    .me-hero-scroll,
    .ec-modal-overlay,
    .ec-modal {
        display: none !important;
    }

    .ec-page {
        padding-bottom: 0;
    }
}

/* ============================================
   25. BENEFIT CARDS
   ============================================ */

.ec-benefit-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ec-benefit-cards > [class*="col"] {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0;
}

@media (max-width: 767px) {
    .ec-benefit-cards {
        grid-template-columns: 1fr;
    }
}

.ec-benefit-card {
    min-height: 480px;
}

.ec-benefit-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ec-benefit-card:hover .ec-benefit-card-bg {
    transform: scale(1.05);
}

.ec-benefit-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.70) 45%, rgba(0,0,0,0.40) 100%);
}

.ec-benefit-card-content {
    padding: 36px 32px;
}

.ec-benefit-card .ec-eyebrow {
    color: rgba(255,255,255,0.6);
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.ec-benefit-card h3 {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.ec-benefit-card p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.ec-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 150ms ease, border-color 150ms ease;
}

.ec-card-readmore:hover {
    background: var(--ec-white-15);
    border-color: rgba(255,255,255,0.65);
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .ec-benefit-card { min-height: 360px; }
    .ec-benefit-card-content { padding: 28px 24px; }
}

/* ============================================
   26. CONSULTATION FORM
   ============================================ */

.ec-consult-wrap {
    gap: 48px;
    max-width: 600px;
    margin: 0 auto;
}

.ec-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.ec-field-label {
    font-size: 12px;
    font-weight: 600;
    color: #404040;
}

.ec-field-input {
    padding: 11px 14px;
    border: 1.5px solid #E8E8E6;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    color: #444444;
    background: #ffffff;
    outline: none;
    transition: border-color 150ms ease;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    box-sizing: border-box;
}

.ec-field-input:focus {
    border-color: #0F0F0F;
    box-shadow: none;
}

textarea.ec-field-input {
    min-height: 100px;
    resize: vertical;
}

.ec-consult-submit {
    background: #0F0F0F;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    padding: 13px 22px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 150ms ease;
    width: 100%;
    letter-spacing: 0.01em;
}

.ec-consult-submit:hover {
    background: #2A2A2A;
}

.ec-consult-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ec-trust-item {
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8E8E6;
}

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

.ec-trust-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    color: #0F0F0F;
    padding-top: 2px;
}

.ec-trust-title {
    font-size: 13px;
    font-weight: 600;
    color: #0F0F0F;
    margin-bottom: 4px;
}

.ec-trust-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #737373;
}

@media (max-width: 767.98px) {
    .ec-consult-wrap {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   27. TYPOGRAPHY — Inter redesign style
   ============================================ */

/* Headings: light weight, tight tracking */
.ec-page h1,
.ec-page h2 {
    font-weight: 300;
}

.ec-page h1 {
    letter-spacing: -0.04em;
    line-height: 1.1;
}


.ec-page h2 {
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.ec-page h3 {
    font-weight: 500;
    letter-spacing: -0.025em;
}


/* Eyebrow labels */
.ec-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
}

/* Footnotes */
.ec-page .caveat {
    font-size: 0.75rem;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

/* ============================================
   28. SCROLL ANIMATIONS
   ============================================ */
.ec-fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.ec-fade-up.is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays for sibling ec-fade-up elements inside card grids */
.ec-feature-cards-row .ec-fade-up:nth-child(2),
.ec-process-grid .ec-fade-up:nth-child(2),
.me-photo-tiles .ec-fade-up:nth-child(2),
.ec-solutions-features .ec-fade-up:nth-child(2),
.ec-cta-features .ec-fade-up:nth-child(2),
.ec-savings-section .row .ec-fade-up:nth-child(2) { transition-delay: 0.1s; }

.ec-feature-cards-row .ec-fade-up:nth-child(3),
.ec-process-grid .ec-fade-up:nth-child(3),
.me-photo-tiles .ec-fade-up:nth-child(3),
.ec-solutions-features .ec-fade-up:nth-child(3),
.ec-cta-features .ec-fade-up:nth-child(3) { transition-delay: 0.2s; }

.ec-process-grid .ec-fade-up:nth-child(4) { transition-delay: 0.3s; }

/* NO-JS fallback — show everything if JS hasn't run */
.no-js .ec-fade-up {
    opacity: 1;
    transform: none;
}


/* ============================================
   29. CONSTRAINED WIDTH
   ============================================ */

/* Constrained mode — desktop only (no effect on mobile) */
@media (min-width: 768px) {

    /* Matches site's container-xl limit (~990px) */
    #ecPageShell.constrained .ec-page {
        max-width: 990px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    /* Split sections in constrained mode.
       At 990px the base min-height: 70vh makes sections very tall (600px+ on typical
       monitors), creating a portrait-ish image crop. Fix: cap with a reasonable fixed
       min-height, widen the content column to reduce text wrapping, and tighten padding. */
    #ecPageShell.constrained .ec-split {
        grid-template-columns: 35fr 65fr;
        grid-template-areas: "image content";
        min-height: 70vh;
    }

        /* Reverse: content LEFT (wide), image RIGHT (narrow) */
        #ecPageShell.constrained .ec-split.ec-split-reverse {
            grid-template-columns: 65fr 35fr;
            grid-template-areas: "content image";
        }

        #ecPageShell.constrained .ec-split.ec-split-reverse#efficiency-detail {
            grid-template-columns: 60fr 40fr;
            grid-template-areas: "content image";
        }

        #ecPageShell.constrained .ec-split-constrained-text-left {
            grid-template-columns: 65fr 35fr;
            grid-template-areas: "content image";
        }

        #ecPageShell.constrained .ec-split-constrained-image-left {
            grid-template-columns: 35fr 65fr;
            grid-template-areas: "image content";
        }

        #ecPageShell.constrained .ec-split-image {
            grid-area: image;
        }

        #ecPageShell.constrained #replace .ec-split-image img {
            object-position: right;
        }

        #ecPageShell.constrained .ec-split-content {
            grid-area: content;
            padding: 2rem 2.5rem;
        }

        #ecPageShell.constrained .ec-split-content-inner {
            max-width: 100%;
        }

    /* Full-width sections (savings + NZ conditions) get more breathing room when constrained */
    #ecPageShell.constrained .ec-savings-section {
        padding: 5rem 2rem;
    }

    #ecPageShell.constrained .ec-bg-section-content {
        padding-top: 6rem;
        padding-bottom: 6rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

}

/* ============================================
   30. PRODUCT CARDS
   ============================================ */

.ec-product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ec-product-card {
    background: #fff;
    border: 1px solid var(--ec-grey-200);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ec-product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: var(--ec-grey-900);
}

.ec-product-card-image {
    background: var(--ec-grey-50);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.ec-product-card-image img {
    max-height: 160px;
    width: auto;
    object-fit: contain;
}

.ec-product-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ec-product-card-code {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ec-grey-400);
    margin-bottom: 6px;
}

.ec-product-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ec-grey-900);
    line-height: 1.3;
    margin-bottom: 10px;
}

.ec-product-card-desc {
    font-size: 0.8125rem;
    color: var(--ec-grey-500);
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    overflow: hidden;
}


@media (max-width: 991.98px) {
    .ec-product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .ec-product-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   31. ME-UI COMPONENT OVERRIDES
   ============================================ */

/* ec-page h2 specificity (0,1,1) beats me-dark-cta__title (0,1,0) —
   restore the component's intended white heading colour. */
.ec-page .me-dark-cta h2 {
    color: #fff;
}

/* Secondary button variant — transparent with white border */
.ec-page .me-dark-cta .me-dark-cta__btn--secondary {
    background: transparent;
    color: var(--ec-white);
    border-color: rgba(255, 255, 255, 0.3);
}

    .ec-page .me-dark-cta .me-dark-cta__btn--secondary:hover {
        border-color: var(--ec-white);
        background: rgba(255, 255, 255, 0.1);
    }

/* "Or call us on..." line below buttons */
.me-dark-cta__phone {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

    .me-dark-cta__phone a {
        color: var(--ec-white);
        font-weight: 600;
        text-decoration: none;
    }

        .me-dark-cta__phone a:hover {
            text-decoration: underline;
        }
