/* ========================
   SECCIÓN PASOS — layout
========================= */
.pasos-section {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #252324;
    z-index: 500;
}

.pasos-layout {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Lado izquierdo: imagen del borde izquierdo al centro */
.pasos-img-side {
    width: 50%;
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pasos-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lado derecho: Swiper del centro al borde derecho */
.pasos-swiper-side {
    width: 50%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-pasos {
    width: 100%;
    height: 100vh !important;
}

.swiper-pasos .swiper-slide {
    height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 3rem;
    box-sizing: border-box;
}

.swiper-pasos .cf-paso {
    border-left: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-pasos .cf-numero {
    color: #de5c9d;
    text-align: center;
}

.swiper-pasos .cf-contenido {
    text-align: center;
}

.swiper-pasos .cf-contenido h3 {
    color: #fff;
}

.swiper-pasos .cf-contenido p {
    color: #aaa;
}

.pasos-slide-final {
    flex-direction: column;
    gap: 2rem;
}

/* Botón flotante en sección pasos (oculto hasta el último slide) */
#contaBtnfloataPasos {
    display: none;
}

@media (max-width: 768px) {
    .pasos-img-side {
        width: 50%;
        height: 100vh;
    }

    .pasos-swiper-side {
        width: 50%;
        height: 100vh;
    }

    .swiper-pasos {
        height: 100vh !important;
    }
}

/* ========================
   CÓMO FUNCIONA — PASOS
========================= */

.cf-pasos {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0;
    width: 100%;
    max-width: 800px;
}

.cf-paso {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #de5c9d;
    padding: 24px;
    border-radius: 0 12px 12px 0;
}

.cf-numero {
    font-size: 2.5rem;
    font-weight: bold;
    color: #de5c9d;
    min-width: 50px;
    line-height: 1;
    font-family: 'Spinnaker', sans-serif;
}

.cf-contenido h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #fff;
    font-family: 'Spinnaker', sans-serif;
    letter-spacing: 1px;
}

.cf-contenido p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ccc;
    margin: 0;
}

.cf-link {
    color: #de5c9d;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
    transition: opacity 0.2s;
}

.cf-link:hover {
    opacity: 0.75;
}

/* Hero override para esta página */
.cf-hero {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(237, 237, 237, 1) 34%, rgba(232, 232, 232, 0.98) 60%, rgba(255, 255, 255, 1) 100%);
}

/* ========================
   OVERLAY DE ENTRADA
========================= */
#cf-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    pointer-events: none;
}

/* ========================
   DARK MODE — tras expansión
========================= */
body.cf-dark,
body.cf-dark .conteinerGral {
    background: #252324 !important;
}

body.cf-dark header,
body.cf-dark nav,
body.cf-dark .container-menu,
body.cf-dark .menu,
body.cf-dark .containerInicio,
body.cf-dark .menu>ul,
body.cf-dark .menu>ul>li {
    background: transparent !important;
}

body.cf-dark .cta,
body.cf-dark .cta span,
body.cf-dark nav a,
body.cf-dark nav li a,
body.cf-dark .hover-underline-animation,
body.cf-dark .containerInicio a,
body.cf-dark .menu ul li a,
body.cf-dark .nav-dropdown>.cta,
body.cf-dark .nav-dropdown>.cta span {
    color: #fff !important;
    background: transparent !important;
}

body.cf-dark #arrow-horizontal path,
body.cf-dark #arrow-horizontal line,
body.cf-dark #arrow-horizontal polyline {
    stroke: #fff !important;
}

body.cf-dark .nav-submenu {
    background: #111 !important;
}

body.cf-dark .nav-submenu a,
body.cf-dark .nav-submenu li a {
    color: #ccc !important;
}

body.cf-dark .nav-hamburger span {
    background: #fff !important;
}

body.cf-dark .nav-mobile,
body.cf-dark .nav-mobile.active {
    background: #252324 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

body.cf-dark .nav-mobile-list>li>a,
body.cf-dark .nav-mobile-accordion-btn {
    color: #fff !important;
    background: transparent !important;
}

body.cf-dark .nav-mobile-list>li>a:hover,
body.cf-dark .nav-mobile-accordion-btn:hover {
    background: #1a1a1a !important;
}

body.cf-dark .nav-mobile-sub li a {
    color: #aaa !important;
}

body.cf-dark .nav-mobile-sub li::marker {
    color: #de5c9d !important;
}

body.cf-dark footer.pie_pag {
    background: transparent !important;
    color: #666 !important;
}

/* ========================
   HERO V2 — COMO FUNCIONA
========================= */
/* Botón flotante */
.contaBtnflota {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    opacity: 0;
}

.cf-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.floating-button {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: #de5c9d;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: btn-color 4s ease-in-out infinite, btn-bounce 1.4s ease-in-out infinite;
    animation-delay: 0s, 0s;
    cursor: pointer;
    position: relative;
}

.floating-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #de5c9d;
    animation: pulse-ring 1.6s ease-out infinite;
}

