:root {
    --amarillo2: #EEC305;
    --amMob: #FFB600;
    --primario: #FFC100;
    --taupe: #403c3b;
    --blanco: #FFFFFF;

}
 /** Globales **/
html {
    font-size: 62.5%;
    box-sizing: border-box; /* Hack para Box Model **/
    scroll-snap-type: y mandatory;
}
*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-size: 16px; /* 1 rem=10 px */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    /**background-image: linear-gradient(to top, #DFE9F3 0%, var(--blanco) 100%; añadir gradiente en background**/
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}

.boton {
    background-color: var(--amMob);
    color: var(--taupe);
    padding: 1rem 3rem;
    margin-top: 1rem;
    font-size: 2rem;
    text-decoration: none;
    font-weight: 800;
    border-radius: .6rem;
    width: 90%;
    text-align: center;
    border: none;
}

.boton:hover {
    cursor: pointer;
}

@media (min-width: 768px) {
    .boton {
        width: auto;
    }
}


.sombra {
    -webkit-box-shadow: 3px 5px 17px 5px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 5px 17px 5px rgba(0,0,0,0.75);
    box-shadow: 3px 5px 17px 5px rgba(0,0,0,0.75);
}

/** Tipografía **/
h1 {
    font-size: 3.8rem;
}
h2 {
    font-size: 2.8rem;
    font-weight: 800;
}
h3 {
    font-size: 2.2rem;
}
h1,h2,h3 {
    text-align: center;
}
p  {
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
}

/** Navegación Principal **/
.nav-bg {
    background-color: var(--taupe);
    margin: 0 0;
    
}
.navegacion-principal {
    display: flex;
    flex-direction: column;
    
}

.navegacion-principal a {
    display: block;
    text-align: center;
    color: var(--blanco);
    text-decoration: none;
    padding: 1rem;
}

.navegacion-principal a:hover {
    background-color: var(--amMob);
    color: var(--taupe);
}

@media (min-width: 768px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-between;
    }
}

/** Títulos **/
.titulo {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 0;
    }

.titulo span {
    color: var(--amMob);
}

.subtitulo {
    text-align: center;
    font-weight: 400;
    margin: 0 0 2rem 0;
}
/** utilidades *//

@media (min-width: 768px) {
    .w-100 {
        width: auto%;
    }
}

.centrar {
    justify-content: center;
}


/** Hero **/
.hero {
    background-image: url(../img/tapizada.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.contenido-hero {
    background-color: rgb(254 254 254 / 50%);   
    display: flex; 
    flex-direction: row;
    justify-content: center;
}

.contenido-hero img {
    margin: 3rem auto;
    width: 50%;
    height: 50%;
    border-radius: .5rem;
}

/** Scroll Snap*//
.servicios, .navegacion-principal,.formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}
/** Servicios **/

@media (min-width: 768px) {
    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
        /**grid-template-rows: repeat(3, 1fr);**/
    }
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio h3 {

}
.servicio p {
    text-align: center;
}
.servicio .iconos {
    height: 10rem;
    width: 10rem;
    background-color: var(--amMob);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formulario {
    background-color: var(--taupe);
    width: min( 60rem, 100%); /**Utilia el valor más pequeño**/
    margin: 0 auto 5rem auto;
    padding: 2rem;
    border-radius: 1rem;
}

.formulario fieldset {
    border: none;
}
.formulario legend {
    color: var(--amMob);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    
.contenedor-campos {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    column-gap: 1.5rem;
}

.campo:nth-child(5) {
    grid-column: 1/3;
}
}
.campo {
    margin-bottom: 1rem;
}

.campo label {
    color: var(--blanco);
    margin-bottom: .5rem;
    display: block;
}

.input-text {
    width: 100%;
    border: none;
    padding: 1.2rem;
    border-radius: .5rem;
}

.textform {
    text-align: center;
    margin: 5rem auto;
}

.campo textarea {
    height: 20rem;
}

.enviar .boton {
    width: 100%;
}

.fotopag {
    width: 50%;
    height: 50%;
}

/** Footer **/
.creditos {
    display: flex;
    justify-content: center;
    font-size: small;
}
.barra {
     background-color: var(--taupe);
}
