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


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


/* 1. Hero Блок */
.hero-block {
    height: 550px;
    background: url('/img/source/prof_lending/Anna1.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

/*.hero-block:before {
    content: '';
    position: absolute;
    width: 930px;
    height: 195px;
    background: url('/img/source/prof_lending/erst_screen_logo.png') no-repeat;
    bottom: 0;
}*/

.hero-overlay {
    background: rgba(0, 0, 0, 0.2); /* Легкое затемнение фото */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.hero-block h1 { font-size: 42px; letter-spacing: 2px; margin: 0 auto;padding-bottom:0; }
.play-button { padding: 15px; 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: 16px;
    margin: 0;
    font-weight: 500;
}

.feature-text p {
    font-size: 14px;
    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-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;
}

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

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

/* 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: #f9f9f7;
    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-size: 14px;
    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; }
    .text-left { text-align: center; }
    .grid-item { flex-direction: column; }
}

/* 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;
}

/* 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: 80px 0;
}

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

.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 {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.9;
    max-width: 200px;
    margin: 0 auto;
}

/* Обертка для кнопки, чтобы центрировать её */
.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;
}

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

/* Левая колонка */
.order-image-side {
    flex: 1;
    background: url('/img/source/prof_lending/znay_brand.png') center/cover no-repeat;
    display: flex;
    align-items: 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;
}

/* Правая колонка */
.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;
}

.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;
}

.promo-text p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

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

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

.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;
}

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

/* Базовый стиль слайда (боковые) */
.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; /* Контейнер для позиционирования стрелок */
    max-width: 1200px;
}

/* Общие стили для кастомных стрелок */
.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;
}

/* Чтобы стрелки не накладывались на видео на мобильных */
@media (max-width: 768px) {
    .custom-arrow {
        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;
}

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

.card-inner {
    background: #f9f9f7;
    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-header {
        flex-direction: column; /* На мобилках заголовок в центре, стрелки можно скрыть */
    }
    .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: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.form-card h2 {
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.form-subtitle {
    margin-bottom: 40px;
    font-size: 16px;
    opacity: 0.9;
}

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

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

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


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

}

.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: #f9f9f7; /* Светлый фон как на макете */
    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;
}

.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;
}

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

.fnc--center--articles--listitem__image img{
    margin: 0 auto;
}
.fnc--center--articles__listitem__main {
    padding: 0;
    background: #ffffff;
    margin: 20px 30px 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;
}