.contact-intro {
    background-color: #fff;
    padding-top: 200px;
    padding-bottom: 0;
}

.contact-intro-head {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    display: block;
}

.contact-intro-body {
    margin-top: 70px;
    margin-bottom: 0;
    padding-bottom: 167px;
}

.contact-intro-head-inner {
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-intro-subtitle {
    text-transform: uppercase;
    margin-top: 160px;
    font-size: 14px;
}

.contact-intro-title {
    text-align: left;
    -webkit-text-stroke-color: #242320;
    text-transform: uppercase;
    width: 100%;
    max-width: 910px;
    margin-top: 0;
    font-size: 57px;
    font-weight: 400;
    line-height: 60px;
}

.contact-intro-title.contact-intro-title-first {
    margin-left: 130px;
}

.contact-intro-head-inner-line {
    background-color: #777;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 1px;
    margin-top: 20px;
}

.contact-intro-body-inner {
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0;
    display: flex;
}

.contact-intro-body-inner-left {
    width: 100%;
    max-width: 360px;
    margin-top: 0;
}

.contact-intro-body-inner-right {
    width: 100%;
    max-width: 824px;
    margin-top: 0;
}

.contact-intro-body-inner-description {
    max-width: 100%;
    font-size: 20px;
    line-height: 27px;
}

.field-label {
    color: #000;
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
}

.form-input {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    width: 100%;
    display: block;
    position: relative;
}

.contact-form .form-input.required::after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: block;
    content: '';
    width: 12px;
    height: 10px;
    background: url('https://grupoas.mx/img/input-valid.svg') center center no-repeat;
    opacity: 0;
    transition: 0.3s;
}

.contact-form .form-input.required.valid::after {
    opacity: 1;
}

.form-block {
    min-height: 802px;
}

.form-success-message {
    text-align: center;
}

.form-success-message .title {
    color: #000;
    font-size: 43.209px;
    font-style: normal;
    line-height: 58.333px;
    margin-top: -60px;
}

.form-success-message .subtitle {
    color: #000;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    line-height: 27.974px;
    margin-top: 37px;
}

.contact-form .form-input {
    grid-template-columns: 1fr;
}

.contact-form .w-input,
.contact-form .w-select,
.contact-form .custom-dropdown .custom-dropdown-selected {
    border: none;
    border-bottom: 1px solid #777777;
}

.contact-form .custom-dropdown .custom-dropdown-selected {
    position: relative;
}

.contact-form .custom-dropdown .custom-dropdown-selected::after {
    display: block;
    content: '';
    background: url('https://grupoas.mx/img/select-arrow.svg') center center no-repeat;
    width: 9px;
    height: 9px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.contact-form .custom-dropdown.open .custom-dropdown-selected::after {
    transform: rotate(180deg);
}

.form-group-grid-2 {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    width: 100%;
    display: grid;
}

.text-field-2 {
    color: #000;
    width: 100%;
    height: 55px;
    font-size: 24px;
    line-height: 34px;
}

.text-field-2::placeholder {
    color: #d4d4d4;
}

.textarea {
    height: 340px;
    font-size: 24px;
    line-height: 34px;
}

.form-inner {
    grid-column-gap: 50px;
    grid-row-gap: 50px;
}

.form-inner-bottom {
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
}

.form-inner-bottom-terms {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.form-inner-bottom-terms-text {
    color: #9b9b9b;
    max-width: 350px;
    font-size: 12px;
    line-height: 16px;
}

.checkbox-label {
    display: none;
}

.checkbox {
    border-radius: 0;
    width: 25px;
    height: 25px;
}

.submit-button-2 {
    display: none;
}

.form-submit-button {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    border-bottom: 0 #000;
    align-items: center;
    margin-top: 0;
    text-decoration: none;
    display: flex;
    background: transparent;
}

.form-submit-button-icon-wp {
    width: 54px;
    height: 54px;
    position: relative;
    overflow: hidden;
}

.form-submit-button-icon {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.contact-intro-head-inner-head {
    max-width: 580px;
}

.recaptcha {
    display: none;
}

.form-error-message {
    color: #ff0000e6;
    font-size: 12px;
    line-height: 16px;
    position: absolute;
    opacity: 0;
}

.select-field {
    height: 55px;
    display: none;
}

.whatsapp {
    bottom: 100px;
}

/* custom-dropdown */

.custom-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.custom-dropdown-selected {
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #3A3A3A;
    font-size: 24px;
    line-height: 34.486px;
}

.custom-dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background-color: #fff;
    display: none;
    /* Oculto por defecto */
    overflow-y: auto;
    z-index: 1000;
    padding: 42px 29px;
    flex-direction: column;
    align-items: flex-start;
    gap: 23px;
    background: #242320;
    list-style: none;
    margin-top: 4px;
}

.custom-dropdown-options li {
    color: rgba(255, 253, 253, 0.30);
    font-size: 24px;
    font-style: normal;
    line-height: 34.486px;
    border-bottom: 0.5px solid #777;
    width: 100%;
    padding-bottom: 23px;
}

.custom-dropdown-options li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.custom-dropdown-options li:hover {
    color: #FFFDFD;
}

@media screen and (max-width: 1025px) {

    .custom-dropdown-selected,
    .custom-dropdown-options li {
        font-size: 18px;
    }

    .contact-intro {
        padding-bottom: 89px;
    }

    .contact-intro-head-inner {
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        flex-flow: column;
        align-items: flex-start;
    }

    .contact-intro-subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    .contact-intro-title {
        text-align: left;
        font-size: 27px;
        line-height: 33px;
    }

    .contact-intro-title.contact-intro-title-first {
        width: auto;
        max-width: 100%;
        margin-left: 60px;
        font-size: 27px;
        line-height: 33px;
    }

    .contact-intro-head-inner-line {
        grid-column-gap: 85px;
        grid-row-gap: 85px;
        flex-flow: column;
        align-items: flex-start;
    }

    .contact-intro-body-inner {
        flex-flow: column;
    }

    .contact-intro-body-inner-left {
        width: auto;
        max-width: 490px;
    }

    .contact-intro-body-inner-right {
        max-width: 824px;
        margin-top: 185px;
    }

    .contact-intro-body-inner-description {
        font-size: 16px;
        line-height: 22px;
    }

    .form-group-grid-2 {
        grid-column-gap: 50px;
        grid-row-gap: 50px;
        grid-template-columns: 1fr;
    }

    .text-field-2,
    .textarea {
        font-size: 18px;
    }

    .form-inner-bottom {
        grid-column-gap: 84px;
        grid-row-gap: 84px;
        flex-flow: column;
    }

    .contact-intro-head-inner-head {
        max-width: 100%;
        font-size: 26px;
        line-height: 33px;
    }

    .form-block {
        overflow: visible;
    }

    .recaptcha {
        width: 280px;
        overflow: hidden;
    }
}