.cf-btn-hint {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    animation: hint-blink 1.6s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes hint-blink {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.floating-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.floating-button i {
    color: #fff;
    font-size: 1.3rem;
}

@keyframes btn-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes btn-color {
    0% {
        background: #de5c9d;
    }

    25% {
        background: #de5c9d;
    }

    50% {
        background: #5ca4a9;
    }

    75% {
        background: #ff6b6b;
    }

    100% {
        background: #de5c9d;
    }
}

.cf-hero-v2 {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 80px;
}

.cf-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 0 3rem;
    width: 100%;
}

.cf-text-left,
.cf-text-right {
    font-family: 'Russo One', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: 1.1;
    color: #111 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 1;
    margin: 0;
    will-change: transform;
    opacity: 0;
}

.cf-text-left {
    text-align: center;
}

.cf-text-right {
    text-align: center;
}

/* Carrusel vertical pequeño */
.cf-image-reel {
    width: 256px;
    height: 320px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}


.cf-reel-track {
    position: relative;
    width: 256px;
    height: 320px;
}

.cf-reel-track img {
    position: absolute;
    top: 0;
    left: 0;
    width: 256px;
    height: 320px;
    object-fit: cover;
    object-position: top;
    display: block;
    opacity: 0;
    animation: reel-fade 3s infinite;
}

/* 10 imágenes × 0.3s = 3s total */
.cf-reel-track img:nth-child(1) {
    animation-delay: 0s;
}

.cf-reel-track img:nth-child(2) {
    animation-delay: 0.3s;
}

.cf-reel-track img:nth-child(3) {
    animation-delay: 0.6s;
}

.cf-reel-track img:nth-child(4) {
    animation-delay: 0.9s;
}

.cf-reel-track img:nth-child(5) {
    animation-delay: 1.2s;
}

.cf-reel-track img:nth-child(6) {
    animation-delay: 1.5s;
}

.cf-reel-track img:nth-child(7) {
    animation-delay: 1.8s;
}

.cf-reel-track img:nth-child(8) {
    animation-delay: 2.1s;
}

.cf-reel-track img:nth-child(9) {
    animation-delay: 2.4s;
}

.cf-reel-track img:nth-child(10) {
    animation-delay: 2.7s;
}

@keyframes reel-fade {
    0% {
        opacity: 1;
    }

    9.99% {
        opacity: 1;
    }

    10% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}



@media (max-width: 1220px) {
    .cf-hero-content {
        flex-direction: column;
        gap: 0.1rem;
        padding: 0 1.5rem;
    }

    .cf-text-left {
        font-size: clamp(1.8rem, 10vw, 3rem);
        flex: unset;
        text-align: center;
    }

    .cf-text-right {
        font-size: clamp(1.8rem, 10vw, 3rem);
        flex: unset;
        text-align: center;

    }

    .cf-text-right {
        order: 3;
    }

    .cf-image-reel {
        order: 2;
        width: 180px;
        height: 225px;
    }

    .cf-reel-track {
        width: 180px;
        height: 225px;
    }

    .cf-reel-track img {
        width: 180px;
        height: 225px;
    }
}

/* ========================
   FAQ — benInvita centrado
========================= */
#seccionFaq.benInvita {
    text-align: center;
    padding: 0 2rem 4rem;
    width: 100%;
    box-sizing: border-box;
}

#seccionFaq.benInvita h2 {
    max-width: 800px;
    margin: 0 auto 1rem;
    text-align: center;
}

#seccionFaq.benInvita .intro-paquete {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 0;
}

#seccionFaq .infGralelec {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    justify-content: center;
}

#seccionFaq .infEleccion,
#seccionFaq .infEleccion2 {
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: left;
}

@media (max-width: 850px) {

    #seccionFaq .infEleccion,
    #seccionFaq .infEleccion2 {
        padding: 0;
        text-align: center;
    }
}

/* ========================
   RESPONSIVE
========================= */
@media (max-width: 600px) {
    .pasos-img-side {
        width: 30% !important;
    }

    .pasos-swiper-side {
        width: 70% !important;
    }
}

@media (max-width: 600px) {
    .cf-paso {
        flex-direction: column;
        gap: 12px;
    }

    .cf-numero {
        font-size: 2rem;
    }
}