[data-page='chapter'] {
    background: none;
}

.slick-prev:focus:not(:focus-visible),
.slick-next:focus:not(:focus-visible) {
    outline: none;
}


.dom-main-content {
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}


/* 1. Hero Блок */
.hero-block {
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    background: rgb(76 44 16 / 35%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    padding-bottom: 50px;
}

.subtitle {
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    color: #FFFFFF;
    padding: 0;
    margin: 0;
}

.subtitle strong {
    font-weight: 500;
}

.hero-block h1 { font-size: 42px; letter-spacing: 2px; margin: 0 auto;padding: 0; }
.play-button { padding: 15px 15px 50px; border-radius: 10px; cursor: pointer; }

/* 2. Темная плашка */
.dark-banner {
    padding: 70px 50px;
    text-align: center;
}
.dark-banner p {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    /* or 143% */
    text-align: center;
    color: #503B30;
}

/* 3. Блок преимуществ */
.features-section {
    display: flex; /* Основной контейнер - флекс */
    flex-wrap: wrap; /* Для адаптивности на мобилках */
}

.features-col {
    flex: 1; /* Колонки делят место 50/50 */
    min-width: 350px;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.light-col { background: #f5f5f5; color: #503B30; }
.brown-col { background: #86776C; color: white; }

.feature-item {
    display: flex; /* Ряд: цифра/иконка + текст */
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1); /* Линия в светлой колонке */
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;

}

.brown-col .feature-item { border-bottom: 1px solid rgba(255,255,255,0.2); }
.brown-col .feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.feature-num {
    margin-right: 50px;
    margin-left: 20px;
    width: 60px;
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 80px;
    line-height: 80px;
    display: flex
;
    align-items: center;
    text-align: center;
    color: #947763;
}

.feature-icon {
    font-size: 40px;
    margin-right: 50px;
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-text h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

.feature-text p {
    font-size: 18px;
    opacity: 0.8;
    margin: 0;
}

/* 4. Стили для черного баннера */
.process-banner {
    color: #fff;
    padding: 70px 55px;
    text-align: center;
}

.process-banner h2 {
    color: #503B30; /* Бронзовый оттенок */
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.process-description {
    margin: 0 auto;
    text-align: center;
}

.process-description p{
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #503B30;
}




/* 5. Секция Синергия */
.synergy-section {
    display: flex;
}

.synergy-image {
    background: url(/img/source/prof_lending/ingr.jpg) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 115px 70px;
    position: relative;
    height: 420px;
    width: 672px;
}

/* Затемнение для читаемости текста на фото */
.synergy-image::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.1);
}

.synergy-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.synergy-content h2 {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    color: #FFFFFF;
}

.btn-primary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 15px 50px;
    gap: 20px;
    width: 263px;
    background: #D75858;
    border-radius: 30px;
    margin: 0 auto;
    border: none;
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #CE3A3A;
    color: #FFFFFF;
}

.btn-primary:active {
    background: #D75858;
    color: #FFFFFF;
}

.synergy-list {
    flex: 1;
    background-color: #F7F5F4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
}

.synergy-item {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.synergy-item:last-child { border-bottom: none; }

.synergy-icon { font-size: 35px; }

.synergy-info {
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
    display: flex;
    color: #503B30;
    flex-direction: column;
}

.synergy-info h3 {
    color: #503B30;
    margin: 0;
    font-weight: 700;
    font-size: 18px;
}

.synergy-info p {
    color: #503B30;
    font-size: 18px;
    margin: 0 0 10px;
}

/* 6. Счетчики */
.counters-section {
    
    color: #503B30; /* Бронза */
    padding: 60px 0;
}

.counters-section .flex-row {
    display: flex;
}

.counter-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.counter-val {
    display: block;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.counter-item p {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #503B30;
}

/* 7. Сетка 2х2 */
.benefits-grid {
    background-color: #F7F5F4;
    padding: 70px 0;
    text-align: center;
}

.benefits-grid h2 {
    margin: 0 0 60px;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    color: #503B30;
}

.grid-container {
    position: relative; /* Для позиционирования плюса */
    max-width: 900px;
    margin: 0 auto;
}

.grid-row {
    display: flex;
    justify-content: center;
    gap: 100px; /* Отступ между колонками */
    margin-bottom: 60px;
}

.grid-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
    color: #503B30;
}

.grid-number {
    font-size: 80px;
    font-weight: bold;
    color: #DED6D0;
    line-height: 1;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-content strong {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.grid-content p {
    font-family: 'Gotham';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #503B30;
    margin: 0;
}

/* Выравнивание текста */
.text-right { text-align: right; }
.text-left { text-align: left; }

/* Декоративный плюс по центру */
.grid-plus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: 100;
    color: #d1d1d1;
    pointer-events: none;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .grid-row { flex-direction: column; gap: 40px; }
    .grid-plus { display: none; }
    .text-right { text-align: center; }
}

/* 8. Баннер с гарантией */
.guarantee-banner {
    height: 310px;
    background: url(/img/source/prof_lending/cosm_an_b.jpg) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.guarantee-banner h2 {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    color: #FFFFFF;
}
.guarantee-banner h2 strong {
    font-weight: 500;
}

/* 9. Сетка поддержки (наследует стили из предыдущего этапа) */
.support-grid {
    padding: 70px 0;
    background-color: #F7F5F4;
    text-align: center;
}

.support-grid h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    color: #503B30;
    margin: 0 0 60px;
}

/* 10. Глобальная статистика */
.global-stats {
    background-color: #86776C; /* Коричневый фон */
    color: white;
    padding: 70px 0;
}

.partner-btn {
    padding: 70px;
    background: #F7F5F4;
}
.stats-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 54px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-box p {
    max-width: 200px;
    margin: 0 auto;
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
}

/* Обертка для кнопки, чтобы центрировать её */
.cta-wrapper {
    display: flex;
    justify-content: center;
}

.global-stats .btn-primary {
    background-color: #e56b6f;
    border: 2px solid transparent;
}

.global-stats .btn-primary:hover {
    background-color: transparent;
    border-color: #e56b6f;
}

/* 10.1. безкоштовне підвищення кваліфікації в Барселоні */

.professional_development {
    background: url(/img/source/prof_lending/professional_development.jpg) no-repeat;
    padding: 70px 45px;
}

.professional_development h2,
.professional_development h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    color: #ffffff;
    margin: 0 0 60px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.professional_development h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    color: #FFFFFF;
    padding: 0;
    margin: 0;
    text-transform: none;
}

.professional_development .grid-container {
    background: rgba(134, 119, 108, 0.85);
    border-radius: 10px;
    margin: 65px auto;
    max-width: 1117px;
    padding: 47px 58px 50px;
}

.professional_development .grid-container .text-right p,
.professional_development .grid-container .text-left p {
    color: #FFFFFF;
}

.professional_development .grid-container .grid-row {
    margin-bottom: 0;
}

.professional_development .grid-container .grid-plus {
    font-size: auto;
}

.professional_development .grid-container .grid-number {
    color: #ffffff;
}

.professional_development .prof_dev_video {
    position: relative;
    text-align: center;
}

.professional_development .prof_dev_video .play-btn {
    position: relative;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 0;
    transform: none;
}

.professional_development .prof_dev_video p {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    text-decoration-line: underline;
    color: #FFFFFF;
}

.barca_put.slick-center {
    opacity: 1;
    transform: scale(1.1);
}

.barca_put {
    padding: 70px 45px;
}

.barca_put h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    color: #503B30;
    margin: 0 0 60px;
}




/* 11. Стили секции заказа */
.first-order {
    display: flex;
    margin-top: 80px;
}

/* Левая колонка */
.order-image-side {
    flex: 1;
    background: url('/img/source/prof_lending/znay_brand.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    max-height: 612px;
}

.image-overlay-text h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
}

/* Правая колонка */
.order-content-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 45px;
}

.content-wrapper {
    width: 100%;
}

.order-content-side h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    color: #503B30;
}

