/* 
================================================================================================
ENVIAMOS DIGITAL | LANDING 1: SOFTWARE DE CITAS MÉDICAS Y AGENDAMIENTO AUTOMÁTICO (WaaS)
BASE: VERSION 1-B + OPTIMIZACIÓN DE CONVERSIÓN Y RENDIMIENTO
================================================================================================
*/

:root {
    /* --- PALETA DE COLORES --- */
    --color-principal: #0077FF;      /* Azul Eléctrico */
    --color-principal-soft: rgba(0, 119, 255, 0.1);
    --color-secundario: #00d4ff;    /* Azul Holograma */
    --color-acento: #FFFF00;        /* Neo Brutalist Yellow */
    --color-dark: #000814;          /* Negro Profundo */
    --color-fondo: #001233;         /* Azul Marino */
    --color-slate: #64748B;         /* Slate 500 */
    --color-text-gray: #4b5563;     /* Gris oscuro para fondos claros */
    --color-text-light: #ccd2d9;    /* Gris claro para fondos oscuros */
    --blanco: #FFFFFF;
    --teal-cta: #00b8a9;

    /* --- GRADIENTES MODERNOS --- */
    --gradiente-premium: linear-gradient(135deg, #0077FF 0%, #00d4ff 100%);
    --gradiente-dark: radial-gradient(circle at 80% 50%, rgba(0, 119, 255, 0.4) 0%, rgba(0, 0, 0, 1) 70%);

    /* --- SUPERFICIES Y SOMBRAS --- */
    --glass-bg: rgba(0, 18, 51, 0.85);
    --glass-border: rgba(0, 119, 255, 0.2);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 119, 255, 0.15);

    /* --- LAYOUT --- */
    --max-width: 1200px;
    --header-height: 80px;
    --radius-xl: 32px;
    --radius-lg: 20px;
    --radius-md: 12px;

    /* --- TRANSICIONES --- */
    --transicion: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: inherit;
    color: inherit;
}

img, svg, video, canvas {
    display: block;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
    width: 100%;
    height: 100%;
}

body,
body.bg-gray-100 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    background-color: var(--color-fondo) !important;
    color: var(--blanco);
    line-height: 1.6;
    overflow-x: clip;
    width: 100%;
    min-height: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* --- JERARQUÍA TIPOGRÁFICA --- */
body h1, body h2, body h3, body h4 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); margin-bottom: 1.5rem; display: block; }
body h2 { font-size: clamp(1.5rem, 5.5vw, 2.65rem); font-weight: 800; margin-bottom: 1.2rem; display: block; }
body h3 { font-size: clamp(1.2rem, 4.5vw, 1.75rem); font-weight: 700; margin-bottom: 1rem; display: block; }
body h4 { font-size: 1.1rem; font-weight: 800; }

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    opacity: 0.88;
    max-width: 65ch;
}

/* --- COMPONENTES REUTILIZABLES (ed-*) --- */
.ed-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
    min-height: 200px;
}

.ed-section {
    padding: clamp(4.2rem, 10.5vw, 7rem) 0;
}

/* Botones */
.ed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    min-height: 52px;
    gap: 0.75rem;
    letter-spacing: 1px;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ed-btn-primary {
    background: var(--color-principal);
    color: white;
}

.ed-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: rgba(255,255,255,0.1);
    transition: var(--transicion);
    z-index: -1;
}

.ed-btn-primary:hover::before { width: 100%; }

.ed-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 119, 255, 0.4);
}

.ed-btn-outline {
    background: rgba(0, 18, 51, 0.65);
    color: #ffffff;
    border: 1.5px solid rgba(0, 212, 255, 0.65);
    backdrop-filter: blur(10px);
}

.ed-btn-outline:hover {
    background: rgba(0, 119, 255, 0.35);
    border-color: #00d4ff;
    transform: translateY(-4px);
}

/* --- HEADER --- */
.ed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    padding: 1.5rem 5%;
    box-sizing: border-box;
    contain: layout style;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ed-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--glass-border);
}

.ed-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
    white-space: nowrap;
}

.ed-logo-svg {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    max-width: none;
    max-height: none;
    aspect-ratio: 1 / 1;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    flex-shrink: 0;
}

.ed-logo:hover .ed-logo-svg {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(87, 214, 226, 0.5));
}

.ed-logo-text {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff;
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
}

.ed-logo-text span {
    color: #ffffff;
}

.ed-nav {
    margin: 0;
    padding: 0;
}

.ed-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.8rem;
}

.ed-nav li {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.ed-nav a {
    display: inline-block;
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.25s ease, opacity 0.25s ease;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ed-nav a:hover {
    color: var(--color-secundario);
    opacity: 1;
}

.ed-header-btn {
    padding: 0.65rem 1.35rem;
    font-size: 0.78rem;
    line-height: 1;
    min-height: 40px;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* --- HERO --- */
.ed-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
    isolation: isolate;
    contain: paint;
}

.ed-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 8, 20, 0.45) 0%,
        rgba(0, 8, 20, 0.32) 42%,
        rgba(0, 12, 36, 0.82) 100%
    );
    z-index: 2;
    pointer-events: none;
    contain: strict;
}

.ed-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    contain: paint;
    isolation: isolate;
}

.ed-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 960px;
    padding: 0 5%;
    margin-bottom: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ed-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: rgba(0, 119, 255, 0.25);
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #7dd3fc;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.ed-hero-content h1 {
    font-size: clamp(1.85rem, 4.6vw, 3.55rem);
    line-height: 1.12;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
    margin-bottom: 0.9rem;
}

.ed-hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    color: #e2e8f0;
    max-width: 740px;
    margin: 0 auto 1.45rem;
    line-height: 1.55;
    opacity: 0.96;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.ed-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
}

.ed-hero-actions .ed-btn {
    padding: 0.95rem 2rem;
    font-size: 0.9rem;
    min-height: 48px;
}

@media (max-width: 768px) {
    .ed-hero {
        aspect-ratio: 9 / 16;
        height: auto;
        width: 100%;
    }
    .ed-hero-content {
        margin-bottom: 18px;
        padding: 0 4.5%;
    }
    .ed-hero-kicker {
        font-size: 0.68rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.55rem;
    }
    .ed-hero-content h1 {
        font-size: 1.42rem !important;
        line-height: 1.15;
        margin-bottom: 0.45rem !important;
    }
    .ed-hero-subtitle {
        font-size: 0.82rem;
        line-height: 1.38;
        margin-bottom: 0.85rem;
    }
    .ed-hero-actions {
        gap: 0.55rem;
        width: 100%;
    }
    .ed-hero-actions .ed-btn {
        padding: 0.72rem 1.2rem;
        font-size: 0.78rem;
        min-height: 40px;
    }
}

