@media (max-width: 1090px) {
    #location-header {
        display: none;
    }
    #socials-header {
        display: none;
    }
    #right-header {
        display: none;
    }
    #nav-desktop {
        display: none;
    }
    #nav-top {
        padding-bottom: 15px;
    }
    #menu-button {
        display: block;
    }
    #menu-container {
        align-items: flex-end;
        justify-content: flex-end;
    }
    h1, h2 {
        font-size: 25px;
    }
    #card-progress {
        width: 100%;
        padding-bottom: 150px;
    }
    #buttons-card {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 30px;
    }
    #title-tab a {
        margin-top: 15px;
    }
    #branches #tab-mobile {
        display: block;
    }
    #img-progress {
        max-width: 60%;
    }
    #categories-list {
        display: block;
    }
    #categories-list .justify-between {
        margin-bottom: 20px;
    }
    #categories-list .justify-between img {
        max-width: 50%;
        max-height: 50%;
    }
    #top-footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }
    #top-footer .items-center {
        margin-top: 25px;
    }
    #tabs {
        display: none;
    }
    #branches-container {
        background: none;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    #map-container {
        flex-direction: column;
    }
    #title-tab {
        flex-direction: column;
        align-items: flex-start;
    }
    #title-tab button {
        margin-top: 15px;
    }
    #tab-contacts {
        width: 100%;
    }
    #title-tab-container {
        padding: 0;
    }
    .categories-tab .mx-auto {
        flex-direction: column;
        margin-top: 0;
    }
    .categories-tab .mx-auto a {
        margin-bottom: 10px;
        max-width: 100%;
    }
    section {
        padding-bottom: 50px;
    }
    .image-hidden {
        display: none;
    }
    #trial-lesson {
        width: 100%;
    }
    #trial-lesson .bg-brand-blue-norm {
        padding-bottom: 300px;
    }
    #trial-image {
        width: 220px;
        height: 240px;
        right: 25%;
    }
    #trial-lesson button {
        font-size: 16px;
    }
    #trial-lesson .grid-cols-2 {
     display: flex;
     flex-direction: column;
 }
 #p-300 {
    padding-bottom: 300px;
}
#main-advantage {
    display: flex;
    flex-direction: column;
}
#guarantee img {
    width: 375px;
    height: auto;
    right: 0;
}
#guarantee .grid-cols-2  {
    display: flex;
    flex-direction: column;
}
#guarantee button {
    font-size: 16px;
}
#teachers .items-stretch {
    flex-direction: column;
}
#teachers .bg-brand-gray-200 {
    max-width: 100%;
}
#teachers .flex-1 {
    flex-direction: column;
}
#teachers .space-y-8 {
    padding-left: 20px;
}
#reviews button {
    display: none;
}
#image .bg-brand-yellow-light {
    display: none;
}
#image .justify-between {
    display: flex;
    text-align: center;
    margin-bottom: 20px;
}
#leave-question .w-1\/2 {
    width: 100%;
}
#leave-question .bg-brand-blue-norm {
    flex-direction: column;
}
#leave-question img.w-fit {
    width: 220px;
    position: absolute;
    bottom: 0;
    right: 0;
    height: auto;
}
#leave-question .spac-y-10 {
    padding: 30px;
}
#leave-question #form-question {
    padding: 30px;
    padding-bottom: 360px;
}
#leave-question button {
    font-size: 16px;
}
#footer .border-brand-blue-norm {
    flex-direction: column;
}
#footer .gap-\[90px\] {
    gap: 40px;
    padding-left: 10px;
    flex-wrap: wrap;
}
#interesting .w-fit {
    width: 100%;
}
#footer .text-sm {
    display: block;
}
#footer .text-sm > a {
    display: block;
    margin-top: 10px;
}
#footer .text-sm > a span {
    text-decoration: underline !important;
}
#price-list .grid-cols-3 {
    display: block;
}
#price-list .grid-cols-3 .h-\[250px\] {
    margin-bottom: 15px;
}
#select-mobile {
    display: block;
}
#select-desktop {
    display: none;
}
#robotics .h-11 {
    width: 100%;
    justify-content: center;
}
#robotics .grid-cols-3 {
    display: block;
}
#robotics .grid-cols-3 .bg-brand-blue-norm {
    margin-bottom: 15px;
}
#start .w-1\/2 {
    width: 100%;
}
#start .w-fit {
    position: absolute;
    bottom: 0;
    width: 155px;
    left: 25%;
    height: auto;
}
#start .bg-brand-blue-norm {
    flex-direction: column;
}
#start form {
    padding: 30px;
    padding-bottom: 150px;
}
#start .py-60px {
    padding: 30px;
}
.landing-hero {
    flex-direction: column;
}
.landing-hero #card-progress {
    padding-bottom: 70px;
}
.landing-hero #img-progress {
    width: 100%;
    max-width: 100%;
}
.problem-line {
    display: none;
}
.card-problem {
    margin-bottom: 35px;
    width: 100%;
}
.card-problem img {
    object-fit: cover;
    margin-bottom: 30px;
}
.card-problem .number-problem {
    left: 45%;
    top: 58%;
}
.problem-description p {
    font-size: 16px;
}
#hero-2 {
    flex-direction: column-reverse;
}
.choice-container {
    flex-direction: column;
}
.choice-card {
    width: 100%;
    margin-bottom: 15px;
}
#tab-hero {
    display: none;
}
#tab-mobile {
    display: block;
}
.modal-main h2 {
    font-size: 20px;
}
#about-block {
    padding: 60px 30px;
}
#about-block h1 {
    font-size: 25px;
}