/* Белая карточка с предложениями */
.promo-card {
    background: #fff;
    padding: 0;
    margin-bottom: 40px;
    border-radius: 4px;
}

.promo-item {
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 50px;
}

/* Разделительная линия внутри карточки */
.promo-item:first-child {
    border-bottom: 1px solid #e0e0e0;
}

.first-order .btn-primary {
    margin-left: 0;
}

.promo-icon {
    font-size: 30px;
    color: #333;
    width: 50px;
}

.promo-text .highlight {
    display: block;
    color: #e56b6f; /* Розовый акцент */
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;

    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
}

.promo-text p {
    color: #666;
    margin: 0;
    font-family: 'Gotham';
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
}

/* Кнопка (используем ранее созданный стиль, уточняем размеры) */
.order-content-side .btn-primary {
    width: 100%;
    max-width: 250px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 992px) {
    .first-order {
        flex-direction: column;
    }
}

.partners-slider-section {
    background-color: #F7F5F4;
    padding: 80px 0;
    overflow: hidden;
}

.section-title {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    color: #503B30;
    margin-top: 0;
}

.partners-slider {
    max-width: 1340px;
    margin: 0 auto;
}

.link_inst {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: 40px;
    z-index: 100;
    height: 28px;
    display: flex;
    width: 100%;
}
.link_inst a:hover {
    background: rgba(255, 255, 255, 1); 
}