/* --- SCROLL HORIZONTAL CONTROLADO (AGITACIÓN DEL PROBLEMA) --- */
.ed-hscroll-section {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #020817 0%, #000c24 55%, #000814 100%);
    color: var(--blanco);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ed-hscroll-pin {
    position: sticky;
    top: 0;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 1rem) 0 2.5rem;
    overflow-x: clip;
    overflow-y: visible;
    gap: clamp(1.35rem, 2.8vh, 2.25rem);
}

.ed-hscroll-header {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: end;
}

.ed-hscroll-kicker {
    display: block;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-secundario);
    margin-bottom: 0.75rem;
}

.ed-hscroll-header-copy h2 {
    font-size: clamp(1.55rem, 3.2vw, 2.55rem);
    line-height: 1.15;
    margin-bottom: 0;
    color: #ffffff;
    text-wrap: balance;
}

.ed-hscroll-header-copy h2 .ed-highlight-secondary {
    color: #ffffff;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.ed-hscroll-header-meta {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    justify-self: end;
    width: 100%;
    max-width: 480px;
}

.ed-hscroll-agitation {
    font-size: clamp(0.95rem, 1.35vw, 1.05rem);
    line-height: 1.6;
    color: #cbd5e1;
    opacity: 0.95;
    margin: 0;
}

.ed-hscroll-progress-wrap {
    display: flex;
    align-items: center;
    width: 100%;
}

.ed-hscroll-progress-track {
    position: relative;
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.ed-hscroll-progress-bar {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffffff 0%, #ef4444 100%);
    transform-origin: left center;
    transform: scaleX(0.2);
    will-change: transform;
}

.ed-hscroll-viewport {
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    padding-top: 6px;
    padding-bottom: 10px;
    padding-left: max(5%, calc((100vw - var(--max-width)) / 2 + 5%));
    padding-right: 5%;
}

.ed-hscroll-track {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.ed-hscroll-card {
    flex: 0 0 clamp(320px, 31vw, 410px);
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 2rem 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.15rem;
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-hscroll-card.is-focused,
.ed-hscroll-card.ed-hscroll-card-closing.is-focused {
    background: rgba(255, 255, 255, 0.06);
    border-color: #ffffff;
}

.ed-hscroll-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ed-hscroll-step {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
}

.ed-hscroll-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #ef4444;
    flex-shrink: 0;
}

.ed-hscroll-icon svg {
    width: 20px;
    height: 20px;
}

.ed-hscroll-card h3 {
    text-transform: none;
    font-size: 1.24rem;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.ed-hscroll-card p {
    font-size: 1.10rem;
    line-height: 1.62;
    color: #cbd5e1;
    opacity: 0.92;
    margin: 0;
    flex: 1;
}

.ed-hscroll-card-foot {
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #93c5fd;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1024px) {
    .ed-hscroll-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
    }
    .ed-hscroll-header-meta {
        justify-self: start;
        max-width: 68ch;
        gap: 0.85rem;
    }
}

@media (max-width: 768px) {
    .ed-hscroll-pin {
        padding: 76px 0 2rem;
        gap: 1.25rem;
        justify-content: center;
    }
    .ed-hscroll-header {
        padding: 0 5%;
        gap: 0.75rem;
    }
    .ed-hscroll-kicker {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    .ed-hscroll-header-copy h2 {
        font-size: clamp(1.28rem, 5.2vw, 1.62rem);
        line-height: 1.18;
    }
    .ed-hscroll-agitation {
        font-size: 0.88rem;
        line-height: 1.48;
    }
    .ed-hscroll-viewport {
        padding: 4px 5% 8px;
    }
    .ed-hscroll-track {
        gap: 1rem;
    }
    .ed-hscroll-card {
        flex: 0 0 min(82vw, 330px);
        padding: 1.45rem 1.35rem;
        border-radius: 18px;
        gap: 0.85rem;
    }
    .ed-hscroll-step {
        font-size: 1.35rem;
    }
    .ed-hscroll-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    .ed-hscroll-icon svg {
        width: 17px;
        height: 17px;
    }
    .ed-hscroll-card h3 {
        font-size: 1.08rem;
        line-height: 1.28;
    }
    .ed-hscroll-card p {
        font-size: 1.00rem;
        line-height: 1.5;
    }
    .ed-hscroll-card-foot {
        padding-top: 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-height: 560px), (prefers-reduced-motion: reduce) {
    .ed-hscroll-section {
        height: auto !important;
    }
    .ed-hscroll-pin {
        position: relative;
        height: auto;
        padding: 4rem 0;
    }
    .ed-hscroll-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
    }
    .ed-hscroll-card {
        scroll-snap-align: start;
    }
    .ed-hscroll-progress-wrap {
        display: none;
    }
}

/* --- PROPUESTA (HOLOGRÁFICA) --- */
.ed-propuesta {
    padding: 7rem 5%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    background-color: #001233 !important;
    background-image: radial-gradient(circle at 80% 50%, rgba(0, 119, 255, 0.4) 0%, rgba(0, 0, 0, 1) 70%) !important;
    color: var(--blanco) !important;
    isolation: isolate;
    overflow: hidden;
}

#canvas-container {
    width: 100%;
    max-width: 100%;
    height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#canvas-container canvas {
    max-width: 100% !important;
    height: auto !important;
}

/* --- SECCIÓN ESPECIALIDADES / SECTORES (TRÁFICO MÉDICO, DENTAL Y VENTAS) --- */
.ed-sectores-section {
    padding: 6rem 4%;
    background: #000a1a;
    border-top: 1px solid rgba(0, 119, 255, 0.15);
    border-bottom: 1px solid rgba(0, 119, 255, 0.15);
}

.ed-sectores-section .ed-container {
    max-width: 1320px;
}

.ed-sectores-section .ed-section-header p {
    font-size: 1.28rem;
    line-height: 1.65;
    max-width: 820px;
}

.ed-sectores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    max-width: 1320px;
    margin: 0 auto;
}

.ed-sector-card {
    background: rgba(0, 18, 51, 0.75);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 22px;
    padding: 2.85rem 2.25rem;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    transition: var(--transicion);
}

.ed-sector-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-secundario);
    box-shadow: 0 18px 40px rgba(0, 119, 255, 0.2);
}

.ed-sector-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    background: rgba(0, 212, 255, 0.12);
    color: var(--color-secundario);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ed-sector-card h3 {
    font-size: 1.48rem;
    line-height: 1.28;
    color: #ffffff;
    text-transform: none;
    margin-bottom: 0;
}

