/* --- 1. Глобальные медиа-запросы ширины --- */
@media only screen and (max-width:1440px) {
    .course-program__block, .portfolio__block { padding-left: 30px; padding-right: 30px; }
    .container-big { max-width: 1240px; }
}

@media only screen and (max-width:1380px) {
    .form { border-radius: 0; }
}

@media only screen and (max-width:1240px) {
    .home-top__info { width: 612px; }
    .home-top__imgs img { height: 264px; object-fit: cover; }
    .pluses__item { padding: 30px 20px 100px; }
    .pluses__name { font-size: 18px; line-height: 20px; height: 60px; }
    .pluses__description, .teachers__description { font-size: 14px; line-height: 15px; }
    .offers__item, .teachers__name { font-size: 20px; line-height: 25px; }
    .footer__menu:first-child .footer__menu-list-block, .teachers__slide { height: auto; }
    .teachers__well { height: auto; padding-top: 2px; padding-bottom: 2px; }
    .offers__item { font-family: MulishBold; text-transform: uppercase; }
    .partners__slide { box-sizing: border-box; }
    .partners__slide img { max-width: 100%; }
    .footer__menu:nth-child(2) { width: 124px; }
    .footer__menu:first-child { width: auto; }
    .courses-top__spec__item span { font-size: 16px; line-height: 20px; }
    .courses-top__spec__item { font-size: 12px; line-height: 15px; }
    .top-subdivision__info { max-width: 350px; }
}

