/* Estilo para mantener barra de navegacion encima */ 
#header {
    position: fixed;
    top: 0;     
    left: 0;             
    width: 100%;          
    height: 60px;        
    background-color: #333; 
    color: white;      
    z-index: 1000;        
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
}

* {
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
}

body {
    font-family: 'Titillium Web', Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
}

h1 {
    font-size: 4rem;
}
h2 {
    font-size: 4rem;
}
p {
 color: rgb(36, 131, 190);
 font-weight: lighter;
}

button{
    font-family: 'Titillium Web', Arial, sans-serif;
    font-size: 1.1em;
    font-weight:400;
    padding: 10px 30px;
    border-radius: 5px;
    border: 1px solid rgba(0, 242, 255, 0.8);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: white;
    background-color:#175473;
}

button:hover {
    border: 1px solid rgba(8, 82, 116, 0.8);
    color:#175473;
    background-color:#0deded;
}


.container {
    max-width: 1200px;
    margin: auto;
}

.whatsapp{

    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    opacity: 0.6;
}

.whatsapp:hover{
    opacity: 1;
}



header {
    background: #EDF2F5;
    
}

header .logo {
    margin: 50px 0px 20px 0px;
    width: 80vw;
    height: 10vh;
    background-image: url("imagenes/INICIO/logo_haifumexico3.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

header .logo a{
    display: block;
    width: 100%;
    height: 60px;
}


header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    margin-bottom: 50px;
    background: linear-gradient(to top,  rgba(33,150,166,0.1),
    rgba(33,150,166, 0.5));
    width: 90vw;
    border-radius: 8px;
    border: 1px solid rgb(182, 235, 252);
  
}

header nav a {
    margin: 2px 0px;
    padding: 3px;
    width:auto;
    text-decoration: none;
    color: rgb(224, 224, 224);
    background-color:#175473;
    border-radius:5px;
    box-shadow:2px 2px 6px rgba(4, 11, 37, 0.3);
}

header nav a:hover {
    color:#175473;
    background-color: #0deded;
}

header .pleca {
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #2580C3, #2196A6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.menu-horizontal{
    list-style: none;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #92ecf8;
    box-shadow: 0px 15px 20px rgba(8, 45, 73, 0.3);
    padding: 0;
   }

.menu-horizontal > li > a {
    display: block;
    padding: 15px 25px;
    color:#175473;
    text-decoration: none;
    display: block;
    border-bottom: solid #16c5d5 1px;
}
 
.menu-horizontal > li:hover{
    background-color:#0deded ;
}

.menu-vertical {
    position: absolute;
    display:none;
    list-style:none;
    margin-left: 150px;
    width: 250px;
    background-color:#175473;
    padding: 0;
}

.menu-horizontal li:hover .menu-vertical{
    display: block;
}

.menu-vertical li:hover{
    background-color:#2196A6;
}

.menu-vertical li a{
    display: block;
    color: #92ecf8;
    padding: 15px 15px 15px 15px;
    text-decoration: none;
    border-bottom: solid #16c5d5 1px;
    
}




#baner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 50vh;
    background-image:
        linear-gradient(
        0deg,
        rgba(6, 77, 87, 0.6),
        rgba(154, 243, 255, 0.3)
    ), url("imagenes/TESTIMONIOS/cabecera_pacientess.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


.logob {
    margin: 20px 0px 20px 0px;
    width: 80vw;
    height: 60px;
    background-image: url("imagenes/INICIO/logo_haifumexico3.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;

}
#baner h1 {
    font-size: 50px;
    line-height: 40px;
    margin: 0;
    color: rgb(255, 255, 255, 0.8);
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}


#somoshaifu .container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 60px 60px;
}


#somoshaifu    h3 {
    font-size: 1.5em;
    font-weight:400;
    color:#175473;
    line-height: 32px;
}


#somoshaifu    p {
    margin-bottom: 25px;

}

#somoshaifu .bot{
    padding-bottom: 30px;
}


#mapa {
    background: linear-gradient(
        180deg,
        rgba(238, 253, 255, 0.9),
        rgba(163, 201, 206, 0.95)
    ) 
}
#mapa .container{
    padding: 0px 30px 30px 30px; 
}
#mapa h3{
    margin: 0;
    font-size: 40px;
    font-weight: 400;
    padding-bottom: 10px;
    line-height: 40px;
    color: #175473;
    
}
#mapa .cuadro {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    background-color: rgb(142, 229, 234, 0.6);
    width: 50vw;
    padding: 30px 15px;
    text-align: center;
}

