/* ==== Utilidades ==== */
:root {
    --cta: #B41A1A;
    --color1: #BF8039;
    --fuente: 'Poppins', sans-serif;
}

input, input:focus, input:hover,
textarea, textarea:focus, textarea:hover {
    outline: none;
}
.mb-8 {margin-bottom: 8rem;}
.mb-6 {margin-bottom: 6rem;}
.seccion {
    padding: 2.5rem 0;
    margin: 2rem 0;
}
.boton {
    background-color: var(--color1);
    color: white;
    border: none;
    font-size: 1.6rem;
    padding: 1rem 2rem;
    border-radius: .7rem;
    cursor: pointer;
    transition: .3s;
    text-transform: uppercase;
}
.boton:hover {
    opacity: .7;
}
.boton.small {
    padding: .3rem 1.5rem;
    font-size: 1.4rem;
}
.boton.cta {
    background-color: var(--cta);
}
.flex {
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) { 
    .flex {
        display: flex;
        flex-direction: row;
    }
}
p span {color: var(--cta);}

.galeria {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) { 
     .galeria.col-6 {
         grid-template-columns: repeat(6, 1fr);
     } 
}
/* ==== // Utilidades // ==== */

/* ==== Global ==== */
html {
	box-sizing: border-box;
	font-size: 62.5%; 
	overflow-y: overlay;
	overflow-x: hidden;
	scroll-behavior: smooth;
}
*, *:before, *:after {box-sizing: inherit;}
body {
    max-width: 100%;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
    margin: 0;
    display: flex;
    flex-direction: column;
}
body main {
    flex: 1;
}
h4 {
    font-weight: normal;
    line-height: 1.2;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {margin: 0;padding: 0;}
ul,li {list-style: none;}
.contenedor {
    width: 100%;
    max-width: 140rem;
    margin: 0 auto;
    padding: 0 2rem;
}
.contenedor.cont-2 {
    max-width: 110rem;
}
.contenedor.cont-86 {
    max-width: 86rem;
}
img {
    width: 100%;
    height: auto;
}
.backtotop {
    position: fixed;
    right: 5rem;
    bottom: 5rem;
    z-index: 999;
    font-size: 3.6rem;
    color: white;
    background: #000;
    display: none;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 5.8rem;
    border-radius: .7rem;
    opacity: 0;
}
/* ==== // Global // ==== */

/* ==== Header ==== */
.home .header {
    height: calc(100vh - 10rem);
    justify-content: space-between;
}
.header {
    background-image: url('../img/fondo-mobile.jpg');
    background-size: cover;
    width: 100%;
    height: 25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}
@media (min-width: 768px) { 
    .header {
        background-image: url('../img/fondo.jpg');
    } 
}
/* Topbar */
.header .topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 0;
    width: 100%;
    max-width: 140rem;
}
.header .marca img {
    width: auto;
    max-height: 5rem;
}
.header .marca-mobile {
    display: inline-block;
    width: 12rem;
}
@media (min-width: 768px) { 
     .header .marca-mobile {display: none;}
}
.header .menu-responsive {
    font-size: 3rem;
}
.header .menu-mobile {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}
.header .close-menu-responsive {
    font-size: 3rem;
    position: absolute;
    right: 0;
    
}
@media (min-width: 768px) { 
    .header .close-menu-responsive,
    .header .menu-mobile,
    .header .menu-responsive {display: none;}
}
@media (max-width: 768px) { 
    .header .menu {
        display: none;
        position: fixed;
        right: 0;
        top: 0;
        opacity: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 100;
    }
    .header .menu .contenido {
        position: absolute;
        top: 0;
        opacity: 0;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        color: #656565;
        text-align: center;
        padding: 3rem 1.5rem;
    }
}
@media (min-width: 768px) { 
    .header .menu .contenido {
        flex: 1;
        display: block;
        text-align: right;
    } 
}
.header .menu .principal {
    margin: 1.5rem;
    display: inline-flex;
    flex-direction: column;
}
.header .menu .principal li {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}
.header .menu .principal a {
    display: block;
    text-transform: uppercase;
    margin: 2rem 0;
}
@media (min-width: 768px) { 
    .header .menu .principal {
        flex-direction: row;
        margin: 0;
    }
    .header .menu .principal a {
        display: inline-block;
        margin: 0 2rem;
        color: white;
        font-size: 1.6rem;
    }
    .header .menu .principal .cta {
        display: none;
    }
}
.header .topbar .redes {
    display: flex;
    justify-content: center;
}
.header .topbar .redes a {
    font-size: 3.2rem;
    margin: 0 2rem;
}
@media (min-width: 768px) { 
    .header .topbar .redes {
        display: inline-block;
    }
    .header .topbar .redes a {
        color: white;
        font-size: 2.2rem;
    }
}
.header .topbar .redes a:last-of-type {
    margin-right: 1rem;
}
/* // Topbar // */
/* Encabezado */
.header .encabezado {
    text-align: center;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0 1rem;
}
.encabezado.solo-celu {display: flex;}
.encabezado.solo-pc {display: none;}
@media (min-width: 768px) { 
    .encabezado.solo-celu {display: none;}
    .encabezado.solo-pc {display: flex;}
}
.header .encabezado h1 {
    font-size: 2.6rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.5;
}
.home .header .encabezado h2 {
    color: white;
    font-weight: normal;
    font-size: 1.4rem;
    background-color: rgba(0,0,0,.5);
    margin: 1rem 0;
    padding: .5rem 1rem;
    width: 100%;
    line-height: 1.5;
}
@media (min-width: 768px) { 
    .header .encabezado h1 {
        font-size: 4rem;
        line-height: 2;
    }
    .home .header .encabezado h1 {
        font-size: 5rem;
    }
    .home .header .encabezado h2 {font-size: 2.2rem;}
}
/* // Encabezado // */
/* Botones */
.home .header .botones .boton {
    box-shadow: 0 1rem 1rem rgba(0,0,0,.3   );
    background-image: url(../img/Recurso-10.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 24.4rem;
    height: 13rem;
    font-weight: 600;
    line-height: 1.5;
    font-size: 1.8rem;
}
@media (min-width: 768px) { 
    .home .header .botones .boton {
        width: 30.3rem;
        height: 16.2rem;
        font-size: 1.8rem;
    }
}
.home .header .botones .boton:hover {
    transform: scale(1.05);
    opacity: 1;
}
/* // Botones // */
/* ==== // Header // ==== */

/* ==== Footer ==== */
.footer {
    background-color: black;
    color: #efefef;
    font-weight: 300;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) { 
    .footer {
        min-height: unset;
        line-height: 1;
        padding: 3rem;
    }
}
.footer .contenedor {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}
@media (min-width: 768px) { 
    .footer .contenedor {
        flex-direction: row;
        align-items: unset;
    }
}
@media (max-width: 640px) { 
    .footer a {
        line-height: 3;
    }
}
.footer .marca {
    height: 14rem;
    margin: 1.5rem 0;
}
.footer .marca .logo {
    display: inline-block;
    height: 100%;
}
.footer .marca .logo img {
    width: auto;
    height: 100%;
}
.footer .info-contacto {
    text-align: center;
    margin: 1.5rem 0;
}
.footer ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin: 1.5rem 0;
}
.footer ul.menu {
    text-align: center;
}
@media (min-width: 768px) { 
    .footer ul.menu {
        text-align: right;
    }
}
/* ==== // Footer // ==== */

