.fabula-mnenie-how-block {
    display: grid;
    grid-template-columns: 55% 45%;
    position: relative;
    margin-bottom: 2px;
}
@media screen and (max-width: 1565px) {
    .fabula-mnenie-how-block {
        grid-template-columns: 62% auto;
    }
}
@media screen and (max-width: 1260px) {
    .fabula-mnenie-how-block {
        grid-template-columns: 1fr;
    }
}

.fabula-mnenie-how-block:hover .fabula-elem-bitrix-url {
    display: block;
}
.fabula-mnenie-how-block-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    min-width: 0;
}

.fabula-mnenie-how-block-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}
.fabula-mnenie-how-block-list[data-steps-count="1"] {
    grid-template-columns: 1fr;
}
.fabula-mnenie-how-block-list[data-steps-count="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.fabula-mnenie-how-block-item {
    padding: 30px;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--brand-color);
}
.fabula-mnenie-how-block-item-top {
    height: 166px;
    padding: 30px 20px;
    border-radius: var(--border-radius-l);
    background: var(--bg-color-light);
    position: relative;
    overflow: hidden;
}
.fabula-mnenie-how-block-item-title {
    color: #202020;
    font-weight: 600;
    font-size: 26px;
    position: relative;
    z-index: 2;
}
.fabula-mnenie-how-block-item-top-bg {
    position: absolute;
    bottom: -30px;
    right: -8px;
    color: var(--white-color);
    font-weight: 600;
    font-size: 160px;
    height: 100%;
    line-height: 1;
    opacity: 0.6;
    z-index: 1;
}
@media screen and (max-width: 768px) {
    .fabula-mnenie-how-block-item-top-bg {
        font-size: 200px;
        bottom: 0;
    }
}
.fabula-mnenie-how-block-item-desc {
    margin-top: 20px;
    font-weight: 400;
    font-size: 14px;
}
.fabula-mnenie-how-block-list-swiper {
    display: none !important;
}

.fabula-mnenie-how-block-item:first-child .fabula-mnenie-how-block-item-top {
    background: #fe02a0;
}
.fabula-mnenie-how-block-item:first-child .fabula-mnenie-how-block-item-title {
    color: var(--white-color);
}
.fabula-mnenie-how-block-item:first-child .fabula-mnenie-how-block-item-top-bg {
    opacity: 0.25;
    right: 4px;
}

@media screen and (min-width: 1261px) and (max-width: 1438px) {
    .fabula-mnenie-how-block-item-top {
        height: 130px;
        padding: 20px 15px;
    }
    .fabula-mnenie-how-block-item-title {
        font-size: 28px;
    }
    .fabula-mnenie-how-block-item-top-bg {
        font-size: 150px;
    }
}

@media screen and (max-width: 1016px) {
    .fabula-mnenie-how-block-info {
        padding: 40px 0 40px 40px;
    }

    .fabula-mnenie-how-block-list {
        display: none;
    }

    .fabula-mnenie-how-block-list-swiper {
        display: block !important;
        width: 100%;
        max-width: 730px;
        min-width: 0;
        margin: 0;
    }
}
@media screen and (max-width: 768px) {
    .fabula-mnenie-how-block-item-title {
        font-size: 36px;
    }
}

/* FORM */

.fabula-mnenie-block-form-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-radius: var(--border-radius-xxl);
    background: linear-gradient(45deg, #0273ff 0%, #013fff 100%);
    padding: 60px;
    color: #ffffff;
}
@media screen and (max-width: 1560px) {
    .fabula-mnenie-block-form-form {
        padding: 40px;
    }
}
@media (max-width: 1262px) {
    .fabula-mnenie-how-block {
        gap: 2px;
    }

    .fabula-mnenie-block-form-form {
        padding: 30px;
    }
}
@media (max-width: 1016px) {
    .fabula-mnenie-block-form-form {
        border-radius: 30px;
    }
}
.fabula-mnenie-form-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.fabula-mnenie-form-logo {
    width: 31px;
    height: 25px;
    object-fit: contain;
}
@media (max-width: 768px) {
    .fabula-mnenie-form-logo {
        width: 26px;
        height: 20px;
    }
}