#mapa .mapahaifu{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 30vh;
    background-image: url("imagenes/PACIENTES/mapahaifu.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}


#permisos {
    width: 100%;
    height: auto;
    background-image: url("imagenes/PACIENTES/mapamex.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 50px;
    
}

#permisos .container{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 30px 30px;
    
}

#permisos .cont_cofepris {
    
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    width: 80vw;
    height: 35vh;
    padding: 20px 0px;
    box-shadow: 2px 2px 10px rgb(0 0 0 / 50%);

}
.logocofe {
    height: 10vh;
    background-image: url("imagenes/PACIENTES/cofepris-logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top, center;
    
}

#permisos h2 {
    font-size: 1.3em;
    margin:0;
    font-weight: 400;
    text-align: center;
   
}
#permisos h3 {
    margin: 0;
    font-weight: 400;
    text-align: center;
    font-size: 35px;
    line-height: 30px;
  
}
#permisos .cont_permiso{
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    width: 80vw;
    padding:20px 0px;
    box-shadow: 2px 2px 10px rgb(0 0 0 / 50%);

}
.permiso {
    display: block;
    margin: 0;
    height: 30vh;
    
    text-align: center;
    background-image: url("imagenes/PACIENTES/CartaDistribuidor.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
  
}

footer {

    background: linear-gradient(to top, #2580C3, #2196A6);
    color: white;
}

footer .container {

    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 40px;
    text-decoration: none;
}

footer nav {
    /* background-color: rgb(172, 4, 150); */
    order: 4;
    display: flex;
    flex-direction: column;
    text-align: center;  
}

footer .ubicacion {
    /* background-color: rgb(71, 172, 4); */   
}

footer .telefono {
    /* background-color: rgb(172, 63, 4); */ 
}

footer .correo {    
    /* background-color: rgb(14, 110, 234); */
 
}
footer .redes {
    
    order: 5; 
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  
}

.iconos  {
    width: 40px;
}
.iconos :hover{
    width: 45px;
    filter: brightness(0) saturate(100%)
    invert(79%) sepia(57%) saturate(1088%) hue-rotate(115deg) brightness(103%) contrast(90%);

}
footer nav a {
    margin:0;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: lighter;
}
footer p {
    margin:0;
    padding: 0px 60px;
    color: #92ecf8;
}
footer h3 {
    margin:0;
    font-weight:500;
 }

footer nav a:hover {
    color: #0deded;
    font-weight: 400;
 }
.h-line{
    border-bottom: solid #16c5d5 1px;
    width: 50%;

   }
   

@media (min-width: 992px){
    
    header{
        position: fixed;
        height: 120px;
        width: 100%;
        box-shadow: 2px 2px 15px rgba(8, 45, 73, 0.5);
        border-bottom: 1px solid #2196A6; 
    }

    header .pleca {
        width: 100%;
        height: 12px;
        background: linear-gradient(to right, #2580C3, #2196A6);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000; /* Asegura que esté por encima de otros elementos */
    }
    
    header .container{
        flex-direction:row;
        justify-content:center;
        padding: 20px 30px;
        border-bottom: 2px,#175473; 
    }
   
   
    header .logo {
        margin:0;
        padding: 0px;
        width: 100%;
        height: 60px;
        background-size:contain;
    }

    header nav{
        display: flex;
        flex-direction: row;
        text-align: right;
        justify-content: right;
        align-items: right;
        padding: 0px 0px 0px 50px;
        margin-bottom: 0px;
        background: none;
        width: 90vw;
        border-radius: 0;
        border: none;
    }
    header nav a {
        margin: 0;
        padding-left: 15px;
        width:auto;
        text-decoration: none;
        color:#175473;
        background-color:rgba(4, 11, 37, 0.0);
        border-radius:0;
        box-shadow:0px 20px 0px rgba(4, 11, 37, 0.0);
    }
    
    header nav a:hover {
        color:#2196A6;
        background-color:rgba(4, 11, 37, 0.0);
    }

    .menu-horizontal{
        list-style: none;
        display:flex;
        flex-direction:row;
        justify-content: space-around;
        background-color: #92ecf8;
        box-shadow: 0px 15px 20px rgba(8, 45, 73, 0.3);
        padding: 0;
        border-radius:0px 0px 20px 20px; 
        
       }
    
    .menu-horizontal > li > a {
        display: block;
        padding: 15px 35px;
        color:#175473;
        text-decoration: none;
        border-bottom: 0px;
    }
     
    .menu-horizontal > li:hover{
        background-color:#0deded ;
        
    }
    .nos {
        border-radius: 0px 0px 0px 20px;

    }
    .contacto {
        border-radius: 0px 0px 20px 0px;

    }
    .menu-vertical {
        position: absolute;
        display: none;
        list-style:none;
        width: 250px;
        background-color:#175473;
        padding: 0;
        margin-left: 0px;
    }
    
    .menu-horizontal li:hover .menu-vertical{
        display: block;
    }

    .menu-vertical li:hover{
        background-color:#2196A6;
    }
 
    .menu-vertical li a{
        display: block;
        color: #92ecf8;
        padding: 15px 15px 15px 15px;
        text-decoration: none;
    }


/*
    header nav{
        display: flex;
        flex-direction: row;
        text-align: right;
        justify-content: right;
        align-items: right;
        padding: 0px 0px 0px 50px;
        margin-bottom: 0px;
        background: none;
        width: 90vw;
        border-radius: 0;
        border: none;
    }
    header nav a {
        margin: 0;
        padding-left: 15px;
        width:auto;
        text-decoration: none;
        color:#175473;
        background-color:rgba(4, 11, 37, 0.0);
        border-radius:0;
        box-shadow:0px 20px 0px rgba(4, 11, 37, 0.0);
    }
    
    header nav a:hover {
        color:#2196A6;
        background-color:rgba(4, 11, 37, 0.0);
    }
    */
    
    #baner {
         padding-top: 120px;
         height: 600px;
        
    }
    #baner h1 {
        font-size: 70px;
        line-height: 70px;
       
        margin: 0;
        color: rgb(255, 255, 255 .8);
        font-weight: bold;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }



    .logob {
        margin: 20px 0px 20px 0px;
        width: 100%;
        height: 100px;
        background-image: url("imagenes/PACIENTES/logo_haifumexico3.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
    }

    #somoshaifu p {
    font-size: 19px;
    margin-bottom: 20px;
    }

    #somoshaifu .box {
    width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    }
   

    #somoshaifu .tituloA {
        width:300px;
        order: 1;
        text-align:right;
        padding-right: 25px;
        border-right: solid #16c5d5 1px;
        line-height: 30px;
    }
    #somoshaifu .textoA {
        width:380px;
        order: 3;
        text-align:right;
        padding-right: 25px;
        margin: 0px 0px;
        border-right: solid #16c5d5 1px;
       
    }
    #somoshaifu .textoB {
        width:380px;
        order: 5;
        text-align:left;
        padding-left: 25px;
        
    }
    #somoshaifu .tituloB {
        width:300px;
        order: 2;
        text-align:left;
        padding-left: 25px;
        line-height: 30px;
       
    }
    #somoshaifu .bot {
        order: 4;
       
    }
     #mapa p{
         font-size: 20px;
     }

    #mapa .cuadro {
        width: 600px;
        border-radius: 0px 0px 15px 15px;
    }
    
    #mapa .mapahaifu{
        height: 60vh;
        margin-bottom: 20px;
        margin-top: 40px;
    }
    
    

    #permisos .container{
        flex-direction: row;
        padding: 10px 0px;
    }

    #permisos .cont_cofepris {
        background-color: rgba(255, 255, 255, 0.6);
        border-radius: 25px;
        width: 50vw;
        height: 40vh;
        padding: 30px 0px;
    }

    #permisos .cont_permiso{
        background-color: rgba(255, 255, 255, 0.6);
        border-radius: 15px;
        width: 50vw;
        height: 40vh;
        padding:20px 0px;
        box-shadow: 2px 2px 10px rgb(0 0 0 / 50%);
    
    }





   


    footer .container {

        display: flex;
        flex-direction:row;
        text-align:center;
        align-items:center;
        justify-content:center;
        gap: 10px;
        padding: 60px 20px;
        text-decoration: none;
    }

    footer nav {
        /* background-color: rgb(172, 4, 150); */
        order: 0;
        display: flex;
        flex-direction: column;
        text-align: left;  
        margin: 0px;
        padding: 0px 20px;
        font-size: 1.2rem;
    }

    footer p {
        margin:0;
        padding: 0;
        color: #92ecf8;
        font-size: 1.2rem;
    }
    footer h3{
        font-size: 1.6rem;
    }
    .h-line{
        border-bottom: solid #16c5d5 1px;
        width: 0px;
        border-left: solid #16c5d5 1px;
        height: 100px;
       }
    .ubicacion {
        padding: 0px 60px;
    }
       
    .telefono {
        padding: 0px 60px;
    }
    .telefono p {
        width:max-content;
    }
    .correo {
        padding: 0px 60px;
    }
    footer .redes {
        order: 5; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0px 30px ;
    }
 
  
    .iconos  {
        width: 30px;
    }
    .iconos :hover{
        width: 35px;

    
    }

    
    
}