.hc-promo-contact {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hc-promo-contact[hidden] {
    display: none;
}

body.hc-promo-contact-open {
    overflow: hidden;
}

.hc-promo-contact__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(31, 25, 17, 0.8);
}

.hc-promo-contact__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1034px, calc(100vw - 32px));
    height: min(608px, calc(100svh - 32px));
    overflow: hidden;
    border-radius: 32px;
    background: #fff;
    padding: 8px;
}

.hc-promo-contact__form-panel {
    min-width: 0;
    flex: 1;
    overflow-y: auto;
    padding: 32px 20px;
}

.hc-promo-contact__form-panel h2 {
    margin: 0 0 20px;
    color: #1f1911;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
}

.hc-promo-contact__form-panel form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hc-promo-contact__row {
    display: flex;
    gap: 20px;
}

.hc-promo-contact__field {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

.hc-promo-contact__field label {
    padding-left: 12px;
    color: #1f1911;
    font-size: 14px;
    line-height: 20px;
}

.hc-promo-contact__field label span {
    color: #ff5500;
}

.hc-promo-contact__field input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    border: 1px solid #c3c8d5;
    border-radius: 6px;
    background: #fff;
    padding: 12px 16px;
    color: #1f1911;
    font: inherit;
    outline: none;
}

.hc-promo-contact__field input::placeholder {
    color: #adb3c3;
}

.hc-promo-contact__field input:hover {
    border-color: #423a2e;
}

.hc-promo-contact__field input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 4px #efebe5;
}

.hc-promo-contact__field small {
    display: none;
    padding-left: 16px;
    color: #ff5500;
    font-size: 12px;
    line-height: 16px;
}

.hc-promo-contact__field input:not(:placeholder-shown):invalid + small {
    display: block;
}

.hc-promo-contact__submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: #ff5500;
    padding: 14px 32px;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

.hc-promo-contact__submit:disabled {
    background: #b9bfcc;
    color: #f1f2f5;
    cursor: default;
}

.hc-promo-contact__status {
    margin: -8px 0 0;
    color: #d74800;
    font-size: 14px;
    line-height: 20px;
}

.hc-promo-contact__check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f1911;
    cursor: pointer;
}

.hc-promo-contact__check input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.hc-promo-contact__check > span {
    display: flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    border: 2px solid #434357;
    border-radius: 6px;
    color: transparent;
}

.hc-promo-contact__check input:checked + span {
    border-color: #ff5500;
    background: #ff5500;
    color: #fff;
}

.hc-promo-contact__check b {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.hc-promo-contact__check a {
    color: #ff5500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hc-promo-contact__image {
    width: 520px;
    min-width: 520px;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.hc-promo-contact__close {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
    color: #1f1911;
    cursor: pointer;
}

.hc-promo-contact__close i {
    font-size: 24px;
}

@media (max-width: 767px) {
    .hc-promo-contact {
        padding: 0;
        background: #fff;
    }

    .hc-promo-contact__dialog {
        width: 100%;
        height: 100svh;
        flex-direction: column;
        border-radius: 0;
        overflow-y: auto;
    }

    .hc-promo-contact__image {
        order: 1;
        width: 100%;
        min-width: 100%;
        height: 400px;
        flex: 0 0 400px;
    }

    .hc-promo-contact__form-panel {
        order: 2;
        overflow: visible;
        padding: 40px 12px;
    }

    .hc-promo-contact__row {
        flex-direction: column;
    }

    .hc-promo-contact__close {
        top: 18px;
        right: 18px;
    }
}
