html {
    scroll-behavior: smooth;
}

#galeria {
    scroll-margin-top: 1.875rem;
}

#servicios,
#contacto {
    scroll-margin-top: 5rem;
}

#presupuesto {
    scroll-margin-top: 6.875rem;
}

.limite-ancho {
    width: 100% !important;
    max-width: 1400px !important;
    margin: auto;
}

.limite-ancho2 {
    width: 100% !important;
    max-width: 1050px !important;
    margin: auto;
    display: flex;
    justify-content: center;
}

/* BARRA DE NAVEGACIÓN */

.nav {
    background-color: white;
    min-height: 5rem;
    display: flex;
    justify-content: center;
    z-index: 5;
    position: fixed;
    width: 100%;
    padding: 1rem 0;
}

.nav-container {
    width: 95%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 85% 15%;
    align-items: center;
    justify-items: center;
}

.nav-container__logo {
    display: grid;
    grid-template-columns: 63% 37%;
    gap: .3125rem;
    justify-self: left;
}

.nav-container__logo h1 {
    color: #5D4032;
    font-family: "Playfair Display", serif;
    font-size: 1.4375rem;
    margin: 0;
    font-weight: bold;
}

.nav-container__logo--green {
    color: #6C9B4B !important;
}

.nav-container__hamburger {
    display: grid;
    justify-self: left;
    max-height: 3.125rem;
    max-width: 3.125rem;
}

.nav-container__hamburger i {
    color: #5D4032;
    max-height: 3.125rem;
    max-width: 3.125rem;
    font-size: 2rem;
}

.nav-container__menu {
    grid-column: 1 / 3;
    min-width: 95%;
    display: none;
}

.nav-container__menu ul {
    margin-top: 1.2rem;
    padding: 0;
    display: grid;
    gap: 2rem;
}

.nav-container__menu ul a {
    text-decoration: none;
    color: inherit;
}

.nav-container__menu ul a li {
    list-style: none;
    color: #5D4032;
    transition: color 0.2s ease;
}

.nav-container__menu ul a li:hover,
.nav-container__menu ul a li:focus,
.nav-container__menu ul a li:active {
    color: #5d4032c4;
}

.nav-container__button {
    grid-column: 1 / 3;
    display: none;
    width: 95%;
}

.nav-container__button button {
    width: 100%;
    background-color: #5D4032;
    color: white;
    border: none;
    border-radius: .625rem;
    margin: .625rem 0;
    padding: .5rem 0;
    transition: background-color 0.2s ease, border 0.2s ease;
}

.nav-container__button button:active,
.nav-container__button button:focus,
.nav-container__button button:hover {
    background-color: #483227;
}

/* FIN DE LA BARRA DE NAVEGACIÓN */

/* HERO */

.seccionHero div img {
    margin-top: 5rem;
    min-height: 90vh;
    object-fit: cover;
    filter: brightness(60%);
}

.contenidoSeccionHero {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.contenidoSeccionHero h2 {
    font-family: "Playfair Display", serif;
    font-weight: bold;
    font-size: 2.2rem;
}

.contenidoSeccionHero p {
    font-size: 1.2rem;
}

.contenidoSeccionHero button {
    max-width: max-content;
    padding: 0.7rem 2rem 0.7rem 2rem;
    border-radius: 0.8rem;
    font-size: 1.2rem;
}

.botonVisita {
    background-color: #6C9B4B;
    border: #6C9B4B;
    transition: background-color 0.2s ease, border 0.2s ease;
}

.botonVisita:hover,
.botonVisita:active,
.botonVisita:focus {
    background-color: #6c9b4be0 !important;
    border: #6c9b4be0 !important;
}

.botonGaleria {
    background-color: white;
    border: white;
    color: #5D4032;
    transition: background-color 0.2s ease, border 0.2s ease;
}

.botonGaleria:hover,
.botonGaleria:focus,
.botonGaleria:active {
    background-color: rgba(255, 255, 255, 0.867) !important;
    border: rgba(255, 255, 255, 0.867) !important;
    color: #5D4032 !important;
}

.contenedorButtonSeccionHero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* FIN DEL HERO */

/* INFORMACIÓN */

.seccionInformacion {
    background-color: #EBE4D6 !important;
    padding: 5rem 0;
}

.container-informacion {
    width: 95%;
    max-width: 1350px;
    display: flex;
    flex-direction: column;
    justify-self: center;
}

.seccionInformacion_img img {
    max-width: 100%;
    min-height: 100%;
    border-radius: .9375rem !important;
    object-fit: cover;
}

.seccionInformacion h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #5D4032;
    margin-top: 2.5rem;
}