.link_inst span {
    position: relative;
    width: 100%;
    height: 100%;
}

.link_inst span.instagram {
    margin: 0 auto;
    left: 0;
    right: 0;
}
.link_inst a:before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: url(/themes/img/icons/icon_instagram.svg), no-repeat;
    left: 8px;
    top: 7px;
}

.link_inst a {
    position: absolute;
    display: flex;
    width: max-content;
    height: 100%;
    padding: 5px 8px 8px 26px;
    background: #FFFFFFBF;
    margin: 0 auto;
    left: 0;
    right: 0;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

/* Базовый стиль слайда (боковые) */
.partner-slide {
    padding: 20px;
    transition: all 0.4s ease-in-out;
    opacity: 0.6; /* Боковые слайды чуть приглушены */
    transform: scale(0.8); /* Боковые слайды меньше */
}

/* Стиль активного слайда (центральный) */
.partner-slide.slick-center {
    opacity: 1;
    transform: scale(1.1); /* Центр больше */
}

.video-container {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container img {
    width: 100%;
    display: block;
    height: auto;
}

/* Кнопка Play */
.hero-overlay .play-btn {
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
    transform: none;
}

.insta-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.8);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
}

/* Кастомные стрелки Slick (при необходимости) */
.slick-prev, .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
}


.slider-wrapper {
    position: relative; /* Контейнер для позиционирования стрелок */
}

/* Общие стили для кастомных стрелок */
.custom-arrow {
    position: absolute;
    top: 56%; /* Центрируем по вертикали относительно видео */
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    transition: opacity 0.3s;
}

.custom-arrow:hover {
    opacity: 0.6;
}

/* Позиция левой стрелки */
.custom-prev {
    left: 38%;
}

/* Позиция правой стрелки */
.custom-next {
    right: 38%;
}

/* Убираем стандартные кнопки Slick, если они создаются автоматически */
.slick-disabled {
    display: none !important;
}

/* Предотвращение столбика до инициализации */
.reviews-slider-init:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
    gap: 20px;
}
.reviews-slider-init:not(.slick-initialized) .review-slide {
    min-width: 32%; /* Примерно 3 слайда в ряд */
}

/* Основные стили */

