/**
 * Theme: edicion_autor
 * Stylesheet: custom-premium.css
 * Paleta refinada, tipografía editorial, diseño responsivo y microinteracciones de alta conversión.
 */

/* 1. RESET Y BASE DEL TEMA */
body.theme-edicion-autor {
    margin: 0;
    padding: 0;
    font-family: var(--font-ui, 'Inter', system-ui, -apple-system, sans-serif);
    color: var(--color-ink, #0f172a);
    background-color: var(--color-paper, #ffffff);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.ea-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md, 16px);
    padding-right: var(--space-md, 16px);
}

/* 2. NAVEGACIÓN SUPERIOR */
.ea-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-line, #e2e8f0);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ea-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.ea-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.ea-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.ea-brand-icon svg {
    width: 20px;
    height: 20px;
}

.ea-brand-text {
    display: flex;
    flex-direction: column;
}

.ea-brand-main {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-ink, #0f172a);
    line-height: 1.1;
}

.ea-brand-sub {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2563eb;
}

.ea-nav-links {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 900px) {
    .ea-nav-links {
        display: flex;
    }
}

.ea-nav-link {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-muted, #64748b);
    transition: color 0.2s ease;
}

.ea-nav-link:hover {
    color: #1e3a8a;
}

.ea-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ea-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 8px;
    background: transparent;
    color: var(--color-ink, #0f172a);
    cursor: pointer;
}

@media (min-width: 900px) {
    .ea-menu-toggle {
        display: none;
    }
}

/* Menú móvil desplegable */
@media (max-width: 899px) {
    .ea-nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--color-line, #e2e8f0);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 16px;
        display: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }
    .ea-nav-links.active {
        display: flex;
    }
    .ea-btn-nav {
        display: none;
    }
}

/* 3. BOTONES Y COMPONENTES REUTILIZABLES */
.ea-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: inherit;
}

.ea-btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.ea-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.ea-btn-outline {
    background: transparent;
    border: 1px solid var(--color-line, #cbd5e1);
    color: var(--color-ink, #0f172a);
}

.ea-btn-outline:hover {
    background-color: var(--color-soft, #f8fafc);
    border-color: #94a3b8;
}

.ea-btn-lg {
    padding: 14px 26px;
    font-size: 1.05rem;
    border-radius: 10px;
}

.ea-btn-xl {
    padding: 16px 32px;
    font-size: 1.15rem;
    border-radius: 12px;
}

.ea-btn-block {
    width: 100%;
}

.ea-text-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 4. HERO SECTION */
.ea-hero {
    padding-top: 50px;
    padding-bottom: 70px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(30, 58, 138, 0.04), transparent 40%);
}

.ea-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 960px) {
    .ea-hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 50px;
    }
}

.ea-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: rgba(37, 99, 235, 0.1);
    color: #1e3a8a;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.ea-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 20px 0;
}

.ea-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--color-muted, #475569);
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 600px;
}

.ea-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.ea-hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--color-line, #e2e8f0);
}

@media (min-width: 600px) {
    .ea-hero-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ea-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-ink, #0f172a);
}

.ea-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

/* Hero Showcase Card */
.ea-card-showcase {
    background: #ffffff;
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.ea-card-header-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--color-line, #e2e8f0);
}