.seccionInformacion p {
    color: #5d4032c5;
    margin-top: 1.2rem;
    font-size: 1.1rem;
}

.seccionInformacion p:nth-of-type(2) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5d4032c5;
    margin-top: 1.2rem;
    font-size: 1rem;
    font-weight: bold;
}

.seccionInformacion i {
    font-size: 1.5rem;
    color: #6C9B4B;
}

.seccionInformacion_rigth img {
    width: 1.25rem;
}

.cuadradosSeccionInformacion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-content: center;
    max-width: 100%;
    align-content: center;
}

.tarjetaCuadradaSeccionInformacion {
    background-color: white;
    text-align: center;
    border-radius: .9375rem;
    padding: 0 .3125rem;
    min-width: 140px;
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3125rem;
}

.tarjetaCuadradaSeccionInformacion:hover {
    transform: translateY(-.3125rem);
}

.tarjetaCuadradaSeccionInformacion p {
    font-size: 1rem;
    color: black;
    margin: 0 0 0.7rem 0;
}

.tarjetaCuadradaSeccionInformacion img {
    height: 2.5rem;
    width: 2.2rem;
    margin: .5625rem 0 0 0;
}

/* FIN DE INFORMACIÓN */

/* SERVICIOS */

.seccionServicios {
    background-color: #5D4032;
    display: flex;
    justify-content: center;
}

.contenedorSeccionServicios {
    max-width: 95%;
    padding: 5rem 0 5rem 0;
}

.contenedorSeccionServicios h2 {
    text-align: center;
    color: white;
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    font-weight: bold;
}

.contenedorSeccionServicios p {
    text-align: center;
    color: white;
    padding: 1rem 0 2.5rem 0;
    font-size: 1.2rem;
}

