/***************** ESTILOS GENERALES *********************/
*,
*::before,
*::after {
  box-sizing: border-box;
}

.desktop{
    display: block;
}

.mobile{
    display: none;
}

.bajada-titulo{
    font-size: 1.8em;
    max-width: 850px;
}

html, body{
    font-size: 10px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

.inter-<uniquifier> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.container{
    width: 70%;
    max-width: 1250px;
}

h1, h2, h3, h4, h5{
    font-family: "Inter", sans-serif;
    line-height: 1.2;
    color:#343439;

}

p{
    font-family: "Inter", sans-serif;
    color: #454547;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 400;
}

li{
    font-family: "Inter", sans-serif;
    color: #4F4F4F;

}

a{
    font-family: "Inter", sans-serif;
    color: #4F4F4F;
}

.resaltar{
    font-family: "DM Serif Display", serif;
    font-size: 1.05em;
    font-style: italic;
    font-weight: 400;
}

.resaltar-bordo{
    font-family: "DM Serif Display", serif;
    font-size: 1.05em;
    font-style: italic;
    font-weight: 400;
    color: #b45853eb;
}

.resaltar-rosa{
    font-family: "DM Serif Display", serif;
    font-size: 1.05em;
    font-style: italic;
    font-weight: 400;
    color: #fed9d8;
}

.resaltar-blanco{
    font-family: "DM Serif Display", serif;
    font-size: 1.05em;
    font-style: italic;
    font-weight: 400;
    color: white;
}

.resaltar-gris{
    font-family: "DM Serif Display", serif;
    font-size: 1.05em;
    font-style: italic;
    font-weight: 400;
    color: #5f5b5b;
}

.ctas{
    gap:25px;
    margin-top: 45px;
    display: flex;
    flex-direction: row;
}

.menu-cierre-toggle{
    display: none;
}

/* ---------------------------------- */
/* ESTILOS DEL MODAL (POP-UP) - Prefijo: miApp- */
/* ---------------------------------- */

/* Fondo Oscuro (Block: miApp-modal-backdrop) - Oculto por defecto */
.miApp-modal-backdrop {
    display: none; /* OCULTO por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

/* Contenido del Modal (Block: miApp-modal-content) */
.miApp-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    position: relative;
}

/* Botón de Cerrar (Element: miApp-modal-content__close-button) */
.miApp-modal-content__close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

.miApp-modal-content__close-button:hover,
.miApp-modal-content__close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos para el contenido (usando el ID con prefijo para alta especificidad) */
#miApp-aviso-legal h2 {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-top: 0;
}

#miApp-aviso-legal p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Contenedor del pie de página del modal */
.miApp-modal__footer {
    padding-top: 20px;
    margin-top: 15px;
    border-top: 1px solid #eee; /* Línea separadora */
    text-align: right; /* Alinea el botón a la derecha */
}

/* Estilos base del botón */
.miApp-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#miApp-cerrarAvisoLegalBtn{
    border: none;
    cursor: pointer;
}

/* Estilo primario (para el botón de 'Entendido') */
.miApp-button--primary {
    background-color: #007bff; /* Azul de ejemplo */
    color: white;
}

.miApp-button--primary:hover {
    background-color: #0056b3;
}

/*==========================================================
    ANIMACIONES @keyframes (Más Sutiles)
============================================================*/

/* Animación para la flecha que rebota suavemente hacia abajo */
@keyframes bounce-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px); /* Movimiento más corto */
  }
  75% {
    transform: translateY(1.5px); /* Rebote más sutil */
  }
}

/* Animación para la flecha que rebota suavemente hacia la derecha */
@keyframes bounce-right {
  0%, 100% {
    transform: translateX(0) rotate(-40deg);
  }
  50% {
    transform: translateX(3px) rotate(-40deg); /* Movimiento más corto */
  }
  75% {
    transform: translateX(1.5px) rotate(-40deg); /* Rebote más sutil */
  }
}

/*==========================================================
    ESTILOS GENERALES Y HOVER PARA BOTONES Y FLECHAS
============================================================*/

/* Estilos Base de los Botones */
.cta-transparente,
.cta-transparente-blanco,
.cta-blanco,
.cta-bordo,
.cta-gris,
.cta-rosa {
/*    min-width: 250px;*/
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 1.5em;
    font-weight: 500;
    text-align: center;
    font-family: "Inter", sans-serif;
    text-decoration: none;
    letter-spacing: .3px;
    line-height: 2;
    transition: all 0.2s ease;
    box-shadow: none;
    display: inline-block;
}

/* Estilos Específicos de cada Botón */
.cta-transparente{
    color: #1f211f;
}
.cta-transparente-blanco{
    color: white;
}
.cta-blanco{
    background: white;
    color: #5f5b5b;
    font-weight: 600;
    border: 1px solid #5f5b5b;
}
.cta-bordo{
    background: #b45853eb;
    color: white;
}
.cta-gris{
    background: #5d5c69;
    color: white;
}
.cta-rosa{
    background: #fed9d8;
    color: #1a1d29;
}

/* Flecha para los CTAs con la clase .cta */
.cta:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f063"; /* Flecha hacia abajo */
    margin-left: 15px;
    font-size: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Flecha para los CTAs con la clase .cta2 */
.cta2:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f061"; /* Flecha hacia la derecha */
    margin-left: 15px;
    font-size: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
    transform: rotate(-40deg);
}

/*==========================================================
    EFECTOS HOVER (Más Sutiles)
============================================================*/

/* Hover General para los Botones */
.cta-transparente:hover,
.cta-transparente-blanco:hover,
.cta-blanco:hover,
.cta-bordo:hover,
.cta-gris:hover,
.cta-rosa:hover {
    transform: translateY(-1.5px); /* Menor elevación */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* Sombra más tenue */
}

/* Cambios de color en hover */
.cta-transparente:hover {
    color: #1a1c1a; /* Oscurecer solo un poco más */
}
.cta-transparente-blanco:hover {
    color: #e5e5e5; /* Aclarar solo un poco más */
}
.cta-blanco:hover {
    color: #4c4a4a; /* Oscurece el color del texto */
    border-color: #4c4a4a; /* Oscurece el color del borde */
    background: #ebebeb;

}
.cta-bordo:hover {
    background: #a54f49eb; /* Un tono un poco más oscuro */
}
.cta-gris:hover {
    background: #51505c; /* Un tono un poco más oscuro */
}
.cta-rosa:hover {
    background: #fbd0ce; /* Un tono un poco más oscuro */
}

/* Movimiento de las Flechas en Hover (Animación de rebote en bucle) */
.cta:hover:after {
    animation: bounce-down 0.8s ease infinite;
}
.cta2:hover:after {
    animation: bounce-right 0.8s ease infinite;
}

