/* Banner principal desktop */
.cont-bn {
    background: url("../img/banner_inicio.png") no-repeat center top;
    background-size: cover;
    width: 100%;
    height: 55vh;
    /* un poco más alto */
    min-height: 360px;
    position: relative;
}

/* Tablets */
@media (max-width: 1024px) {
    .cont-bn {
        height: 48vh;
        min-height: 300px;
        background-position: center top;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .cont-bn {
        background-image: url("../img/banner_movil.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: top center;

        width: 100%;
        
        /* ← La CLAVE: la altura real de tu banner móvil */
        height: calc(100vw * (219 / 390));

        /* Limpieza de estilos antiguos */
        padding-top: 0 !important;
        min-height: 0 !important;
    }
}



/* Iconos inicio */
.rounded-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 30px;
    height: 30px;
    padding: 50px;
    object-fit: cover;
}

/* Ajustes iconos + textos */
.container-fluid .row.justify-content-around {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
}

.container-fluid .row.justify-content-around>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.container-fluid .row.justify-content-around p {
    text-align: center;
    margin-top: 12px;
}

/* Fondos del bloque de iconos */
.container-fluid.py-5.scroll-fade {
    background: linear-gradient(to bottom, #2a0d2e, #3d1147);
    color: white;
    padding: 4rem 0;
}

.container-fluid.py-5.scroll-fade p,
.container-fluid.py-5.scroll-fade h2,
.container-fluid.py-5.scroll-fade h3 {
    color: white;
}

/* sección carrusel horizontal moderno */
.carousel-section {
    background-color: #3a0026;
    padding: 40px 0 30px 0;
    /* menos padding arriba y abajo */
    text-align: center;
}

.carousel-section h2 {
    color: #fff;
    margin-bottom: 18px;
    /* menos espacio debajo del título */
    font-family: var(--fuente-titulos);

    background: linear-gradient(90deg,
            #ffffff 0%,
            #ff7ec9 40%,
            #ffffff 60%,
            #ffffff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: h2shine 4.5s ease-in-out infinite;
}

.carousel-second {
    margin: 0 auto 18px auto;
    /* menos espacio debajo del carrusel */
    width: 90%;
    display: flex;
    overflow-x: auto;
    gap: 0.5em;

    /* efecto flotado container */
    padding: 18px 0;
    border-radius: 22px;
}

.carousel-second::-webkit-scrollbar {
    display: none;
}

.group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    animation: spin 18s infinite linear;
    padding-right: 1em;
}

/* ---- CARD con destello y box shadow ---- */
.card {
    position: relative;
    flex: 0 0 220px;
    height: 220px;
    padding: 0;
    border-radius: .9rem;
    overflow: hidden;
    background: transparent;
    display: block;
    transition: 0.35s all ease;
    box-shadow: 0 8px 25px rgba(255, 0, 140, 0.35);
}

/* highlight glossy */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .4;
    transform: translateX(-200%) rotate(10deg);
    /* fuera al inicio */
    transition: transform .8s ease, opacity .8s ease;
}

.card:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 18px 50px rgba(255, 0, 180, 0.55);
    filter: brightness(1.15);
}

.card:hover::before {
    transform: translateX(200%) rotate(10deg);
    /* cruza la card */
    opacity: 1;
}

/* ---- end card ---- */

.carousel-second .card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



.carousel-second:hover .group {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .carousel-second .card {
        flex: 0 0 140px;
        height: 140px;
    }
}

@keyframes spin {
    from {
        translate: 0;
    }

    to {
        translate: -100%;
    }
}


@keyframes h2shine {
    0% {
        background-position: 220% center;
    }

    100% {
        background-position: -220% center;
    }
}

@keyframes h2shine-bg {
    0% {
        background-position: 220% center;
    }

    100% {
        background-position: -220% center;
    }
}

.carousel-section .btn-danger {
    background: linear-gradient(to bottom, #4f1257, #5d166d) !important;
    /* fondo sólido */
    color: #fff;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(255, 0, 140, 0.18);
    border-radius: 50px;
    padding: 0.75em 2.5em;
    font-size: 1.2em;
    position: relative;
    overflow: hidden;
}

/* Brillo animado sobre la letra */
.carousel-section .btn-danger::after {
    content: "RESERVA AHORA";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    font-weight: inherit;
    background: linear-gradient(90deg,
            #fff 0%,
            #ffe6f7 35%,
            #fff 65%,
            #ffb3e6 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: h2shine 4.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

/* Oculta el texto original para que solo se vea el animado */
.carousel-section .btn-danger span {
    opacity: 0;
}

.reviews h2 {
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 1.5rem;
}

.reviews-section {
    background: #2a0d2e;
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.reviews-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.review-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 34px;
    /* más espacio interno */
    width: 320px;
    /* mayor ancho */
    min-width: 280px;
    transition: .3s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.review-card:hover {
    transform: translateY(-6px) scale(1.035);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.review-photo {
    width: 96px;
    /* foto más grande */
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.review-name {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1rem;
    /* texto un poco mayor */
}

/* ajustar respuesta en móvil para no saturar el ancho */
@media (max-width: 768px) {
    .reviews-container {
        gap: 18px;
    }

    .review-card {
        width: 100%;
        max-width: 340px;
        padding: 20px;
    }

    .review-photo {
        width: 80px;
        height: 80px;
    }
}

/* Reutiliza la animación h2shine (ya definida más arriba) */
/* Estilo animado para todos los títulos */
h1,
h2,
h3,
h4,
h5,
h6,
.animated-title {
    display: inline-block;
    background: linear-gradient(90deg,
            #ffffff 0%,
            #ffd6ef 25%,
            #ff7ec9 50%,
            #d1006e 75%,
            #ffffff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: h2shine 4.5s ease-in-out infinite;
    font-weight: 600;
    will-change: background-position;
}

/* Fallback para evitar texto invisible en navegadores sin soporte */
@supports not (-webkit-background-clip: text) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .animated-title {
        color: #fff;
        background: none;
        -webkit-text-fill-color: initial;
    }
}

/* Forzar fuentes del proyecto (definidas en base.css) */
body {
  font-family: var(--fuente-textos) !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fuente-titulos) !important;
}