.cardFondo {
    border-radius: 1.25rem;
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cardFondo:hover {
    transform: translateY(-0.5rem);
}

.cardIMG img {
    width: 100%;
}

.cardIMG,
.cardIMG img {
    border-radius: 1.25rem 1.25rem 0 0;
}

.cardTitulo {
    padding: 1.5rem 2rem 0 2rem;
    display: flex;
    align-items: center;
    background-color: white;
}

.cardTitulo img {
    width: 2rem;
}

.cardTitulo h2 {
    text-align: left;
    color: #5D4032;
    margin: 0;
    font-size: 1.6rem;
    padding-left: 0.5rem;
}

.cardParrafo {
    padding: 1.3rem 2rem 1rem 2rem;
    background-color: white;
    border-radius: 0 0 1.25rem 1.25rem;
    flex: 1;
}

.cardParrafo p {
    color: #5D4032;
    text-align: left;
    font-size: 0.95rem;
    padding: 0;
}

.cardFondo:nth-of-type(2) {
    margin-top: 2.5rem;
}

/* FIN DE SERVICIOS */

/* GALERIA */

.seccionGaleria {
    background-color: #F9F8F6;
    display: flex;
    justify-content: center;
}

.contenedorSeccionGaleria {
    width: 95%;
    max-width: 1400px;
    padding: 5rem 0 5rem 0;
}

.contenedorSeccionGaleria h2 {
    text-align: center;
    color: #5D4032;
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    font-weight: bold;
}

.contenedorSeccionGaleria p {
    text-align: center;
    color: #5D4032;
    padding: 1rem 0 2.5rem 0;
    font-size: 1.2rem;
    transition: visibility 0.1s ease;
}

.botonesSeccionGaleria {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.botonesSeccionGaleria button {
    background-color: #F9F8F6;
    border-color: #5D4032;
    color: #5D4032;
    border-radius: .625rem;
    margin-bottom: 3rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.botonesSeccionGaleria button:focus,
.botonesSeccionGaleria button:hover,
.botonesSeccionGaleria button:active {
    background-color: #5D4032 !important;
    border-color: #5D4032 !important;
    color: white;
}

.divImagenesGaleria {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contenedorIMGSeccionGaleria {
    position: relative;
    border-radius: 1.25rem;
    transition: opacity 180ms ease, transform 180ms ease;
    will-change: transform, opacity;
}

/* fade-out visual previa a la remoción del elemento del layout */
.fade-out {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/* items que están "en proceso" de aparecer */
.pre-enter {
    opacity: 0;
    transform: scale(0.95);
}

.imgSeccionGaleria img {
    max-width: 100%;
    height: 20.3125rem;
    border-radius: 1.25rem;
    object-fit: cover;
    transition: filter 0.5s ease;
}

.imgSeccionGaleria p {
    visibility: hidden;
    color: white;
    position: absolute;
    top: 79%;
    left: 8%;
    font-weight: 400;
}

.contenedorIMGSeccionGaleria div img {
    transition: transform 0.3s ease;
}

.contenedorIMGSeccionGaleria:hover div img,
.contenedorIMGSeccionGaleria:focus div img,
.contenedorIMGSeccionGaleria:active div img {
    transform: scale(1.06);
}

.contenedorIMGSeccionGaleria:hover p,
.contenedorIMGSeccionGaleria:hover p,
.contenedorIMGSeccionGaleria:active p {
    visibility: visible;
}

.divBotonIG {
    display: flex;
    justify-content: center;
}

.botonIG {
    text-decoration: none;
    color: #6C9B4B;
    font-size: 1.1rem;
    display: flex;
    gap: .625rem;
    margin-top: 2.5rem;
    transition: color 0.2s ease;
    max-width: max-content;
}

.botonIG:hover {
    color: #496932;
}

/* FIN DE GALERÍA */

/* UBICACIÓN Y CONTACTO */

.seccionUbicacion {
    background-color: #EBE4D6;
    padding: 4rem 0;
    display: grid;
    justify-items: center;
}

.seccionUbicacion h2 {
    font-family: "Playfair Display", serif;
    font-weight: bold;
    color: #5D4032;
    font-size: 2.2rem;
    text-align: center;
}

.containerUbicacion {
    width: 95%;
    max-width: 1150px;
    display: grid;
    justify-items: center;
}

.seccionUbicacion .limite-ancho {
    justify-items: center;
}

.seccionUbicacion_title {
    text-align: center;
}

.divSeccionUbicacion {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-self: center;
    padding: 0;
}

.mapaSeccionUbicacion {
    margin-top: 3rem;
    border-radius: 1.25rem;
    overflow: hidden;
}

.mapaSeccionUbicacion iframe {
    width: 100% !important;
    height: 18.75rem;
}

.direccionSocialSeccionUbicacion {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    margin-top: 1rem;
}

.contenidoDireccionRRSS {
    max-width: 100%;
    display: flex;
    gap: 1rem;
}

.bi-geo-alt-fill {
    font-size: 1.3rem;
    color: #6C9B4B;
}

.contenido2 h2 {
    text-align: left !important;
}

.contenidoDireccionRRSS h2 {
    font-size: 1.1563rem;
}

.contenidoDireccionRRSS p {
    font-size: 1rem;
    color: #5d4032c5;
}

.contenidoDireccionRRSS p:nth-of-type(2) {
    font-size: .875rem;
}

.btnGoogleMaps {
    background-color: #F9F8F6;
    color: #6C9B4B;
    border-color: #6C9B4B;
    outline-color: #6C9B4B;
    border-radius: .625rem;
    width: 100%;
    font-size: .9375rem;
    margin-top: .5rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, outline-color 0.2s ease;
}

.btnGoogleMaps:hover,
.btnGoogleMaps:focus,
.btnGoogleMaps:active {
    background-color: #6C9B4B !important;
    color: white !important;
    border-color: #6C9B4B !important;
    outline-color: #6C9B4B !important;
}

.iconosRRSS {
    display: flex;
    gap: 1rem;
}

.iconosRRSS--icon {
    background-color: #6C9B4B;
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.iconosRRSS--icon:hover,
.iconosRRSS--icon:active,
.iconosRRSS--icon:focus {
    background-color: #5e8641 !important;
}

.iconosRRSS--icon i {
    color: white;
    font-size: 1.125rem;
}

.contenidoRRSS {
    margin-top: 2rem;
    border-top: .0313rem solid rgba(128, 128, 128, 0.312);
}

.contenidoRRSS h2 {
    font-size: 1.1563rem;
    text-align: left !important;
    margin: 2rem 0 1.125rem 0;
}

.contenedorFormulario {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1.25rem;
    margin-top: 3rem;
    min-width: 100%;
    justify-self: center;
}

.tituloFormulario {
    padding: 2.2rem 1.5rem 0 1.5rem;
    width: 100%;
}

.tituloFormulario h2 {
    font-size: 1.5625rem;
    font-weight: bold;
    text-align: left !important;
    font-family: "Playfair Display", serif;
    color: #5D4032;
}

.formulario {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: .625rem 1.5rem 2.1rem 1.5rem;
}

.formulario form {
    width: 100%;
}

.formulario form div {
    text-align: left;
    font-size: .875rem;
}

.formulario form div label {
    margin-top: 1rem;
}

.label1 {
    margin-top: 0;
}

.formulario form div input,
.formulario form div textarea {
    border-radius: .625rem;
    background-color: #F9F8F6;
}

.formulario form div input,
.formulario form div input:hover,
.formulario form div input:active,
.formulario form div input:focus,
.formulario form div textarea,
.formulario form div textarea:hover,
.formulario form div textarea:active,
.formulario form div textarea:focus {
    border-radius: .625rem !important;
    outline: none;
    box-shadow: none;
    border-color: #EBE7E0;
    background-color: #F9F8F6 !important;
}

.formulario form div textarea {
    min-height: 6rem;
}

.formulario form button {
    width: 100%;
    background-color: #6C9B4B;
    border-color: #6C9B4B;
    outline-color: #6C9B4B;
    border-radius: .625rem;
    padding: .5625rem 0;
    margin-top: .625rem;
    font-size: 1.125rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, outline-color 0.2s ease;
}

.formulario form button:hover,
.formulario form button:active,
.formulario form button:focus {
    background-color: #618b43 !important;
    border-color: #618b43 !important;
    outline-color: #618b43 !important;
    border-radius: .625rem;
    padding: .5625rem 0;
    margin-top: .625rem;
    font-size: 1.125rem;
}

/* FIN DE GALERÍA */

/* FOOTER */

.footer {
    background-color: #5D4032;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3.125rem;
}

.footer__container {
    width: 90%;
}

.footer_text1 {
    max-width: 90%;
    color: white;
    display: flex;
    flex-direction: column;
    gap: .3125rem;
}

.footer_text1 h2 {
    font-size: 1.4375rem;
    font-family: "Playfair Display", serif;
    font-weight: bold;
}

.footer_text2 {
    margin-top: 1.25rem;
    width: 90%;
    color: white;
}

.footer_text2 h2 {
    font-size: 1.4375rem;
    font-family: "Playfair Display", serif;
    font-weight: bold;
}

.footer_text2-links {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.footer_text2-links a {
    text-decoration: none;
    color: white;
    max-width: max-content;
    transition: color 0.2s ease;
}

.footer_text2-links a:hover,
.footer_text2-links a:focus,
.footer_text2-links a:active {
    color: rgba(255, 255, 255, 0.774);
}

.footer_text3 {
    width: 90%;
    margin-top: 2.1875rem;
}

.footer_text3 h2 {
    color: white;
    font-size: 1.4375rem;
    font-family: "Playfair Display", serif;
    font-weight: bold;
}

.footer_text3-rrss {
    display: flex;
    gap: 1rem;
}

.footer_text3-rrss--icon {
    margin-top: .625rem;
    background-color: rgba(255, 255, 255, 0.06);
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.footer_text3-rrss--icon:hover,
.footer_text3-rrss--icon:active,
.footer_text3-rrss--icon:focus {
    background-color: rgba(255, 255, 255, 0.189);
}

.footer_text3-rrss--icon i {
    color: white;
    font-size: 1.125rem;
}

.footer_text3 p {
    margin: 1.5625rem 0;
    color: white;
    font-size: .875rem;

}

.footer_text4 {
    width: 100%;
    color: white;
    text-align: center;
    padding: 2rem 0;
    border-top: .0313rem solid rgba(255, 255, 255, 0.163);
}

@media (min-width: 640px) {
    .contenedorButtonSeccionHero {
        flex-direction: row;
    }

    .divImagenesGaleria {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cuadradosSeccionInformacion {
        grid-template-columns: repeat(4, 1fr);
    }

    .contenedorSeccionServicios_cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 680px) {
    .contenedorSeccionServicios_cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cardFondo:nth-of-type(2) {
        margin: 0;
    }

    .footer_text1 {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .nav-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-container__menu ul a {
        width: min-content;
    }

    .nav-container__hamburger {
        display: none;
    }

    .nav-container__menu {
        display: grid;
        grid-column: 2/3;
    }

    .nav-container__menu ul {
        display: grid;
        grid-auto-flow: column;
        gap: 1.25rem;
        grid-column: 2/3;
    }

    .nav-container__button {
        grid-column: 3/4;
        display: grid;
        justify-content: end;
    }

    .nav-container__button button {
        width: max-content;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card-title {
        font-size: 3.5625rem !important;
    }

    .indexP {
        font-size: 1.375rem !important;
    }

    .seccionInformacion_rigth h2 {
        font-size: 2.3125rem !important;
    }

    .contenedorSeccionServicios__title {
        font-size: 3.125rem !important;
    }

    .seccionUbicacion_title {
        font-size: 3.125rem !important;
    }

    .footer__container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        max-width: 1400px;
    }

    .footer_text1 {
        height: 100%;
        flex-direction: column;
    }

    .footer_text2 {
        padding: 0;
        margin: 0;
        margin-bottom: 1.875rem;
    }

    .footer_text3 {
        margin: 0;
        height: 100%;
    }

    .footer_text4 {
        grid-column: 1 / 4;
        display: grid;
        align-content: center;
    }
}

@media (min-width: 991px) {
    .container-informacion {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .seccionInformacion h2 {
        margin: 0;
    }

    .divImagenesGaleria {
        grid-template-columns: repeat(3, 1fr);
    }

    .containerUbicacion {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        width: 95%;
    }

    .containerUbicacion h2 {
        grid-column: 1 / 3;
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .card-title {
        font-size: 5rem !important;
        max-width: 1000px;
    }
}

@media (min-width: 1400px) {
    .contenedorSeccionServicios {
        max-width: 100%;
    }

    .seccionHero div img {
        max-height: 90vh;
    }
}