html {
    box-sizing: border-box;
    font-size: 62.5%;
    /** Reset para REMS - 62.5% = 10px de 16px **/
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 2rem;
    line-height: 2;
}


/** Globales **/

img {
    max-width: 100%;
}

.contenedor {
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 0;
}

.contenedor__fondo{
    background-color: #ffffff;
    
}

h1 {
    font-size: 3.8rem;
}


h2 {
    font-size: 2.4rem;
}

h3 {
    font-size: 3rem;
}

h4 {
    font-size: 3.1rem;
}


/** Utilidades **/

.seccion {
    margin-top: 2rem;
    margin-bottom: 2rem;
}


.fw-300 {
    font-weight: 300;
}

.centrar-texto {
    text-align: center;
}

.d-block {
    display: block!important;
}

.contenido-centrado {
    max-width: 800px;
}


/** Botones **/

.boton {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.8rem;
    padding: 1rem 3rem;
    margin-top: 3rem;
    display: inline-block;
    text-align: center;
    border: none;
    /* flex: 0 0 100%; */
}

@media (min-width: 768px) {
    .boton {
        display: inline-block;
        flex: 0 0 auto;
    }
}

.boton:hover {
    cursor: pointer;
}

.boton-amarillo {
    background-color: #E08709;
}

.boton-verde {
    background-color: #71B100;
}


/* Header */

.site-header {
    background-color: #333333;
    padding: 1rem 0 3rem 0;
}

.site-header.inicio {
    background-image: url(../img/m.jpg);
    background-position: center center;
    background-size: cover;
    height: 130vh;
    min-height: 60rem;
    padding-top: 1rem;
}

