

/* Start:/local/templates/bigwig_wm/components/bitrix/catalog.section.list/languages_menu_test/style.css?17812554405373*/
.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: #d32f2f !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !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 */
}
.sections-menu-container h2{
    margin-bottom: 60px;
}
.sections-menu-container .lang-title{
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    text-align: center;
    vertical-align: middle;
}

.programs-link {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.programs-link a {
    padding: 18px 20px;
    background: #E6EAED;
    border-radius: 40px;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #353535;
    padding-right: 70px;
    position: relative;
}
.programs-link a::after{
    content:"→";
    font-size: 28px;
}
/* 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/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/catalog.section.list/languages_menu_test/style.css?17812554405373 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/teachers_main_block/style.css?17817827161518 */
/* /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 */
