@media screen and (min-width:600px){
    .text-barra{color:#fff;text-align:center;font-size:12pt;font-weight:400;padding:5px;margin-bottom:0;font-family:Poppins,sans-serif}
    .text2,.text3{line-height:1}.boton-especia,.boton-menu{background:#3b3f50;border-radius:10px}
    .font-menu{color:#fff!important;font-weight:700;font-size:1vw}
    .text-especialista,.text1{text-align:center;font-size:2vw;font-weight:600;color:#7aa5d4}
    .boton-menu{padding-left:22px;padding-right:22px}
    .text1{margin-top:40%;margin-bottom:0;font-family:Poppins,sans-serif}.text-especialista{margin-top:30%;margin-bottom:0;font-family:Poppins,sans-serif}
    .text2,.textsede{margin-bottom:0;font-weight:300;text-align:center;font-family:Poppins,sans-serif}.textsede{color:#7aa5d4;font-size:2vw}
    .text2{color:#fff;font-size:2vw}
    .text3{color:#7aa5d4;text-align:center;font-size:2.5vw;font-weight:900;margin-bottom:4%;font-family:Poppins,sans-serif}
    .text-peque{color:#3b3f50!important;margin-top:2%;font-family:Poppins,sans-serif;font-weight:600;font-size:1vw;text-align:justify}
    .text-footer,.text-footerdos{color:#fff!important;margin-top:15%;margin-bottom:1%;text-align:center}
    .text-footer,.text-footerdos,.text-sala{font-family:Poppins,sans-serif;font-weight:100}
    .text-footer{font-size:.7vw}.text-footerdos{font-size:1vw}.text-sala{color:#3b3f50!important;font-size:2.2vw}
    .boton-especia{font-size:1vw;padding-left:2%;padding-right:2%;padding-bottom:4px}
    .carousel-image {max-width: 400px;}
    .carousel-inner img {
            width: 70%; /* Ancho completo */
            height: auto; /* Altura fija */
            object-fit: cover; /* Asegura que la imagen cubra el área de manera centrada */
            object-position: center; /* Centra el recorte de la imagen */
            border-radius: 10px; /* Bordes redondeados */
        }
}

.nav-link.contacto-menu {
    border: 2px solid #e44d26;
    border-radius: 50px;
    font-size: 14px;
}

.nav-link.contacto-menu i {
    font-size: 14px;
    color: #e44d26;
    margin-right: 5px;
}

.nav-link.contacto-menu:hover {
    color: #e44d26;
    border-color: white;
}

.mundo-idioma {
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    color: white;
    font-size: 28px;
    flex-direction: column;
}

.mundo-idioma:hover {
    color: #e65c00;
}

/*==========================
    Fuentes
============================*/
@font-face {
    font-family: 'Abhaya';
    src: url('../fonts/Abhaya.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins.ttf') format('truetype');
}

@font-face {
    font-family: 'Palace';
    src: url('../fonts/PALACE.TTF') format('truetype');
}
@font-face {
    font-family: 'Panton';
    src: url('../fonts/Panton-Trial-Regular.ttf') format('truetype');
}
.navbar-brand img {
    max-width: 200px; /* Ajusta este valor según necesites */
    height: auto; /* Mantiene la proporción */
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-width: 100px; /* Reduce el logo en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        max-width: 80px; /* Aún más pequeño en móviles */
    }
    
    .titulo-doctor {
        margin-left: 3%;
    }

}

.subtitulo-doctor {
    font-size: 25px;
    padding-top: 2.5%;
    font-family: 'Panton', sans-serif;
}

.great-vibes-regular {
    font-family: 'Palace', sans-serif;
    font-weight: 400;
    font-style: normal;
    justify-self: center;
    position: relative;
}

.titulo-doctor {
    font-size: 9rem;
}
.poppins-light {
    font-size: 2.5rem; /* Tamaño base */
    white-space: nowrap; /* Evita que se divida en varias líneas */
}

@media (max-width: 1200px) {
    .poppins-light {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .poppins-light {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .poppins-light {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .poppins-light {
        font-size: 1.2rem;
        letter-spacing: -0.5px; /* Reduce el espacio entre letras */
    }
}

@media (max-width: 450px) {
    .poppins-light {
        font-size: 1rem;
        letter-spacing: -1px; /* Compacta aún más en pantallas pequeñas */
    }
}


.subtitulo-doctor-estetico {
    font-family: 'Panton', sans-serif;
    font-size: 3rem;
    font-style: italic;
}

.great-vibes-regular .poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    right: 0;
    bottom: -10px;
    font-size: 1.8rem;
    position: absolute;
    letter-spacing: 5px;
}

.text-direccion {
    color: white; 
    text-decoration: none;
}

.text-direccion:hover {
    color: #e65c00; 
}

/*MOVIL*/
@media screen and (max-width:600px){
    .text-barra{color:#fff;text-align:center;font-size:8pt;font-weight:400;padding:5px;margin-bottom:0;font-family:Poppins,sans-serif}
    .carousel-image {max-width: 120px;}
    .carousel-inner img {
            width: 120px; /* Ancho completo */
            height: 130px; /* Altura fija */
            object-fit: cover; /* Asegura que la imagen cubra el área de manera centrada */
            object-position: center; /* Centra el recorte de la imagen */
            border-radius: 10px; /* Bordes redondeados */
        }
    .text2,.text3{line-height:1}.font-menu{color:#000!important;font-weight:700;font-size:12px}
    .text1,.textsede{color:#7aa5d4;font-size:2.5vw;font-weight:600;margin-bottom:0;text-align:center;font-family:Poppins,sans-serif}.text1{margin-top:30%}
    .text2{color:#fff;text-align:center;font-size:2vw;margin-bottom:0;font-weight:300;font-family:Poppins,sans-serif}
    .text3{color:#7aa5d4;text-align:center;font-size:2.5vw;font-weight:900;margin-bottom:13%;font-family:Poppins,sans-serif}
    .text-peque{color:#3b3f50!important;margin-top:2%;font-family:Poppins,sans-serif;font-weight:600;font-size:3vw;text-align:center}.text-footer,.text-footerdos{color:#fff!important;margin-top:15%;margin-bottom:1%;font-family:Poppins,sans-serif;font-weight:100;font-size:4vw;text-align:center}.text-especialista{color:#7aa5d4;text-align:center;font-size:3vw;font-weight:600;margin-top:30%;margin-bottom:0;font-family:Poppins,sans-serif}.text-sala{color:#3b3f50!important;font-family:Poppins,sans-serif;font-weight:100;font-size:4.5vw}.boton-especia{background:#3b3f50;font-size:3vw;border-radius:10px;padding-left:2%;padding-right:2%;padding-bottom:4px}}

.btn-flotante,.content-portada .container-portada-details h2{text-transform:uppercase;font-weight:700;color:#fff}.imgWrapper3,.imgWrapper4{font-size:0;text-align:center}.imgWrapper3 .imgResponsiva,.imgWrapper4 .imgResponsiva{display:inline-block;font-size:inherit}.imgWrapper4 .imgResponsiva{width:17%;max-width:345px;padding:2%}.imgWrapper3 .imgResponsiva{width:33.3%;max-width:345px}.imgResponsiva img{height:auto;width:100%}
.content-portada{margin-top:2%;margin-bottom:5%;padding:100px 0;width:100%;height:400px;background:url('https://luisyesidmartinezlaguna.com/img/fachada-alejandria.jpg') 0 0/cover #eee;animation:10s linear infinite alternate movimiento}@keyframes movimiento{from{background-position:bottom left}to{background-position:top right}}.content-portada .container-portada-details{max-width:400px;background-color:rgba(0,0,0,.55);margin-left:7%;margin-right:7%;top:60%;padding:20px;position:relative}.content-portada .container-portada-details p{color:#fff;font-size:1em}



.img-overlay {
    position: relative;
    width: 100%; /* Asegura que el bot贸n ocupe todo el espacio del contenedor */
}

body {
        overflow-x: hidden;
    }
    .text-white {
        font-size: 12px;
        line-height: 1.1;
        margin: 0;
    }
    .container-fluid, .row, .col-12, .col-md-6, .col-sm-6, .col-md-4 {
        padding: 0;
        margin: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-section, .form2-background-container, .p1-main-container, .hero-section-sede, .hero-section-procedimiento {
        width: 100vw;
        overflow: hidden;
    }

    .hero-section {
        align-content: center;
        background-image: url('../img/banner_fondo_home.jpg');
        background-size: cover;
        background-position: center;
        height: 80vh;
        position: relative;
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .hero-section-especialista {
        align-content: center;
        background-image: url('../img/banner_fondo_home.jpg');
        background-size: cover;
        background-position: center;
        height: 60vh;
        position: relative;
    }

    .hero-section-especialista::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .hero-section-sede {
        align-content: center;
        background-image: url('https://luisyesidmartinezlaguna.com/img/fachada-alejandria.jpg');
        background-size: cover;
        background-position: center;
        height: 40vh;
        position: relative;
    }

    .hero-section-sede::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 51, 78, 0.7);
    }
    
    .hero-section-procedimiento {
        align-content: center;
        background-size: cover;
        background-position: center;
        height: 50vh;
        position: relative;
    }
    
    .hero-content-procedimiento {
        padding-top: 200px;
        position: relative;
        z-index: 10;
        color: white;
        text-align: left;
    }

    .hero-content {
        position: relative;
        color: white;
        text-align: center;
    }

    .memberships {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        text-align: left;
        flex-direction: row;
    }

    .membership-item {
        width: auto;
        display: flex;
        gap: 20px;
        flex-direction: row;
        align-items: center;
        /* max-width: 250px; */
        justify-content: center;
    }

    .membership-img {
        height: 50px;
    }

    .btn-valoracion {
        background-color: #e65c00;
        color: white;
        border: 2px solid white;
        border-radius: 30px;
        padding: 10px 30px;
        font-weight: 500;
        transition: all 0.3s;
    }

    .btn-valoracion:hover {
        background-color: white;
        color: #00334e;
    }

    .hero-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }
    @media (max-width: 768px) { /* Ampliamos el breakpoint a 768px */
    
    .hero-section, .hero-section-especialista {
        background-image: url('../img/PAGINA-08-08.jpg');
        margin-top:0;
    }
    
    .titulo-doctor {
        font-size: 4rem;
    }
    
    .titulo-doctor span{
        font-size: 1rem;
    }
    
    .great-vibes-regular .poppins-light {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
        padding: 0 15px;
    }
     .hero-section-sede {
         height: 10vh;
     }

    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .memberships {
        flex-direction: column;
        margin-top: 30px;
        padding: 0 15px;
    }

    .membership-item {
        max-width: 250px;
    }

    .membership-img {
        max-height: 60px;
        width: auto;
        margin-bottom: 15px;
    }

    .text-white {
        font-size: 13px !important;
        line-height: 1.4;
        padding: 0 10px;
    }

    .btn-valoracion {
        padding: 8px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) { /* Breakpoint adicional para móviles muy pequeños */

    .hero-section-especialista {
        background-image: url('../img/PAGINA-08-08.jpg');
    }

    .great-vibes-regular .poppins-light {
        font-size: 0.9rem;
        right: 60px;
    }
    
    .hero-title {
        width: 100%;
        justify-self: start;
        font-size: 1.5rem !important;
    }
    
    .mi-titulo{
        justify-self: center !important;
    }

    .mi-boton {
  display: block;
  margin-right: 70px;
}
    
    .hero-subtitle {
        width: 100%;
        justify-self: center;
        font-size: 1rem !important;
    }
    
    .membership-img {
        max-height: 50px;
    }
    
    .text-white {
        font-size: 12px !important;
    }
}

.img-overlay img {
    display: block; /* Asegura que la imagen ocupe todo el espacio del bot贸n */
    width: 100%;
    height: auto;
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 2rem;
    color: black;
    padding: 10px;
    text-align: center;
}
  /* Agregar padding de 4% al carrusel */
        #resenasCarrusel {
            padding: 4%;
        }

        /* Hacer imágenes cuadradas y centradas */
        .resena-img {
            width: 80px;
            height: 80px;
            object-fit: cover; /* Asegura que la imagen cubra el área sin distorsión */
        }

        .resena-header {
            display: flex;
            align-items: center;
            gap: 15px; /* Espacio entre la imagen y el nombre */
        }
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
              /* Agregar padding de 4% al carrusel */
        #resenasCarrusel {
            padding: 4%;
        }

        /* Hacer imágenes cuadradas y centradas */
        .resena-img {
            width: 80px !important;
            height: 80px !important;
            object-fit: cover; /* Asegura que la imagen cubra el área sin distorsión */
        }

        .resena-header {
            display: flex;
            align-items: center;
            gap: 15px; /* Espacio entre la imagen y el nombre */
        }
          /* Fondo negro para la sección completa */
        .sede-section {
            background-color: #fff; /* Fondo negro */
            padding: 40px 0; /* Espaciado superior e inferior */
        }

        /* Contenedor centrado y encajonado */
        .sede-container {
            background-color: #3b3f50; /* Fondo gris oscuro para el contenedor encajonado */
            border-radius: 10px; /* Bordes redondeados */
            padding: 20px; /* Espaciado interno */
            color: #fff; /* Texto blanco */
        }

        /* Ajustes de las imágenes del carrusel */
        

        /* Ajustes del texto para mejor legibilidad */
        .sede-container h2 {
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .sede-container p, .sede-container ul {
            font-size: 1.1rem;
        }
        
          /* Estilo para hacer que el video sea de fondo */
        .carousel-item {
            position: relative;
        }

        /* Video de fondo que cubre todo el contenedor */
        .carousel-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1; /* Debajo del contenido */
        }

        /* Overlay negro semitransparente */
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgb(0 0 0 / 86%);
            z-index: 2; /* Encima del video pero debajo del contenido */
        }

        /* Contenido del carrusel (imagen y texto) */
        .carousel-content {
            position: relative;
            z-index: 3; /* Encima del overlay */
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .carousel-content .col-5 {
            padding: 0px;
        }

        .carousel-image {
    height: auto;
    display: block;
    position: absolute;
    bottom: 0; /* Alinear la imagen en la parte inferior */
    right: 0; /* Alinear la imagen a la derecha */
    margin-bottom: 0; /* Sin margen inferior */
}

/* Definir animación para el texto */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* Comienza un poco más abajo */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Termina en su posición original */
    }
}

.animate-text {
    animation: fadeInUp 1s ease-in-out forwards; /* Aplica la animación */
    opacity: 0; /* Inicialmente invisible */
}

/* Otras propiedades de imagen */
.carousel-image {
    max-width: 100%;
    height: auto;
    display: block;
    position: absolute;
    bottom: 0; /* Alinear la imagen en la parte inferior */
    right: 0; /* Alinear la imagen a la derecha */
    margin-right: 20px; /* Espacio a la derecha */
    margin-bottom: 0; /* Sin margen inferior */
}


/* FOTOS ANTES Y DESPUES */

 .image-comparator {
    position: relative;
    width: 100%;
    height: 450px; /* Ajusta la altura según tus necesidades */
    overflow: hidden;
}

.image-comparator img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding:5%;
}

.image-comparator .image-2 {
    clip-path: inset(0 50% 0 0);
    /* Eliminar la transición */
    /* transition: clip-path 0.3s; */
}


.divider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: white;
    cursor: pointer;
    z-index: 2;
}

.divider-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    width: 60px;
    z-index: 3;
}

.divider-arrow {
    width: 30px;
    height: 30px;
    color: black;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    background:#fff;
}

.text-left, .text-right {
    position: absolute;
    top: 50%;
    font-size:10px;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.text-left {
    left: 10px;
}

.text-right {
    right: 10px;
}

/*CARROUSEL*/

.custom-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.custom-carousel {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.custom-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}
/*
.custom-carousel-item {
    min-width: 33.33%; 
    box-sizing: border-box;
    padding: 4%;
}
*/
/* Ajustes generales para el carrusel en escritorio */
.custom-carousel-item {
    flex: 1 0 50%; 
    padding: 3%;
}

.bg-dark{
    background:#000 !important;
} 

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .custom-carousel-item {
        flex: 1 0 370px; /* 1 columna en móvil */
    }

    .custom-carousel-track {
        display: flex;
        transition: transform 0.5s ease; /* Animación para suavizar el cambio de slides */
    }

    .custom-carousel-container {
        overflow: hidden; /* Ocultar el contenido que se desborda */
    }
}





.custom-carousel-control {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 10px;
}

.custom-carousel-control-prev {
    left: 10px;
}

.custom-carousel-control-next {
    right: 10px;
}


.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 15px;
    height: 15px;}




.detail-overlay {
    position: absolute;
    z-index:999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    overflow-y: auto; /* Habilita el scroll vertical */
}

.detail-content {
    max-height: 80%; /* Ajusta este valor según necesites */
    overflow-y: auto; /* Añade scroll cuando el contenido es largo */
    color: #fff; /* Color del texto */
    font-size: 16px; /* Tamaño de la fuente */
}

/* Estilo de la barra de desplazamiento */
.detail-content::-webkit-scrollbar {
    width: 8px; /* Ancho de la barra de desplazamiento */
}

.detail-content::-webkit-scrollbar-track {
    background: transparent; /* Color de fondo del track */
}

.detail-content::-webkit-scrollbar-thumb {
    background-color: red; /* Color de la barra de desplazamiento */
    border-radius: 10px; /* Bordes redondeados */
}

/* Opcional: Cambiar el estilo cuando la barra se está utilizando */
.detail-content::-webkit-scrollbar-thumb:hover {
    background-color: darkred; /* Color cuando se está usando */
}


.detail-content {
    max-height: 80%; /* Ajusta este valor según necesites */
    overflow-y: auto; /* Añade scroll cuando el contenido es largo */
    color: #fff; /* Color del texto */
    font-size: 16px; /* Tamaño de la fuente */
}


.close-detail {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 18px;
    z-index:9999;
    border-radius: 50%;
}




.recommendations-box {
    background-color: #f5f5f5; /* Fondo claro */
    border-radius: 15px; /* Bordes redondeados */
    border: 1px solid #ddd; /* Borde gris claro */
}

.titulo-recomendaciones {
    background-color: #3b3f50; /* Fondo oscuro para el título */
    color: #fff; /* Color del texto del título */
    padding: 10px 15px; /* Espaciado interno */
    border-radius: 10px; /* Bordes redondeados del título */
    margin-bottom: 15px; /* Espaciado debajo del título */
    display: inline-block; /* Alineación en línea */
}

ul.list-unstyled {
    padding-left: 20px; /* Espaciado a la izquierda para las viñetas */
}

ul.list-unstyled li {
    position: relative; /* Posicionamiento relativo para los íconos de viñeta */
    padding-left: 25px; /* Espaciado a la izquierda para las viñetas */
    margin-bottom: 10px; /* Espaciado inferior entre elementos de la lista */
    font-size: 16px; /* Tamaño de la fuente */
    color: #333; /* Color del texto */
}

ul.list-unstyled li::before {
    content: "\2022"; /* Código Unicode para la viñeta circular */
    color: #3b3f50; /* Color de la viñeta */
    font-weight: bold; /* Grosor de la viñeta */
    position: absolute; /* Posicionamiento absoluto para la viñeta */
    left: 0; /* Alineación a la izquierda de la viñeta */
    top: 0; /* Alineación superior de la viñeta */
    font-size: 20px; /* Tamaño de la viñeta */
}
.title-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinea el título a la derecha */
}

.title-line {
    flex-grow: 1;
    height: 1px;
    background-color: white;
    margin-right: 10px; /* Espacio entre la línea y el título */
}


/*BOTONES REDES*/
.social-floating {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Reducido para pantallas pequeñas */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 5px; /* Menos padding horizontal */
    border-radius: 8px 0 0 8px;
}

.social-icon {
    width: 36px; /* Tamaño intermedio para pantallas medianas */
    height: 36px;
    transition: transform 0.3s;
    margin: 3px 0; /* Menos margen vertical */
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Media query específica para iPhone 7 Plus y similares */
@media screen and (max-width: 414px) {
    .social-floating {
        gap: 6px;
        padding: 6px 4px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        margin: 2px 0;
    }
}

/* Media query para pantallas muy pequeñas (ej: iPhone 5/SE) */
@media screen and (max-width: 320px) {
    .social-floating {
        gap: 5px;
        padding: 5px 3px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
}
/*MENU DESPLEGABLE*/

/* Estilo para mostrar el submenú al pasar el ratón */
.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* Ajusta el margen superior para evitar saltos */
}

/* Ocultar todos los submenús por defecto */
.dropdown-menu .dropdown-menu {
    display: none; /* Oculta los submenús por defecto */
    position: absolute; /* Asegura que los submenús se posicionen correctamente */
    top: 0;
    left: 100%;
    margin-top: 0; /* Eliminar cualquier margen superior para evitar saltos */
}

/* Mostrar submenús al pasar el ratón */
.dropdown-submenu:hover > .dropdown-menu {
    display: block; /* Muestra el submenú */
}




/* Estilo para el botón flotante */
/* Botón flotante para activar/desactivar audio */
.btn-audio {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-audio:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Botón de "Volver a ver video" */
.btn-replay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none; /* Inicialmente oculto */
    padding: 15px 25px;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-replay:hover {
    background-color: rgba(0, 0, 0, 0.9);
}




  .horas-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .available-time, .occupied-time {
        padding: 10px 15px;
        background-color: #fff; /* Fondo blanco */
        border: 1px solid #ddd;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .occupied-time {
        background-color: #f8d7da; /* Fondo rojo para horas ocupadas */
        color: #721c24;
        pointer-events: none; /* No permite seleccionar horas ocupadas */
    }

    .selected-time {
        background-color: #007bff; /* Color de fondo para la hora seleccionada */
        color: #fff;
    }
    
    .collage-sede {
        position: relative;
        height: 400px;
    }
    
    .foto-sede-1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 60%;
        z-index: 1;
    }
    
    .foto-sede-2 {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50%;
        z-index: 2;
    }
    
/* Antes y Despues */

.p1-main-container {
    background: url('../img/fondo_procedimientos.png') no-repeat center center;
    background-size: cover;
    padding: 40px 20px;
}

.p1-main-title {
    margin-bottom: 30px;
    text-align: center;
}

.p1-title-small {
    display: block;
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
}

.p1-title-large {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.p1-procedure-card {
    background: transparent;
    margin-bottom: 10px;
    padding: 10px;
}

.p1-procedure-title {
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.p1-image-comparator {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    user-select: none;
    aspect-ratio: 1/1;
    border-radius: 0;
    background: #000;
    
}

.p1-image-comparator img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
   
}

.p1-image-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 0 50%);
}

.p1-divider-line {
    position: absolute;
    top: 50%; /* Cambiado para centrar verticalmente */
    left: 50%;
    width: 10px; /* Aumentado el ancho de la línea */
    height: 100%;
    background-color: #FF5722;
    cursor: ew-resize;
    z-index: 2;
    transform: translate(-50%, -50%); /* Centrado horizontalmente */
}

.p1-divider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: #FF5722;
    border-radius: 50%;
    cursor: ew-resize;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p1-circle-arrow {
    color: white;
    font-size: 12px;
    font-weight: bold;
}
.p1-text-before,
.p1-text-after {
    position: absolute;
    color: white;
    bottom: 10px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 3;
    border: 3px solid #FF5722;
}

.p1-text-before {
    right: 10px;
    background-color: transparent;
}

.p1-text-after {
    left: 10px;
    background-color: #FF5722;
}

/* Responsive styles */
@media (max-width: 767px) {
    .p1-title-small {
        font-size: 1.1rem;
    }
    
    .p1-title-large {
        font-size: 2rem;
    }
    
    .p1-procedure-title {
        font-size: 1rem;
    }
}
    
    
    
    
    
    
    
    
    
    
    