/* GENERAL */
@font-face {
    font-family: 'Manrope';
    src: url(/multimedia/Tipografia/Manrope-VariableFont_wght.woff);
}

@font-face {
    font-family: 'Cormorant Garamond' serif;
    src: url(/multimedia/Tipografia/CormorantGaramond-VariableFont_wght.woff);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    font-family: 'Manrope', sans-serif;
    src: url(/multimedia/Tipografia/Manrope-VariableFont_wght.woff);
}

body {
  margin: 0;
  background-color: #fff;
}

ul {
    list-style: none;
}
a {
  text-decoration: none;
}

/* TRANSICIONES */

.aparecer > * {
    opacity: 0;
    transform: translateY(-70px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.aparecer.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* BARRA DE CONFIANZA */
    
.barra {
    min-height: 32px;
    padding: 0 12px;
    background-color: #403A2E;
    color: #F1E9E0;
    overflow: hidden;
    
}

.textobarra {
    display: flex;
    justify-content: space-between;
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
    animation: correr 25s linear infinite;
    padding: 10px;
}

@keyframes correr {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* HEADER */

header {
    background-color: #F1E9E0;
    max-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 100;

    border-bottom: 1px solid #403A2E;
}

header img {
    max-height: 50px;
    flex: 1;
    padding: 0 12px;
}
/* NAV */
nav {
    transition: color 0.3s;
}

nav a:not(.pedirturno):hover {
    color: #899B89;
}
nav ul {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 40px;
    padding: 12px;

}

nav ul li a {
    color: #403A2E;
}

nav.abierto {     display: block; }
.menuhamburguesa {
    display: none;
}

.pedirturno {
    display: inline-block;
    color: #F1E9E0;
    background-color: #7E8D7D;
    padding: 10px 20px;
    border-radius: 999px;
    transition: transform 0.3s ease;
    margin: 10px;
}

.pedirturno:hover {
    transform: scale(1.08);
}

/* BARRA VERDE */
#Home {
background-color: #A9B8A8;
padding: 18px;
box-shadow: inset 0 0 8px #403A2E;
border: 1px solid #403A2E;
}

#Home h1 {
    font-family:'Cormorant Garamond', serif;
    font-weight: 100;
    font-size: 30px;
    color: #403A2E;
}
#Home p {
    color: #403A2E;
    font-weight: 400;
    font-size: 1rem;
}

/* NUESTRO ESPACIO */
#nuestroespacio {
    display: flex;
    width: 100%;
    height: 570px;
}
#nuestroespacio > .espacioinfo {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #F1E9E0;
    padding: 30px;
}

#nuestroespacio .espacioinfo div {
    flex-direction: column;
}

#nuestroespacio .espacioinfo > div {
    color: #403A2E;

    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 200;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;

    background-color: #DEDCD1;
    border-radius: 15px;

    width: 80%;
    max-width: 520px;
    min-width: 320px;

    padding: 30px;

    box-shadow: 0 4px 8px #403A2E;
}

#nuestroespacio .espacioinfo strong {
    display: block;
    text-align: center;
    padding-top: 8px;
}

#nuestroespacio h2 {
    font-family:'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 30px;
    color: #F1E9E0;
    background-color: #7E8D7D;
    display: inline-block;
    border-radius: 100px;
    padding: 10px 25px;
    box-shadow: 0 4px 8px #403A2E;
}

#nuestroespacio a {
    color: #F1E9E0;
    background-color: #7E8D7D;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 8px #403A2E;
}


#nuestroespacio figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CARRUSEL */

#nuestroespacio > .carrusel {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#nuestroespacio .carrusel figure {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;

    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#nuestroespacio .carrusel figure.activa {
    opacity: 1;
}

#nuestroespacio .carrusel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* BARRA 2 */

#barrainformacion {
    max-height: 110px;
    background-color: #F1E9E0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    padding: 20px 0;
    border: 2px solid #5f6f78;
}

#barrainformacion figure {
    flex: 1;
}

#barrainformacion img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

