

/* Start:/local/templates/index/components/bitrix/news.line/main_banner/style.css?17839288838128*/
.MainSlider
{
    height:860px !important;
}

.banner_wrap
{
    height:100%;
    display:flex;
    align-items: center;
}
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px;
    font-family: sans-serif;
}

.banner-text {
    max-width: 60%;
}
.sliderName
{
    font-family: 'Neucha';
    font-style: normal;
    font-weight: 400;
    font-size: 44px;
    line-height: 55px;
    color: #244E7D;
}
.banner-text p {
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #505456;
    margin-top:20px;
    margin-bottom: 20px;
    padding: 0;
	width: 510px;
}

.btn {
    background-color: #244E7D;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Neucha';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 60px;
    width:402px;
    height:76px;
    max-width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    color: #FFFFFF;
}

.recommend {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top:20px;
}
.recommend-link {
    font-family: 'Neucha';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.1015625em;
    color: #244e7d;
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-align: left;
}

.recommend-link__text {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
    text-underline-offset: 2px;
}

.recommend-link__icon {
    position: absolute;
    top: -5px;
    right: -8px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #244e7d;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.recommend-link__icon-svg {
    display: block;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
}

@media (hover: hover) {
    .recommend-link:hover .recommend-link__text {
        text-decoration: none;
    }

    .recommend-link:hover .recommend-link__icon {
        opacity: 1;
    }
}

.recommend-link:focus-visible .recommend-link__text {
    text-decoration: none;
}

.recommend-link:focus-visible .recommend-link__icon {
    opacity: 1;
}
.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: -10px;
    border: 1px solid rgba(239, 104, 136, 1);
}

.more {
    background-color: #244E7D;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: 4px;
}
/* ✅ Адаптив под мобильные */
@media (max-width: 768px) {

    .MainSlider
    {
        min-height:730px!important;
		height:730px !important;
    }
    .banner_wrap
    {
        flex-direction: column;
    }
    .banner
    {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;

    }
    .sliderName {
        font-size: 22px;
        line-height: 24px;
    }

    .banner-text p {

        font-family: 'Neucha';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        color: #505456;
		width: 390px;
    }

    .btn
    {
        width: 259px;
        height: 50px;
        font-size: 16px;
        line-height: 33px;
        margin: 0 auto;
    }

    .banner {
        flex-direction: column;
        text-align: center;
		padding-top:45px !important;
    }

    .banner-text {
        max-width: 100%;
    }

    .recommend {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        justify-content: center;
    }
    .recommend-link {
        text-align: left;
        font-size: 16px;
        line-height: 1.1015625em;
        color: #244e7d;
    }

    .recommend-link__text {
        text-decoration: underline;
        text-decoration-skip-ink: auto;
        text-underline-offset: 2px;
    }

    .recommend-link__icon {
        width: 20px;
        height: 20px;
        top: -5px;
        right: -5px;
    }

    .recommend-link__icon-svg {
        width: 20px;
        height: 20px;
    }

    /*
     * В эмуляции мобилки Chrome задаёт (hover: none) — блок @media (hover: hover) выше не активен,
     * поэтому :hover для ссылки дублируем здесь (мышь в узком окне / DevTools).
     */
    .recommend-link:hover .recommend-link__text {
        text-decoration: none;
    }

    .recommend-link:hover .recommend-link__icon {
        opacity: 1;
    }
}

.MainPageTitle
{
    margin-top: 40px;
    text-align: center;
    color: #244E7D;
    font-size: 34px;
    line-height: 40px;
}

.advantages
{
    margin-top:40px;
}
.cards-container {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 5px;
    width: 340px;
    height: 192px;
    background: #FFFFFF;
    border: 1px solid #244E7D;
    justify-content: center;
    text-align:center;
}

.card-title {
    font-family: 'Neucha';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 26px;
    color: #EF6888;
}

