

/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/gift/style.css?177737700511760*/
.section-content{
    margin: 0;
}

.hero-banner {
    background: #f9f7f7;
    border-radius: 12px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.hero-banner__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.hero-banner__image {
    flex: 1;
    text-align: left;
}

.hero-banner__image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-banner__content {
    flex: 1.2;
}

.hero-banner__title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
}

.hero-banner__text {
    font-size: 18px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 32px;
}

.hero-banner__btn {
    display: inline-block;
    background-color: #ff0000; /* Цвет под брендинг на фото */
    color: #fff;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.hero-banner__btn:hover {
    background-color: #d90000;
}

/* Адаптив под мобилки */
@media (max-width: 768px) {
    .hero-banner__container {
        flex-direction: column-reverse;
        text-align: center;
        .hero-banner__container
    }
    .hero-banner__title {
        font-size: 32px;
    }
}


.about-cert {
    padding: 40px 0 10px;
    margin-bottom: 3rem;
}

.about-cert__container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-cert__title-col {
    flex: 0 0 30%;
}
.about-cert__title-col svg{
    width: 150px;
}
.attention {
    padding: 60px 0;
}

.attention__main-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.attention__row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.attention__left {
    flex: 0 0 120px;
}

.attention__arrow-box {
    width: 100px;
    animation: arrowSideMove 2s infinite ease-in-out;
}

@keyframes arrowSideMove {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(15px);
    }
    100% {
        transform: translateX(0);
    }
}

.attention__right {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.attention__card {
    background: #F8F9FA;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.attention__icon {
    flex: 0 0 40px;
    height: 40px;
}

.attention__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.3;
}