/* 1. Основные параметры секции */
.reviews-section {
    padding: 70px 0 100px;
    background-color: #ffffff;
}

/* 2. Шапка блока (Заголовок + Стрелки) */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px; /* Сужаем для соответствия макету */
    margin: 0 auto 50px;
    gap: 20px;
}

.reviews-title-block {
    text-align: center;
}

.reviews-title-block h2 {
    font-size: 32px;
    color: #503B30;
    margin-bottom: 40px;
    text-transform: none;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.google-rating .count {
    display: none;
}

/* 3. Стили карточек отзывов */
.review-slide {
    padding: 25px; /* Отступы между карточками в слайдере */
    outline: none;
}

.card-inner {
    background: #F7F5F4;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 290px; /* Одинаковая высота карточек */
    height: 100%;
}

.card-stars {
    color: #fbbc05;
    margin-bottom: 15px;
    font-size: 18px;
}

.card-inner p {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}

.read-more {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #D75858;
}

/* 4. Автор отзыва */
.author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    margin-top: auto;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #5D54C8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
}

.avatar svg {
    position: absolute;
    bottom: -5px;
    right: -9px;
}

.author-info strong {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #000000;
    display: flex;
    gap: 4px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info span {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #85869C;
}

.arrow-trigger {
    display: block;
}

.arrow-trigger svg {
    pointer-events: none; /* Критично для nespicms.js! */
    display: block;
}

/* 6. Исправление "столбика" до инициализации Slick */
.reviews-slider-init:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
    gap: 20px;
}

.reviews-slider-init:not(.slick-initialized) .review-slide {
    width: 33.33%; /* Показываем 3 карточки в ряд */
    flex-shrink: 0;
}

/* 7. Адаптивность */
@media (max-width: 992px) {
    .reviews-slider-init:not(.slick-initialized) .review-slide {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .reviews-slider-init:not(.slick-initialized) .review-slide {
        width: 100%;
    }
    .rev-arrow {
        display: none; /* На телефонах лучше листать пальцем (swipe) */
    }
}

.rev-arrow {
    position: relative;
    padding: 0;
    width: 50px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Эта часть блокирует прямое взаимодействие с SVG */
.arrow-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.arrow-trigger svg {
    pointer-events: none; /* SVG больше не реагирует на мышь */
}

.transformation-section {
    padding: 70px 0 100px;
    background-color: #F7F5F4;
}

.transformation-section h2.section-title {
    margin: 0 0 70px;
}

.transformation-wrapper {
    position: relative;
    max-width: 1340px;
    margin: 0 auto;
}

.trans-slide {
    padding: 10px;
    transition: all 0.5s ease;
    filter: grayscale(50%); /* Делаем боковые сероватыми */
    opacity: 0.5;
    transform: scale(0.85);
}

.trans-slide img {
    width: 100%;
    display: block;
}

/* Активный центральный слайд */
.trans-slide.slick-center {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
}

/* Стрелки поверх фото */
.trans-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0 20px;
}

.trans-prev { left: 33%; }
.trans-next { right: 33%; }

.arrow-hitbox svg {
    pointer-events: none; /* Защита от ошибки JS */
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

@media (max-width: 768px) {
    .trans-prev { left: 0; }
    .trans-next { right: 0; }
}

.registration-form {
    background: url('/img/source/prof_lending/reg_bg.jpg') no-repeat;
    padding: 70px 0 100px;
}

.form-card {
    max-width: 1168px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.form-card h2 {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 15px;
}

.form-subtitle {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    color: #FFFFFF;
}

.flex-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 29px;

}

.input-group input, 
.input-group textarea {
    width: 100%;
    height: 60px;
    padding: 15px 20px;
    font-size: 14px;
    background: white;


    /* Rectangle 37 */
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #86776C;

}

.input-group textarea {
    height: 100%
}

.form-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-submit {
    background-color: #e56b6f;
    border: none;
    padding: 15px 60px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;

    font-family: 'Gotham';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;


/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;

}

.btn-submit:hover {
    background-color: #d45a5e;
}

@media (max-width: 768px) {
    .flex-form { flex-direction: column; }
}

.bottom-info-bar {
    background-color: #F7F5F4;
    padding: 40px 0 57px;
    border-top: 1px solid #e0e0e0;
}

.info-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.info-item {
    flex: 1;
    min-width: 200px;
    padding: 0 30px;
    text-align: center;
    position: relative;
}

/* Вертикальные разделители */
.info-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #333; /* Темная тонкая линия */
}

.info-item h3 {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #503B30;
}

.info-item p {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #503B30;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .info-item {
        flex: 50%; /* По 2 в ряд */
        margin-bottom: 40px;
    }
    .info-item:nth-child(2)::after {
        display: none; /* Убираем линию у второго элемента в ряду */
    }
}

