/** ESTILOS PERSONALIZADOS **/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');


/* 1. BASE DEL DOCUMENTO */
/* ------------------------------------- */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000; 
}


/* ======================================================= */
/* 2. Encabezado
/* ======================================================= */

.hero-principal {
    background-color: #000;
    color: #fff;
    padding: 70px 0;
    min-height: 100vh;
    display: flex;
    align-items: center; 
}

/* --- Estilo del Logo PNG --- */
.logo {
    width: 120px; 
    height: auto;
}

/* --- Títulos y Texto --- */
.titulo-destacado {
    font-size: 1.5em;
    font-weight: 600; 
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
}
.texto-azul {
    color: #5ce1e6;
}

.badge-cta {
    border: 2px solid #5ce1e6;
    background-image: linear-gradient(to bottom, #000000, #031a57da);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
}

/* --- Botones Personalizados --- */
.btn-principal {
    background-color: #0099d1;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    padding: 12px 60px;
}
.btn-secundario {
    border: 2px solid #5ce1e6;
    background-image: linear-gradient(to bottom, #000000, #031a57da);
    padding: 12px 60px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none; 
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-principal:hover {
    box-shadow: 0 0 10px #5ce1e6, 0 0 20px rgba(92, 225, 230, 0.5);
    background-color: #22dfec; 
    border-color: #00e0ff;
}

    .btn-secundario:hover {
    box-shadow: 0 0 10px #5ce1e6, 0 0 20px rgba(92, 225, 230, 0.5);
    background-color: #001f3f; 
    border-color: #00e0ff;
}

/* --- Estilos de Estadísticas --- */
.stat-numero {
    font-size: 2rem;
    font-weight: 700;
    color: #5ce1e6;
    margin-bottom: 5px;
    line-height: 1;
}
.stat-texto {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    opacity: 0.8;
}

.lead.texto-descripcion, 
.texto-descripcion {
    text-align: center;
    max-width: 650px; 
    margin-left: auto;
    margin-right: auto;
}

/* ======================================================= */
/* VIDEO */
/* ======================================================= */

.video-wrapper {
    width: 100%;
    max-width: 450px;     
    margin-left: auto;
    margin-right: 0;
    margin-top: 60px;
}

.hero-video {
    width: 100%;
    height: auto;
    border-radius: 20px;    /* opcional: bordes redondeados */
    display: block;
    box-shadow: 0 0 20px rgba(10, 196, 202, 0.788);
    object-fit: cover;      /* mantiene proporciones sin deformar */
}

/* ======================================================= */
/* MEDIA QUERIES (DESKTOP) */
/* ======================================================= */

@media (min-width: 992px) {
    .logo {
        width: 160px;
    }
    .titulo-destacado {
        font-size: 4rem;
    }
    .lead.texto-descripcion {
        font-size: 1.5rem;
    }
    .texto-descripcion {
        font-size: 1.15rem;
    }
    .col-lg-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

    @media (max-width: 768px) {
    .video-wrapper {
        max-width: 100%;
        margin-top: 30px;
    }

    .hero-video {
        border-radius: 12px;
    }
}



/* 4. ESTILOS SECCIÓN LOGROS */
/* ------------------------------------- */

.seccion-logros {
    background-color: #000;
    color: #fff;
    padding: 80px 0;
}

.titulo-seccion {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
}
@media (max-width: 991px) {
    .titulo-seccion {
        font-size: 2.5rem;
    }
}

/* Estilos de la Caja de Beneficio */
.caja-beneficio {
    background-color: #000;
    border: 3px solid #5ce1e6; 
    border-radius: 20px;
    padding: 30px 20px;
    height: 100%; 
    
    box-shadow: 
        0 0 15px rgba(92, 225, 230, 0.781), 
        inset 0 0 10px rgba(92, 225, 230, 0.3);
    
    text-align: left !important; 
}

.icono-beneficio {
    width: 60px; /* Tamaño del icono */
    min-width: 60px; 
    height: auto;
    margin-bottom: 0 !important; 
}

.titulo-beneficio {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: left; 
}

.descripcion-beneficio {
    font-size: 1rem;
    color: #ccc;
    text-align: left; 
}


.seccion-logros {
    padding-bottom: 120px; /* Mantener padding si ya lo tienes */
    margin-bottom: 150px;
}


/* 5. ESTILOS SECCIÓN REGISTRO */
/* ------------------------------------- */

.seccion-registro {
    background-color: #000;
    color: #fff;
    padding: 100px 0;
}

.formulario-box {
    border: 3px solid #5ce1e6; 
    border-radius: 25px;
    background-color: rgb(0, 0, 0); 
    box-shadow: 
        0 0 45px rgba(92, 225, 230, 0.74), 
        inset 0 0 15px rgba(92, 225, 230, 0.3);
}

.titulo-registro {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.subtitulo-registro {
    font-size: 1rem;
    opacity: 0.8;
}

/* Estilo para los campos de entrada */
.input-neón {
    background-color: #000; 
    color: #fff;
    border: 2px solid #5ce1e6; 
    border-radius: 5px;
    padding: 12px 15px;
    
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.input-neón:focus {
    border-color: #5ce1e6;
    outline: none;
    box-shadow: 0 0 10px rgba(92, 225, 230, 0.8);
}

.input-neón::placeholder {
    color: #999;
}

.texto-seguro {
    font-size: 0.85rem;
    color: #5ce1e6;
    font-weight: 600;
}

/* Estilos de los iconos de beneficios debajo del formulario */
.icono-beneficio-form {
    width: 100px; 
    height: auto;
    filter: drop-shadow(0 0 5px #5ce1e681); 
}

.texto-beneficio-form {
    font-size: 1rem;
    font-weight: 500;
}

/* Ajustes para Desktop */
@media (min-width: 768px) {
    .titulo-registro {
        font-size: 1.8rem;
    }
}

.seccion-registro {
    padding-bottom: 60px;
    margin-bottom: 150px;
}




/* 6. ESTILOS SECCIÓN RESULTADOS */
/* ------------------------------------- */

.seccion-resultados {
    background-color: #000;
    color: #fff;
    padding: 80px 0;
}

.titulo-seccion-resultados {
    font-size: 4em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 50px;
}
.slogan-resultados {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}
.texto-rojo { 
    color: #5ce1e6; 
}

.tarjeta-resultado {
    position: relative; 
    overflow: hidden; 
    border-radius: 10px;
    border: 3px solid #5ce1e6;
    height: 350px; 

    box-shadow: 
        0 0 20px rgba(92, 225, 230, 0.849),
        inset 0 0 10px rgba(6, 239, 247, 0.712);
}

.imagen-resultado {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    
    display: block;
    object-fit: cover; 
    object-position: center;
    filter: brightness(85%); 
}

.etiqueta-resultado {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10; 
    
    /* Estilos del Badge */
    border: 2px solid #5ce1e6;
    background-image: linear-gradient(to bottom, #000000, #031a57da);
    padding: 8px 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    
    /* Centrado del badge */
    text-align: center; 
    width: 90%; 
    margin: 10px auto; 
}

.seccion-resultados {
    padding-bottom: 60px;
    margin-bottom: 120px;
}

/* ============================
   AJUSTES RESPONSIVE RESULTADOS
   ============================ */
@media (max-width: 768px) {

    .titulo-seccion-resultados {
        font-size: 3em;     /* Antes 4em */
        line-height: 1.2;
        padding: 0 20px;     /* Para que no choque con los bordes */
    }
}





/* ======================================================= */
/* 7. SECCIÓN CÓMO FUNCIONA (Desktop + Móvil con imágenes distintas) */
/* ======================================================= */

.seccion-proceso {
    background-color: #000;
    color: #fff;
    padding: 80px 0;
    padding-bottom: 40px;
    margin-bottom: 70px;
}

.titulo-proceso {
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.texto-azul {
    color: #5ce1e6;
}

/* ------------------------------------------------------- */
/* IMÁGENES (Desktop / Mobile) */
/* ------------------------------------------------------- */

/* Mostrar versión desktop por default */
.diagrama-desktop {
    max-width: 1000px;
    display: block;
    margin: 0 auto;
    height: auto;
}

/* Ocultar la versión móvil por default */
.diagrama-mobile {
    display: none;
    height: auto;
}

/* ------------------------------------------------------- */
/* RESPONSIVE — MÓVIL */
/* ------------------------------------------------------- */

@media (max-width: 991px) {

    .titulo-proceso {
        font-size: 2rem;
        padding: 0 15px;
    }

    /* Ocultar desktop en mobile */
    .diagrama-desktop {
        display: none;
    }

    /* Mostrar imagen móvil */
    .diagrama-mobile {
        display: block;
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
    }
}




/* ======================================================= */
/* Sección testimonios */
/* ======================================================= */
.seccion-testimonios {
    background-color: #000;
    color: #fff;
    padding: 80px 0 60px;
}

.titulo-testimonios {
    font-size: 4em;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.texto-azul {
    color: #5ce1e6;
}


/* Flechas del carrusel — versión neón azul, sin fondo ni círculo */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important;  /* quitamos el SVG por defecto */
    filter: none !important;            /* MUY IMPORTANTE: sin invertir colores */
}

/* Flecha izquierda */
.carousel-control-prev-icon::after {
    content: "‹";
    font-size: 7rem;
    font-weight: bold;
    color: #5ce1e6;
    text-shadow: 
        0 0 6px #5ce1e6,
        0 0 12px rgba(92, 225, 230, 0.9),
        0 0 20px rgba(92, 225, 230, 1);
}

/* Flecha derecha */
.carousel-control-next-icon::after {
    content: "›";
    font-size: 7rem;
    font-weight: bold;
    color: #5ce1e6;
    text-shadow: 
        0 0 6px #5ce1e6,
        0 0 12px rgba(92, 225, 230, 0.9),
        0 0 20px rgba(92, 225, 230, 1);
}

/* Hover: aún más brillo */
.carousel-control-prev-icon:hover::after,
.carousel-control-next-icon:hover::after {
    text-shadow:
        0 0 8px #5ce1e6,
        0 0 18px rgba(92, 225, 230, 1),
        0 0 28px rgba(92, 225, 230, 1);
    cursor: pointer;
}

/* Opcional: ancho de la zona clickeable de las flechas */
.carousel-control-prev,
.carousel-control-next {
    width: -1%;
}



/* Tarjetas */
.tarjeta-testimonio {
    background-color: #000;
    border: 3px solid #5ce1e6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 15px rgba(92, 225, 230, 0.7),
        inset 0 0 15px rgba(92, 225, 230, 0.4);
    text-align: left;
    height: 100%;
}

.testimonio-header {
    overflow: hidden;
}

.testimonio-imagen {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    filter: brightness(0.9);
}

.testimonio-body {
    padding: 20px;
}

.nombre-persona {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stats-persona {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5ce1e6;
    margin-bottom: 10px;
}


.testimonio-cita {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}


/* Esto corrige que los puntos aparezcan en "¿QUÉ VAS A LOGRAR?" */
.carousel-indicators.posicion-puntos {
    position: relative !important; /* CAMBIO CLAVE: Los ancla a su sección real */
    bottom: 0 !important;          /* Elimina cualquier empuje hacia arriba */
    margin-top: 50px !important;   /* Crea el espacio justo debajo de los cuadros */
    margin-bottom: 20px !important;
    display: flex !important;
    justify-content: center !important;
}

/* Diseño de círculos neón (sin cambios aquí, solo para asegurar) */
.carousel-indicators.posicion-puntos [data-bs-target] {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    border: 2px solid #5ce1e6 !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.carousel-indicators.posicion-puntos .active {
    background-color: #5ce1e6 !important;
    box-shadow: 0 0 10px #5ce1e6;
}


/* Ajuste de la sección para que los puntos no se corten al final de la página */
.seccion-testimonios {
    padding-bottom: 140px !important;
}



/* Responsivo */
@media (max-width: 991.98px) {
    .titulo-testimonios {
        font-size: 1.9rem;
        padding: 0 15px;
    }

    .testimonio-imagen {
        height: 260px;
    }

    .seccion-testimonios {
        padding-top: 60px;
    }
}





/* ======================================================= */
/* ESTILOS DEL CTA
/* ======================================================= */

.seccion-cta-final {
    background: linear-gradient(180deg, 
                #000000 0%, 
                #003333 50%, 
                #000000 100%);
    color: #ffffff; /* Texto blanco por defecto */

    text-align: center;
}

/* --- Estilo del Icono de Músculo --- */
.icono-cta-final {
    width: 150px; /* Tamaño del icono */
    height: auto;
}

/* --- Estilo del Título Principal (¿LISTO PARA COMENZAR TU TRANSFORMACIÓN?) --- */
.titulo-cta-final {
    font-size: 3.5em; /* Tamaño grande para impacto */
    font-weight: 900; /* Letra muy gruesa */
    line-height: 1.1;
    letter-spacing: 2px;
    margin-top: 0; /* Asegurar que no haya margen superior extra */
}

/* --- Estilo para la Palabra Resaltada (TRANSFORMACIÓN) --- */
.texto-azul {
    color: #00cccc; /* Color turquesa vibrante */
    font-weight: 900;
    /* Sombra de texto para un efecto de "neón" sutil */
    text-shadow: 0 0 10px rgba(3, 26, 26, 0.877), 0 0 5px rgba(0, 0, 0, 0.767);
}

/* --- Estilo del Subtítulo/Descripción --- */
.subtitulo-cta-final {
    font-size: 1.2em;
    font-weight: 300; /* Letra más delgada */
    color: #ffffff; /* Gris claro para el contraste sutil */
    max-width: 600px; /* Evitar que la línea sea muy larga en pantallas grandes */
    margin-left: auto; /* Centrar el párrafo si tiene max-width */
    margin-right: auto;
}

.seccion-cta-final {
    padding-bottom: 60px;
    margin-bottom: 150px;
} 

/* --- Estilo del Botón CTA (Basado en clases de Bootstrap) --- */
.btn-cta-final {
    /* Sobre-escribe el fondo/color de Bootstrap si es necesario */
    background-color: #000000; 
    color: #ffffff; 
    border: 2px solid #00cccc; /* Borde turquesa */
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px; 
    letter-spacing: 1px;
    /* Sombra inicial para el efecto neón */
    box-shadow: 0 0 5px #00cccc;
    transition: all 0.3s ease; /* Transición suave para el hover */
}

/* --- Efecto al Pasar el Mouse (Hover) --- */
.btn-cta-final:hover {
    background-color: #00cccc; /* Relleno turquesa */
    color: #000000; /* Texto negro para contraste */
    border-color: #00cccc; /* Mantener el borde turquesa */
    /* Sombra más intensa al pasar el mouse */
    box-shadow: 0 0 20px #00cccc, 0 0 10px #00cccc;
    transform: scale(1.05); /* Ligeramente más grande */
}

/* Responsivo */
@media (max-width: 991.98px) {
    .titulo-cta-final {
        font-size: 1.9rem;
        padding: 0 15px;
    }
}

/* ======================================================= */
/* ESTILOS DEL FOOTER COMPLETO */
/* ======================================================= */

.footer-bariatrica {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 5%;
    font-family: Arial, sans-serif;
}

.footer-contenido {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

.logo-info {
    flex-basis: 30%;
    min-width: 250px;
}

.footer-logo-img {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
}

.clinic-slogan {
    font-size: 0.9em;
    color: #cccccc;
    margin-top: 5px;
    line-height: 1.4;
}

.col-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #00cccc;
}

.footer-bariatrica ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bariatrica li {
    margin-bottom: 10px;
}

.footer-bariatrica a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.footer-bariatrica a:hover {
    color: #00cccc;
}

/* Columna LEGAL + redes pegada a la derecha */
.legal-social {
    margin-left: auto;
    text-align: right;
}

/* Iconos redes */
.social-icons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
}

.social-icons a {
    display: block;
    width: 30px;
    height: 30px;
}

.social-icon-img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.social-icons a:hover .social-icon-img {
    filter: invert(100%) drop-shadow(0 0 8px #0aebeb);
    transform: scale(1.1);
}

.footer-divider {
    border: none;
    height: 3px;
    background-color: #00cccc;
    box-shadow: 0 0 8px #05fdfd;
    max-width: 1200px;
    margin: 0 auto 20px auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.8em;
    padding-top: 10px;
}

.designer {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-contenido {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        flex-basis: 100%;
        min-width: unset;
        width: 100%;
    }

    .logo-info, .links-list, .legal-social {
        margin-bottom: 20px;
    }

    .logo-info {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .designer {
        margin-top: 10px;
    }
}
    /* Centrar EXPLORA y LEGAL */
    .links-list,
    .legal-social {
        text-align: center !important;
    }

    /* También centrar los elementos internos */
    .legal-social ul,
    .links-list ul {
        padding: 0;
        text-align: center !important;
    }

    /* Los textos de cada lista */
    .legal-social li,
    .links-list li {
        text-align: center !important;
    }

    /* Centrar el título LEGAL */
    .legal-social .col-title,
    .links-list .col-title {
        text-align: center !important;
    }
