@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Raleway:wght@300&display=swap');

* {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    /* elimina scroll horizontal */
}

/* --------- Tipografía --------- */

h1 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 0.5em;
}

h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 0.5em;
}

h3 {
    font-weight: bold;
    font-size: 25px;
    color: #3a2e05;
    text-align: center;
    margin-bottom: 0.5em;
}

h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0.5em;
}

p {
    font-weight: 400;
    font-size: 16px;
    line-height: 35px;
}

li {
    list-style: none;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

@media screen and (min-width: 768px) {
    h1 {
        font-size: 54px;
        line-height: 64px
    }

    h2 {
        font-size: 45px;
        line-height: 64px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 22px;
    }

    p {
        font-size: 20px;
    }
}

/* --------- Botones --------- */

.btn {
    text-align: center;
    background-color: #c3c359;
    color: #3b330f;
    font-size: 20px;
    font-weight: 600;
    padding: 0.5em 1.7em;
    border-radius: .5em;
    margin: 1em 0;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #4d3f2b;
    text-decoration: none;
    font-weight: 800;
}

.btn:disabled,
.btn[disabled] {
    filter: grayscale(1);
    cursor: default;
}

.btn-wsp {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.btn-wsp:hover {
    background: #20b955;
    color: #fff;
}


.btn-wsp__icon {
    width: 28px;
    /* tamaño del ícono */
    height: 28px;
    filter: brightness(0) invert(1);
    /* 🔹 lo vuelve blanco */
    align-items: center;
}

.btn-logo {
    position: fixed;
    top: 20px;       /* distancia desde arriba */
    left: 20px;      /* distancia desde la izquierda */
    z-index: 1000;   /* siempre por encima del contenido */
    display: inline-block;
    border-radius: 50%;
    background: #fff;     /* fondo blanco opcional detrás del logo */
    padding: 3px;         /* espacio entre imagen y fondo */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* sombra ligera */
}

.btn-logo img {
    height: 70px;    /* tamaño del logo */
    width: auto;
    display: block;
}

/* --------- Intro --------- */

.intro {
    margin-bottom: 3em;
    height: 90vh;
    border-bottom-left-radius: 3em;
    border-bottom-right-radius: 3em;
    background-image: url("../imagenes/index_intro.JPG");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
  .intro {
    background-attachment: scroll; /* o directamente sacalo */
  }
}

.intro h1,
.intro h3 {
    color: #fff;
}

.textIntro {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --------- Sección proyectos --------- */

.proyecto__container {
    margin-top: 2em;
    margin-bottom: 4em;
}

.proyecto__img-container img {
    width: 100%;
    border-radius: 3em;
}

.proyecto__text-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .img2 {
        transform: translateX(55%);
    }

    .text2 {
        transform: translateX(-200%);
    }
}

/* --------- Sección por qué elegirnos --------- */

.porQueElegirnos {
    margin: 4em 0;
    background-color: #b4943e;
    min-height: 15em; /* altura mínima, pero puede crecer */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2em;
    padding: 1em;
    text-align: center; /* para que quede prolijo en celus */
}

.porQueElegirnos__h2container {
    color: #3b330f;
}

/* --------- Footer --------- */

.footer {
    background-color: #524621;
    margin-top: 8em;
    color: #fff;
    padding: 4em 0 2em 0;
}

.footer__form-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.footer__form {
    background-color: #cab17fcb;
    /* beige */
    border: 2px solid #A67B5B;
    border-radius: 1em;
    width: 90%;
    max-width: 700px;
    position: relative;
    padding-top: 3em;
    /* este valor hace que sobresalga */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    /* un poquito de sombra para destacarlo */
}

/* Estilos para inputs y textarea */
.footer__form input,
.footer__form textarea {
    width: 100%;
    padding: 0.8em 1em;
    margin-bottom: 1em;
    border-radius: 0.5em;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
}

.footer__form input:focus,
.footer__form textarea:focus {
    border-color: #000000;
    box-shadow: 0 0 4px rgba(8, 3, 87, 0.3);
}

.footer-link {
    text-decoration: none;
    color: #fff;
}

.footer-link:hover {
    color: #F5FF90;
    font-weight: bold;
}

.footer__checkbox {
    display: flex;
    align-items: center;
    /* Alinea checkbox y texto */
    gap: 0.5em;
    /* espacio entre ellos */
    font-size: 15px;
    color: #877560;
}

.footer__checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6B4226;
    /* rojo criollo */
    cursor: pointer;
}

.footer__checkbox a {
    color: #6B4226;
    text-decoration: underline;
}

/* --------- Botón WhatsApp fijo --------- */

.btn-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    /* Verde WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* redondo */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    /* tamaño del ícono */
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: background 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #20b955;
}

.qs__img-container {
    display: flex;
    justify-content: center;
    /* centra la imagen en el div */
    align-items: center;
}

.qs__img {
    max-width: 80%;
    /* la imagen nunca supera el 80% del ancho del contenedor */
    height: auto;
    /* mantiene proporciones */
    border-radius: 12px;
    /* opcional: esquinas redondeadas */
}

.footer__icon {
    width: 1em;
    /* ancho igual al tamaño de la fuente */
    height: 1em;
    /* alto igual al tamaño de la fuente */
    vertical-align: middle;
    /* se alinea al centro del texto */
    margin-right: 6px;
    /* pequeño espacio con el texto */
    filter: brightness(0) invert(1);
    /* 🔹 vuelve el ícono blanco */
}