/* --- Variables de Color (¡Buena práctica!) --- */

* {
    box-sizing: border-box;
    overflow-x: none;
}


@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --verde: #005357;
    --verde-oscuro: rgb(0 62 65);
    --naranja: #E84621;
    --naranja-oscuro: rgb(174 53 25);
    --gris: #D4D8DA;
    --gris-claro: #eeeeee;
    --blanco: #FBFBFB;
    --negro: #2E2D2C;
    --rounded: 8px;
}



/* --- Estilos Generales --- */
/* body {
    background-color: var(--gris);
    color: var(--negro);
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
 */
/* --- Contenedor del Formulario --- */
.form-container {
    background-color: var(--blanco);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 440px;
    min-width: 400px;
}

.form-container>h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--verde);
}

/* --- Grupos de Campos (Label + Input) --- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* --- Estilos para Inputs y Textarea --- */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.7rem;
    background-color: var(--gris-claro);
    border: none;
    border-radius: var(--rounded);
    font-size: 1rem;
    box-sizing: border-box; /* ¡La propiedad clave! */
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--verde);
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.25);
}

/* --- Estilo del Botón de Envío --- */


.form-content {
    max-width: 56rem;
    margin: auto;
    text-align: center;
}


.form-section-1 {
    margin-top: 12rem;
    background-image: url('../img/banner3.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    z-index: 0;
    position: relative;
}

.form-content {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.t-form-responsive {display: none;}
.t-form-web {display: block;}

.form-tittles>div>h1 {
    font-size: 2.1rem;
}

.form-tittles {
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12rem;
}

.form-tittles>h1 {margin: 0; padding: 0;}

.form-container {
    position: relative;
    top: -6rem;
}



@media (max-width: 992px) {

    .form-container {
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

    .form-section-1 {
        width: 100%;
        padding: 0rem;
        margin-top: 3rem;
        background-image: none;
        background-size: cover;
        background-position: left center;
        display: flex;
        text-align: center;
    }

    .t-form-responsive {display: block;}
    .t-form-web {display: none;}

    .t-form-responsive>p {margin-bottom: 4rem;}

    form>small {
        margin-top: 1rem;
        font-size: 0.8rem;
    }

    .form-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0rem;
}

    .form-container {
    position: relative;
    top: 0;
}

}