

/* Start:/local/templates/moslombard/components/bitrix/news/main_slider/bitrix/news.list/.default/style.css?17779846856599*/
.main_slider {
    width: 100%;

    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
}

/* КОНТЕНТ СВЕРХУ (над картинкой) */
.slide-content {
    padding: 60px 20px 30px 20px;
    background: transparent;
    margin: 0 auto;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: flex-start; /* Важно! Предотвращает растягивание дочерних элементов */
}



.slide-text h1 {
    font-size: 6rem;
    font-weight: 400;
    color: #1B1919;
    line-height: 100%;
    margin-bottom: 16px;
}

.slide-text p {
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin: 0;

}

/* Блок с двумя простыми кнопками */
.slide-buttons {
    display: flex;
    gap: 10px;
    align-items: center; /* Выравнивание кнопок по центру внутри блока */
    align-self: end; /* Выравнивание самого блока кнопок по центру относительно текста */
}

/* Стили для простых кнопок - ИСПРАВЛЕНО */
.btn-loan, .btn-percent {
    padding: 15px 25px; /* Уменьшен вертикальный padding */
    font-size: 2rem;
    font-weight: 500;
    border: none;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 100%; /* Фиксированная высота строки */
    height: auto; /* Сброс высоты */


}

/* Сброс браузерных стилей для кнопок */
button.btn-loan{
    background: #CC150D;
    border: none;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
button.btn-percent {
    background: #848484;
    color: #FFFFFF;
    border: none;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-loan {

    color: #FFFFFF;
}

.btn-loan:hover {
    background: #A80E07;
}



.btn-percent:hover {
    background: #1B1919;
}

/* КАРТИНКА/ВИДЕО СНИЗУ */
.slide-media {
    width: 100%;
    padding: 0 20px;
    /*height: 350px;  поа убираем фикс высоту из-заширокоформатников*/
    position: relative;
    overflow: hidden;
}

.video-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* ЭЛЕМЕНТЫ УПРАВЛЕНИЯ */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    align-items: center;
    z-index: 20;
    background: rgba(46, 32, 31, 0.8);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-arrow {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.indicator {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.indicator.active {
    width: 32px;
    background-color: rgba(255, 255, 255, 0.2);
}

.indicator .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: white;
    border-radius: 4px;
    transition: width linear;
}















/* Адаптация для планшетов */
@media (max-width: 1023px) {
    .slide-content {
        padding: 30px 40px;
        align-items: flex-start; /* Важно для планшетов */
    }

    .slide-text h1 {
        font-size: 36px;
    }

    .slide-text p {
        font-size: 16px;
    }

    .btn-loan, .btn-percent {
        padding: 6px 22px; /* Еще меньше на планшетах */
        font-size: 15px;
        min-height: 38px;
    }

    .slide-buttons {
        gap: 14px;
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .slide-content {
        padding: 0 10px;
        flex-direction: column; /* На мобильных текст и кнопки в колонку */
        align-items: flex-start;
        gap: 40px;
        margin-top: 45px;
    }

    .slide-text {
        max-width: 100%;
        margin-bottom: 0;
    }

    .slide-text h1 {
        font-size: 4.5rem;
        font-weight: 400;
        line-height: 100%;
        margin-bottom: 15px;
    }

    .slide-text p {
        font-size: 1.8rem;
        max-width: 100%;
        max-width:260px;
    }

    .slide-buttons {
        gap: 10px;
        flex-direction: column;
        width: 100%;
        align-self: flex-start; /* Выравнивание слева */
    }

    .btn-loan, .btn-percent {
        padding: 10px 20px; /* Чуть больше для удобства нажатия на мобильных */
        font-size: 2rem;
        min-height: 44px; /* Минимальная высота для мобильных (рекомендация Apple) */
        width: 100%;
    }

    .slide-media {
        padding: 0 10px;
        height: 300px;
        margin-top: 10px;
    }

    .desktop-media {
        display: none;
    }

    .mobile-media {
        display: block;
    }

    .slider-controls {
        bottom: 20px;
        padding: 6px 15px;
        gap: 12px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
    }

    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }

    .indicator.active {
        width: 24px;
    }
}

@media (min-width: 769px) {
    .desktop-media {
        display: block;
    }

    .mobile-media {
        display: none;
    }
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/bot_baner_info/bitrix/news.list/.default/style.css?17779846853731*/
/* Основной контейнер - GRID */
div.bot_baner-list {
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки равной ширины */
    gap: 20px; /* Отступы между ячейками */
    align-items: stretch; /* Растягиваем элементы по высоте */
    margin-top: 20px;
}

/* Элемент-кубик */
div.bot_baner-item {
    min-height: 271px;
    border-radius: 10px;
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Контент внутри кубика - GRID */
div.bot_baner-content {
    padding: 30px;
    height: 100%; /* Растягиваем на всю высоту родителя */
    display: grid;
    grid-template-rows: auto auto 1fr; /* Первые два - по контенту, последний занимает всё оставшееся место */
    gap: 15px; /* Отступы между строками внутри грида */
}

/* Большой текст (ATT_BIGDATA) */
div.bot_baner-bigdata {
    font-size: 6rem;
    font-weight: 500;
    line-height: 100%;
    color: #CC150D;
    margin: 0; /* Убираем нижний отступ, теперь gap работает */
}

/* Маленький текст (ATT_LITTLE) */
div.bot_baner-little {
    max-width: 50%;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    color: #1B1919;
    margin: 0; /* Убираем нижний отступ, теперь gap работает */
}

/* Кнопка "Подробнее" */
a.bot_baner-button {
    display: inline-block;
    padding: 15px 25px;
    background-color: #F2F2F2;
    color: #383636;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 500;
    line-height: 100%;
    transition: all 0.3s ease;

    /* Выравнивание внутри своей ячейки */
    align-self: end; /* Прижимаем к нижнему краю ячейки */
    justify-self: start; /* Прижимаем к левому краю */

    /* Чтобы кнопка не растягивалась на всю ширину */
    width: fit-content;
}

a.bot_baner-button:hover {
    background-color: #848484;
    color: #FFFFFF;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    div.bot_baner-list {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    a.bot_baner-button{
        width: 100%;
        display: flex;
        justify-content: center;

    }
    div.bot_baner-content{
        padding: 20px;
        gap: 0;
    }
    div.bot_baner-list {
        grid-template-columns: 1fr; /* 1 колонка на мобилках */
        justify-items: center; /* Центрируем элементы по горизонтали */
        margin-top: 30px;
        padding: 0 10px;
    }

    div.bot_baner-item {
        max-width: 400px; /* Ограничиваем ширину на мобилках */
        width: 100%;
    }

    div.bot_baner-bigdata {
        font-size: 4.5rem;
        margin-bottom: 10px;
    }

    /* На мобилках маленький текст может занимать больше ширины */
    div.bot_baner-little {
        font-size: 1.8rem;
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    div.bot_baner-item {
        max-width: 100%; /* На совсем маленьких экранах на всю ширину */
        min-height: 204px;
    }
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/zalog_calk/bitrix/news.list/.default/style.css?177798468511865*/
/* Калькулятор */
.calculator {
    width: 100%;
    padding: 0 20px;
    margin-top: 130px;
    box-sizing: border-box;
}

.calculator_h2 {
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 40px;
}

/* Основной grid-контейнер */
.calculator-row {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Точные пропорции 2:1 */
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

/* Левая колонка */
.calculator-left {
    width: 100%;
    min-width: 0; /* Предотвращаем переполнение */
}

/* Правая колонка */
.calculator-right {
    width: 100%;
    min-width: 0; /* Предотвращаем переполнение */
    display: flex;
}

/* Блок веса */
.weight-label {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin-bottom: 20px;
    opacity: 0.6;
}

/* Контейнер для поля ввода и единицы измерения */
.weight-input-container {
    position: relative;
    width: 100%;
}

.weight-input {
    /* Сброс всего */
    all: unset;
    display: block;
    width: 100%;
    box-sizing: border-box;

    /* Твои кастомные стили */
    padding: 15px;
    padding-right: 45px;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
    color: #1B1919;
    background: #fff;
    border-radius: 3px;

    /* Дополнительная жёсткая фиксация высоты */
    height: calc(4rem * 1 + 30px);
}

/* Единица измерения "г." - внутри поля */
.weight-unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 400;
    color: #1B1919;
    opacity: 0.6;
    pointer-events: none;
    line-height: 1;
    z-index: 1;
}

/* Убираем стрелки у number */
.weight-input[type="number"] {
    -moz-appearance: textfield;
}
.weight-input[type="number"]::-webkit-inner-spin-button,
.weight-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.weight-input:focus {
    outline: none;
    border: 2px solid #CC150D;
    padding: 14px;
    padding-right: 44px;
}

/* Корректировка при фокусе для единицы измерения */
.weight-input:focus + .weight-unit {
    right: 16px;
}

/* Блок проб */
.proba-block {
    background: #F6F5F5;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* БЛОК тултипа */
.proba-title {
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin-bottom: 20px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 60%;
}
.result-label_vid{
    opacity: 60%;
}
/* Контейнер для иконки + тултипа */
.proba-tooltip-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

/* Твоя иконка */
.tooltip-image {
    width: 20px;
    height: 20px;
    display: block;
    transition: opacity 0.2s;
}

/* Текст тултипа */
.proba-tooltip-text {
    visibility: hidden;
    opacity: 1;
    width: 260px;
    background-color: #CC150D;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    padding: 12px 16px;
    border-radius: 6px;
    position: absolute;
    z-index: 100;

    /* Меняем позиционирование */
    top: 50%;
    left: 100%;
    transform: translateY(-50%);

    transition: visibility 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    white-space: normal;
    text-align: left;

    /* Добавляем отступ от иконки */
    margin-left: 10px;
}

/* Стрелочка тултипа (теперь слева) */
.proba-tooltip-text::after {
    content: '';
    position: absolute;

    /* Стрелка слева */
    top: 50%;
    right: 100%;
    left: auto;
    transform: translateY(-50%);

    border-width: 6px;
    border-style: solid;
    /* Стрелка смотрит влево */
    border-color: transparent #CC150D transparent transparent;
}

/* Показываем тултип при наведении */
.proba-tooltip-icon:hover .proba-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.proba-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.proba-item {
    background: #FFFFFF;
    border-radius: 3px;
    padding: 15px;
    text-align: center;
    font-size: 4rem;
    font-weight: 400;
    color: #1B1919;
    line-height: 100%;
    cursor: pointer;
    transition: all 0.3s;
}

.proba-item.active {
    border: 2px solid #CC150D;
    color: #CC150D;
}

/* Блок тарифов */
.tariff-block {
    background: #FFFFFF;
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 20px;

    /* Растягиваем на всю высоту и ширину */
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.tariff-header {
    display: flex;
    margin-bottom: 20px;
    gap: 35px;
}

.tariff-header h3 {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin: 0 0 15px 0;
}

/* Кастомный дропдаун */
.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.dropdown-selected {
    background: #F6F5F5;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 15px;

    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1B1919;
}

.dropdown-selected:hover {
    background: #eeeeee;
}

.dropdown-arrow {
    color: #CC150D;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    margin-top: 10px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.custom-dropdown.open .dropdown-options {
    display: block;
}

.dropdown-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background: #f8f8f8;
}

/* Кастомная радио-кнопка */
.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    font-size: 1.8rem;
    position: relative;
    width: 100%;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-mark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1.25px solid #CC150D;
    border-radius: 3.75px;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.custom-radio input[type="radio"]:checked + .radio-mark {
    border-color: #CC150D;
    background-color: #CC150D;
    background-image: url('/local/templates/moslombard/img/logo/galka.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12.5px 8.85px;
}

.option-text {
    color: #1B1919;
    font-size: 1.8rem;
    line-height: 1.2;
    flex: 1;
}

/* Результаты расчета */
.calculation-result {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.result-item:last-child {
    padding-bottom: 0;
}

.result-label {
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 100%;
    color: #CC150D;
}

/* Кнопка "Узнать больше" - исправлено */
.calk_btn_more_info {
    background: #CC150D;
    border-radius: 3px;
    padding: 15px 25px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap; /* Запрещаем перенос текста */
}
.calk_btn_more_info:hover{
    background: #A80E07;
}
/* Финальный результат */
.result-item.result-final {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-top: auto; /* Прижимаем к низу */
    padding-top: 20px;
}
.container_label_vid_bot{
    width: 100%     ;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.result-final .result-value {
    width: 100%;
    background: #F6F5F5;
    border-radius: 3px;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 100%;
    color: #CC150D;
    padding: 7px 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .calculator-row {
        grid-template-columns: 1fr; /* Одна колонка на планшетах */
    }

    .proba-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .calculator {
        margin-top: 80px;
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .calculator-row{
        gap:10px ;
    }
    .proba-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tariff-header {
        flex-direction: column;
        gap: 15px;
    }

    .result-item.result-final {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .weight-label{
        font-size: 1.8rem;
    }
    .proba-title{
        font-size: 1.8rem;
    }
    .proba-tooltip-text {
        width: 200px;
        font-size: 1.2rem;
        left: auto;
        right: 0;
        transform: none;
        margin-left: 0;
    }

    .proba-tooltip-text::after {
        left: auto;
        right: 10px;
        border-color: transparent transparent #CC150D transparent;
        top: -10px;
        transform: none;
    }
    .result-label{
        font-size: 1.8rem;
    }
    .proba-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .container_label_vid_bot{
        flex-direction: column;
    }
    .proba-item {
        padding: 12px 8px;
        font-size: 2.5rem;
    }

    .weight-input {
        font-size: 3rem;
        height: calc(3rem * 1 + 30px);
    }

    .weight-unit {
        font-size: 1.6rem;
    }

    /* Адаптив для дропдауна на мобильных */
    .dropdown-selected {
        font-size: 1.6rem;
        padding: 12px;
    }
    .tariff-header{
        gap: 0;
    }
    .tariff-header h3{
        font-size: 3rem;
        margin-bottom: 15px;
    }
    .option-text {
        font-size: 1.5rem;
    }

    .dropdown-option {
        padding: 10px 12px;
    }

    /* Адаптив для финального блока на мобильных */
    .result-item.result-final {
        flex-direction: column;
        align-items: stretch;
    }

    .calk_btn_more_info {
        font-size: 2rem ;
        text-align: center;
        white-space: normal; /* На мобильных можно разрешить перенос */
    }

    .calculator {
        margin-top: 80px;
        padding: 0 10px;
    }

    .calculator_h2 {
        font-size: 4rem;
        margin-bottom: 40px;
    }

    .proba-block {
        padding: 20px;
    }

    .tariff-block {
        padding: 20px;
    }
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/tariffs/bitrix/news.list/.default/style.css?177798468512760*/
.tariffs-list {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 130px;
}

.tariffs-title {
    font-size: 6rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin-bottom: 40px;
    text-align: left;
}

/* Основной контейнер с сеткой */
.tariffs-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    border-radius: 8px;
    align-items: start;
}

/* Левая колонка */
.tariffs-labels {
    display: flex;
    flex-direction: column;
    position: relative;
}

.label-item-first-wrapper {
    height: 85px;
    flex-shrink: 0;
}

.label-items-rest {
    display: flex;
    flex-direction: column;
    margin-top: -10px;
}

.label-row-1 {
    margin-top: -10px;
}

.label-item {
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    line-height: 1.4;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 400;
    opacity: 90%;
    color: #1B1919;
    padding: 0;
    flex-shrink: 0;
    background: transparent;
    box-sizing: border-box;
    border-bottom: 1px solid #DEDEDE;
}

.label-item-first {
    min-height: 85px;
    height: auto;
    border: none;
}

/* Правая колонка */
.tariffs-right-column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Верхняя строка с названиями */
.tariffs-names-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 0;
    height: 85px;
    flex-shrink: 0;
}

.tariff-name-header {
    background: #F6F5F5;
    font-size: 3rem;
    font-weight: 400;
    color: #CC150D;
    text-align: center;
    padding: 20px 15px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

/* Нижняя строка с карточками данных */
.tariffs-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    margin-top: -10px;
    flex: 1;
}

/* Карточка с данными */
.tariff-data-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 2px 4px 20px 0 rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tariff-data-card:hover {
    margin-top: -5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

/* Значения данных */
.data-value {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    padding: 20px;
    font-size: 3rem;
    font-weight: 400;
    color: #1B1919;
    line-height: 100%;
    word-break: break-word;
    border-bottom: 1px solid #DEDEDE;
    transition: background 0.2s ease;
    height: 60px;
    min-height: 60px;
    box-sizing: border-box;
}

.data-value:last-of-type {
    border-bottom: none;
}

.data-value:hover {
    cursor: pointer;
    background: #f9f9f9;
}

/* Футер с кнопкой */
.data-footer {
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

/* Кнопка */
.tarif_custom_btn {
    display: inline-block;
    padding: 15px 30px;
    background: #CC150D;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.tarif_custom_btn:hover {
    background: #A80E07;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ========== МОБИЛЬНАЯ СЕКЦИЯ ========== */

.mobile-tariffs-section {
    display: none;
    margin-top: 40px;
    padding: 0;
    overflow-x: clip;
}

.mobile-tariffs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.mobile-tariffs-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
}

.mobile-swiper-nav-buttons {
    display: flex;
    gap: 10px;
}

/*.mobile-swiper-button-prev,*/
/*.mobile-swiper-button-next {*/
/*    width: 44px !important;*/
/*    height: 44px !important;*/
/*    background: #CC150D !important;*/
/*    border-radius: 50% !important;*/
/*    color: #FFFFFF !important;*/
/*    box-shadow: 0 6px 20px rgba(204, 21, 13, 0.4) !important;*/
/*    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*    justify-content: center !important;*/
/*    cursor: pointer !important;*/
/*    z-index: 100;*/
/*    position: relative;*/
/*}*/

.mobile-swiper-button-prev::after,
.mobile-swiper-button-next::after {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.mobile-swiper-button-prev.swiper-button-disabled,
.mobile-swiper-button-next.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* Контейнер слайдера */
.mobile-tariffs-swiper-wrapper {
    width: 100%;
    overflow: visible !important;
    position: relative;
    padding: 15px 0 50px 0;
}

/* Swiper основные стили */
.swiper {
    width: 100%;
    overflow: visible !important;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.swiper-slide {
    display: flex;
    align-items: stretch;
    height: auto;
    margin: 0;
}

/* Карточка тарифа в слайдере */
.mobile-tariff-slide {
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-tariff-name-header {
    background: #F6F5F5;
    font-size: 2.2rem;
    font-weight: 400;
    color: #CC150D;
    text-align: center;
    padding: 18px 15px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
    width: 100%;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85px;
}

.mobile-tariff-data-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 0 0 10px 10px;
    box-shadow: 2px 4px 20px 0 rgba(0, 0, 0, 0.12);
    padding: 15px;
    margin-top: -25px;
    position: relative;
    z-index: 15;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mobile-tariff-data-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

/* Значения данных в мобильной версии */
.mobile-tariff-data-card .data-value {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    padding: 18px 15px;
    font-size: 2rem;
    font-weight: 400;
    color: #1B1919;
    line-height: 100%;
    word-break: break-word;
    border-bottom: 1px solid #DEDEDE;
    transition: background 0.2s ease;
    min-height: 55px;
    height: 55px;
    box-sizing: border-box;
}

.mobile-tariff-data-card .data-value:last-of-type {
    border-bottom: none;
}

.mobile-tariff-data-card .data-value:hover {
    cursor: pointer;
    background: #f9f9f9;
}

.mobile-tariff-data-card .data-footer {
    padding: 25px 0 0 0;
    text-align: center;
    margin-top: auto;
}

.mobile-tariff-data-card .tarif_custom_btn {
    display: inline-block;
    padding: 14px 25px;
    background: #CC150D;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 100%;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.mobile-tariff-data-card .tarif_custom_btn:hover {
    background: #A80E07;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Псевдоэлементы для отступов по краям */
.mobile-tariffs-swiper-wrapper::before,
.mobile-tariffs-swiper-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.mobile-tariffs-swiper-wrapper::before {
    left: 0;
}

.mobile-tariffs-swiper-wrapper::after {
    right: 0;
}

/* Отступы для первого и последнего слайда */
.swiper-slide:first-child {
    margin-left: 20px;
}

.swiper-slide:last-child {
    margin-right: 20px;
}

/* ========== ПЛАНШЕТЫ ========== */

@media (max-width: 1023px) {
    .tariffs-container {
        grid-template-columns: 180px 1fr;
        gap: 30px;
    }

    .label-item-first-wrapper {
        height: 75px;
    }

    .label-items-rest {
        margin-top: -8px;
    }

    .label-item {
        height: 55px;
        font-size: 15px;
        padding: 0 12px;
    }

    .tariffs-names-row {
        gap: 15px;
        height: 75px;
    }

    .tariff-name-header {
        font-size: 2.2rem;
        padding: 15px 12px;
    }

    .tariffs-cards-row {
        gap: 15px;
        margin-top: -8px;
    }

    .data-value {
        height: 55px;
        min-height: 55px;
        font-size: 2.2rem;
        padding: 15px 10px;
    }

    .mobile-tariffs-header {
        padding: 0 15px;
    }

    .mobile-tariffs-swiper-wrapper::before,
    .mobile-tariffs-swiper-wrapper::after {
        width: 15px;
    }

    .swiper-slide:first-child {
        margin-left: 15px;
    }

    .swiper-slide:last-child {
        margin-right: 15px;
    }
}

/* ========== МОБИЛЬНЫЕ УСТРОЙСТВА ========== */

@media (max-width: 768px) {
    .tariffs-list {
        display: none !important;
    }

    .mobile-tariffs-section {
        display: block !important;
    }

    .mobile-tariffs-title {
        font-size: 2.6rem;
    }

    .mobile-tariff-name-header {
        font-size: 2rem;
        padding: 16px 14px;
        min-height: 75px;
    }

    .mobile-tariff-data-card .data-value {
        font-size: 1.8rem;
        padding: 16px 14px;
        min-height: 52px;
        height: 52px;
    }

    .mobile-tariff-data-card {
        padding: 14px;
        margin-top: -22px;
    }

    .mobile-tariffs-swiper-wrapper::before,
    .mobile-tariffs-swiper-wrapper::after {
        width: 15px;
    }

    .swiper-slide:first-child {
        margin-left: 15px;
    }

    .swiper-slide:last-child {
        margin-right: 15px;
    }
}

/* ========== ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ ========== */

@media (max-width: 480px) {
    .mobile-tariffs-section {
        margin-top: 30px;
    }

    .mobile-tariffs-header {
        padding: 0 12px;
        margin-bottom: 25px;
    }

    .mobile-tariffs-title {
        font-size: 2.4rem;
    }

    .mobile-swiper-nav-buttons {
        gap: 8px;
    }

    .mobile-swiper-button-prev,
    .mobile-swiper-button-next {
        width: 40px !important;
        height: 40px !important;
    }

    .mobile-swiper-button-prev::after,
    .mobile-swiper-button-next::after {
        font-size: 14px !important;
    }

    .mobile-tariff-name-header {
        font-size: 1.8rem;
        padding: 14px 12px;
        min-height: 70px;
    }

    .mobile-tariff-data-card {
        padding: 12px;
        margin-top: -10px;
    }

    .mobile-tariff-data-card .data-value {
        font-size: 1.6rem;
        padding: 14px 12px;
        min-height: 48px;
        height: 48px;
    }

    .mobile-tariffs-swiper-wrapper {
        padding: 10px 0 40px 0;
    }

    .mobile-tariffs-swiper-wrapper::before,
    .mobile-tariffs-swiper-wrapper::after {
        width: 12px;
    }

    .swiper-slide:first-child {
        margin-left: 12px;
    }

    .swiper-slide:last-child {
        margin-right: 12px;
    }
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КОРРЕКТНОЙ РАБОТЫ ========== */

/* Убираем outline при фокусе на кнопках */
.mobile-swiper-button-prev:focus,
.mobile-swiper-button-next:focus {
    outline: none;
}

/* Плавный скролл для всего сайта */
html {
    scroll-behavior: smooth;
}

/* Обеспечиваем корректное отображение теней */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Для карточек на десктопе */
.tariff-data-card {
    will-change: transform;
}

/* Для мобильных карточек */
.mobile-tariff-data-card {
    will-change: transform;
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/second_slider/bitrix/news.list/.default/style.css?17779846852342*/
.promo-grid {

    margin: 130px 20px;

}

.promo-card {
    margin-bottom: 30px;
    width: 100%;
}

.promo-banner {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.promo-image {
    transform: scaleX(-1);
    width: 100%;
    height: auto;
    display: block;
    max-height: 450px;
    object-fit: cover;
}

/* Контейнер с текстом поверх изображения */
.promo-content {
    position: absolute;
    top: 40px;
    left: 40px;
    max-width: 50%;
    color: #fff;
    z-index: 2;
}

.promo-title {
    font-size: 6rem;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 26px;
    color: #FFFFFF;

}
.feature-icon{
    margin-right: 10px;
}
.promo-features {
    display: flex;
    flex-direction: column;

}

.promo-feature {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 400;
    opacity: 90%;
    line-height: 100%;
    color: #FFFFFF;
    display: inline-block;

}

.promo-button {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: #FFFFFF;
    color: #CC150D;
    border: none;
    padding: 15px 25px;
    border-radius: 3px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: auto;
}

.promo-button:hover {
    border: 1px solid #FFFFFF;
    color: white;
    background: #A80E07;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .promo-content {
        top: 20px;
        left: 20px;
        max-width: 70%;
    }

    .promo-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .promo-feature {
        font-size: 14px;
        padding: 5px 10px;
        margin-bottom: 5px;
    }

    .promo-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .promo-grid{
        margin: 80px 10px;
    }
    .promo-image{
        height: 600px;
    }
    .promo-content {
        top: 30px;
        left: 30px;
        max-width: 85%;
    }

    .promo-title {
        font-size: 4rem;
        margin-bottom: 25px;
    }

    .promo-feature {
        font-size: 1.8rem;
        opacity: 90%;
        padding: 0;
        color: #FFFFFF;
    }

    .promo-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/esrever_map/bitrix/news.list/.default/style.css?177798468515669*/
:root {
    --brand-color: #242c59;
    --brand-color-light: #3a4580;
    --brand-color-lighter: #5a66a3;
    --brand-color-soft: #f0f2fa;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #e1e8ed;
    --card-shadow: 0 4px 6px rgba(36, 44, 89, 0.1);
    --card-shadow-hover: 0 8px 15px rgba(36, 44, 89, 0.15);
    --transition: all 0.3s ease;

    /* Grid variables */
    --sidebar-width: 4fr;
    --content-width: 13fr;
    --container-gap: 30px;
    --container-max-width: 1400px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.news-list-wrapper {

    margin: 0 20px;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.news-list-header {
    margin-bottom: 30px;
}

.news-list-header h2 {
    color: #1B1919;
    font-size: 6rem;
    font-weight: 400;
    line-height: 100%;
    position: relative;
    margin-bottom: 40px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
}
/* ========== GRID ЛОГИКА ========== */
/* Используем Grid с пропорцией 4:13 (рассчитано из 325px : 1035px при gap 20px) */
.news-list-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) var(--content-width);
    gap: 20px;
    background: #F6F5F5;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;

    /* Важно: фиксируем высоту контейнера по высоте карты */
    height: 600px; /* Базовая высота, но будет адаптироваться */
    min-height: 400px;
}

/* Левая колонка (сайдбар) - теперь будет всегда подстраиваться под высоту карты */
.news-item.init-hidden {
    display: none;
}
.news-list-left {
    background: #F6F5F5;
    border-radius: 5px;

    /* Ключевое решение: используем flex column для контроля высоты */
    display: flex;
    flex-direction: column;

    /* Высота = 100% родительского контейнера (который привязан к карте) */
    height: 100%;

    /* Минимальная высота для предотвращения схлопывания */
    min-height: 0;

    /* Отключаем скролл на уровне всей колонки - скролл будет только у списка */
    overflow: hidden;
}

/* Заголовок левой колонки - фиксированная высота */
.left-header {
    padding: 20px 15px;
    background: #FFFFFF;
    color: white;
    border-radius: 3px;
    margin-bottom: 10px;

    /* Фиксированная высота, чтобы не сжимался */
    flex-shrink: 0;
}

.left-header input {
    padding: 0;
    border: none;
}

.left-header input:focus {
    padding: 0;
    border: none;
}

/* Контейнер со списком элементов - единственный скроллящийся элемент */
.news-items-list {
    background: #FFFFFF;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 102, 102, 0.2) transparent; /* НЕ РАБОТАЕТ в Firefox */
}

/* Правая колонка (карта) */
.news-list-right {
    background: #fafbfc;
    border-radius: 5px;

    /* Фиксируем высоту правой колонки */
    height: 100%;

    /* Используем flex для управления внутренними элементами */
    display: flex;
    flex-direction: column;
}

/* Контейнер карты занимает всю высоту */
.map-container {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

#map {
    width: 100%;
    height: 100%;
}

/* Стили для поиска */
.search-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-icon {
    margin-left: auto;
}

.search-input {
    font-size: 2rem !important;
    font-weight: 400;
    line-height: 100%;
    opacity: 60%;
}

.search-input::placeholder {
    color: #1B1919;
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    opacity: 60%;
    transition: opacity 0.2s ease;
}

.search-input:focus {
    outline: none;
    border: none !important;
    box-shadow: none !important;
}

/* Стили для элементов списка */
.news-item {
    background: white;
    border-bottom: 1px solid #0000001A;
    transition: var(--transition);
    cursor: pointer;
}

.news-item:hover {
    background-color: white;
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
    border: none;
}

.news-item.active {
    border: none;
    box-shadow: 0 0 0 2px var(--brand-color-soft);
}

.news-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-item-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.news-item-title {
    flex: 1;
}

.news-item-title h4 {
    color: var(--brand-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.news-item-type {
    display: inline-block;
    padding: 4px 10px;
    background: white;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.news-item-properties {
    padding: 20px;
}

.property-item {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.property-item:last-child {
    margin-bottom: 0;
}

.property-label {
    width: 100px;
    color: var(--text-secondary);
    font-weight: 400;
    flex-shrink: 0;
}

.property-value {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-value.title-value {
    font-size: 2rem;
    font-weight: 600;
    line-height: 100%;
    color: #1B1919;
}

.property-item.address-item {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 130%;
    color: #1B1919;
}

.property-item .property-value.metro-value {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    line-height: 130% !important;
    color: #1B1919 !important;
}

.property-item.phone-item span {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    line-height: 130% !important;
    color: #1B1919 !important;
}

.property-item.schedule-item span {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    line-height: 130% !important;
    color: #1B1919 !important;
}

.property-value a {
    color: var(--brand-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--brand-color-lighter);
    transition: var(--transition);
    word-break: break-all;
}

.property-value a:hover {
    color: var(--brand-color-light);
    border-bottom-color: var(--brand-color);
}

.property-value a[target="_blank"]::after {
    content: " ↗";
    font-size: 12px;
    opacity: 0.7;
}

/* Делаем карту черно-белой (только фон) */
.ymaps-2-1-79-ground-pane {
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
}

.ymaps-2-1-79-ground-pane image,
.ymaps-2-1-79-ground-pane canvas {
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
}

.ymaps-2-1-79-placemark-overlay,
.ymaps-2-1-79-placemark-overlay * {
    -webkit-filter: none !important;
    filter: none !important;
}

/* ========== АДАПТИВНАЯ ЛОГИКА ========== */

/* Десктоп - базовая высота */
@media (min-width: 1201px) {
    .news-list-container {
        height: 600px; /* Фиксированная высота на десктопе */
    }
}

/* Ноутбуки и планшеты в альбомной ориентации */
@media (max-width: 1200px) {
    :root {
        --sidebar-width: 4.5fr;
        --content-width: 11.5fr;
    }

    .news-list-container {
        height: 550px; /* Уменьшаем высоту */
    }
}

/* Планшеты (вертикальные) */
@media (max-width: 900px) {
    :root {
        --sidebar-width: 5fr;
        --content-width: 11fr;
        --container-gap: 20px;
    }

    .news-list-wrapper {
        padding: 15px;
    }

    .news-list-container {
        height: 500px; /* Еще уменьшаем */
    }
}

/* Мобильные (переход в колонку) */
@media (max-width: 768px) {
    .news-items-list{
        border-radius: 5px;
    }
    .news-list-container {
        /* Переключаемся на flex для вертикального отображения */
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0;
        background: transparent;
        /* Высота автоматическая для мобильных */
        height: auto;
        min-height: auto;
        box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
    }

    .news-list-left {
        order: 2;
        flex: none;
        width: 100%;
        height: auto; /* Сбрасываем высоту */
        max-height: 450px; /* Максимальная высота для мобильных */

        /* Для мобильных тоже используем flex */
        display: flex;
        flex-direction: column;
    }

    .news-items-list {
        max-height: calc(450px - 80px); /* Учитываем высоту заголовка */
    }

    .left-header {
        border-radius: 3px;
        background: #F6F5F5 ;
    }

    .news-list-right {
        padding: 0;
        width: 100%;
        border-radius: 20px;
        height: 450px; /* Фиксируем высоту карты на мобильных */
    }

    .map-container {
        height: 100%;
    }

    .map-filters {
        flex-direction: column;
        gap: 10px;
    }

    .filter-item {
        width: 100%;
    }

    .property-item {
        flex-direction: column;
    }

    .property-label {
        width: 100%;
        margin-bottom: 4px;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .news-list-wrapper{
        margin: 0;
    }
    .filter-group{
        width: 100%;
        flex-direction: column;
        align-items: normal ;

    }
    .news-list-header h2{
        font-size: 4rem;
    }
    .search-icon img{
        width: 22px;
        height: 22px;
    }
    .news-list-wrapper {
        padding: 10px;
    }
    .left-header input{
        background: #F6F5F5;
    }

    .news-list-left {
        max-height: 400px;
        background: transparent;
    }

    .news-items-list {
        max-height: calc(400px - 80px);
        box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
    }

    .news-list-right {
        height: 350px;
    }

    .news-item-header {
        flex-wrap: wrap;
    }

    .news-item-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .news-item-title h4 {
        font-size: 14px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .news-list-left {
        max-height: 350px;
    }

    .news-items-list {
        max-height: calc(350px - 80px);
    }

    .news-list-right {
        height: 300px;
    }

    .left-header h3 {
        font-size: 16px;
        flex-wrap: wrap;
    }

    .news-item-properties {
        padding: 10px;
    }

    .property-value {
        font-size: 13px;
    }
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ ========== */

/* Кастомный балун Яндекс.Карт */
.ymaps-2-1-79-balloon__layout {
    border-radius: 16px !important;
    overflow: hidden !important;

}

.ymaps-2-1-79-balloon__content {
    padding: 15px !important;
}

.custom-balloon {
    max-width: 250px;
}

.custom-balloon h4 {
    color: var(--brand-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.custom-balloon p {
    margin: 5px 0;
    font-size: 13px;
}

.custom-balloon strong {
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-block;
    min-width: 70px;
}

.custom-balloon a {
    color: var(--brand-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--brand-color-lighter);
}

.custom-balloon a:hover {
    color: var(--brand-color-light);
    border-bottom-color: var(--brand-color);
}

/* Дебаг информация (опционально) */
.debug-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.debug-info summary {
    color: var(--brand-color);
    font-weight: 600;
    cursor: pointer;
    padding: 10px;
}

.debug-info pre {
    margin-top: 10px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 12px;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    background: var(--brand-color-soft);
    border-radius: 16px;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item {
    animation: fadeIn 0.3s ease-out;
}

/* Глобальные фильтры (если нужны) */
.global-filters {
  margin-bottom: 20px;
}

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



.filter-group label {
    font-size: 2rem;
    font-weight: 400;
    color: #1B1919;
   line-height: 100%;
}

.city-select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 2rem;
    font-weight: 600;
    line-height: 100%;
    color: #1B1919;
    min-width: 200px;
    background-color: #F6F5F5;

    /* Отступ для текста */
    padding-right: 30px;

    /* Убираем стандартную стрелку */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Используем свою стрелку из проекта */
    background-image: url('/local/templates/moslombard/img/svg_template/map_serch_arrow.svg');
    background-repeat: no-repeat;
    background-position: right 8px center; /* 8px отступ от правого края */
    background-size: 13px;
}

.city-select::-ms-expand {
    display: none;
}
.search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 0 5px;
    display: none;
}

.search-clear:hover {
    color: #dc3545;
}

.search-input:not(:placeholder-shown) + .search-clear {
    display: block;
}

.hidden-by-city,
.hidden-by-search {
    display: none;
}

.color-square {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 5px;
    border: 1px solid rgba(0,0,0,0.1);
}

.metro-icon {
    margin-right: 3px;
    font-size: 14px;
}

.objects-count {
    font-size: 13px;
    font-weight: normal;
    color: #6c757d;
    margin-left: 10px;
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/banner_adv/bitrix/news.list/.default/style.css?17779846853885*/
.banner-block {
    position: relative;
    width: calc(100% - 40px);  /* Учитываем отступы слева и справа */
    margin: 130px auto 0 auto;  /* auto слева и справа для центрирования */
    min-height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #400304 0%, #CC150D 100%);
    z-index: 1;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    mix-blend-mode: overlay;
    z-index: 2;

    /* Поворот изображения на 5 градусов по часовой стрелке */
    transform: rotate(17deg);

    /* Масштабируем чтобы изображение не выходило за границы при повороте */


    /* Важно: transform-origin определяет точку, вокруг которой происходит поворот */
    transform-origin: center; /* по умолчанию */
}

.banner-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    min-height: 350px;
    padding:80px 50px;
    color: #fff;
    box-sizing: border-box;
    gap: 30px;
}

.banner-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.banner-title {
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 25px;
    color:#FFFFFF ;

}

.banner-description {
    font-size: 2rem;
    line-height: 130%;
    font-weight: 400;
    opacity: 90%;
    color:#FFFFFF ;
}

.banner-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.advantage-item {
    flex: 1;
    min-width: 150px;
    text-align: left;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-item:hover {
    transform: translateY(-5px);
    cursor: pointer;

}

.advantage-title {
    font-size: 6rem;
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 10px;
    color: #CC150D;

}

.advantage-text {
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    opacity: 90%;
    color: #1B1919;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .banner-container {
        padding: 30px;
    }

    .banner-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {

    .banner-block{
        width: calc(100% - 20px);
        margin: 80px 10px;
    }
    .banner-container {
        flex-direction: column;
        padding: 30px;
        gap: 40px;
    }

    .banner-left {
        padding-right: 0;
        text-align: left;
    }

    .banner-right {
        gap: 15px;
    }

    .advantage-item {
        min-width: calc(50% - 8px);
        padding: 20px;
        display: flex;
        align-items: flex-end;

    }

    .banner-title {
        font-size: 26px;
    }

    .banner-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        padding: 30px;
    }

    .advantage-item {
        min-width: 100%;
    }

    .banner-title {
        font-size: 4rem;
        margin-bottom: 20px;
    }

    .banner-description {
        font-size: 1.8rem;
    }

    .advantage-title {
        flex: 1;
        font-size: 4.5rem;
        margin-bottom: 0;
    }
    .advantage-text{
        flex: 1;
    }
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/faq/bitrix/news.list/.default/style.css?17779846854076*/
/* Основной контейнер списка FAQ */
.faq-list {
    margin: 130px 20px ;
    font-family: sans-serif;
}

/* Заголовок "Часто задаваемые вопросы" */
.faq-title {
    font-size: 6rem;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 40px;
    color: #1B1919;
}

/* Контейнер одного вопроса-ответа */
.faq-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Заголовок вопроса (кликабельная область) */
.faq-question {
    padding: 20px 20px;
    background-color: #F6F5F5;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 500;
    color: #1B1919;
    position: relative;
    transition: background-color 0.2s;
    margin: 0; /* Убираем лишние отступы */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #F6F5F5;
}

/* Контейнер для иконок-переключателей */
.faq-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для SVG иконок */
.toggle-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Иконка закрытого состояния (пустой крестик/плюс) - видна по умолчанию */
.toggle-icon-closed {
    opacity: 1;
    transform: rotate(0deg);
}

/* Иконка открытого состояния (заполненный крестик/минус) - скрыта по умолчанию */
.toggle-icon-open {
    opacity: 0;
    transform: rotate(90deg);
}

/* Когда элемент открыт - скрываем иконку закрытого состояния */
.faq-item-open .toggle-icon-closed {
    opacity: 0;
    transform: rotate(-90deg);
}

/* Когда элемент открыт - показываем иконку открытого состояния */
.faq-item-open .toggle-icon-open {
    opacity: 1;
    transform: rotate(0deg);
}

/* Блок с ответом (по умолчанию скрыт) */
.faq-answer {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background-color: #ffffff;
    color: #4a4a4a;
    line-height: 1.6;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
    opacity: 0;
}

/* Когда элемент открыт - показываем ответ */
.faq-item-open .faq-answer {
    max-height: 1000px; /* Еще больше значение для надежности */
    padding: 20px;
   background: #F6F5F5;
    opacity: 1;
}

/* Стили для контента внутри ответа (на случай если там редактор) */
.faq-answer p {
    margin: 1em 0;
}

.faq-answer ul, .faq-answer ol {
    padding-left: 20px;
}

/* Когда элемент открыт - показываем ответ (дублирующее правило, можно оставить для совместимости) */
.faq-item-open .faq-answer {
    max-height: 500px; /* Достаточно большое значение, чтобы вместить контент */
    padding: 20px;

}

@media (max-width: 480px) {

    .faq-list{
        margin: 80px 10px ;
    }
    .faq-title{
        font-size: 4rem ;
        margin-bottom: 30px;
    }
    .faq-question {
        padding: 20px 20px;
        background-color: #F6F5F5;
        cursor: pointer;
        font-size: 2rem;
        font-weight: 500;
        line-height: 100%;
        color: #1B1919;
        position: relative;
        transition: background-color 0.2s;
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/form_block/bitrix/news.list/.default/style.css?17779846859863*/
/* Сброс box-sizing для всех элементов внутри hero-banner */
.hero-banner *,
.hero-banner *:before,
.hero-banner *:after {
    box-sizing: border-box;
}

/* Основной контейнер секции */
.hero-banner {
    width: 100%;
    margin: 130px 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Внутренний контейнер с отступами */
.hero-banner__container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-banner__item {
    width: 100%;
    margin-bottom: 30px;
}

.hero-banner__item:last-child {
    margin-bottom: 0;
}

.hero-banner__block {
    position: relative;
    width: 100%;
    max-height: 350px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Градиентный фон */
.hero-banner__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #400304 0%, #CC150D 100%);
    z-index: 1;
}

/* Фоновое изображение с поворотом */
.hero-banner__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    mix-blend-mode: overlay;
    z-index: 2;

    /* Поворот изображения на 17 градусов как в примере */
    transform: rotate(17deg) scale(1.2);
    transform-origin: center;
}

/* Оверлей для затемнения */
.hero-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
}

/* Контент */
.hero-banner__content {
    position: relative;
    z-index: 4;
    display: flex;
    max-height: 350px;
    padding: 80px 50px;
    color: #fff;
    box-sizing: border-box;
    gap: 40px;
    align-items: center;
}

.hero-banner__left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner__title {
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 25px;
    color: #FFFFFF;
    word-wrap: break-word;
}

.hero-banner__descr {
    font-size: 2rem;
    line-height: 130%;
    font-weight: 400;
    opacity: 0.9;
    color: #FFFFFF;
    word-wrap: break-word;
    max-width: 500px;
}

.hero-banner__right {
    width: 380px;
    flex-shrink: 0;

    padding: 30px 25px;
    border-radius: 12px;

    display: flex;
    align-items: center;
}

/* Стили формы */
.banner-form {
    width: 100%;
}

.banner-form__field {
    margin-bottom: 18px;
    width: 100%;
}

.banner-form__field input {
    width: 100%;
    padding: 14px 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.banner-form__field input:focus {
    outline: none;
    border-color: red;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(43,110,240,0.1);
}

.banner-form__field input::placeholder {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    opacity: 60%;
}

.banner-form__actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 5px;
}

.banner-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #495057;
    cursor: pointer;
    line-height: 1.4;
    position: relative;
}

.banner-form__checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.banner-form__checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid #ced4da;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.banner-form__checkbox input:checked ~ .banner-form__checkmark {
    background: #CC150D;
    border-color: white;
}

.banner-form__checkbox input:checked ~ .banner-form__checkmark:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.banner-form__agree-text {
    color: white;
    flex: 1;
    word-wrap: break-word;
}

.banner-form__agree-text a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.banner-form__agree-text a:hover {
    text-decoration: underline;
}

.banner-form__submit {
    width: 100%;
    padding: 15px 20px;
    background: #848484;
    color: #FFFFFF;
    border: none;
    border-radius: 3px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;

}

.banner-form__submit:hover {
    background: #1B1919;

}

.banner-form__submit:active {
    transform: translateY(0);
}

/* Сообщения об ошибках */
.banner-form__error {
    color: white;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.banner-form__field-error {
    color: white;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    animation: fadeIn 0.3s ease;
}

/* Тултип чекбокса */
.banner-form__checkbox-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background-color: #dc3545;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    animation: tooltipFadeIn 0.3s ease;
}

.banner-form__checkbox-tooltip-arrow {
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #dc3545;
}

/* Подсветка полей при ошибке */
.banner-form__field input.error,
.banner-form__field input:focus.error {
    border-color: #dc3545 !important;
}

/* Сообщение об успехе */
.banner-form__success {
    color: #1B1919;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 10px;
    margin: 0;
    animation: fadeIn 0.5s ease;
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
}
.banner-form__success .success-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.banner-form__success .success-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin-bottom: 15px;
}

.banner-form__success .success-text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin-bottom: 15px;
}
/* Анимации */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Медиа-запросы */
@media (max-width: 1200px) {
    .hero-banner__content {
        padding: 60px 40px;
    }

    .hero-banner__title {
        font-size: 4.5rem;
    }

    .hero-banner__descr {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero-banner {
        margin: 100px 0;
    }

    .hero-banner__content {
        padding: 40px 30px;
        gap: 30px;
    }

    .hero-banner__title {
        font-size: 3.5rem;
    }

    .hero-banner__descr {
        font-size: 1.5rem;
    }

    .hero-banner__right {
        width: 340px;
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        margin: 80px 0;
    }

    .hero-banner__container {
        padding: 0 15px;
    }

    .hero-banner__block {
        min-height: 600px;
    }

    .hero-banner__content {
        flex-direction: column;
        padding: 30px;
        min-height: 600px;
    }

    .hero-banner__left {
        flex: none  ;
        min-width: auto;
        padding-right: 0;
        text-align: left;
    }

    .hero-banner__title {
        font-size: 2.5rem;
    }

    .hero-banner__descr {
        font-size: 1.8rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-banner__right {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    /* Уменьшаем поворот изображения на мобильных */
    .hero-banner__image {
        transform: rotate(10deg) scale(1.3);
    }
}

@media (max-width: 576px) {
    .hero-banner {
        margin: 60px 0;
    }

    .hero-banner__container {
        padding: 0 12px;
    }

    .hero-banner__content {
        padding: 30px;
    }

    .hero-banner__title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-banner__descr {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-banner__block {
        min-height: 650px;
    }

    .hero-banner__content {
        justify-content: space-between;
        min-height: 600px;
    }

    .hero-banner__title {
        font-size: 4rem;
    }

    .hero-banner__right {
        padding: 20px 15px;
    }

    .banner-form__field input {
        padding: 12px 14px;
    }

    .banner-form__submit {
        padding: 12px 16px;
        font-size: 15px;
    }

    .banner-form__agree-text {
        font-size: 12px;
    }

    /* Еще уменьшаем поворот на маленьких экранах */
    .hero-banner__image {
        transform: rotate(7deg) scale(1.4);
    }
}
/* End */
/* /local/templates/moslombard/components/bitrix/news/main_slider/bitrix/news.list/.default/style.css?17779846856599 */
/* /local/templates/moslombard/components/bitrix/news/bot_baner_info/bitrix/news.list/.default/style.css?17779846853731 */
/* /local/templates/moslombard/components/bitrix/news/zalog_calk/bitrix/news.list/.default/style.css?177798468511865 */
/* /local/templates/moslombard/components/bitrix/news/tariffs/bitrix/news.list/.default/style.css?177798468512760 */
/* /local/templates/moslombard/components/bitrix/news/second_slider/bitrix/news.list/.default/style.css?17779846852342 */
/* /local/templates/moslombard/components/bitrix/news/esrever_map/bitrix/news.list/.default/style.css?177798468515669 */
/* /local/templates/moslombard/components/bitrix/news/banner_adv/bitrix/news.list/.default/style.css?17779846853885 */
/* /local/templates/moslombard/components/bitrix/news/faq/bitrix/news.list/.default/style.css?17779846854076 */
/* /local/templates/moslombard/components/bitrix/news/form_block/bitrix/news.list/.default/style.css?17779846859863 */
