/*Этот CSS должен использоваться только для страницы UK*/
/*Стандартные стили шаблона указываются в layout.css, тут специфические стили для конкретной реализации*/


:root {
    --background-white: #fff;
    --main-background: #E3802A;
    --background-secondary: #ABDED9;

    --yellow-block: #FFDE5A;
    --yellow-btn: #FFCC00;

    --button-primary: #FFCC00;
    --button-primary-hover: #FFAA00;
    --button-hover: #E69004;

    --button-secondary: #F4CF43;
    --button-secondary-hover: #e2a63f;
    --button-secondary-color: #222;


    --alternate-button-hover: #6735d5;

    --dark-primary: #222222;



    --grey-block: #F1F0EF;

    --border-radius-outer: 36px;
    --border-radius-inner: 6px;

    --font-family-base: 'Onest', sans-serif;

    --border-default: 1px solid #BAB9B9;
    --input-height: 56px;

    --container-width: 1270px;
    --container-padding-x: 15px;

    --transition-duration: 0.2s;

    /*УП  --arrow-close-filter: invert(58%) sepia(38%) saturate(550%) hue-rotate(352deg) brightness(92%) contrast(86%); */
    --arrow-close-filter: invert(64%) sepia(62%) saturate(4380%) hue-rotate(347deg) brightness(92%) contrast(89%);
}

.h2 {
    font-weight: 700;
}

.authors {
    padding-top: 25px;
}

.authors__h {
    margin-bottom: 40px;
}

.authors-swiper {
    /* width: 100%; */
    /* margin-top: 40px; */
    margin-bottom: 40px;

    position: relative;
    padding-top: 50px;
    /* Место для стрелок сверху */
    padding-bottom: 40px;
    /* Место для пагинации снизу */
    overflow: hidden;
    width: calc(100% + 2px);
    margin-right: -1px;
    margin-left: -1px;
}






/* Обёртка для стрелок */
.swiper-nav-wrapper {
    position: absolute;
    top: 50px;
    right: 35px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* Стили стрелок */
.swiper-button-prev,
.swiper-button-next {
    position: static;
    /* Отменяем стандартное позиционирование */
    width: 40px;
    height: 40px;
    margin: 0;
    background: #ffffff;
    border-radius: 50%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    color: #BAB9B9;
    font-size: 18px;
}

/* Пагинация (буллеты) */
.swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #18A898;
}

/*Карточки*/

.author-card {
    padding: 25px;
    background: #fff;
    border: 1px solid #BAB9B9;
    width: 17%;
    /* height: 370px; */
    border-radius: 18px;
    /* width: 270px !important; */
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 20px;
}

/*Доп стили для swiper слайдера*/

.authors_swiper__autrow {
    align-items: stretch;
}


.swiper-slide {
    height: auto;
}

.author__text_area p {
    text-align: center;
    margin-top: 10px;
}

.author__title {
    font-weight: 700;
}

.author__text {
    color: #18A898;
    font-size: 16px;

}

.author__img_wrapper {
    width: 100%;
    display: flex;
}

.author__img {
    width: 100%;
    object-fit: contain;
}

.title_w80 {
    width: 80%;
}

@media(width<600px) {
    .title_w80 {
        width: 100%;
    }
}

.header-container {
    padding: 0px 45px 0 55px;
}

/* .header-logo-image {
    width: 185px;
} */


.align_end {
    align-items: end;
}

.footer_logo {
    min-width: 107px;
    width: 147px;
}


.hero-left {

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 53px;

}

.hero-title {
    margin-top: 40px;
    font-weight: 600;
}


.hero-left-content {
    justify-content: space-between;
}

.hero-row {
    gap: 4%;
    align-items: end;
}

.hero-image-wrapper {
    width: 48%;
}


.hero-container {
    padding: 0px 10px 0px 70px;
}

.actual__button--mobile {
    display: none;
}


.bottom-hero-row {
    gap: 3%;
    align-items: start;
}

.bottom-hero-img-wrapper {
    min-width: 47%;
}

.callback_bottom {
    margin-top: 0px;
}

.callback_bottom-container {
    align-items: center;
}

.video_text__text {
    justify-content: flex-start;
}

.ul-lightning {
    margin-top: 0px;
}

.ul-lightning li {
    margin-top: 25px;
    gap: 15px;
}

/* .ul-lightning li::before{
    filter: brightness(1.1);
} */

/* .main_info_hlist__img{
    filter: brightness(1.1);
} */

.hero-left-content {
    width: auto;
    max-width: 63%;
}

.actual__text {
    width: 50%;
}

.tumbler-btn--active {
    font-weight: 500;
}




.main__form--text:empty {
    display: none;
}

/*Пока нет серого блока*/
.benefits {
    margin-bottom: 50px;
}

.topline__logo-img {
    width: 107px;
}

.footer_logo {
    width: 107px;
}

.gap-20 {
    gap: 20px;
}

.custom_callback_background {
    background: #E3802A;
}

/* .grey_section__wrapper{
    padding-bottom: 0px;
} */

