
/* =========================================
   ESCAPE PARK LOTA
   Un mundo de NeuroExperience
   ========================================= */

.escape-park-page {
    --ep-forest: #08120e;
    --ep-green: #173e31;
    --ep-moss: #6f9060;
    --ep-stone: #c6b18c;
    --ep-turquoise: #32d3bc;
    --ep-white: #f4f5f0;

    margin: 0;
    background: var(--ep-forest);
    color: var(--ep-white);
    font-family: 'Inter', sans-serif;
}

/* HERO PRINCIPAL */


.escape-park-page .ep-hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 80px;
    box-sizing: border-box;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(4, 13, 9, 0.78) 0%,
            rgba(4, 13, 9, 0.58) 50%,
            rgba(4, 13, 9, 0.72) 100%
        ),
        url("../../assets/images/inicio-paseo-parque.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #08120e;
}


/* Atmósfera de profundidad */

.escape-park-page .ep-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            ellipse at 70% 30%,
            rgba(111, 144, 96, 0.22),
            transparent 55%
        );
}

/* CONTENIDO */

.escape-park-page .ep-hero__content {
    width: 100%;
    max-width: 780px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.escape-park-page .ep-hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--ep-turquoise);
    margin-bottom: 24px;
}

.escape-park-page .ep-hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.06em;
    color: var(--ep-white);
    margin: 0 0 24px;
}

.escape-park-page .ep-hero__tagline {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.25rem, 2.8vw, 1.8rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--ep-white);
    margin: 0 0 24px;
}

.escape-park-page .ep-hero__description {
    max-width: 570px;
    margin: 0 auto 30px;
    font-size: 1rem;
    line-height: 1.8;
    color: #cbd7ce;
}

.escape-park-page .ep-hero__price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ep-stone);
    margin-bottom: 18px;
}

/* CTA VISUAL - TODAVÍA SIN COMPRA */

.escape-park-page .ep-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 8px;
    box-sizing: border-box;
    background: var(--ep-green);
    border: 1px solid #548b76;
    color: var(--ep-white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.07em;
}

.escape-park-page .ep-hero__cta--pending {
    opacity: 0.7;
}

/* ADAPTACIÓN MÓVIL */

@media (max-width: 600px) {

    .escape-park-page .ep-hero {
        min-height: 100svh;
        padding: 80px 22px 60px;
    }

    .escape-park-page .ep-hero__eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        margin-bottom: 20px;
    }

    .escape-park-page .ep-hero h1 {
        font-size: clamp(2.5rem, 11vw, 4rem);
        margin-bottom: 20px;
        letter-spacing: 0.025em;

    }

    .escape-park-page .ep-hero__tagline {
        font-size: 1.25rem;
    }

    .escape-park-page .ep-hero__description {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .escape-park-page .ep-hero__cta {
        width: 100%;
        max-width: 340px;
    }
}


/* =========================================
   PRÓLOGO NARRATIVO
   El misterio comienza aquí
   ========================================= */

.escape-park-page .ep-story {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(42, 83, 59, 0.22),
            transparent 65%
        ),
        #08120e;

    padding: 86px 24px 94px;
    box-sizing: border-box;
}

.escape-park-page .ep-story__content {
    position: relative;
    max-width: 710px;
    margin: 0 auto;
    text-align: center;
}

.escape-park-page .ep-story__eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #32d3bc;
    margin: 0 0 20px;
}

.escape-park-page .ep-story h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: #f4f5f0;
    margin: 0 0 30px;
}

.escape-park-page .ep-story h2 span {
    color: #9cbf9f;
}

.escape-park-page .ep-story__content > p:not(.ep-story__eyebrow) {
    max-width: 630px;
    margin: 0 auto 18px;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #c8d0c9;
}

.escape-park-page .ep-story__content > .ep-story__highlight {
    margin-top: 26px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.5;
    color: #f4f5f0;
}

.escape-park-page .ep-story__content > .ep-story__closing {
    margin-top: 22px;
    color: #c8d0c9;
}

.escape-park-page .ep-story__closing strong {
    display: block;
    margin-top: 8px;
    color: #32d3bc;
    font-weight: 600;
}

/* Adaptación móvil */

@media (max-width: 600px) {

    .escape-park-page .ep-story {
        padding: 64px 22px 70px;
    }

    .escape-park-page .ep-story__eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.15em;
    }

    .escape-park-page .ep-story h2 {
        font-size: clamp(1.7rem, 7vw, 2.1rem);
        margin-bottom: 24px;
    }

    .escape-park-page .ep-story__content > p:not(.ep-story__eyebrow) {
        font-size: 0.92rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .escape-park-page .ep-story__content > .ep-story__highlight {
        font-size: 1.04rem;
        margin-top: 24px;
    }
}


