/* ════════════════════════════════════════════════════════════════
   ECOCHARGE — Sistema de diseño · paleta verde EV
   Marca independiente · cero referencias visuales a BT+
   ════════════════════════════════════════════════════════════════ */

:root {
    /* Paleta principal — verde + naranja del logo ecocharge */
    --ec-green:        #5DB833;   /* verde "eco" del logo */
    --ec-green-dark:   #4a9628;   /* hover */
    --ec-green-deep:   #2d6b1c;   /* verde oscuro del símbolo */
    --ec-green-light:  #84cc4f;
    --ec-green-soft:   #ecfccb;
    --ec-green-glow:   rgba(93, 184, 51, 0.22);

    /* Acento naranja "charge" (del cable/plug del símbolo) */
    --ec-orange:       #f58220;
    --ec-orange-dark:  #e87213;
    --ec-orange-light: #ffb56b;
    --ec-orange-soft:  #fff3e6;

    /* Neutros */
    --ec-ink:          #0a0e14;
    --ec-ink-soft:     #1e293b;
    --ec-muted:        #475569;
    --ec-muted-light:  #64748b;
    --ec-line:         #e5e7eb;
    --ec-line-soft:    #f1f5f9;
    --ec-bg:           #fafafa;
    --ec-bg-cream:     #f0fdf4;
    --ec-white:        #ffffff;

    /* Oscuros para secciones */
    --ec-dark:         #050a0d;
    --ec-dark-soft:    #0e1a1f;

    /* Tipografía — Space Grotesk como protagonista */
    --ec-font: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Sombras */
    --ec-shadow-sm:     0 2px 8px rgba(10,14,20,.05);
    --ec-shadow:        0 8px 24px rgba(10,14,20,.08);
    --ec-shadow-lg:     0 18px 48px rgba(10,14,20,.12);
    --ec-shadow-green:  0 14px 36px rgba(16,185,129,.30);
    --ec-shadow-green-sm: 0 6px 16px rgba(16,185,129,.20);

    /* Radios */
    --ec-r-sm: 8px;
    --ec-r:    14px;
    --ec-r-lg: 22px;
}

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--ec-font);
    color: var(--ec-ink);
    background: var(--ec-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ── Tagline divider (línea verde con texto, eco del logo) ── */
.ec-tagline-divider {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ec-green-deep);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}
.ec-tagline-divider .line {
    display: inline-block;
    width: 36px;
    height: 1.5px;
    background: var(--ec-green);
}
.ec-tagline-divider .line.short { width: 22px; }
/* Variante para fondos oscuros */
.ec-tagline-divider--light { color: rgba(255,255,255,0.85); }
.ec-tagline-divider--light .line { background: var(--ec-green-light); }
/* Variante centrada */
.ec-tagline-divider--center { display: flex; justify-content: center; }

/* ════════════════════════════════════════════════════════════════
   HEADER · top bar + nav minimalista
   ════════════════════════════════════════════════════════════════ */
.ec-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ec-line);
    transition: all .3s ease;
}
.ec-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}
.ec-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-family: var(--ec-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--ec-ink);
    letter-spacing: -0.02em;
}
.ec-logo svg { width: 28px; height: 28px; }
.ec-logo-text { font-weight: 700; }
.ec-logo-text .accent { color: var(--ec-green); font-weight: 600; }
/* Firma "by e-astur" sutil bajo el logo principal */
.ec-logo-by {
    font-size: 10px;
    font-weight: 500;
    color: var(--ec-muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 1px;
    line-height: 1;
}
.ec-logo-by strong {
    color: var(--ec-green-dark);
    font-weight: 700;
}

.ec-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.ec-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ec-ink-soft);
    transition: color .2s ease;
}
.ec-nav a:hover { color: var(--ec-green); }
.ec-nav-cta {
    background: var(--ec-green);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: all .25s ease;
    box-shadow: var(--ec-shadow-green-sm);
}
.ec-nav-cta:hover {
    background: var(--ec-green-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--ec-shadow-green);
}

@media (max-width: 767px) {
    .ec-nav { display: none; }
    .ec-nav-mobile-toggle { display: inline-flex; }
}

/* ════════════════════════════════════════════════════════════════
   HERO · grande, claro, calculadora destacada
   ════════════════════════════════════════════════════════════════ */