.card-text {
    font-family: 'Montserrat',  sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #505456;
}

.card-1 .card-title {
    color: #244E7D;
}

.card-2 .card-title {
    color: #EF6888;
}

.card-3 .card-title {
    color: #4CA6AA;
}
.cards-container ul li:before {
    content: '';
    width: 10px;
    height: 10px;
    margin-right: 15px;
    background: rgba(36, 78, 125, 0.5);
    border-radius: 50%;
}
.cards-container ul li.slick-active:before
{
	background:rgba(36, 78, 125, 1);
}
@media (max-width: 768px) {
	.MainPageTitle
	{
		font-size: 25px;
		line-height: 30px;
	}
	.advantages
	{
		display:none;
	}
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    
	.card-text
	{
		text-align: left;
	}
    /* Стили для слайдера на мобильных */
    .cards-container.slick-initialized {
        display: block;
    }
    
    .cards-container.slick-initialized .card {
        width: 280px;
        height: 192px;
        margin: 0 10px;
        flex-shrink: 0;
    }
    
    /* Стили для точек навигации */
    .slick-dots {
        bottom: -50px;
        text-align: center;
    }
    
    .slick-dots li {
        display: inline-block;
        margin: 0 5px;
    }
    
    .slick-dots li button {
        background: #244E7D;
        border: none;
        border-radius: 50%;
        width: 12px;
        height: 12px;
        font-size: 0;
        cursor: pointer;
        opacity: 0.5;
        transition: opacity 0.3s;
    }
    
    .slick-dots li.slick-active button {
        opacity: 1;
    }
    
    .slick-dots li button:before {
        display: none;
    }
    
    /* Настройки для эффекта скролла */
    .slick-track {
        display: flex;
        align-items: stretch;
    }
    
    .slick-slide {
        display: flex;
        align-items: stretch;
        padding: 0 5px;
    }
    
    .slick-slide > div {
        width: 100%;
        display: flex;
    }
    
    .slick-slide.card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 192px;
		  max-width: 100%;
        
		padding: 20px 15px;
    }
	.cards-container .slick-dots {
		position: absolute;
		bottom: -40px;
		z-index: 99999;
	}
	.cards-container .slick-slide > div {
        text-align: left;
    }
	
	.banner_wrap
	{
		background-image: URL(/local/templates/index/components/bitrix/news.line/main_banner/images/mobile_back.png) !important;
	}
}
/* End */


/* Start:/local/components/web2u/services/templates/.default/style.css?17839288835668*/
/* Переопределение стилей MainServices для нового вида */
.MainServices.MainServicesNew {
    padding: 60px 0;
    background: #fff;
}