.ea-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.ea-dot.red { background-color: #ef4444; }
.ea-dot.yellow { background-color: #f59e0b; }
.ea-dot.green { background-color: #10b981; }

.ea-mockup-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 10px;
}

.ea-book-stage {
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 280px;
}

.ea-book-mockup {
    perspective: 1000px;
}

.ea-book-cover {
    width: 180px;
    height: 260px;
    position: relative;
    transform: rotateY(-18deg) rotateX(8deg);
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
    box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.ea-book-cover:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

.ea-book-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a, #172554);
    color: #ffffff;
    border-radius: 4px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.ea-book-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #93c5fd;
    font-weight: 700;
}

.ea-book-title-demo {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.ea-book-author-demo {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin: 4px 0 0 0;
}

.ea-book-seal {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #e2e8f0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
}

.ea-card-footer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--color-line, #e2e8f0);
    padding: 16px 0;
    background: #ffffff;
}

.ea-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ea-stat-col:not(:last-child) {
    border-right: 1px solid var(--color-line, #e2e8f0);
}

.ea-stat-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e3a8a;
}

.ea-stat-lbl {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

/* 5. SECCIONES Y CABECERAS */
.ea-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.ea-section-alt {
    background-color: #f8fafc;
}

.ea-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
}

.ea-section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2563eb;
    margin-bottom: 12px;
}

.ea-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.ea-section-desc {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* 6. GRID DE SERVICIOS */
.ea-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .ea-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ea-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ea-service-card {
    background: #ffffff;
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 16px;
    padding: 32px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ea-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: #93c5fd;
}

.ea-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ea-service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.ea-service-text {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* 7. COTIZADOR INTERACTIVO */
.ea-calc-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 960px) {
    .ea-calc-container {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }
}

.ea-calc-controls {
    background: #ffffff;
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.ea-control-group {
    margin-bottom: 28px;
}

.ea-control-group:last-child {
    margin-bottom: 0;
}

.ea-control-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.ea-label-with-val {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ea-range-badge {
    background: #1e3a8a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.ea-pill-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.ea-copies-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.ea-pill-btn {
    background: #f8fafc;
    border: 1.5px solid var(--color-line, #e2e8f0);
    border-radius: 10px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ea-pill-btn strong {
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.ea-pill-btn span {
    font-size: 0.72rem;
    color: #64748b;
}

.ea-pill-btn:hover {
    border-color: #94a3b8;
    background: #ffffff;
}

.ea-pill-btn.active {
    background: rgba(37, 99, 235, 0.06);
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.ea-pill-btn.active strong {
    color: #1e3a8a;
}

/* Slider de Rango */
.ea-range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    margin: 10px 0;
}

.ea-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.ea-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.ea-slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94a3b8;
    padding: 0 4px;
}

/* Checklist de Adicionales */
.ea-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ea-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ea-check-item:hover {
    background: #f8fafc;
}

.ea-check-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ea-check-box {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.ea-check-item input[type="checkbox"]:checked + .ea-check-box {
    background: #2563eb;
    border-color: #2563eb;
}

.ea-check-item input[type="checkbox"]:checked + .ea-check-box::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.ea-check-info {
    display: flex;
    flex-direction: column;
}

.ea-check-info strong {
    font-size: 0.88rem;
    color: #0f172a;
}

.ea-check-info span {
    font-size: 0.76rem;
    color: #64748b;
}

/* Tarjeta de Resumen y Formulario */
.ea-calc-summary-card {
    background: #ffffff;
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 90px;
}

.ea-summary-header {
    text-align: center;
    border-bottom: 1px solid var(--color-line, #e2e8f0);
    padding-bottom: 24px;
    margin-bottom: 20px;
}

.ea-summary-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
}

.ea-price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 8px 0;
}

.ea-price-currency {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e3a8a;
}

.ea-price-val {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #1e3a8a;
}

.ea-price-ars {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
}

.ea-usd-ref {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.ea-summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid var(--color-line, #e2e8f0);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.ea-breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #475569;
}

.ea-breakdown-row.ea-profit-row {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--color-line, #e2e8f0);
}

.ea-highlight-cost {
    font-weight: 700;
    color: #0f172a;
}

.ea-highlight-profit {
    font-weight: 800;
    color: #059669;
}

/* Formulario de Lead */
.ea-lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ea-form-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ea-input-row {
    width: 100%;
}

.ea-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-line, #cbd5e1);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.ea-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ea-select {
    cursor: pointer;
}

.ea-form-privacy {
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
    margin: 4px 0 0 0;
}

.ea-form-feedback {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.ea-form-feedback.success {
    background-color: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.ea-form-feedback.error {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* 8. TABLA COMPARATIVA DISRUPTIVA */
.ea-table-responsive {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--color-line, #e2e8f0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}

.ea-compare-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    text-align: left;
}

.ea-compare-table th,
.ea-compare-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-line, #e2e8f0);
    vertical-align: middle;
}

.ea-compare-table thead th {
    background: #f8fafc;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.ea-compare-table th.highlight-col,
.ea-compare-table td.highlight-col {
    background: #f0f7ff;
    border-left: 2px solid #2563eb;
    border-right: 2px solid #2563eb;
}

.ea-compare-table th.highlight-col {
    border-top: 3px solid #2563eb;
}

.ea-compare-table tbody tr:last-child td.highlight-col {
    border-bottom: 3px solid #2563eb;
}

.ea-col-badge {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.ea-feature-name strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
}

.ea-feature-name span {
    font-size: 0.78rem;
    color: #64748b;
}

.ea-val-bad {
    color: #dc2626;
    font-size: 0.88rem;
    font-weight: 600;
}

.ea-val-bad small {
    display: block;
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.76rem;
    margin-top: 4px;
}

.ea-val-mid {
    color: #d97706;
    font-size: 0.88rem;
    font-weight: 600;
}

.ea-val-mid small {
    display: block;
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.76rem;
    margin-top: 4px;
}

.ea-val-good {
    color: #1e3a8a;
}

.ea-val-good strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: #1e3a8a;
}

.ea-val-good small {
    display: block;
    color: #475569;
    font-size: 0.78rem;
    margin-top: 4px;
}

/* 9. PACKS DE PUBLICACIÓN */
.ea-packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 960px) {
    .ea-packages-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.ea-pack-card {
    background: #ffffff;
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 20px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ea-pack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.ea-pack-card.featured-pack {
    border: 2px solid #2563eb;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.ea-pack-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ea-pack-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.ea-pack-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.ea-pack-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ea-pack-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.4;
}

.ea-pack-features svg {
    color: #059669;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 10. TECNOLOGÍA ARLIBROS */
.ea-tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 960px) {
    .ea-tech-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.ea-tech-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.ea-tech-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ea-tech-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--color-line, #e2e8f0);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.ea-tech-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.ea-tech-item p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.ea-tech-card-showcase {
    background: #ffffff;
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.ea-tech-preview-header {
    background: #0f172a;
    color: #94a3b8;
    padding: 12px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ea-tech-reader-mockup {
    padding: 28px 24px;
    background: #fafafa;
}

.ea-reader-text {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.ea-reader-chapter {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 12px;
}

.ea-reader-text p {
    font-family: Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e293b;
    margin: 0;
    font-style: italic;
}

.ea-reader-toolbar {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}

.ea-reader-progress-bar {
    width: 100px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 10px;
}

.ea-progress-fill {
    height: 100%;
    background: #2563eb;
}

.ea-reader-badge {
    background: #ecfdf5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
}

/* 11. FAQ ACCORDION */
.ea-faq-container {
    max-width: 800px;
}

.ea-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ea-accordion-item {
    border: 1px solid var(--color-line, #e2e8f0);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.ea-accordion-item.open {
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
}

.ea-accordion-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    gap: 16px;
}

.ea-chevron {
    color: #64748b;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.ea-accordion-item.open .ea-chevron {
    transform: rotate(180deg);
    color: #2563eb;
}

.ea-accordion-body {
    display: none;
    padding: 0 24px 20px 24px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.ea-accordion-item.open .ea-accordion-body {
    display: block;
}

/* 12. BANNER FINAL CTA */
.ea-final-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 90px 0;
    text-align: center;
}

.ea-final-cta-inner {
    max-width: 760px;
}

.ea-final-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 18px 0;
    line-height: 1.15;
}

.ea-final-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

/* 13. FOOTER */
.ea-footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding-top: 70px;
    padding-bottom: 40px;
    border-top: 1px solid #1e293b;
}

.ea-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 640px) {
    .ea-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ea-footer-grid {
        grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
        gap: 48px;
    }
}

.ea-footer-brand-col .ea-brand-main {
    color: #ffffff;
}

.ea-footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 16px 0 20px 0;
    color: #94a3b8;
}

.ea-footer-eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    background: #1e293b;
    padding: 6px 12px;
    border-radius: 8px;
}

.ea-eco-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
}

.ea-eco-link:hover {
    text-decoration: underline;
}

.ea-footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ea-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ea-footer-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.88rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ea-footer-links a:hover {
    color: #ffffff;
}

.ea-legal-note {
    margin-top: 14px;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

.ea-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
}

@media (min-width: 640px) {
    .ea-footer-bottom {
        flex-direction: row;
        text-align: left;
    }
}

.ea-footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
}

.ea-footer-bottom-links a:hover {
    color: #ffffff;
}