/* ==== Home ==== */
.seccion.nosotros {
    text-align: center;
    padding-top: 0;
    margin-top: 0;
}
@media (min-width: 768px) { 
    .seccion.nosotros p {
        text-align: left;
    }
}
.seccion.nosotros i {
    font-size: 4rem;
}
.home .banner {
    width: 100%;
    max-width: 90rem;
    /* height: 40rem; */
    /* background-color: #e1e1e1; */
    margin: 4rem auto;
    overflow: hidden;
}
/* ==== // Home // ==== */

/* ==== Contenedores ==== */
.contenedores main .contenedor {
    max-width: 120rem;
}
.contenedores main .descripcion {
    display: inline-flex;
    flex-direction: column;
    background-color: #e1e1e1;
    padding: 2rem 2rem;
    border-radius: .5rem;
    text-align: center;
}
@media (min-width: 768px) { 
    .contenedores main .descripcion {
        text-align: left;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    } 
}
.contenedores main .descripcion h4 {
    font-size: 1.6rem;
    margin-top: 0;
}
@media (min-width: 768px) { 
    .contenedores main .descripcion h4 {
        margin: 0 1rem 0 0;
    } 
}
.contenedores .tipos .izq {
    text-align: center;
}
@media (min-width: 768px) { 
    .contenedores .tipos .izq {
        text-align-last: left;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}
.contenedores .tipos .izq > div {
    margin-bottom: 2rem;
}
.contenedores .tipos h3,
.contenedores .tipos p {
    line-height: 1.7;
    margin: 0;
}
.contenedores .tipos .der {
    text-align: center;
}
@media (min-width: 768px) { 
    .contenedores .tipos .der {
        text-align: right;
    }
}
.contenedores .tipos img {
    width: 100%;
    max-width: 350px;
}
.contenedores .medidas .contenedor {
    background-color: #e1e1e1;
    text-align: center;
}
.contenedores .medidas .imagen img {
    width: 90%;
    max-width: 40rem;
    margin: 2rem auto;
}
.contenedores .galeria .contenedor {
    display: grid;
    gap: 2rem 5rem;
    position: relative;
}
@media (min-width: 768px) { 
    .contenedores .galeria .contenedor {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 30rem;
    }   
    .contenedores .galeria .contenedor img {
        object-fit: cover;
        height: 100%;
    }
}
/* ==== // Contenedores // ==== */

/* ==== Servicios ==== */
.servicios .info {
    text-align: center;
}
.servicios .info .item {
    margin-bottom: 8rem;
}
.servicios .info .item img {
    height: 6rem;
}
@media (min-width: 768px) { 
    .servicios .info .item img {
        height: 6rem;
    }
}
/* ==== // Servicios // ==== */

/* ==== Cotizaciones ==== */
.cotizar .info > .contenedor .contenedor {
    padding: 0;
}
.cotizar main form {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 140rem;
    line-height: 1;
    font-size: 1.8rem;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    background:#B41A1A;
}
@media (min-width: 768px) { 
    .cotizar main form {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        height: 48rem;
        line-height: 1;
        font-size: 1.8rem;
        margin: 0 auto;
        padding: 4rem 3rem;
        background-image: url(../img/recurso-13.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
}
.cotizar main form .campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
@media (min-width: 768px) { 
    .cotizar main form .campo {
        flex-direction: row;
        justify-content: space-between;
    }
}
.cotizar main form label {
    cursor: pointer;
    color: white;
    font-weight: bold;
}
.cotizar main form .campo input {
    width: 100%;
    max-width: 30rem;
}
.cotizar main form .campo select {
    width: 100%;
    max-width: 30rem;
    font-family: var(--fuente);
}
.cotizar main form fieldset {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
}
.cotizar form fieldset.contacto > * {
    margin-bottom: 1rem;
}
@media (min-width: 768px) { 
    .cotizar form fieldset.contacto .campo input {
        margin-left: 1rem;
        flex: 1;
    }
}
.cotizar main form textarea {
    height: 20rem;
    padding: 10px;
}
.cotizar main form .enviar {
    text-align: right;
}
.cotizar main form input.boton {
    width: 100%;
}
/* ==== // Cotizaciones // ==== */

/* ==== Clientes ==== */
.clientes .galeria .cliente {
    height: 100%;
    box-shadow: 0 0 1rem #e1e1e1;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    padding: 1rem;
    overflow: hidden;
    position: relative;
    min-height: 17rem;
}
@media (min-width: 768px) { 
    .clientes .galeria .cliente {
        min-height: 20rem;
    }
}
.clientes .galeria .leyenda {
    position: absolute;
    left: 0;
    top: calc(100% - 2.3rem);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0.5rem;
    width: 100%;
    height: 100%;
    transition: .7s;
}
.clientes .cliente:hover .leyenda {
    top: 0;
}
.clientes .cliente strong {
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

/* ==== // Clientes // ==== */