.contenido-header {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

@media (min-width: 768px) {
    .contenido-header{
        text-align: left;
    }
}
.contenido-header h1 {
    color: #fff8f8;
    padding-bottom: 2rem;
    max-width: 60rem;
    line-height: 2;
}

@media (min-width: 768px) {
    .barra {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.barra__img{
    display: inline-block;
    width: 100px;
    min-width: 100px ;
}


/** Navegacion **/

.navegacion a {
    color: #ffffff;
    text-decoration: none;
    font-size: 2.2rem;
    margin-right: 1rem;
}

.navegacion a:hover {
    color: #f0701b;
}

.navegacion a:last-of-type {
    margin-right: 0;
}


/** Iconos Nosotros **/
@media (min-width: 768px) {
.iconos-nosotros {
    display: flex;
    justify-content: space-between;
    }

}
@media(min-width: 768px){
    .conos-nosotros{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;
        }
    }
.icono {
    text-align: center;
}
@media (min-width: 768px) {
    .icono {
        flex-basis: calc(33.3% - 1rem);
    }
}
.icono h3,h2,h4 {
    text-transform: uppercase;
}

/** Destacados **/

/** Grid **/
@media (min-width: 768px) {
    .grid {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 100px 0 100px 0;
    }
    .centrar-columnas {
        justify-content: center;
    }
    .columnas-4 {
        flex: 0 0 calc(33.3% - 1rem);
    }
    .columnas-6 {
        flex: 0 0 calc(50% - 1rem);
    }
    .columnas-8 {
        flex: 0 0 calc(66.6% - 1rem);
    }
    .columnas-10 {
        flex: 0 0 calc(83.3% - 1rem);
    }
    .columnas-12 {
        flex: 0 0 100%;
    }
}


/** Anuncios **/

@media (min-width: 768px) {
.contenedor-anuncios {
    display: flex;
    /** Siempre es Etiqueta Padre**/
    justify-content: space-between;
    flex-wrap: wrap;
    /** Siempre es Etiqueta Padre**/
    margin-bottom: 2rem;
    }
}

.anuncio {
    border: 1px solid #B5B5B5;
    background-color: #F5F5F5;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .anuncio {
        flex: 0 0 calc(33.3% - 1rem);
    }
}
.contenido-anuncio {
    padding: 2rem;
}

.contenido-anuncio h3,
.contenido-anuncio p {
    margin: 0;
}

.precio {
    color: #71B100;
    font-weight: 700;
}

.iconos-caracteristicas {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    flex: 1;
    max-width: 500px;
}

.iconos-caracteristicas li {
    /* flex: 1; */
    display: flex;
}

.iconos-caracteristicas li img {
    margin-right: 2rem;
}

.ver-todas {
    display: flex;
    justify-content: space-between;
}


/** Contacto Home **/

.imagen-contacto {
    background-image: url(../img/autos/nueva_punli.jpg);
    background-position: center center;
    background-size: cover;
    height: 50rem;
    display: flex;
    align-items: center;
}

.contenido-contacto {
    flex: 1;
    /**Factor de crecimiento;  detecta cuantos elementos hay, 
    un elememento divide 1000 px entre 1 y le asigna un tamaño. */
    color: #ffffff;
}

.contenido-contacto p {
    font-size: 1.8rem;
}


/** Sección Inferior **/

.seccion-inferior {
    display: flex;
    justify-content:flex-end;
}

.seccion-inferior .blog {
    flex-basis: 60%;
}

.seccion-inferior .testimoniales {
    flex-basis: calc(40% - 2rem);
}

.entrada-blog {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.entrada-blog:last-of-type {
    margin-bottom: 0;
}

.entrada-blog .imagen {
    flex-basis: 40%;
}

.entrada-blog .texto-entrada {
    flex-basis: calc(60% - 3rem);
}

.texto-entrada a {
    color: #000000;
    text-decoration: none;
}

.texto-entrada h4 {
    margin: 0;
    line-height: 1.4;
}

.texto-entrada h4::after {
    content: '';
    display: block;
    width: 15rem;
    height: .5rem;
    background-color: #71B100;
    margin-top: 1rem;
}

.texto-entrada span {
    color: #E08709;
}


/*** Testimoniales **/

.testimonial {
    background-color: #71B100;
    font-size: 2.4rem;
    padding: 2rem;
    color: #ffffff;
    border-radius: 2rem;
}

.testimonial p {
    text-align: right;
}

.testimonial blockquote::before {
    content: '';
    background-image: url(../img/comilla.svg);
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: -2rem;
}

.testimonial blockquote {
    position: relative;
    padding-left: 5rem;
    font-weight: 300;
}


/** Footer **/

.site-footer {
    background-color: #333333;
    margin: 0;
}

.contenedor-footer {
    display: flex;
    justify-content: space-between;
    padding: 3rem 0;
}

.copyright {
    margin: 0;
    color: #ffffff;
}


/** INTERNAS **/


/* Nosotros **/

.contenido-nosotros {
    display: grid;
    /** Funciona mejor que Display: Flex**/
    grid-template-columns: repeat(2, 1fr);
    /** Se Define el layout**/
    grid-column-gap: 2rem;
    /** no es necesario que coloques margin o padding **/
}

.texto-nosotros blockquote {
    font-weight: 900;
    font-size: 2rem;
    margin: 0;
    padding: 1rem 0 3rem;
}


/** Anuncio **/

.resumen-propiedad {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/** Resumen propiedad **/

.resumen-propiedad {
    display: flex;
    justify-content: space-between;
    /** alinea Horizontalmente**/
    align-items: center;
    /** Alinea Verticalmente**/
}


/* Contactos o Formulario */

.contacto p {
    font-size: 1.5rem;
}

legend {
    font-size: 2rem;
    color: #333333;
}

label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
}


/** Seleccionador de atributos input[type="email"] solo afecta a ese atributo**/


/** :not() Esto es una forma de seleccionar un elemento para que no se refleje en x etiqueta **/

input:not([type="submit"]),
textarea,
select {
    padding: 1rem;
    display: block;
    width: 100%;
    background-color: #e1e1ee;
    border: none;
    border-radius: 1rem;
    margin-bottom: 2rem;
    margin-bottom: 1rem;
}

input[type="radio"] {
    width: auto;
    margin: 0;
}


/** Esta etiqueta es para que el padding haga su funcion**/

select {
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    height: 20rem;
}

.forma-contacto {
    max-width: 30rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/** Seccion de Productos  */
.entrada-blog a {
    display: inline-block;
    background-color: #2196F3;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

@media (min-width:768px) {
    .tres-columnas {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
    }
}