#barrainformacion figcaption p {
    color: #5F6A72;
    font-size: 15px;
    margin: 2px auto 0;
    max-width: 150px;
}

/* EQUIPO DE PROFESIONALES */

#Equipo {
    background-color: #F1E9E0;
    padding: 20px 50px;
    height: 750px;
    background-image: url("../multimedia/Imagenes/vector_home.png");
    background-size: cover;
    background-position: center;
}


#Equipo > h2 {
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif;
    color: #7E8D7D;
    padding: 25px;
    text-align: left;
    font-size: 35px;
    
}

#Equipo > div {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

#Equipo figure {
    flex: 1;
}

#Equipo figure img {
    display: block;
    margin: 0 auto;
    height: 300px;
    width: 300px;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 8px #403A2E;
}

#Equipo figcaption {
    width: 350px;
    margin: 0 auto;
    text-align: left;
    color: #403A2E;
}

#Equipo figcaption h2 {
    font-family:'Cormorant Garamond', serif;
    text-align: left;
    padding: 5px 0;
    font-weight: 100;
    padding-top: 15px;
}

#Equipo figcaption ul {
    list-style-type: "- ";
    padding-left: 20px;
}

.formacion {
    font-weight: 800;
}

.MP {
    padding: 5px 0;
}

/* SECCION UROLOGIA */

#Urología {
    background-color: #F1E9E0;
    padding: 70px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    max-height: 580px;
    background-image: url("../multimedia/Imagenes/vector_uro.png");
    background-size: cover;
}

.parrafos {
    margin: 20px 0;
    width: 700px;
}

#Urología h2 {
    font-family:'Cormorant Garamond', serif;
    text-align: left;
    padding: 5px 0;
    font-weight: 100;
    font-size: 40px;
}


.estudios {
    flex: 2;
    display: flex;
    padding: 10px 0;
}

/* Listas */


.estudios ul {
    flex: 1;
    list-style: none;
    padding: 0;
}

.estudios li {
    height: 38px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #403A2E;
    width: 300px;
}

.estudios li p {
    margin: 0;
    
}

/* Caja de horarios */
.horarios {
     width: 300px;
    max-width: 90vw;

    flex-shrink: 0;

    background-color: #7c7872;
    color: #F1E9E0;

    padding: 30px;
    border-radius: 40px;

    text-align: center;
    font-size: clamp(13px, 1.1vw, 17px);

    box-shadow: 0 4px 8px #403A2E;
}


.horarios h3 {
    font-family:'Cormorant Garamond', serif;
    font-weight: 100;
    padding: 10px;
}

/* SECCION GASTROENTEROLOGIA Y PROCTOLOGIA */

#Gastroenterología {
    background-color: #7E8D7D;
    padding: 70px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    max-height: 580px;
    color: #F1E9E0;

    background-image: url("../multimedia/Imagenes/vector_gastro.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#Gastroenterología .estudios li {
    border-bottom: 1px solid #F1E9E0;
    background-color: #7E8D7D;
}

#Gastroenterología h2 {
    font-family:'Cormorant Garamond', serif;
    text-align: left;
    padding: 5px 0;
    font-weight: 100;
    font-size: 38px;
    background-color: #7E8D7D;
}

#Gastroenterología .horarios {
    color: #403A2E;
    background-color: #F1E9E0;
}

/* =========================
   OBRAS SOCIALES
========================= */

#ObrasSociales {
     background-color: #F1E9E0;
    height: 650px;
    padding: 45px 9%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#ObrasSociales > h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 32px;
    color: #5F6F78;

    text-align: center;
}

#ObrasSociales > p {
    text-align: center;
    color: #5F6F78;
    margin: 5px 0 30px;
}


/* LISTA EN 3 COLUMNAS */

#ObrasSociales ul {
    column-count: 3;
    column-gap: 0;
    margin: 30px;
    list-style-position: inside;
}

#ObrasSociales li {
    height: 38px;
    border-bottom: 1px solid #5F6F78;
    color: #5F6F78;
    break-inside: avoid;
    width: 100%;
}