.MainServices.MainServicesNew h2 {
    text-align: center;
    color: #244E7D;
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.MainServices.MainServicesNew .ServicesTabs {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.MainServices.MainServicesNew .ServicesTab {
    font-family: "EB Garamond";
    padding: 11px 35px;
    border: 1.67px solid #244E7D;
    border-radius: 3px;
    background: #fff;
    color: #244E7D;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    outline: none;
}

.MainServices.MainServicesNew .ServicesTab:hover {
    background: #f5f5f5;
}

.MainServices.MainServicesNew .ServicesTab.active {
    background: #244E7D;
    color: #fff;
}

.MainServices.MainServicesNew .ServicesContent {
    position: relative;
    min-height: 400px;
}

.MainServices.MainServicesNew .ServicesList {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.MainServices.MainServicesNew .ServicesList.active {
    display: grid;
}

.MainServices.MainServicesNew .ServiceItem {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #244E7D;
    transition: transform 0.3s ease;
    padding: 20px;
    border-radius: 8px;
    gap: 20px;
}

.MainServices.MainServicesNew .ServiceIcon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.MainServices.MainServicesNew img {
    width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.MainServices.MainServicesNew .ServiceName {
    font-family: Neucha;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    vertical-align: middle;
    text-align: start;
    color: #244E7D;
    margin: 0;
    padding: 0;
}

@media (max-width: 960px) {
    .MainServices.MainServicesNew .ServicesList {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .MainServices.MainServicesNew {
        padding: 40px 0;
    }

    .MainServices.MainServicesNew h2 {
        margin-bottom: 30px;
    }

    .MainServices.MainServicesNew img {
        width: 40px;
        max-height: 40px;
        object-fit: contain;
    }
    
    .MainServices.MainServicesNew .ServicesTabs {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .MainServices.MainServicesNew .ServicesTab {
        padding: 10px 20px;
        font-size: 14px;
        border: 1px solid #244E7D;
        border-radius: 2px;
    }
    
    .MainServices.MainServicesNew .ServicesList {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .MainServices.MainServicesNew .ServiceItem {
        padding: 15px;
    }
    
    .MainServices.MainServicesNew .ServiceName {
        font-size: 20px;
    }
}

@media (max-width: 580px) {
    .MainServices.MainServicesNew .ServicesList {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .MainServices.MainServicesNew .ServiceName {
        text-align: left;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .MainServices.MainServicesNew .ServicesList {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .MainServices.MainServicesNew .ServiceItem {
        flex-direction: row;
        text-align: left;
        padding: 11px 13px 11px;
        height: 48px;
    }
    
    .MainServices.MainServicesNew .ServiceIcon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        margin-right: 15px;
        flex-shrink: 0;
    }
}

/* Групповые занятия */
.GroupClasses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.GroupClassItem {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4/3;
}

.GroupClassItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Заголовок «Групповые занятия» (h2): повторяет вид прежнего h4 (.MainBlock h4 + .MainBlock.Interesting h4) */
.GroupClassesTitle {
    color: var(--color);
    font-size: 34px;
    line-height: 34px;
    text-align: center;
    margin: 0 0 40px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1080px) {
    .GroupClassesTitle {
        font-size: 36px;
        line-height: 36px;
    }
}

.GroupClassName {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-s);
    font-weight: 400;
    font-size: 25px;
    line-height: 34px;
    text-align: center;
    vertical-align: middle;

}

@media (max-width: 960px) {
    .GroupClasses {
        gap: 20px;
    }
    
    .GroupClassName {
        font-size: 20px;
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .GroupClasses {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 400px;
        padding: 0;
        margin: 0 auto 20px;
    }
    
    .GroupClassItem {
        aspect-ratio: 16/10;
    }
    
    .GroupClassName {
        font-size: 20px;
        padding: 15px 20px;
    }
}


/* End */


/* Start:/local/templates/index/components/bitrix/news.line/whywe_infografic_2/style.css?17839288831023*/
.WhyWe
{
}
.WhyWe h2 {
    text-align: center;
    font-size: 34px;
    line-height: 34px;
    padding: 30px 0 60px; /* верхний отступ 30px был у прежнего h4 от глобального правила */
    margin: 0;
    color: var(--color);
}

.WhyWe_wrap
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}
.WhyWe_item
{
    width: 33.3333%;
    display: flex;
    height: 180px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.WhyWe_item .WhyWe_item_title
{
    font-family: 'Neucha';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    color: #244E7D;
}
@media (max-width: 1020px) {
    .WhyWe_item
    {
        width: 50%;

    }
    .WhyWe_item .WhyWe_item_title {
        width: 130px;
        font-size: 17px;
        line-height: 22px;
        text-align: center;
        letter-spacing: 1.02px;
        color: #244E7D;
    }

}
/* End */


/* Start:/local/components/web2u/reviews.block/templates/.default/style.css?17900525897401*/
/* Блок «Отзывы родителей». Палитра и шрифты — сайта: свой шрифт из макета
   не тянем, по ТЗ блок должен быть «соответствующим шрифтом сайта». */

.RvBlock {
    padding: 55px 0;
    background: #f5f8fc;
    position: relative;
}

.RvBlock .maxWidth {
    box-sizing: border-box;
}

.RvTitle {
    margin: 0;
    padding: 0 0 8px;
    font-size: 34px;
    line-height: 1.2;
    color: var(--color);
    text-align: center;
}

.RvSubtitle {
    margin: 0 auto 32px;
    padding: 0;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.45;
    color: #6b7a8d;
    text-align: center;
}

.RvAccent {
    color: #ef6888;
    font-weight: 600;
}

/* ---- лента ---- */

.RvViewport {
    position: relative;
}

.RvTrack {
    display: flex;
    align-items: stretch; /* все карточки ряда одной высоты */
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Боковых отступов нет намеренно: со scroll-snap стартовый scrollLeft
       стал бы равен padding-left и левая стрелка выглядела бы активной. */
    padding: 4px 0 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.RvTrack::-webkit-scrollbar {
    display: none;
}

.RvTrack:focus-visible {
    outline: 2px solid var(--color);
    outline-offset: 2px;
}

.RvCard {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    scroll-snap-align: start;
    padding: 22px;
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 4px;
}

.RvCardHead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.RvStars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.RvStar {
    width: 17px;
    height: 17px;
    fill: #dfe5ed;
}

.RvStar.is-on {
    fill: #f5a623;
}

.RvQuote {
    flex-shrink: 0;
    line-height: 0;
}

.RvQuote svg {
    width: 26px;
    height: 26px;
    fill: #fbd3dd;
}

.RvText {
    font-size: 16px;
    line-height: 1.5;
    color: #2f3b4a;
    /* Текст в разметке целиком — прячем лишнее только визуально. */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Работает только при раскрытии: высоту на эти доли секунды ставит скрипт. */
    transition: height .3s ease;
}

/* overflow остаётся hidden: во время анимации высота меньше текста. */
.RvCard.is-open .RvText {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .RvText {
        transition: none;
    }
}

.RvMore {
    align-self: flex-start;
    margin: 10px 0 0;
    padding: 0;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.3;
    color: #ef6888;
    cursor: pointer;
}

.RvMore:hover {
    text-decoration: underline;
}

.RvMore[hidden] {
    display: none;
}

.RvMore__close,
.RvCard.is-open .RvMore__open {
    display: none;
}

.RvCard.is-open .RvMore__close {
    display: inline;
}

/* ---- автор ---- */

.RvAuthor {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Подпись к низу: аватары должны стоять на одной линии, как в макете. */
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e9eef5;
}

.RvAvatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
}

.RvAuthorMeta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.RvName {
    font-size: 16px;
    font-weight: 700;
    color: var(--color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.RvDate {
    font-size: 14px;
    color: #8a97a8;
}

/* ---- стрелки ---- */

.RvArrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    background: #fff;
    border: 1px solid #d9e2ee;
    border-radius: 50%;
    color: var(--color);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(36, 78, 125, .12);
    transition: opacity .2s, background .2s;
}

.RvArrow svg {
    width: 20px;
    height: 20px;
}

.RvArrow--prev {
    left: -22px;
}

.RvArrow--next {
    right: -22px;
}

.RvArrow:hover:not(:disabled) {
    background: var(--color);
    color: #fff;
}

.RvArrow:disabled {
    opacity: .35;
    cursor: default;
}

/* Прокручивать нечего — стрелок нет. */
.RvBlock--static .RvArrow {
    display: none;
}

/* ---- кнопки ---- */

.RvButtons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
}

.RvBlock .RvBtn {
    box-sizing: border-box;
    display: inline-block;
    min-width: 190px;
    padding: 0 26px;
    font-family: var(--font-s);
    font-size: 16px;
    line-height: 46px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 2px;
    transition: opacity .2s, background .2s, color .2s;
}

.RvBlock .RvBtn--all {
    background: #fff;
    border: 2px solid var(--color);
    color: var(--color);
}

.RvBlock .RvBtn--all:hover {
    background: var(--color);
    color: #fff;
}

/* Зелёный, а не розовый из макета — так прямо сказано в ТЗ. */
.RvBlock .RvBtn--add {
    background: #89be19;
    border: 2px solid #89be19;
    color: #fff;
}

.RvBlock .RvBtn--add:hover {
    opacity: .85;
}

/* ---- адаптив ---- */

@media (max-width: 1240px) {
    .RvArrow--prev {
        left: 4px;
    }

    .RvArrow--next {
        right: 4px;
    }
}

@media (max-width: 1020px) {
    .RvCard {
        flex-basis: calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .RvBlock {
        padding: 40px 0;
    }

    .RvTitle {
        font-size: 26px;
    }

    .RvSubtitle {
        margin-bottom: 24px;
        font-size: 15px;
    }

    .RvCard {
        flex-basis: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 580px) {
    .RvBlock .maxWidth {
        padding: 0 12px;
    }

    /* На телефоне — вертикальный список, как на макете ТЗ. */
    .RvTrack {
        display: block;
        overflow: visible;
        scroll-snap-type: none;
        padding: 0;
    }

    .RvCard {
        width: 100%;
        max-width: none;
        padding: 20px;
    }

    .RvCard + .RvCard {
        margin-top: 16px;
    }

    .RvArrow {
        display: none;
    }

    .RvText {
        -webkit-line-clamp: 8;
    }

    .RvButtons {
        gap: 12px;
        margin-top: 26px;
    }

    .RvBlock .RvBtn {
        min-width: 0;
        width: 100%;
    }
}

/* End */


/* Start:/local/templates/index/components/bitrix/news.list/faq_accordion/style.css?17895114423017*/
.faq-title {
    font-size: 30px;
    line-height: normal;
    font-weight: 400;
    text-align: center;
    padding: 30px 0 10px;
    margin: 0;
}

.faq-accordion {
    font-family: 'Montserrat', Helvetica, sans-serif;
    margin: 50px auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
	    font-family: Neucha, handwriting;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question h3 {
    font: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    text-align: left;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px 20px 20px;
    background: #fafafa;
    font-size: 19px;
    color: #555;
    animation: fadeIn 0.3s ease-in-out;
}

.faq-text {
    padding-top: 10px;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
/* --- FAQ (ТЗ FAQ+микроразметка): плавное раскрытие ответа --- */
.faq .faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq .faq-item.open .faq-answer-wrap {
    grid-template-rows: 1fr;
}

.faq .faq-answer {
    display: block;
    overflow: hidden;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    animation: none;
    transition: opacity 0.3s ease, padding 0.35s ease;
}

.faq .faq-item.open .faq-answer {
    opacity: 1;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* --- FAQ: иконка +/− с анимацией перехода (ревью ТЗ) --- */
.faq .faq-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-left: 15px;
}

.faq .faq-toggle::before,
.faq .faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.35s ease;
}

.faq .faq-toggle::before {
    width: 18px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq .faq-toggle::after {
    width: 2px;
    height: 18px;
    transform: translate(-50%, -50%);
}

.faq .faq-item.open .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* --- FAQ: шрифт ответов = основной шрифт сайта (ревью ТЗ) --- */
.faq .faq-answer {
    font-family: var(--font);
    font-size: 18px;
}

/* End */
/* /local/templates/index/components/bitrix/news.line/main_banner/style.css?17839288838128 */
/* /local/components/web2u/services/templates/.default/style.css?17839288835668 */
/* /local/templates/index/components/bitrix/news.line/whywe_infografic_2/style.css?17839288831023 */
/* /local/components/web2u/reviews.block/templates/.default/style.css?17900525897401 */
/* /local/templates/index/components/bitrix/news.list/faq_accordion/style.css?17895114423017 */