.ec-hero {
    position: relative;
    padding: 88px 0 100px;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(16,185,129,0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--ec-white) 0%, var(--ec-bg-cream) 100%);
    overflow: hidden;
}
.ec-hero::before {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.ec-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.ec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ec-green-soft);
    color: var(--ec-green-deep);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.ec-eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ec-orange);
    box-shadow: 0 0 0 4px rgba(245,130,32,0.22);
    animation: ec-pulse 2s infinite;
}
@keyframes ec-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(245,130,32,0.22); }
    50% { box-shadow: 0 0 0 8px rgba(245,130,32,0); }
}

.ec-hero h1 {
    font-family: var(--ec-font);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--ec-ink);
    margin: 0 0 24px;
}
.ec-hero h1 .accent {
    color: var(--ec-green);
    font-weight: 700;
}
.ec-hero h1 .accent::after {
    content: '.';
    color: var(--ec-green);
}

.ec-hero-lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ec-muted);
    margin: 0 0 36px;
    max-width: 620px;
}

.ec-hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* Botones */
.ec-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    text-decoration: none;
    transition: all .25s ease;
    letter-spacing: 0.2px;
    cursor: pointer;
}
.ec-btn-primary {
    background: var(--ec-green);
    color: #fff !important;
    box-shadow: var(--ec-shadow-green);
}
.ec-btn-primary:hover {
    background: var(--ec-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(16,185,129,.4);
}
.ec-btn-ghost {
    background: transparent;
    color: var(--ec-ink) !important;
    border: 1.5px solid var(--ec-line);
}
.ec-btn-ghost:hover {
    border-color: var(--ec-green);
    color: var(--ec-green-dark) !important;
}

.ec-hero-trust {
    display: flex;
    gap: 18px;
    margin-top: 32px;
    flex-wrap: wrap;
    color: var(--ec-muted);
    font-size: 14px;
}
.ec-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ec-hero-trust .ec-check {
    color: var(--ec-green);
    font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════
   SECTION genérica
   ════════════════════════════════════════════════════════════════ */
.ec-section {
    padding: 100px 0;
    position: relative;
}
.ec-section--alt { background: var(--ec-bg); }
.ec-section--dark {
    background: var(--ec-dark);
    color: rgba(255,255,255,.92);
}
.ec-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.ec-section h2 {
    font-family: var(--ec-font);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ec-ink);
    margin: 0 0 16px;
}
.ec-section h2 .accent { color: var(--ec-green); }
.ec-section--dark h2 { color: #fff; }
.ec-section-sub {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ec-muted);
    margin: 0;
}
.ec-section--dark .ec-section-sub { color: rgba(255,255,255,0.75); }

@media (max-width: 767px) {
    .ec-section { padding: 70px 0; }
    .ec-section-head { margin-bottom: 40px; }
}

/* ════════════════════════════════════════════════════════════════
   ESCENARIOS · 4 cards clickables
   ════════════════════════════════════════════════════════════════ */
.ec-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.ec-scenario {
    position: relative;
    padding: 32px 26px 28px;
    background: #fff;
    border: 1.5px solid var(--ec-line);
    border-radius: var(--ec-r);
    cursor: pointer;
    transition: all .35s cubic-bezier(.2,.7,.2,1);
    text-align: left;
    overflow: hidden;
}
.ec-scenario::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ec-green) 0%, var(--ec-green-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.ec-scenario:hover {
    transform: translateY(-6px);
    border-color: var(--ec-green);
    box-shadow: var(--ec-shadow-green-sm);
}
.ec-scenario:hover::before { transform: scaleX(1); }
.ec-scenario-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--ec-green-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all .35s ease;
}
.ec-scenario-icon svg { width: 24px; height: 24px; color: var(--ec-green-dark); }
.ec-scenario:hover .ec-scenario-icon {
    background: var(--ec-green);
}
.ec-scenario:hover .ec-scenario-icon svg { color: #fff; }
.ec-scenario h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.015em;
}
.ec-scenario p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ec-muted);
}
.ec-scenario-arrow {
    position: absolute;
    top: 28px; right: 24px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--ec-green-soft);
    color: var(--ec-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all .25s ease;
}
.ec-scenario:hover .ec-scenario-arrow {
    background: var(--ec-orange);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(245,130,32,0.35);
}

