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

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

body {
    font-family: 'open', sans-serif;
    font-size: 1.6rem;
}


/** globales -----------------------------------------------**/
img {
    max-width: 100%;
}
.logo {
    width: 20rem;
    padding-left: 1rem;
}
.contenedor {
    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;
}
@media (min-width: 480) {
    .contenedor {
        max-width: 48rem;
    }
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
}

/**    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: 80rem;
}

/**    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: 80rem;
}

/**    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;
}
.boton:hover {
    cursor: pointer;
}
.boton-servicio {
    /*background-color: #E08709;*/
    background-color:  #773B1F;
}
.boton-verde {
    background-color: #71B100;
    
}

/* Header */
.sitio-header {
    background-color: #333333;
    padding: 0.6rem 0 3rem 0;    
}

.sitio-header.inicio {
    background-image: url(../img/tinaja-1_web.png);
    background-position: center;
    background-size: contain;
    height: 100vh;
    min-height: 60rem;
}
.contenido-header {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contenido-header h1 {
    color: #ffffff;
    padding-bottom: 1rem;
    padding-left: 1rem;
    max-width: 80rem;
    line-height: 10rem;
    font-size: 9rem;
}

.barra {
    display: flex;
    justify-content: space-between;
    padding-top: 0rem;
    align-items: center;    
}


/** Navegacion -----------------------------------------------**/
.navegacion a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    margin-right: 2rem;
}
.navegacion a:hover {
    color: #71B100;
}
.navegacion a:last-of-type {
    margin: 0;
}

/** Servicios -----------------------------------------------**/
.contenedor-servicios {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.servicio {
    /**
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(33.3% - 1rem);
    **/
    flex: 0 0 calc(33.3% - 0.5rem);  
    border: 1px solid #B5B5B5;
    background-color: #F5F5F5;
    margin-bottom: 2rem;
}
.contenido-servicio {
    padding: 1.5rem;
}
.contenido-servicio h3,
.contenido-servicio p {
    margin: 0.3rem 0;
}


/**    Contacto Home: -----------------------------------------------**/
.imagen-contacto {
    background-image: url(../img/encuentra.jpg);
    background-position: center center;
    background: cover;
    height: 40rem;
    display: flex;
    align-items: center;
    
}
.contenido-contacto {
    flex: 1;
    color: #FFFFFF;
}
.contenido-contacto p {
    font-size: 1.8rem;
}


/**    Sección Inferior: -----------------------------------------------**/
.seccion-inferior {
    display: flex;
    justify-content: space-between;
    
}
.seccion-inferior blog {
    flex-basis: 60%;    
}
.seccion-inferior testimonios {
    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: 1.5rem;
    height: .5rem;
    background-color: #71B100;
    margin-top: 1rem;
}
.texto-entrada span {
    color: #E08709;    
}

/**    Testimonios: -----------------------------------------------**/
.testimonio {
    background-color: #71B100;
    font-size: 2.4rem;
    padding: 2rem;
    color: #FFFFFF;
    border-radius: 2rem;
}
.testimonio p {
    text-align: right;
}
.testimonio blockquote::before {
    content: '';
    background-image: url(../img/comilla.svg);
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: -2rem;
}
.testimonio blockquote {
    position: relative;
    padding-left: 5rem;
    font-weight: 300;
}

/**    Footer: **/
.sitio-footer {
    background-color: #333333;
    margin: 0;    
}
.contenedor-footer {
    padding: 3rem 0;
    display: flex;
    justify-content: space-between;
}
.copyright {
    margin: 0;
    color: #ffffff;    
    padding-left: 1rem;
}

/**    Páginas Internas -----------------------------------------------**/
/**    nosotros **/
.contenido-nosotros {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 2rem;
}
.contenido-nosotros blockquote {
    font-weight: 900;
    font-size: 2rem;
    margin: 0;
    padding: 1rem 0 3rem 0;
}
/**    anuncio **/
.resumen-propiedad {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/**    Contacto -----------------------------------------------**/
.contacto p {
    font-size: 1.8rem;
    color: #4f4f4f;
    margin: 0.8rem 0 0.8rem;
}

legend {
    font-size: 2rem;
    color: #4f4f4f;
    padding: .5rem;
}
label {
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}
input:not([type="submit"]),
textarea,
select {
    padding: .5rem;
    display: block;
    width: 99%;
    background: #e1e1e1;
    margin-bottom: 2rem;
    border: none;
    border-radius: 1rem;
}
input[type="radio"] {
    width: auto;
    margin: 0;
}
select {
    -webkit-appearance: none;
    appearance: none;
}
textarea {
    height: 25rem;
}
.forma-contacto {
    max-width: 25rem;
    display: flex;
    justify-content: space-between;        
}
