:root{
    --primario: #5385FF;
    --primarioOscuro: #2A59C5;
    --secundario: #7FB8FD;
    --secundarioOscuro: #7E96B4;
    --blanco:#fff;
    --negro:#000;
    --gris: #e3e3e3;

    
}
.sombra{
    -webkit-box-shadow: 10px 10px 5px -3px rgba(156,156,156,1);
    -moz-box-shadow: 10px 10px 5px -3px rgba(156,156,156,1);
    box-shadow: 10px 10px 5px -3px rgba(156,156,156,1);
}
html {
    box-sizing: border-box;
    font-size: 62.5%;
}
*, *:before, *:after {
    box-sizing: inherit;
}
/* Globales */
body{
    background-color: var(--secundarioOscuro);
    font: 1.6rem;
    line-height: 1.5;
    font-family: 'Cabin', sans-serif;;
}
p{
    font-size: 1.8rem;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--negro  );
}
a{
    text-decoration: none;
    
}
img{
    width: 100%;
}
.contenedor{
    max-width: 120rem;
    margin: 0 auto;
    margin-top: 2rem;
}
h1,h2,h3{
    text-align: center;
    color: var(--negro);
    font-family: var(--fontP);
}
h1{
    font-size: 4rem;
}
h2{
    font-size: 3.2rem;
}
h3{
    font-size: 2.4rem;
}
footer{
    text-align: center;
}
.boton{
    background-color: var(--secundario);
    color: var(--negro);
    padding: 1rem 3rem;
    margin-top: 4rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .5rem;
    width: 90%;
    text-align: center;
    border: none;
}
@media(min-width : 768px){
    .boton{
       width: auto;
    }
}
.boton:hover{
    cursor: pointer;
}
/* Header */
.logo{
    width: 12rem;
    margin-top: 1.5rem;
}
.header{
    padding: 0 20px;
    background-color: var(--secundarioOscuro);
    height: 50px;
    display: flex;
    justify-content: space-between;
}
ul{
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;

}
ul a{
    color: var(--blanco);
}
ul li{
    margin-left: 1rem;
    font-size: large;
}


/* Hero */
.hero{
    margin-top: 2rem;
    background-repeat: no-repeat;
    background-size: cover;
    height: 390px;
    position: relative;
    margin-bottom: 2rem;
    background: url(../img/istockphoto-183250462-612x612.jpg);
}
.contenido-hero{
    position: absolute;
    background-color: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center ;
    
}
.iconos{
    display: flex;
    justify-content: space-around;
    column-gap: 5rem;
    color: var(--blanco );
}
/* Main */
.contenedor{
   background-color: var(--gris);
   border-radius: 2rem;
   height: 100%;
   padding: 2rem;

}
.servicios--informacion{
    color: var(--negro);
}
.titulo--main{
    color: var(--negro);
}

.servicios{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}


/* nosotros */
.contenedor--nosotros{
    display: flex;
    justify-content: center;
    width: 120rem;
    background-color: #e3e3e3;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 2rem;
    border-radius: 2rem;
    padding: 2rem;
}

.nosotros--imagen{
    width: 40rem;
}
.form{
    background-color: var(--gris);
    width: min(60rem, 100%); /* Utilizar el valor mas pequeno */
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;

}
.form fieldset{
    border: none;
}
.form legend{
    color: var(--primario);
    text-align: center;
    font-size: 2.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
}
@media(min-width : 768px){
    .contenedor-campos{
        display: grid;
        grid-template-rows: auto auto 20rem;
        column-gap: 1rem;
    }
    .campo:nth-child(3),.campo:nth-child(4){
        grid-column: 1 / 3;
    }
}

.campo{
    margin-bottom: 1rem;
}
.campo label{
    color: var(--negro);
    font-weight:700;
    margin-bottom: .5rem;
    display: block;
    font-size: large;
}
.input-text{
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
    font-size: 2rem;
}
.campo  textarea{
    height: 20rem;
}