*{
    box-sizing: border-box;
    margin: 0;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color:#fcfdfe/*#F1F7F9*/;
}

h1{font-size: 2em;}
h2{font-size: 1.5em;color: #0a61c9;}
h3{font-size: 1em;}
p{font-size: 1em;}
a{font-size: .75em;}
button{font-size: 0.75em;}
li{font-size: 1em;}
ul{list-style: none;}

button{
    font-size: 1em;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 5px;
    border: 0px solid #07326a;
    box-shadow: 1px 1px 3px black;
    color: #F1F7F9;
    background-color:#0a61c9;
}

button:hover{
    background-color:#0ac0c9;
}

.container{
    max-width: 1400px;
    margin: auto;
}

header{
    background-color:#0a61c9;
    padding: 12px;;
}

header .img-container{
    background-image: url("media/pms-logo-blanco.svg");
    background-size: cover;
    background-position: center center;
    height: 80px;
    width: 60px;
}

header .logo-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 0px;
}

header .logo{
    margin: 0;
    padding: 25px 25px;
}

header .texto{
    padding-left:5px;
    font-weight: bolder;
}

header p{
    color:#F1F7F9;
    font-size:1.4em;
    font-weight:100;
    }

header h2{
    color: #F1F7F9;
    font-size: 2.5em;
    font-weight: bolder;
}    


header .container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-between;

}   


header a:hover{
    color: #0ac0c9;    
}

#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction:column;
    height: 90vh; /*cuanto de la pantalla toma ese hero */
    color: #F1F7F9;
    background-image: linear-gradient(
        0deg,
        rgb(6,51,106,0.8),
        rgb(6,51,106,0.8)
    )
    ,url("media/hero2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    margin-top: 0px;
}

#hero h1{
    padding: 0px 12px 0px 12px;
}

#hero p{
    padding:50px;
}

#somos-psm .container{
    text-align: initial;
    padding: 75px 12px;
}

#somos-psm h2{
    padding-bottom: 16px;
}

#somos-psm p{
color: #07326a;
font-size: 14px;
}

#servicios {
    background-color:#0a61c9;
    color:#07326a;
    text-align: center;
}

#servicios .container{
    padding: 50px 12px 50px 12px;
}

#servicios p{
    display: none;
}

#servicios h2{
    padding:0px 5px 20px 5px;
    margin-top: 0;
    color: #F1F7F9;
}

#servicios .servicios{
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
   gap: 2rem;   
}

#servicios .img-container{
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#servicios .carta{
background: #F1F7F9;
border-radius: 20px;
transition: 0.3s;
padding-bottom: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
}



#servicios .img-container img{
    max-width: 100%;
    height: auto;
    border-radius: 20px 20px 0px 0px;
}


#servicios .texto{
    padding: 1rem;
}

#servicios h3{
    padding-bottom: 0px;
}

#contacto .container{
    text-align: initial;
    padding: 50px 12px;
}

#contacto li{
   margin: 12px 0px;
   list-style: none;
   line-height: 1em;
}

#contacto ul{
    padding-left: 0;
    color: #07326a;
}

/* Estilos del botón flotante */

.chat-button {
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color:#0df053;
    color:#F1F7F9;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
}

.chat-button:hover {
    text-decoration: none;
    color: #0df053;
    background-color:#F1F7F9;
}



footer{
    background-color: #749dc8;
}

footer p{
    margin: 0;
    padding: 12px;
    color: #F1F7F9;
    font-size: 12px;
}

footer .container{
    height: 150 px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}


.nav-list{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    list-style: none;
    padding: 1rem;
}

.nav-list a{
    text-decoration: none;
    color:#F1F7F9;
    font-weight: lighter;
    font-size: 14px;
}


@media (min-width: 1024px){

    html {
        scroll-padding-block-start: 105px;
    }

    h1{font-size: 3em;}
    h2{font-size: 2em;color: #0a61c9;}
    h3{font-size: 1.5em;}
    p{font-size: 1em;}
    button{font-size: 1em;}
    a{font-size: 1em;}
    ul{font-size: 1em;
        list-style:disc;
        color: #07326a;
        line-height: 2em;
    }

    header{
        position: fixed;
        width:100%;
        top: 0;
        background-color:#fcfdfe;
        padding-bottom: 12px;
        padding-top: 12px;
        padding-left: 12px;
    }
    
    header .container{
        flex-direction: row;
        justify-content: space-between;
    }
    
    header p{
        color:#0a61c9;
        }
    
    header h2{
        color:#0a61c9;
    }    
    
    header .img-container{
        background-image: url("media/pms-logo-azul.svg");
    }

    .nav-list{
        display: flex;
        flex-direction: row;
        gap: 2rem;
        list-style: none;
    }

    .nav-list a{
        text-decoration: none;
        color:#0a61c9;
        font-weight: bold;
        font-size: 16px;
    }

   
    #hero{
        height: 80vh;
        margin-top: 100px
    }

    #hero h1{
        padding-top: 40;
    }

    #somos-psm .container{
        display: flex;
        justify-content:space-between;
    }

    #somos-psm .texto{
        width: 50%;
        max-width: 800px;
        text-align: initial;
        padding-left: 50px;
        padding-right: 25px;
        display: flex;
        flex-direction: column;
        justify-content:space-between;

    }

    #somos-psm h2{
        margin-top: 0;
    }

    #somos-psm .img-container{
        background-image: url("media/12345.jpg");
        background-size: cover;
        background-position: center top;
        display: flex;       
        flex-grow: 1;
        flex-shrink: 1;
        width: 600px; 
        min-height: 400px;   
    }

    #somos-psm p{
        display: flex;
        margin-top: 30px;
        flex-grow: 1;
        flex-shrink: 1;
        text-align: justify;
        font-size: 16px;
    }


    #servicios .servicios{
        /*
        display: flex;
        justify-content: center;
        */

        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
        gap: 2rem;  
    }

    #servicios p{
        display: flex;
        margin-bottom: 0px;
        margin-top: 20px;
        min-height: 100px;
        flex-grow: 1;
        flex-shrink: 1;
      
    }

    #servicios h3{
        margin-top: 0px;
        min-height: 60px;
    }

    #servicios .carta{
        flex: 33%;
        display: flex;
        flex-direction: column;
        padding: 0px;
        padding-bottom: 10px;
        box-shadow: 2px 2px 5px ;
        background-color:#F1F7F9;
        justify-content:space-between;
    }
   

#contacto .container{
    text-align: initial;
}

#contacto h2{
    margin-left: 10px;
}

#contacto ul{
    margin-left: 10px;
    padding: 0;
}

footer p{font-size: 14px;}

}