.contact-us {
    background-image: url(../img/bkg-contac-img.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    margin-bottom: 0;
}

.contact-us__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    max-width: 1140px;

    & .contact-us__title {
        display: flex;
        padding: 6px 16px;
        align-items: flex-start;
        border-radius: 4px;
        border: 1px solid var(--color-white);

        & .contact-us__back {
            color: var(--color-white);
            font-family: var(--font-family-primary);
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.56px;
            text-transform: uppercase;
        }
    }

    & .contact-us__go-back {
        display: flex;
        height: 32px;
        padding: 4px 0px;
        align-items: center;


        & .btn-back {
            color: var(--color-white);
            font-family: var(--font-family-primary);
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.56px;
            text-transform: uppercase;
            text-decoration: none;
            display: flex;
            transition: all .3s ease-in-out;
            -webkit-transition: all .3s ease-in-out;
            -moz-transition: all .3s ease-in-out;
            -ms-transition: all .3s ease-in-out;
            -o-transition: all .3s ease-in-out;

            & svg {
                margin-top: 0px;
                margin-right: 5px;
                transition: var(--transition);
                -webkit-transition: var(--transition);
                -moz-transition: var(--transition);
                -ms-transition: var(--transition);
                -o-transition: var(--transition);
            }

            &:hover {
                & svg {
                    margin-right: 15px;

                }
            }


        }
    }

}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 100px 0;
    gap: 30px;
    height: auto;
}

.contact-text {
    display: flex;
    width: 410px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;

    & h1.h1-title {
        color: var(--color-white);
        margin-bottom: 24px;
    }

    & p.txt-large {
        color: var(--color-white);
    }
}

