/***************************************************************
************************ fonts *********************************
***************************************************************/
@font-face{
    font-family: 'inter';
    src: url('../fonts/inter-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'inter';
    src: url('../fonts/inter-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: 'inter';
    src: url('../fonts/inter-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



/***************************************************************
************************ clear *********************************
***************************************************************/

html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}



/***************************************************************
************************ content *******************************
***************************************************************/

p,
h1,
h2,
h3,
h4,
h5,
h6{
    margin: 0;
    padding: 0;
    font-weight: 400;
}

h2{
    font-weight: 600;
    line-height: 52px;
    font-size: 40px;
    color: #263141;
    padding-bottom: 28px;
    position: relative;
    margin-bottom: 50px;
}
h2::before{
    position: absolute;
    content: "";
    background: #E04130;
    width: 139px;
    height: 8px;
    border-radius: 10px;
    bottom: 0;
    left: 0;  
}
html{
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
*{outline:none;}
*,
*::before,
*::after{
    box-sizing: inherit;
}
body{
    overflow-x: hidden;
    font-family: 'inter';
    background-color: #F4F7FF;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.container{
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 15px;
}
.crumbs{
    display: flex;
    margin-bottom: 50px;
}
.crumb{
    font-size: 16px;
    font-weight: 500;
    line-height: 20.8px;
    color: #263141;    
    display: flex;
    align-items: center;
}
.crumb:first-child::before{
    display: none;
}
.crumb::before{
    position: relative;
    content: "";
    background: #8E94B8;
    width: 20px;
    display: block;
    height: 1px;
    margin: 0 10px;
}
.crumb:last-child{
    color: #7E8794;
}


@media( max-width:1550px){
    .container {
        max-width: 1150px;
    }
}
@media (max-width: 1200px) {
    .container {
        max-width: 930px;
    }
}
@media (max-width: 991.98px){
    .container{
        max-width: 730px;
    }
}
@media (max-width: 767.98px){
    .container{
        max-width: 100%;
    }
    h2 {
        margin-bottom: 40px;
        padding-bottom: 20px;
        line-height: 28px;
        font-size: 28px;
    }
    h2::before{
        bottom: 0px;
        height: 6px;
    }
}

/***************************************************************
************************ header *******************************
***************************************************************/
.header{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}
.header_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.header_logo{
    display: flex;
}
.menu{
    display: flex;
    gap: 40px;
}
.menu a{
    font-weight: 500;
    line-height: 20.8px;
    color: #fff;
    font-size: 16px;
}
.header_city{
    font-weight: 500;
    line-height: 20.8px;
    color: #fff;
    font-size: 16px;
    position: relative;
    padding-left: 34px;
    padding-right: 18px;
}
.header_city::after{
    position: absolute;
    content: "";
    background-image: url(../img/city-arrow.svg);
    background-size: cover;
    width: 13px;
    height: 7px;
    right: 0;
    top: 50%;
    transform: translateY(-50% );
}
.header_city::before{
    position: absolute;
    content: "";
    background-image: url(../img/map.svg);
    background-size: cover;
    width: 24px;
    height: 24px;
    left: 0;
    top: 50%;
    transform: translateY(-50% );
}
.header_city-current{
    color: #fff;
    font-weight: 700;
    margin-left: 10px;
    border-bottom: 1px solid;
}
.menu_burger{
    display: none;
}
.header_inner .header_btn,
.header_inner .header_city{
    display: none;
}
.page_header{
    background-color: #fff;
    color: #263141;
}
.page_header  .header_city-current,
.page_header  .header_city,
.page_header .menu a{
    color: #263141;
}
.page_header  .header_city::after{
    background-image: url(../img/city-arrow2.svg);
}
.header_logo svg{
    fill:#fff
}
.page_header .header_logo svg{
    fill: #263141;
  }
@media (hover:hover){
    .header_city-current,
    .menu a{
        transition: all 0.3s;
    }
    .header_city-current:hover,
    .menu a:hover{
        color: #E04130;
    }
}

@media( max-width:1550px){
    .header_logo{
        width: 220px;
    }
    .header_logo svg{
        width: 100%;
        height: auto;
    }
    .menu{
        gap: 16px;
    }
    .menu a{
        font-size: 14px;
    }
}
@media (max-width: 991.98px){
    .header{
        position: fixed;
        background-color: #fff;
    }
  .header_inner{
    position: fixed;
    opacity: 0;
    visibility: hidden;
    background-color: #fff;
    width: 100%;
    height: 100%;
    top: 80px;
    left: 0;
    overflow: auto;
    padding-top: 20px;
    padding-bottom: 120px;
    transition: all 0.6s
  }
  .menu{
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto 40px;
    gap: 24px;
  }
  .menu a{
    color: #010320;
    font-size: 20px;
  }
  .header_inner.active{
    opacity: 1;
    visibility: visible;
  }
  .header_city{
    display: none;
  }
  .header_logo svg{
    fill: #263141;
  }
  .header_city::after{
    background-image: url(../img/city-arrow2.svg);
}
  .menu_burger{
    display: block;
    position: relative;
    width: 30px;
    height: 22px;
  }
  .menu_burger::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: #E04130;
    top: 0;
    right: 0;
    transition: all 0.3s;
  }
  .menu_burger.active::before{
    transform: rotate(45deg);
    top: 9px;
  }
  .menu_burger.active::after{
    transform: rotate(-45deg);
    bottom: 10px;
  }
  .menu_burger.active span{
    transform: scale(0);
  }
  .menu_burger::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: #E04130;
    bottom: 0;
    right: 0;
    transition: all 0.3s;
  }
  .menu_burger span{
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: #E04130;
    top: 9px;
    right: 0;
    transition: all 0.3s;
  }
  .header_inner .header_btn{
    display: flex;
    max-width: 700px;
    width: 100%;
    margin: 0 auto 20px;
  }
.header_inner .header_city{
    display: flex;
    max-width: 700px;
    color: #010320;
    margin: 0 auto 40px;
}
.header_city-current{
    color: #010320;
}
}
@media (max-width: 767.98px){
    .header_wrapper{
        padding: 14px 0;
    }
    .header_inner{
        top: 68px;
    }
    .menu{
        padding: 0 15px;
    }
    .header_inner .header_city{
        margin-left: 15px;
        margin-right: 15px;
    }
    .header_inner .header_btn{
        margin: 0 15px;
        width: calc(100% - 30px);
    }
}


/***************************************************************
************************ buttons *******************************
***************************************************************/

.btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 40px;
    gap: 10px;
    background: #E04130;
    font-size: 16px;
    font-weight: 600;
    line-height: 20.8px;
    width: fit-content;
    backdrop-filter: blur(20px);
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    position: relative;
}
.header_btn::before{
    position: relative;
    content: "";
    background-image: url(../img/header-btn.svg);
    background-size: cover;
    display: block;
    width: 24px;
    height: 25px;
}
.main_btn::before{
    position: relative;
    content: "";
    background-image: url(../img/main-btn.svg);
    background-size: cover;
    display: block;
    width: 24px;
    height: 25px;
}

@media (hover:hover){
    .btn{
        transition: all 0.3s;
    }
    .btn::after{
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        background: linear-gradient(123.32deg, #E04130 6.61%, #98392F 69.83%);
        opacity: 0;
        transition: all 0.3s;
        z-index: -1;
    }
    .btn:hover::after{
        opacity: 1;
    }

}
@media( max-width:1550px){
    .btn{
        padding: 16px 14px;
    }
    .header_btn {
        font-size: 14px;
    }
    @media (max-width: 1200px) {
        .header_btn{
            display: none;
        }
    }
}


/***************************************************************
************************ pageSlider *******************************
***************************************************************/


    .page_slider-block{
        margin: 100px 0;
    }
    .page_slider {
        --f-carousel-spacing: 10px;
        --f-carousel-slide-width: 280px;
      }
      
      .page_slide {
        width: 493px;
        background: #FFFFFF;
        box-shadow: 0px 0px 20px 0px #24226D05;
        margin: 0;
        padding: 24px;
        border-radius: 10px;
        margin-right: 20px;
      }
      .page_slide-top{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
      }
      .page_slide-title{
          font-size: 20px;
          font-weight: 600;
          color: #263141;
          line-height: 26px;
          width: 280px;
      }
      .page_slide-logo{
        width: 120px;
        display: flex;
      }
      .page_slide-logo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .page_slide-text{
          line-height: 20.8px;
          color: #474F5A;
          font-size: 16px;
          margin-bottom: 30px;
      }
      .page_slide-bot{
        display: flex;
        justify-content: space-between;
      }
      .page_slide-reviews,
      .page_slide-price{
          line-height: 20.8px;
          color: #474F5A;
          font-size: 16px;
      }
      .page_slide-price span{
        display: block;
        margin-top: 5px;
        font-weight: 600;
        line-height: 24px;
        color: #E04130;
        font-size: 20px;
      }
      .page_slide-reviews span{
        display: block;
        margin-top: 5px;
      }
      .page_slider .f-carousel__dots {
        display: none !important;
      }
      .page_slider  .f-button{
        background: #E04130;
        width: 60px;
        height: 60px;
        backdrop-filter: blur(20px);
        border-radius: 10px;
        position: absolute;
        top: -110px !important;
        transform: none !important;
        background-position: center;
        background-repeat: no-repeat;
      }
      .page_slider  .f-button.is-next{
        right: 0 !important;
        background-image: url(../img/arrow-right.svg);
      }
      .page_slider  .f-button.is-prev{
        right: 70px !important;
        left: auto !important;
        background-image: url(../img/arrow-left.svg);
      }
      .page_slider .f-button svg{
        display: none;
      }
      .page_slider-block h2{
        margin-right: 140px;
    }
      
      @media (hover:hover){
        .page_slider  .f-button:hover{
            background-color: #98392F;
        }
    }


    @media( max-width:1550px){
        .page_slide {
            width: 360px;
            padding: 20px;
        }
        .page_slide-title {
            font-size: 18px;
            line-height: 24px;
            width: 168px;
        }
        .page_slide-price span{
            font-size: 18px;
        }
        .page_slide-reviews span{
            width: 120px;
        }
        .page_slide-reviews span svg{
            width: 100%;
            height: auto;
        }
    }
    @media (max-width: 1200px) {
        .page_slide{
            width: 439px;
        }
    }
    @media (max-width: 991.98px){
        .page_slide {
            width: 420px;
            box-sizing: border-box;
        }
        .f-carousel__nav{
            display: none !important;
        }
        .page_slider-block h2{
            margin-right: 0px;
        }
        .page_slider{
            box-sizing: border-box;
            width: calc(100% + ((100vw - 700px) / 2));
        }
    }
    @media (max-width: 767.98px){
        .page_slider-block{
            margin: 60px 0;
        }
        .page_slider{
            width: calc(100% + 15px);
        }
        .page_slide{
            width: 320px;
            margin-right: 10px !important;
        }
        .page_slide-top{
            flex-direction: column-reverse;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        .page_slide-title{
            width: 100%;
        }
        .page_slide-logo{
            margin-bottom: 10px;
        }
        .page_slide-bot{
            flex-direction: column;
            gap: 20px;
        }
    }

/***************************************************************
************************ mainBlock *******************************
***************************************************************/

.main{
    padding: 200px 0 167px;
    background-image: url(../img/main-bg.jpg);
    background-size: cover;
    background-position: center;
}
.main_subtitle{
    font-weight: 600;
    line-height: 46.8px;
    color: #E04130;
    font-size: 36px;
    margin-bottom: 10px;
}
.main h1{
    font-weight: 600;
    line-height: 78px;
    color: #fff;
    font-size: 60px;
    margin-bottom: 60px;
    max-width: 920px;
}

@media( max-width:1550px){
    .main {
        padding: 170px 0 100px;
    }
}
@media (max-width: 991.98px){
    .main {
        padding: 150px 0 100px;
    }
    .main_subtitle {
        line-height: 34px;
        font-size: 26px;
    }
    .main h1 {
        line-height: 56px;
        font-size: 46px;
        margin-bottom: 30px;
        max-width: 500px;
    }
}
@media (max-width: 767.98px){
    .main {
        padding: 116px 0 60px;
    }
    .main h1 {
        line-height: 42px;
        font-size: 32px;
        margin-bottom: 42px;
    }
    .main_subtitle {
        line-height: 26px;
        font-size: 17px;
    }
}

/***************************************************************
************************ Блок рекламы *******************************
***************************************************************/

.offers{
    padding: 100px 0;
    background-color: #fff;
}
.offers_items{
    gap: 20px;
    display: flex;
}
.offers_item{
    flex: 1;
    display: flex;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 0px #24226D05;
    overflow: hidden;
}
.offers_item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media( max-width:1550px){
 .offers_item {
    height: 292px;
 }
}
@media (max-width: 1200px) {
    .offers_item{
        height: 243px;
    }
}
@media (max-width: 991.98px){
    .offers_items{
        flex-wrap: wrap;
    }
    .offers_item{
        flex: none;
        width: calc(50% - 10px);
        height: auto;
    }
}
@media (max-width: 767.98px){
    .offers{
        padding: 60px 0;
    }
    .offers_items{
        gap: 10px;
    }
    .offers_item{
        width: 100%;
    }
}

/***************************************************************
************************ Blog *******************************
***************************************************************/

.blog{
    padding: 100px 0;
    background-color: #fff;
}
.blog_top{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    padding-right: 150px;
}
.blog_top h2{
    margin-bottom: 0;
}
.blog_slide{
    width: 365px;
    margin-left: 0 !important;
    margin-right: 20px !important;
    background: #F0F5FF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px #24226D05;
}
.blog_btn{
    height: 60px;
}
.blog_slide-img{
    display: flex;
    width: 100%;
    height: 200px;
}
.blog_slide-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog_slide-info{
    padding: 20px;
}
.blog_slide-title{
    font-weight: 600;
    line-height: 26px;
    color: #263141;
    font-size: 20px;
    margin-bottom: 15px;
}
.blog_slide-text{
    line-height: 18.2px;
    color: #474F5A;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media( max-width:1550px){
    .blog_slide {
        width: 360px;
    }
   }
   @media (max-width: 1200px) {
    .blog_slide {
        width: 292px;
        margin-right: 10px !important;
    }
   }
   @media (max-width: 991.98px){
    .blog_top{
        padding-right: 0;
    }
   }
   @media (max-width: 767.98px){
    .blog{
        padding: 120px 0;
        position: relative;
    }
    .blog_btn{
        position: absolute;
        bottom: 60px;
        right: 50%;
        transform: translateX(50%);
        width: calc(100% - 30px);
    }
   }


/***************************************************************
************************ addBlock *******************************
***************************************************************/
.add_block{
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.add_block-info{
    max-width: 820px;
}
.add_block-subtitle{
    font-weight: 600;
    line-height: 41.6px;
    color: #E04130;
    margin-bottom: 10px;
    font-size: 32px;
}
.add_block-title{
    font-weight: 600;
    line-height: 62.4px;
    margin-bottom: 20px;
    color: #263141;
    font-size: 48px;
}
.add_block-text{
    line-height: 26px;
    color: #474F5A;
    margin-bottom: 60px;
    font-size: 20px;
}
.add_block-btn::before{
    position: relative;
    content: "";
    background-image: url(../img/header-btn.svg);
    background-size: cover;
    display: block;
    width: 24px;
    height: 25px;
}
.add_block-img{
    position: absolute;
    display: flex;
    right: calc(50% - 980px);
    top: 50%;
    z-index: -1;
    transform: translateY(-50%);
}
@media( max-width:1550px){
    .add_block-info {
        max-width: 630px;
    }
    .add_block-img{
        width: 800px;
        right: calc(50% - 730px);
    }
    .add_block-img img{
        width: 100%;
        height: auto;
    }
   }
   @media (max-width: 1200px) {
    .add_block-info {
        max-width: 550px;
    }
    .add_block-img {
        width: 660px;
        right: calc(50% - 624px);
    }
   }
   @media (max-width: 991.98px){
    .add_block-info{
        max-width: 100%;
    }
    .add_block-img {
        width: 480px;
        right: calc(50% - 450px);
        bottom: -40px;
        top: auto;
        transform: none;
    }
   }
   @media (max-width: 767.98px){
    .add_block{
        padding: 60px 0;
    }
    .add_block-subtitle {
        line-height: 26px;
        margin-bottom: 10px;
        font-size: 18px;
    }
    .add_block-title {
        line-height: 34px;
        margin-bottom: 20px;
        font-size: 24px;
    }
    .add_block-text {
        line-height: 24px;
        margin-bottom: 240px;
        font-size: 16px;
    }
    .add_block-img{
        right: 50%;
        transform: translateX(50%);
        bottom: 90px;
        width: 420px;
    }
    .add_block-btn{
        width: 100%;
    }
   }

/***************************************************************
************************ footer *******************************
***************************************************************/
.footer{
    background: #010320;
    padding: 100px 0;
}
.footer_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #FFFFFF33;
}
.footer_menu{
    display: flex;
    gap: 116px;
}
.footer_menu a{
    font-weight: 500;
    line-height: 19.2px;
    color: #FFFFFF99;
    font-size: 16px;
}
.footer_inner{
    display: flex;
    justify-content: space-between;
}
.footer_inner-item{
    font-weight: 500;
    line-height: 19.2px;
    color: #FFFFFF99;
    font-size: 16px;
}

@media (hover:hover){
    .footer a{
        transition: all 0.3s;
    }
    .footer a:hover{
        color: #E04130;
    }
}

@media( max-width:1550px){
    .footer_menu{
        gap: 30px;
    }   
}    
@media (max-width: 1200px) {
    .footer_wrapper{
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .footer_menu a{
        font-size: 14px;
    }
}
@media (max-width: 991.98px){
    .footer_menu{
        flex-direction: column;
    }
}
@media (max-width: 767.98px){
    .footer{
        padding: 60px 0 40px;
    }
    .footer_menu{
        gap: 20px;
    }
    .footer_inner{
        flex-direction: column-reverse;
        gap: 20px;
    }
    .footer_inner-item{
        font-size: 16px;
    }
}



/***************************************************************
************************ allSchool *******************************
***************************************************************/

.all_school{
    padding: 140px 0 100px;
}
.all_school-wrapper{
    display: flex;
    gap: 20px;
}
.all_school-column{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(25% - 15px);
}
.all_school-letter{
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px #24226D05;
    padding: 18px 20px 15px 56px;
    position: relative;
}
.all_school-main{
    position: absolute;
    top: 13px;
    left: 15px;
    background: #E04130;
    border-radius: 5px;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    line-height: 19.2px;
    text-align: center;
    color: #fff;
    font-size: 16px;
}
.all_school-title{
    line-height: 18.2px;
    color: #474F5A;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    padding-right: 30px;
}
.all_school-item{
    margin-bottom: 10px;
    position: relative;
}
.all_school-title::before{
    position: absolute;
    content: "";
    background-image: url(../img/arrow-down.svg);
    background-size: cover;
    width: 12px;
    height: 7px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.all_school-item:last-child{
    margin-bottom: 0;
}
.all_school-list{
    border-top: 1px solid #EAEEF3;
    border-bottom: 1px solid #EAEEF3;
    padding: 10px 0;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 20px ;
    display: none;
}
.all_school-list[style*="display: block"]{
	display: flex !important;
}

.all_school-list li{
    width: calc(50% - 10px);
    color: #7E8794;
    line-height: 18.2px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.all_school-list li span{
    background: #E041301F;
    border-radius: 3px;
    padding: 2px 5px;
    font-weight: 600;
    line-height: 14.4px;
    text-align: center;
    color: #E04130;
    font-size: 12px;
}
@media( max-width:1550px){
    .all_school-letter{
        padding: 50px 20px 15px;
    }
    .all_school-list li{
        width: 100%;
    }
} 
@media (max-width: 991.98px){
    .all_school-wrapper{
        flex-wrap: wrap;
    }
    .all_school-column{
        width: calc(50% - 10px);
    }
}
@media (max-width: 767.98px){
  .all_school {
    padding: 100px 0 60px;
  }
  .crumb{
    font-size: 12px;
  }
  .crumbs{
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .all_school-column{
    width: 100%;
  }
  .all_school-list li{
    width: calc(50% - 5px);
    font-size: 12px;
  }
  .all_school-list{
    gap: 10px;
  }
}


/***************************************************************
************************ catalog *******************************
***************************************************************/

.catalog{
    padding: 140px 0 100px;
}
.catalog_top{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}
.catalog_top .btn{
    height: 50px;
}
.catalog_right{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.catalog_filter{
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    border-radius: 10px;
    padding: 14px 24px;
    line-height: 20.8px;
    font-size: 16px;
    color: #263141;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.catalog_filter input{
    display: none;
}
.catalog_filter input:checked + span svg path:nth-child(1){
    fill: #E04130;
}
.catalog_filter input:checked + span svg path:nth-child(2){
    fill: #C3CAD4;
}
.catalog_filter span{
    display: flex;
}
.catalog_items{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.catalog_items .page_slide{
    width: calc(33.333% - 13.333px);
    margin: 0;
}
.pagin{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.pagin a{
    background: #FFFFFF;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    line-height: 26px;
    font-size: 20px;
    color: #A1ABB9;
}
.pagin a.active{
    background: #E04130;
    color: #fff;
}
.catalog_inner{
    background: linear-gradient(123.32deg, #E04130 6.61%, #7A231A 69.83%);
    box-shadow: 0px 0px 20px 0px #24226D05;
    margin-top: 50px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    z-index: 1;
}
.catalog_inner::before{
    position: absolute;
    content: "";
    background-image: url(../img/catalog-inner.png);
    width: 892px;
    height: 400px;
    bottom: 0;
    z-index: -1;
    right: 0;
}
.catalog_inner-title{
    font-size: 32px;
    line-height: 41.6px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 30px;
}
.catalog_inner-text{
    font-size: 20px;
    line-height: 26px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 58px;
    max-width: 780px;
}
.offers + .blog{
    background-color: #F4F7FF;
}

.blog + .add_block{
    background: #FFFFFF;
    z-index: 1;
    padding: 166px 0;
}


@media (hover:hover){
    .pagin a{
        transition: all 0.3s;
    }
    .pagin a:hover{
        background: #E04130;
        color: #fff;
    }
    .pagin a:hover svg path{
        fill: #fff;
    }
}

@media( max-width:1550px){
    .catalog_right{
        gap: 10px;
    }
    .catalog_top{
        flex-wrap: wrap;
    }
    .catalog_right{
        margin-top: 20px;
    }
    .catalog_inner::before {
        background-size: cover;
        width: 780px;
        height: 318px;
    }
    .catalog_inner-text {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 58px;
        max-width: 620px;
    }
} 
@media (max-width: 1200px) {
    .catalog_items .page_slide{
        width: calc(50% - 10px);
    }
    .catalog_filter {
        padding: 15px 12px;
    }
    .catalog_inner::before {
        background-size: cover;
        width: 628px;
        height: 280px;
    }
    .catalog_inner-text {
        max-width: 496px;
    }
}
@media (max-width: 991.98px){
    .catalog_right{
        flex-wrap: wrap;
    }
    .catalog_filter {
        padding: 15px 24px;
    }
    .catalog_top  .catalog_right .btn{
        order: -1;
        margin-right: 50%;
    }
    .catalog_inner-text{
        margin-bottom: 180px;
    }
}
@media (max-width: 767.98px){
    .catalog_top .catalog_right .btn{
        margin-right: 0;
        width: 100%;
    }
    .catalog_top .btn{
        width: 100%;
    }
    .catalog_items .page_slide{
        width: 100%;
        margin: 0 !important;
    }
    .catalog_items{
        gap: 10px;
    }
    .catalog{
        padding: 100px 0 60px;
    }
    .pagin{
        gap: 4px;
    }
    .pagin a {
        width: 26px;
        height: 26px;
        line-height: 22px;
        font-size: 14px;
    }
    .pagin a svg{
        width: 16px;
        height: auto;
    }
    .catalog_inner{
        margin-top: 30px;
        padding: 20px 20px 140px;
    }
    .catalog_inner-title {
        font-size: 24px;
        line-height: 34px;
    }
    
    .catalog_inner-text {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 30px;
    }
    .catalog_inner::before {
        right: 65%;
        transform: translateX(50%);
        width: 316px;
        height: 142px;
    }
    .catalog_inner-btn {
        width: 100%;
    }
    .offers + .blog{
        padding-top: 60px;
    }
    .blog + .add_block{
        padding: 60px 0;
    }
}

/***************************************************************
************************ card *******************************
***************************************************************/

.card{
    padding-top: 140px;
}
.card_wrapper{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
.card_img{
    width:700px;
    border-radius: 20px;
    height:534px;
    overflow: hidden;
    display: flex;
}
.card_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card_right{
    width: calc(100% - 750px);
}
.card_top{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.card_price{
    line-height: 26px;
    color: #474F5A;
    font-size: 20px;
}
.card_price span{
    font-weight: 600;
    line-height: 31.2px;
    color: #E04130;
    margin-top: 10px;
    font-size: 24px;
    display: block;
}
.card_reviews-stars{
    display: flex;
    margin-bottom: 10px;
}
.card_reviews-value{
    display: block;
    font-size: 20px;
    color: #474F5A;
    line-height: 26px;
    padding-bottom: 2px;
    width: fit-content;
    border-bottom: 1px solid;
}
.card_categories-title{
    line-height: 26px;
    color: #474F5A;
    font-size: 20px;
    margin-bottom: 10px;
}
.card_categories-items{
    display: flex;
    gap: 10px;
}
.card_catigory{
    background: #E04130;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-weight: 600;
    line-height: 19.2px;
    color: #fff;
    font-size: 16px;
}
.card_adres-title{
    line-height: 26px;
    color: #474F5A;
    font-size: 20px;
    margin-bottom: 10px;
}
.card_adres-items{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.card_adres-item{
    background: #FFFFFF;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    line-height: 18.2px;
    color: #474F5A;
    width: calc(33.333% - 6.6666px);
}
.card_adres-item:last-child{
    flex: auto;
}
.card_links{
    display: flex;
    margin-top: 30px;
    gap: 30px;
}
.card_link{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    background: #E041301A;
    backdrop-filter: blur(20px);
    height: 50px;
    font-weight: 600;
    line-height: 20.8px;
    border-radius: 10px;
    font-size: 16px;
    color: #E04130;
    gap: 10px;
    text-transform: uppercase;
}
.card_info{
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 50px;
}
.card_info-title{
    font-weight: 600;
    line-height: 31.2px;
    color: #263141;
    font-size: 24px;
    margin-bottom: 30px;
}
.card_info-list{
    columns: 2;
    line-height: 20.8px;
    color: #474F5A;
    font-size: 16px;
}
.card_info-list li{
    margin-bottom: 15px;
}
.card_inner{
    display: flex;
    justify-content: space-between;
}
.card_inner-img{
    box-shadow: 0px 0px 20px 0px #24226D05;
    width: 750px;
    height: 580px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
}
.card_inner-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card_form{
    width: 750px;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    border-radius: 10px;
    padding: 30px;
}
.card_form-title{
    font-weight: 600;
    line-height: 31.2px;
    margin-bottom: 10px;
    font-size: 24px;
}
.card_form-subtitle{
    font-weight: 400;
    line-height: 20.8px;
    color: #474F5A;
    margin-bottom: 30px;
    font-size: 16px;
}
.card_form-inps{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.card_form-inp{
    font-size: 14px;
    line-height: 18.2px;
    color: #474F5A;
    width: calc(33.333% - 13.333px); 
}
.card_form-inp select{
    width: 100%;
    display: block;
    margin-top: 8px;
    background: #F4F7FF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    height: 50px;
    border: none;
    border-radius: 10px;
    padding-left: 24px;
    font-size: 14px;
    color: #263141;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.card_form-inp input{
    width: 100%;
    display: block;
    margin-top: 8px;
    background: #F4F7FF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    height: 50px;
    border: none;
    border-radius: 10px;
    padding-left: 24px;
}
.card_form-select{
    position: relative;
}
.card_form-select::before{
    position: absolute;
    content: "";
    background-image: url(../img/select-arrow.svg);
    background-size: cover;
    width: 13px;
    height: 7px;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}
.card_form-inp:last-child{
    width: 100%;
}
.card_form-inp textarea{
    width: 100%;
    display: block;
    margin-top: 8px;
    background: #F4F7FF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    height: 50px;
    border: none;
    border-radius: 10px;
    padding-left: 24px;
    resize: none;
    height: 120px;
    padding-top: 20px;
}
.card_form-bot{
    display: flex;
    align-items: center;
    margin-top: 30px;
}
.card_form-btn{
    width: 158px;
    height: 60px;
    margin-right: 30px;
    border: none;
    cursor: pointer;
}
.card_form-ok{
    width: 364px;
    padding-left: 35px;
    position: relative;
    line-height: 18.2px;
    color: #263141;
    font-size: 14px;
    cursor: pointer;
}
.card_form-ok input{
    display: none;
}
.card_form-ok a{
    color: #E04130;
    font-weight: 600;
    text-decoration: underline;
}
.card_form-ok span{
    background: #E04130;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    position: absolute;
    padding-left: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.card_form-ok input:checked + span{
    background-image: url(../img/chek.svg);
    background-position: center;
    background-repeat: no-repeat;
}
@media( max-width:1550px){
    .card_img {
        width: 500px;
        height: 400px;
    }
    .card_right {
        width: calc(100% - 520px);
    }
    .card_form {
        width: 620px;
    }
    .card_inner-img{
        width: 480px;
    }
    .card_form-select::before{
        right: 12px;
    }
} 
@media (max-width: 1200px) {
    .card_wrapper{
        flex-direction: column-reverse;
    }
    .card_right{
        width: 100%;
        margin-bottom: 30px;
    }
    .card_inner{
        flex-direction: column;
    }
    .card_form{
        width: 100%;
    }
    .card_inner-img{
        width: 100%;
        margin-bottom: 30px;
    }
    .card_img{
        width: 100%;
    }
}
@media (max-width: 767.98px){
    .card{
        padding-top: 100px;
    }
    .card_top{
        flex-direction: column-reverse;
        gap: 30px;
    }
    .card_adres-item{
        width: 100%;
    }
    .card_links{
        flex-direction: column;
        gap: 10px;
        height: auto;
    }
    .card_link{
        min-height: 50px;
    }
    .card_img{
        height: auto;
    }
    .card_wrapper{
        margin-bottom: 30px;
    }
    .card_info{
        padding: 20px;
        margin-bottom: 30px;
    }
    .card_info-title{
        font-size: 20px;
        margin-bottom: 20px;
    }
    .card_info-list{
        columns: auto;
    }
    .card_inner-img{
        height: auto;
    }
    .card_form{
        padding: 20px;
    }
    .card_form-inp{
        width: 100%;
    }
    .card_form-bot{
        flex-direction: column;
        margin-top: 20px;
    }
    .card_form-btn{
        width: 100%;
        margin: 0 0 20px;
    }
    .card_form-ok{
        width: 100%;
        font-size: 12px;
        line-height: 1.4;
    }
}



/***************************************************************
************************ reviews *******************************
***************************************************************/


.reviews{
    margin-bottom: 100px;
}
.reviews_wrapper{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.reviews_left{
    width: 1088px;
}
.reviews_item{
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
}
.reviews_item-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.reviews_person{
    position: relative;
    padding-left: 90px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.reviews_person-img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
}
.reviews_person-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.reviews_person-title{
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 26px;
    color: #263141;    
}
.reviews_person-subtitle{
    line-height: 20.8px;
    color: #474F5A;
    font-size: 16px;
}
.reviews_price-title{
    line-height: 20.8px;
    margin-bottom: 10px;
    color: #474F5A;
    font-size: 16px;
}
.reviews_price-value{
    font-weight: 600;
    line-height: 26px;
    color: #E04130;
    font-size: 20px;
}
.reviews_value{
    width: 30%;
}
.reviews_value-title{
    font-weight: 500;
    line-height: 20.8px;
    color: #474F5A;
    font-size: 16px;
    margin-bottom: 10px;
}
.reviews_item-text{
    line-height: 18.2px;
    color: #474F5A;
    font-size: 14px;
}
.reviews_form{
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    width: 412px;
    padding: 30px;
    border-radius: 10px;
}
.reviews_form-title{
    font-weight: 600;
    line-height: 31.2px;
    margin-bottom: 10px;
    color: #263141;
    font-size: 24px;
}
.reviews_form-subtitle{
    line-height: 20.8px;
    color: #474F5A;
    margin-bottom: 30px;
    font-size: 16px;
}
.reviews_form-stars{
    display: flex;
    margin-bottom: 30px;
}
.reviews_form .card_form-inp{
    width: 100%;
    margin-bottom: 20px;
}
.reviews_form-btn{
    width: 100%;
    cursor: pointer;
    border: none;
}

@media( max-width:1550px){
    .reviews_form{
        width: 380px;
    }
    .reviews_left {
        width: 720px;
    }
} 
@media (max-width: 1200px) {
    .reviews_wrapper{
        flex-direction: column-reverse;
    }
    .reviews_left{
        width: 100%;
    }
    .reviews_form {
        width: 100%;
        margin-bottom: 20px;
    }
}
@media (max-width: 767.98px){
    .reviews_form{
        padding: 20px;
    }
    .reviews_form-subtitle{
        margin-bottom: 20px;
    }
    .reviews_item-top{
        flex-direction: column;
        margin-bottom: 20px;
        align-items: flex-start;
        gap: 20px;
    }
    .reviews_item{
        padding: 20px 14px;
        margin-bottom: 10px;
    }
}


/***************************************************************
************************ popups *******************************
***************************************************************/

.popup_body{
    background: #FFFFFF;
    box-shadow: 0px 0px 20px 0px #24226D05;
    width: 750px;
    border-radius: 10px;
    padding: 30px;
}
#popup_add .card_form-inp{
    width: 100%;
    margin-bottom: 20px;
}
#popup_add  textarea{
    height: 78px;
}
#popup_add .card_form-bot{
    flex-direction: row-reverse;
    justify-content: space-between;
}
.popup_body .card_form-inp{
    position: relative;
}
.card_form-desc{
    position: absolute;
    right: 0;
    top: 0;
    line-height: 18.2px;
    color: #E04130;
    font-size: 14px;
}
.popup_body-item_title{
    line-height: 18.2px;
    margin-bottom: 8px;
    color: #474F5A;
    font-size: 14px;
}
.popup_body-cheks{
    display: flex;
    gap: 30px;
}
.popup_body-chek{
    position: relative;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    color: #474F5A;
    gap: 10px;
    cursor: pointer;
}
.popup_body-chek input{
    display: none;
}
.popup_body-chek a{
    color: #E04130;
    font-weight: 600;
    text-decoration: underline;
}
.popup_body-items{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.popup_body-item{
    width: calc(50% - 10px);
}
.popup_body-chek span{
    border: 2px solid #EAEEF3;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    display: block;
}
.popup_body-chek input:checked + span{
    background-image: url(../img/chek.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #E04130;
    border: none;
}
.popup_body-inps{
    display: flex;
    gap: 10px;
}
@media (max-width: 767.98px){
    .popup_body{
        padding: 30px 10px;
    }
    .card_form-desc{
        position: relative;
        margin-top: 4px;
    }
    .popup_body-item{
        width: 100%;
    }
    #popup_add .card_form-bot{
        flex-direction: column;
        margin-top: 0;
    }
    .popup_body-items{
        gap:0;
    }
    .popup_body-cheks{
        margin-bottom: 20px;
    }
}





























/***************************************************************
************************ content *******************************
***************************************************************/
.content{overflow:hidden;}
.content>*:last-child:not(h1){padding-bottom:0;margin-bottom:0;}
.content [style*="float"]{overflow:hidden;}
.content [style*="float: right"]{margin-left:90px;}
.content [style*="float: left"]{margin-right:90px;}
.content a{color:#000;transition:color 0.25s}
.content p{margin:0 0 20px;}
.content p:last-child{margin-bottom:0;}
.content ol,
.content ul{padding:5px 0 15px 30px;overflow:auto;}
.content ol li,
.content ul li{margin:0 0 1px;list-style:initial;}
.content ol li{list-style:inherit;}
.h1,
.content h1{font-size:40px;line-height:52px;font-weight:600;padding:0 0 28px;margin:0 0 50px;overflow:auto;color:#263141;position:relative;}
.h1:after,
.content h1:after{position:absolute;content:"";background:#E04130;width:139px;height:8px;border-radius:10px;bottom:0;left:0;}
.h2,
.content h2{font-size:34px;line-height:40px;font-weight:600;padding:0 0 24px;overflow:auto;color:#263141;}
.content h3{font-size:28px;line-height:34px;font-weight:600;padding:0 0 20px;overflow:auto;color:#263141;}
.content h4{font-size:20px;line-height:28px;font-weight:600;padding:0 0 15px;overflow:auto;color:#263141;}
.content blockquote{padding-left:30px;border-left:3px solid #333;overflow:auto;}
.content ul.dash li:before{content:"-";position:relative;left:-5px;}
.content .justifyfull{text-align:justify;}
.content .ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.content .img-responsive{display:block;max-width:100%;height:auto}
.content th,
.content td{padding:10px 20px;}
.content thead tr{background-color:#e2e2e2;font-weight:bold;}
.content tbody tr{background-color:#f9f9f9;}
.content tbody tr:nth-child(2n){background-color:#f1f1f1;}
.content img{max-width:100%;border-radius:20px;}
.content .table-responsive{max-width:100%;overflow:auto;border-radius:1px;}
.content:before{content:'';clear:both;height:0px;width:100%;display:block;}
.content:after{content:'';clear:both;height:0px;width:100%;display:block;}

.content .text__block .text{height: 400px;overflow: hidden;}
.content .text__block .btn__block{margin-top:30px;}
.content .text__block .btn__block .showContent__btn{margin: 0 auto;cursor:pointer;}

.content .text__block.active .text{height:auto;}
.content .text__block.active .btn__block{display:none;}

@media (hover: hover){
    .content a:hover{color:#333;}
}
@media (max-width:1199px){
    .content [style*="float: right"]{margin-left:30px;}
    .content [style*="float: left"]{margin-right:30px;}
    .content blockquote{padding-left:30px;}
}
@media (max-width:767px){
    .content [style*="float"]{float:none !important;}
    .content img{height:auto !important;width:auto !important;max-width:100%;margin:0 !important}
}






.crumbs{padding-top:140px;}



.footer{margin-top:50px;}
.add_block+.footer{margin-top:0;}


.catalog{padding-top:0;}
.card{padding-top:0;}




.all_school-list li a{color:#7E8794;line-height:18.2px;font-size:14px;}




section .ec-stars{ margin:0.2rem 0}
section .ec-stars, 
section .ec-rating-stars{ --ec-star-width:24px;--ec-star-height:19px;--ec-star-gap:5px;}
section .ec-stars,
section .ec-stars span,
section .ec-rating-stars span {
    background-image: url('data:image/svg+xml,<svg width="20" height="32" viewBox="0 0 20 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.41128 12.8248L3.21238 16L4.62576 10.0741L0 6.11166L6.0719 5.62521L8.41128 0L10.7507 5.62521L16.8235 6.11166L12.1968 10.0741L13.6102 16L8.41128 12.8248Z" fill="%23E04130"/><path d="M8.41128 28.8248L3.21238 32L4.62576 26.0741L0 22.1117L6.0719 21.6252L8.41128 16L10.7507 21.6252L16.8235 22.1117L12.1968 26.0741L13.6102 32L8.41128 28.8248Z" fill="%23F094AA"/></svg>');
    background-size: calc(var(--ec-star-width) + var(--ec-star-gap)) calc(var(--ec-star-height) * 2);
}



.popup_body-cheks{flex-wrap:wrap}


.card_info{white-space:pre-line;}


.header_city::after{display:none;}


.footer_logo svg{fill:#fff;}