/* МОИ СТИЛИ */

h1, h2 {
    line-height: 130%;
}
.mobile-menu ul li a:not(.font-bold) {
    padding: 16px 20px;
}
.mobile-menu ul li a {
    font-size: 16px;
}
.mobile-menu .gap-5 {
    gap: 0.6rem;
}
header {
    position: initial;
}
.mobile-menu ul li.dropdown-li {
    display: block;
}
.mobile-menu ul li.dropdown-li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-menu ul li.dropdown-li .dropdown {
    opacity: 0;
    height: 0px;
    overflow: hidden;
    transition: .4s;
}
.mobile-menu ul li.dropdown-li .dropdown li {
    border: none;
}
.mobile-menu ul li.dropdown-li .dropdown a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
}
.mobile-menu ul li.dropdown-li .dropdown a .dropdown-icon {
    width: 15px;
    margin-right: 10px;
    margin-left: 0;
}
.mobile-menu ul li.dropdown-li .dropdown a .dropdown-icon img {
    width: 100%;
}
.mobile-menu ul li a.active + .dropdown {
    opacity: 1;
    height: auto;
}

.mt-60px {
    margin-top: 30px;
}
.p-50px {
    padding: 30px;
}
#hero h1 span {
    position: relative;
    left: -10px;
}
#hero .space-y-8 .gap-2\.5 {
    gap: 0px;
}
.space-y-60px > :not([hidden]) ~ :not([hidden]) {
    margin: 30px 0;
}
#categories-list .justify-between {
    padding: 20px;
}
#branches-container {
    padding: 0;
}
.text-xl {
    font-size: 14px;
    line-height: 120%;
}
#interesting .bg-brand-yellow-light {
    justify-content: center;
}
#interesting .min-w-140px {
    min-width: initial;
    width: 100px;
    font-size: 14px;
}
.categories-tab.space-y-50px > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0;
}
#sing-up .p-60px {
    padding: 30px 30px 300px 30px;
}
/*
.card-overflow {
    overflow-x: scroll;
    width: calc(100vw - 5.25vw);
}
.card-overflow > .grid {
    display: flex;
    width: max-content;
}
.card-overflow > .grid > .flex {
    width: 220px;
    gap: 1.5rem;
}
*/
#guarantee h2 .line-block {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    transform: none;
}
#guarantee .p-60px {
    padding: 30px 20px 340px 20px;
}
#reviews .swiper {
    overflow: hidden;
}