.ed-sector-card p {
    font-size: 1.12rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.ed-sector-bullets {
    list-style: none;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ed-sector-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.ed-sector-bullets li i,
.ed-sector-bullets li svg {
    color: var(--color-secundario);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

@media (max-width: 992px) {
    .ed-sectores-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .ed-sectores-section {
        padding: 4.5rem 4.5%;
    }
    .ed-sectores-section .ed-container {
        padding: 0;
    }
    .ed-sectores-section .ed-section-header {
        margin-bottom: 2.75rem;
    }
    .ed-sectores-section .ed-section-header p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    .ed-sector-card {
        padding: 2.3rem 1.65rem;
        min-height: 310px;
        gap: 1rem;
    }
    .ed-sector-card h3 {
        font-size: 1.38rem;
    }
    .ed-sector-card p {
        font-size: 1.06rem;
        line-height: 1.6;
    }
    .ed-sector-bullets li {
        font-size: 1rem;
        line-height: 1.48;
    }
}

/* --- SERVICIOS & PLANES 3x2 --- */
.ed-servicios {
    padding: 5.5rem 2rem 6.5rem;
    background: #f8fafc;
    color: var(--color-fondo);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.ed-servicios-header {
    max-width: 860px;
    margin: 0 auto 3.5rem;
    text-align: center;
    width: 100%;
}

.ed-servicios-header h2 {
    text-align: center;
    display: block;
    margin: 0 auto 0.85rem;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #000814;
}

.ed-servicios-subtitle {
    color: #475569;
    font-size: 1.12rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.ed-levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1260px;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
    box-sizing: border-box;
}

.ed-level-card {
    background: var(--blanco);
    border-radius: 20px;
    padding: 2.2rem 1.75rem;
    position: relative;
    transition: var(--transicion);
    border: 1px solid rgba(0, 119, 255, 0.12);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    min-width: 0;
    box-sizing: border-box;
}

.ed-level-card.ed-agenda-included {
    border: 1.5px solid rgba(0, 184, 169, 0.5);
    box-shadow: 0 14px 36px rgba(0, 184, 169, 0.12);
}

.ed-level-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 119, 255, 0.12);
    border-color: var(--color-principal);
}

.ed-level-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    background: var(--color-principal-soft);
    color: var(--color-principal);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ed-level-badge-premium {
    background: rgba(0, 184, 169, 0.14);
    color: #0f766e;
    border: 1px solid rgba(0, 184, 169, 0.35);
}

.ed-level-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.65rem;
    color: var(--color-dark);
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    line-height: 1.25;
    font-weight: 800;
}

.ed-level-card > p {
    color: #1e293b;
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    min-height: 3.1rem;
    opacity: 1;
}

.ed-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    flex-wrap: nowrap;
}

.ed-price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--color-principal);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.ed-price-period {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-gray);
    white-space: nowrap;
}

.ed-setup-box {
    box-sizing: border-box;
    overflow: hidden;
}

.ed-level-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex: 1;
}

.ed-level-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: #000814;
    font-weight: 500;
    line-height: 1.4;
}

.ed-level-features li i,
.ed-level-features li svg {
    color: #000814;
    stroke: #000814;
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ed-plan-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ed-plan-cta-btn {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 9999px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: none;
    background: #001233;
    color: #ffffff;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
}

.ed-plan-cta-btn:hover {
    background: var(--color-principal);
    transform: translateY(-2px);
}

.ed-plan-wa-note {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
    color: #334155;
    opacity: 1;
    text-align: center;
    margin: 0.4rem 0 1.45rem;
    max-width: none;
}

.ed-plan-contract-btn {
    width: 100%;
    padding: 0.72rem 1.15rem;
    border-radius: 9999px;
    border: 1.5px solid #cbd5e1;
    background: transparent;
    color: #001233;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.22s ease;
}

.ed-plan-contract-btn:hover {
    background: #f1f5f9;
    border-color: #001233;
    transform: translateY(-1px);
}

.ed-level-card.ed-agenda-included .ed-plan-cta-btn {
    background: var(--teal-cta);
    color: #ffffff;
}

.ed-level-card.ed-agenda-included .ed-plan-cta-btn:hover {
    filter: brightness(1.06);
}

.ed-level-card.featured {
    background: linear-gradient(180deg, #001233 0%, #000814 100%);
    color: var(--blanco);
    border: 2px solid var(--color-principal);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 119, 255, 0.25);
}

.ed-level-card.featured h3 { color: var(--blanco); }
.ed-level-card.featured > p { color: #f1f5f9; }
.ed-level-card.featured .ed-price-amount { color: #38bdf8; }
.ed-level-card.featured .ed-price-period { color: var(--color-text-light); }
.ed-level-card.featured .ed-level-features {
    border-top-color: rgba(255, 255, 255, 0.12);
}
.ed-level-card.featured .ed-level-features li {
    color: #ffffff;
}
.ed-level-card.featured .ed-level-features li i,
.ed-level-card.featured .ed-level-features li svg {
    color: #38bdf8;
    stroke: #38bdf8;
}
.ed-level-card.featured .ed-level-badge {
    background: var(--color-principal);
    color: var(--blanco);
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.4);
}
.ed-level-card.featured .ed-plan-wa-note {
    color: #cbd5e1;
}
.ed-level-card.featured .ed-plan-contract-btn {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.45);
}
.ed-level-card.featured .ed-plan-contract-btn:hover {
    background: rgba(56, 189, 248, 0.16);
    border-color: #38bdf8;
}

@media (min-width: 769px) {
    .ed-plan-side-arrow,
    .ed-plan-mobile-footer {
        display: none !important;
    }
    .ed-level-card {
        display: flex !important;
    }
}

@media (max-width: 1100px) and (min-width: 769px) {
    .ed-servicios {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4rem 1rem;
    }
    .ed-levels-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.85rem;
        width: max-content;
        min-width: 100%;
        padding-bottom: 1.5rem;
    }
    .ed-level-card {
        flex: 0 0 270px;
        width: 270px;
    }
}