@media (max-width: 600px) {
    .info-item {
        flex: 100%; /* По 1 в ряд */
    }
    .info-item::after {
        display: none; /* Убираем все линии */
    }
}

.map-section {
    position: relative;
    color: #fff;
    padding: 70px 0 75px;
    text-align: center;
}
.map-section:after {
    content: '';
    background: url(/img/source/prof_lending/Logo_Anubis_map_bg.png) no-repeat;
    max-width: 932px;
    max-height: 187px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
}


.map-section h2 {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    color: #503B30;
    margin: 0 0 60px;
}

.map-container {
    margin-bottom: 60px;
}

.world-map {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
}

.map-text {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-text p {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #503B30;
    margin: 0;
}

.final-cta {
    width: 100%;
}

.final-flex-row {
    display: flex;
    flex-wrap: wrap;
}

.final-text-side, .final-video-side {
    flex: 1;
    min-width: 350px;
    min-height: 450px;
}

/* Левая сторона */
.final-text-side {
    background-color: #86776C;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: white;
}

.side-inner h3 {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 26px;
    line-height: 40px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.side-inner p {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    line-height: 40px;
    color: #FFFFFF;
}

.side-inner strong {
    color: #fff;
}

.expertny_statty {
    padding: 70px 0 50px;
    text-align: center;
    background: #F7F5F4;
}

.expertny_statty-title-block {
    margin: 0 auto;
}

.expertny_statty h2 {
    padding: 0;
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    text-align: center;
    color: #503B30;
    margin-top: 0;
}

.expertny_statty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    gap: 20px;
}

.fnc--center--articles--listitem__name a,
.fnc--center--articles--listitem__info {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #503B30;
    max-height: 72px;
    overflow: hidden;
}

.fnc--center--articles--listitem__info {
    font-weight: 400;
}
.fnc--center--articles__listitem {
    background: #f6f4f3;
}

.fnc--center--articles--listitem__image img{
    margin: 0 auto;
    width: 90%;
}
.fnc--center--articles__listitem__main {
    background: #ffffff;
    max-width: 90%;
    margin: 0 auto 70px;
}

.fnc--center--articles__container {
    max-width: 1340px;
    margin: 0 auto;
}

/* Правая сторона */
.final-video-side {
    background: url('/img/source/prof_lending/vibor_brend.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay {
    text-align: center;
    color: white;
    padding: 20px;
}

.video-caption h4, .video-caption p {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

.video-caption p { 
    font-size: 22px;
    font-weight: 200;
}

.final-cta .play-btn {
    position: relative;
    margin: 0 auto;
    /*left: 0;*/
    right: 0;
    top: 20px;
    /*margin-bottom: 50px;*/
}

@media (max-width: 768px) {
    .final-flex-row { flex-direction: column; }
}

/* Фоновая подложка */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none; /* Скрыто по умолчанию */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Контентная область */
.modal-content {
    width: 90%;
    max-width: 1000px;
    position: relative;
}

/* Кнопка закрытия */
.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 35px;
    cursor: pointer;
    line-height: 1;
}

/* Адаптивный контейнер для iframe (16:9) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Соотношение 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container { position: relative; }
.play-btn {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    /* центрирование */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Базовый контейнер (16:9 для обычного видео) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    transition: all 0.3s ease;
}

/* Изменяем пропорции для Reels (9:16) */
.modal-overlay.is-reels .modal-content {
    max-width: 400px; /* Узкое окно для телефона */
}

.modal-overlay.is-reels .video-wrapper {
    padding-bottom: 177.77%; /* Соотношение сторон 9:16 */
}

#reviews {
    /* Ровно на высоту шапки + запас */
    scroll-margin-top: 100px; 
}