.attention__text {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

@media (max-width: 991px) {
    .attention__row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .attention__left {
        transform: rotate(90deg); /* На мобилках стрелка указывает вниз */
        margin-bottom: 20px;
        flex: none;
    }
    .attention__right {
        grid-template-columns: 1fr;
        width: 100%;
    }
}
.about-cert__title {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.about-cert__items-col {
    flex: 1;
    display: flex;
    gap: 20px;
}

.about-cert__card {
    flex: 1;
    background: #f8f9fa; /* Светло-серый фон как на макете */
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 100px;
}

.about-cert__icon {
    flex: 0 0 40px;
    width: 40px;
}

.about-cert__icon img {
    width: 100%;
    height: auto;
    display: block;
}

.about-cert__text {
    font-size: 16px;
    line-height: 1.4;
    color: #444;
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-cert__container {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-cert__items-col {
        flex-direction: column;
        width: 100%;
    }
}


.nominals { padding: 0 0 40px 0; text-align: center; overflow: hidden; }
.nominals__title { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.nominals__desc { font-size: 16px; color: #666; margin-bottom: 30px; text-align: left; }

.nominals__slider-outer {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.nominals__viewport {
    width: 100%;
    overflow: visible;
    height: 420px;
    display: flex;
    align-items: center;
}

.nominals__track {
    display: flex;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.nominals__slide {
    flex: 0 0 500px;
    display: flex;
    justify-content: center;
    position: relative;
    transition: all 0.6s ease;
    margin: 0 -90px; /* Нахлест для десктопа */
    z-index: 1;
}

.nominal-card-wrapper {
    width: 100%;
    transition: all 0.6s ease;
    filter: blur(4px);
    transform: scale(0.8);
    opacity: 0.5;
}

.nominal-card-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nominals__slide.is-active { z-index: 10 !important; }
.nominals__slide.is-active .nominal-card-wrapper {
    filter: blur(0);
    transform: scale(1.1);
    opacity: 1;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .nominals__viewport {
        height: auto;
        min-height: 280px;
    }

    .nominals__slide {
        flex: 0 0 100%; /* Карточка на всю ширину */
        margin: 0;      /* Убираем нахлест */
    }

    .nominal-card-wrapper {
        transform: scale(0.9); /* Неактивные чуть меньше */
    }

    .nominals__slide.is-active .nominal-card-wrapper {
        transform: scale(1); /* Активная в полную ширину */
    }

    .nom-arrow {
        display: none; /* Прячем стрелки на моб, чтобы не перекрывали контент */
    }
}

/* Стрелки и кнопка остаются без изменений */
.nom-arrow {
    position: absolute; top: 50%; width: 46px; height: 46px;
    background: #fff; border: 1px solid #E0E0E0; border-radius: 50%;
    cursor: pointer; z-index: 100; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
}
.nom-arrow::after {
    content: ""; width: 10px; height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L9 9L1 17' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: contain;
}
.nom-arrow--prev { left: -20px; }
.nom-arrow--prev::after { transform: rotate(180deg); }
.nom-arrow--next { right: -20px; }

.btn-order-red {
    background: #E30613; color: #fff; border: none;
    padding: 16px 70px; border-radius: 50px;
    font-size: 18px; font-weight: 600; cursor: pointer;
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
    margin-top: 20px;
}
.modal-form-exact {
    max-width: 640px !important;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .modal-form-exact {
        max-width: 95%;
        padding: 5px 15px !important;
    }
    .modal-form-container {
        padding: 30px 20px;
    }
}



.how-gift {
    padding: 0 0 40px 0;
}

.how-gift__wrapper {
    background: #F8F8F8;
    border-radius: 40px;
    padding: 1.5rem;
}

.how-gift__title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    margin-top: 0;
}

.how-gift__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.how-gift__item {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 35px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.how-gift__num {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.how-gift__text {
    font-size: 18px;
    line-height: 1.4;
    color: #666;
    max-width: 240px;
    position: relative;
    z-index: 2;
}

.how-gift__decor {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 991px) {
    .how-gift__grid {
        grid-template-columns: 1fr;
    }
    .how-gift__wrapper {
        padding: 20px;
        border-radius: 30px;
    }
    .how-gift__item {
        min-height: auto;
        padding-bottom: 80px;
    }
    .how-gift__title {
        font-size: 28px;
        margin-bottom: 30px;
        text-align: center;
    }
}


.spend-section {
    padding: 0 0 40px 0;
}

.spend-section__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
    text-align: left;
}

/* Фикс для сетки, если course_cards их не выравнивает */
.spend-section .news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .spend-section .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .spend-section .news-list {
        grid-template-columns: 1fr;
    }
    .spend-section__title {
        font-size: 28px;
    }
}


.faq {
    padding: 0 0 40px 0;
    background: #fff;
}

.faq__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

.faq__item {
    border-bottom: 1px solid #E0E0E0;
}

.faq__item:first-child {
    border-top: 1px solid #E0E0E0;
}

.faq__question {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.faq__question:hover {
    color: #E30613;
}

.faq__arrow {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.4s ease;
}

.faq__arrow::before,
.faq__arrow::after {
    content: "";
    position: absolute;
    background-color: #333;
    transition: background-color 0.3s ease;
}

.faq__arrow::before {
    width: 2px;
    height: 14px;
    top: 5px;
    left: 11px;
}

.faq__arrow::after {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq__answer-content {
    padding: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
}

.faq__item.is-active .faq__answer {
    max-height: 1000px;
    transition: max-height 0.8s cubic-bezier(1, 0, 1, 0);
}

.faq__item.is-active .faq__question {
    color: #E30613;
}

.faq__item.is-active .faq__arrow {
    transform: rotate(45deg);
}

.faq__item.is-active .faq__arrow::before,
.faq__item.is-active .faq__arrow::after {
    background-color: #E30613;
}
/* 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/catalog.section.list/course_cards/style.css?17728054605365*/
.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: #F2F5F9; }

/* Блок 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: #F2F9F3; }

/* Блоки 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: 50%;
}

.item-3 .card-body,
.item-4 .card-body,
.item-5 .card-body {
    max-width: 80%;
}

/* 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 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px !important;
    color: #1a1a1a;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-price-wrapper {
    margin-top: auto;
    font-size: 1rem;
    color: #1a1a1a;
}

.card-price-wrapper strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.card-btn {
    margin-top: 20px;
    padding: 10px 24px;
    border: 1.5px solid #1a1a1a;
    border-radius: 50px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
    transition: all 0.3s ease;
    background: transparent;
}

.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 !important;
    grid-column: span 3 !important;
}

/* Если элементов много, но в последнем ряду осталось 1 или 2 элемента */
/* Правило для 1 элемента в конце: */
.programs-grid > .program-item:last-child:nth-child(3n+1):not(.item-1) {
    grid-column: span 6 !important; /* На всю ширину, если он один */
}

/* Правило для 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 !important;
    grid-row: span 1 !important;
}

/* Специфический фикс для 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; }
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/advantages/style.css?1768562619982*/
.advantages-block {

}
.advantage-card {
	background: #efefef;
	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;
	}
	.advantage-card:hover .advantage-content h5 {
		color: #dc3545;
	}

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

.advantage-content h5 {
	font-size: 1.1rem;
	color: #333;
	line-height: 1.2;
}

.advantage-content .text-muted {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #6c757d !important;
}

@media (max-width: 576px) {
	.advantage-icon img {
		width: 40px;
	}
	.advantage-content h5 {
		font-size: 1rem;
	}
}
/* End */


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

.guarantee-title {
	font-weight: 700;
	font-size: 42px;
	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;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
	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;
}

.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?1768562619164*/
/* Принудительно включаем анимацию для слайдера */
.carousel-item {
    transition: transform 0.6s ease-in-out !important;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/style.css?17685626191164*/
.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;
}
/* End */
/* /local/templates/bigwig_wm/components/bitrix/news.list/gift/style.css?177737700511760 */
/* /bitrix/components/bitrix/system.pagenavigation/templates/modern/style.css?1665083302754 */
/* /local/templates/bigwig_wm/components/bitrix/catalog.section.list/course_cards/style.css?17728054605365 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/advantages/style.css?1768562619982 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/guarantee_main_block/style.css?17685626191578 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/contacts/style.css?1768562619164 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/trial_block/style.css?17685626191164 */