/* VISUALIZADOR INDIVIDUAL EN MÓVIL (<= 768px) */
@media (max-width: 768px) {
    .ed-servicios {
        padding: 3rem 4px 2.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .ed-servicios-header {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 12px;
    }

    .ed-servicios-header h2 {
        text-align: center;
        font-size: 1.85rem;
        margin: 0 auto 0.65rem;
    }

    .ed-carousel-wrapper {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 14px;
        box-sizing: border-box;
    }

    .ed-levels-grid {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    .ed-level-card {
        display: none;
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 1.75rem 1.15rem;
        border-radius: 20px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .ed-level-card.ed-plan-active {
        display: flex;
        flex-direction: column;
        flex: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        animation: edPlanFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes edPlanFadeIn {
        0% {
            opacity: 0;
            transform: scale(0.94);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .ed-level-badge {
        align-self: center;
        text-align: center;
        max-width: 100%;
        white-space: normal;
        font-size: 0.72rem;
        padding: 0.32rem 0.7rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
        word-break: break-word;
    }

    .ed-level-card h3 {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 1.35rem;
        min-height: auto;
        line-height: 1.25;
        margin-bottom: 0.55rem;
    }

    .ed-level-card > p {
        font-size: 0.95rem;
        min-height: auto;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .ed-price-box {
        flex-wrap: nowrap;
        white-space: nowrap;
        align-items: baseline;
        gap: 0.35rem;
        margin-bottom: 0.75rem;
    }

    .ed-price-amount {
        font-size: clamp(1.38rem, 6.2vw, 1.62rem);
        line-height: 1.1;
        white-space: nowrap;
    }

    .ed-price-period {
        font-size: clamp(0.84rem, 3.6vw, 0.94rem);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ed-setup-box {
        width: 100%;
        padding: 0.75rem 0.85rem !important;
        margin-bottom: 1.15rem;
        border-radius: 12px;
    }

    .ed-setup-box > div:last-child {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .ed-setup-box > div:last-child > div:first-child {
        display: flex !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        align-items: baseline !important;
        flex-shrink: 0;
    }

    .ed-setup-box > div:last-child > div:first-child span:first-child {
        font-size: clamp(1.26rem, 5.6vw, 1.45rem) !important;
        white-space: nowrap;
    }

    .ed-setup-box > div:last-child > div:first-child span:last-child {
        font-size: clamp(0.76rem, 3.2vw, 0.84rem) !important;
        white-space: nowrap;
    }

    .ed-setup-box > div:last-child > div:last-child {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ed-plan-cta-btn,
    .ed-plan-contract-btn {
        text-align: center;
        justify-content: center;
        line-height: 1.25;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ed-plan-cta-btn {
        font-size: clamp(0.76rem, 3.3vw, 0.85rem);
    }

    .ed-level-features {
        padding-top: 0.95rem;
        gap: 0.65rem;
        width: 100%;
    }

    .ed-level-features li {
        font-size: 0.92rem;
        line-height: 1.35;
        gap: 0.6rem;
    }

    .ed-level-features li i,
    .ed-level-features li svg {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .ed-plan-side-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 25;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #0077ff;
        color: #ffffff;
        border: 2px solid #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(0, 119, 255, 0.4);
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease;
    }

    .ed-plan-side-arrow:active {
        transform: translateY(-50%) scale(0.9);
        background: #0056cc;
    }

    .ed-arrow-prev { left: 0px; }
    .ed-arrow-next { right: 0px; }

    .ed-plan-mobile-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        margin-top: 1.25rem;
        width: 100%;
        text-align: center;
    }

    .ed-carousel-dots {
        display: flex;
        gap: 0.45rem;
        align-items: center;
        justify-content: center;
    }

    .ed-dot {
        width: 8px;
        height: 8px;
        border-radius: 10px;
        background: #cbd5e1;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        cursor: pointer;
    }

    .ed-dot.active {
        width: 22px;
        background: #0077ff;
    }

    .ed-carousel-counter {
        font-size: 0.95rem;
        font-weight: 800;
        color: #0077ff;
        background: #eff6ff;
        border: 1px solid #bfdbfe;
        padding: 5px 16px;
        border-radius: 20px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        white-space: nowrap;
        letter-spacing: 0.5px;
        display: inline-block;
    }
}

/* --- PLANES: ADDONS PERSONALIZADOS --- */
.ed-planes-custom-addons {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.ed-addon-pill {
    max-width: 1100px;
    width: 100%;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    border: 1px solid rgba(0, 119, 255, 0.22);
    border-radius: var(--radius-lg);
    padding: 1.6rem 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-addon-pill:hover {
    border-color: rgba(0, 119, 255, 0.45);
    box-shadow: 0 14px 35px rgba(0, 119, 255, 0.2);
    transform: translateY(-3px);
}

.ed-addon-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1 1 auto;
    min-width: 0;
}

.ed-addon-icon-badge {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: rgba(0, 119, 255, 0.12);
    border: 1px solid rgba(0, 119, 255, 0.25);
    color: var(--color-principal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ed-addon-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    color: var(--color-fondo);
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.ed-addon-text strong {
    color: var(--color-principal);
    font-weight: 800;
}

.ed-addon-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-principal);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-left: auto;
}

.ed-addon-arrow .ed-arrow-desktop { display: inline-flex; }
.ed-addon-arrow .ed-arrow-mobile { display: none; }

.ed-addon-btn {
    white-space: nowrap;
    padding: 0.95rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--teal-cta);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px rgba(0, 119, 255, 0.35);
    text-decoration: none;
    flex-shrink: 0;
    width: 215px;
    box-sizing: border-box;
    text-align: center;
    transition: var(--transicion);
}

.ed-addon-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 860px) {
    .ed-addon-pill {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.3rem;
    }
    .ed-addon-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        width: 100%;
    }
    .ed-addon-text { font-size: 1.1rem; display: block; }
    .ed-addon-text strong { display: block; width: 100%; margin-top: 4px; }
    .ed-addon-arrow { margin-left: 0; width: 100%; }
    .ed-addon-arrow .ed-arrow-desktop { display: none; }
    .ed-addon-arrow .ed-arrow-mobile { display: inline-flex; }
    .ed-addon-btn { width: 100%; max-width: 320px; }
}

/* --- MANIFIESTO --- */
.ed-manifiesto {
    background: var(--color-acento);
    border-top: 6px solid #000000;
    border-bottom: 6px solid #000000;
    padding: 1.5rem 0;
    box-shadow: 5px 5px 0 #000000;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ed-manifiesto-text {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #000000;
    white-space: nowrap;
    text-transform: uppercase;
}

.ed-marquee-wrapper {
    width: 100%;
    overflow: hidden;
}

.ed-marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 24s linear infinite;
}

.ed-marquee-content span { padding: 0 2rem; }

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- TIMELINE --- */
.ed-timeline-section {
    padding: 7rem 5%;
    background: #000a1a;
}

.ed-timeline-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 4.25rem;
}

.ed-timeline-header .ed-timeline-title {
    margin-bottom: 1.15rem;
}

.ed-timeline-subtitle {
    font-size: clamp(1.08rem, 1.8vw, 1.32rem);
    line-height: 1.65;
    color: var(--color-text-light);
    opacity: 0.95;
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .ed-timeline-header {
        margin-bottom: 3rem;
    }
    .ed-timeline-subtitle {
        font-size: 1.08rem;
        line-height: 1.62;
    }
}

.ed-timeline-container {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.ed-timeline-track {
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.ed-timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--gradiente-premium);
    box-shadow: 0 0 15px var(--color-principal);
    z-index: 2;
}

.ed-timeline-item {
    margin-bottom: 5.5rem;
    padding-left: 70px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-timeline-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.ed-timeline-item p {
    font-size: 1.12rem;
    color: var(--color-text-light);
}

@media (min-width: 769px) {
    .ed-timeline-item p {
        font-size: 1.35rem;
        line-height: 1.68;
        opacity: 0.95;
        max-width: 68ch;
    }
}

.ed-timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.ed-timeline-dot {
    position: absolute;
    left: 11px;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--color-secundario);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-secundario);
}

.ed-timeline-item:last-child {
    margin-bottom: 3rem;
}

.ed-timeline-closing {
    position: relative;
    max-width: 860px;
    margin: 2.25rem auto 0;
    padding: 2.35rem 2.5rem;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(0, 119, 255, 0.16) 0%, rgba(0, 18, 51, 0.78) 68%, rgba(0, 12, 34, 0.92) 100%);
    border: 1px solid rgba(0, 212, 255, 0.28);
    box-shadow: 0 24px 60px rgba(0, 8, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
    overflow: hidden;
}

.ed-timeline-closing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 58%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #0077FF 25%, #00d4ff 50%, #0077FF 75%, transparent 100%);
}

.ed-timeline-closing-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.ed-closing-rule {
    flex: 1;
    max-width: 90px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.45));
}

.ed-closing-rule:last-child {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.45), transparent);
}

