.chatlanding-hero {
    flex: 1 0 auto;
    margin: 0 auto;
    padding: 60px 15px 0;
    width: 100%;
    max-width: 1600px;
}

.chatlanding-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.chatlanding-hero__info {
    max-width: 800px;
}

.chatlanding-hero__title,
.chatlanding-hero__subtitle {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    text-align: center;
}

.chatlanding-hero__subtitle {
    margin-top: 20px;
    font-size: clamp(16px, 2.2vw, 26px);
    font-weight: 500;
}

.chatlanding-hero__chat {
    width: 100%;
    max-width: 800px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.chatlanding-benefits {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
}
.chatlanding-benefits__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.chatlanding-benefits__icon {
    min-width: 36px;
    max-width: 36px;
}
.chatlanding-benefits__icon img {
    width: 100%;
}
.chatlanding-benefits__name {
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.3;
    color: var(--white);
}

.chatlanding-chat {
    position: relative;
    min-height: 600px;
    background: rgba(255, 255, 255, .8);
}

.chatlanding-chat__consultant {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 4;
    padding: 10px 30px;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}
.chatlanding-chat__consultant.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.chatlanding-chat__consultant-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatlanding-chat__consultant-image {
    min-width: 70px;
    max-width: 70px;
    height: 70px;
    border-radius: 100px;
    overflow: hidden;
}

.chatlanding-chat__consultant-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chatlanding-chat__consultant-name {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
}

.chatlanding-chat__consultant-position {
    margin-top: 3px;
    font-size: clamp(11px, 1.5vw, 13px);
}

.chatlanding-chat__consultant-btn {
    padding: 12px 16px;
    border-radius: 6px;
    background: var(--red);
    font-size: clamp(10px, 1.5vw, 12px);
    font-weight: 500;
    color: var(--white);
}

.chatlanding-chat__inner {
    padding: 60px 30px 120px;
    display: flex;
    gap: 20px;
}

.chatlanding-chat__messages,
.chatlanding-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chatlanding-block {
    gap: 10px;
}

.chatlanding-models-category-title {
    margin-top: 5px;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 500;
    color: var(--gray);
}



.chatlanding-typing {
    font-size: clamp(12px, 2vw, 16px);
    font-style: italic;
    color: var(--gray);
}

.chatlanding-typing__dots {
    display: inline-block;
    min-width: 18px;
}



.chatlanding-message {
    max-width: 540px;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    white-space: pre-line;
    word-break: break-word;
}

.chatlanding-message--bot {
    align-self: flex-start;
    border-radius: 3px 12px 12px 12px;
    background: var(--white);
}
.chatlanding-message--user {
    align-self: flex-end;
    border-bottom-right-radius: 3px;
    background: var(--dark);
    color: var(--white);
}




.chatlanding-models {
    max-width: 540px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.chatlanding-model {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: none;
    border-radius: 15px;
}
.chatlanding-model.is-selected {
    border: 1px solid var(--red);
}

.chatlanding-model__label {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 5px 10px;
    background: var(--red);
    border-radius: 100px;
    font-size: 12px;
    line-height: 1;
    color: var(--white);
}

.chatlanding-model__image {
    padding: 10px 20px;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chatlanding-model__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chatlanding-model__title {
    display: block;
    margin-top: 10px;
    font-size: clamp(14px, 2vw, 22px);
    font-weight: 600;
    text-align: left;
}

.chatlanding-model__price {
    margin-top: 6px;
    display: inline-block;
    width: fit-content;
    border-bottom: 1px solid #c8102e;
    font-size: clamp(12px, 1.8vw, 16px);
}



.chatlanding-choices {
    max-width: 400px;
}
.chatlanding-choices:not(.chatlanding-choices-color) {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--white);
    border-radius: 12px;
}
.chatlanding-choices.chatlanding-choices-color {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chatlanding-choice-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
}
.chatlanding-choice-button--checkbox {
    position: relative;
    flex: 0 0 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid var(--light-gray);
}
.chatlanding-choice-button.is-selected .chatlanding-choice-button--checkbox::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--red);
}

.chatlanding-choices.chatlanding-choices-color .chatlanding-choice-button {
    padding: 10px;
    background: var(--white);
    border-radius: 100px;
    border: 1px solid var(--white);
}
.chatlanding-choices.chatlanding-choices-color .chatlanding-choice-button.is-selected {
    border: 1px solid var(--red);
}

.chatlanding-choice-button--color {
    width: 24px !important;
    height: 24px;
    border-radius: 24px;
    background: var(--button-color);
}



.chatlanding-attribute-button__color {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1px solid #d1d1d1;
    border-radius: 50%;
}