@media (max-width: 991px) {
    .ec-scenarios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ec-scenarios-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   USPs · 3 columnas con iconos
   ════════════════════════════════════════════════════════════════ */
.ec-usps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.ec-usp {
    text-align: left;
}
.ec-usp-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--ec-green-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.ec-usp-icon svg { width: 28px; height: 28px; color: var(--ec-green-dark); }
.ec-usp h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.018em;
}
.ec-usp p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ec-muted);
}

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

/* ════════════════════════════════════════════════════════════════
   PROCESO · 4 pasos numerados
   ════════════════════════════════════════════════════════════════ */
.ec-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: gp-step;
}
.ec-step {
    background: #fff;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-r);
    padding: 28px 24px;
    position: relative;
    transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.ec-step:hover {
    border-color: var(--ec-green);
    box-shadow: var(--ec-shadow-green-sm);
    transform: translateY(-4px);
}
.ec-step-num {
    display: inline-block;
    font-family: var(--ec-font);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--ec-green) 0%, var(--ec-green-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}
.ec-step h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.015em;
}
.ec-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ec-muted);
}
@media (min-width: 992px) {
    .ec-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -16px;
        top: 38px;
        color: var(--ec-green);
        opacity: .5;
        font-size: 18px;
    }
}
@media (max-width: 991px) { .ec-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ec-steps { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   MANIFESTO SOSTENIBLE · honesto, sin greenwashing
   ════════════════════════════════════════════════════════════════ */
.ec-manifesto {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(93,184,51,0.10) 0%, transparent 60%),
        linear-gradient(180deg, var(--ec-bg-cream) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.ec-manifesto::before {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,130,32,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.ec-manifesto-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.ec-manifesto-text h2 {
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 32px;
    color: var(--ec-ink);
}
.ec-manifesto-text h2 .accent {
    color: var(--ec-green-dark);
    font-style: italic;
}
.ec-manifesto-text p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--ec-ink-soft);
    margin: 0 0 22px;
}
.ec-manifesto-claim {
    margin-top: 36px !important;
    padding: 22px 28px;
    background: #fff;
    border-left: 4px solid var(--ec-orange);
    border-radius: var(--ec-r-sm);
    box-shadow: var(--ec-shadow);
    font-size: 19px !important;
    line-height: 1.45 !important;
    text-align: left;
}
.ec-manifesto-claim strong {
    color: var(--ec-ink);
}

/* ════════════════════════════════════════════════════════════════
   IMPACTO · métricas CO2 (sección oscura)
   ════════════════════════════════════════════════════════════════ */
.ec-impact {
    background:
        radial-gradient(ellipse at 80% 30%, rgba(93,184,51,0.10) 0%, transparent 60%),
        linear-gradient(180deg, var(--ec-dark) 0%, #0e1a1f 100%);
}
.ec-impact-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    margin: 0 auto;
    max-width: 980px;
}
.ec-impact-stat {
    text-align: center;
    padding: 20px 16px;
}
.ec-impact-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0) 100%);
}
.ec-impact-num {
    font-family: var(--ec-font);
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--ec-green-light) 0%, var(--ec-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    text-shadow: 0 4px 28px rgba(93,184,51,0.30);
}
.ec-impact-num .ec-impact-suffix,
.ec-impact-num .ec-impact-plus {
    font-size: 0.5em;
    font-weight: 600;
    margin-left: 2px;
    color: var(--ec-orange-light);
    -webkit-text-fill-color: var(--ec-orange-light);
}
.ec-impact-label {
    font-size: 14.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.45;
    font-weight: 500;
}
.ec-impact-note {
    text-align: center;
    margin: 36px auto 0;
    max-width: 720px;
    color: rgba(255,255,255,0.50);
    font-size: 12.5px;
    line-height: 1.5;
    font-style: italic;
}

@media (max-width: 991px) {
    .ec-impact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ec-impact-divider {
        width: 60%;
        height: 1px;
        margin: 0 auto;
        background: linear-gradient(90deg,
            transparent 0%,
            rgba(255,255,255,0.18) 50%,
            transparent 100%);
    }
}

/* ════════════════════════════════════════════════════════════════
   FAQ · accordion
   ════════════════════════════════════════════════════════════════ */