html {
    scroll-behavior: smooth;
}


.fnc--center--articles__button {
    display: none;
}

/* menu lending */

.contact_outline {
    position: fixed;
    align-items: center;
    bottom: 0;
    z-index: 100;
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 30px;
    background: #D75858;
    transition-duration: 0.4s;
    -webkit-transition: 0.4s;
    -ms-transition: 0.4s;
}

.cont_outl_cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cont_outl_cont-tell_tele {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cont_outl_cont-tell_tele div {
    border-right: solid 1px #FFFFFF;
    padding-right: 20px;
}
.cont_outl_cont-tell_tele .cont_outl_telegram {
    border-right: none;
}
.cont_outl_cont-tell_tele .cont_outl_telegram a {
    display: flex;
    gap: 20px;
}
.cont_outl_cont-tell_tele a,
.cont_outl_cont-email a {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.cont_outl_cont-tell_tele a:hover span,
.cont_outl_cont-email a:hover span {
    color: #d9d9d9;
}

.cont_outl_cont-menu {
    display: none;
}

.call_btn_outline {
    justify-content: center;
    align-items: center;
    display: flex;
    transition: all 0.4s ease-in-out;
}

.call_btn_outline_close {
    transform: rotate(-45deg);
    transition: all 0.4s ease-in-out;
}

.hint {
    bottom: 20px;
}

.hint_mob {
    right: 0;
    bottom: 20px;
}

.call_btn img{
    display: none!important;
}

/* END lending */



/*  ############# MOBile ############# */
@media (max-width: 1150px) {

.professional_development {
    background-size: cover;
    background-position: center;
}

}


@media (max-width: 1050px) {

.synergy-image {
    height: auto;
}

.form-card {
    max-width: 900px;
}

.cont_outl_cont-tell_tell2,
.cont_outl_cont-email {
    display: none;
}
.cont_outl_cont-menu {
    display: flex;
}


}


/* Адаптивность */
@media (max-width: 900px) {
    .synergy-section { flex-direction: column; }
    .synergy-image { 
        height: auto;
        width: 100%;
    }
    .counters-section .flex-row {
        flex-wrap: wrap;
    }
    .first-order .btn-primary {
        margin-left: 0;
        margin-right: 0;
    }
    .reviews-header {
        max-width: 85%;
    }
    .flex-form {
        flex-direction: column;
        padding: 0 30px;
    }
    .expertny_statty-header {
        max-width: 85%;
    }
}


@media (max-width: 768px) {
    .features-section {
        flex-direction: column;
    }
    .feature-icon {
        margin-left: 20px;
    }
    .grid-item:nth-child(2n+1) {
        flex-direction: row-reverse;
    }
    .grid-item {
        justify-content: left;
        padding-left: 20px;
    }
    .text-right {
        text-align: left;
    }

    .reviews-header {
        flex-direction: column;
        position: relative;
    }
    .reviews-prev {
        position: absolute;
        left: 10%;
        top: 20%;
    }
    .reviews-next {
        position: absolute;
        right: 10%;
        top: 20%;
    }
    .registration-form {
        background-size: cover;
        background-position: center;
    }

}

@media (max-width: 650px) {
    .hero-block h1 {
        font-size: 20px;
        line-height: 32px;
    }
    .subtitle {
        font-size: 18px;
        line-height: 24px;
    }
    .hero-overlay {
        background: none;
        padding-bottom: 0;
    }
    .synergy-image {
        position: relative;
        aspect-ratio: 375 / 420;
        background: url(/img/source/prof_lending/Sinergy_block_m.jpg) center / cover no-repeat;
    }
    .counter-item {
        flex: auto;
    }
    .custom-prev {
        left: 10%;
    }
    .custom-next {
        right: 10%;
    }
    .custom-arrow {
        top: 53%;
    }
    .section-title {
        margin-bottom: 40px;
    }
    .guarantee-banner {
        width: 100%;
        aspect-ratio: 650 / 650; /* Подставьте размеры вашей реальной картинки */
        background: url(/img/source/prof_lending/guarantee-banner_m.webp) center / cover no-repeat;
        height: auto;
        position: relative;
    }
    .guarantee-banner:before,
    .order-image-side:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(76, 44, 16, 0.35);
        width: 100%;
        height: 100%;
    }
    .container {
        z-index: 1;
    }
    .order-image-side {
        position: relative;
        aspect-ratio: 650 / 594;
        background: url(/img/source/prof_lending/znay_brand_m.png) center / cover no-repeat;
    }
    .image-overlay-text {
        z-index: 1;
    }
    .dark-banner p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 0;
    }
    .dark-banner {
        text-align: center;
    }
    .feature-text p,
    .feature-text h3 {
        font-size: 14px;
        line-height: 20px;
    }
    .feature-num {
        font-size: 60px;
        margin-right: 30px;
    }

    .process-banner h2 {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 30px;
    }
    .synergy-content h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 40px;
    }
    .btn-primary {
        font-size: 14px;
        padding: 15px 50px;
    }
    .synergy-list {
        padding: 30px 30px;
    }
    .synergy-info h3,
    .synergy-info p {
        font-size: 14px;
        line-height: 20px;
    }
    .synergy-item {
        gap: 30px;
    }
    .counter-val {
        font-size: 40px;
        line-height: 46px;
    }
    .counter-item p {
        font-size: 14px;
        line-height: 20px;
    }
    .counters-section {
        padding: 40px 20px;
    }
    .benefits-grid h2 {
        font-size: 24px;
        line-height: 34px;
    }
    .grid-number {
        font-size: 70px;
        line-height: 60px;
    }
    .grid-item {
        gap: 30px;
    }
    .grid-content p,
    .grid-content strong {
        font-size: 14px;
        line-height: 20px;
    }
    .grid-item {
        padding-left: 0;
    }
    .guarantee-banner h2 {
        font-size: 18px;
        line-height: 24px;
    }
    .support-grid h2 {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 40px;
    }
    .stat-num {
        font-size: 40px;
        line-height: 46px;
    }
    .stat-box p {
        font-size: 14px;
        line-height: 20px;
    }
    .first-order {
        margin-top: 0;
    }
    .partner-btn {
        padding: 40px;
    }
    .image-overlay-text h2 {
        text-align: center;
    }
    .order-image-side {
        justify-content: center;
    }
    .order-content-side h3,
    .image-overlay-text h2,
    .section-title {
        font-size: 24px;
        line-height: 34px;
    }
    .order-content-side h3 {
        text-align: center;
    }
    .promo-item {
        gap: 30px;
    }
    .promo-text .highlight,
    .promo-text p {
        font-size: 14px;
        line-height: 20px;
    }
    .promo-card {
        margin-bottom: 20px;
    }
    .partners-slider-section {
        padding: 40px 30px 60px;
    }
    .reviews-header {
        margin: 0 auto 30px;
    }
    .reviews-title-block h2 {
        font-size: 24px;
        line-height: 34px;
    }
    .trans-prev {
        left: 8%;
    }
    .trans-next {
        right: 8%;
    }
    .flex-form {
        padding: 0;
    }
    .form-card h2 {
        font-size: 24px;
        line-height: 34px;
    }
    .form-subtitle {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }
    .info-grid {
        flex-direction: column;
    }
    .info-item:not(:last-child)::after {
        display: none;
    }
    .info-item {
        border-bottom: solid 1px #503B30;
    }
    .info-item:last-child {
        border: none;
    }
    .info-item h3,
    .info-item p {
        font-size: 14px;
        line-height: 20px;
    }
    .info-item h3 {
        margin: 0 0 10px;
    }
    .map-section h2 {
        font-size: 24px;
        line-height: 34px;
    }
    .map-text p {
        font-size: 14px;
        line-height: 20px;
    }
    .map-section:after {
        max-width: 250px;
        background-size: contain;
        background-position: bottom;
    }
    .side-inner h3 {
        font-size: 18px;
        line-height: 24px;
    }
    .final-text-side {
        min-height: auto;
    }
    .side-inner p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 0;
    }
    .final-video-side {
        background: url(/img/source/prof_lending/try_marketing.jpg) center / cover no-repeat;
    }
    .video-overlay {
        padding: 0;
    }
    .final-cta .play-btn {
        margin: 0 auto 30px;
    }
    .video-caption h4, .video-caption p {
        font-size: 18px;
        line-height: 24px;
    }
    .expertny_statty h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 0;
    }
    .expertny_statty-header svg {
        width: 30px;
        line-height: 16px;
    }
    .fnc--center--articles__listitem__main {
        padding: 30px;
    }


    .features-col,
    .dark-banner,
    .process-banner,
    .synergy-image,
    .benefits-grid,
    .guarantee-banner,
    .support-grid,
    .global-stats,
    .order-content-side,
    .reviews-section,
    .registration-form,
    .bottom-info-bar,
    .map-section,
    .final-text-side,
    .final-video-side,
    .expertny_statty,
    .hero-block,
    .professional_development .container {
        padding: 40px 30px;
    }

    .professional_development {
        background: none;
        padding: 0;
    }
    .prof_dev_video  {
        background: #86776C;
        padding: 25px 65px;
    }
    .professional_development .prof_dev_video p {
        margin-bottom: 0;
    }

    .professional_development h2, .professional_development h3, .barca_put h2 {
        font-size: 18px;
        line-height: 24px;
    }
    .professional_development .container {
        background: url(/img/source/prof_lending/professional_development_m.jpg) no-repeat;
        background-size: cover;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 500px;
        align-items: center;
        justify-content: center;
    }
    .professional_development .grid-container {
        background: none;
        margin: 0 auto;
    }
    .professional_development .grid-container .text-right p, .professional_development .grid-container .text-left p {
        color: #503B30;
    }
    .professional_development .grid-container .grid-number {
        color: #947763;
    }
    .barca_put {
        padding: 70px 0;
    }

}

@media (max-width: 550px) {
    .cont_outl_cont-tell_tele .cont_outl_telegram span {
        display: none;
    }
    .cont_outl_cont-tell_tele .cont_outl_telegram {
        border-right: solid 1px #FFFFFF;
        height: 32px;
        display: flex;
        align-items: center;
    }
    .cont_outl_cont-tell_tele a {
        font-size: 16px;
    }
    .professional_development .grid-container {
        padding: 40px 17px;
    }

    .professional_development .container {
        background-size: contain;
        height: 400px;
    }
}

@media (max-width: 450px) {
    .reviews-prev {
        left: 0;
    }
    .reviews-next {
        right: 0;
    }
    .review-slide {
        padding: 0;
    }
    .author-info strong,
    .card-inner p {
        font-size: 14px;
        line-height: 20px;
    }

}



.final-cta {
    display: none;
}