.pre-titulo{
    background: white;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 1.6em;
    background: white;
    border-bottom-width: 1px;
    border-color: rgba(0, 0, 0, 0.05);
    border-left-width: 1px;
    border-right-width: 1px;
    border-style: solid;
    border-top-width: 1px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

.pre-titulo2{
    background: #ffeaea;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 1.6em;
    border-bottom-width: 1px;
    border-color: rgba(0, 0, 0, 0.05);
    border-left-width: 1px;
    border-right-width: 1px;
    border-style: solid;
    border-top-width: 1px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

.titulo{
    font-size: 4.3em;
    font-weight: 600;
    color: #343439;
    margin-bottom: 15px;
    line-height: 1.2;  

}

.banner{
    width: 100%;
    display: block;
    text-align: center;
    font-size: 6em;
    padding:162px 0 60px 0;
    position: relative;
}

.banner-sobre-mi{
    background: url(../img/sobre-mi2.png);
    background-size: cover;
    background-position: center;
}

.banner-der-clinica{
    background: url(../img/clinica2.jpg);
    background-size: cover;
    background-position: center;
}

.banner-der-oncologica{
    background: url(../img/oncologica.jpg);
    background-size: cover;
    background-position: center;
}

.banner-med-estetica{
    background: url(../img/estetica.jpg);
    background-size: cover;
    background-position: center;
}

.banner-turnos{
    background: url(../img/derivaciones.jpg);
    background-size: cover;
    background-position: bottom center;
}

.banner:after{
    background: #2d1b1b;
    content: " ";
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    left: 0;
    opacity: 0.5;
    z-index: 50;
}

.banner h1{
    z-index: 52;
    position: relative;
    color: white;
}
/*

.especialidad-fixed{
    position: fixed;
    right: 35px;
    bottom: 35px;
    background: #dceaf1;
    min-width: 250px;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 1.4em;
    font-weight: 500;
    text-align: center;
    font-family: "Inter", sans-serif;
    text-decoration: none;
    letter-spacing: .3px;
    line-height: 2;
    transition: all 0.2s ease;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    z-index: 546564546;
}

.especialidad-fixed p{
    margin-bottom: 0;
    font-weight: 400;
    color: #343439;
    display: flex;
    align-items: center;
}

.especialidad-fixed p span{
    font-weight: 500;
    margin-right: 3px;
}


.especialidad-fixed p i{
    font-size: 1.3em;
    margin-left: 3px;    
}
*/


/************************************************************************************************/
/******************************************** TOP HEADER ****************************************/
/*************************************************************************************************/
.top-header {
    margin: 0 auto;
    background: #636564;
}

.top-header .container{
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.top-header .container>div{
    font-size: 1.3em;
    font-weight: 500;
}

.top-header .container div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap:7px;
}

.top-header .container>div:nth-child(2){
    gap:65px;
}

.top-header .container div p{
    margin: 0;
    padding: 0;
    color: white;
}

.top-header .container div p a{
    color: white;
    text-decoration: none;
}

.top-header .container div i{

    color: #fed9d8;
}
/* Contenedor principal del menú. Oculto por defecto. */
.menu-flotante-contenedor {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 546564546;
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    
    /* Propiedades para la animación inicial */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out; /* Transición para la aparición */
    pointer-events: none; /* Deshabilita clics cuando está oculto */
}

/* Esta clase se añadirá con JavaScript para mostrar el menú */
.menu-flotante-contenedor.visible-on-scroll {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* Habilita los clics */
}

/* Estilos del botón principal que siempre está visible. */
.menu-principal {
    background: white;
    padding: 8px 25px;
    border-radius: 25px;
    border: 1px solid #636564;
    color: 636564;
    font-size: 1.5em;
    font-weight: 500;
    text-align: center;
    line-height: 2;
    transition: all 0.2s ease;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

/* Estilos del texto dentro del botón principal. */
.menu-principal p {
    margin-bottom: 0;
    font-weight: 400;
    color: #636564;
    display: flex;
    align-items: center;
}

.menu-principal p span {
    font-weight: 500;
    margin-right: 3px;
}

.menu-principal p i {
    font-size: 1.3em;
    margin-left: 3px;
}

/* Estilos para el contenedor de opciones (botones). */
.menu-opciones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 10px; /* Espacio entre los botones y el menú principal. */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; /* La transición para el efecto de "fade and slide". */
    transform: translateY(20px); /* Inicialmente movido hacia abajo. */
    opacity: 0; /* Inicialmente transparente. */
    pointer-events: none; /* Deshabilita los clics cuando el menú está oculto. */
}

/* Esta clase se añade con JavaScript para mostrar el menú con la animación. */
.menu-opciones.visible {
    transform: translateY(0); /* Vuelve a su posición original (se mueve hacia arriba). */
    opacity: 1; /* Se vuelve completamente visible. */
    pointer-events: auto; /* Habilita los clics de nuevo. */
}

/* Estilos para los botones de las opciones. */
.boton-opcion {
    background: #b45853eb;
    color: white;
/*    border: 1px solid #636564;*/
    min-width: 250px;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 1.5em;
    font-weight: 500;
    text-align: left;
    margin-top: 10px; /* Espacio entre cada botón. */
    text-decoration: none;
    transition: background-color 0.2s ease;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.boton-opcion:hover {
    background-color: #ffeaea; /* Color al pasar el mouse. */
}


/************************************************************************************************/
/******************************************** HEADER 1 ***********************************************/
/*************************************************************************************************/

.header-principal{
    width: 100%;
    display: block;
    justify-self: center;
    display: flex;
    justify-content: center;
    position: fixed;
    transition: all 0.3s ease;
    z-index: 500;
    padding: 25px 0;
    box-shadow: 0 4px 2px -2px rgba(0,0,0,.2);
    box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.alt{
    background: white;
    transition: all 0.3s ease;
}

.alt ul li{
    border-right: 1px solid white;
}

.header-principal.scrolled{
    background: white;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.alt.scrolled{
    top: 0;
    transition: all 0.3s ease;
}
    
.header-principal img{
    max-width: 170px;
}

.header-principal.scrolled img{
    max-width: 130px;
    transition: all 0.3s ease;
}

.header-principal nav{
/*    width: 70%;*/
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
/*    padding: 0 50px;*/
}


.header-principal nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-self: self-start;
/*    gap:32px;*/
}

.header-principal nav ul li{
    font-size: 1.4em;
    color: white;
    font-weight: 500;
    border-right: 1px solid #ffffff66;
    padding:0 15px;
}

.header-principal.scrolled ul li{
    border-right: 1px solid #1a1d295c;

}

.alt nav ul li{
    border-right: 1px solid #1a1d295c;

}

.alt.scrolled nav ul li{
    border-right: 1px solid #1a1d295c;
}

.header-principal ul li:nth-child(5), .alt nav ul li:nth-child(5){
    border-right: 0;
}

.header-principal.scrolled ul li:nth-child(5), .alt.scrolled nav ul li:nth-child(5){
    border-right: 0;
}

.header-principal nav ul li a{
    color: white;
    text-decoration: none;
}

.header-principal nav ul li a:hover{
    text-decoration: underline;
}

.alt nav ul li a{
    color: #1a1d29;
}



.header-principal.scrolled nav ul li a{
    color: #1a1d29;
    font-weight: 500;
}

.cta-agendar-header{
    min-width: 162px;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 1.4em;
    font-weight: 500;
    text-align: center;
    font-family: "Inter", sans-serif;
    text-decoration: none;
    letter-spacing: .3px;
    line-height: 2;
    transition: all 0.2s ease;
    border: 1px solid #5f5b5b;
    color: #5f5b5b;
    align-items:  center;
    display: flex;
    background: white;
}

.cta-agendar-header i{
    margin-right: 6px;
    font-size: 1.3em;
}

.cta-agendar-header:hover{
    background: #b45853eb;
    color: white!important;
}

.header-principal.scrolled .cta-agendar-header{
    background: #b45853eb;
    color: white;
    border: none;
    opacity: 0.8;
}

/* Estilos de hover para el estado normal (fondo blanco) */
.cta-agendar-header:hover {
    /* Mínima elevación */
    transform: translateY(-0.5px); 
    
    /* Sombra extremadamente tenue */
    box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.05); 
    
    /* Color del texto y borde: el cambio es mínimo, un tono más oscuro */
    color: #555252;
    border-color: #555252;
}

/* Hover para el ícono dentro del botón (para que coincida) */
.cta-agendar-header:hover i {
}

/* Estilos de hover para el estado "scrolled" (fondo bordó) */
.header-principal.scrolled .cta-agendar-header:hover {
    /* Mínima elevación */
    transform: translateY(-0.5px);
    
    /* Sombra extremadamente tenue */
    box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.1); 
    
    /* Opacidad y fondo: solo un ligero aumento/ajuste para indicación */
    opacity: 0.95; /* Se mueve de 0.8 a 0.95 */
    background: #ad534ceb; /* Un cambio de color mínimo */
}

nav ul li a.active-nav{
/*    text-decoration: underline;*/
    font-weight: 600;
    color: #b45853eb;
}

.header-principal.scrolled nav ul li .active-nav-home{
    color: #b45853eb;
}


.header-principal.scrolled nav ul li .active-nav{
    color: #b45853eb;
}

.active-turnos{
    background: #b45853eb;
    color: white;
}

.active-turnos:hover{
    color: white;
}

.menu-hamburguesa-toggle {
    display: none;
}

/************************************************************************************************/
/******************************************** HOME ***********************************************/
/*************************************************************************************************/

/***************** HOME INICIO *********************/

.home-inicio{
    min-height: 100vh;
    max-height: 100vh;
    background: url(../img/bg-3.webp);
    background-size: 100%;;
    background-repeat: no-repeat;
    background-position: center -25px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-inicio .container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap:85px;
}

.home-inicio .container .contenido{
    
}

.home-inicio img{
    max-width: 850px;
    width: 100%;
    border-radius: 15px;
}


.home-inicio h1{
    font-size: 6.2em;
    line-height: 1.1;
    font-weight: 500;
    color: white;
    max-width: 800px;
    margin-bottom: 23px;
}

.home-inicio p{
    font-size: 2.4em;
    font-weight: 300;
    color: white;
    max-width: 600px;
    margin-left: 3px;
}

.home-inicio .bullets{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin: 35px auto;
}

.home-inicio .bullets > div{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.home-inicio .bullets > div i{
    font-size: 3.7em;
    margin-right: 8px;
}

.home-inicio .bullets > div p{
    font-size: 1.5em;
    font-weight: 600;
}

.home-inicio .bullets > div p span{
    display: block;
    font-size: .8em;
    font-weight: 500;
}

.home-inicio .ctas{
    min-width: 240px;
    margin-bottom: 45px;
}

.home-inicio .ctas a{
    min-width: 240px;
}

/***************** HOME SOBRE MI *********************/
.home-sobre-mi{
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;

}

.home-sobre-mi .container{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    gap:50px;
}

.home-sobre-mi .titulo{
}

.home-sobre-mi .pre-titulo{
    background: #fed9d8;
}

.home-sobre-mi h3 .resaltar{
    font-size: 1em;
    color: #28282b;
    font-weight: 500;
}

.home-sobre-mi img{
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.home-sobre-mi p{
    font-size: 1.7em;
    max-width: 800px;
}

.home-sobre-mi p span{
    font-style: italic;
    font-weight: 500;
}


.home-sobre-mi p span{
/*    color: #555555;*/
    color: #ba6560;
}

.items-sobre-mi{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crea dos columnas de igual ancho */
    gap: 40px; /* Espacio entre las filas y columnas */
    max-width: 600px;
    margin: 35px 0 35px 0;
}

.items-sobre-mi>div{
    align-items:center;
    display: flex;
    flex-direction: row;
    gap:15px;
/*    width: 250px;*/
/*    justify-content: space-between;*/

}

.items-sobre-mi>div i{
    background: #ffeaea;
    color: #2a2623;
    font-size: 2.2em;
    padding: 10px;
    border-radius: 100%;
}
.items-sobre-mi>div div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.items-sobre-mi>div div h3{
    font-size: 1.5em;
    font-weight: 500;
}

.items-sobre-mi>div div p{
    font-size: 1.2em;
    margin-bottom: 0;
}

.home-sobre-mi .ctas{
    display: flex;
    flex-direction: row;
    margin-bottom: 25px;
}

.home-sobre-mi .ctas a{
    min-width: 240px;
}

.mapa-footer{
    position: relative;
}

.mapa-footer iframe{
    width: 100%;
    position: relative;
    z-index: 21;
}

.mapa-footer iframe::after{
    content: " ";
    background: red;
    position: absolute;
}

.mapa-footer .container{
    margin: 0 auto;
    position: relative;
}


.mapa-footer .container div{
    position: absolute;
    background: white;
    max-width: 650px;
    z-index: 22;
    padding: 25px;
    right: 0;
    top:85px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    border-radius: 10px;
}

.mapa-footer div img{
    max-width: 160px;
    margin: 15px auto;
}

.mapa-footer div p{
    font-size: 1.5em;
    margin: 15px auto;
}
/***************** HOME CONSULTORIO *********************/
.home-consultorio{
    background-repeat: repeat;
    background-size:    cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    background-position: 0 0;
    background-size: auto;
    background: url(../img/banner-12.jpg);

}


.home-consultorio .titulos{
    text-align: center;
    margin-bottom: 35px;
}

.home-consultorio .titulo span{
}

/* 1. ESTO VA EN EL PADRE (El contenedor de las cards) */
.home-consultorio .contenido {
    display: flex;           /* Activa la alineación horizontal */
    flex-wrap: wrap;         /* Permite que bajen si no hay espacio (responsive) */
    gap: 20px;               /* Espacio entre tarjeta y tarjeta */
    justify-content: center; /* Las centra si sobran márgenes */
    align-items: stretch;    /* Asegura que todas tengan la misma altura */
}

/* 2. ESTO VA EN EL HIJO (Tus cards) - Solo ajustamos el ancho */
.home-consultorio .contenido .servicio {
    /* Mantenemos tu configuración interna */
    display: flex;
    flex-direction: column;
    
    /* Configuración de ancho */
    flex: 1;                 /* Crecen para ocupar espacio equitativamente */
    min-width: 300px;        /* Evita que se aplasten demasiado */
    max-width: 400px;        /* (Opcional) Evita que se estiren demasiado si hay pocas */
    
    /* Resto de tu estilo visual... */
    background: white;
    border-radius: 10px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.home-consultorio .contenido .servicio img {
    width: 100%;
    /* Fijar una altura específica ayuda a la alineación, aunque object-fit lo maneja bien */
    height: 240px; 
    object-fit: cover;
    /* Ajuste para que se vea bien la parte superior */
    object-position: center top; 
    border-radius: 20px;
    padding: 15px;
}


/* --- AQUÍ ESTÁ LA CLAVE DEL CAMBIO --- */
.home-consultorio .contenido .servicio .info-servicio {
    padding: 25px;
    position: relative;
    
    /* Convertimos este contenedor en flex column también */
    display: flex; 
    flex-direction: column;
    
    /* Esto hace que este bloque ocupe todo el espacio sobrante de la card */
    flex: 1; 
}

.home-consultorio .contenido .servicio i {
    font-size: 3em;
    color: #636564;
    border-radius: 100px;
    padding: 8px 8px;
    margin: 15px 0;
    position: absolute;
    top: -55px; /* Ajusta esto si el ícono no queda centrado con la nueva altura de img */
    background: white;
    border: 1px solid #636564;
    z-index: 2; /* Asegura que quede por encima */
}

.home-consultorio .contenido .servicio:nth-of-type(1) i{
/*    background: #dceaf1;    */
}

.home-consultorio .contenido .servicio:nth-of-type(2) i{
/*    background: #f3d4d4;    */
}

.home-consultorio .contenido .servicio:nth-of-type(3) i{
/*    background: #e7efd7;    */
}

.home-consultorio .contenido .servicio .info-servicio h2 {
    text-align: left;
    font-size: 2.1em;
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #2d2a2a;
}

.home-consultorio .contenido .servicio .info-servicio p {
    font-size: 1.6em;
    font-weight: 400;
    color: #2d2a2a; /* Asumo este color ya que estaba comentado */
    margin-bottom: 25px;
    
    /* Opcional: Si quieres que el texto ocupe espacio pero no empuje exageradamente */
    flex-grow: 0; 
}

.home-consultorio .contenido .servicio a {
    font-size: 1.4em;
    font-weight: 600;
    display: block;
    text-align: center;
    text-decoration: none;
    padding-right: 12px;
    width: 100%; /* Para que ocupe el ancho y el align right funcione bien */
    
    /* ESTA ES LA MAGIA: Empuja el botón al final del contenedor .info-servicio */
    margin-top: auto; 
}

.home-consultorio .outro{
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.home-consultorio .outro p{
/*    max-width: 550px;*/
    font-size: 1.9em;
    font-weight: 500;
    margin: 45px auto 25px auto;
    text-align: center;
}

.home-consultorio .outro .cta-texto{
    color: #b45853eb;
    font-weight: 600;
}
/************** HOME-FAQ **************************/
.home-faq{
    background: white;
    background: url(../img/banner-16.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
}

.home-faq .container{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
}


.home-faq .titulos{
    text-align: center;
}

.home-faq .pre-titulo{
/*    background: #f4f5f0;*/
}

.home-faq .titulo{
    text-align: center;
/*    margin-bottom: 35px;*/
    color: white;
    margin: 0 auto 35px auto;
    max-width: 510px;
}



.home-faq .faq-section {
    font-size: 1em;
    width: 100%;
    max-width: 768px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-family: "Inter", sans-serif;
    background: #fffffff5;
    padding: 25px;
    border-radius: 15px;
}

.home-faq .faq-item {
    border-bottom: 1px solid #ccc;
    padding: 30px 35px 30px 30px;
/*    margin: 15px auto;*/
}

.home-faq .faq-question {
  font-weight: 600;
  cursor: pointer;
  position: relative;
    color: #2d2a2a;
    font-size: 2em;

}

.home-faq .faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.home-faq .faq-item.active .faq-question {
    color: #b45853eb;
}

.home-faq .faq-item.active .faq-question::after {
  content: "−";
}

.home-faq .faq-answer {
  display: none;
  margin-top: 10px;
  color: #444;
  font-size: 1.6em;
    font-weight: 400;
    padding-left: 25px;
}


.home-faq .ctas{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.home-faq .ctas a{
    min-width: 240px;
}

/***************** HOME TESTIMONIAL *********************/
.home-testimonio{
    display: flex;
    justify-content: center;
/*    background-color: #f9f9f9;*/
    padding: 120px 0;
    overflow-x: hidden;
}

.home-testimonio .container{
    width: 100%;
    max-width: 100%;
}

.home-testimonio .titulos{
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    align-items: center;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Se mueve la mitad del contenido hacia la izquierda */
    }
}

/* Animación para el movimiento inverso (de izquierda a derecha) */
.marquee-reverse {
    /* Asignamos la animación inversa a la clase */
    animation: marqueeReverseScroll 65s linear infinite; 
}

@keyframes marqueeReverseScroll {
    0% {
        transform: translateX(-50%); /* Empieza a la izquierda (donde termina el scroll normal) */
    }
    100% {
        transform: translateX(0%); /* Termina a la derecha (donde empieza el scroll normal) */
    }
}

/* El resto de tu CSS original... */

.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 65s linear infinite; /* Aplica la animación normal por defecto */
    padding: 20px 0;
}

/* ... (el resto de estilos para .marquee-row, .testimonial-card, etc.) ... */

.marquee-reverse {
    animation-direction: reverse;
}

.testimonial-card {
    display: inline-block;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 20px;
    margin: 0 15px;
    width: 400px;
    flex-shrink: 0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/*
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
*/

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header p{
    margin-bottom: 0;
}

.user-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fed9d8;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    font-size: 1.7em; /* 16px */
}

.testimonial-text {
    font-size: 1.5em; /* 14px */
    color: #555;
    line-height: 1.5em; /* Se mantiene en em para escalar con el texto */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: pre-wrap;
}

.testimonial-text span {
    color: #b45853eb;
    font-style: italic;
    font-weight: 400;
}

.card-footer {
    text-align: right;
    font-size: 1.2em; /* 12px */
    color: #999;
    margin: 15px 0 0 0;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* Desktop Marquee Specific Styles */
.desktop-marquee {
    display: block; /* Default is block for desktop */
}
.mobile-carousel-container {
    display: none; /* Default is hidden for desktop */
    position: relative; /* For arrow positioning */
    margin: 0 auto;
    max-width: 500px; /* Constrain size on mobile */
}

/* Base Marquee/Card Styles (Keep these, but they are overridden on mobile) */
.marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 65s linear infinite;
    padding: 20px 0;
}
.marquee-reverse {
    animation: marqueeReverseScroll 65s linear infinite;
}
/* ... (Keep @keyframes marqueeScroll and @keyframes marqueeReverseScroll) ... */

.testimonial-card {
    display: inline-block; /* Essential for the flex/marquee setup */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 20px;
    margin: 0 15px;
    width: 400px;
    flex-shrink: 0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* =========================================
   MOBILE SLIDER (Aplica solo bajo 768px)
   ========================================= */
@media screen and (max-width: 768px) {

    /* 1. Ocultamos la barra de scroll fea pero permitimos la funcionalidad */
    .marquee-row::-webkit-scrollbar {
        display: none;
    }
    .marquee-row {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
        
        /* Habilitamos el scroll horizontal */
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        
        /* Habilitamos el 'Snap' (efecto imán al deslizar) */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch; /* Suavidad en iOS */
        
        /* Padding para que la primera card no quede pegada al borde */
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* 2. Detenemos la animación infinita */
    .marquee-inner, 
    .marquee-reverse {
        animation: none !important; /* Forzamos la detención */
        display: flex;
        width: fit-content; /* El ancho se ajusta al contenido, no al 100% */
        transform: none !important; /* Reseteamos cualquier movimiento */
    }

    /* 3. Ajustamos las Cards para Mobile */
    .testimonial-card {
        /* IMPORTANTE: 400px es muy ancho para celus, lo cambiamos a relativo */
        width: 85vw; /* Ocupa el 85% del ancho de la pantalla */
        min-width: 280px; 
        max-width: 400px;
        
        /* Alineación del Snap */
        scroll-snap-align: center; /* La card se centra al soltar */
        margin: 0 10px; /* Reducimos el margen lateral */
        
        /* Aseguramos que no se achiquen */
        flex-shrink: 0; 
    }
}
/***************** HOME CONTACTO *********************/
.home-contacto{
    background: url(../img/banner-13.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.home-contacto .container{
    padding: 120px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.home-contacto .container div:nth-child(1){
    padding-right: 65px;
}

.home-contacto h3 span{
    color: #b45853eb;
}

.home-contacto .container div img{
    max-width: 550px;
    border-radius: 25px;
}

.home-contacto p{
    font-size: 1.8em;
    max-width: 850px;
    margin: 25px auto 45px auto;
}


/************************************************************************************************/
/******************************************** SOBRE MI ***********************************************/
/*************************************************************************************************/

/***************** SOBRE MI INICIO *********************/
.sobre-mi-inicio {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.sobre-mi-inicio .container {
    display: flex;
    flex-direction: row-reverse;
    align-content: center;
    justify-content: space-between;
    gap: 80px;
    padding: 80px 0 120px 0;
}

.sobre-mi-inicio p{
    font-size: 1.7em;
    max-width: 800px;
    line-height: 1.7;
}

.sobre-mi-inicio p span{
    font-weight: 500;
    font-style: italic;
    color: #b45853eb;
}

.sobre-mi-inicio img {
    max-width: 550px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.sobre-mi-inicio .ctas{
/*    justify-self: flex-end;*/
}

.sobre-mi-inicio .datos{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap:120px;
    margin: 25px auto;
}

.sobre-mi-inicio .datos div{
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: .9em;
}

.sobre-mi-inicio .datos span:nth-child(1){
    font-family: "DM Serif Display", serif;
    font-size: 4.2em;
    font-style: italic;
    font-weight: 500;
    color: #b45853eb;
}

.sobre-mi-inicio .datos span:nth-child(2){
    font-family: "Inter";
    font-size: 1.5em;
    font-weight: 500;
    color: #454547;
    margin-top: -15px;
}

.sobre-mi-inicio .datos img{
    max-width: 60px;
}

/***************** SOBRE MI FORMACION *********************/
.sobre-mi-formacion{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    background: url(../img/banner-12.jpg);
    position: relative;
}

.sobre-mi-formacion .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sobre-mi-formacion .container .header{
    text-align: center;
    margin-bottom: 20px;
}

.sobre-mi-formacion .container .contenido{
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en múltiples filas */
    justify-content: space-between; /* Distribuye el espacio entre los elementos en cada fila */
    width: 100%;
    gap: 20px; /* This creates both horizontal and vertical spacing */
    text-align: center;
}

.sobre-mi-formacion .container .contenido>div{
    width: calc(33.33% - 20px); /* Un ancho base para que solo 3 elementos quepan */
    margin-bottom: 20px; /* Agrega espacio entre las filas */
    display: flex;
    flex-direction: column;
    gap:10px;
        box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 25px;
    border-radius: 10px;
    background: white;
}

.sobre-mi-formacion .container .contenido>div h4{
    text-align: center;
    font-size: 1.8em;
    color: #b45853eb;
    color: #343439;
/*    font-weight: 700;*/
}

.sobre-mi-formacion .container .contenido>div p{
    text-align: center;
    font-size: 1.6em;
}

.sobre-mi-formacion .container i {
    background: #ffeaea;       /* color de fondo del círculo */
    color: #2d2a2a;           /* color del ícono */
    font-size: 3.5em;           /* tamaño del ícono */
    width: 60px;              /* ancho fijo del círculo */
    height: 60px;             /* alto fijo del círculo */
    display: flex;            /* para centrar el ícono */
    align-items: center;
    justify-content: center;
    border-radius: 50%;       /* círculo perfecto */
    margin: 0 auto 10px;      /* centrado horizontal y espacio abajo */
}

.sobre-mi-formacion .ctas{
    margin-top: 25px;
}

.sobre-mi-formacion .scroll-down {
  position: absolute;
  bottom: 40px;
    right: -55px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sobre-mi-formacion .scroll-down .text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2.7em;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #333;
    font-family: "Inter";
    font-weight: 700;
}
.sobre-mi-formacion .scroll-down .line {
  position: relative;
  width: 1px;
  height: 100px;
  background-color: #333;
/*   overflow: hidden; ← 必要に応じて削除してもOK */
}

.sobre-mi-formacion .scroll-down .dot {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: #b45853eb;
  border-radius: 50%;
  opacity: 0;
  animation: dotMove 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes dotMove {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
  100% {
    top: 100%;
  }
}

/***************** SOBRE MI EXPERIENCIA *********************/
.sobre-mi-experiencia{
    padding: 120px 0;
/*    height: 100vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-mi-experiencia .header{
    text-align: center;
    align-self: center;
}

.sobre-mi-experiencia .header h3{
    max-width: 650px;
    margin: 0 auto 20px auto;
    width: 100%;
    justify-content: center;
}

.sobre-mi-experiencia .header p{
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
    
}

.sobre-mi-experiencia .container {
    display: flex;
    flex-direction: column;
}

.sobre-mi-experiencia p span{
    font-weight: 500;
    font-style: italic;
}

.sobre-mi-experiencia .item div:nth-of-type(2){
    align-items: baseline;
    display: flex;
    flex-direction: column;

}

.sobre-mi-experiencia .item h4{
    font-size: 1.8em;
/*    font-weight: 600;*/
    font-family: "Inter";
    color: #b45853eb;
    padding: 0 10px;
    margin: 5px 0 0 0;

}

.sobre-mi-experiencia .item p{
    font-size: 1.5em;
    font-weight: 400;
    margin: 10px 0 5px 0;
    padding: 0 10px;
    text-align: left;
    list-style: none;
    display: block;
    z-index: 51;
}

.sobre-mi-experiencia img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    max-height: 300px;
    object-fit: cover;
    object-position: top;
    position: relative;
    z-index: 49;
    margin: 25px auto 10px auto;
}

.sobre-mi-experiencia .img-exp{
    max-height: 300px;
}

.sobre-mi-experiencia .ctas{
    justify-content: center;
}

.sobre-mi-experiencia .owl-nav{
    font-size: 7em;
    font-family: "Inter";
}

.sobre-mi-experiencia .owl-prev{
    left: -45px;
    position: absolute;
    top: 120px;
    color: #b45853eb!important;
}

.sobre-mi-experiencia .owl-next{
    right: -45px;
    position: absolute;
    top: 120px;
    color: #b45853eb!important;
}

.sobre-mi-experiencia .owl-theme .owl-nav [class*=owl-]:hover{
    background: none;color: white;
    
}
.sobre-mi-experiencia .owl-theme .owl-nav [class*=owl-]:hover span{
    background: none;color: #5f5b5b;
    transition: 0.3s all ease;
    
}

.sobre-mi-experiencia .owl-prev span{
}

/***************** SOBRE MI TURNOS *********************/
.sobre-mi-turnos{
    padding: 100px 0;
    width: 100%;
    background: url(../img/banner-16.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:
}

.sobre-mi-turnos {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.sobre-mi-turnos .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.sobre-mi-turnos .container h2{
    color: white;
}


.sobre-mi-turnos p{
    font-size: 1.7em;
    font-weight: 500;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-family: "Inter", sans-serif;
    background: #fffffff5;
    padding: 25px;
    border-radius: 15px;
}
/***************** SOBRE MI CONSULTORIO *********************/
.sobre-mi-consultorio {
/*    background: white;*/
    background: url(../img/banner-12.jpg);
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.sobre-mi-consultorio .container {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    gap: 80px;
    padding: 120px 0;
}

.sobre-mi-consultorio p{
    font-size: 1.7em;
    max-width: 800px;
    line-height: 1.7;
}

.sobre-mi-consultorio p span{
    font-weight: 500;
    font-style: italic;
}

.sobre-mi-consultorio img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.sobre-mi-consultorio .ctas{
    justify-self: flex-start;
}

.sobre-mi-consultorio .datos{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap:120px;
    margin: 25px auto;
}


/************************************************************************************************/
/******************************************** DERMATOLOGIA CLINICA ***********************************************/
/*************************************************************************************************/

/***************** DERM. CLINICA INICIO *********************/
.der-clinica-inicio {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.der-clinica-inicio h3{
    max-width: 750px;
}

.der-clinica-inicio .container {
    display: flex;
    flex-direction: row-reverse;
    align-content: center;
    justify-content: space-between;
    gap: 80px;
    padding: 80px 0 100px 0;
}

.der-clinica-inicio p{
    font-size: 1.7em;
    max-width: 800px;
    line-height: 1.7;
    max-width: 650px;
}

.der-clinica-inicio p span{
    font-weight: 500;
    font-style: italic;
}

.der-clinica-inicio img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}


.der-clinica-inicio .datos{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap:120px;
    margin: 25px auto;
}

.der-clinica-inicio .datos div{
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: .9em;
}

.der-clinica-inicio .datos span:nth-child(1){
    font-family: "DM Serif Display", serif;
    font-size: 4.2em;
    font-style: italic;
    font-weight: 500;
    color: #b45853eb;
}

.der-clinica-inicio .datos span:nth-child(2){
    font-family: "Inter";
    font-size: 1.5em;
    font-weight: 500;
    color: #454547;
    margin-top: -15px;
}

.der-clinica-inicio .datos img{
    max-width: 60px;
    position: relative;
}
/*

.der-clinica-inicio .img-clinica-div:after{
    background: red;
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
}
*/

/***************** DERM. CLINICA AFECCIONES *********************/
.der-clinica-afecciones{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background: url(../img/banner-12.jpg);
    position: relative;
}

.der-clinica-afecciones .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.der-clinica-afecciones .container .header{
    text-align: center;
    margin-bottom: 20px;
}

.der-clinica-afecciones .container .contenido{
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en múltiples filas */
    justify-content: flex-start; /* Distribuye el espacio entre los elementos en cada fila */
    width: 100%;
    gap: 20px; /* This creates both horizontal and vertical spacing */
    text-align: center;
}

.der-clinica-afecciones .container .contenido>div{
    width: calc(33.33% - 20px); /* Un ancho base para que solo 3 elementos quepan */
    margin-bottom: 20px; /* Agrega espacio entre las filas */
    display: flex;
    flex-direction: column;
    gap:10px;
        box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 25px;
    border-radius: 10px;
    background: white;
}


.der-clinica-afecciones .container .contenido>div .info{
    padding: 10px;
}

.der-clinica-afecciones .container .contenido>div h4{
    text-align: left;
    font-size: 1.8em;
/*    color: #343439;*/
    color: #b45853eb;
    margin-bottom: 15px;
}

.der-clinica-afecciones .container .contenido>div p{
    text-align: left;
    font-size: 1.6em;
}

.der-clinica-afecciones .container i {
    background: #ffeaea;       /* color de fondo del círculo */
    color: #2d2a2a;           /* color del ícono */
    color: #b45853eb;
    font-size: 3.5em;           /* tamaño del ícono */
    width: 60px;              /* ancho fijo del círculo */
    height: 60px;             /* alto fijo del círculo */
    display: flex;            /* para centrar el ícono */
    align-items: center;
    justify-content: center;
    border-radius: 50%;       /* círculo perfecto */
    margin: 0 auto 10px;      /* centrado horizontal y espacio abajo */
}


.der-clinica-afecciones .container .contenido>div>div img{
    width: 100%;
    max-height: 255px;
    min-height: 255px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
}

.der-clinica-afecciones .container .contenido>div>div:nth-child(1){
    position: relative;
}

.der-clinica-afecciones .container .contenido>div>div:nth-child(1)::after{
    content: " ";
    border-radius: 10px;
    height: 100%;
    width: 100%;
    left: 0;
    position: absolute;
    max-height: 255px;
    min-height: 255px;
    background: #2d1b1b7a;
    opacity: 0.3;
}


.der-clinica-afecciones .container  .contenido>div:nth-child(8) img{
    object-fit: cover;
    object-position: top;
    object-position: 0 -10px;
    position: relative;
}



.der-clinica-afecciones .ctas{
    margin-top: 25px;
}

.der-clinica-afecciones .scroll-down {
  position: absolute;
  top: 50%; right:-20px;
  transform: translate(50%,-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.der-clinica-afecciones .scroll-down .text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2.7em;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #333;
    font-family: "Inter";
    font-weight: 700;
}
.der-clinica-afecciones .scroll-down .line {
  position: relative;
  width: 1px;
  height: 100px;
  background-color: #333;
}

.der-clinica-afecciones .scroll-down .dot {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: #b45853eb;
  border-radius: 50%;
  opacity: 0;
  animation: dotMove 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes dotMove {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
  100% {
    top: 100%;
  }
}


/***************** DERM. CLINICA MODALIDAD *********************/
.der-clinica-modalidad{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0;
}



.der-oncologica-modalidad .owl-nav .owl-next:hover{
    background: #ffeaea !important;
    color: #444;
}
    
.der-oncologica-modalidad .owl-nav .owl-prev:hover{
    background: #ffeaea !important;
    color: #444;
}

.der-clinica-modalidad header{
    text-align: center;
}

.der-clinica-modalidad .container{
/*    display: flex;*/
/*    flex-direction: row;*/
    justify-content: space-between;
/*    margin: 45px 0 0 0;*/
    gap:90px;
}

.der-clinica-modalidad .container .card{
    background: white;
    box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 25px;
    border-radius: 10px;
    flex: 1;
}

.der-clinica-modalidad .container .card i{    
    flex: 0 0 auto;              /* <- evita que se estire */
    background: #ffeaea;         /* rosa suave */
    color: #2a2623;              /* rosa intenso */
    font-size: 3em;            /* tamaño del ícono */
    padding: 10px;
    border-radius: 50%;
    display: flex;
    justify-self: flex-start;
    width: 55px;                 /* ancho fijo del círculo */
    height: 55px;                /* alto fijo del círculo */
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.der-clinica-modalidad .container .card h4{
    font-size: 1.8em;
    margin-bottom: 15px;
}

.der-clinica-modalidad .container .card p{
    font-size: 1.6em;
}


.video-wrapper {
                        position: relative;
                        display: inline-block;
                        width: 100%;
                        border-radius: 16px;
                        overflow: hidden;
                        cursor: pointer;
                        box-shadow: 0 20px 60px rgba(0,0,0,0.18);
                    }

                    .video-wrapper .video-onco {
                        display: block;
                        width: 100%;
                        border-radius: 16px;
                    }

                    .video-overlay {
                        position: absolute;
                        inset: 0;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        gap: 18px;
                        transition: opacity 0.35s ease;
                        border-radius: 16px;
                        overflow: hidden;
                        pointer-events: none;
                    }

                    .video-overlay.visible {
                        pointer-events: auto;
                    }

                    .video-overlay-bg {
                        position: absolute;
                        inset: 0;
                        background: linear-gradient(
                            160deg,
                            rgba(10, 10, 20, 0.55) 0%,
                            rgba(60, 20, 30, 0.45) 60%,
                            rgba(10, 10, 20, 0.65) 100%
                        );
                        backdrop-filter: blur(1px);
                        transition: opacity 0.4s ease;
                    }

                    .video-overlay.hidden {
                        opacity: 0;
                        pointer-events: none;
                    }

                    .video-overlay {
                        transition: opacity 0.35s ease;
                    }

                    /* Play button */
                    .play-btn {
                        position: relative;
                        z-index: 2;
                        width: 88px;
                        height: 88px;
                        border-radius: 50%;
                        border: none;
                        cursor: pointer;
                        background: rgba(255, 255, 255, 0.97);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        box-shadow:
                            0 8px 32px rgba(0,0,0,0.28),
                            0 2px 8px rgba(0,0,0,0.18);
                        transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease;
                    }

                    .play-btn:hover {
                        transform: scale(1.12);
                        box-shadow:
                            0 16px 48px rgba(0,0,0,0.32),
                            0 4px 16px rgba(0,0,0,0.2);
                    }

                    .play-btn:hover .play-btn-ring {
                        animation-play-state: running;
                    }

                    .play-icon {
                        width: 28px;
                        height: 28px;
                        color: #7a1a2e;
                        margin-left: 4px;
                        filter: drop-shadow(0 1px 2px rgba(122,26,46,0.18));
                    }

                    /* Ripple rings */
                    .play-btn-ring {
                        position: absolute;
                        inset: -2px;
                        border-radius: 50%;
                        border: 2px solid rgba(255, 255, 255, 0.6);
                        animation: ringPulse 2.4s ease-out infinite;
                        animation-play-state: running;
                    }

                    .play-btn-ring--delay {
                        animation-delay: 1.2s;
                    }

                    @keyframes ringPulse {
                        0%   { transform: scale(1);   opacity: 0.7; }
                        100% { transform: scale(2.2); opacity: 0;   }
                    }

                    /* Label */
                    .video-overlay-label {
                        position: relative;
                        z-index: 2;
                        display: flex;
                        align-items: center;
                        gap: 8px;
                    }

                    .video-overlay-label span {
                        font-family: 'Manrope', sans-serif;
                        font-size: 0.85rem;
                        font-weight: 600;
                        letter-spacing: 0.12em;
                        text-transform: uppercase;
                        color: rgba(255,255,255,0.9);
                        text-shadow: 0 1px 4px rgba(0,0,0,0.4);
                    }

                    /* Hover state on wrapper */
                    .video-wrapper:hover .video-overlay-bg {
                        opacity: 0.85;
                    }
/***************** DERM. CLINICA CONTACTO *********************/

.der-clinica-contacto{
    background: url(../img/banner-12.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
}

.der-clinica-contacto .container{
    padding: 120px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.der-clinica-contacto .container div:nth-child(1){
    padding-right: 65px;
}

.der-clinica-contacto h3 span{
/*    color: #1a1d29;*/
}

.der-clinica-contacto .container div img{
    max-width: 550px;
    border-radius: 25px;
}

.der-clinica-contacto p{
    font-size: 1.8em;
    max-width: 850px;
    margin: 25px auto 45px auto;
}


/************************************************************************************************/
/******************************************** DERMATOLOGIA ONCOLOGICA ***********************************************/
/*************************************************************************************************/

/***************** DERM. CLINICA INICIO *********************/
.der-oncologica-inicio {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.der-oncologica-inicio h3{
    max-width: 750px;
}

.der-oncologica-inicio .container {
    display: flex;
    flex-direction: row-reverse;
    align-content: center;
    justify-content: space-between;
    gap: 80px;
    padding: 80px 0 100px 0;
}

.der-oncologica-inicio p{
    font-size: 1.7em;
    max-width: 800px;
    line-height: 1.7;
    max-width: 650px;
}

.der-oncologica-inicio p span{
    font-weight: 500;
    font-style: italic;
}

.der-oncologica-inicio img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.der-oncologica-inicio .ctas{
}

.der-oncologica-inicio .datos{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap:120px;
    margin: 25px auto;
}

.der-oncologica-inicio .datos div{
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: .9em;
}

.der-oncologica-inicio .datos span:nth-child(1){
    font-family: "DM Serif Display", serif;
    font-size: 4.2em;
    font-style: italic;
    font-weight: 500;
    color: #b45853eb;
}

.der-oncologica-inicio .datos span:nth-child(2){
    font-family: "Inter";
    font-size: 1.5em;
    font-weight: 500;
    color: #454547;
    margin-top: -15px;
}

.der-oncologica-inicio .datos img{
    max-width: 60px;
    position: relative;
}
/*

.der-clinica-inicio .img-clinica-div:after{
    background: red;
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
}
*/

/***************** DERM. CLINICA AFECCIONES *********************/
.der-oncologica-afecciones{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 100px 0;
    background: url(../img/banner-12.jpg);
    position: relative;
}

.der-oncologica-afecciones .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.der-oncologica-afecciones .container .header{
    text-align: center;
    margin-bottom: 20px;
}

.der-oncologica-afecciones .container .contenido{
   display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Esto es lo que necesitas */
    justify-content: flex-start;
    width: 100%;
    gap: 25px;
    text-align: center;
}
.der-oncologica-afecciones .container .contenido > div {
    /* Mantenemos estas propiedades que ya tenías */
    width: calc(33.33% - 20px);
    display: flex;
    flex-direction: column; /* Hace que el contenido se apile verticalmente */
    gap: 10px;
    box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 25px;
    border-radius: 10px;
    background: white;
}

.der-oncologica-afecciones .container .contenido > div .info {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
}

.der-oncologica-afecciones .container .contenido>div h4{
    text-align: left;
    font-size: 1.8em;
    color: #b45853eb;
    margin-bottom: 15px;
}

.der-oncologica-afecciones .container .contenido > div .info p {
    flex-grow: 1; 
    text-align: left;
    font-size: 1.6em;
    margin-bottom: 5px;
}

.der-oncologica-afecciones .container .contenido > div .info .cta-bordo {
    /* Empuja el botón hacia la parte inferior del contenedor */
    margin-top: auto;
}

.cta-turnos{
    border-top: 1px solid #b45853eb;
    text-align: right;
    padding-top: 15px;
}

.cta-turnos a{
    font-size: 1.5em;
    font-weight: 600;
    text-decoration: none;
/*    padding: 10px 5px 0 0;*/
/*    display: block;*/
    color: #b45853eb;
}

/*
.der-oncologica-afecciones .container .contenido>div p{
    text-align: left;
    font-size: 1.6em;
}
*/

.der-oncologica-afecciones .container i {
    background: #ffeaea;       /* color de fondo del círculo */
    color: #2d2a2a;           /* color del ícono */
    color: #b45853eb;
    font-size: 3.5em;           /* tamaño del ícono */
    width: 60px;              /* ancho fijo del círculo */
    height: 60px;             /* alto fijo del círculo */
    display: flex;            /* para centrar el ícono */
    align-items: center;
    justify-content: center;
    border-radius: 50%;       /* círculo perfecto */
    margin: 0 auto 10px;      /* centrado horizontal y espacio abajo */
}


.der-oncologica-afecciones .container .contenido>div>div img{
    width: 100%;
    max-height: 255px;
    min-height: 255px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
}

.der-oncologica-afecciones .container .contenido>div:nth-of-type(1)>div img{
/*    object-position: 0 -140px;*/
}

.der-oncologica-afecciones .container .contenido>div:nth-of-type(3)>div img{
}


.der-oncologica-afecciones .container .contenido>div>div:nth-child(1){
    position: relative;
}

.der-oncologica-afecciones .container .contenido>div>div:nth-child(1)::after{
    content: " ";
    border-radius: 10px;
    height: 100%;
    width: 100%;
    left: 0;
    position: absolute;
    max-height: 255px;
    min-height: 255px;
    background: #2d1b1b7a;
    opacity: 0.3;
}


.der-oncologica-afecciones .container  .contenido>div:nth-child(8) img{
    object-fit: cover;
    object-position: top;
    object-position: 0 -10px;
    position: relative;
}


.der-oncologica-afecciones .ctas{
    margin-top: 35px;
}

.der-oncologica-afecciones .scroll-down {
  position: absolute;
  top: 50%; right:-20px;
  transform: translate(50%,-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.der-oncologica-afecciones .scroll-down .text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2.7em;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #333;
    font-family: "Inter";
    font-weight: 700;
}

.der-oncologica-afecciones .scroll-down .line {
  position: relative;
  width: 1px;
  height: 100px;
  background-color: #333;
}

.der-oncologica-afecciones .scroll-down .dot {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: #b45853eb;
  border-radius: 50%;
  opacity: 0;
  animation: dotMove 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes dotMove {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
  100% {
    top: 100%;
  }
}

/*
.der-oncologica-afecciones .outro{
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.der-oncologica-afecciones .outro p{
    max-width: 550px;
    font-size: 1.8em;
    font-weight: 500;
    margin: 45px auto 25px auto;
    text-align: center;
    max-width: 850px;
}

.der-oncologica-afecciones .outro .cta-texto{
    color: #b45853eb;
    font-weight: 600;
}
*/

/***************** DERM. CLINICA MODALIDAD *********************/
.der-oncologica-modalidad{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0;
}

.der-oncologica-modalidad header{
    text-align: center;
}

.der-oncologica-modalidad .container {
    flex-direction: row;
    justify-content: space-between;
}

.der-oncologica-modalidad .owl-carousel .owl-stage-outer{
    padding: 0 0 45px 0;
}

/* 🔹 Cajas iguales */
.der-oncologica-modalidad .owl-stage {
    display: flex;
}
.der-oncologica-modalidad .owl-item {
    display: flex;
}
.der-oncologica-modalidad .owl-item .card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

/* 🔹 Estilo tarjetas */
.der-oncologica-modalidad .container .card {
    background: white;
    box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em,
                rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 25px;
    border-radius: 10px;
    margin: 10px 5px;
    text-align: left;
}

/* 🔹 Íconos */
.der-oncologica-modalidad .container .card i {
    flex: 0 0 auto;
    background: #ffeaea;
    color: #2a2623;
    font-size: 3em;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    width: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* 🔹 Títulos */
.der-oncologica-modalidad .container .card h4 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #b45853eb;
}

/* 🔹 Párrafos */
.der-oncologica-modalidad .container .card p {
    font-size: 1.6em;
}

/* 🔹 Flechas fuera del contenedor */
.der-oncologica-modalidad .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    font-size: 2.5em;
    font-weight: 700!important;
}

.der-oncologica-modalidad .owl-nav button {
    border-radius: 50%;
    border: 1px solid #ddd;
    width: 55px;
    height: 55px;
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    pointer-events: all;
    transition: all 0.3s ease;
    background: #f5f5f5!important;
}

.der-oncologica-modalidad .owl-nav button:hover {
    background: #ffeaea;
    color: #000;
}

/* 🔹 mover flechas más afuera */
.der-oncologica-modalidad .owl-nav .owl-prev {
    position: absolute;
    left: -70px;
    border-radius: 100%;    
}

.der-oncologica-modalidad .owl-nav .owl-next {
    position: absolute;
    right: -70px;
    border-radius: 100%;    
}

.items-der-oncologica{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crea dos columnas de igual ancho */
    gap: 40px; /* Espacio entre las filas y columnas */
    max-width: 600px;
    margin: 35px 0 35px 0;
}

.items-der-oncologica>div{
    align-items:center;
    display: flex;
    flex-direction: row;
    gap:15px;
/*    width: 250px;*/
/*    justify-content: space-between;*/

}

.items-der-oncologica>div i{
    background: #ffeaea;
    color: #2a2623;
    font-size: 2.2em;
    padding: 10px;
    border-radius: 100%;
}
.items-der-oncologica>div div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.items-der-oncologica>div div h3{
    font-size: 1.5em;
    font-weight: 500;
}

.items-der-oncologica>div div p{
    font-size: 1.2em;
    margin-bottom: 0;
}

/***************** DERM. CLINICA CONTACTO *********************/

.der-oncologica-contacto{
    background: url(../img/banner-13.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.der-oncologica-contacto .container{
    padding: 120px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.der-oncologica-contacto .container div:nth-child(1){
    padding-right: 65px;
}

.der-oncologica-contacto h3 span{
/*    color: #1a1d29;*/
}

.der-oncologica-contacto .container div img{
    max-width: 550px;
    border-radius: 25px;
}

.der-oncologica-contacto p{
    font-size: 1.8em;
    max-width: 850px;
    margin: 25px auto 45px auto;
}


/************************************************************************************************/
/******************************************** DERMATOLOGIA ESTETICA ***********************************************/
/*************************************************************************************************/

/***************** DERM. CLINICA INICIO *********************/
.med-estetica-inicio {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.med-estetica-inicio h3{
    max-width: 750px;
}

.med-estetica-inicio .container {
    display: flex;
    flex-direction: row-reverse;
    align-content: center;
    justify-content: space-between;
    gap: 80px;
    padding: 80px 0 100px 0;
}

.med-estetica-inicio p{
    font-size: 1.7em;
    max-width: 800px;
    line-height: 1.7;
    max-width: 650px;
}

.med-estetica-inicio p span{
    font-weight: 500;
    font-style: italic;
}

.med-estetica-inicio img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}


.med-estetica-inicio .datos{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap:120px;
    margin: 25px auto;
}

.med-estetica-inicio .datos div{
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: .9em;
}

.med-estetica-inicio .datos span:nth-child(1){
    font-family: "DM Serif Display", serif;
    font-size: 4.2em;
    font-style: italic;
    font-weight: 500;
    color: #b45853eb;
}

.med-estetica-inicio .datos span:nth-child(2){
    font-family: "Inter";
    font-size: 1.5em;
    font-weight: 500;
    color: #454547;
    margin-top: -15px;
}

.med-estetica-inicio .datos img{
    max-width: 60px;
    position: relative;
}
/*

.med-estetica-inicio .img-clinica-div:after{
    background: red;
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
}
*/

#gal_carrusel_antes_despues .owl-dots{
    padding-top: 20px;
}

/***************** DERM. CLINICA AFECCIONES *********************/
.med-estetica-procedimientos{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background: url(../img/banner-13.jpg);
    position: relative;
}

.med-estetica-procedimientos .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.med-estetica-procedimientos .container .header{
    text-align: center;
    margin-bottom: 20px;
}

.med-estetica-procedimientos .container .contenido{
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en múltiples filas */
    justify-content: flex-start; /* Distribuye el espacio entre los elementos en cada fila */
    width: 100%;
    gap: 20px; /* This creates both horizontal and vertical spacing */
    text-align: center;
}

.med-estetica-procedimientos .container .contenido>div{
    width: calc(50% - 20px); /* Un ancho base para que solo 3 elementos quepan */
    margin-bottom: 20px; /* Agrega espacio entre las filas */
    display: flex;
    flex-direction: column;
    gap:10px;
        box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 25px;
    border-radius: 10px;
    background: white;
}


.med-estetica-procedimientos .container .contenido>div .info{
    padding: 10px;
}

.med-estetica-procedimientos .container .contenido>div .info ul li{
    font-size: 1.5em;
    text-align: left;
    padding: 0 0 5px 0;
    font-weight: 550;
}

.med-estetica-procedimientos .container .contenido>div .info ul {
  list-style: none;
}

.med-estetica-procedimientos .container .contenido>div .info ul li:before {
  content: '✓';
    padding-right: 10px;
    font-weight: 600;
    color: #4caf50;
}

.med-estetica-procedimientos .container .contenido>div h4{
    text-align: left;
    font-size: 1.8em;
/*    color: #343439;*/
    color: #b45853eb;
    margin-bottom: 15px;
}

.med-estetica-procedimientos .container .contenido>div p{
    text-align: left;
    font-size: 1.6em;
}

.med-estetica-procedimientos .container i {
    background: #ffeaea;       /* color de fondo del círculo */
    color: #2d2a2a;           /* color del ícono */
    color: #b45853eb;
    font-size: 3.5em;           /* tamaño del ícono */
    width: 60px;              /* ancho fijo del círculo */
    height: 60px;             /* alto fijo del círculo */
    display: flex;            /* para centrar el ícono */
    align-items: center;
    justify-content: center;
    border-radius: 50%;       /* círculo perfecto */
    margin: 0 auto 10px;      /* centrado horizontal y espacio abajo */
}


.med-estetica-procedimientos .container .contenido>div>div img{
    width: 100%;
    max-height: 255px;
    min-height: 255px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
}

.med-estetica-procedimientos .container .contenido>div>div:nth-child(1){
    position: relative;
}

.med-estetica-procedimientos .container .contenido>div>div:nth-child(1)::after{
    content: " ";
    border-radius: 10px;
    height: 100%;
    width: 100%;
    left: 0;
    position: absolute;
    max-height: 255px;
    min-height: 255px;
    background: #2d1b1b7a;
    opacity: 0.3;
}


.med-estetica-procedimientos .container  .contenido>div:nth-child(8) img{
    object-fit: cover;
    object-position: top;
    object-position: 0 -10px;
    position: relative;
}



.med-estetica-procedimientos .ctas{
    margin-top: 25px;
}

.med-estetica-procedimientos .scroll-down {
  position: absolute;
  top: 50%; right:-20px;
  transform: translate(50%,-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.med-estetica-procedimientos .scroll-down .text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2.7em;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #333;
    font-family: "Inter";
    font-weight: 700;
}
.med-estetica-procedimientos .scroll-down .line {
  position: relative;
  width: 1px;
  height: 100px;
  background-color: #333;
}

.med-estetica-procedimientos .scroll-down .dot {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: #b45853eb;
  border-radius: 50%;
  opacity: 0;
  animation: dotMove 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes dotMove {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
  100% {
    top: 100%;
  }
}


/************** MED-ESTETICA ANTES Y DESPUES **************************/
.med-estetica-antes-despues {
    padding: 100px 0;
}

.med-estetica-antes-despues .header{
    justify-content: center;
    text-align: center;
}
#gal_carrusel_antes_despues .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    font-size: 2.5em;
    font-weight: 700!important;
}

#gal_carrusel_antes_despues .owl-nav button {
    border-radius: 50%;
    border: 1px solid #ddd;
    width: 55px;
    height: 55px;
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    pointer-events: all;
    transition: all 0.3s ease;
    background: #f5f5f5!important;
}

#gal_carrusel_antes_despues .owl-nav button:hover{
    background: #ffeaea !important;
}

#gal_carrusel_antes_despues .owl-nav button i{
    font-size: .5em;
    font-weight: 600;
}

#gal_carrusel_antes_despues .owl-nav button:hover {
    background: #ffeaea;
    color: #000;
}

/* 🔹 mover flechas más afuera */
#gal_carrusel_antes_despues .owl-nav .owl-prev {
    position: absolute;
    left: -70px;
    border-radius: 100%;    
}

#gal_carrusel_antes_despues .owl-nav .owl-next {
    position: absolute;
    right: -70px;
    border-radius: 100%;    
}

/* Contenedor principal para centrar el carrusel */
#gal_carrusel_antes_despues {
    max-width: 1350px;
    margin: 40px auto;
    padding: 0; /* Quitamos el padding del contenedor principal para que las flechas se vean bien */
}

/* Contenedor de cada slide (par de Antes/Después) */
.gal_slide_item {
    margin: 0 10px; /* Espacio entre los slides (opcional, ajusta si quieres más o menos separación) */
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Contenedor que agrupa las dos imágenes (Flexbox) */
.gal_contenedor_imagenes {
    display: flex;
    flex-wrap: nowrap; /* Mantenemos las imágenes juntas */
    width: 100%;
    gap:10px;
}

/* Contenedor de cada imagen (ANTES o DESPUÉS) - 50% de ancho */
.gal_elemento {
    flex: 1 1 50%; 
    overflow: hidden;
    position: relative;
    cursor: default; /* Quitamos el cursor pointer */
}

/* Estilo de la imagen */
.gal_imagen {
    display: block;
    width: 100%;
    max-height: 500px; /* Altura fija para la consistencia del carrusel */
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Efecto al pasar el ratón (opcional) */
.gal_elemento:hover .gal_imagen {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Estilo de la etiqueta ANTES/DESPUÉS */
.gal_etiqueta {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #b45853c7;
    background-color: #b45853c7;

    font-family: system-ui;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.7em;;
    font-weight: 500;
    z-index: 5;
}

.gal_etiqueta2 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #2b2b2bc7;
    font-family: system-ui;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.5em;;
    font-weight: 450;
    z-index: 5;
}


/* Estilo de la descripción */
.gal_descripcion {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    color: #333;
    text-align: center;
    background-color: #f9f9f9;
}


/************** MED-ESTEITCA-FAQ **************************/
.med-estetica-faq{
    background: white;
    background: url(../img/banner-18.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.med-estetica-faq .container{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
}


.med-estetica-faq .titulos{
    text-align: center;
}

.med-estetica-faq .pre-titulo{
    background: #f4f5f0;
}

.med-estetica-faq .titulo{
    text-align: center;
/*    margin-bottom: 35px;*/
    color: white;
    margin: 0 auto 35px auto;
    max-width: 510px;
}

.med-estetica-faq .faq-section {
    font-size: 1em;
    width: 100%;
    max-width: 768px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-family: "Inter", sans-serif;
    background: #fffffff5;
    padding: 25px;
    border-radius: 15px;
}

.med-estetica-faq .faq-item {
    border-bottom: 1px solid #ccc;
    padding: 30px 35px 30px 30px;
/*    margin: 15px auto;*/
}

.med-estetica-faq .faq-question {
  font-weight: 600;
  cursor: pointer;
  position: relative;
    color: #2d2a2a;
    font-size: 2em;

}

.med-estetica-faq .faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.med-estetica-faq .faq-item.active .faq-question {
    color: #b45853eb;
}

.med-estetica-faq .faq-item.active .faq-question::after {
  content: "−";
}

.med-estetica-faq .faq-answer {
  display: none;
  margin-top: 10px;
  color: #444;
  font-size: 1.6em;
    font-weight: 400;
    padding-left: 25px;
}


.med-estetica-faq .ctas{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.med-estetica-faq .ctas a{
    min-width: 240px;
}

/***************** DERM. CLINICA MODALIDAD *********************/
.med-estetica-modalidad{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0;
}

.med-estetica-modalidad header{
    text-align: center;
}

.med-estetica-modalidad .container{
/*    display: flex;*/
/*    flex-direction: row;*/
    justify-content: space-between;
/*    margin: 45px 0 0 0;*/
    gap:90px;
}

.med-estetica-modalidad .container .card{
    background: white;
    box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 25px;
    border-radius: 10px;
    flex: 1;
}

.med-estetica-modalidad .container .card i{    
    flex: 0 0 auto;              /* <- evita que se estire */
    background: #ffeaea;         /* rosa suave */
    color: #2a2623;              /* rosa intenso */
    font-size: 3em;            /* tamaño del ícono */
    padding: 10px;
    border-radius: 50%;
    display: flex;
    justify-self: flex-start;
    width: 55px;                 /* ancho fijo del círculo */
    height: 55px;                /* alto fijo del círculo */
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.med-estetica-modalidad .container .card h4{
    font-size: 1.8em;
    margin-bottom: 15px;
}

.med-estetica-modalidad .container .card p{
    font-size: 1.6em;
}


/***************** DERM. CLINICA CONTACTO *********************/

.med-estetica-contacto{
    background: url(../img/banner-12.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
}

.med-estetica-contacto .container{
    padding: 120px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.med-estetica-contacto .container div:nth-child(1){
    padding-right: 65px;
}

.med-estetica-contacto h3 span{
/*    color: #1a1d29;*/
}

.med-estetica-contacto .container div img{
    max-width: 550px;
    border-radius: 25px;
}

.med-estetica-contacto p{
    font-size: 1.8em;
    max-width: 850px;
    margin: 25px auto 45px auto;
}

/************************************************************************************************/
/******************************************** TURNOS Y CONSULTAS ***********************************************/
/*************************************************************************************************/

/***************** TURNOS INICIO *********************/
.turnos-inicio {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.turnos-inicio .container .contenido{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    gap: 80px;
    padding: 80px 0 100px 0;
}

.turnos-inicio p{
    font-size: 1.7em;
    max-width: 800px;
    line-height: 1.7;
}

.turnos-inicio p span{
    font-weight: 500;
    font-style: italic;
}

.turnos-inicio .mapa{
    width: 100%;
    height: auto;
    max-width: 480px;
}

.turnos-inicio .container .contenido div ul{
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
    border-left: 2px solid #b45853eb;
    margin-left: 20px;
    position: relative;
    margin-top: 40px;
/*    max-height: 3px;*/
/*    min-height: 290px;*/
    
}

.turnos-inicio .container .contenido div ul li{
    padding-top: 6px;
    padding-left: 45px;
    padding-bottom: 35px;
    position: relative;
    z-index: 8;
/*
    display: flex;
    flex-direction: row;
    align-items: flex-start;
*/
}

.turnos-inicio .container .contenido div ul li .paso-numero{
    position: absolute;
    left: -22px;
    height: 40px;
    width: 40px;
    background: #b45853;
    color: white;
    font-size: 1.6em;
    text-align: center;
    line-height: 40px;
    font-weight: 800;
    border-radius: 50%;
    z-index: 8;
    margin-top: -14px;
}

.turnos-inicio .container .contenido div ul li:nth-child(3):after{
    content: " ";
    height: 100%;
    position: absolute;
    width: 8px;
    background: white;
    left: 0;
    bottom: 0;
    left: -5px;
    z-index: 7;
}

.turnos-inicio .container .contenido div h4{
    font-size: 2em;
    margin-top: -7px;
    font-weight: 600;
    color: #b45853;
    margin-bottom: 5px;
}

.turnos-inicio .mapa iframe{
    max-width: 480px;
    border-radius: 15px;
}

.turnos-inicio .ctas a{
    align-items: center;
    display: flex;
    justify-content: center;
}

.turnos-inicio .ctas a i{
    font-size: 1.5em;
    padding-left: 7px;
}

.turnos-inicio .ctas a{
    font-size: 1.7em;
}
/*

.sobre-mi-inicio .ctas{
    justify-self: flex-end;
}

.sobre-mi-inicio .datos{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap:120px;
    margin: 25px auto;
}

.sobre-mi-inicio .datos div{
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: .9em;
}

.sobre-mi-inicio .datos span:nth-child(1){
    font-family: "DM Serif Display", serif;
    font-size: 4.2em;
    font-style: italic;
    font-weight: 500;
    color: #b45853eb;
}

.sobre-mi-inicio .datos span:nth-child(2){
    font-family: "Inter";
    font-size: 1.5em;
    font-weight: 500;
    color: #454547;
    margin-top: -15px;
}

.sobre-mi-inicio .datos img{
    max-width: 60px;
}
*/

/***************** FOOTER *******************/
  .footer-principal {
    background-color: #636564;
    color: white;
    padding: 40px 0 20px 0;;
  }

  .footer-contenedor {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
  }

  .footer-bloque {
    flex: 1 1 200px;
  }
  
    .footer-about img{
        max-width: 150px;
        margin-bottom: 15px;
    }
 
  .footer-titulo {
    color: #fed9d8;
    font-size: 1.6em;
    margin-bottom: 18px;;
    font-weight: 500;
  }

  .footer-texto {
    color: var(--footer-texto-sec);
    line-height: 1.5;
      max-width: 200px;
      font-size: 1.4em;
  }

    .footer-redes{
        gap:10px;
        display: flex;
    }

  .footer-redes a {
    color: var(--footer-texto-sec);
    margin-right: 5px;
    font-size: 2em;
    transition: color 0.3s;
  }

  .footer-redes a:hover {
    color: var(--footer-acento);
  }

  .footer-lista {
    list-style: none;
    padding: 0;
  }

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

  .footer-enlace {
    color: white;
    text-decoration: none;
    font-size: 1.4em;
    transition: color 0.3s;
  }

  .footer-enlace:hover {
    color: #fed9d8;
    }

  .footer-lista-contacto {
    list-style: none;
    padding: 0;
      gap:15px;
      display: flex;
      flex-direction: column;
  }

  .footer-lista-contacto li {
    display: flex;
    align-items: center;
      color: white!important;
      font-size: 1.4em;
}

.footer-lista-contacto li a{
    color: white!important;
}

.footer-lista-contacto li i{
    margin-right: 10px;
}
    

  .footer-form {
    display: flex;
    margin-bottom: 1em;
  }

  .footer-input {
    flex: 1;
    padding: 0.5em;
    border: none;
    border-radius: 4px 0 0 4px;
  }

  .footer-boton {
    padding: 0 1em;
    background-color: var(--footer-acento);
    border: none;
    border-radius: 0 4px 4px 0;
    color: var(--footer-texto);
    cursor: pointer;
  }

  .footer-scroll-top {
    background: none;
    border: none;
    color: var(--footer-acento);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
  }

  .footer-scroll-top:hover {
    transform: scale(1.2);
  }

  .footer-copyright {
    text-align: center;
    margin-top: 15px;
      padding-top: 25px;
      border-top: 1px solid #ffffff40;
  }

.footer-copyright p{
    font-size: 1.4em;
    color: white;
}


/**************************** MOBILE *********************************/
/**************************** MOBILE *********************************/
/**************************** MOBILE *********************************/

@media (max-width: 1600px){
    .container{
        max-width: 75%;
        width: 75%;
    }
}



@media (max-width: 1440px){
    body{
        font-size: .93em;
    }
    
    
    .home-sobre-mi,.home-consultorio, .home-faq, .home-testimonio, .home-contacto, .sobre-mi-inicio .container, .sobre-mi-formacion, .sobre-mi-experiencia, .sobre-mi-consultorio .container, .der-clinica-inicio .container, .der-clinica-afecciones, .der-oncologica-modalidad, .der-clinica-contacto .container{
        padding: 80px 0;
    }
    
    
    .container{
        max-width: 75%;
        width: 75%;
    }
    
    .home-inicio h1{
        max-width: 650px;
        font-size: 6.2em;
    }
}

@media (max-width: 1350px) { 
    .container{
        max-width: 80%;
        width: 80%;
    }
    
    .header-principal nav ul li{
        padding: 0 10px;
    }
    
    .header-principal img{
        max-width: 130px;
    }
    
    
    .home-inicio h1{
        font-size: 5.8em;
    }
    
    .home-inicio p{
        font-size: 2em;
    }
    
    .sobre-mi-experiencia img{
        min-height: 300px;
    }
    
}

@media (max-width: 1200px) { 
    .container{
        max-width: 80%;
        width: 80%;
    }
    
    .home-sobre-mi img{
        max-width: 100%;
    }
    
    .sobre-mi-inicio, .sobre-mi-experiencia, .sobre-mi-consultorio{
        height: auto;
    }
}


@media (max-width: 1080px) {
    .container {
        max-width: 80%;
        width: 80%;
    }

    .cta-agendar-header {
        display: none;
    }

    .titulo{
        font-size: 4.3em;
    }
    
    .alt.scrolled nav ul li{
        border-right: none;
    }
    
    .header-principal nav ul li a{
        color: #343439;
    }
    
    .alt nav ul li{
        border-right: 0;
    }
    
    .header-principal nav ul li .active-nav{
        color: #b45853eb;
    }
    
    .header-principal nav ul li a.active-nav-home{
        color: #b45853eb;
    }
    
    .menu-cierre-toggle:active, .header-principal nav ul li a:active{
        color: #b45853eb;
    }
    /******************************************************************/
    /***************************** HEADER *************************/
    /******************************************************************/
    
    .header-principal{
        background: white;
        padding: 15px 0;
    }

    .header-principal .container {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }

    .menu-cierre-toggle {
        color: #343439;
        cursor: pointer;
        display: block;
        font-size: 1.5em;
        position: absolute;
        right: 15px;
        top: 15px;
        z-index: 10000;
    }
    
    .menu-hamburguesa-toggle {
        color: #343439;
        cursor: pointer;
        display: block;
        font-size: 2.5em;
        order: 1; 
    }

    .menu-overlay {
        align-items: flex-start;
        background-color: white;
        display: flex;
        flex-direction: column;
        height: 100%;
        max-width: 210px;
        padding-top: 60px;
        position: fixed;
        right: 0;
        top: 0;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        width: 70%;
        z-index: 9999;
        box-shadow: rgb(67 71 85 / 17%) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    }

    .menu-overlay.open {
        transform: translateX(0);
    }

    .header-principal nav ul {
        flex-direction: column;
        padding: 0 20px;
        width: 100%;
    }

    .header-principal nav ul li {
        border-bottom: 1px solid #eee;
        font-size: 1.5em;
        padding: 10px 0;
        width: 100%;
    }
    
    .header-principal nav ul li a{
/*        color: #343439;*/
        display: block;
        padding: 5px 0;
        text-decoration: none;
    }
    
    .header-principal.scrolled ul li{
        border-right: none;
    }



    /******************************************************************/
    /************************** HOME 1080 *************************/
    /******************************************************************/

    .home-inicio{
        background-position: -455px center;
        background-size: cover;
        background-position: center;
    }
    
    .home-inicio::after{
        content: " ";
        background: black;
        height: 100vh;
        width: 100%;
        position: absolute;
        opacity: 0.4;
    }
    
    .home-inicio .contenido{
        z-index: 100;
    }
    
    .home-sobre-mi{
        justify-content: center;
        text-align: center;
        justify-self: center;
    }
    
    .home-sobre-mi .titulo{
        max-width: 500px;
        justify-self: center;
    }
    
    .home-sobre-mi .container{
        flex-direction: column;
    }
    
    .home-sobre-mi img{
        max-width: 650px;
        width: 100%;
        object-position: top;
        margin: 25px 0;
        display: block;
        max-height: 350px;
        object-fit: cover;
    }
    
    .home-sobre-mi p{
        text-align: left;
    }
    
    .items-sobre-mi{
        justify-self: center;
        text-align: left;
    }
    
    .home-sobre-mi .ctas{
/*        flex-direction: column;*/
/*        max-width: fit-content; */
        justify-self: center;
    }
    
    .home-consultorio .contenido{
        flex-direction: column;
        justify-self: center;
    }
    
    .home-consultorio .contenido .servicio{
        max-width: 500px;
    }

    .home-consultorio .contenido .servicio a{
        justify-self: flex-end;
    }
    
    .home-contacto .container div:nth-child(1){
        padding-right: 0;
    }
    
    /******************************************************************/
    /*********************** SOBRE-MI 1080 *************************/
    /******************************************************************/
    .sobre-mi-inicio, .sobre-mi-experiencia, .sobre-mi-consultorio{
        position: relative;
        z-index: 101;
        height: auto;
    }
    
    .sobre-mi-experiencia img{
/*        min-height: auto;*/
        max-height: auto;
    }
    
    .sobre-mi-formacion .container .contenido>div{
        width: calc(50% - 20px)
    }
 
    .sobre-mi-inicio img{
        width: 100%;
        max-width: 400px;
        max-height: 350px;
        object-fit: cover;
        object-position: top;
        margin: 25px auto;
    }
        
    .sobre-mi-formacion .container .contenido{
        gap:0;
    }
    
    .sobre-mi-equipo-img{
        margin: 25px auto;
    }
    
    /******************************************************************/
    /************** DERMATOLOGIA CLINICA 1080 *************************/
    /******************************************************************/
    .der-clinica-afecciones .container .contenido>div{
        width: calc(50% - 20px);
    }
    
    .der-clinica-inicio img{
        max-width: 650px;
        width: 100%;
        object-position: top;
        margin: 25px 0;
        display: block;
        max-height: 350px;
        object-fit: cover;
    }
    
    .der-clinica-contacto .container div:nth-child(1){
        padding-right: 0;
    }

    /******************************************************************/
    /************** DERMATOLOGIA ONCOLOGICA 1080 *************************/
    /******************************************************************/
    .der-oncologica-afecciones .container .contenido>div{
        width: calc(50% - 20px);
    }
    
    .der-oncologica-inicio-img img{
        max-width: 650px;
        width: 100%;
        object-position: top;
        margin: 25px 0;
        display: block;
        max-height: 350px;
        object-fit: cover;
    }
    
    .der-oncologica-contacto .container div:nth-child(1){
        padding-right: 0;
    }
    
    .der-oncologica-afecciones .container .contenido>div:nth-of-type(1)>div img{
        object-position: center;
    }
    
    /******************************************************************/
    /************** MED ESTETICA *************************/
    /******************************************************************/
    .med-estetica-inicio img{
        max-width: 650px;
        width: 100%;
        object-position: center;
        margin: 25px 0;
        display: block;
        max-height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .cta-transparente, .cta-transparente-blanco, .cta-blanco, .cta-bordo, .cta-gris, .cta-rosa{
        padding: 11px 25px;
    }
    
    .der-oncologica-afecciones .container .contenido>div h4, .der-clinica-afecciones .container .contenido>div h4, .med-estetica-procedimientos .container .contenido>div h4{
        font-size: 2em;
    }
    
    .ctas{
        flex-direction: column;
        gap:12px;
/*        max-width: 320px;*/
/*        justify-self: center;*/
    }
    
    .banner{
        padding: 120px 0 40px 0;
        font-size: 3.5em;
    }
    
    .container{
        max-width: 90%;
        width: 90%;
    }
    
    .desktop{
        display: none;
    }
    
    .mobile{
        display: block;
    }
    
    .home-inicio{
        background-position: center;
        align-items: self-end;
        background: url(../img/bg-3-mobile.jpg);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .home-inicio .container{
        padding-bottom:65px; 
    }
    
    .home-inicio h1{
        font-size: 4.3em;
    }
    
    .home-sobre-mi .titulo{
        max-width: 100%;
    }
    
    .home-sobre-mi img{
        max-height: 300px;
    }
    
    .home-sobre-mi .ctas{
        flex-direction: column;
        justify-self: inherit;
    }
    
    .home-sobre-mi .cta-transparente{
        border: 1px solid #4F4F4F;
    }
    
    .home-consultorio .outro p{
        font-size: 1.9em;
    }
    
    .home-faq .ctas{
        flex-direction: column;
        justify-self: inherit;
    }
    
    .home-faq .faq-answer{
        padding-left: 0;
    }
    
    .home-faq .faq-item{
        padding: 30px 15px 30px 10px;
    }
    
    .home-testimonio .titulo{
        text-align: center;
    }
    
    .home-testimonio .titulos{
        max-width: 90%;
        justify-self: center;
    }
    
    .home-testimonio .marquee-inner{
        animation: marqueeScroll 10s 
        linear infinite;
    }
    
    .home-testimonio .marquee-row:nth-child(2){
        display: none;
    }
    

    
    .home-contacto .container div img{
        max-width: 100%;
        width: 100%;
        max-height: 300px;
        object-fit: cover;
    }
    
    
    
    /******************************************************************/
    /************** SOBRE MI 768 *************************/
    /******************************************************************/
    .banner-sobre-mi{
/*        background-position:right -180px;*/
    }
    
    .sobre-mi-formacion .container .contenido>div{
        width: 100%;
    }

    .sobre-mi-formacion .scroll-down{
        z-index: 99;
        position: fixed;
        right: 0;
/*        left: 0;*/
        font-size: .6em;
/*        opacity: 0.5;*/
    }
    
    .sobre-mi-formacion .scroll-down .line{
        height: 45px;
    }
    
    .sobre-mi-formacion .scroll-down .dot{
        width: 9px;
        height: 9px;
    }
    
    .sobre-mi-experiencia{
        background: white;
    }
    
    .sobre-mi-experiencia .owl-next{
        right: 0;
    }
    
    .sobre-mi-experiencia .owl-prev{
        left: 0;
    }
    
    .sobre-mi-inicio .datos{
        gap:65px;
    }
    
    .sobre-mi-consultorio .ctas{
        justify-self: inherit;
    }
    
    /******************************************************************/
    /************** DERMATOLOGIA CLINICA 768 *************************/
    /******************************************************************/
    .banner-der-clinica{
        background-position: center -10px;
    }
    
    .der-clinica-inicio{
        position: relative;
        z-index: 100;
    }
    
    .der-clinica-afecciones .scroll-down{
        z-index: 99;
        position: fixed;
        right: 0;
        font-size: .6em;
        transform: none;
    }
    
    .der-clinica-afecciones .container .contenido>div{
        width: calc(100% - 20px);
    }
    
    .der-clinica-afecciones .container .contenido{
        gap:0;
        justify-content: center;
    }
    
    .der-clinica-afecciones .container{
        align-items: stretch;
    }
    
    .der-clinica-afecciones .container .contenido>div:last-child img{
        object-position: center -20px;
    }
    
    /******************************************************************/
    /************** DERMATOLOGIA ONCOLOGICA 768 *************************/
    /******************************************************************/
    .der-oncologica-inicio{
        background: white;
        z-index: 100;
        position: relative;
    }

    .video-onco{
    border-radius: 8px;
    max-width: 100%;
    width: auto;
}
    
    .der-oncologica-inicio img {
        max-width: 650px;
        width: 100%;
        object-position: top;
        margin: 25px 0;
        display: block;
        max-height: 350px;
        object-fit: cover;
    }
    
    .der-oncologica-modalidad{
        z-index: 100;
        position: relative;
        background: white;
    }
    
    .der-clinica-contacto {
        position: relative;
        z-index: 100;
    }
    
    .der-oncologica-afecciones .container{
        align-items: stretch;
    }
    
    .der-oncologica-modalidad .owl-nav{
        top: 81%;
    }
    
    .der-oncologica-modalidad .owl-nav .owl-next{
        right: 0;
    }
    
    .der-oncologica-modalidad .owl-nav .owl-prev{
        left: 0;
    }
    
    .der-clinica-contacto .container div img{
        max-width: 100%;
    }
    
    .der-clinica-contacto .container div:nth-child(1){
        padding-right: 0;
    }
    
    .der-oncologica-afecciones .container .contenido>div{
        width: calc(100% - 20px);
    }
    
    .der-oncologica-afecciones .container .contenido{
        justify-content: center;
    }
    
    .der-oncologica-afecciones .scroll-down{
        z-index: 99;
        position: fixed;
        right: 0;
        transform: none;
        font-size: .6em;
    }
    
    .der-oncologica-afecciones .scroll-down .line{
        height: 45px;
    }
    
    .der-oncologica-afecciones .scroll-down .dot{
        width: 9px;
        height: 9px;
    }
    
    /******************************************************************/
    /************** MEDICINA ESTETICA 768 *************************/
    /******************************************************************/
    .med-estetica-inicio{
        background: white;
        z-index: 100;
        position: relative;
    }
    
    .med-estetica-inicio img{
        max-width: 650px;
        width: 100%;
        object-position: center;
        margin: 25px 0;
        display: block;
        max-height: 350px;
        object-fit: cover;
    }
    
    .med-estetica-procedimientos .container .contenido{
        justify-content: center;
    }
    
    .med-estetica-procedimientos .container .contenido>div{
        width: calc(100% - 20px);
    }
    
    .med-estetica-procedimientos .scroll-down{
        z-index: 99;
        position: fixed;
        right: 0;
        transform: none;
        font-size: .6em;
    }
    
    .med-estetica-procedimientos .scroll-down .line{
        height: 45px;
    }
    
    .med-estetica-procedimientos  .scroll-down .dot{
        width: 9px;
        height: 9px;
    }
    
    .med-estetica-antes-despues{
        background: white;
        position: relative;
        z-index: 100;
    }
    
    #gal_carrusel_antes_despues .owl-nav .owl-prev{
        left: 0;
    }
    
    #gal_carrusel_antes_despues .owl-nav .owl-next{
        right: 0;
    }
    
    
    .turnos-inicio .mapa{
        margin: 25px 0;
        width: 100%;
        max-height: 325px;
        overflow: hidden;
        position: relative;
    }
    
    .turnos-inicio .mapa iframe{
        max-width: 100%;
    }
    
    .footer-principal{
        z-index: 101;
        position: relative;
    }
    
    @media (max-width: 480px) {
        .top-header .container{
            gap:15px;
        }
        
        .top-header .container>div:nth-child(2){
            gap:25px;
        }
        
        .gal_contenedor_imagenes {
            flex-direction: column; /* Apila las imágenes verticalmente en móvil */
        }
        
        .gal_imagen {
            height: auto;
        }
        
        .footer-contenedor{
            gap:25px;
        }
        
        .footer-titulo{
            margin-bottom: 5px;
        }
    }
    
    @media (max-width: 365px) {
        .top-header .container{
            gap:10px;
            flex-direction: column;
            align-items: flex-start;
        }
        
        body{
            font-size: .85em;
        }
        
        /************ HOME*******************/
        .home-inicio h1{
            font-size: 3.9em;
        }
        
        .items-sobre-mi{
            display: flex;
            flex-direction: column;
        }
        
        .home-faq .faq-question{
            font-size: 1.8em;
        }
        
        
        /********** SOBRE MI ***********/
        .sobre-mi-inicio .datos span:nth-child(1){
            font-size: 3.9em;
        }
    }


