/* ============================================
   CERRADORES ÉLITE - Full Inferno Atmosphere
   ============================================ */

/* --- Full-page ember canvas --- */
.inferno-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
}

/* --- Smoke / vignette / heat: solo en hero, se ocultan al hacer scroll --- */
.inferno-smoke,
.inferno-smoke--2,
.inferno-vignette,
.inferno-heat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.6s ease;
}


@keyframes smokeShift {
    0% { opacity: 0.7; transform: translateY(0); }
    50% { opacity: 0.9; transform: translateY(-15px); }
    100% { opacity: 0.75; transform: translateY(5px); }
}

@keyframes smokeShift2 {
    0% { opacity: 0.5; transform: translateX(0) translateY(0); }
    50% { opacity: 0.7; transform: translateX(20px) translateY(-10px); }
    100% { opacity: 0.55; transform: translateX(-10px) translateY(5px); }
}

.inferno-vignette {
    z-index: 2;
   
}

.inferno-heat-overlay {
    top: auto;
    bottom: 0;
    height: 50%;
    z-index: 2;
    animation: heatPulse 4s ease-in-out infinite alternate;
}

@keyframes heatPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

body.inferno-past-hero .inferno-smoke,
body.inferno-past-hero .inferno-smoke--2,
body.inferno-past-hero .inferno-vignette,
body.inferno-past-hero .inferno-heat-overlay {
    opacity: 0 !important;
}

/* --- Hero: título centrado, mayúsculas, ellipsis y fuego --- */
.ce-hero {
    z-index: auto !important;
    background: transparent !important;
}

.ce-hero .program-hero__bg {
    display: none;
}

.ce-hero .program-hero__container {
    text-align: center;
    position: relative;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ce-hero__title {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: 100%;
    position: relative;
}

.ce-hero__title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 120%;
    height: 250%;
    background: radial-gradient(
        ellipse 50% 50% at 50% 55%,
        rgba(255, 80, 0, 0.25) 0%,
        rgba(200, 40, 0, 0.12) 30%,
        rgba(150, 20, 0, 0.06) 55%,
        transparent 80%
    );
    pointer-events: none;
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0%   { opacity: 0.6; transform: translate(-50%, -40%) scale(1); }
    100% { opacity: 1;   transform: translate(-50%, -40%) scale(1.08); }
}

/* Override base opacity:0 so all title lines are visible */
.ce-hero__title .program-hero__title-line {
    text-transform: uppercase;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: ceReveal 1s ease forwards !important;
}

@keyframes ceReveal {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* "CERRADORES" con brillo cálido sutil */
.ce-hero__title .program-hero__title-line:first-child {
    color: #fff;
    text-shadow:
        0 0 8px rgba(255, 180, 100, 0.35),
        0 0 18px rgba(255, 107, 53, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

/* "ÉLITE" en llamas + zoom-in */
.ce-hero__title-fire {
    color: #ff6b35 !important;
    text-shadow:
        0 0 6px rgba(255, 150, 50, 0.5),
        0 0 12px rgba(255, 107, 53, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.5);
    animation:
        ceZoomIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        fireFlicker 0.15s 1.2s ease-in-out infinite alternate !important;
}

@keyframes ceZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(30px);
        color: #ffd54f;
        text-shadow:
            0 0 30px rgba(255, 200, 50, 0.6),
            0 0 60px rgba(255, 107, 53, 0.4);
    }
    60% {
        opacity: 1;
        transform: scale(1.15) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        color: #ff6b35;
        text-shadow:
            0 0 6px rgba(255, 150, 50, 0.5),
            0 0 12px rgba(255, 107, 53, 0.3),
            0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

@keyframes fireFlicker {
    0% {
        color: #ff8a50;
        text-shadow:
            0 0 5px rgba(255, 150, 50, 0.5),
            0 0 10px rgba(255, 107, 53, 0.25),
            0 2px 4px rgba(0, 0, 0, 0.5);
    }
    100% {
        color: #ff5722;
        text-shadow:
            0 0 8px rgba(255, 120, 30, 0.5),
            0 0 14px rgba(255, 87, 34, 0.3),
            0 2px 6px rgba(0, 0, 0, 0.4);
    }
}

.ce-hero__slogan {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: ceReveal 0.8s 1.4s ease forwards;
}

.ce-hero__sentence {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.75rem;
    opacity: 0;
    animation: ceReveal 0.8s 1.8s ease forwards;
}

[data-program="cerradores-elite"] .cursor-glow {
    background: radial-gradient(circle, rgba(255, 100, 0, 0.8) 0%, transparent 70%);
    opacity: 0.08;
}

/* ============================================
   CE CUSTOM SECTIONS
   ============================================ */

.ce-section {
    position: relative;
    padding: 7rem 0;
    background: var(--color-dark);
}

.ce-section--alt {
    background: #050508;
}

.ce-section__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.ce-section__label {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: var(--program-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.ce-section__title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.ce-section__tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3.5rem;
    letter-spacing: 0.5px;
}

/* --- Quote block --- */
.ce-quote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    border-left: 3px solid var(--program-primary);
    padding: 1.5rem 2rem;
    margin: 0 auto 3.5rem;
    max-width: 800px;
    text-align: left;
    background: rgba(255, 107, 53, 0.03);
    border-radius: 0 12px 12px 0;
}

/* --- Duo cards --- */
.ce-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.ce-duo__card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: border-color 0.4s, transform 0.4s;
    position: relative;
    overflow: hidden;
}

.ce-duo__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--program-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.ce-duo__card:hover {
    border-color: rgba(255, 107, 53, 0.25);
    transform: translateY(-4px);
}

.ce-duo__card:hover::before { opacity: 1; }

.ce-duo__number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--program-primary);
    opacity: 0.15;
    line-height: 1;
    display: block;
    margin-bottom: 0.75rem;
}