.chatlanding-form {
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn.chatlanding-form__submit {
    background: var(--dark);
    border: 1px solid var(--dark);
}

.chatlanding-form__callback {
    padding: 15px 20px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 3px 12px 12px 12px;
    background: var(--white);
}
.chatlanding-form__radio {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chatlanding-form__radio input {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
}
.chatlanding-form__icon {
    position: relative;
    flex: 0 0 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid var(--light-gray);
}
.chatlanding-form__radio input:checked ~ .chatlanding-form__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--red);
}
.chatlanding-form__radio span {
    font-size: clamp(14px, 1.5vw, 16px);
}
.chatlanding-form__policy {
    display: flex;
    gap: 10px;
}
chatlanding-form__policy span {
    font-size: clamp(12px, 1.5vw, 14px);
}
.chatlanding-form__policy a {
    text-decoration: underline;
}


.chatlanding-next-button:disabled,
.chatlanding-form__submit:disabled,
.chatlanding-benefit-popup__submit:disabled {
    opacity: .5;
    cursor: wait;
}

.chatlanding-form__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.chatlanding-form__error {
    color: #bd2626;
    font-size: 13px;
    line-height: 1.35;
}




.chatlanding-benefit-popup[hidden] {
    display: none;
}
.chatlanding-benefit-popup {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}
.chatlanding-benefit-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}
.chatlanding-benefit-popup__window {
    position: relative;
    z-index: 2;
    width: calc(100% - 30px);
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
}
.chatlanding-benefit-popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 100px;
    background: var(--red);
    font-size: 28px;
    line-height: 1;
    color: var(--white);
    cursor: pointer;
}
.chatlanding-benefit-popup__top {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark);
}
.chatlanding-benefit-popup__avatar {
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    border-radius: 100px;
    object-fit: cover;
}
.chatlanding-benefit-popup__name {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 700;
    color: var(--white);
}
.chatlanding-benefit-popup__position {
    margin-top: 3px;
    font-size: clamp(10px, 1.3vw, 12px);
    color: var(--white);
}

.chatlanding-benefit-popup__body {
    padding: 20px 30px 40px;
    background: #EFEEF7;
}
.chatlanding-benefit-popup__message {
    padding: 12px 15px;
    border-radius: 3px 12px 12px 12px;
    background: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
}
.chatlanding-benefit-popup__message-title {
    margin-bottom: 8px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 700;
}
.chatlanding-benefit-popup__message-text {
    font-size: clamp(12px, 1.5vw, 14px);
    line-height: 1.3;
}
.chatlanding-benefit-popup__form {
    margin-top: 20px;
}
.chatlanding-benefit-popup__input {
    margin-bottom: 10px;
}
.chatlanding-benefit-popup__submit {
    padding: 10px 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 100px;
    font-size: 14px;
    color: var(--white);
    text-align: center;
}
.chatlanding-benefit-popup__policy {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    font-size: 12px;
}
.chatlanding-benefit-popup__policy a {
    text-decoration: underline;
}
.chatlanding-popup-open {
    overflow: hidden;
}
.chatlanding-benefit-popup__success {
    padding: 60px 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    text-align: center;
    display: none;
}

.chatlanding-benefit-popup__body.chatlanding-benefit-form-submited .chatlanding-benefit-popup__success {
    display: block;
}
.chatlanding-benefit-popup__body.chatlanding-benefit-form-submited .chatlanding-benefit-popup__message,
.chatlanding-benefit-popup__body.chatlanding-benefit-form-submited .chatlanding-benefit-popup__form {
    display: none;
}


@media (max-width: 600px) {
    .chatlanding-hero {
        padding: 30px 15px 0;
    }
    .chatlanding-hero__content {
        gap: 20px;
    }
    .chatlanding-hero__subtitle {
        margin-top: 10px;
    }
    .chatlanding-benefits {
        padding: 20px 15px;
        flex-direction: column;
    }
    .chatlanding-chat__inner {
        padding: 40px 15px 80px;
        gap: 15px;
    }
    .chatlanding-chat__consultant-image {
        min-width: 50px;
        max-width: 50px;
        height: 50px;
    }
    .chatlanding-chat__messages, .chatlanding-block {
        gap: 15px;
    }
    .chatlanding-choices.chatlanding-choices-color {
        gap: 3px;
    }
}
@media (max-width: 500px) {
    .chatlanding-model {
        position: relative;
        padding: 20px 10px;
        border-radius: 10px;
    }
    .chatlanding-model__image {
        padding: 0;
        height: 100px;
    }
}
@media (max-width: 480px) {
    .chatlanding-hero {
        padding: 120px 15px 0;
    }
}
@media (max-width: 400px) {
    .chatlanding-benefit-popup__top {
        padding: 15px;
    }
    .chatlanding-benefit-popup__close {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
    .chatlanding-benefit-popup__body {
        padding: 20px 15px 30px;
    }
    .chatlanding-chat__consultant {
        display: none !important;
    }
    .chatlanding-chat__inner {
        padding: 30px 15px 60px;
        gap: 10px;
    }
    .chatlanding-chat__consultant-image {
        min-width: 20px;
        max-width: 20px;
        height: 20px;
    }
    .chatlanding-model__image {
        height: 80px;
    }
    .chatlanding-chat__messages, .chatlanding-block {
        gap: 10px;
    }
}