#image h2 {
    text-align: center;
}
#image .justify-between {
    justify-content: center;
    padding-right: 0;
}
.image-overflow {
    overflow-x: scroll;
    width: 100vw;
}
.image-overflow > .grid {
    display: flex;
    width: max-content;
    padding: 0 10px;
    gap: 10px;
}
.image-overflow .rounded-2xl {
    width: 280px;
    min-width: 280px;
    height: 280px;
}
#leave-question h2 {
    text-align: center;
}
#leave-question h2 span {
    display: block;
    width: max-content;
    margin: 0 auto;
}
#leave-question h2 + p {
    text-align: center;
}
.footer-menus .space-y-5 {
    min-width: 30%;
}
.footer-menus .space-y-5 h3 {
    font-size: 20px;
}
.footer-menus .space-y-5 a {
    font-size: 14px;
}
.mobile-menu .clear-block {
    height: 50px;
    display: block;
    width: 100%;
}
.top-banner-img {
    display: none;
}
.top-banner-mobile-img {
    display: block;
}
#branches.in,
#reviews.in,
#faq.in {
    padding: 40px 0;
}
#categories.in,
#articles.in {
    padding-top: 40px;
}

.blog-list .swiper-wrapper .swiper-slide {
    width: calc(50% - 10px);
}
#teachers h2 {
    margin-bottom: 30px;
}
.option-card {
    width: 100%;
}
#about-block br {
    display: none;
}
#price-list .select-button {
    border: 1px solid #3fa2f6;
}
}

@media (max-width: 768px) {
    .blog-list .swiper-wrapper .swiper-slide {
        width: 100%;
    }
    .blog-list .swiper-wrapper {
        row-gap: 20px;
    }
    .blog-in-img {
        margin-bottom: 20px;
    }
    .blog-in-content h1 {
        margin-bottom: 20px;
    }
    .blog-in-content h4,
    .blog-in-content p,
    .blog-in-content li {
        font-size: 14px;
    }
    .blog-in-content h3 {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 10px;
    }
    .share-button {
        width: 100%;
        font-size: 16px;
        text-align: center;
        padding: 16px;
        justify-content: center;
    }
    .blog-list .size-full {
        height: 95vw;
    }

    #hero-landing h1 {
        font-size: 30px;
    }
    #hero-landing h1 br {
        display: none;
    }
    #hero-landing h1 + p {
      font-size: 15px;
  }
  #categories .col-span-2 img, #programs .col-span-2 img {
    max-height: 30%;
}
#teachers .gap-5 {
    gap: 0;
    justify-content: space-between;
}
#robotics h3 {
    font-size: 18px;
    line-height: 120%;
    margin-bottom: 20px;
}
#programs .slider-programs-prev,
#programs .slider-programs-next {
    display: none;
}
.napSwiper {
    width: calc(100% + 10px);
}
#programs h2 {
    font-size: 22px;
}
#start .pr-60px {
    padding-right: 0;
    padding-top: 0;
}
}

@media (max-width: 375px) {
    .footer-menus .space-y-5 {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 790px) {
    .reg-price-item {
        flex-flow: wrap;
    }
    .reg-price-item a {
        width: 100%;
        margin-bottom: 16px;
    }
    .reg-form-calendar,
    #datepicker,
    .ui-widget.ui-widget-content {
        width: 100%;
    }
    .reg-form-time {
        margin-left: 0;
        width: 100%;
        margin-top: 40px;
    }
    .reg-form-time-item {
        gap: 10px;
    }

    #reg-select-2 {
        height: auto !important;
        opacity: 1 !important;
        overflow: visible !important;
    }
}