.ed-closing-label {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.24rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-secundario);
    white-space: nowrap;
}

.ed-timeline-closing-text {
    max-width: none;
    margin: 0 auto;
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: clamp(1.04rem, 1.4vw, 1.18rem);
    line-height: 1.62;
    color: #cbd5e1;
}

.ed-closing-line {
    display: block;
}

.ed-closing-line-strong {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(1.08rem, 1.5vw, 1.24rem);
}

@media (max-width: 768px) {
    .ed-timeline-item:last-child {
        margin-bottom: 2rem;
    }
    .ed-timeline-closing {
        margin-top: 1.5rem;
        padding: 1.65rem 1.35rem;
        border-radius: 20px;
        text-align: left;
    }
    .ed-timeline-closing-eyebrow {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        margin-bottom: 1.1rem;
    }
    .ed-closing-rule:first-child {
        display: none;
    }
    .ed-closing-rule:last-child {
        flex: none;
        width: 72px;
        max-width: 72px;
        height: 2px;
        background: linear-gradient(90deg, var(--color-secundario), transparent);
    }
    .ed-closing-label {
        font-size: clamp(1.06rem, 4.4vw, 1.2rem);
        line-height: 1.32;
        letter-spacing: 0.08em;
        font-weight: 800;
        white-space: normal;
        text-wrap: balance;
    }
    .ed-timeline-closing-text {
        gap: 0.75rem;
        font-size: 1.02rem;
        line-height: 1.58;
    }
    .ed-closing-line-strong {
        font-size: 1.08rem;
        padding-top: 0.8rem;
    }
}

/* --- BLOG / FAQ --- */
.ed-blog-section {
    padding: 7rem 5%;
    background: var(--color-dark);
}

.ed-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ed-blog-card {
    background: rgba(0, 18, 51, 0.5);
    border: 1px solid rgba(0, 119, 255, 0.2);
    border-radius: 20px;
    padding: 2.35rem;
    transition: var(--transicion);
    text-decoration: none;
    color: var(--blanco);
    display: flex;
    flex-direction: column;
}

.ed-blog-card h3 {
    font-size: 1.25rem;
    text-transform: none;
    color: #ffffff;
}

.ed-blog-card p {
    margin-top: 1.15rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.ed-blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-principal);
    background: var(--color-fondo);
    box-shadow: 0 20px 40px rgba(0, 119, 255, 0.15);
}

@media (max-width: 768px) {
    .ed-blog-section {
        padding: 4.5rem 5%;
    }
    .ed-blog-section .ed-container {
        padding: 0;
    }
    .ed-blog-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        width: 100%;
    }
    .ed-blog-card {
        width: 100%;
        padding: 1.85rem 1.45rem;
    }
}

/* --- CONTACTO / COMPRA --- */
.ed-cta {
    padding: 7rem 5%;
    background: var(--color-fondo);
    text-align: center;
}

.ed-cta-action-box {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.ed-cta-buttons-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
}

.ed-cta-buy-btn {
    font-size: 1.05rem;
    padding: 1.2rem 2.4rem;
    flex: 1 1 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
    background: var(--teal-cta);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 119, 255, 0.35);
    color: #ffffff;
}

.ed-cta-buy-btn:hover {
    box-shadow: 0 18px 40px rgba(0, 119, 255, 0.5);
    transform: translateY(-5px);
}

.ed-cta-guarantees {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
}

.ed-cta-guarantees span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 500;
}

@media (min-width: 769px) {
    .ed-cta .ed-cta-desc {
        font-size: clamp(1.22rem, 1.8vw, 1.42rem);
        line-height: 1.58;
        max-width: 780px;
        color: #e2e8f0;
        opacity: 1;
    }

    .ed-cta .ed-cta-guarantees {
        max-width: 1050px;
        gap: 2.25rem;
    }

    .ed-cta .ed-cta-guarantees span {
        font-size: 1.18rem;
        font-weight: 600;
        color: #e2e8f0;
    }

    .ed-cta .ed-cta-guarantees svg {
        width: 21px !important;
        height: 21px !important;
    }
}

/* --- MODALES --- */
.ed-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 18, 51, 0.4);
    backdrop-filter: blur(25px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transicion);
}

.ed-modal.active {
    display: flex;
    opacity: 1;
}

.ed-modal-content {
    background: var(--color-fondo);
    width: 90%;
    max-width: 600px;
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    transform: scale(0.9);
    transition: var(--transicion);
    color: var(--blanco);
}

.ed-modal.active .ed-modal-content { transform: scale(1); }

.ed-close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
    color: var(--blanco);
}

/* --- FOOTER --- */
.ed-footer {
    background: #00050d;
    padding: 4.2rem 5% 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ed-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(1.5rem, 3.5vw, 4rem);
    margin-bottom: 4rem;
    align-items: flex-start;
}