.contact-form {
    flex: 1;
    max-width: 654px;
    border-radius: 10px;
    width: 654px;
    height: auto;
    flex-shrink: 0;
    border-radius: 25px;
    background: var(--color-white);
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.contact-form h2 {
    font-family: var(--font-family-primary);
    font-size: 32px;
    font-weight: 500;
    line-height: 32px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    background: linear-gradient(41.85deg, #25c3c1 4.8%, #377ef7 98.12%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-bottom: 16px;
}

.contact-form p {
    color: var(--color-gray);
    font-family: var(--font-family-primary);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.22px;
    max-width: 782px;
    width: 100%;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-flow: row wrap;
    gap: 8px;
    justify-content: center;
}

.contact-form form p {
    flex: 1 0 40%;

    & br {
        display: none;
    }
}



.contact-form form p:nth-child(6) {
    flex: 1 0 100%;
}

.contact-form form p:nth-child(7) {
    flex: 1 0 100%;
}

.contact-form form p:nth-child(8) {
    flex: 1 0 100%;
    display: flex;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-top: 0;
    font-size: 16px;
    text-transform: uppercase;

}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 0;
    border: 1px solid var(--color-gc-gray);
    border-radius: 5px;
    font-size: 1rem;
    height: 44px;
    background-color: var(--color-white-gc);
    text-transform: uppercase;
    color: var(--color-gray);
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.14px;
    text-transform: initial;

    &::placeholder {
        color: var(--color-gray);
        opacity: 0.7;
    }
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form input[type="submit"] {
    display: inline-flex;
    background-color: var(--color-yellow);
    color: var(--color-black);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    border-radius: 66px;
    height: 44px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    text-align: center;
    font-family: var(--font-family-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin: 32px auto;
    /* width: fit-content; */
    text-transform: capitalize;
    max-width: max-content;
    width: 100%;
    min-width: 250px;

    &:hover {
        color: var(--color-white) !important;
        background-color: var(--color-black);
    }
}





.contact-map {
    flex: 1;
    max-width: 600px;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

.privacy-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.privacy-text a {
    color: var(--green-color);
    text-decoration: none;
}

.privacy-text a:hover {
    text-decoration: underline;
}



/* Contenedor del campo de Checkboxes */
.wpcf7-form-control.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 5px;
}

/* Cada elemento de la lista */
.wpcf7-list-item {
    display: flex;
    align-items: center;
    background: none;
    border-radius: 8px;
    padding: 0;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
    margin: 0;
    flex: 1 0 50%;
}

/* Cambiar color de fondo al pasar el mouse */
.wpcf7-list-item:hover {
    background-color: var(--color-white-gc);
}

/* Checkbox oculto pero funcional */
.wpcf7-list-item input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

/* Etiqueta del texto junto al checkbox */
.wpcf7-list-item-label {
    font-size: 14px;
    color: var(--color-ultra-dark-gray);
    font-family: var(--font-family-primary);
}

/* Checkbox seleccionado, cambio de fondo */
.wpcf7-list-item input[type="checkbox"]:checked+.wpcf7-list-item-label {
    font-weight: normal;
    color: var(--color-black-gc);
}

.wpcf7-response-output {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    margin-bottom: 16px;
    text-align: left;
    padding: 10px;
    border-radius: 5px;
    font-family: var(--font-family-primary);
    border-color: #D83659 !important;
    display: flex;
    padding: 4px 16px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    /* 22.4px */
    letter-spacing: 0.14px;

}

form.sent .wpcf7-response-output {
    border-color: #00D084 !important;
}

.wpcf7-not-valid-tip {
    color: #e14949;
    font-family: var(--font-family-primary);
    font-weight: normal;
    display: block;
    text-align: left;
    text-transform: capitalize;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0.12px;
    margin-top: 8px;
}

.wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: relative;
    display: none;
}

.contact-form p.privacy-text {
    color: var(--color-gray);
    margin-top: 0;
    text-align: left;
    font-size: 14px;
    line-height: 14px;
    font-family: var(--font-family-primary);
    display: none !important;
}

.h-captcha {
    margin: 1rem 0;
}

@media (max-width: 1200px) {
    .contact-container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .contact-us {
        height: auto;
    }

    .contact-container {
        align-items: center;
        text-align: center;
        max-width: 720px;
        padding: 29px 0;
        flex-flow: column;
    }

    .contact-text {
        height: auto;

    }

    .contact-form,
    .contact-map {
        max-width: 100%;
        width: 100%;
    }

    .wpcf7-list-item {
        display: flex;
        align-items: center;
        background: none;
        border-radius: 8px;
        padding: 0;
        transition: background-color 0.3s ease;
        cursor: pointer;
        border: none;
        margin: 0;
        flex: 0 0 33%;
        justify-content: flex-start;
    }

    .contact-form p {
        color: var(--color-dark-gray);
        font-family: var(--font-family-primary);
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 26px;
        letter-spacing: -0.22px;
        max-width: 782px;
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {


    .contact-us__header {
        padding: 24px;

        & .contact-us__title {
            & .contact-us__back {
                font-size: 10px;
                font-style: normal;
                font-weight: 400;
                line-height: 160%;
                letter-spacing: 0.6px;
                text-transform: uppercase;
            }
        }

        & .contact-us__go-back {
            padding: 4px 0 4px 16px;

            & .btn-back {
                font-size: 10px;
                font-style: normal;
                font-weight: 400;
                line-height: 160%;
                /* 16px */
                letter-spacing: 0.6px;
                text-transform: uppercase;
                display: flex;
                align-items: center;

                & svg {
                    height: 15px;
                }
            }
        }

    }

    .contact-container {
        width: calc(100% - 2rem);
        flex-flow: column;
        padding: 29px 0;
        max-width: 540px;
    }

    .contact-form {
        padding: 2rem 1rem;

        & h2 {
            text-align: left;
        }
    }

    .contact-form form p {
        flex: 1 0 100%;
    }

    .contact-text {
        width: 100%;

        & h1.h1-title {
            color: var(--color-white);
            /* H1 M */
            font-family: var(--font-family-primary);
            font-size: 42px;
            font-style: normal;
            font-weight: 600;
            line-height: 120%;
            /* 50.4px */
            letter-spacing: -0.84px;
            text-align: left;
            margin: 0;
        }

        & p.txt-large {
            color: var(--color-white);
            text-align: left;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 140%;
            /* 19.6px */
            letter-spacing: 0.14px;
        }
    }

    .wpcf7-list-item {
        flex: 0 0 100%;
    }

    .contact-map .info-contact {
        display: flex;
        gap: 0 20px;
        align-items: center;
        margin-top: 20px;
        flex-flow: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }

    .contact-form input {
        height: 32px;
        font-size: 11px;

    }

    .contact-form input[type="submit"] {
        width: 100%;
        max-width: 350px;
        font-size: 16px;
    }

    .contact-form textarea {
        font-size: 11px;
    }

    .contact-form p.privacy-text {
        text-align: left;
    }
}


@media (max-width: 540px) {
    .contact-us {
        background-image: url('../img/bkg-contac-img-mobile.jpg');
        background-size: cover;
    }

}

.contact-form form .eacf7-form-styler {
    display: flex;
    width: 100%;
}

.contact-form form .eacf7-form-101,
.contact-form form .eacf7-form-102 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 0;
    width: 100%;
}

.contact-form form .eacf7-form-101 label,
.contact-form form .eacf7-form-102 label {
    width: 100%;
}

.contact-form form .eacf7-form-101 label.half,
.contact-form form .eacf7-form-102 label.half {
    width: calc(50% - 8px)
}

.contact-form form .send-section,
.contact-form form .send-section {
    min-width: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    gap: 16px;

    & .half {
        min-width: 200px;
    }

}

@media (max-width: 768px) {

    .contact-form form .eacf7-form-101 label.half,
    .contact-form form .eacf7-form-102 label.half {
        width: calc(100%)
    }

    .contact-form form .send-section,
    .contact-form form .send-section {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 16px;
        gap: 16px;
        flex-flow: column;

        & .half {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
			flex-flow: column;
        }

    }
}

@media (max-width: 1200px) {
    .contact-form input[type="submit"] {
        width: 100%;
        min-width: 100%;
        margin: 0 auto;
        margin-bottom: 24px;
    }
}

.h-captcha iframe {
    width: 101% !important;
}