@media only screen and (max-width:1100px) {
    .tariffs__name, .tariffs__prices { margin-bottom: 4px; }
    .tariffs__name, .tariffs__price { font-size: 18px; line-height: 20px; }
    .tariffs__credit, .tariffs__credit-more { margin-bottom: 10px; }
    .tariffs__credit, .tariffs__credit-more, .tariffs__old-price, .tariffs__pluses-item span { font-size: 14px; line-height: 15px; }
    .tariffs__credit { width: 168px; padding: 2px 10px; }
    .tariffs__item, .tariffs__pluses, .tariffs__top { padding: 10px; }
    .tariffs__pluses-icon { margin-right: 7px; }
    .tariffs__pluses-item span { padding-top: 7px; }
    .all-courses__tags { margin-bottom: 6px; }
    .all-courses__tags span:last-child { margin-left: 0; position: absolute; left: 25px; bottom: 79px; }
    .all-courses__name { padding-left: 0; font-size: 18px; margin-bottom: 10px; line-height: 20px; }
    .all-courses__name::before { display: none; }
    .all-courses__btns { display: flex; flex-direction: column; align-items: flex-start; position: absolute; bottom: 20px; left: 20px; width: calc(100% - 40px); }
    .all-courses__more { display: flex; align-items: center; font-size: 12px; line-height: 15px; background: 0 0; height: auto; width: auto; color: #1d4b73; border-radius: 0; margin-bottom: 10px; align-self: flex-end; }
    .all-courses__more svg { display: block; margin-left: 11px; margin-top: 2px; }
    .all-courses__go { width: 100%; }
    .all-courses__btn-more { width: 181px; height: 50px; display: flex; justify-content: center; align-items: center; background: #b70928; border-radius: 15px; color: #fff; font-size: 16px; font-family: MulishRegular; line-height: 20px; margin: 0 auto; transition: .2s; cursor: pointer; }
}

/* --- 2. БЛОК: ШАПКА, МЕНЮ, МОБИЛЬНЫЕ ЭЛЕМЕНТЫ --- */
@media only screen and (max-width:991px) {
    /* Хедер */
    .header__top { display: none; }
    .header { position: relative; }
    .header__menu { display: none; position: absolute; top: calc(100% - 30px); left: 0; width: 100vw; z-index: 9; height: auto; }
    .header__menu ul { padding: 6px 0 25px; }
    .header__menu-item { padding: 5px 30px; font-size: 12px; font-family: MulishRegular; line-height: 12px; width: 100%; }
    .header__butter { display: flex; width: 20px; height: 15px; align-items: center; justify-content: center; cursor: pointer; }
    .header__butter span { width: 100%; position: relative; }
    .header__butter span::after { content: ""; position: absolute; left: 50%; top: -5px; transform: translateX(-50%); width: 100%; }
    .header__butter span::before { content: ""; position: absolute; left: 50%; top: 5px; transform: translateX(-50%); width: 100%; }
    .header__butter._open span { transform: rotate(45deg); }
    .header__butter._open span::after { opacity: 0; }
    .header__butter._open span::before { transform: rotate(90deg); top: 0; left: 0; }
    .header__info { flex-wrap: wrap; padding-top: 11px; height: auto; }
    .header__btns { margin: 16px -30px 0; display: flex; align-items: center; }
    .header__btn { width: 50vw; margin-right: 0; display: none; }
    .header__courses { width: 50vw; height: 35px; display: flex; padding: 0 20px; font-family: MulishExtraBold; line-height: 15px; font-size: 12px; color: #fff; align-items: center; justify-content: space-between; background: #1d4b73; }
    .header__login { width: 50vw; border-radius: 0; align-items: center; justify-content: space-between; height: 35px; display: flex; padding: 0 20px; font-family: MulishExtraBold; line-height: 15px; font-size: 12px; color: #fff; background: #b70928; }
    .header__login svg { display: block; }
    .header__logo { width: 150px; }
    .header__menu li:first-child, .home-top__category { display: none; }
    .header__menu-courses { padding: 11px 30px 20px; background: #1d4b73; width: 100vw; position: absolute; z-index: 9; left: 0; top: 100%; }
    .header__menu-courses-item { color: #fff; margin-bottom: 10px; font-size: 12px; font-family: MulishRegular; line-height: 12px; width: calc(50% - 10px); display: block; }
    .header__menu-courses-block { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px; }
    .header__courses._open svg { transform: rotate(180deg); }

    /* Навигация и прочее */
    .course-teachers__container, .footer__list, .home-top__container, .popup-tariffs__container, .vote__container { flex-direction: column; }
    .course-teachers__navigation, .header__phone, .news__top, .offers__link span>span, .partners__navigation, .reviews-students__navigation, .reviews-text__top, .teachers__name br, .teachers__navigation { display: none; }
    .header__butter { margin-left: auto; }
    .course-teachers__pagination, .reviews-text__pagination, .teachers__pagination { gap: 0 5px; margin-top: 25px; margin-bottom: 30px; }
    .course-teachers__videos-item:not(:last-child), .portfolio h2, .portfolio__list, .vote__left { margin-bottom: 10px; }
    .course-teachers { padding-top: 29px; padding-bottom: 39px; }
    .course-teachers__info { margin-right: 0; width: 100%; }
    .course-teachers__videos { padding-top: 0; width: 100%; }
    .course-teachers__videos-item { height: auto; }

    /* --- 5. БЛОК: ФУТЕР (МОБИЛЬНЫЙ) --- */
    .footer { padding-top: 30px; padding-bottom: 80px; }
    .footer__logo { margin-bottom: 15px; width: 150px; }
    .footer__menu:nth-child(2) { order: 1; display: flex; flex-direction: row; padding-top: 28px; padding-bottom: 20px; }
    .footer__menu:nth-child(2) .footer__menu-title { order: 1; color: #333; font-size: 14px; font-family: MulishRegular; line-height: 15px; }
    .footer__menu:not(:nth-child(2)) { background: #1d4b73; margin: 0 -30px; width: 100vw; padding: 0; }
    .footer__menu-title { display: flex; justify-content: space-between; align-items: center; height: 30px; color: #fff; font-size: 12px; font-family: MulishBold; line-height: 15px; margin-bottom: 0; padding: 0 30px; width: 100%; }
    .footer__menu-item { color: #fff; line-height: 20px; font-size: 12px; font-family: MulishRegular; }
    .footer__menu-list-block { padding: 3px 30px 20px; }
    .footer__course-video__name, .footer__contacts-title, .footer__menu-list, .footer__menu-title:not(:first-child) { display: none; }
    .footer__menu-title>svg { display: block; flex-shrink: 0; }
    .footer__menu { border-top: 2px solid #fff; display: flex; flex-direction: column; }
    .footer__license img { width: 130px; height: 185px; object-fit: cover; }
    .footer__social { margin-top: 24px; }
    .footer__location { display: block; margin-top: 5px; color: #1d4b73; line-height: 15px; max-width: 100%; }
    .footer__contacts, .form__brn { position: static; }
    .footer__menu:nth-child(1) .footer__menu-title, .footer__menu:nth-child(1) .footer__menu-item, .footer__menu:nth-child(3) .footer__menu-title, .footer__menu:nth-child(3) .footer__menu-item, .footer__menu:nth-child(4) .footer__menu-title, .footer__menu:nth-child(4) .footer__menu-item { color: #ffffff !important; }
    .footer__menu:nth-child(2) .footer__menu-title, .footer__contacts-title, .footer__phone, .footer__location { color: #333333 !important; }

    /* --- 6. БЛОК: ФОРМЫ --- */
    form.horizontal .wrap .field, form.horizontal .wrap .btn-wrap { flex: 1 1 100% !important; }
    form.horizontal .wrap .button, form.horizontal .wrap .button.expanded { width: 100% !important; display: block !important; }
    .form { padding: 30px 0 40px; }
    .form__brn { margin-top: 11px; }

    /* --- 7. БЛОК: ОСТАЛЬНОЕ --- */
    .home-top__info { width: 100vw; margin: 0; padding: 0 30px; }
    .home-top__imgs { margin: 0 0 0 -12px; }
    .home-top__imgs img { width: 100%; height: calc(50vw - 36px); object-fit: cover; border: 12px solid #fff; border-radius: 22px; }
    .home-top__slide { display: flex; flex-direction: column; }
    .home-top__info h1, .home-top__info h2 { order: 1; margin-top: 44px; font-size: 18px; font-family: MulishExtrabold; text-transform: uppercase; line-height: 18px; }
    .home-top__slide-text { order: 1; font-size: 14px; font-family: MulishRegular; line-height: 15px; max-width: 100%; margin-bottom: 20px; }
    .home-top__pagination { position: absolute; top: calc(50vw + 2px)!important; left: 0; bottom: auto!important; gap: 5px; }
    .home-top__pagination .swiper-pagination-bullet { width: 30px; height: 5px; }
    main { margin-top: 20px; }
    .home-top__btn { position: static; width: 100%; height: 50px; font-family: MulishBold; }
    .home-top__right { width: 100%; }
    .home-top__search, .partners__top, .teachers__top { margin-bottom: 0; }
    .home-top__search-btn { width: 90px; flex-shrink: 0; }
    .home-top { padding-bottom: 38px; }
    .pluses__item { width: calc(50% - 20px); }
    .offers__list, .pluses__list { flex-wrap: wrap; gap: 20px 0; }
    .graduates, .pluses { padding-top: 20px; padding-bottom: 30px; }
    .graduates__year { padding: 20px 20px 15px; }
    .graduates__count { padding: 20px; }
    .graduates__count span { font-size: 24px; margin: 0; }
    .graduates__slide-info { left: 20px; width: calc(100% - 40px); bottom: 36px; }
    .graduates__name { font-size: 14px; font-family: MulishBold; line-height: 15px; margin-bottom: 2px; }
    .graduates__description { margin-bottom: 5px; font-size: 10px; }
    .graduates__well { font-size: 10px; }
    .graduates__pagination { left: 20px!important; width: calc(100% - 40px)!important; bottom: 20px!important; gap: 0 5px; }
    .graduates__pagination .swiper-pagination-bullet { width: 30px; height: 5px; }
    .course-teachers__slider, .teachers__slider, .video { padding-top: 20px; }
    .form__title, .video h2 { font-size: 25px; font-family: MulishExtrabold; text-transform: uppercase; line-height: 30px; margin-bottom: 20px; }
    .video h2 span { color: #b70928; }
    .video__name { top: auto; bottom: 10px; left: 20px; font-size: 18px; font-family: MulishBold; line-height: 20px; max-width: 178px; }
    .course-video__btn, .reviews-students__slide span, .video__btn { width: 50px; height: 50px; }
    .reviews-students__slide span svg, .video__btn svg { transform: translateX(2px); width: 20px; height: 20px; }
    .course-program__top, .video__item { margin-bottom: 20px; }
    .documents__item { padding: 20px; }
    .documents__name { font-size: 20px; font-family: MulishBold; text-transform: uppercase; line-height: 25px; margin-bottom: 0; }
    .documents__description { font-size: 14px; font-family: MulishRegular; line-height: 15px; }
    .course-program, .partners, .teachers { padding-top: 30px; padding-bottom: 40px; }
    .education__item, .teachers__top h2 { font-size: 20px; font-family: MulishBold; text-transform: uppercase; line-height: 25px; }
    .education { padding-top: 33px; padding-bottom: 25px; }
    .education h2 { font-size: 18px; font-family: MulishBold; line-height: 20px; margin-bottom: 17px; }
    .pluses-small h2, .pluses-small__info span { text-transform: uppercase; margin-bottom: 10px; }
    .all-courses, .pluses-small { padding-top: 20px; padding-bottom: 40px; }
    .pluses-small h2 { color: #1d4b73; opacity: 1; font-size: 25px; font-family: MulishExtrabold; line-height: 30px; }
    .pluses-small__item { width: calc(50% - 20px); padding: 20px 10px; align-items: center; }
    .pluses-small__info { width: calc(100% - 70px); }
    .pluses-small__icon svg { width: 70px; }
    .pluses-small__info span { font-size: 20px; font-family: MulishBold; line-height: 25px; }
    .about-curse__description, .courses-top__description, .news__slide-name, .pluses-small__description, .reviews-text__description { font-size: 14px; line-height: 15px; }
    .help__title, .reviews-students h2 { font-size: 25px; font-family: MulishExtrabold; text-transform: uppercase; line-height: 30px; }
    .help { border-radius: 0; padding-top: 30px; margin-bottom: 0; }
    .help__container { flex-direction: column; align-items: flex-start; }
    .help__title { margin-right: 0; margin-bottom: 20px; }
    .news__slide-top, .reviews-students__top, .reviews-text__top { margin-bottom: 10px; }
    .reviews-students { padding-top: 30px; padding-bottom: 10px; }
    .reviews-students h2 { color: #1d4b73; }
    .reviews-students__slide-name { display: block; position: absolute; left: 30px; top: 20px; width: calc(100% - 60px); color: #fff; font-size: 14px; font-family: MulishRegular; line-height: 15px; }
    .reviews-students__slide-name span { display: block; font-size: 18px; font-family: MulishBold; line-height: 20px; margin-bottom: 5px; position: static; border-radius: 0; background: 0 0; width: auto; height: auto; transform: translate(0); }
    .reviews-text { padding-top: 10px; padding-bottom: 30px; }
    .reviews-text__slide { padding: 20px 20px 60px; height: auto; }
    .reviews-text__title { font-size: 18px; font-family: MulishBold; line-height: 20px; margin-bottom: 10px; }
    .reviews-text__name { font-size: 14px; line-height: 15px; bottom: 25px; left: 20px; width: calc(100% - 40px); height: 40px; }
    .footer__location, .footer__menu-item { font-size: 12px; font-family: MulishRegular; }
    .offers__item, .offers__link { width: calc(50% - 20px); padding: 35px 20px; border-radius: 15px; height: 120px; }
    .offers { padding-top: 10px; padding-bottom: 30px; }
    .partners__top h2 { font-size: 25px; line-height: 30px; font-family: MulishExtrabold; }
    .footer__license, .partners__pagination { margin-top: 0; }
    .news { padding-top: 40px; padding-bottom: 50px; }
    .news__slide-top { border-radius: 20px; }
    .about-curse__skills-item:not(:last-child), .course-program__item:not(:last-child), .footer__menu-item { margin-bottom: 10px; }
    .footer__menu:first-child .footer__menu-list-block { height: 260px; }
    .footer__menu-item { color: #fff; line-height: 20px; }
    .footer__menu-list-block { padding: 3px 30px 20px; }
    .course-video__name, .footer__contacts-title, .footer__menu-list, .footer__menu-title:not(:first-child) { display: none; }
    .footer__menu-title>svg { display: block; flex-shrink: 0; }
    .course-teachers__top h2, .courses-top__info h1 { font-size: 20px; line-height: 25px; }
    .courses-top__tags span { font-size: 10px; line-height: 15px; padding: 0 10px 2px; }
    .courses-top__tags { gap: 9px; }
    .courses-top__spec { gap: 2px 0; }
    .courses-top__spec__item { width: calc(50% - 1px); }
    .courses-top__info { width: 308px; flex-shrink: 0; }
    .about-curse { padding-top: 20px; padding-bottom: 35px; }
    .about-curse__top { margin-bottom: 30px; flex-direction: column; }
    .about-curse__info { width: 100%; margin-right: 0; }
    .about-curse h2, .all-courses h2 { font-size: 20px; line-height: 25px; margin-bottom: 20px; }
    .about-curse__pluses { margin-top: 11px; width: 100%; }
    .about-curse__pluses-item { padding: 9px 20px 20px; }
    .about-curse__pluses-title { font-size: 20px; line-height: 25px; margin-bottom: 1px; }
    .about-curse__pluses-title span { font-size: 20px; line-height: 25px; margin-top: 0; }
    .about-curse__pluses-date { font-size: 14px; line-height: 15px; top: 14px; right: 20px; bottom: auto; }
    .about-curse__pluses-description { font-size: 14px; line-height: 15px; padding-right: 10px; }
    .about-curse__skills { flex-direction: column; flex-wrap: nowrap; gap: 0; margin-top: 0; }
    .about-curse__skills-item { width: 100%; padding: 10px 10px 20px 20px; min-height: auto; }
    .about-curse__skills-top { align-items: center; margin-bottom: 5px; }
    .about-curse__skills-icon { order: 1; margin-right: 0; margin-left: auto; width: 50px; height: 50px; }
    .about-curse__skills-title { margin-right: 10px; font-size: 18px; line-height: 20px; }
    .about-curse__skills-description { font-size: 14px; line-height: 15px; }
    .course-program__block { padding: 0; background: 0 0; position: relative; }
    .course-program h2 { font-size: 20px; line-height: 25px; max-width: 150px; margin-bottom: 20px; height: 60px; }
    .course-program__all span, .course-program__load { padding: 7px 10px 10px; font-size: 14px; line-height: 15px; }
    .course-program__all { width: 100%; gap: 8px 10px; }
    .course-program__all span { background: #fff; border: none; }
    .course-program__load { width: 138px; height: 62px; border-radius: 15px; border: 1px solid #1d4b73; position: absolute; top: 0; right: 0; }
    .course-program__item { background: #fff; padding: 0; border-radius: 15px; }
    .course-program__item-bottom { display: none; padding-bottom: 20px; width: 100%; }
    .course-program__item-title span { width: auto; height: auto; border-radius: 0; font-size: 18px; line-height: 20px; background: 0 0; margin-right: 5px; }
    .course-program__item-title { font-size: 18px; line-height: 20px; width: 100%; padding: 10px; margin-bottom: 0; align-items: flex-start; }
    .course-program__description, .course-program__pluses-item li, .course-program__pluses-title, .course-program__practice { font-size: 14px; line-height: 15px; }
    .course-program__item-arrow { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; margin-left: auto; border-radius: 50%; flex-shrink: 0; background: #c9cbff; }
    .course-program__description { margin-bottom: 10px; padding-left: 20px; padding-right: 20px; }
    .course-program__pluses { flex-direction: column; padding-left: 20px; padding-right: 20px; }
    .course-program__pluses-item, .course-search { width: 100%; }
    .course-program__pluses-item:not(:last-child) { margin-bottom: 10px; }
    .course-program__pluses-title { padding: 3px 5px 5px; margin-bottom: 10px; }
    .faq h2, .portfolio h2, .portfolio__document span, .tariffs h2 { font-size: 20px; line-height: 25px; }
    .course-program__pluses-item li::before { width: 5px; height: 5px; top: 6px; }
    .course-program__practice { padding: 3px 5px 5px; margin-left: auto; margin-right: 20px; width: 198px; margin-bottom: 0; }
    .course-teachers__info { margin-right: 0; width: 100%; }
    .course-teachers__videos { padding-top: 0; width: 100%; }
    .course-teachers__pagination { margin-top: 25px; margin-bottom: 20px; }
    .course-teachers__videos-item:not(:last-child), .portfolio h2, .portfolio__list, .vote__left { margin-bottom: 10px; }
    .course-teachers__videos-item { height: auto; }
    .course-teachers { padding-top: 29px; padding-bottom: 39px; }
    .teachers__slide { box-shadow: 8px 5px 50px #0c2841; box-shadow: 0 0 12px 2px #0c2841; box-shadow: 0 0 20px 10px #0c2841; }
    .course-video__btn svg { width: 20px; height: 20px; }
}

/* --- 8. БЛОК: ПОРТФОЛИО, ТАРИФЫ И ОСТАЛЬНОЕ --- */
@media only screen and (max-width:991px) {
    .portfolio__block { padding: 0; background: 0 0; }
    .portfolio { padding-top: 30px; padding-bottom: 40px; }
    .portfolio__list { gap: 10px 0; }
    .portfolio__item { font-size: 18px; line-height: 20px; padding: 5px; align-items: flex-start; height: auto; width: calc(50% - 5px); }
    .portfolio__icon { width: 22px; height: 22px; }
    .portfolio__icon svg { width: 16px; height: 10px; }
    .portfolio__document-text { font-size: 14px; line-height: 15px; font-family: MulishRegular; }
    .portfolio__document { padding: 20px; font-size: 14px; line-height: 15px; margin-right: 20px; }
    .portfolio__document span { margin-bottom: 0; }
    .tariffs h2 { margin-bottom: 8px; }
    .tariffs { padding-top: 22px; padding-bottom: 25px; }
    .tariffs__pagination { display: flex; gap: 0; margin-top: 15px; }
    .tariffs__pagination .swiper-pagination-bullet { margin: 0; background: #cee4e2; height: 5px; width: 100%; border-radius: 0; }
    .tariffs__pagination .swiper-pagination-bullet-active { margin: 0; background: #b70928; }
    .vote__item { padding: 24px 30px 30px; width: 100%; min-height: 200px; }
    .vote__numb { font-size: 50px; line-height: 50px; margin-bottom: 0; }
    .vote__description { font-size: 18px; line-height: 20px; }
    .popup-tariffs__block, .vote__icon { margin-bottom: 5px; }
    .vote__icon svg { width: 40px; height: 40px; }
    .vote { padding-top: 10px; padding-bottom: 30px; }
    .pluses-small._dark { background: #fff; padding-bottom: 30px; padding-top: 20px; }
    .faq { padding-top: 28px; padding-bottom: 37px; }
    .faq h2 { color: #1d4b73; margin-bottom: 20px; }
    .faq__bottom-block, .faq__top span { font-size: 14px; line-height: 15px; }
    .faq__item { padding-bottom: 10px; }
    .faq__top { padding: 10px 20px 0 15px; }
    .faq__bottom-block { padding: 10px 43px 0 15px; }
    .help.cart { margin: 0; }
    .top-subdivision { padding-top: 0; padding-bottom: 30px; }
    .top-subdivision__container>img { position: absolute; top: -50px; right: 30px; width: 400px; }
    .popup-tariffs__title, .top-subdivision__info h1 { font-size: 20px; line-height: 25px; margin-bottom: 5px; }
    .top-subdivision__tags { margin-bottom: 13px; gap: 9px; }
    .top-subdivision__tags span { padding: 0 10px 2px; font-size: 10px; }
    .top-subdivision__description { font-size: 14px; line-height: 15px; margin-bottom: 15px; }
    .top-subdivision__description p:not(:last-child) { margin-bottom: 15px; }
    .top-subdivision__pluses { display: flex; margin: 0 -1px 20px; flex-wrap: wrap; gap: 2px 0; }
    .top-subdivision__pluses-item { width: calc(50% - 2px); margin: 0 1px; padding: 14px; font-size: 12px; line-height: 15px; min-height: 90px; }
    .top-subdivision__pluses-item span { margin-bottom: 12px; opacity: .85; font-size: 16px; line-height: 20px; }
    .all-courses__btn-more, .course-search input, .course-search__btn { font-size: 14px; line-height: 15px; }
    .top-subdivision__bottom { display: flex; justify-content: space-between; }
    .course-search input { width: 100%; padding: 0 13px; }
    .course-search__btn { width: 90px; }
    .top-subdivision__send { font-family: MulishBold; position: fixed; bottom: 20px; left: 30px; width: calc(100vw - 60px); z-index: 9; }
    .all-courses__list { gap: 10px 0; margin-bottom: 26px; }
    .all-courses__item { width: calc(100% - 20px); min-height: 210px; }
    .all-courses__btn-more svg { display: block; margin-left: 8px; }
    .all-courses__btn-more { background: 0 0; width: auto; height: auto; display: flex; align-items: center; color: #989898; border-radius: 0; }
    .btn-chat { display: flex; position: fixed; bottom: 80px; right: 20px; z-index: 9; }
    .popup-tariffs { width: 100vw; height: 100vh; padding: 40px 30px 20px; background: #1d4b73; border-radius: 0; }
    .popup-tariffs__slider { width: 100%; padding: 0; position: relative; }
    .popup-tariffs__slide { padding: 10px 20px; }
    .popup-tariffs__name { font-size: 20px; line-height: 18px; margin-bottom: 4px; }
    .popup-tariffs__prices { margin-bottom: 6px; }
    .popup-tariffs__price { font-size: 18px; line-height: 20px; }
    .popup-tariffs__oldprice { font-size: 14px; }
    .popup-tariffs__credit { margin-bottom: 10px; padding: 2px 10px; font-size: 14px; line-height: 15px; }
    .popup-tariffs__credit-more, .popup-tariffs__label { display: none; }
    .popup-tariffs__navigation { margin-top: 0; position: absolute; z-index: 3; top: 10px; right: 10px; }
    .popup-tariffs__navigation div { width: 25px; height: 25px; }
    .popup-tariffs__navigation div.swiper-button-disabled { background: #f2f5f7; }
    .popup-tariffs__form { width: 100%; padding: 0; margin-top: 10px; display: flex; flex-direction: column; }
    .popup-tariffs__inp input { height: 40px; padding: 0 10px; }
    .popup-tariffs__inp input::-moz-placeholder, .popup-tariffs__inp input::placeholder { color: #989898; }
    .popup-tariffs__btn-go, .popup-tariffs__course { order: 1; margin-bottom: 10px; }
    .popup-tariffs__btn-credit { order: 1; }
    .popup-tariffs__agree { font-size: 8px; line-height: 10px; margin-bottom: 10px; }
    .popup-tariffs__close { right: 15px; top: 15px; width: 30px; height: 30px; background: 0 0; }
    .popup-tariffs__close path { fill: #fff; }
}

@media only screen and (max-width:700px) {
    .form__inp { width: calc(100% - 20px); margin-bottom: 10px; }
    .form__input-list { flex-direction: column; }
    .form__inp-name { display: none; }
    .form__access { display: block; margin-top: 10px; }
    .form__brn, .portfolio__item { width: 100%; }
    .portfolio__bottom { flex-direction: column; align-items: flex-start; }
    .portfolio__document { order: 1; margin-right: 0; margin-top: 10px; width: 100%; }
}

@media only screen and (max-width:600px) {
    .about-curse__pluses, .graduates__container, .pluses__item { flex-direction: column; }
    .header__butter { margin-left: auto; }
    .pluses__item { width: calc(100% - 20px); padding-bottom: 30px; display: flex; }
    .offers__list, .pluses-small__list, .pluses__list { gap: 10px 0; }
    .pluses__top { flex-direction: row; align-items: center; justify-content: flex-start; margin-bottom: 10px; }
    .pluses__description, .pluses__icon { margin-bottom: 0; }
    .pluses__icon { margin-right: 10px; flex-shrink: 0; align-self: center; }
    .pluses__name { height: auto; }
    .pluses__btn { position: static; align-self: flex-end; width: 120px; display: flex; align-items: center; justify-content: center; height: 30px; background: 0 0; border-radius: 0; color: #1d4b73; font-size: 12px; font-family: MulishExtrabold; line-height: 15px; }
    .help__well, .help__well span { font-size: 18px; line-height: 20px; font-family: MulishBold; }
    .pluses__btn svg { display: block; margin-left: 11px; }
    .graduates__slider { width: 100%; margin-bottom: 10px; }
    .graduates__info, .teachers__btn { width: 100%; }
    .graduates__year { height: auto; margin-bottom: 10px; min-height: auto; }
    .graduates__slide::after { height: 118px; background: linear-gradient(181deg,rgba(217,217,217,0) 0,rgba(111.49,137.3,159.75,.56) 27%,#1d4b73 84%); }
    .teachers__slide { flex-direction: column; display: flex; align-items: center; }
    .teachers__well { align-self: center; }
    .teachers__description li::after { width: 5px; height: 5px; top: 9px; }
    .education__item { width: 100%; height: 70px; background: #f2f5f7; border-radius: 15px; color: #1d4b73; text-align: center; display: flex; justify-content: center; align-items: center; }
    .education__item:first-child { background: #cee4e2; }
    .education__list { gap: 5px 0; }
    .pluses-small__item { width: calc(100% - 20px); }
    .help__well { width: 100%; height: 79px; padding-left: 18px; padding-right: 20px; overflow: hidden; position: relative; }
    .help__well span { width: calc(100% - 70px); }
    .help__well::after { content: ""; position: absolute; right: 0; top: 0; height: 100%; width: 70px; background: #b70928; }
    .help__well svg { position: relative; z-index: 2; width: 28px; }
    .help__well path { fill: #fff; }
    .reviews-students__pagination { margin-top: 0; margin-bottom: 15px; gap: 0 5px; }
    .reviews-text__all { display: flex; }
    .offers__item, .offers__link { width: calc(100% - 20px); padding: 35px 20px; border-radius: 15px; height: 120px; }
    .offers__item:first-child, .offers__item:nth-child(2), .offers__item:nth-child(3), .offers__item:nth-child(4) { background-repeat: no-repeat!important; background-position: right!important; background-size: cover!important; }
    .offers__item span { max-width: 126px; display: block; }
    .offers__link span { text-align: left; color: #1d4b73; font-size: 20px; font-family: MulishBold; text-transform: uppercase; line-height: 25px; margin-right: 20px; max-width: 166px; margin-bottom: 0; }
    .offers__link { flex-direction: row; }
    .offers__link__icon { width: 70px; height: 60px; border-radius: 15px; }
    .partners__slide { width: auto!important; height: 80px; }
    .partners__slider .swiper-wrapper { gap: 0; height: 354px; }
    .partners__slide img { width: auto; height: 100%; max-height: 100%; object-fit: scale-down; }
    .news__slide-top { height: 50vw; }
    .about-curse__pluses-item { width: 100%; min-height: 120px; }
    .about-curse__pluses-item:not(:last-child) { margin-bottom: 10px; }
    .teachers__slider { width: auto; }
    .fixbtn-wrap { display: block; }
}

@media only screen and (max-width:500px) {
    .bnr2 { bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.7); border-radius: 10px; }
    .bnr2 img { max-width: 100%; }
    .banner_token { top: 0!important; bottom: 0; right: 0; left: auto; }
    .banner_close { display: none; }
}

/* --- 9. ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ (ХЕДЕР И СЕТКИ) --- */
.header__phone-mobile { display: none; }
@media screen and (max-width: 992px) {
    .header__phone { display: none !important; }
    .header__menu { display: none !important; }
    .header__phone-mobile { display: flex; align-items: center; justify-content: center; margin-right: 25px; margin-left: auto; color: #1D4B73; transition: color 0.2s ease, transform 0.2s ease; }
    .header__phone-mobile svg { width: 24px; height: 24px; fill: currentColor; }
    .header__phone-mobile:hover, .header__phone-mobile:active { color: #B70928; }
}
@media (min-width: 992px) { .mobile-main-menu { display: none !important; } }
@media (max-width: 991px) {
    .page { max-width: 98%; margin: 0 auto; }
    .header__container { position: relative !important; }
    .mobile-main-menu { display: none; position: absolute !important; top: calc(100% - 35px) !important; left: 0 !important; width: 100% !important; background-color: #1D4B73 !important; z-index: 10000 !important; box-shadow: 0 15px 30px rgba(0,0,0,0.4) !important; }
    .mobile-main-menu ul { list-style: none !important; margin: 0 !important; padding: 15px 0 !important; display: flex !important; flex-direction: column !important; }
    .mobile-main-menu li { width: 100% !important; border: none !important; }
    .mobile-main-menu li a { display: block !important; color: #ffffff !important; padding: 8px 30px !important; font-size: 14px !important; font-family: 'Mulish', sans-serif !important; font-weight: 400 !important; line-height: 1.2 !important; text-decoration: none !important; text-align: left !important; background: none !important; transition: none !important; }
}