.ec-faq {
    max-width: 820px;
    margin: 0 auto;
}
.ec-faq-item {
    background: #fff;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-r);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all .25s ease;
}
.ec-faq-item:hover { border-color: var(--ec-green); }
.ec-faq-item[open] { border-color: var(--ec-green); box-shadow: var(--ec-shadow-green-sm); }
.ec-faq-item summary {
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ec-ink);
    transition: color .2s ease;
}
.ec-faq-item summary::-webkit-details-marker { display: none; }
.ec-faq-item summary:hover { color: var(--ec-green-dark); }
.ec-faq-item summary::after {
    content: '+';
    width: 28px; height: 28px;
    background: var(--ec-green-soft);
    color: var(--ec-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all .25s ease;
}
.ec-faq-item[open] summary::after {
    content: '−';
    background: var(--ec-orange);
    color: #fff;
}
.ec-faq-body {
    padding: 0 26px 22px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ec-muted);
}

/* ════════════════════════════════════════════════════════════════
   COBERTURA LOCAL · chips de localidades
   ════════════════════════════════════════════════════════════════ */
.ec-cobertura {
    text-align: center;
}
.ec-localidades {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}
.ec-localidad {
    background: #fff;
    border: 1.5px solid var(--ec-line);
    color: var(--ec-ink);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all .25s ease;
}
.ec-localidad:hover {
    border-color: var(--ec-green);
    color: var(--ec-green-dark);
    background: var(--ec-green-soft);
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════
   CTA FINAL · sección verde gigante
   ════════════════════════════════════════════════════════════════ */
.ec-cta-final {
    background:
        radial-gradient(ellipse at 75% 30%, rgba(255,255,255,0.18) 0%, transparent 50%),
        linear-gradient(135deg, var(--ec-green) 0%, var(--ec-green-deep) 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ec-cta-final::before {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 60%);
    pointer-events: none;
}
.ec-cta-final-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.ec-cta-final h2 {
    color: #fff;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
}
.ec-cta-final p {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
    margin: 0 0 36px;
}
.ec-cta-final-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ec-btn-white {
    background: #fff;
    color: var(--ec-green-dark) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.ec-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.25);
}
.ec-btn-ghost-white {
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
}
.ec-btn-ghost-white:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-3px);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER · minimalista, verde + dark
   ════════════════════════════════════════════════════════════════ */
.ec-footer {
    background: var(--ec-dark);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 24px;
    position: relative;
    overflow: hidden;
}
.ec-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ec-green) 0%, var(--ec-green-deep) 100%);
}

.ec-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ec-footer-brand .ec-logo {
    color: #fff;
    font-size: 24px;
    margin-bottom: 14px;
}
.ec-footer-brand p {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.70);
    max-width: 280px;
    margin: 0;
}
.ec-footer-col h4 {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.ec-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ec-footer-col ul li, .ec-footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.70);
    transition: color .2s ease;
}
.ec-footer-col ul li a:hover { color: var(--ec-green-light); }

.ec-footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.50);
}
.ec-footer-legal { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.ec-footer-legal a { color: rgba(255,255,255,0.55); }
.ec-footer-legal a:hover { color: var(--ec-green-light); }

@media (max-width: 991px) {
    .ec-footer-grid { grid-template-columns: 1fr 1fr; }
    .ec-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .ec-footer-grid { grid-template-columns: 1fr; }
    .ec-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════════
   MODAL CALCULADORA (placeholder, lógica completa en greenpower.js)
   ════════════════════════════════════════════════════════════════ */
.ec-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,14,20,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .3s ease;
}
.ec-modal-overlay.active {
    display: flex;
    opacity: 1;
}
.ec-modal {
    background: #fff;
    border-radius: var(--ec-r-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    transform: scale(0.96);
    transition: transform .3s ease;
}
.ec-modal-overlay.active .ec-modal { transform: scale(1); }
.ec-modal-header {
    padding: 26px 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}
.ec-modal-title { font-size: 24px; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.ec-modal-close {
    width: 36px; height: 36px;
    background: var(--ec-line-soft);
    border: 0;
    border-radius: 50%;
    font-size: 22px;
    color: var(--ec-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ec-modal-close:hover { background: var(--ec-line); color: var(--ec-ink); }
.ec-modal-body { padding: 22px 30px 30px; }
.ec-modal-footer {
    padding: 22px 30px;
    background: var(--ec-bg);
    border-top: 1px solid var(--ec-line);
    border-radius: 0 0 var(--ec-r-lg) var(--ec-r-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
@media (max-width: 600px) {
    .ec-modal-overlay { padding: 0; align-items: stretch; }
    .ec-modal { max-height: 100%; border-radius: 0; }
    .ec-modal-footer { border-radius: 0; }
}
