.callback-form__label {
    position: relative;
}

.callback-form__form--consultation {
    align-items: stretch;
    gap: 18px;
    padding: 54px clamp(30px, 5vw, 72px);
}

.callback-form__form--consultation .callback-form__kicker,
.callback-form__form--consultation .callback-form__title,
.callback-form__form--consultation .callback-form__intro {
    align-self: center;
    width: 100%;
    max-width: 980px;
    text-align: center;
}

.callback-form__kicker {
    margin: 0;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.callback-form__form--consultation .callback-form__title {
    max-width: none;
    font-size: clamp(4.8rem, 5vw, 7.2rem);
}

.callback-form__intro {
    margin: -4px 0 10px;
    font-size: 2.2rem;
    line-height: 1.35;
}

.callback-form__inner--consultation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
    gap: 18px 20px;
    width: 100%;
    max-width: 980px;
}

.callback-form__label--consultation {
    width: auto;
}

.callback-form__label--branch {
    grid-column: 1 / -1;
}

.callback-form__field-name {
    display: block;
    margin: 0 0 7px 4px;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.2;
}

.callback-form__select {
    padding-right: 52px;
    color: var(--primary-black);
    cursor: pointer;
}

.callback-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: center;
    gap: 24px;
    width: 100%;
    max-width: 980px;
    margin-top: 4px;
}

.callback-form__consent {
    flex: 1 1 auto;
    min-width: 0;
}

.callback-form__form--consultation .callback-form__approve {
    max-width: none;
}

.callback-form__form--consultation .callback-form__submit {
    flex: 0 0 auto;
    width: auto;
    min-width: 300px;
}

.callback-form__field-error,
.callback-form__form-error {
    color: var(--error-2);
    font-size: 1.6rem;
    line-height: 1.25;
}

.callback-form__field-error {
    display: block;
    margin-top: 8px;
    text-align: left;
}

.callback-form__field-error--approve {
    margin: 8px 0 0;
}

.callback-form__form-error {
    margin: 12px 0 0;
    text-align: center;
}

.callback-form__field-error:empty,
.callback-form__form-error:empty {
    display: none;
}

.callback-form .input[aria-invalid="true"] {
    box-shadow: inset 0 0 0 2px var(--error-2);
}

.callback-form .checkbox__input[aria-invalid="true"] + .checkbox__box {
    box-shadow: inset 0 0 0 2px var(--error-2);
}

.service-price__row[role="button"]:focus-visible {
    outline: 3px solid var(--orange-700);
    outline-offset: -3px;
}

@media only screen and (max-width: 767px) {
    .callback-form__form--consultation {
        gap: 14px;
        padding: 30px 16px 34px;
    }

    .callback-form__kicker {
        font-size: 1.3rem;
        letter-spacing: .05em;
    }

    .callback-form__form--consultation .callback-form__title {
        font-size: 3.4rem;
    }

    .callback-form__intro {
        margin: -2px 0 4px;
        font-size: 1.6rem;
    }

    .callback-form__inner--consultation {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .callback-form__label--branch {
        grid-column: auto;
    }

    .callback-form__field-name {
        margin-bottom: 5px;
        font-size: 1.4rem;
    }

    .callback-form__select {
        padding-right: 40px;
    }

    .callback-form__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 2px;
    }

    .callback-form__form--consultation .callback-form__submit {
        width: 100%;
        min-width: 0;
    }

    .callback-form__field-error,
    .callback-form__form-error {
        font-size: 1.3rem;
    }

    .callback-form__field-error {
        margin-top: 6px;
    }

    .callback-form__field-error--approve,
    .callback-form__form-error {
        margin-top: 8px;
    }
}
