.home-feedback {
    position: relative;
    width: 100%;
    max-width: none;
    background: #ffffff;
    container-type: inline-size;
    overflow: hidden;
}

.home-feedback__inner {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 32.2222cqw;
    padding: 0;
    overflow: hidden;
}

.home-feedback__title {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: max-content;
    max-width: calc(100% - 160px);
    margin: 0;
    transform: translateX(-50%);

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 46px;
    line-height: 110%;
    text-align: center;
    color: #292929;
}

.home-feedback__body {
    position: relative;
    width: 100%;
    min-height: 32.2222cqw;
}

.home-feedback__image-wrap {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 0;
    width: 55.6944cqw;
    height: 37.0833cqw;

    pointer-events: none;
}

.home-feedback__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
}

.home-feedback__content {
    position: absolute;
    top: 6.1806cqw;
    left: 22.2222cqw;
    z-index: 1;

    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 7.5cqw;
    width: 72.2222cqw;
    min-height: 19.0972cqw;
}

.home-feedback__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 28.4028cqw;
    min-height: 18.1944cqw;
}

.home-feedback__main-text {
    margin: 0;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #292929;
}

.home-feedback__points {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-feedback__point {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.home-feedback__point-icon {
    display: block;
    flex-shrink: 0;
}

.home-feedback__point span {
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #292929;
}

.home-feedback__form-wrap {
    width: 36.3194cqw;
    min-width: 0;
    min-height: 19.0972cqw;
    flex-shrink: 0;
}

.home-feedback__form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    min-height: 0;
    padding: 20px;
    box-sizing: border-box;
    background: #f9f9fa;
    border-radius: 30px;
}

.home-feedback__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.home-feedback__field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-feedback__label {
    display: flex;
    align-items: flex-end;
    margin: 0;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    color: #42464c;
}

.home-feedback__input {
    width: 100%;
    height: 48px;
    padding: 13px 16px;
    box-sizing: border-box;

    background: #ffffff;
    border: none;
    border-radius: 16px;
    outline: none;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #292929;

    transition: box-shadow 0.2s ease;
}

.home-feedback__input::placeholder {
    color: #9ca3af;
}

.home-feedback__input:focus {
    box-shadow: 0 0 0 2px #fe7250;
}

.home-feedback__input--error {
    box-shadow: 0 0 0 2px #ef4444;
}

.home-feedback__phone-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.home-feedback__phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 92px;
    height: 48px;
    padding: 0 12px;
    box-sizing: border-box;

    background: #ffffff;
    border-radius: 16px;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #292929;
    white-space: nowrap;
}

.home-feedback__input--phone {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 48px;
    padding: 0 16px;

    font-size: 18px;
    line-height: 150%;
    color: #292929;
}

.home-feedback__error {
    margin: 0;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 140%;
    color: #ef4444;
}

.home-feedback__submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    width: 100%;
    min-height: 53px;
    padding: 16px;
    box-sizing: border-box;

    background: #fe7250;
    border: none;
    border-radius: 16px;
    cursor: pointer;

    font-family: 'Raleway', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #f9f9fa;

    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.home-feedback__submit:hover {
    background: #e5623f;
}

.home-feedback__submit:active {
    background: #cc5737;
}

.home-feedback__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 980px) {
    .home-feedback__inner,
    .home-feedback__body {
        min-height: 0;
        overflow: visible;
    }

    .home-feedback__title,
    .home-feedback__content,
    .home-feedback__image-wrap {
        position: relative;
        top: auto;
        left: auto;
    }

    .home-feedback__title {
        width: 100%;
        max-width: none;
        padding: 0 24px;
        transform: none;
        font-size: 34px;
    }

    .home-feedback__body {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 40px 24px 0;
    }

    .home-feedback__image-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 802 / 534;
    }

    .home-feedback__content {
        width: 100%;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .home-feedback__info,
    .home-feedback__form-wrap {
        width: 100%;
        min-height: 0;
    }

    .home-feedback__form {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .home-feedback {
        overflow: hidden;
    }

    .home-feedback__title {
        padding: 0 16px;
        font-size: 22px;
        line-height: 130%;
        color: #42464c;
    }

    .home-feedback__body {
        position: relative;
        display: grid;
        grid-template-columns: clamp(126px, 37vw, 150px) 0 minmax(0, 1fr);
        grid-template-areas:
            "text text text"
            "points image ."
            "form form form";
        gap: 0;
        row-gap: 20px;
        padding: 24px 16px 0;
        box-sizing: border-box;
        overflow: visible;
    }

    .home-feedback__image-wrap {
        grid-area: image;
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        z-index: 0;
        display: block;
        align-self: stretch;
        justify-self: start;
        width: 0;
        min-width: 0;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        overflow: visible;
        pointer-events: none;
    }

    .home-feedback__image {
        position: absolute;
        top: 0;
        left: 0px;
        width: auto;
        max-width: none;
        height: 100%;
        object-fit: contain;
        object-position: left center;
        transform-origin: center;
    }

    .home-feedback__content {
        display: contents;
        position: static;
        z-index: 1;
        gap: 20px;
    }

    .home-feedback__info {
        display: contents;
        gap: 0;
    }

    .home-feedback__main-text {
        grid-area: text;
        position: relative;
        z-index: 1;
        font-size: 16px;
        line-height: 150%;
        color: #42464c;
    }

    .home-feedback__points {
        grid-area: points;
        position: relative;
        z-index: 1;
        gap: 20px;
        width: 100%;
    }

    .home-feedback__point span {
        font-size: 13px;
        line-height: 130%;
        color: #42464c;
        overflow-wrap: normal;
    }

    .home-feedback__point-icon {
        width: 24px;
        height: 24px;
    }

    .home-feedback__form {
        width: 100%;
        gap: 20px;
        padding: 20px;
        border-radius: 24px;
    }

    .home-feedback__form-wrap {
        grid-area: form;
        position: relative;
        z-index: 1;
        width: 100%;
    }

    .home-feedback__fields {
        gap: 20px;
    }

    .home-feedback__field-group {
        gap: 10px;
    }

    .home-feedback__label {
        font-size: 14px;
        line-height: 120%;
    }

    .home-feedback__input,
    .home-feedback__phone-prefix,
    .home-feedback__input--phone {
        height: 48px;
        font-size: 14px;
        line-height: 150%;
    }

    .home-feedback__phone-prefix {
        width: 64px;
    }

    .home-feedback__phone-row {
        gap: 8px;
    }

    .home-feedback__submit {
        min-height: 53px;
        transition: none;
    }

    .home-feedback__submit:hover,
    .home-feedback__submit:active,
    .home-feedback__submit:focus:not(:focus-visible) {
        background: #fe7250;
        outline: none;
    }
}