.fabula-mnenie-form-title {
    margin: 0;
}

.fabula-mnenie-form {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
}
@media (max-width: 768px) {
    .fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs {
        margin-bottom: 20px;
    }
}

.fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs .fabula-mnenie-form-field-name,
.fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs .fabula-mnenie-form-field-pet,
.fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs .fabula-mnenie-form-field-reason {
    grid-column: 1 / -1;
}
.fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs .fabula-mnenie-form-field-phone,
.fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs .fabula-mnenie-form-field-email {
    grid-column: auto;
    min-width: 0;
}
@media (max-width: 576px) {
    .fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs {
        grid-template-columns: 1fr;
    }
    .fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs .fabula-mnenie-form-field-phone,
    .fabula-mnenie-form.fabula-block-form .fabula-form__form-inputs .fabula-mnenie-form-field-email {
        grid-column: 1 / -1;
    }
}

.fabula-mnenie-form-bottom {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}
@media screen and (max-width: 1438px) {
    .fabula-mnenie-form-bottom {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1261px) {
    .fabula-mnenie-form-bottom {
        grid-template-columns: auto 1fr;
    }
}

@media (max-width: 576px) {
    .fabula-mnenie-form-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
        justify-items: start;
    }
}
.fabula-mnenie-form-file {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 14px 24px;
    border-radius: var(--border-radius-xxl);
    background: var(--white-color);
    color: var(--brand-color);
    font-weight: 600;
    font-size: var(--small-text-size);
    line-height: 18px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}
.fabula-mnenie-form-file-text {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.fabula-mnenie-form-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.fabula-mnenie-form-file-icon {
    flex-shrink: 0;
}
.fabula-mnenie-form-file_ok {
    background: #22ca8d;
    color: var(--white-color);
}
.fabula-mnenie-form-file_ok .fabula-mnenie-form-file-text {
    text-transform: none;
}
.fabula-mnenie-form-file-error {
    grid-column: 1 / -1;
    width: max-content;
    max-width: 100%;
    background: var(--white-color);
    color: #e80c0c;
    padding: 1px 5px;
    border-radius: 10px;
    border: 1px solid #e80c0c;
    font-size: var(--small-text-size);
}
.fabula-mnenie-form .fabula-checkbox-link {
    color: #ffffff;
    text-decoration: underline;
}
.fabula-mnenie-form .fabula-checkbox-link:hover {
    color: #ffffff;
    text-decoration: none;
}
.fabula-mnenie-form .fabula-hidden-input:checked + .fabula-checkbox-label__text::before,
.fabula-mnenie-form .fabula-hidden-input:checked + .fabula-checkbox-label__text::after {
    border-color: #ffffff;
}
.fabula-mnenie-form .fabula-form_btn_submit {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 20.4px 33px;
    background: #ffffff;
    color: var(--brand-color);
}
.fabula-mnenie-form .fabula-form_btn_submit:hover {
    background: #ffffff;
}
.fabula-mnenie-form .fabula-checkbox-label {
    margin: 0;
}
.fabula-mnenie-form .fabula-form__form-submit[disabled]:hover {
    border-width: 1px;
    color: var(--brand-color);
}
.fabula-mnenie-form .fabula-form__fail {
    background: #ffffff;
    padding: 5px;
    border-radius: 10px;
}
.fabula-mnenie-form .fabula-form__message {
    margin-top: 10px;
}
.fabula-mnenie-form .fabula-hidden-input._error + .fabula-checkbox-label__text::before {
    border-color: #e80c0c;
}
.fabula-mnenie-form .fabula-error-text {
    width: max-content;
    background: #ffffff;
    padding: 1px 5px;
    border-radius: 10px;
    margin: 4px 0 0 0;
    border: 1px solid #e80c0c;
}
