.rgo-contact-wrap {
    width: 100%;
    font-family: inherit;
    color: #26343D;
}

.rgo-contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.rgo-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.rgo-contact-field {
    width: 100%;
}

.rgo-contact-field input,
.rgo-contact-field select,
.rgo-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(38, 52, 61, 0.22);
    border-radius: 4px;
    background: #FFFFFF;
    color: #26343D;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    padding: 15px 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.rgo-contact-field select {
    min-height: 53px;
}

.rgo-contact-field textarea {
    min-height: 155px;
    resize: vertical;
}

.rgo-contact-field input::placeholder,
.rgo-contact-field textarea::placeholder {
    color: rgba(86, 99, 107, 0.72);
    opacity: 1;
}

.rgo-contact-field input:focus,
.rgo-contact-field select:focus,
.rgo-contact-field textarea:focus {
    border-color: #105689;
    box-shadow: 0 0 0 2px rgba(16, 86, 137, 0.12);
    background: #FFFFFF;
}

.rgo-contact-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #56636B;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

.rgo-contact-consent input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #105689;
}

.rgo-contact-submit {
    align-self: flex-start;
    appearance: none;
    border: 0;
    border-radius: 3px;
    background: #105689;
    color: #FFFFFF;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
    padding: 15px 22px;
    transition: background-color .2s ease, color .2s ease;
}

.rgo-contact-submit:hover,
.rgo-contact-submit:focus {
    background: #0B3D61;
    color: #FFFFFF;
}

.rgo-contact-notice {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-left: 4px solid;
    font-size: 15px;
    line-height: 1.5;
}

.rgo-contact-success {
    border-left-color: #105689;
    background: rgba(16, 86, 137, 0.08);
}

.rgo-contact-error {
    border-left-color: #B96543;
    background: rgba(185, 101, 67, 0.09);
}

.rgo-contact-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .rgo-contact-form {
        gap: 18px;
    }

    .rgo-contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rgo-contact-field input,
    .rgo-contact-field select,
    .rgo-contact-field textarea {
        font-size: 16px;
        padding: 14px 15px;
    }

    .rgo-contact-submit {
        width: 100%;
        text-align: center;
    }
}