#ObrasSociales li p {
    display: inline;
    margin: 0;
    line-height: 38px;
}


/* TARJETA PAMI */

#ObrasSociales  div {
    width: 250px;

    background-color: white;
    padding: 12px 15px;

    border-radius: 20px;

    box-shadow: 0 5px 3px #403A2E;
}

#ObrasSociales #tarjeta {
    margin-top: 40px;
    font-size: 14px;
}

#ObrasSociales #PAMI {
    display: inline-block;
    font-weight: bold;
}

#ObrasSociales #descuento {
    display: inline-block;

    background-color: #5F6F78;
    color: white;

    padding: 4px 10px;
    margin-left: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
    font-size: 12px;
}

/* =========================
   HORARIOS
========================= */

#Horarios {
    height: 500px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: #F1E9E0;

    background-image: url("../multimedia/Imagenes/vector_horarios.png");
    background-size: cover;
    background-position: center;

    color: #F1E9E0;
}

#Horarios div {
    background-color: #5F6F78;
    border-radius: 20px;
    padding: 20px;
}

#Horarios h2 {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    padding: 10px;
    font-weight: 100;
    margin-bottom: 10px;
    font-size: 32px;
}

#Horarios p {
    padding: 5px;
    font-weight: 100;
    text-align: center;
    font-size: 17px;
}


 .telefono {
    margin-top: 35px;
}




   

/* =========================
   UBICACIÓN
========================= */

#Ubicacion {
    height: 500px;

    background-color: #F1E9E0;

    padding: 45px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#Ubicacion h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 38px;

    margin: 0 0 25px;

    color: #403A2E;
}

#Ubicacion p {
    margin: 2px 0;
    font-size: 24px;
    font-weight: 100;
    color: #403A2E;
}

#Ubicacion iframe {
    width: 350px;
    height: 350px;
    border-radius: 25px;

    box-shadow: 0 5px 3px #403A2E;
}


/* =========================
   FOOTER
========================= */

footer {
    height: 350px;

    background-color: #403A2E;
    background-image: url("../multimedia/Imagenes/vector_footer.png");
    background-size: cover;

    color: #F1E9E0;
    padding: 30px 6%;
    box-sizing: border-box;

    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 120px;
}


/* LOGO */
footer figure {
    width: 100%;
    margin: 10px 0 ;
}

footer figure img {
    width: 200px;
}


/* LAS DOS COLUMNAS */

.footerinfo {
    width: 35%;
}

.footerinfo ul {
    list-style: none;
}

footer .resaltado {
    font-weight: bold;
    padding: 10px 0;
}

footer p {
    padding: 5px 0;
}

