:root {
    --fuenteHeading: 'PT Sans', sans-serif;
    --fuenteParrafos: 'Open Sans', sans-serif;
    --primario: #784D3C;
    --gris: #e1e1e1;
    --gris01: #757575;
    --blanco: #ffffff;
    --negro: #000000;
    --azul: blue;
    --secundarioOscuro:rgb(233,287,2);
    --dorado:#CDAE5C;
    --secundario: #0097A7;
    --fondo:#F5F4EC;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body{
    font-family:  var(--fuenteParrafos);
    font-size: 2.3rem;
    line-height: 2;
    background-color: var(--fondo);
}

/** Globales **/
.contenedor{
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
}

a{
    text-decoration: none;
}

h1, h2,h3,h4{
    font-family: var(--fuenteHeading);
}
h1{
    font-size: 4.8rem;
}
h2{
    font-size: 4rem;
}
h3{
    font-size: 3.2rem;
}

h4{
    font-size: 3.0rem;
}

img{
    max-width: 100%;
}

/** Utilidades**/
.no-margin{
    margin: 0;
}

.no-padding{
    padding: 0;
}
.centrar-texto{
    text-align: center;
}


/**header**/

.header{
    background-image: url(../img/call-center.jpg);
    height: 60rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.header__texto{
    text-align: center;
    color: var(--dorado);
    margin-top: 1rem;
}
.barra{
    padding-top: 4rem;
}

@media(min-width:768px){
    .header__texto{
        margin-top: 15rem;
        color: var(--azul);
    }
}

@media(min-width:768px){
    .barra{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width:768px){
    .navegacion{
        display: flex;
        gap: 2rem;
    }
}

.navegacion__enlace{
    display: block;
    text-align: center;
    font-size: 1.8rem;
    color: var(--azul);
}


.footer{
    background-color: var(--negro);
    padding-bottom: 3rem 0;
    margin-top: 4rem;
}

.contenedor01 {
    max-width: 120rem;
    margin: 0 auto;
}

/** Contacto **/
.formulario {
    background-color: var(--gris01);
    width: min( 60rem, 100% ); /** Utilizar el valor más pequeño **/
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
}
.formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}
.flex {
    display: flex;
}
.alinear-derecha {
    justify-content: flex-end;
}
.w-sm-100 {
    width: 100%;
}
@media (min-width: 768px) {
    .w-sm-100 {
        width: auto;
    }
}

.formulario fieldset {
    border: none;
}
.formulario legend {
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--azul);
}

@media (min-width: 768px) {
    .contenedor-campos {
        display: grid;
        grid-template-columns: 50% 50%;
        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(--dorado);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}
.campo textarea {
    height: 20rem;
}

.input-text {
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
}

.boton {
    background-color: var(--azul);
    color: var(--dorado);
    padding: 1rem 3rem;
    margin-top: 3rem;
    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;
}

@media (min-width: 768px) {
    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
    }
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.servicio h3 {
    color: var(--negro);
    font-weight: normal;
}
.servicio p {
    line-height: 2;
    text-align: center;
}
.servicio .iconos {
    height: 15rem;
    width: 15rem;
    background-color: var(--azul);
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}