.ed-footer-brand-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0.2rem;
}

.ed-footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.ed-footer-logo-img {
    max-width: 240px;
    height: auto;
    display: block;
    object-fit: contain;
}

.ed-footer-col:not(.ed-footer-brand-col) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 3.5rem;
}

.ed-footer-col h4 {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--color-principal);
}

.ed-footer-col ul { list-style: none; }
.ed-footer-col ul li { margin-bottom: 0.8rem; }
.ed-footer-col ul li a,
.ed-footer-col ul li .ed-footer-action-btn {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transicion);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
    text-align: left;
}

.ed-footer-col ul li a:hover,
.ed-footer-col ul li .ed-footer-action-btn:hover { color: var(--blanco); }

.ed-footer-col ul li .ed-footer-action-btn,
.ed-footer-col ul li .ed-footer-underline-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.ed-footer-col ul li .ed-footer-action-btn:hover,
.ed-footer-col ul li .ed-footer-underline-link:hover {
    text-decoration-color: var(--blanco);
}

.ed-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.2rem 0 1.5rem;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ed-footer-bottom p,
.ed-footer-bottom .ed-copyright-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.6px;
    color: #ffffff;
    opacity: 1;
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
    font-weight: 600;
}

/* --- FEATURE SPLIT --- */
.ed-feature-split {
    background: var(--color-fondo);
    overflow: hidden;
}

.ed-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 1023px) {
    .ed-feature-grid.ed-mobile-stack {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    .ed-feature-content {
        display: contents;
        opacity: 1 !important;
        transform: none !important;
    }
    .ed-feature-content h2 {
        order: 1;
        margin-bottom: 0;
    }
    .ed-feature-image {
        order: 2;
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }
    .ed-feature-content p {
        order: 3;
        margin: 0 auto !important;
    }
    .ed-feature-btn-wrapper {
        order: 4;
        margin-top: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .ed-feature-grid.ed-mobile-stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.ed-feature-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-premium);
}

.ed-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-feature-image:hover img { transform: scale(1.05); }

.ed-feature-content h2 { margin-bottom: 1.5rem; }

.ed-feature-content p {
    color: var(--color-text-light);
    font-size: 1.15rem;
    line-height: 1.75;
}

@media (min-width: 1024px) {
    .ed-feature-content p {
        font-size: 1.32rem;
        line-height: 1.75;
    }
}

.ed-feature-btn-wrapper { margin-top: 2rem; }

/* --- SECCIÓN COMPARATIVA / SIGUIENTE PASO --- */
.ed-comparativa-section {
    padding: 6rem 3.5% 6.5rem;
    background: #ffffff;
    color: var(--color-fondo);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
}

.ed-comparativa-section .ed-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
    min-height: 0;
}

.ed-comparativa-section .ed-vs-header {
    text-align: center;
    margin-bottom: 3.25rem;
}

.ed-vs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-principal);
    margin-bottom: 0.85rem;
}

.ed-comparativa-section .ed-vs-header h2 {
    color: var(--color-fondo);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 3.6vw, 2.65rem);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 auto 1rem;
    max-width: 24ch;
    letter-spacing: -0.02em;
    line-height: 1.18;
    text-wrap: balance;
}

.ed-comparativa-section .ed-vs-header p {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #475569;
    opacity: 1;
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.62;
    max-width: 60ch;
    margin: 0 auto;
}

.ed-vs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: stretch;
}

.ed-vs-card {
    border-radius: 22px;
    padding: 2.5rem 2.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-vs-card:hover {
    transform: translateY(-4px);
}

.ed-vs-card-demo,
.ed-vs-card-ecosystem {
    background: radial-gradient(circle at 88% 0%, #0D47A1 0%, #001233 68%);
    border: 1px solid rgba(13, 71, 161, 0.65);
    box-shadow: 0 24px 48px -12px rgba(0, 18, 51, 0.24);
    color: #ffffff;
}

.ed-vs-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 1.1rem;
}

.ed-vs-index {
    font-weight: 800;
    color: var(--color-secundario);
    font-variant-numeric: tabular-nums;
}

.ed-vs-card-body h3 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.38rem, 2vw, 1.65rem);
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.015em;
    line-height: 1.24;
    margin: 0 0 0.85rem;
    color: #ffffff;
    text-wrap: balance;
}

.ed-vs-card-body p {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 1.06rem;
    line-height: 1.64;
    color: #e2e8f0;
    letter-spacing: 0.005em;
    opacity: 1;
    margin: 0;
}

.ed-vs-specs {
    margin-top: 1.45rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: #cbd5e1;
}

.ed-vs-card-action {
    display: flex;
}

.ed-vs-card-action:empty {
    display: none;
}

.ed-vs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.82rem 1.65rem;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ed-vs-btn:focus-visible {
    outline: 2px solid var(--color-secundario);
    outline-offset: 3px;
}

.ed-vs-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1.5px solid rgba(0, 212, 255, 0.5);
}

.ed-vs-btn-secondary:hover {
    background: rgba(0, 119, 255, 0.28);
    color: #ffffff;
    border-color: var(--color-secundario);
    transform: translateY(-2px);
}

.ed-vs-btn-primary {
    background: var(--color-principal);
    color: #ffffff;
    border: 1px solid var(--color-principal);
    box-shadow: 0 10px 24px rgba(0, 119, 255, 0.38);
}

.ed-vs-btn-primary:hover {
    background: #0066dc;
    border-color: #0066dc;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 119, 255, 0.48);
}

.ed-vs-btn-accent {
    background: #ffffff;
    color: var(--color-fondo);
    border: 1px solid #ffffff;
}

.ed-vs-btn-accent:hover {
    background: var(--color-secundario);
    border-color: var(--color-secundario);
    color: var(--color-fondo);
    transform: translateY(-2px);
}

.ed-vs-footer {
    width: 100%;
    margin-top: 1.75rem;
    background: radial-gradient(circle at 88% 0%, #0D47A1 0%, #001233 68%);
    border: 1px solid rgba(13, 71, 161, 0.65);
    box-shadow: 0 24px 48px -12px rgba(0, 18, 51, 0.26);
    color: #ffffff;
    border-radius: 22px;
    padding: 2rem 1.85rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.ed-vs-footer-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    margin-bottom: 0;
    align-items: stretch;
}

.ed-vs-footer-pillar {
    background: rgba(0, 12, 34, 0.46);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 1.85rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.ed-vs-footer-pillar:hover {
    border-color: rgba(0, 212, 255, 0.42);
    transform: translateY(-2px);
}

.ed-vs-footer-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.22rem, 1.65vw, 1.42rem);
    font-weight: 800;
    line-height: 1.26;
    letter-spacing: -0.015em;
    color: #ffffff;
    margin-bottom: 0.78rem;
}

