html{
    box-sizing: border-box; /*No aumenta los tamaños por los paddins o bordes usados*/
    font-size: 62.5%;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body{
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
}
/*Globales*/
img{
    max-width: 100%; /*Hace que todas las imagenes sean responsivas*/
}
.contenedor{
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
}
h1{
    font-size: 3.8rem;
}
h2{
    font-size: 3.4rem;
}
h3{
    font-size: 3rem;
}
h4{
    font-size: 2.6rem;
}
/*Utilidades*/
.seccion {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.fw-300{
    font-weight: 300;
}
.centrar-texto{
    text-align: center;
}
.d-blog{
    font-display: block!important;
}
.contenido-centrado{
    max-width: 80rem;
}
/*Botones*/
.boton{
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.8rem;
    padding: 1rem 3rem;
    margin-top: 3rem;
    display: inline-block;
    text-align: center;
    border: none;
    display: block;
    flex: 0 0 100%; /*No crece no se encoge y toma el 100%*/
}
@media (min-width: 768px){
    .boton{
        display: inline-block;
        flex: 0 0 auto;
    }
}
.boton:hover{
    cursor: pointer;
}
.boton-amarillo{
    background-color: #e88709;
}
.boton-verde{
    background-color: #71b100;
}


/*Header*/
.site-header{
    background-color: #333333;
    padding: 1rem 0 3 rem 0;
}
.site-header.inicio{
    background-image: url(../img/header.jpg);
    background-position: center center; /*expande la imagen desde el centro*/
    background-size: cover;/*Toma el ancho disponible*/
    height: 100vh;/*viewport detecta el tamaño de la pantalla y se adapta al tamaño*/
    min-height: 60rem;
}
.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: #fff;
    padding-bottom: 2rem;
    max-width: 60rem;
    line-height: 2;
}
.barra{
    padding-top: 3rem;
}
@media (min-width: 768px){
    .barra{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
/*Navegacion*/
.navegacion a{
color: #fff;
text-decoration: none;
font-size: 2.2rem;
display: block;
}
@media (min-width: 768px){
    .navegacion a{
    display: inline-block;
    font-size: 1.8rem;
    margin-right: 2rem;
    } 
    .navegacion a:last-of-type{
        margin: 0;
    }
}
.navegacion a:hover{
    color: #71b100;
}

/*mobile menu*/
.mobile-menu img{
    width: 5rem;
}
@media (min-width: 768px){
    .mobile-menu{
        display: none;
    }
}
.navegacion:target{
    display: block;
}
.navegacion{
    display: none; /*Oculta el menu nav*/
}
@media (min-width: 768px){
    .navegacion{
        display: block;
    }
}
/*Iconos nosotros*/
@media (min-width: 768px){
    .iconos-nosotros{
        display: flex;
        justify-content: space-between;
    }
}
.icono{
    text-align: center;
}
@media (min-width: 768px){
    .icono{
        flex-basis: calc(33.3% -1rem); /*Divide en tres el espacio */
    }
}
.icono h3{
    text-transform: uppercase;
}

/*Anuncios*/
@media (min-width: 768px){
    .contenedor-anuncios{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap; /*Desde el padre posiciona el contenido uno abajo del otro*/
    }
}
.anuncio{
    border: 1px solid #b5b5b5;
    background-color: #f5f5f5;
    margin-bottom: 2rem;
}
@media (min-width: 768px){
.anuncio{
    flex-basis: 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; /*elemento crece limitado por el max-width*/
    max-width: 500px;
}
.iconos-caracteristicas li{
    display: flex; /*coloca la img y el texto uno frente al otro*/
}
.iconos-caracteristicas li img{
    margin-right: 2rem; /*separacion*/
}
.ver-todas{
    display: flex;
    justify-content: flex-end; /*coloca a la derecha*/
}

/*Contacto Home*/
.imagen-contacto{
    background-image: url(../img/encuentra.jpg);
    background-position: center center;
    background-size: cover;
    height:40rem;
    display: flex;
    align-items: center;
}
.contenido-contacto{
    flex: 0 0 95%;
    color: #ffffff;
}
.contenido-contacto p{
    font-size: 1.8rem;
}
/*Seccion inferior*/
@media (min-width: 768px){
    .seccion-inferior{
        display: flex;
        justify-content: space-between;
    }
    .seccion-inferior .blog{
        flex-basis: calc(60%);
    }
    .seccion-inferior .testimoniales{
        flex-basis: calc(40% - 2rem);
    }
}
.entrada-blog{
    margin-bottom: 2rem;
}
@media (min-width: 768px){
    .entrada-blog{
        display: flex;
        justify-content: space-between;
    }
}
.entrada-blog:last-of-type{
    margin-bottom: 0;
}
@media (min-width: 768px){
    .entrada-blog .imagen {
        flex-basis: 40%;
    }
    .entrada-blog .texto-entrada{
        flex-basis: calc(60% - 3rem);
    }
}
.texto-entrada a{
    color: #000;
    text-decoration: none;
}
.texto-entrada h4{
    margin: 0;
    line-height: 1.4;
}
.texto-entrada h4::after{ /*pseudoelemento vacio*/
    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: #fff;
    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: #333;
    margin: 0%;
}
.contenedor-footer{
    padding: 3rem 0;
    text-align: center;
}
@media (min-width: 768px){
    .contenedor-footer{
        display: flex;
        justify-content: space-between;
    }
}
.site-footer nav{
    display: none;
}
@media (min-width: 768px){
    .site-footer nav{
        display: block;
    }
}
.copyright{
    margin: 0;
    color: #fff;
}
/*Paginas*/
@media(min-width: 768px){
    .contenido-nosotros{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap:2rem ;
    }
}
/* Estilos para tabletas (pantallas entre 768px y 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        background-color: lightblue;
    }
}

/* Estilos para escritorios (pantallas mayores a 1024px) */
@media (min-width: 1025px) {
    body {
        background-color: lightgray;
    }
}


.texto-nosotros blockquote {
    font-weight: 900;
    font-size: 2rem;
    margin: 0;
    padding: 1rem 0 3rem 0;
}

/*Paginas contacto*/
.contacto p{
    font-size: 1.4rem;
    color: #4f4f4f;
    margin: 2rem 0 0;
}

legend {
    font-weight: 700;
    color: #4f4f4f;
}

label {
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

input:not([type="submit"]),
textarea,
select {
    padding: 1rem ;
    display: block;
    width: 100%;
    background-color: #e1e1e1;
    margin-bottom: 2rem;
    border: none;
    border-radius: 1rem;
}

input[type="radio"]{
    width: auto;
    margin: 0;
}

select {
    -webkit-appearance: none;
    appearance: none;
}

textarea{
    height: 20rem;
}

.forma-contacto {
    max-width: 30rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

/*Pagina ANUNCIO*/
.resumen-propiedad {
    display: flex;
    justify-content: space-between;
    align-items: center;
}