.contact-section {
    width: 100%;
    height: 50vw;

    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;

    .waiting {


        img {
            position: relative;
            display: flex;
            margin: -5vw auto 2vw auto;
            width: 6vw;
            height: 100%;
        }
    }

    .farmer-section {
        width: 45%;
        height: 100%;

        justify-content: center;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url('../images/farmer.jpg');

    }

    font-size: 1.3vw;
    color: var(--color-main-contrary);

    .contact-pill {
        width: fit-content;
        margin: 35vw auto 0 auto;
        border-radius: 4vw;
        border: 0.1vw solid;
        border-color: var(--color-main-contrary);
        padding: 0.6vw 1vw;
        position: relative;
        cursor: pointer;

        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .networks-logos {
        width: fit-content;
        margin: 0 auto;
        display: flex;
        gap: 0.5vw;
    }

    .network-logo {
        cursor: pointer;

        img {
            height: 3vw;
            width: 100%;
        }
    }

    .form-section {
        width: 55%;
        height: 100%;
        color: var(--color-main);

        .form-title {
            margin: 8vw auto 0vw auto;
            padding: 0;
            color: var(--color-main);
            font-weight: bolder;
            font-size: 5vw;
            line-height: 4vw;
        }

        .contact-form {
            width: 60%;
            margin: 2vw auto;
        }

        .form-text {
            margin: 0vw auto;
            color: var(--color-main);
            font-size: 1.8vw;
            line-height: 3vw;

            span {
                top: -1vw;
                font-size: 2vw;
                font-weight: 600;
            }
        }

        .form-group input {
            border: none;
            border-bottom: 0.1vw solid var(--color-main);
            width: 100%;
            padding: 1vw 0;
            margin-bottom: 1vw;
            font-size: 1vw;
            color: var(--color-main);
            outline: none;
            box-sizing: border-box;
        }

        .form-group span {
            position: relative;
            height: 0;
            margin: 0;
            padding: 0;
            font-size: 0.6vw;
            line-height: 0vw;
            display: flex;
            color: red;
        }


        /* ------------------ DISEÑO DE COLUMNAS (Flexbox) ------------------ */

        .form-row {
            display: flex;
            gap: 2vw;
            /* Espacio entre Nombre y Teléfono */
        }

        .form-row .form-group {
            text-align: left;
            flex: 1;
            /* Distribuye el espacio restante por igual (50% cada uno) */
            min-width: 45%;
            /* Asegura que no se contraigan demasiado */
        }

        .form-group.full-width {
            text-align: left;
            width: 100%;
        }

        /* ------------------ ESTILOS DEL BOTÓN ------------------ */

        .button-group {
            display: flex;
            justify-content: flex-end;
            width: 100%;
        }

        .submit-button {
            background-color: var(--color-footer);
            color: var(--color-main-contrary);
            border: none;
            cursor: pointer;

            border-radius: 3vw;
            padding: 1vw 3vw;
            font-size: 1vw;
            font-weight: 500;

            box-shadow: 0 0.4vw 0.6vw rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s ease;
        }

        .submit-button:hover {
            background-color: var(--color-main);
            box-shadow: 0 0.6vw 0.8vw rgba(0, 0, 0, 0.15);
        }

    }

    #direccion {
        position: absolute;
        left: -9998px;
    }

}


@media (max-width: 768px) {

    .contact-section {
        height: auto;
        flex-direction: column;

        color: var(--color-main);
        font-size: 2.2vw;

        .waiting {
            img {
                position: relative;
                display: flex;
                margin: -2vw auto;
                width: 5vw;
                height: 100%;
            }
        }

        .farmer-section {
            order: 1;
            width: 100%;
            height: auto;
            padding: 5vw 0;

            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            background-image: none;
            background-color: transparent;
        }

        .farmer-section p {
            margin: 2vw auto;
        }

        .contact-pill {
            margin: 0 0 3vw 0;
            border-color: var(--color-main);
            padding: 1.5vw 2.5vw;
            font-size: 2.5vw;
            width: fit-content;
        }

        .networks-logos {
            gap: 4vw;
            margin: 3vw auto 0 auto;
        }

        .network-logo {
            img {
                height: 7vw;
                width: auto;
            }
        }

        .form-section {
            order: 0;
            width: 100%;
            height: 72vw;

            .form-title {
                margin: 4vw auto 0vw auto;
                font-size: 6vw;
                line-height: 6vw;
            }

            .contact-form {
                width: 70%;
                margin: 4vw auto;
            }

            .form-text {
                font-size: 2.6vw;
                line-height: 5vw;

                span {
                    top: -1vw;
                    font-size: 2.6vw;
                }
            }

            .form-group input {
                padding: 2vw 0;
                margin-bottom: 2vw;
                font-size: 2.6vw;
            }

            .form-group span {
                font-size: 2vw;
                color: red;
            }


            /* ------------------ DISEÑO DE COLUMNAS (Flexbox) ------------------ */

            .form-row {
                display: flex;
                gap: 2vw;
                /* Espacio entre Nombre y Teléfono */
            }

            .form-row .form-group {
                text-align: left;
                flex: 1;
                /* Distribuye el espacio restante por igual (50% cada uno) */
                min-width: 45%;
                /* Asegura que no se contraigan demasiado */
            }

            .form-group.full-width {
                text-align: left;
                width: 100%;
            }

            /* ------------------ ESTILOS DEL BOTÓN ------------------ */

            .button-group {
                justify-content: center;
            }

            .submit-button {
                border-radius: 5vw;
                padding: 1.4vw 5vw;
                font-size: 2.6vw;
            }

        }
    }

}