

/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/style.css?17745187621164*/
.trial-section {
    background-color: #f0f0f0;
    /* Путь к картинке. Если она в папке шаблона, путь нужно уточнить */
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/img/request_free_lesson_2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.benefit-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: #555;
    font-weight: bold;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/catalog.section.list/languages_menu/style.css?17817949575807*/
.lang-item-flex {
    flex: 0 0 calc(100% / 9 - 22px);
    min-width: 122px;
    position: relative;
}

.card.lang-card {
    border-radius: 12px !important;
    transition: all 0.2s ease;
}

@media (min-width: 992px) {
    .lang-item-flex:hover .lang-card {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    .sub-menu-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        width: 200px;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .lang-item-flex:hover .sub-menu-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 991px) {
    .lang-item-flex {
        flex: 0 0 calc(50% - 10px);
        min-width: 120px;
    }

    /* Прозрачная кнопка поверх всей карточки для открытия меню */
    .mobile-menu-trigger {
        position: absolute;
        inset: 0;
        z-index: 2;
        cursor: pointer;
    }

    .sub-menu-dropdown {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        max-width: 400px;
        background: #fff;
        z-index: 2000; /* Выше всего */
        border-radius: 15px !important;
    }

    .js-lang-item.is-active .sub-menu-dropdown {
        display: block;
    }
}

/* Затемнение фона */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 1500;
}

body.menu-open .menu-backdrop {
    display: block;
}

/* Стили элементов списка */
.dropdown-item {
    font-size: 14px;
    color: #333;
    white-space: normal;
}
.dropdown-item:active {
    background-color: #0d6efd;
}

@media (max-width: 1200px) { .lang-item-flex { flex: 0 0 calc(100% / 5 - 10px); } }
@media (max-width: 425px) { .lang-item-flex { min-width: 117px; } }
@media (max-width: 375px) { .lang-item-flex { min-width: 100px; } }
.animate-item {
    opacity: 0;
    transform: translateX(-15px);
    animation: slideInRight 0.4s ease forwards;
    /* Задержка рассчитывается на основе переменной --i из HTML */
    animation-delay: calc(var(--i) * 0.05s);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.min-height-40 {
    min-height: 48px;
    align-items: center;
    font-size: 15px;
    background-color: #f9f7f7;
    padding: 10px 15px;
    border-radius: 12px;
}

#dynamic-top-menu a:hover{
    color: #000 !important;
    text-shadow: 0 0 0.3px currentColor, 0 0 0.3px currentColor;
    transform: scale(1.01);
}

.card.lang-card.is-active {
    border-color: #BFC0C5 !important;
    box-shadow: 2px 2px 0px 0px #A7A7AC !important;

}
#dynamic-top-menu {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: hidden; /* Скрываем полосу, управляем мышкой */
    white-space: nowrap;
    cursor: ew-resize; /* Меняем курсор, чтобы подсказать пользователю возможность сдвига */
    user-select: none; /* Чтобы текст не выделялся при активном вождении мышкой */
}

.small-menu-link {
    display: inline-block;
    flex-shrink: 0; /* Не даем ссылкам сжиматься */
    padding-right: 10px; /* Запас между ссылками */
}