/* =========================================
   AJUSTES DE TRANSICIÓN HERO → PRÓLOGO
   ========================================= */

/* La fotografía se desvanece hacia el bosque */

.escape-park-page .ep-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    z-index: 0;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(8, 18, 14, 0) 0%,
        rgba(8, 18, 14, 0.45) 40%,
        rgba(8, 18, 14, 0.85) 75%,
        #08120e 100%
    );
}

/* El título del prólogo tiene dos líneas */

.escape-park-page .ep-story h2 span {
    display: block;
    margin-top: 6px;
    color: #9cbf9f;
}

/* Ajuste para pantallas pequeñas */

@media (max-width: 600px) {

    .escape-park-page .ep-hero::after {
        height: 150px;
    }

    .escape-park-page .ep-story h2 span {
        margin-top: 8px;
    }
}


/* =========================================
   LA AVENTURA
   Cómo se vive Escape Park Lota
   ========================================= */


.escape-park-page .ep-adventure {
    position: relative;
    padding: 90px 24px 100px;

    background:
        radial-gradient(
            ellipse at 50% 60%,
            rgba(54, 105, 76, 0.18),
            transparent 70%
        ),
        linear-gradient(
            to bottom,
            #08120e 0%,
            #0b1a13 15%,
            #10231b 40%,
            #10231b 100%
        );

    color: #f4f5f0;
}