.ce-duo__card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ce-duo__card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
}

.ce-duo__card--glass {
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* --- Pillar cards (pilares + cronograma) --- */
.ce-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.ce-pillar {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: border-color 0.4s, transform 0.4s;
}

.ce-pillar:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-4px);
}

.ce-pillar--featured {
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.04);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.06);
}

.ce-pillar__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--program-primary);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.ce-pillar__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
}

.ce-pillar__list {
    list-style: none;
    padding: 0;
}

.ce-pillar__list li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ce-pillar__list li:last-child { border-bottom: none; }

.ce-pillar__list li strong {
    color: rgba(255, 255, 255, 0.9);
}

.ce-pillar__list--schedule li span {
    display: inline-block;
    min-width: 85px;
    color: var(--program-primary);
    font-weight: 600;
    font-size: 0.8rem;
}

/* --- Dimensions --- */
.ce-dimensions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.ce-dim {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    position: relative;
    transition: border-color 0.4s, transform 0.4s;
}

.ce-dim:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-4px);
}

.ce-dim__num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--program-primary);
    opacity: 0.12;
    line-height: 1;
    display: block;
    margin-bottom: 0.75rem;
    font-family: serif;
}

.ce-dim h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.ce-dim p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
}

/* --- Includes grid --- */
.ce-includes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}

.ce-includes__item {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: border-color 0.3s, transform 0.3s;
}

.ce-includes__item:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-3px);
}

.ce-includes__icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.75rem;
}

.ce-includes__item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.ce-includes__item p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* --- Trainers --- */
.ce-trainers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.ce-trainer {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: border-color 0.4s, transform 0.4s;
}

.ce-trainer:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-4px);
}

.ce-trainer--guest {
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.04);
}

.ce-trainer__role {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--program-primary);
    margin-bottom: 0.75rem;
}

.ce-trainer__name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.ce-trainer p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
}

/* --- Testimonials --- */
.ce-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ce-testimonial {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s;
}

.ce-testimonial:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-4px);
}

.ce-testimonial__video { position: relative; }
.ce-testimonial__video video { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }

.ce-testimonial__body {
    padding: 1.5rem;
    text-align: left;
}

.ce-testimonial__stars {
    color: var(--program-primary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.ce-testimonial__body p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

.ce-testimonial__body strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}

.ce-testimonial__body span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Pricing --- */
.ce-pricing {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.ce-pricing__card {
    max-width: 520px;
    width: 100%;
    padding: 3.5rem 3rem;
    background: rgba(255, 107, 53, 0.04);
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.06);
}

.ce-pricing__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--program-gradient);
}

.ce-pricing__badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--program-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.ce-pricing__name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.ce-pricing__sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.ce-pricing__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.ce-pricing__currency {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--program-primary);
}

.ce-pricing__amount {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
}

.ce-pricing__period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.ce-pricing__features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    text-align: left;
}

.ce-pricing__features li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-left: 1.5rem;
    position: relative;
}

.ce-pricing__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--program-primary);
    font-weight: 700;
}

.ce-pricing__features li:last-child { border-bottom: none; }

.ce-pricing__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 2.75rem;
    background: var(--program-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.ce-pricing__btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.35);
}

.ce-commitment {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.ce-commitment h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--program-primary);
    margin-bottom: 0.5rem;
}

.ce-commitment p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* --- CTA final section --- */
.ce-cta-final {
    padding: 6rem 0;
    background: linear-gradient(180deg, #050508 0%, var(--color-dark) 100%);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .ce-duo,
    .ce-dimensions,
    .ce-testimonials { grid-template-columns: 1fr; }
    .ce-pillars,
    .ce-includes,
    .ce-trainers { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .ce-section { padding: 4rem 0; }
    .ce-pricing__amount { font-size: 3.5rem; }
    .ce-pricing__card { padding: 2.5rem 1.5rem; }
}