.aparte {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

/* ==================================================
   MENÚ HAMBURGUESA
================================================== */

.menuhamburguesa {
    display: none;
}

header .logo {
    margin-right: auto;
}

.turnoheader {
    margin-right: 12px;
}


/* ==================================================
   TABLET
   Mantiene la estructura de desktop
================================================== */

@media (max-width: 1100px) and (min-width: 769px) {

    /* BARRA SUPERIOR */

    .textobarra {
        font-size: 13px;
        padding: 7px 10px;
    }


    /* HEADER */

    header {
        max-height: 62px;
        padding: 0 10px;
    }

    header img {
        max-height: 42px;
        padding: 0;
    }

    nav ul {
        gap: 14px;
        padding: 10px;
    }

    nav ul li a {
        font-size: 13px;
    }

    .pedirturno {
        padding: 8px 14px;
        font-size: 13px;
    }


    /* HOME */

    #Home {
        padding: 14px;
    }

    #Home h1 {
        font-size: 25px;
    }

    #Home p {
        font-size: 14px;
    }


    /* NUESTRO ESPACIO */

    #nuestroespacio {
        height: 500px;
    }

    #nuestroespacio > .espacioinfo {
        width: 50%;
        padding: 20px;
        gap: 12px;
    }

    #nuestroespacio > div > div {
        padding: 22px;
        font-size: 14px;
        gap: 10px;
    }

    #nuestroespacio h2 {
        font-size: 26px;
        padding: 8px 20px;
    }

    #nuestroespacio > .carrusel {
        width: 50%;
        height: 100%;
    }


    /* BARRA DE INFORMACIÓN */

    #barrainformacion {
        padding: 16px 0;
    }

    #barrainformacion img {
        width: 38px;
        height: 38px;
    }

    #barrainformacion figcaption p {
        font-size: 13px;
    }


    /* EQUIPO */

    #Equipo {
        height: auto;
        min-height: 650px;
        padding: 20px 30px;
    }

    #Equipo > h2 {
        font-size: 30px;
        padding: 20px;
    }

    #Equipo > div {
        gap: 25px;
        padding: 15px;
    }

    #Equipo figure img {
        width: 220px;
        height: 220px;
    }

    #Equipo figcaption {
        width: 290px;
        font-size: 14px;
    }


    /* UROLOGÍA Y GASTRO */

    #Urología,
    #Gastroenterología {
        max-height: none;
        min-height: 480px;
        padding: 45px 5%;
        gap: 30px;
    }

    #Urología > div:first-child,
    #Gastroenterología > div:first-child {
        flex: 1;
        min-width: 0;
    }

    #Gastroenterología {
    background-image: none;
}

    .parrafos {
        width: auto;
    }

    .estudios {
        width: 100%;
    }

    .estudios li {
        width: 100%;
        font-size: 14px;
    }



    /* OBRAS SOCIALES */

    #ObrasSociales {
        height: auto;
        min-height: 600px;
        padding: 40px 6%;
    }

    #ObrasSociales ul {
        column-count: 3;
        margin: 25px 15px;
    }

    #ObrasSociales li {
        font-size: 14px;
    }


    /* HORARIOS */

    #Horarios {
        height: 450px;
    }


    /* UBICACIÓN */

    #Ubicacion {
        height: 430px;
        padding: 35px 6%;
        gap: 30px;
    }

    #Ubicacion h2 {
        font-size: 32px;
    }

    #Ubicacion p {
        font-size: 18px;
    }

    #Ubicacion iframe {
    width: 300px;
    height: 300px;
}


    /* FOOTER */

    footer {
        height: auto;
        min-height: 320px;
        padding: 25px 5%;
        column-gap: 60px;
    }

    footer figure img {
        width: 170px;
    }

    footer p {
        font-size: 14px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }


    /* BARRA MARRÓN */

    .barra {
        min-height: 28px;
        padding: 0;
    }

    .textobarra {
        font-size: 11px;
        padding: 6px 0;
    }


    /* HEADER */

    header {
        height: 62px;
        max-height: none;
        padding: 0 10px;
        position: sticky;
        top: 0;
    }

    header .logo {
        margin-right: auto;
    }

    header img {
        max-height: 40px;
        max-width: 145px;
        padding: 0;
        flex: none;
    }

    .menuhamburguesa {
    display: block;
}

    .turnoheader {
        margin-right: 8px;
        padding: 7px 12px;
        font-size: 12px;
    }


    /* MENÚ */

    nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        background-color: #F1E9E0;
        border-bottom: 1px solid #403A2E;
    }

    nav.abierto {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;

        gap: 0;
        padding: 8px 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 14px;
    }

    .menuhamburguesa {
        display: block;

        background: none;
        border: none;

        color: #403A2E;
        font-size: 28px;

        cursor: pointer;
    }


    /* HOME */

    #Home {
        padding: 16px 20px;
        text-align: center;
    }

    #Home h1 {
        font-size: 23px;
        line-height: 1.15;
    }

    #Home p {
        display: none;
    }


    /* NUESTRO ESPACIO */

    #nuestroespacio {
        width: 100%;
        height: auto;

        flex-direction: column;
    }

    #nuestroespacio > .carrusel {
        width: 100%;
        height: 300px;
        order: 1;
    }

    #nuestroespacio > .espacioinfo {
        width: 100%;
        order: 2;

        padding: 12px 15px;

        background-color: #403A2E;
    }

    #nuestroespacio .espacioinfo h2,
    #nuestroespacio .espacioinfo > div {
        display: none;
    }

    #nuestroespacio .espacioinfo > a {
        width: 100%;

        padding: 4px;

        background: none;
        box-shadow: none;

        text-align: center;
        font-size: 12px;
    }

    #nuestroespacio .espacioinfo > a::before {
        content: "¿Necesitás hacer una consulta o solicitar un turno? ";
    }


    /* BARRA DE INFORMACIÓN */

    #barrainformacion {
        max-height: none;

        flex-wrap: wrap;

        padding: 25px 0;
        row-gap: 25px;
    }

    #barrainformacion figure {
        flex: 0 0 50%;
    }

    #barrainformacion img {
        width: 38px;
        height: 38px;
    }

    #barrainformacion figcaption p {
        font-size: 12px;
        max-width: 120px;
    }


    /* EQUIPO */

    #Equipo {
        height: auto;
        padding: 35px 20px;
    }

    #Equipo > h2 {
        padding: 10px 0 30px;

        text-align: center;
        font-size: 30px;
    }

    #Equipo > div {
        flex-direction: column;
        align-items: center;

        gap: 40px;
        padding: 0;
    }

    #Equipo figure {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #Equipo figure img {
        width: 150px;
        height: 150px;

        order: 2;
    }

    #Equipo figcaption {
        width: 100%;

        text-align: center;
        order: 1;
    }

    #Equipo figcaption h2 {
        padding: 5px;

        text-align: center;
        font-size: 19px;
    }

    #Equipo .MP {
        padding-bottom: 12px;
    }

    #Equipo .formacion,
    #Equipo figcaption ul {
        display: none;
    }


    /* UROLOGÍA Y GASTRO */

    #Urología,
    #Gastroenterología {
        max-height: none;

        flex-direction: column;
        align-items: stretch;

        gap: 28px;
        padding: 40px 24px;
    }

    #Gastroenterología {
        background-image: none;
    }

    #Urología h2,
    #Gastroenterología h2 {
        text-align: center;
        font-size: 30px;
    }

    .horarios {
    align-self: center;
    padding: 25px;
    font-size: 13px;}

    .parrafos {
        width: 100%;
        margin: 15px 0;

        text-align: center;
        font-size: 14px;
    }

    .estudios {
        width: 100%;
        flex-direction: column;
    }

    .estudios ul {
        width: 100%;
    }

    .estudios li {
        width: 100%;
        height: auto;
        min-height: 38px;

        padding: 6px 0;

        font-size: 13px;
    }


    /* OBRAS SOCIALES */

    #ObrasSociales {
        height: auto;
        padding: 40px 24px;
    }

    #ObrasSociales > h2 {
        font-size: 30px;
    }

    #ObrasSociales ul {
        column-count: 1;
        margin: 25px 0;
    }

    #ObrasSociales #tarjeta {
        margin: 30px auto 0;
    }


    /* HORARIOS ADMINISTRATIVOS */

    #Horarios {
        height: auto;
        min-height: 450px;

        padding: 45px 20px;
    }

    #Horarios div {
        width: 90%;
        max-width: 340px;
    }

    #Horarios h2 {
        font-size: 28px;
    }

    #Horarios p {
        font-size: 14px;
    }


    /* UBICACIÓN */

    #Ubicacion {
        height: auto;

        flex-direction: column;

        padding: 40px 24px;

        text-align: center;
    }

    #Ubicacion h2 {
        font-size: 30px;
    }

    #Ubicacion p {
        font-size: 15px;
    }

#Ubicacion iframe {
    width: 280px;
    height: 280px;
    max-width: 80vw;

    margin-top: 25px;
}

    /* FOOTER */

    footer {
        height: auto;

        flex-direction: column;

        padding: 30px 24px;
        gap: 15px;
    }

    footer figure {
        margin-bottom: 10px;
    }

    footer figure img {
        width: 160px;
    }

    .footerinfo {
        width: 100%;
    }

    footer p {
        font-size: 13px;
    }

    .aparte {
        margin-top: 20px;
    }
}