.escape-park-page .ep-adventure__content {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

.escape-park-page .ep-adventure__eyebrow {
    margin: 0 0 20px;
    color: #32d3bc;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.escape-park-page .ep-adventure h2 {
    margin: 0 auto 24px;
    max-width: 850px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
    color: #f4f5f0;
}

.escape-park-page .ep-adventure h2 span {
    display: block;
    color: #a3c5a8;
}

.escape-park-page .ep-adventure__description {
    max-width: 650px;
    margin: 0 auto 50px;
    color: #c8d8cd;
    font-size: 1rem;
    line-height: 1.8;
}

/* Las tres etapas */

.escape-park-page .ep-adventure__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.escape-park-page .ep-adventure__step {
    padding: 32px 24px;
    border: 1px solid rgba(163, 197, 168, 0.16);
    border-radius: 12px;
    background: rgba(8, 18, 14, 0.32);
}

.escape-park-page .ep-adventure__number {
    display: block;
    margin-bottom: 18px;
    color: #32d3bc;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.escape-park-page .ep-adventure__step h3 {
    margin: 0 0 12px;
    color: #f4f5f0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
}

.escape-park-page .ep-adventure__step p {
    margin: 0;
    color: #b8c9bd;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Adaptación a celulares */

@media (max-width: 600px) {

    .escape-park-page .ep-adventure {
        padding: 66px 22px 74px;
    }

    .escape-park-page .ep-adventure__eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.15em;
    }

    .escape-park-page .ep-adventure h2 {
        font-size: clamp(1.7rem, 7vw, 2.1rem);
        margin-bottom: 22px;
    }

    .escape-park-page .ep-adventure__description {
        margin-bottom: 32px;
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .escape-park-page .ep-adventure__steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .escape-park-page .ep-adventure__step {
        padding: 22px 24px;
    }

    .escape-park-page .ep-adventure__number {
        margin-bottom: 10px;
    }

    .escape-park-page .ep-adventure__step h3 {
        margin-bottom: 8px;
        font-size: 1.2rem;
    }
}


/* =========================================
   GALERÍA COMPACTA — ESCAPE PARK LOTA
   ========================================= */

.escape-park-page .ep-adventure__gallery {
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.85fr;
    gap: 10px;
    margin-top: 36px;
}

.escape-park-page .ep-adventure__photo {
    margin: 0;
    height: 205px;
    overflow: hidden;
    border-radius: 9px;
    background: #08120e;
}

.escape-park-page .ep-adventure__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Galería horizontal en celulares */

@media (max-width: 600px) {

    .escape-park-page .ep-adventure__gallery {
        display: flex;
        gap: 10px;
        margin-top: 28px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .escape-park-page .ep-adventure__photo {
        flex: 0 0 76%;
        height: 190px;
        scroll-snap-align: start;
    }
}


/* =========================================
   INFORMACIÓN Y ACCESO A LA EXPERIENCIA
   ========================================= */

.escape-park-page .ep-access {
    position: relative;
    padding: 85px 24px 95px;
    background:
        linear-gradient(
            to bottom,
            #10231b 0%,
            #0b1a13 25%,
            #08120e 55%,
            #08120e 100%
        );
    color: #f4f5f0;
}

.escape-park-page .ep-access__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.escape-park-page .ep-access__eyebrow {
    margin: 0 0 20px;
    color: #32d3bc;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.escape-park-page .ep-access h2 {
    max-width: 730px;
    margin: 0 auto 20px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
    color: #f4f5f0;
}

.escape-park-page .ep-access__intro {
    max-width: 570px;
    margin: 0 auto 36px;
    color: #c8d8cd;
    font-size: 0.98rem;
    line-height: 1.75;
}

/* Panel de compra */

.escape-park-page .ep-access__panel {
    max-width: 590px;
    margin: 0 auto;
    padding: 36px 38px;
    border: 1px solid rgba(163, 197, 168, 0.22);
    border-radius: 16px;
    background: rgba(20, 46, 33, 0.65);
    box-sizing: border-box;
}

.escape-park-page .ep-access__label {
    margin: 0 0 16px;
    color: #a3c5a8;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.escape-park-page .ep-access__price {
    margin: 0;
    color: #f4f5f0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    font-weight: 600;
    line-height: 1.15;
}

.escape-park-page .ep-access__price span {
    font-size: 1rem;
    color: #a3c5a8;
}

.escape-park-page .ep-access__unit {
    margin: 12px 0 28px;
    color: #c8d8cd;
    font-size: 0.88rem;
}

/* Datos esenciales */

.escape-park-page .ep-access__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 24px 0;
    margin-bottom: 24px;
    border-top: 1px solid rgba(163, 197, 168, 0.18);
    border-bottom: 1px solid rgba(163, 197, 168, 0.18);
}

.escape-park-page .ep-access__detail strong {
    display: block;
    margin-bottom: 7px;
    color: #f4f5f0;
    font-size: 0.95rem;
    font-weight: 600;
}

.escape-park-page .ep-access__detail span {
    display: block;
    color: #b8c9bd;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Acceso visual pendiente de integración */

.escape-park-page .ep-access__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 14px 24px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #32d3bc;
    color: #08120e;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.escape-park-page .ep-access__cta--pending {
    opacity: 0.7;
}

.escape-park-page .ep-access__note {
    margin: 18px auto 0;
    color: #b8c9bd;
    font-size: 0.78rem;
    line-height: 1.65;
}

/* Beneficio de entrada al parque */

.escape-park-page .ep-access__park-note {
    max-width: 590px;
    margin: 24px auto 0;
    color: #b8c9bd;
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Adaptación móvil */

@media (max-width: 600px) {

    .escape-park-page .ep-access {
        padding: 65px 22px 75px;
    }

    .escape-park-page .ep-access__eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.15em;
    }

    .escape-park-page .ep-access h2 {
        font-size: clamp(1.7rem, 7vw, 2.1rem);
    }

    .escape-park-page .ep-access__intro {
        margin-bottom: 28px;
        font-size: 0.92rem;
    }

    .escape-park-page .ep-access__panel {
        padding: 28px 20px;
    }

    .escape-park-page .ep-access__details {
        gap: 12px;
    }

    .escape-park-page .ep-access__detail strong {
        font-size: 0.85rem;
    }

    .escape-park-page .ep-access__detail span {
        font-size: 0.75rem;
    }

    .escape-park-page .ep-access__cta {
        font-size: 0.78rem;
        letter-spacing: 0.04em;
    }

    .escape-park-page .ep-access__park-note {
        font-size: 0.8rem;
    }
}


/* =========================================
   AJUSTE DE ESPACIADO MÓVIL
   ========================================= */


/* =========================================
   COMPACTACIÓN DEL RECORRIDO MÓVIL
   ========================================= */

@media (max-width: 600px) {

    /* Prólogo: menos espacio al terminar */
    .escape-park-page .ep-story {
        padding-bottom: 12px;
    }

    /* La aventura comienza más cerca */
    .escape-park-page .ep-adventure {
        padding-top: 20px;
        padding-bottom: 42px;
    }

    /* Acercamos la galería a las tarjetas */
    .escape-park-page .ep-adventure__gallery {
        margin-top: 18px;
    }

    /* Reducimos el espacio previo a la compra */
    .escape-park-page .ep-access {
        padding-top: 42px;
        padding-bottom: 48px;
    }

}


/* =========================================
   TARJETAS COMPACTAS EN CELULARES
   ========================================= */

@media (max-width: 600px) {

    /* Tres tarjetas en columna */
    .escape-park-page .ep-adventure__steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Cada tarjeta se convierte en una fila */
    .escape-park-page .ep-adventure__step {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 16px;
        align-items: center;

        padding: 17px 18px;
        text-align: left;
        border-radius: 10px;
    }

    /* Número a la izquierda */
    .escape-park-page .ep-adventure__number {
        grid-column: 1;
        grid-row: 1 / 3;

        margin: 0;
        font-size: 1.05rem;
        text-align: center;
    }

    /* Título a la derecha */
    .escape-park-page .ep-adventure__step h3 {
        grid-column: 2;
        grid-row: 1;

        margin: 0 0 4px;
        font-size: 1.1rem;
        line-height: 1.35;
    }

    /* Descripción debajo del título */
    .escape-park-page .ep-adventure__step p {
        grid-column: 2;
        grid-row: 2;

        margin: 0;
        font-size: 0.85rem;
        line-height: 1.5;
    }

}


/* =========================================
   TRANSICIÓN A LA SECCIÓN DE COMPRA
   ========================================= */

.escape-park-page .ep-adventure {
    background:
        radial-gradient(
            ellipse at 50% 45%,
            rgba(54, 105, 76, 0.18),
            transparent 65%
        ),
        linear-gradient(
            to bottom,
            #08120e 0%,
            #10231b 30%,
            #10231b 70%,
            #10231b 100%
        );
}

.escape-park-page .ep-access {
    background:
        linear-gradient(
            to bottom,
            #10231b 0%,
            #0b1a13 25%,
            #08120e 55%,
            #08120e 100%
        );
}


/* =========================================
   AJUSTES FINALES DE GALERÍA MÓVIL
   ========================================= */

@media (max-width: 600px) {

    /* Ocultar barra sin desactivar el deslizamiento */
    .escape-park-page .ep-adventure__gallery {
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 0;
    }

    .escape-park-page .ep-adventure__gallery::-webkit-scrollbar {
        display: none;
    }

    /* Acercar la galería a la siguiente sección */
    .escape-park-page .ep-adventure {
        padding-bottom: 20px;
    }

    /* Reducir espacio antes del título de compra */
    .escape-park-page .ep-access {
        padding-top: 28px;
    }

}

/* =========================================
   RECORRIDO PATRIMONIAL DIGITAL
   ========================================= */

.escape-park-page .ep-digital-route {
    position: relative;
    width: 100%;
    height: 180px;
    margin: -75px 0 -75px;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.escape-park-page .ep-digital-route__illustration {
    display: block;
    width: min(100%, 1050px);
    height: 100%;
    margin: 0 auto;
    object-fit: contain;
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(50, 211, 188, 0.18));
}

/* Adaptación para celulares */
@media (max-width: 600px) {

    .escape-park-page .ep-digital-route {
        height: 145px;
        margin: -35px 0 -35px;
    }

    .escape-park-page .ep-digital-route__illustration {
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 0.85;
    }

}


/* =========================================
   ESPACIO PARA EL RECORRIDO PATRIMONIAL
   ========================================= */

@media (max-width: 600px) {

    .escape-park-page .ep-digital-route {
        height: 175px;
        margin: 5px 0 10px;
    }

    .escape-park-page .ep-digital-route__illustration {
        opacity: 0.95;
    }

}


/* =========================================
   ESCAPE PARK — REVELACIÓN DIGITAL
   Primera etapa: aparición del patrimonio
   ========================================= */

/* Estado inicial: ilustración oculta */
.escape-park-page .ep-digital-route__illustration {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 1.4s ease,
        transform 1.4s ease;
}

/* Estado visible: el patrimonio aparece */
.escape-park-page .ep-digital-route.is-visible
.ep-digital-route__illustration {
    opacity: 0.95;
    transform: translateY(0);
}

/* Accesibilidad: sin animación si el usuario
   prefiere movimiento reducido */
@media (prefers-reduced-motion: reduce) {

    .escape-park-page .ep-digital-route__illustration {
        opacity: 0.95;
        transform: none;
        transition: none;
    }

}


/* =========================================
   ESCAPE PARK — RECORRIDO DIGITAL LATERAL
   Primera línea: sección del prólogo
   ========================================= */

.escape-park-page .ep-story {
    position: relative;
    isolation: isolate;
}

.escape-park-page .ep-story__content {
    position: relative;
    z-index: 1;
}

.escape-park-page .ep-story__digital-line {
    position: absolute;
    top: 4%;
    right: 1%;
    width: 105px;
    height: 92%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.escape-park-page .ep-story__digital-path {
    fill: none;
    stroke: #32d3bc;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 4px rgba(50, 211, 188, 0.25));
}

.escape-park-page .ep-story__digital-line circle {
    fill: #32d3bc;
    opacity: 0.8;
}

/* Versión móvil */
@media (max-width: 600px) {

    .escape-park-page .ep-story__digital-line {
        right: -15px;
        width: 65px;
        opacity: 0.35;
    }

}