/* ════════════════════════════════════════════════════════════════
   PROYECCIÓN DIGITAL — /estrategia (landing funnel, dark fijo)
   Port fiel de src/pages/Estrategia.jsx (React + Tailwind).
   ════════════════════════════════════════════════════════════════ */

.est-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 10;
    color: #fff;
}

/* Contenedores por sección (container mx-auto px-4 + max-w-*) */
.est-section { margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.est-section--4xl { max-width: 56rem; }
.est-section--5xl { max-width: 64rem; }
.est-section--6xl { max-width: 72rem; }

/* Utilidades compartidas */
.grad-gold {
    background: linear-gradient(to right, #DBB155, #F1D88E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.kicker-est {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #DBB155;
}
.kicker-est--red { color: #f87171; }

.est-h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .est-h2 { font-size: 2.25rem; } }
.est-h2 .red { color: #ef4444; }

.est-sub { color: rgba(255, 255, 255, 0.70); max-width: 42rem; margin: 0 auto; }

.section-head-est { text-align: center; margin-bottom: 4rem; position: relative; z-index: 10; }
.section-head-est--sm { margin-bottom: 2.5rem; }

/* Botones */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(to right, #DBB155, #F1D88E);
    color: #0A1536;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-gold:hover { transform: translateY(-0.25rem); box-shadow: 0 0 20px rgba(219, 177, 85, 0.4); }

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-wa:hover { transform: translateY(-0.25rem); box-shadow: 0 0 20px rgba(37, 211, 102, 0.4); }

/* Tamaños de iconos */
.i-14 { width: 0.875rem; height: 0.875rem; }
.i-16 { width: 1rem; height: 1rem; }
.i-20 { width: 1.25rem; height: 1.25rem; }
.i-24 { width: 1.5rem; height: 1.5rem; }
.i-28 { width: 1.75rem; height: 1.75rem; }
.i-32 { width: 2rem; height: 2rem; }

/* ═══ HERO ═══ */
.est-hero { text-align: center; margin-bottom: 4rem; }
.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(219, 177, 85, 0.30);
    border-radius: 9999px;
    background: rgba(219, 177, 85, 0.10);
    color: #DBB155;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.est-hero h1 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}
@media (min-width: 768px) { .est-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .est-hero h1 { font-size: 3.75rem; } }
.est-hero .sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.70);
    margin: 0 auto 2.5rem;
    max-width: 48rem;
}
@media (min-width: 768px) { .est-hero .sub { font-size: 1.25rem; } }

/* ═══ VIDEO ═══ */
.est-video { margin-bottom: 6rem; }
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 40px rgba(4, 44, 231, 0.3);
    background: rgba(10, 21, 54, 0.80);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-cta {
    text-align: center;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.video-cta .lead-q {
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.video-cta .note {
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.875rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ═══ PROBLEMA ═══ */
.est-problem { margin-bottom: 6rem; position: relative; }
.glow-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.glow-center--red { background: rgba(239, 68, 68, 0.10); }
.glow-center--blue { background: rgba(4, 44, 231, 0.10); }

.problem-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; z-index: 10; }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }

.p-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.2s;
}
.p-card:hover { border-color: rgba(239, 68, 68, 0.30); }
.p-card .ic {
    background: rgba(255, 255, 255, 0.05);
    width: 4rem; height: 4rem;
    border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.p-card h4, .step h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.p-card p, .step p { color: rgba(255, 255, 255, 0.60); line-height: 1.625; }
.ic-red { color: #ef4444; }
.ic-orange { color: #f97316; }
.ic-yellow { color: #eab308; }

/* ═══ SOLUCIÓN (4 pasos) ═══ */
.est-solution { margin-bottom: 6rem; }
.steps { display: flex; flex-direction: column; gap: 2rem; }
.step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 768px) { .step { flex-direction: row; } }
.step-num {
    flex-shrink: 0;
    width: 4rem; height: 4rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #0A1536, #042CE7);
    border: 1px solid rgba(4, 44, 231, 0.30);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 0 20px rgba(4, 44, 231, 0.3);
}

/* ═══ BONUS / OFERTA ═══ */
.est-bonus { margin-bottom: 4rem; }
.bonus-box {
    background: linear-gradient(135deg, rgba(219, 177, 85, 0.10), transparent);
    border: 1px solid rgba(219, 177, 85, 0.20);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .bonus-box { padding: 3rem; } }
.bonus-glow {
    position: absolute;
    top: 0; right: 0;
    width: 16rem; height: 16rem;
    background: rgba(219, 177, 85, 0.10);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.bonus-content { position: relative; z-index: 10; }
.bonus-head { text-align: center; margin-bottom: 2.5rem; }
.bonus-head > p { color: rgba(255, 255, 255, 0.80); }
.bonus-head strong { color: #fff; }

.bonus-inner {
    background: rgba(10, 21, 54, 0.80);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
@media (min-width: 768px) { .bonus-inner { padding: 2.5rem; } }
.bonus-inner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.bonus-inner h3 .icon { color: #DBB155; }

.gift-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 0 0 2.5rem; padding: 0; }
.gift-list li { display: flex; align-items: flex-start; gap: 1rem; }
.gift-list .icon { color: #DBB155; flex-shrink: 0; margin-top: 0.125rem; }
.gift-list p { color: rgba(255, 255, 255, 0.80); }
.gift-list strong { color: #fff; }
.bonus-cta { text-align: center; }
@media (max-width: 639px) { .bonus-cta .btn-gold { width: 100%; } }

/* ═══ RESULTADOS REALES ═══ */
.est-results { margin-bottom: 6rem; position: relative; }
.videos-grid-est {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 10;
    margin-top: 40px;
}
@media (min-width: 1024px) { .videos-grid-est { grid-template-columns: repeat(4, 1fr); } }
.v-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.v-frame { position: relative; padding-top: 125%; }
.v-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.stats-wrap { text-align: center; margin-top: 3rem; position: relative; z-index: 10; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.stat-card b {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #DBB155, #F1D88E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@media (min-width: 768px) { .stat-card b { font-size: 1.875rem; } }
.stat-card span { color: rgba(255, 255, 255, 0.60); font-size: 0.875rem; }

/* ═══ CTA FINAL ═══ */
.est-cta { margin-bottom: 4rem; }
.cta-box {
    background: linear-gradient(135deg, rgba(4, 44, 231, 0.20), transparent);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 768px) { .cta-box { padding: 3rem; } }
.cta-box > p { color: rgba(255, 255, 255, 0.70); margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-note {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.40);
    font-size: 0.875rem;
}
.cta-note a { color: rgba(255, 255, 255, 0.40); transition: color 0.2s; }
.cta-note a:hover { color: rgba(255, 255, 255, 0.70); }
.inline-ic { display: inline-flex; align-items: center; gap: 0.25rem; }

/* ═══ MODAL DE EVALUACIÓN ═══ */
body.modal-open { overflow: hidden; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.modal-overlay.open { display: flex; }

.modal {
    background: #0A1536;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: rgba(255, 255, 255, 0.10);
    border: none;
    color: #fff;
    width: 2rem; height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.20); }

.modal-body { padding: 1.75rem; }
@media (min-width: 768px) { .modal-body { padding: 2rem; } }

.modal-head { text-align: center; margin-bottom: 1.5rem; }
.modal-brand { display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
.modal-brand img { height: 2.25rem; width: auto; }
.modal-brand span { font-size: 1.125rem; font-weight: 700; }
.modal-head h3 { font-size: 1.125rem; font-weight: 700; margin-top: 1rem; }
.modal-head .modal-sub { color: rgba(255, 255, 255, 0.60); font-size: 0.875rem; margin-top: 0.5rem; }

.m-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.m-grid2 .m-field { margin-bottom: 0; }
.m-field { margin-bottom: 1rem; }
.m-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.60);
    margin-bottom: 0.25rem;
}
.m-input, .m-select, .m-textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.m-input::placeholder, .m-textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.m-input:focus, .m-select:focus, .m-textarea:focus { border-color: #042CE7; }
.m-textarea { resize: vertical; }
.m-select option { background: #0A1536; color: #fff; }

.m-submit {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    background: linear-gradient(to right, #DBB155, #F1D88E);
    color: #0A1536;
    transition: transform 0.2s, opacity 0.2s;
}
.m-submit:hover:not(:disabled) { transform: translateY(-2px); }
.m-submit:disabled { opacity: 0.7; cursor: wait; }

.m-error {
    display: none;
    color: #f87171;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    text-align: center;
}
.m-error.show { display: block; }

.m-confid {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.30);
}

.m-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.m-benefit {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.60);
}
.m-benefit .tick { color: #042CE7; font-weight: 700; flex-shrink: 0; }