.ed-vs-footer-num {
    color: #5ee7ff;
    font-variant-numeric: tabular-nums;
}

.ed-vs-footer-sep {
    color: rgba(94, 231, 255, 0.65);
    font-weight: 700;
}

.ed-vs-footer-pillar p {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.04rem, 1.3vw, 1.14rem);
    color: #e2e8f0;
    letter-spacing: 0.005em;
    opacity: 1;
    margin: 0 auto;
    line-height: 1.62;
    max-width: 40ch;
}

.ed-vs-footer-pillar strong {
    color: #ffffff;
    font-weight: 700;
}

.ed-vs-footer-flow {
    background: rgba(0, 12, 34, 0.48);
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 16px;
    padding: 1.85rem 1.35rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.ed-vs-footer-flow .ed-vs-footer-kicker {
    text-align: center;
    margin-bottom: 0.9rem;
}

.ed-vs-flow-steps {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: clamp(0.95rem, 1.42vw, 1.22rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
    opacity: 1;
    margin: 0 auto;
    line-height: 1.45;
    max-width: none;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.ed-vs-flow-arrow {
    color: #5ee7ff;
    font-weight: 800;
}

.ed-vs-flow-highlight {
    color: #5ee7ff;
    font-weight: 800;
}

.ed-vs-flow-action {
    margin-top: 1.45rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.ed-vs-flow-action .ed-vs-btn {
    min-height: 48px;
    padding: 0.85rem 2.1rem;
    font-size: 0.96rem;
}

@media (max-width: 960px) {
    .ed-vs-flow-steps {
        flex-wrap: wrap;
        white-space: normal;
        font-size: 1.04rem;
        gap: 0.45rem 0.65rem;
    }
}

@media (max-width: 860px) {
    .ed-vs-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }
    .ed-vs-footer {
        padding: 1.5rem 1.35rem;
    }
    .ed-vs-footer-pillars {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .ed-vs-card {
        padding: 2rem 1.65rem;
    }
}

@media (max-width: 768px) {
    .ed-comparativa-section {
        padding: 3.25rem 4.5% 3.75rem;
    }
    .ed-comparativa-section .ed-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.72rem;
        align-items: stretch;
    }
    .ed-comparativa-section .ed-vs-header {
        grid-column: 1 / -1;
        margin-bottom: 1.15rem;
    }
    .ed-comparativa-section .ed-vs-header h2 {
        font-size: clamp(1.45rem, 6vw, 1.9rem);
        margin-bottom: 0;
    }
    .ed-comparativa-section .ed-vs-header p {
        font-size: 0.96rem;
        line-height: 1.55;
    }
    .ed-vs-grid,
    .ed-vs-footer,
    .ed-vs-footer-pillars {
        display: contents;
    }
    .ed-vs-footer.reveal {
        opacity: 1;
        transform: none;
    }
    .ed-vs-card {
        grid-column: 1 / -1;
        padding: 1.35rem 1.2rem;
        gap: 1.1rem;
        border-radius: 18px;
        box-shadow: 0 14px 30px -10px rgba(0, 18, 51, 0.22);
    }
    .ed-vs-card:hover,
    .ed-vs-footer-pillar:hover {
        transform: none;
    }
    .ed-vs-meta {
        display: none;
    }
    .ed-vs-card-body h3 {
        font-size: 1.22rem;
        margin-bottom: 0.55rem;
    }
    .ed-vs-card-body p {
        font-size: 0.94rem;
        line-height: 1.56;
    }
    .ed-vs-specs {
        margin-top: 1rem;
        padding-top: 0.85rem;
        font-size: 0.82rem;
    }
    .ed-vs-card-action .ed-vs-btn {
        width: 100%;
        min-height: 44px;
        padding: 0.72rem 1.25rem;
        font-size: 0.9rem;
    }
    .ed-vs-footer-pillar {
        grid-column: span 1;
        background: radial-gradient(circle at 88% 0%, #0D47A1 0%, #001233 70%);
        border: 1px solid rgba(13, 71, 161, 0.65);
        box-shadow: 0 14px 30px -10px rgba(0, 18, 51, 0.22);
        border-radius: 18px;
        padding: 1.15rem 0.95rem;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        height: 100%;
    }
    .ed-vs-footer-pillar .ed-vs-footer-kicker {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.32rem;
        font-size: 0.98rem;
        line-height: 1.24;
        margin-bottom: 0.5rem;
    }
    .ed-vs-footer-pillar .ed-vs-footer-num {
        font-size: 1.18rem;
        line-height: 1;
        letter-spacing: 0.02em;
    }
    .ed-vs-footer-pillar .ed-vs-footer-sep {
        display: none;
    }
    .ed-vs-footer-pillar p {
        font-size: 0.85rem;
        line-height: 1.48;
        margin: 0;
        max-width: none;
    }
    .ed-vs-footer-flow {
        grid-column: 1 / -1;
        background: radial-gradient(circle at 50% 0%, #0D47A1 0%, #001233 70%);
        border: 1px solid rgba(13, 71, 161, 0.65);
        box-shadow: 0 16px 34px -10px rgba(0, 18, 51, 0.24);
        border-radius: 18px;
        padding: 1.35rem 1.1rem;
        text-align: center;
    }
    .ed-vs-footer-flow .ed-vs-footer-kicker {
        font-size: 1.08rem;
        margin-bottom: 0.85rem;
        justify-content: center;
    }
    .ed-vs-flow-steps {
        width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        white-space: normal;
        align-items: center;
        text-align: center;
        gap: 0.32rem;
        font-size: 0.92rem;
        line-height: 1.38;
    }
    .ed-vs-flow-steps > span:not(.ed-vs-flow-arrow) {
        display: block;
        width: 100%;
        padding: 0.56rem 0.85rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
    }
    .ed-vs-flow-steps > .ed-vs-flow-highlight {
        background: rgba(0, 212, 255, 0.12);
        border-color: rgba(0, 212, 255, 0.34);
        color: #5ee7ff;
        font-weight: 800;
    }
    .ed-vs-flow-arrow {
        display: inline-block;
        transform: rotate(90deg);
        font-size: 0.95rem;
        line-height: 1;
        padding: 0.08rem 0;
    }
    .ed-vs-flow-action {
        margin-top: 1.05rem;
    }
    .ed-vs-flow-action .ed-vs-btn {
        width: 100%;
        min-height: 46px;
        padding: 0.78rem 1.25rem;
        font-size: 0.94rem;
    }
}

/* --- SOLUCIÓN --- */
.ed-solucion-section {
    padding: 7rem 5%;
    background: var(--blanco);
    color: var(--color-fondo);
}

.ed-solucion-subtext {
    font-size: 1.25rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.ed-solucion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ed-solucion-card {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.ed-solucion-card h3 {
    text-transform: none;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.ed-solucion-card p {
    color: var(--color-text-gray);
}

.ed-solucion-card:hover {
    background: var(--blanco);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-principal-soft);
}

.ed-solucion-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- DIFERENCIACIÓN --- */
.ed-diferenciacion-section {
    padding: 4.5rem 5%;
    background: var(--blanco);
    color: var(--color-fondo);
}

.ed-diff-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.ed-diff-col h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid;
}

.ed-diff-col-old h4 { border-color: #EF4444; color: #EF4444; }
.ed-diff-col-new h4 { border-color: var(--color-principal); color: var(--color-principal); }

.ed-diff-list { list-style: none; padding: 0; margin: 0; }

.ed-diff-list li {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 1.1rem;
}

.ed-diff-icon-x { color: #EF4444; flex-shrink: 0; }
.ed-icon-check { color: #10B981; flex-shrink: 0; }

.ed-diferenciacion-section.ed-diferenciacion-dark {
    background: #001233;
    color: #ffffff;
    padding: 3.5rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ed-diferenciacion-dark .ed-diff-table { margin-top: 0; gap: 2rem; }
.ed-diferenciacion-dark .ed-diff-col {
    background: #001538;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transicion);
}
.ed-diferenciacion-dark .ed-diff-col:hover { transform: translateY(-3px); }
.ed-diferenciacion-dark .ed-diff-col-old {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.04);
}
.ed-diferenciacion-dark .ed-diff-col-new {
    border-color: rgba(0, 119, 255, 0.5);
    background: rgba(0, 119, 255, 0.08);
}
.ed-diferenciacion-dark .ed-diff-list li { color: #e2e8f0; }

/* --- RESPONSIVIDAD GENERAL --- */
@media (max-width: 992px) {
    .ed-header { padding: 1rem 5%; }
    .ed-nav ul { display: none; }

    .ed-propuesta {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 4rem 5%;
        gap: 1.5rem;
    }

    .ed-propuesta > div:first-child {
        display: contents;
        opacity: 1 !important;
        transform: none !important;
    }

    .ed-propuesta h2 {
        order: 1;
        margin-bottom: 0;
    }

    #canvas-container { height: 320px; order: 2; }
    .ed-diff-table { grid-template-columns: 1fr; gap: 2rem; }
}

.ed-propuesta-desc { margin-top: 2rem; }

.ed-stats-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .ed-propuesta-desc {
        order: 3;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 0.95rem;
        padding: 1.45rem 1.35rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(0, 212, 255, 0.22);
        border-radius: 18px;
        text-align: left;
        font-size: 1.12rem;
        line-height: 1.6;
        opacity: 1;
    }
    .ed-propuesta-beat {
        display: block;
        color: #cbd5e1;
    }
    .ed-propuesta-payoff {
        color: #ffffff;
        font-weight: 700;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .ed-stats-grid {
        order: 4;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .ed-header,
    .ed-header.scrolled {
        padding: 0.85rem 4%;
        gap: 0.5rem;
    }
    .ed-logo {
        gap: 0.45rem;
        min-width: 0;
    }
    .ed-logo-svg {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    .ed-logo-text {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
        white-space: nowrap;
    }
    .ed-header-btn {
        padding: 0.55rem 0.95rem;
        font-size: 0.72rem;
        min-height: 36px;
        white-space: nowrap;
        flex-shrink: 0;
        letter-spacing: 0.04em;
    }
    .ed-solucion-section {
        padding: 3.5rem 5%;
    }
    .ed-solucion-section .ed-container {
        min-height: auto;
    }
    .ed-solucion-section .ed-section-header {
        margin-bottom: 2.25rem;
    }
    .ed-solucion-section .ed-section-header h1 {
        font-size: clamp(1.38rem, 5.4vw, 1.8rem);
        line-height: 1.24;
        letter-spacing: -0.015em;
        max-width: 19ch;
        margin: 0 auto 0.9rem;
        text-wrap: balance;
    }
    .ed-solucion-section .ed-solucion-subtext {
        font-size: 0.96rem;
        line-height: 1.58;
        max-width: 36ch;
        margin: 0 auto;
    }
    .ed-propuesta-desc {
        padding: 1.25rem 1.15rem;
        gap: 0.85rem;
        font-size: 1.06rem;
        line-height: 1.58;
    }
}

.ed-stat-number {
    color: var(--color-secundario);
    margin-bottom: 0.5rem;
}

.ed-stat-text { font-size: 0.9rem; }

@media (min-width: 1024px) {
    .ed-propuesta-desc {
        font-size: 1.45rem;
        line-height: 1.6;
        max-width: 90%;
    }
    .ed-stat-number {
        font-size: 5rem;
        font-weight: 800;
    }
    .ed-stat-text {
        font-size: 1.3rem;
        line-height: 1.4;
    }
}

.ed-timeline-title {
    text-align: center;
    margin-bottom: 4.5rem;
}

.ed-cta-desc { margin: 2rem auto; }
.ed-cta-btn { width: 100%; }

.ed-section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.ed-section-header p { margin: 0 auto; }

.ed-card-icon {
    color: var(--color-principal);
    margin-bottom: 1.5rem;
}

.ed-section-header p.ed-text-gray { color: var(--color-text-gray); }
.ed-highlight { color: var(--color-principal); }
.ed-highlight-secondary { color: var(--color-secundario); }

/* --- REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE FOOTER (EXCLUSIVO MÓVIL) --- */
@media (max-width: 992px) {
    .ed-footer-brand-col,
    .ed-footer-logo-link,
    .ed-footer-logo-img {
        display: none !important;
    }
    .ed-footer {
        text-align: center;
        padding-top: 3.2rem;
    }
    .ed-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
        justify-items: center;
        margin-bottom: 2rem;
    }
    .ed-footer-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 0 !important;
    }
    .ed-footer-col h4 {
        text-align: center;
        margin-bottom: 0.8rem;
    }
    .ed-footer-col ul {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    .ed-footer-col ul li { text-align: center; }
    .ed-footer-action-btn,
    .ed-footer-underline-link {
        text-align: center;
        margin: 0 auto;
    }
    .ed-footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    .ed-copyright-text { display: block; }
    .ed-copyright-break {
        display: block;
        margin-top: 4px;
    }
}

@media (min-width: 993px) {
    .ed-copyright-break { display: none; }
}