/* Скрываем стандартный некрасивый скроллбар, но оставляем возможность прокрутки */
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Чтобы ссылки не сжимались и не переносились */
.small-menu-link {
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Убираем отступ снизу, если скролл не нужен */
.custom-scrollbar {
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;  /* Firefox */
}
.custom-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.lang-title {
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-transform: unset !important;
}
.mob-title{
    display: none;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
}
@media screen and (max-width: 600px){

    .sections-menu-container h2 {
        font-weight: 400;
        font-size: 24px;
        line-height: 130%;
        letter-spacing: 0%;
        margin-bottom: 20px;
    }
    .sections-menu-container .d-flex{
        gap: 9px !important;
        margin-bottom: 0px !important;
    }
    .sections-menu-container .d-flex .card{
        padding: 6px 6px !important;
        width: 90px;
    }
    .lang-item-flex {
        width: 31% !important;
        min-width: auto !important;
    }
    .sections-menu-container .lang-title{
        font-weight: 300;
        font-size: 12px;
        overflow: hidden;
        height: 1.5em;
    }
    .mob-title{
        display: block;
    }
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/catalog.section.list/course_cards/style.css?17810594945900*/
.programs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    /* Убираем жесткую фиксацию рядов, чтобы сетка адаптировалась под контент */
    grid-auto-rows: minmax(150px, auto);
}

/* 2. Базовая стилизация карточки */
.program-card {
    height: 100%;
    min-height: 340px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.03);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

/* 3. Геометрия сетки (Логика повторения каждых 6 блоков) */

/* Блок 0 (Дети) */
.item-0 {
    grid-column: span 3;
    grid-row: span 1;
}
.item-0 .program-card { background-color: #E7EBE4; }

/* Блок 1 (Взрослые - Высокий) */
.item-1 {
    grid-column: span 3;
    grid-row: span 2;
}
.item-1 .program-card { background-color: #F9F2F2; }

/* Блок 2 (Онлайн) */
.item-2 {
    grid-column: span 3;
    grid-row: span 1;
}
.item-2 .program-card { background-color: #E6EAED; }

/* Блоки 3, 4, 5 (Маленькие нижние) */
.item-3, .item-4, .item-5 {
    grid-column: span 2;
}
.item-3 .program-card { background-color: #F5F2F9; }
.item-4 .program-card { background-color: #F9F7F2; }
.item-5 .program-card { background-color: #EDF2F6; }

/* Специфические настройки для маленьких блоков (убираем фото и лишнюю высоту) */
.item-3 .program-card,
.item-4 .program-card,
.item-5 .program-card {
    min-height: 240px; /* Делаем их компактнее */
}

.item-3 .card-img,
.item-4 .card-img,
.item-5 .card-img {
    /*display: none;*/
    width: 40%;
}

.item-3 .card-body,
.item-4 .card-body,
.item-5 .card-body {
    max-width: 95%;
}

/* 4. Внутренний контент */
.card-body {
    padding: 40px !important;
    position: relative;
    z-index: 2;
    max-width: 65%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-title {
    margin-bottom: 15px !important;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-price-wrapper {
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
}

.card-price-wrapper strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.card-btn {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1.5px solid #1a1a1a;
    border-radius: 50px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    width: 180px;
    transition: all 0.3s ease;
    background: transparent;
    line-height: 130%;
    letter-spacing: 0%;
    position: relative;
}
.card-btn::after{
    content: '→';
    position: absolute;
    right: 20px;
    font-size: 30px;
    top: 14px;
}
.card-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/* 5. Изображения */
.card-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 80%;
    z-index: 1;
    pointer-events: none;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

/* Если элементов всего 2 или 3, мы НЕ даем item-1 растягиваться по высоте */
.programs-grid > .program-item:nth-child(1):nth-last-child(-n+3),
.programs-grid > .program-item:nth-child(1):nth-last-child(-n+3) ~ .program-item {
    grid-row: span 1;
    grid-column: span 3;
}

/* Если элементов много, но в последнем ряду осталось 1 или 2 элемента */
/* Правило для 1 элемента в конце: */
.programs-grid > .program-item:last-child:nth-child(3n+1):not(.item-1) {
    grid-column: span 6; /* На всю ширину, если он один */
}

/* Правило для 2 элементов в конце: */
.programs-grid > .program-item:nth-last-child(2):nth-child(3n+1):not(.item-1),
.programs-grid > .program-item:last-child:nth-child(3n+2):not(.item-1) {
    grid-column: span 3;
    grid-row: span 1;
}

/* Специфический фикс для item-1, если он оказался последним или предпоследним */
.item-1:last-child,
.item-1:nth-last-child(2) {
    grid-row: span 1 !important;
    grid-column: span 3 !important;
}

/* 6. Адаптивность */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .item-0, .item-1, .item-2, .item-3, .item-4, .item-5 {
        grid-column: span 1;
        grid-row: auto;
    }
    .card-body {
        max-width: 100%;
    }
    .card-img {
        opacity: 0.3; /* Приглушаем фото на планшетах */
    }
}


@media (max-width: 600px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .card-title { font-size: 1.3rem; }
}
.programs-section .big-element{
    grid-column: span 4!important;
    grid-row: span 1!important;
}
.programs-section .small-element{
    grid-column: span 2!important;
    grid-row: span 1!important;
}
.programs-section .small-element .card-body{
    max-width: 100%;
}
.programs-section .small-element .card-img{
    width: 40%;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/why_main_block/style.css?1768562619723*/
.why-us-block {

}

.why-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.why-icon i {
	font-size: 1.8rem;
	color: #dc3545;
	line-height: 1;
}

.why-icon .icon-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.why-item h5 {
	color: #333;
	font-weight: 400;
	line-height: 1.2;
}

.why-desc {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #6c757d;
}

.why-item:hover .why-icon i {
	animation: pulse 1s infinite;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }
}

@media (max-width: 768px) {
	.why-icon i {
		font-size: 1.5rem; /* Чуть меньше на планшетах */
	}
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block_photo/style.css?17810020641385*/
.trial-section-photo {
    background-color: #f0f0f0;
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block_photo/img/request_free_lesson_3.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 400px;
    margin-top: 120px;
    padding: 60px 80px;
}
.trial-section-photo h2{
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
}
@media (max-width: 991px) {
    .trial-section-photo {
        background-position: center bottom !important;
        padding-bottom: 300px !important;
    }
}
.trial-section-photo button[type="submit"]{
    text-align: left;
    background: white;
}
.trial-section-photo button[type="submit"]:hover{
    color: #dc3545 !important;
}
.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/shares/style.css?17810616951952*/
.align-items-stretch>div{
    min-height: 300px;
}

.promo-card-action {
    position: relative;
    overflow: hidden;
    height: 100%;

    display: flex;
    flex-direction: row;
    background-color: #f4f4f4;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

.promo-big {
    min-height: 260px;
    padding: 40px;
}

.promo-small {
    padding: 30px;
    min-height: 260px;
    padding-top: 60px;
}

.promo-content {
    max-width: 80%;
    z-index: 2;
}
    .promo-content h3{
        font-weight: 400;
        font-size: 52px;
        line-height: 58px;
        letter-spacing: 0%;
    }
    .promo-content p{
        font-size: 18px;
    }

.promo-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: -40px;
    background: #e30000;
    color: #fff;
    padding: 6px 50px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 14px;
}
.promo-terms{
    font-size: 11px;
    color: #999;
}
.promo-popup {
    max-width: 600px !important;
}
.col-lg-9 .promo-content h3 {
    font-weight: 400;
    font-size: 52px;
    line-height: 58px;
    letter-spacing: 0%;
    max-width: 550px;
}
.col-lg-9 .promo-content p {
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
}
.col-lg-3 .promo-content h3 {
    font-weight: 300;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0%;
}
.col-lg-3 .promo-content p {
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0%;
}
.promo-card-action .btn{
    padding: 16px 20px !important;
    width: 270px;
    text-align: left;
}
.promo-card-action .btn .arrow{
    margin-left: 100px;
    font-size: 30px;
    line-height: 0px;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/teachers_main_block/style.css?17817827161518*/
.f-carousel {
	--f-carousel-spacing: 0;
}

.f-carousel__slide {
	width: 100%;
	padding: 10px !important;
	box-sizing: border-box;
	display: block;
}

.teacher-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
@media (min-width: 768px) {
	.f-carousel__slide {
		width: 50% !important;
	}
}

@media (min-width: 992px) {
	.f-carousel__slide {
		width: 33.3333% !important;
	}
}

@media (min-width: 1200px) {
	.f-carousel__slide {
		width: 25% !important;
	}
}

.teacher-card {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	padding: 30px 15px;
	text-align: center;
	height: 100%;
	transition: box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.teacher-card:hover {
	box-shadow: 0 0 20px rgba(0,0,0,0.08);
	border-color: transparent;
}

.photo-wrapper {
	position: relative;
	width: 230px;
	height: 230px;
	margin: 0 auto 20px auto;
}

.teacher-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.country-flag {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	height: 32px;
	border-radius: 7px;
	border: 2px solid #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	background: #fff;
	object-fit: cover;
	z-index: 2;
}

.teacher-name {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.teacher-role {
	font-size: 0.9rem;
	color: #6c757d;
	margin-bottom: 5px;
	line-height: 1.4;
}

.teacher-exp {
	font-size: 0.95rem;
	color: #333;
	margin-top: 10px;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/mafia_main_block/style.css?1781000508745*/
.mafia-promo-block {
	background-color: #EFEFEF;
    padding: 0 32px;
}

.btn-outline-danger {
	color: #dc3545;
	border-color: #dc3545;
}
.btn-outline-danger:hover {
	background-color: #dc3545;
	color: #fff;
}

.mafia-form-content input.form-control {
	padding: 15px 20px;
	border: 1px solid #dee2e6;
	font-size: 16px;
}

.mafia-form-content input.form-control::placeholder {
	color: #adb5bd;
}

.modal-content {
	background: #fff;
}
.mafia-decor-stars::before,
.mafia-decor-stars::after {
	content: "✦";
	position: absolute;
	color: #ffcccc;
	font-size: 2rem;
	opacity: 0.6;
}

.mafia-decor-stars::before {
	top: 10%;
	left: 5%;
	transform: rotate(15deg);
}

.mafia-decor-stars::after {
	bottom: 15%;
	right: 5%;
	transform: rotate(-15deg);
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/mafia_popup/style.css?1768562619992*/
.mafia-section {
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/mafia_popup/img/main_background.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 400px;
}

@media (max-width: 991px) {
    .mafia-section-photo {
        background-position: center bottom !important;
        padding-bottom: 300px !important;
    }
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/advantages/style.css?17817602561406*/
.advantages-block {
    margin-top: 120px;
}
.advantages-block h2{
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
    margin-bottom: 60px;
}
.advantage-card {
    background: #F9F7F7;
	border-radius: 20px;
	padding: 1.5rem;
	transition: all 0.3s ease-in-out;
}
	.advantage-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
		background-color: #ffffff;
	}
	.advantage-card .advantage-icon img {
		transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	}
		.advantage-card:hover .advantage-icon img {
			transform: scale(1.15) rotate(-3deg);
		}
	.advantage-content h5 {
		transition: color 0.3s ease;
        font-weight: 400;
        font-size: 24px;
        line-height: 130%;
        letter-spacing: 0%;
        margin-bottom: 20px;

    }
	.advantage-card:hover .advantage-content h5 {
		color: #dc3545;
	}

.advantage-icon img {
    width: 80px;
	height: auto;
	object-fit: contain;
}

.advantage-content .text-muted {
    font-weight: 300;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 1%;
	color: #6c757d !important;
}

@media (max-width: 576px) {
	.advantage-icon img {
		width: 44px;
	}
	.advantage-content h5 {
		font-size: 20px;
        height: 50px;
	}
    .advantage-content .text-muted{
        position: relative;
        left: -60px;
        width: calc(100% + 60px);
    }
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/reviews_main_block/style.css?17685626192458*/
.reviews-section {
	position: relative;
	overflow: hidden;
}

.reviews-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.reviews-swiper {
	padding-bottom: 40px;
}

.swiper-slide {
	height: auto;
	display: flex;
}

.review-card {
	width: 100%;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

.review-stars { margin-bottom: 15px; color: #e0e0e0; font-size: 18px; }
.review-stars .star.active { color: #ffc107; }

.review-text-wrap { flex-grow: 1; margin-bottom: 20px; }
.review-text {
	max-height: 95px;
	overflow: hidden;
	position: relative;
}
.review-card.expanded .review-text { max-height: none; }
.review-card.expanded .read-more-btn { display: none; }

.read-more-btn {
	display: block; margin-top: 8px; color: #888;
	cursor: pointer; font-size: 13px; border-bottom: 1px dashed #ccc; width: fit-content;
}

/* Автор */
.review-author {
	display: flex; align-items: center; border-top: 1px solid #f0f0f0; padding-top: 15px;
}
.author-avatar {
	width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-right: 12px;
}
.author-avatar.placeholder {
	background: #eee; width: 48px; height: 48px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-weight: bold; color: #555;
}
.author-name { font-weight: 600; font-size: 16px; }
.author-date { font-size: 13px; color: #999; margin-top: 4px; }

/* --- Стрелки навигации --- */
.swiper-nav-btns {
	display: flex;
	gap: 10px;
}
.swiper-button-next-unique,
.swiper-button-prev-unique {
	width: 40px;
	height: 40px;
	background-color: #f5f5f5;
	border-radius: 50%;
	position: relative;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
}
.swiper-button-next-unique:hover,
.swiper-button-prev-unique:hover {
	background-color: #e0e0e0;
}
/* Рисуем стрелочки через CSS (или вставь SVG) */
.swiper-button-next-unique::after,
.swiper-button-prev-unique::after {
	content: '';
	border: solid #333;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 4px;
}
.swiper-button-next-unique::after { transform: rotate(-45deg); margin-left: -2px;}
.swiper-button-prev-unique::after { transform: rotate(135deg); margin-right: -2px;}
/* End */


/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/modern/style.css?1665083302754*/
div.modern-page-navigation {
	padding: 0.5em 0;}
div.modern-page-navigation a,
span.modern-page-current,
span.modern-page-dots
{
	border-left-width: 1px;
	border-left-style: solid;
	padding-left: 0.75em;
	padding-right: 0.5em;
	text-decoration: none;
}
div.modern-page-navigation a.modern-page-previous {
	border-right-width: 1px;
	border-right-style: solid;
	border-left: none; }
div.modern-page-navigation a.modern-page-first,
div.modern-page-navigation span.modern-page-first {
	border-left: none;
	padding-left: 0.5em; }

span.modern-page-current {
	font-weight: var(--ui-font-weight-bold);
}
div.modern-page-navigation a,
span.modern-page-current,
div.modern-page-navigation a.modern-page-previous,
span.modern-page-dots {
	border-color: #cdcdcd; }

/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/school_in_numbers/style.css?17810054521035*/
.stats-block {
	background-color: #fff;
}
.js-counter {
	font-variant-numeric: tabular-nums;
}
.stat-card {
	background-color: #f9f9f9;
	border-radius: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	min-height: 200px;
}

.stat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-content{
	height: 100%;
}
.stat-number {
    color: #333;
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
}

.stat-desc {
    color: #555;
    max-width: 250px;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
}

.stat-image {
	width: 40%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

.stat-image img {
	/*max-height: 160px;*/
	width: auto;
	object-fit: contain;
}

@media (max-width: 576px) {
	.stat-number {
		font-size: 2rem;
	}
	.stat-image {
		width: 50%;
	}
	.stat-desc {
		font-size: 0.9rem;
	}
}
.stats-block h2{
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/guarantee_main_block/style.css?17810063331575*/
.guarantee-wrapper {
	background-color: #F9F9F9; /* Светло-серый фон */
	border-radius: 24px;
	overflow: hidden;
	position: relative;
}

.guarantee-title {
	font-weight: 400;
	font-size: 40px;
	line-height: 1.2;
	color: #333;
}

.guarantee-text {
	font-size: 18px;
	line-height: 1.6;
	max-width: 90%;
}

.doc-card {
	display: inline-flex;
	align-items: center;
	background: #FFFFFF;
	border-radius: 12px;
	padding: 20px 25px;
	text-decoration: none;
	color: #333;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	min-width: 200px;
	max-width: 250px;
}

.doc-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	color: #d10019;
}

.guarantee-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 2rem;
    padding-left: 0;
}

.guarantee-img {
	max-height: 500px;
	object-fit: contain;
	position: relative;
	z-index: 1;
}

.decor-star {
	position: absolute;
	color: #d10019;
	font-size: 24px;
	z-index: 0;
}

.star-1 { top: 10%; right: 10%; font-size: 30px; opacity: 0.6; }
.star-2 { bottom: 20%; left: 10%; font-size: 20px; opacity: 0.4; }

@media (max-width: 991px) {
	.guarantee-title {
		font-size: 32px;
	}

	.guarantee-text {
		font-size: 16px;
		max-width: 100%;
	}

	.guarantee-docs {
		flex-direction: column;
	}

	.doc-card {
		width: 100%;
		max-width: 100%;
		justify-content: center;
		text-align: center;
	}

	.guarantee-image-wrapper {
		padding-top: 0;
	}
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/contacts/style.css?17810103932174*/
/* Принудительно включаем анимацию для слайдера */
.carousel-item {
    transition: transform 0.6s ease-in-out !important;
}
.address-section h2{
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
}
.branch-select {
    display: flex;
    justify-content: center;
    align-items: center;
}
.branch-select label{
    width: 40%;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    margin-bottom: 0;
}
.branch-select select{
    width: 60%;
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0%;
}
.school {
    padding: 20px;
    border: 1px solid #BFC0C5;
    border-radius: 12px;
}
.school h3{
    text-align: center;
}
.address-section .card-body {
    width: 100%;
    min-width: 100%;
    text-align: center;
}
.address-section .card-body .card-text{
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 0;
}
.address-section .card-list {
    border-bottom: 1px solid #BFC0C5;
    padding-bottom: 20px;
}
.address-section .card-list h5{
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 12px;
}
.address-section .card-list button{
    border: none;
    background: none;
    font-weight: 300;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 130%;
    text-align: center;
    color: #666;

}
.address-section .card-list button:hover{
    border: none;
    background: none;
    color: #666;
}
.address-section .card-body .flex-wrap{
    flex-direction: column;
}
.address-section .card-body .flex-wrap .card-list{
    width: 100%;
}
.address-section .card-body .flex-wrap .card-list .d-block{
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 12px;
}
.address-section .card-body .flex-wrap .card-list .data{
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #353535;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/style.css?17816765431584*/
.trial-section {
    background-color: #f0f0f0;
    /* Путь к картинке. Если она в папке шаблона, путь нужно уточнить */
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/img/request_free_lesson_2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}
.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.benefit-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: #555;
    font-weight: bold;
}

.content-relative {
    position: relative;
    z-index: 2;
}
.trial-section h2{
    font-weight: 400 !important;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
}
.trial-section{
    padding: 60px 80px;
    margin-bottom: 120px;
    margin-top: 80px;
}
.trial-section button[type="submit"]{
    background: white;
    text-align: left;
    padding-left: 20px !important;
}
.trial-section button[type="submit"]:hover{
    background: #dc3545;
}
/* End */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/style.css?17745187621164 */
/* /local/templates/bigwig_wm/components/bitrix/catalog.section.list/languages_menu/style.css?17817949575807 */
/* /local/templates/bigwig_wm/components/bitrix/catalog.section.list/course_cards/style.css?17810594945900 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/why_main_block/style.css?1768562619723 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block_photo/style.css?17810020641385 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/shares/style.css?17810616951952 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/teachers_main_block/style.css?17817827161518 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/mafia_main_block/style.css?1781000508745 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/mafia_popup/style.css?1768562619992 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/advantages/style.css?17817602561406 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/reviews_main_block/style.css?17685626192458 */
/* /bitrix/components/bitrix/system.pagenavigation/templates/modern/style.css?1665083302754 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/school_in_numbers/style.css?17810054521035 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/guarantee_main_block/style.css?17810063331575 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/contacts/style.css?17810103932174 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/style.css?17816765431584 */