.video-block {
    aspect-ratio: 768 / 432;
}

.callback__upper {
    grid-template-columns: repeat(3, 1fr) 370px;
}

@media(width<1250px) {
    .callback__upper {
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }
}

@media(width<926px) {
    .hero-container {
        padding: 0px 20px 0px 20px;
    }

    .author-card {
        height: auto;
    }

    .authors__h {
        margin-bottom: 60px;
    }

    .swiper-nav-wrapper {
        top: 90px;
    }
}

@media(width<770px) {
    .callback__upper {
        grid-template-columns: repeat(1, minmax(100px, 1fr));
        gap: 12px;
    }
}

@media(width<650px) {
    .header-container {
        padding: 0px 15px 0 15px;
    }

    .hero-title {
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-left-content {
        max-width: 100%;
    }

    .actual__text {
        width: 100%;
    }

    .authors-swiper {
        padding-top: 20px;
    }



}

.video-block__preview {
    height: auto;
}

@media(width<550px) {

    .grey_section__wrapper {
        display: none;
    }

    .main_info__callback {
        margin: 50px -30px 51px -30px;
        border-radius: 0;
    }


    .main_info__callback.benefits_callback {
        margin: 50px -15px 51px -15px;
        border-radius: 0;
    }

    .hero-right-form {
        margin: 0 -20px -30px -20px;
    }

    .custom-margin-30 {
        margin: 50px -30px 51px -30px;
    }



}

.modal_banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal_banner.modal_banner--active {
    display: flex;
}

.modal_banner__inner {
    background: white;
    /* padding: 40px; */
    border-radius: 20px;
    max-width: 600px;
    position: relative;
}
.modal-container{
    border-radius: 20px;
    max-width: 600px;
    position: relative;
    overflow: hidden;;
}
.modal_banner__close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
    width: 24px;
    height: 24px;
    display: flex;
    border-radius: 50%;
    background: rgb(0 0 0 / 10%);
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.modal_banner__close-button:hover {
    background: rgb(0 0 0 / 30%);
}.scroller-book__flip-fixed {
    position: fixed;
    top: 100%;
    left: 0;
    right: -10%;
    transform: translateY(-105%);
    z-index: 100;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.scroller-book__flip-fixed--hidden {
    opacity: 0;
    visibility: hidden;
}
.scroller-book__flip-fixed--hidden .scroller-book__flip-link {
    pointer-events: none;
}
.scroller-book__flip-fixed-inner {
    display: flex;
    justify-content: flex-end;
}
.scroller-book__flip-link {
    display: block;
    pointer-events: auto;
    line-height: 0;
    transform-origin: bottom right;
}
.scroller-book__flip-img {
    display: block;
}
.scroller-book__container {
    background-color: #fff;
    padding: 0;
    padding-bottom: 52px;
    border: 1px solid #BAB9B9;
    border-radius: 36px;
    box-sizing: border-box;
    margin-top: 63px;
}
.scroller-book__title {
    font-size: 39px;
    font-weight: 700;
    line-height: 130%;
    color: #111;
    margin: 52px 0 46px 50px;
}
.scroller-book__wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #DCDBDB;
    overflow: hidden;
    padding: 0;
}
.scroller-book__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: calc(min(1150px, calc(100% - 32px)) + 120px);
}
.scroller-book__book-scaler {
    position: relative;
    flex: 1 1 min(1150px, calc(100% - 32px));
    width: min(1150px, calc(100% - 32px));
    max-width: min(1150px, 100%);
    min-width: 0;
}
.scroller-book__book {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1150 / 768;
    min-width: 0;
    margin: 0;
    overflow: hidden;
}
.scroller-book__cover-screen {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.scroller-book__book--on-cover .scroller-book__cover-screen {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.scroller-book__book--on-cover .scroller-book__flip-root {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}
.scroller-book__cover-screen .scroller-book__cover {
    display: block;
    height: 100%;
    width: 50%;
    max-width: 100%;
    object-fit: cover;
    object-position: center top;
    user-select: none;
    -webkit-user-drag: none;
}
.scroller-book__flip-root {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.scroller-book__book--ready:not(.scroller-book__book--on-cover) .scroller-book__flip-root {
    opacity: 1;
}
.scroller-book__flip-root.stf__parent {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    display: block !important;
}
.scroller-book__flip-root .stf__wrapper {
    padding-bottom: 0 !important;
    height: 100%;
    overflow: hidden;
}
.scroller-book__flip-root .stf__block {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.scroller-book__flip-page,
.scroller-book__flip-page.stf__item {
    background: #EDEDED;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    box-sizing: border-box;
}
.scroller-book__flip-page--spread {
    padding: 0;
}
.scroller-book__cover--spread {
    display: block;
    width: 200%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}
.scroller-book__flip-page--spread-left .scroller-book__cover--spread {
    object-position: left center;
}
.scroller-book__flip-page--spread-right .scroller-book__cover--spread {
    object-position: right center;
    transform: translateX(-50%);
}
.scroller-book__cover {
    display: block;
}
.scroller-book__nav {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    padding: 0;
    width: 0;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, width 0.3s ease;
    line-height: 0;
}
.scroller-book__nav img {
    display: block;
    width: 30px;
    height: auto;
}
.scroller-book__wrapper--has-nav .scroller-book__nav {
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.scroller-book__button {
    position: absolute;
    right: 55%;
    top: 52%;
    transform: translateY(-50%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.scroller-book__button.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.scroller-book__book:not(.scroller-book__book--on-cover) ~ .scroller-book__button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.scroller-book__modal {
    position: absolute;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 3% 24px 24px;
    box-sizing: border-box;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.scroller-book__modal--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.scroller-book__modal-dialog {
    width: min(900px, 46%);
    max-height: calc(100% - 16px);
    overflow: auto;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
}
.scroller-book__modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 16px;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.scroller-book__logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.scroller-book__logo-wrap img {
    width: auto;
    max-height: 36px;
}
.scroller-book__close {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    gap: 12px;
    font-size: 10px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #222;
    letter-spacing: 0.04em;
}
.scroller-book__close-icon {
    position: relative;
    line-height: 0;
}
.scroller-book__modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}
.scroller-book__modal-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 130%;
    color: #222;
    margin: 0 0 12px;
    text-align: left;
    width: 100%;
}
.scroller-book__modal-button {
    background: var(--button-primary);
    font-size: 15px;
    color: var(--dark-primary);
    padding-block: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    width: 240px;
}
.scroller-book__modal-img {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 24px;
}
.scroller-book__modal-btn {
    display: inline-block;
    text-align: center;
}

@media (width < 650px) {
    .scroller-book__button {
        width: 25%;
    }
    .scroller-book__flip-link {
        transform: scale(0.667);
    }
    .scroller-book__container {
        margin-top: 40px;
        border-radius: 24px;
        padding-bottom: 32px;
    }
    .scroller-book__title {
        font-size: 26px;
        margin: 32px 16px 24px;
    }
    .scroller-book__wrapper {
        padding: 12px 16px 20px;
        overflow: hidden;
    }
    .scroller-book__stage {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    .scroller-book__book-scaler {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .scroller-book__book {
        width: 100%;
        height: auto;
        aspect-ratio: 1038 / 768;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
        overflow: hidden;
    }
    .scroller-book__cover-screen {
        background: #DCDBDB;
    }
    .scroller-book__cover-screen .scroller-book__cover {
        height: 100%;
        width: 55%;
        max-width: 100%;
        object-fit: cover;
    }
    .scroller-book__flip-root,
    .scroller-book__flip-root.stf__parent {
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        touch-action: manipulation;
    }
    .scroller-book__cover--spread {
        width: 200%;
        height: 100%;
        max-width: none;
        object-fit: cover;
    }
    .scroller-book__flip-page--spread-left .scroller-book__cover--spread {
        object-position: left center;
        transform: none;
    }
    .scroller-book__flip-page--spread-right .scroller-book__cover--spread {
        object-position: right center;
        transform: translateX(-50%);
    }
    .scroller-book__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 110;
        flex: none;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        min-height: 44px;
        padding: 0 4px;
        pointer-events: none;
        -webkit-tap-highlight-color: transparent;
    }
    .scroller-book__nav img {
        pointer-events: auto;
        width: 20px;
    }
    .scroller-book__nav--prev {
        left: 0;
    }
    .scroller-book__nav--next {
        right: 0;
    }
    .scroller-book__wrapper--has-nav .scroller-book__nav {
        width: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
    }
    .scroller-book__button {
        right: 55%;
        top: 50%;
        transform: translateY(-50%);
    }
    .scroller-book__button img {
        width: 120px;
        height: auto;
    }
    .scroller-book__modal {
        padding: 12px;
        justify-content: center;
    }
    .scroller-book__modal-dialog {
        width: min(340px, 100%);
        padding: 16px 16px 18px;
    }
    .scroller-book__modal-header {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .scroller-book__logo-wrap img {
        max-height: 28px;
    }
    .scroller-book__close {
        gap: 6px;
        font-size: 8px;
    }
    .scroller-book__close-icon svg {
        width: 16px;
        height: auto;
    }
    .scroller-book__modal-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .scroller-book__modal-img {
        display: none;
    }
    .scroller-book__modal-btn {
        font-size: 13px;
        line-height: 1.2;
        padding: 10px 12px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (width < 550px) {
    .scroller-book__container {
        margin-top: 32px;
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
        border-left: none;
        border-right: none;
    }
    .scroller-book__title {
        font-size: 22px;
        margin: 28px 20px 20px;
    }
    .scroller-book__stage {
        padding: 0 8px;
    }
    .scroller-book__nav--prev {
        left: 2px;
    }
    .scroller-book__nav--next {
        right: 2px;
    }
    .scroller-book__button img {
        width: 100px;
    }
    .scroller-book__nav img {
        width: 18px;
    }
    .scroller-book__modal-dialog {
        padding: 12px 14px 14px;
    }
    .scroller-book__modal-title {
        font-size: 13px;
    }
    .scroller-book__modal-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
}

