.school-page{overflow:hidden;background:#fff;color:#101e31;font-family:Cygre,Arial,sans-serif}.school-container{width:min(1160px,calc(100% - 40px));max-width:1160px!important;margin:auto;padding:0}.school-page h1,.school-page h2,.school-page h3,.school-page p{margin-top:0}.school-hero{padding-top:34px}.school-hero__card{position:relative;height:511px;border-radius:6px;overflow:hidden;background:#0e3a82 url('/school-5-8-class/images/tild3738-6532-4761-b231-666635666339__frame_1236.png') center/cover no-repeat}.school-hero__copy{position:absolute;left:60px;top:28px;width:636px;color:#fff}.school-breadcrumb{font-size:14px;opacity:.6}.school-breadcrumb a{color:#fff}.school-hero h1{width:393px;margin-top:30px;font-size:42px;font-weight:400;line-height:1.2;text-transform:uppercase}.school-hero__copy>p{width:330px;margin-top:30px;font-size:22px;line-height:1.4}.school-hero__classes{display:flex;gap:10px;margin-top:40px}.school-hero__classes a{display:grid;place-items:center;width:200px;height:53px;border-radius:4px;background:#fff;color:#101e31;text-decoration:none;font-size:18px}.school-hero__form{position:absolute;right:28px;top:28px;width:400px;height:455px;box-sizing:border-box;padding:26px 30px 30px;border-radius:4px;background:#fff;color:#101e31}.school-hero__form h2{font-size:20px;font-weight:400;font-style:italic;line-height:1.3}.school-hero__form form,.school-cta form{display:grid;gap:14px}.school-hero__form input,.school-cta input{box-sizing:border-box;width:100%;height:50px;padding:0 15px;border:1px solid #c4ccd5;border-radius:4px;background:#fff;font:inherit}.school-phone{display:flex;align-items:center;border:1px solid #c4ccd5;border-radius:4px}.school-phone span{width:18px;height:12px;margin-left:14px;border-top:4px solid #fff;border-bottom:4px solid #d52b1e;background:#0039a6;box-sizing:border-box}.school-phone input{border:0}.school-hero__form label{display:grid;grid-template-columns:16px 1fr;gap:8px;align-items:start;font-size:10px}.school-hero__form button,.school-cta button{height:50px;border:0;border-radius:4px;background:#a9162e;color:#fff;font:inherit}.school-process,.school-advantages,.school-features,.school-expect,.school-teachers,.school-path,.school-year,.school-prices,.school-tour,.school-universities,.school-compare,.school-fit,.school-atmosphere,.school-reviews,.school-docs,.school-cta,.school-faq{padding-top:150px}.school-process__layout{position:relative;height:503px}.school-process__lead{position:absolute;left:0;top:0;width:300px}.school-process__lead h2,.school-advantages h2,.school-teachers>div>h2,.school-path h2,.school-year h2,.school-universities h2,.school-compare h2,.school-fit h2,.school-atmosphere h2,.school-reviews h2,.school-docs h2,.school-faq h2{font-size:34px;font-weight:400;line-height:1.55;text-transform:uppercase}.school-process__arrow{position:absolute;top:62px;left:220px;width:37px}.school-process__photo{position:absolute;top:213px;left:0;width:300px;height:277px;object-fit:cover}.school-process__steps{position:absolute;left:340px;top:0;display:grid;grid-template-columns:repeat(3,266px);gap:10px}.school-process__steps article{height:490px;box-sizing:border-box;padding:18px;border:1px solid #a9b7c7;border-radius:4px;display:flex;flex-direction:column}.school-process__steps h3{font-size:20px;font-weight:500;text-transform:uppercase}.school-process__steps p{font-size:18px;line-height:1.55;color:#3f5064}.school-process__steps span{margin-top:auto;color:#6a829e;font-size:20px}.school-advantages h2 span{margin-left:340px}.school-advantages__grid{position:relative;height:486px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:40px;background:#f3f5f8;border-radius:6px}.school-advantages__grid article{padding:20px;background:#fff;border-radius:4px}.school-advantages__grid img{width:24px}.school-advantages__grid p{font-size:18px;line-height:1.45}.school-features__head{position:relative;height:53px;margin-bottom:60px}.school-features__head h2{position:absolute;left:438px;margin:0;font-size:34px;font-weight:400;text-transform:uppercase}.school-features__head img{width:33px}.school-features__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.school-features__grid article{min-height:145px;padding:30px;display:flex;gap:24px;align-items:center;background:#f3f5f8;border-radius:4px}.school-features__grid article:nth-child(3){background:#d1e0f9}.school-features__grid img{width:46px}.school-features__grid p{margin:0;font-size:18px;line-height:1.45}.school-expect__card{position:relative;height:799px;background:#f3f5f8;border-radius:6px;padding:50px;box-sizing:border-box}.school-expect__head{display:flex;justify-content:space-between;align-items:center}.school-expect__head h2{font-size:34px;font-weight:400;text-transform:uppercase}.school-expect__head img{width:33px}.school-expect__grid{display:grid;grid-template-columns:640px 400px;grid-template-rows:248px 402px;gap:20px;margin-top:30px}.school-expect__grid article{position:relative;padding:30px;background:#fff;border-radius:4px;overflow:hidden}.school-expect__grid article:nth-child(2){background:#537294;color:#fff}.school-expect__grid article:nth-child(3){background:#11408e;color:#fff}.school-expect__grid h3{font-size:20px;text-transform:uppercase}.school-expect__grid p{font-size:18px;line-height:1.55;font-style:italic}.school-expect__grid article:nth-child(3) img{position:absolute;left:0;bottom:0;width:400px}.school-teachers h2{margin-bottom:40px}.school-teachers__tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px}.school-teachers__tabs button{padding:10px 16px;border:1px solid #b7c5d3;background:#fff;border-radius:4px;font:inherit}.school-teachers__tabs button.is-active{background:#101e31;color:#fff}.school-teachers__cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.school-teachers__cards article{display:none;padding:16px;background:#f3f5f8;border-radius:6px}.school-teachers__cards article.is-active{display:block}.school-teachers__cards img{width:100%;aspect-ratio:1/1.1;object-fit:cover;border-radius:4px}.school-teachers__cards h3{font-size:20px}.school-teachers__cards strong{color:#537294}.school-teachers__cards p{font-size:14px}.school-path h2 span{display:block;margin-left:360px}.school-path__track{display:flex;gap:20px;overflow-x:auto;padding-bottom:10px}.school-path__track article{flex:0 0 360px;min-height:330px;padding:30px;background:#f3f5f8;border-radius:6px}.school-path__track article>span{font-size:34px;color:#537294}.school-path__track h3{font-size:22px}.school-path__track p{font-size:17px;line-height:1.5}.school-year__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.school-year__grid article{min-height:160px;padding:30px;background:#f3f5f8;border-radius:6px}.school-year__grid img{width:36px}.school-year__grid p{font-size:17px;line-height:1.45}.school-prices__card{position:relative;min-height:662px;padding:50px 60px;box-sizing:border-box;border-radius:8px;background:#f3f5f8 url('/school-5-8-class/images/tild3338-3635-4463-b530-613163383830__frame_637.png') center/cover no-repeat}.school-prices__card>h2{font-size:34px;font-weight:400;text-transform:uppercase}.school-prices__tabs{position:absolute;right:60px;top:58px;display:flex;gap:16px}.school-prices__tabs button{height:37px;padding:0 18px;border:0;border-radius:6px;background:#fff;font:inherit}.school-prices__tabs button.is-active{background:#101e31;color:#fff}.school-prices__panel{display:none;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:70px}.school-prices__panel.is-active{display:grid}.school-prices__panel article{height:459px;padding:30px 28px;box-sizing:border-box;background:#fff;border:1px solid #bdcddf;border-radius:6px;display:flex;flex-direction:column}.school-prices__panel h3{font-size:22px}.school-prices__panel ul{padding:0;list-style:none;line-height:1.6}.school-prices__panel a{margin-top:auto;display:grid;place-items:center;height:60px;background:#a9162e;color:#fff;text-decoration:none;border-radius:4px}.school-tour__cta{display:flex;justify-content:space-between;align-items:center;padding:40px;background:#11408e;color:#fff;border-radius:6px}.school-tour__cta h2{max-width:700px;margin:0;font-size:34px;font-weight:400;text-transform:uppercase}.school-tour__cta a{padding:16px 24px;background:#a9162e;color:#fff;text-decoration:none;border-radius:4px}.school-tour__title{margin-top:100px;font-size:34px;font-weight:400;text-transform:uppercase}.school-tour__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.school-tour__steps article{padding:30px;background:#f3f5f8;border-radius:6px}.school-tour__steps span{color:#537294}.school-tour__steps h3{font-size:20px}.school-tour__steps p{line-height:1.5}.school-universities__viewport{width:100vw;overflow:hidden;margin-top:50px}.school-universities__track{display:flex;width:max-content;gap:28px;animation:school-marquee 55s linear infinite}.school-universities__track article{width:150px;display:grid;place-items:center;gap:10px;text-align:center}.school-universities__track img{width:100px;height:70px;object-fit:contain}@keyframes school-marquee{to{transform:translateX(-50%)}}.school-compare h2 span{color:#2d99a5}.school-compare__grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.school-compare__grid article{padding:40px;background:#f3f5f8;border-radius:6px}.school-compare__private{background:#d1e0f9!important}.school-compare li{margin:0 0 18px;line-height:1.5}.school-fit__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.school-fit__grid article{background:#f3f5f8;border-radius:6px;overflow:hidden}.school-fit__grid img{width:100%;height:220px;object-fit:cover}.school-fit__grid h3,.school-fit__grid p{padding:0 24px}.school-fit__grid h3{font-size:20px}.school-fit__grid p{line-height:1.5;padding-bottom:24px}.school-atmosphere>div>p{font-size:18px;line-height:1.55;max-width:900px}.school-atmosphere__gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.school-atmosphere__gallery img{width:100%;height:260px;object-fit:cover;border-radius:4px}.school-reviews__head{display:flex;justify-content:space-between;align-items:center}.school-reviews__head button{width:48px;height:48px;border:0;border-radius:50%;background:#f3f5f8;font-size:28px}.school-reviews__viewport{width:100vw;margin-left:calc(50% - 50vw);overflow-x:auto;scrollbar-width:none;cursor:grab}.school-reviews__track{display:flex;width:max-content;gap:10px;padding-left:max(0px,calc(50vw - 580px));padding-right:38px}.school-reviews__track article{width:570px;height:434px;box-sizing:border-box;padding:30px;background:#f3f5f8;border-radius:6px}.school-review__quote{float:left;width:52px;height:52px;border-radius:50%;background:#fff;display:grid;place-items:center;margin-right:20px;font-size:38px;color:#11408e}.school-reviews h3{font-size:20px;text-transform:uppercase}.school-reviews article>span{color:#3f5064}.school-reviews article>p{clear:both;padding-top:26px;font-size:18px;line-height:1.55}.school-docs__card{display:grid;grid-template-columns:1fr 420px;gap:40px;padding:50px;background:#f3f5f8;border-radius:6px}.school-docs__card img{width:100%;height:100%;object-fit:contain}.school-docs li{margin:12px 0;line-height:1.45}.school-cta__card{display:grid;grid-template-columns:630px 350px;gap:100px;padding:40px;background:#023484;color:#fff;border-radius:6px}.school-cta h2{font-size:34px;font-weight:400;text-transform:uppercase}.school-cta__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}.school-cta input{background:#1e4a92;border-color:#6782ae;color:#fff}.school-faq{padding-bottom:150px}.school-faq h2 span{margin-left:220px}.school-faq__list{width:960px;margin:auto;border-top:1px solid #6a829e}.school-faq details{border-bottom:1px solid #6a829e}.school-faq summary{display:flex;justify-content:space-between;align-items:center;padding:30px 0;cursor:pointer;font-size:20px;font-style:italic;list-style:none}.school-faq summary::-webkit-details-marker{display:none}.school-faq summary i{position:relative;width:40px;height:40px;border-radius:50%;background:#f2f3f6}.school-faq summary i:before,.school-faq summary i:after{content:"";position:absolute;left:50%;top:50%;background:#b5c0ce;transform:translate(-50%,-50%)}.school-faq summary i:before{width:22px;height:1px}.school-faq summary i:after{width:1px;height:22px}.school-faq details[open] summary i:after{display:none}.school-faq details p{font-size:16px;line-height:1.55;padding-bottom:20px}
@media(max-width:1199px) and (min-width:960px){.school-container{width:min(940px,calc(100% - 20px));max-width:940px!important}.school-hero__card{height:537px}.school-hero__copy{left:30px}.school-hero__form{right:20px}.school-process__steps{grid-template-columns:repeat(3,190px);left:330px}.school-process__steps article{width:190px}.school-expect__grid{grid-template-columns:510px 360px}.school-teachers__cards{grid-template-columns:repeat(3,1fr)}.school-reviews__track{padding-left:max(0px,calc(50vw - 470px))}.school-faq__list{width:780px}}
@media(max-width:959px){.school-container{width:min(300px,calc(100% - 20px));max-width:300px!important}.school-hero{padding-top:20px}.school-hero__card{height:764px;background-position:64.2% 0;background-size:621%}.school-hero__copy{left:16px;top:20px;width:268px}.school-breadcrumb{font-size:10px}.school-hero h1{width:268px;font-size:20px;margin-top:24px}.school-hero__copy>p{width:246px;font-size:12px;margin-top:18px}.school-hero__classes{margin-top:16px}.school-hero__classes a{width:129px;height:40px;font-size:12px}.school-hero__form{left:16px;right:auto;top:406px;width:268px;height:323px;padding:16px}.school-hero__form h2{font-size:12px}.school-hero__form input{height:40px;font-size:12px}.school-process,.school-advantages,.school-features,.school-expect,.school-teachers,.school-path,.school-year,.school-prices,.school-tour,.school-universities,.school-compare,.school-fit,.school-atmosphere,.school-reviews,.school-docs,.school-cta,.school-faq{padding-top:90px}.school-process__layout{height:auto}.school-process__lead{position:relative;width:300px;height:58px}.school-process__lead h2{font-size:26px;white-space:nowrap}.school-process__arrow{top:6px;left:275px;width:22px}.school-process__photo{display:none}.school-process__steps{position:relative;left:0;top:0;width:680px;grid-template-columns:repeat(3,220px);overflow:visible}.school-process__steps article{width:220px;height:290px;padding:16px}.school-process__steps h3{font-size:14px}.school-process__steps p{font-size:12px}.school-advantages h2,.school-teachers>div>h2,.school-path h2,.school-year h2,.school-universities h2,.school-compare h2,.school-fit h2,.school-atmosphere h2,.school-reviews h2,.school-docs h2,.school-faq h2{font-size:20px}.school-advantages h2 span,.school-path h2 span,.school-faq h2 span{margin-left:0}.school-advantages__grid,.school-features__grid,.school-year__grid,.school-tour__steps,.school-fit__grid{grid-template-columns:1fr;height:auto;padding:0;background:transparent}.school-advantages__grid article,.school-features__grid article,.school-year__grid article{min-height:80px;padding:16px}.school-features__head{height:28px;margin-bottom:30px}.school-features__head h2{left:86px;font-size:18px}.school-expect__card{height:auto;padding:20px}.school-expect__head h2{font-size:18px}.school-expect__grid{display:block;margin-top:20px}.school-expect__grid article{min-height:180px;margin-bottom:10px;padding:18px}.school-expect__grid h3{font-size:14px}.school-expect__grid p{font-size:12px}.school-teachers__cards{grid-template-columns:1fr 1fr}.school-teachers__cards h3{font-size:14px}.school-path__track article{flex-basis:260px;min-height:280px;padding:18px}.school-prices__card{min-height:auto;padding:20px}.school-prices__card>h2{font-size:20px}.school-prices__tabs{position:static;margin-top:20px}.school-prices__panel{grid-template-columns:1fr;margin-top:20px}.school-prices__panel article{height:260px;padding:18px}.school-tour__cta{display:block;padding:20px}.school-tour__cta h2{font-size:20px}.school-tour__cta a{display:inline-block;margin-top:20px}.school-tour__title{font-size:20px;margin-top:50px}.school-compare__grid{grid-template-columns:1fr}.school-fit__grid img{height:180px}.school-atmosphere__gallery{grid-template-columns:1fr 1fr}.school-atmosphere__gallery img{height:160px}.school-reviews__head button{width:28px;height:28px;font-size:18px}.school-reviews__track{padding-left:max(0px,calc(50vw - 150px));padding-right:19px}.school-reviews__track article{width:260px;height:325px;padding:16px}.school-review__quote{width:34px;height:34px;font-size:26px}.school-reviews h3{font-size:14px}.school-reviews article>p{font-size:12px;padding-top:14px;line-height:1.45}.school-docs__card{display:block;padding:20px}.school-docs__card img{margin-top:20px}.school-cta__card{display:block;padding:20px}.school-cta h2{font-size:20px}.school-cta__steps{display:block}.school-cta__steps span{display:block;margin:12px 0}.school-cta__card>div+div{margin-top:30px}.school-faq__list{width:280px}.school-faq summary{padding:20px 0;font-size:14px}.school-faq summary i{width:34px;height:34px;flex:0 0 34px}}


/* ============================================================
   v2 — действующая /school больше не содержит старый hero/form.
   Страница начинается с «Как проходит обучение».
   ============================================================ */

@media (min-width: 960px) {
    .school-process {
        padding-top: 34px;
    }
}

@media (max-width: 959px) {
    .school-process {
        padding-top: 20px;
    }
}


/* ============================================================
   v3 — «Преимущества обучения»
   rec1889700391 + rec1889700571
   ============================================================ */

.school-advantages {
    padding-top: 150px;
}

/* ---------- Заголовок Zero Block rec1889700391 ---------- */

.school-advantages__title {
    position: relative;
    width: 1160px;
    max-width: 100%;
    height: 106px;
    margin: 0 0 60px;
    color: #101e31;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-advantages__title-line1,
.school-advantages__title-line2 {
    position: absolute;
    display: block;
    white-space: nowrap;
}

.school-advantages__title-line1 {
    top: 0;
    left: 0;
}

.school-advantages__title-line2 {
    top: 53px;
    left: 400px;
}

.school-advantages__title-arrow {
    position: absolute;
    top: 64px;
    left: 352px;
    width: 28px;
    height: 23px;
}


/* ---------- Композиция rec1889700571 ---------- */

.school-advantages__stage {
    position: relative;
    width: 1160px;
    max-width: 100%;
    height: 486px;
    overflow: visible;
}

.school-advantages__grid {
    position: relative;
    z-index: 5;
    width: 1160px;
    height: 486px;

    display: block;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.school-adv {
    position: absolute;
    z-index: 5;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 20px;

    border: 1px solid #a9b7c7;
    border-radius: 4px;
    background: #fff;
}

.school-adv img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.school-adv p {
    width: 100%;
    margin: 26px 0 0;
    color: #3f5064;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

/* Координаты Tilda, пересчитанные относительно левого края 1160px-контейнера. */
.school-adv--1 {
    top: 0;
    left: 0;
    width: 333px;
    height: 144px;
}

.school-adv--2 {
    top: 0;
    left: 343px;
    width: 280px;
    height: 144px;
}

.school-adv--3 {
    top: 242px;
    left: 343px;
    width: 280px;
    height: 227px;
}

.school-adv--4 {
    top: 91px;
    left: 633px;
    width: 267px;
    height: 139px;
}

.school-adv--5 {
    top: 241px;
    left: 643px;
    width: 267px;
    height: 228px;
}

.school-adv--6 {
    top: 0;
    left: 910px;
    width: 270px;
    height: 138px;
}


/* ---------- Декоративные элементы ---------- */

.school-advantages__decor {
    position: absolute;
    z-index: 1;
    display: block;
    pointer-events: none;
    object-fit: contain;
}

.school-advantages__decor--column-left {
    top: -134px;
    left: -389px;
    width: 918px;
    height: 610px;
}

.school-advantages__decor--column-right {
    top: -134px;
    left: 643px;
    width: 918px;
    height: 610px;
}

.school-advantages__decor--blue {
    top: 40px;
    left: 554px;
    width: 212px;
    height: 198px;
}

.school-advantages__decor--square {
    top: 171px;
    left: 191px;
    width: 212px;
    height: 198px;
}

.school-advantages__decor--books {
    top: 180px;
    left: 133px;
    width: 217px;
    height: auto;
}


/* ============================================================
   960–1199 — координаты самого Tilda Zero Block
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-advantages__title {
        width: 940px;
        height: 106px;
        font-size: 34px;
    }

    .school-advantages__title-line2 {
        left: 272px;
    }

    .school-advantages__title-arrow {
        left: 224px;
    }

    .school-advantages__stage,
    .school-advantages__grid {
        width: 940px;
        height: 589px;
    }

    .school-adv--1 {
        top: 0;
        left: 0;
        width: 280px;
        height: 163px;
    }

    .school-adv--2 {
        top: 0;
        left: 290px;
        width: 220px;
        height: 172px;
    }

    .school-adv--3 {
        top: 278px;
        left: 290px;
        width: 220px;
        height: 284px;
    }

    .school-adv--4 {
        top: 120px;
        left: 520px;
        width: 210px;
        height: 144px;
    }

    .school-adv--5 {
        top: 278px;
        left: 520px;
        width: 264px;
        height: 228px;
    }

    .school-adv--6 {
        top: 0;
        left: 740px;
        width: 200px;
        height: 163px;
    }

    .school-advantages__decor--column-left {
        top: -101px;
        left: -358px;
    }

    .school-advantages__decor--column-right {
        top: -101px;
        left: 370px;
    }

    .school-advantages__decor--blue {
        top: 80px;
        left: 421px;
        width: 180px;
        height: 160px;
    }

    .school-advantages__decor--square {
        top: 221px;
        left: 177px;
        width: 180px;
        height: 160px;
    }

    .school-advantages__decor--books {
        top: 226px;
        left: 156px;
        width: 191px;
    }
}


/* ============================================================
   Mobile — координаты 320-grid Tilda
   ============================================================ */

@media (max-width: 959px) {

    .school-advantages {
        padding-top: 90px;
    }

    .school-advantages__title {
        width: 300px;
        height: 56px;
        margin-bottom: 30px;
        font-size: 20px;
        line-height: 1.35;
    }

    .school-advantages__title-line1 {
        top: 0;
        left: 0;
        width: 270px;
        white-space: normal;
    }

    .school-advantages__title-line2 {
        top: 27px;
        left: 0;
        width: 300px;
        white-space: normal;
        text-align: right;
    }

    .school-advantages__title-arrow {
        top: 5px;
        left: 284px;
        width: 16px;
        height: 13px;
    }

    .school-advantages__stage,
    .school-advantages__grid {
        width: 300px;
        height: 514px;
    }

    .school-adv {
        padding: 14px;
    }

    .school-adv img {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .school-adv p {
        margin-top: 12px;
        font-size: 12px;
        line-height: 1.35;
    }

    .school-adv--1 {
        top: 0;
        left: 0;
        width: 145px;
        height: 124px;
    }

    .school-adv--2 {
        top: 0;
        left: 155px;
        width: 145px;
        height: 124px;
    }

    .school-adv--3 {
        top: 330px;
        left: 0;
        width: 145px;
        height: 175px;
    }

    .school-adv--4 {
        top: 232px;
        left: 155px;
        width: 145px;
        height: 88px;
    }

    .school-adv--5 {
        top: 330px;
        left: 155px;
        width: 145px;
        height: 175px;
    }

    .school-adv--6 {
        top: 134px;
        left: 0;
        width: 145px;
        height: 88px;
    }

    .school-advantages__decor--column-left,
    .school-advantages__decor--column-right {
        display: none;
    }

    .school-advantages__decor--blue {
        top: 232px;
        left: 0;
        width: 145px;
        height: 88px;
    }

    .school-advantages__decor--square {
        top: 134px;
        left: 155px;
        width: 145px;
        height: 88px;
    }

    .school-advantages__decor--books {
        top: 137px;
        left: 179px;
        width: 97px;
    }
}


/* ============================================================
   v4 — «Что вас ждёт в ЕГЭ-Сфере»
   Точная геометрия Zero Block rec1889715371.
   Верхний ряд: 640 + 400.
   Нижний ряд: 400 + 640.
   ============================================================ */

.school-expect {
    padding-top: 150px;
}

.school-expect__card {
    position: relative;
    width: 1160px;
    max-width: 100%;
    height: 799px;
    min-height: 799px;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #f3f5f8;
}

.school-expect__head {
    position: absolute;
    z-index: 10;
    top: 26px;
    left: 50px;
    width: 1060px;
    height: 53px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.school-expect__head h2 {
    margin: 0;
    color: #101e31;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-expect__head img {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
}

.school-expect__layout {
    position: absolute;
    top: 119px;
    left: 50px;
    width: 1060px;
    height: 670px;
}

.school-expect__item {
    position: absolute;
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}

.school-expect__item h3 {
    margin: 0;
    color: #101e31;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}

.school-expect__item p {
    margin: 20px 0 0;
    color: #3f5064;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
}


/* ---------- Верхний ряд ---------- */

.school-expect__item--program {
    top: 0;
    left: 0;
    width: 640px;
    height: 248px;
    padding: 30px;
    background: #fff;
}

.school-expect__item--program h3 {
    width: 580px;
}

.school-expect__item--program p {
    width: 580px;
}


.school-expect__item--career {
    top: 0;
    left: 660px;
    width: 400px;
    height: 248px;
    padding: 30px;
    background: #537294;
}

.school-expect__item--career h3,
.school-expect__item--career p {
    color: #fff;
}

.school-expect__item--career h3,
.school-expect__item--career p {
    width: 340px;
}


/* ---------- Нижний левый: аттестат ---------- */

.school-expect__item--certificate {
    top: 268px;
    left: 0;
    width: 400px;
    height: 402px;

    background:
        url('/school-5-8-class/images/tild3863-6166-4534-b532-323734653764__frame_1253.png')
        center center / cover no-repeat,
        #11408e;
}

.school-expect__certificate-copy {
    position: absolute;
    z-index: 3;
    top: 30px;
    left: 30px;
    width: 340px;
}

.school-expect__item--certificate h3,
.school-expect__item--certificate p {
    color: #fff;
}

.school-expect__item--certificate h3 {
    width: 340px;
}

.school-expect__item--certificate p {
    width: 261px;
}

.school-expect__certificate-image {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    width: 400px;
    height: 208px;
    object-fit: contain;
    object-position: left bottom;
}


/* ---------- Нижний правый: университеты ---------- */

.school-expect__item--university {
    top: 268px;
    left: 420px;
    width: 640px;
    height: 402px;
    padding: 30px;
    background: #fff;
}

.school-expect__item--university h3,
.school-expect__item--university p {
    width: 580px;
}

.school-expect__item--university p {
    margin-top: 20px;
}

.school-expect__universities {
    position: absolute;
    left: 30px;
    bottom: 30px;
    width: 580px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}


/* ============================================================
   960–1199 — параметры Tilda 960-grid
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-expect__card {
        width: 940px;
        height: 821px;
        min-height: 821px;
    }

    .school-expect__head {
        top: 30px;
        left: 30px;
        width: 880px;
        height: 53px;
    }

    .school-expect__layout {
        top: 103px;
        left: 30px;
        width: 880px;
        height: 688px;
    }

    .school-expect__item--program {
        width: 510px;
        height: 233px;
    }

    .school-expect__item--career {
        left: 520px;
        width: 360px;
        height: 233px;
    }

    .school-expect__item--career h3,
    .school-expect__item--career p {
        width: 300px;
    }

    .school-expect__item--certificate {
        top: 243px;
        width: 360px;
        height: 445px;
    }

    .school-expect__certificate-copy {
        width: 300px;
    }

    .school-expect__item--certificate h3,
    .school-expect__item--certificate p {
        width: 300px;
    }

    .school-expect__certificate-image {
        width: 360px;
        height: 186px;
    }

    .school-expect__item--university {
        top: 243px;
        left: 370px;
        width: 510px;
        height: 445px;
    }

    .school-expect__item--university h3,
    .school-expect__item--university p {
        width: 450px;
    }

    .school-expect__universities {
        width: 450px;
        height: 33px;
    }
}


/* ============================================================
   Mobile — параметры Tilda 320-grid
   ============================================================ */

@media (max-width: 959px) {

    .school-expect {
        padding-top: 90px;
    }

    .school-expect__card {
        width: 320px;
        max-width: none;
        height: 1062px;
        min-height: 1062px;
        margin-left: -10px;
        border-radius: 0;
    }

    .school-expect__head {
        top: 50px;
        left: 25px;
        width: 270px;
        height: 28px;
    }

    .school-expect__head h2 {
        font-size: 18px;
        line-height: 1.55;
        white-space: nowrap;
    }

    .school-expect__head img {
        width: 33px;
        height: 33px;
        flex-basis: 33px;
    }

    .school-expect__layout {
        top: 108px;
        left: 25px;
        width: 270px;
        height: 914px;
    }

    .school-expect__item {
        left: 0;
        width: 270px;
        padding: 18px;
    }

    .school-expect__item h3 {
        font-size: 14px;
        line-height: 1.4;
    }

    .school-expect__item p {
        margin-top: 12px;
        font-size: 12px;
        line-height: 1.55;
    }

    .school-expect__item--program {
        top: 0;
        height: 187px;
    }

    .school-expect__item--program h3,
    .school-expect__item--program p {
        width: 234px;
    }

    .school-expect__item--career {
        top: 197px;
        height: 136px;
    }

    .school-expect__item--career h3,
    .school-expect__item--career p {
        width: 234px;
    }

    .school-expect__item--certificate {
        top: 343px;
        height: 159px;
        padding: 0;
    }

    .school-expect__certificate-copy {
        top: 18px;
        left: 18px;
        width: 127px;
    }

    .school-expect__item--certificate h3,
    .school-expect__item--certificate p {
        width: 127px;
    }

    .school-expect__certificate-image {
        left: 129px;
        bottom: 0;
        width: 141px;
        height: 106px;
        object-fit: cover;
        object-position: 14% 0;
    }

    .school-expect__item--university {
        top: 512px;
        height: 402px;
    }

    .school-expect__item--university h3 {
        width: 226px;
    }

    .school-expect__item--university p {
        width: 234px;
    }

    .school-expect__universities {
        left: 18px;
        bottom: 18px;
        width: 234px;
        height: 33px;
    }
}


/* ============================================================
   v5 — «Преподаватели-профессионалы»
   rec1919663401 + rec1919663691 и последующие tab-блоки.
   ============================================================ */

.school-teachers > .school-container {
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px !important;
}

.school-teachers > .school-container > h2 {
    width: 1160px;
    max-width: 100%;
    height: 53px;
    margin: 0 0 43px;
    color: #101e31;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}


/* ---------- Вкладки ---------- */

.school-teachers__tabs {
    width: 1160px;
    max-width: 100%;
    min-height: 96px;

    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;

    column-gap: 16px;
    row-gap: 16px;

    margin: 0 0 54px;
}

.school-teachers__tabs button {
    box-sizing: border-box;
    width: auto;
    height: 40px;

    padding: 6px 18px 0;

    border: 0;
    border-radius: 6px;

    background: #e7eaf1;
    color: #101e31;

    font-family: Cygre, Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.school-teachers__tabs button:hover {
    background: #537294;
    color: #fff;
}

.school-teachers__tabs button.is-active {
    background: #537294;
    color: #fff;
}


/* ---------- Карточки ---------- */

.school-teachers__cards {
    width: 1160px;
    max-width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 268px);
    column-gap: 30px;
    row-gap: 40px;

    align-items: start;
}

.school-teachers__cards article {
    display: none;

    width: 268px;
    min-height: 441px;

    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
}

.school-teachers__cards article.is-active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.school-teachers__cards img {
    display: block;

    width: 268px;
    height: 268px;
    aspect-ratio: auto;

    object-fit: cover;

    border-radius: 6px;
    background: #ccd1d7;
}

.school-teachers__cards h3 {
    width: 268px;
    min-height: 56px;

    margin: 20px 0 0;

    color: #101e31;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.school-teachers__cards strong {
    display: inline-flex;
    align-items: center;

    min-height: 30px;
    box-sizing: border-box;

    margin-top: 12px;
    padding: 3px 14px 2px;

    border-radius: 4px;

    background: #e1eedd;
    color: #101e31;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.school-teachers__cards p {
    width: 268px;

    margin: 0;

    color: #3f5064;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.school-teachers__cards strong + p {
    margin-top: 12px;
}

.school-teachers__cards p + p {
    margin-top: 3px;
}


/* ============================================================
   960–1199
   Tilda: 940px, карточка 220px, фото 220×216.
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-teachers > .school-container {
        width: min(940px, calc(100% - 20px));
        max-width: 940px !important;
    }

    .school-teachers > .school-container > h2 {
        width: 940px;
        height: 53px;
        margin-bottom: 43px;
    }

    .school-teachers__tabs {
        width: 940px;
        min-height: 140px;

        column-gap: 10px;
        row-gap: 10px;

        margin-bottom: 30px;
    }

    .school-teachers__tabs button {
        height: 40px;
        font-size: 20px;
        padding: 6px 16px 0;
    }

    .school-teachers__cards {
        width: 940px;
        grid-template-columns: repeat(4, 220px);
        column-gap: 20px;
        row-gap: 32px;
    }

    .school-teachers__cards article {
        width: 220px;
        min-height: 389px;
    }

    .school-teachers__cards img {
        width: 220px;
        height: 216px;
    }

    .school-teachers__cards h3 {
        width: 220px;
        min-height: 56px;
    }

    .school-teachers__cards p {
        width: 220px;
    }
}


/* ============================================================
   Mobile — 320-grid Tilda:
   tabs 300px, font 13px;
   cards 140px × 2 колонки.
   ============================================================ */

@media (max-width: 959px) {

    .school-teachers > .school-container {
        width: min(300px, calc(100% - 20px));
        max-width: 300px !important;
    }

    .school-teachers > .school-container > h2 {
        width: 300px;
        height: 56px;

        margin-bottom: 30px;

        font-size: 20px;
        line-height: 1.4;
    }

    .school-teachers__tabs {
        width: 300px;
        min-height: 154px;

        column-gap: 6px;
        row-gap: 6px;

        margin-bottom: 25px;
    }

    .school-teachers__tabs button {
        height: auto;
        min-height: 26px;

        padding: 3px 12px;

        border-radius: 4px;

        font-size: 13px;
        line-height: 1.55;
    }

    .school-teachers__cards {
        width: 300px;

        grid-template-columns: repeat(2, 140px);
        column-gap: 20px;
        row-gap: 30px;
    }

    .school-teachers__cards article {
        width: 140px;
        min-height: 259px;
    }

    .school-teachers__cards img {
        width: 140px;
        height: 140px;
        border-radius: 4px;
    }

    .school-teachers__cards h3 {
        width: 140px;
        min-height: 40px;

        margin-top: 10px;

        font-size: 14px;
        line-height: 1.4;
    }

    .school-teachers__cards strong {
        min-height: 22px;

        margin-top: 8px;
        padding: 3px 10px 2px;

        border-radius: 2px;

        font-size: 12px;
    }

    .school-teachers__cards p {
        width: 140px;

        font-size: 12px;
        line-height: 1.4;
    }

    .school-teachers__cards strong + p {
        margin-top: 8px;
    }

    .school-teachers__cards p + p {
        margin-top: 2px;
    }
}


/* ============================================================
   v6 — «Ваш путь до поступления»
   rec1828307531 + rec1889721861.
   Полноширинный drag-viewport как в Tilda.
   ============================================================ */

.school-path {
    padding-top: 150px;
}


/* ---------- Заголовок ---------- */

.school-path__title {
    position: relative;
    width: 1160px;
    max-width: 100%;
    height: 106px;
    margin: 0;

    color: #101e31;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-path__title-line1,
.school-path__title-line2 {
    position: absolute;
    display: block;
    white-space: nowrap;
}

.school-path__title-line1 {
    top: 0;
    left: 0;
}

.school-path__title-line2 {
    top: 53px;
    left: 400px;
}

.school-path__title-arrow {
    position: absolute;
    top: 64px;
    left: 352px;

    width: 28px;
    height: 23px;
}


/* ---------- Full-width viewport ---------- */

.school-path__viewport {
    width: 100vw;
    height: 535px;

    margin-left: calc(50% - 50vw);

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    scroll-behavior: smooth;

    cursor: grab;
}

.school-path__viewport::-webkit-scrollbar {
    display: none;
}

.school-path__viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
    -webkit-user-select: none;
}

.school-path__canvas {
    position: relative;

    width: 2502px;
    height: 535px;

    margin-left: max(0px, calc(50vw - 580px));
}


/* ---------- Верхняя шкала 01–06 ---------- */

.school-path__timeline {
    position: absolute;
    top: 0;
    left: 0;

    width: 2482px;
    height: 51px;
}

.school-path__timeline-step {
    position: absolute;
    top: 0;

    height: 51px;

    color: #6a829e;
}

.school-path__timeline-step > span {
    position: absolute;
    top: 0;
    left: 19px;

    height: 31px;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;
}

.school-path__timeline-step > i {
    position: absolute;
    top: 12px;
    left: 60px;
    right: 0;

    height: 1px;

    background: #bdc8d5;
}

.school-path__timeline-step > img {
    position: absolute;
    top: 41px;
    left: 20px;

    width: 20px;
    height: 10px;
}

/* Точные x/width из Tilda. */
.school-path__timeline-step--1 { left: 0;    width: 424px; }
.school-path__timeline-step--2 { left: 384px; width: 424px; }
.school-path__timeline-step--3 { left: 768px; width: 470px; }
.school-path__timeline-step--4 { left: 1198px; width: 424px; }
.school-path__timeline-step--5 { left: 1582px; width: 470px; }
.school-path__timeline-step--6 { left: 2012px; width: 470px; }


/* ---------- Лента карточек ---------- */

.school-path__cards {
    position: absolute;
    top: 91px;
    left: 0;

    width: 2442px;
    height: 425px;

    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.school-path-card {
    position: relative;

    height: 425px;
    flex: 0 0 auto;

    box-sizing: border-box;
    overflow: hidden;

    border-radius: 6px;

    background: #f3f5f8;
}

.school-path-card--1 { width: 364px; }
.school-path-card--2 {
    width: 364px;
    background: #d1e0f9;
}
.school-path-card--3 { width: 410px; }
.school-path-card--4 { width: 364px; }
.school-path-card--5 {
    width: 410px;
    background: #6a829e;
    color: #fff;
}
.school-path-card--6 { width: 410px; }

.school-path-card__content {
    position: absolute;
    top: 24px;
    left: 30px;
    right: 30px;
    bottom: 30px;
}

.school-path-card--1 .school-path-card__content,
.school-path-card--4 .school-path-card__content {
    bottom: 178px;
}

.school-path-card h3,
.school-path-card h4 {
    margin: 0;

    color: #101e31;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-path-card p {
    margin: 10px 0 0;

    color: #3f5064;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.school-path-card--5 h3,
.school-path-card--5 p {
    color: #fff;
}

.school-path-card__art {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 158px;

    object-fit: cover;
    object-position: center;

    border-radius: 0 0 6px 6px;
}

.school-path-card__button {
    position: absolute;
    left: 30px;
    bottom: 28px;

    width: 304px;
    height: 60px;

    display: grid;
    place-items: center;

    border-radius: 2px;

    background: #fff;
    color: #101e31;

    font-size: 16px;
    text-decoration: none;
}

.school-path-card__separator {
    width: 350px;
    height: 1px;

    margin-top: 38px;

    background: #6a829e;
}

.school-path-card__secondary {
    margin-top: 16px !important;
}

.school-path-card--6 h4 {
    margin-top: 34px;
}

.school-path-card__secondary--last {
    margin-top: 10px !important;
}


/* ---------- Пятая тёмная карточка ---------- */

.school-path-card__checks {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.school-path-card__checks span {
    min-height: 45px;

    display: flex;
    align-items: center;
    gap: 16px;

    box-sizing: border-box;

    border-top: 1px solid rgba(231,234,241,.65);

    color: #fff;

    font-size: 18px;
    line-height: 1.55;
}

.school-path-card__checks span:first-child {
    border-top: 0;
}

.school-path-card__checks img {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}


/* ============================================================
   960–1199
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-path__title {
        width: 940px;
        height: 106px;
    }

    .school-path__title-line2 {
        left: 390px;
    }

    .school-path__title-arrow {
        left: 342px;
    }

    .school-path__viewport {
        height: 512px;
    }

    .school-path__canvas {
        width: 2482px;
        height: 512px;

        margin-left: max(0px, calc(50vw - 470px));
    }

    .school-path__cards {
        top: 81px;
        height: 423px;
    }

    .school-path-card {
        height: 423px;
    }
}


/* ============================================================
   Mobile — Tilda 320-grid
   ============================================================ */

@media (max-width: 959px) {

    .school-path {
        padding-top: 90px;
    }

    .school-path__title {
        width: 300px;
        height: 56px;

        font-size: 20px;
        line-height: 1.35;
    }

    .school-path__title-line1 {
        top: 0;
        left: 0;
        width: 270px;
        white-space: normal;
    }

    .school-path__title-line2 {
        top: 28px;
        left: 149px;

        width: 151px;

        white-space: nowrap;
    }

    .school-path__title-arrow {
        top: 37px;
        left: 124px;

        width: 16px;
        height: 13px;
    }

    .school-path__viewport {
        height: 360px;
    }

    .school-path__canvas {
        width: 1710px;
        height: 360px;

        margin-left: max(0px, calc(50vw - 150px));
    }

    .school-path__timeline {
        width: 1710px;
        height: 36px;
    }

    .school-path__timeline-step > span {
        top: 0;
        left: 10px;

        height: 22px;

        font-size: 14px;
        line-height: 1.55;
    }

    .school-path__timeline-step > i {
        top: 10px;
        left: 38px;
    }

    .school-path__timeline-step > img {
        top: 26px;
        left: 13px;

        width: 14px;
        height: 10px;
    }

    .school-path__timeline-step--1 { left: 0;    width: 268px; }
    .school-path__timeline-step--2 { left: 240px; width: 288px; }
    .school-path__timeline-step--3 { left: 500px; width: 338px; }
    .school-path__timeline-step--4 { left: 810px; width: 288px; }
    .school-path__timeline-step--5 { left: 1070px; width: 338px; }
    .school-path__timeline-step--6 { left: 1380px; width: 330px; }

    .school-path__cards {
        top: 46px;

        width: 1680px;
        height: 311px;

        gap: 10px;
    }

    .school-path-card {
        height: 311px;
        border-radius: 4px;
    }

    .school-path-card--1 { width: 230px; }
    .school-path-card--2 { width: 250px; }
    .school-path-card--3 { width: 300px; }
    .school-path-card--4 { width: 250px; }
    .school-path-card--5 { width: 300px; }
    .school-path-card--6 { width: 300px; }

    .school-path-card__content {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .school-path-card--1 .school-path-card__content,
    .school-path-card--4 .school-path-card__content {
        bottom: 126px;
    }

    .school-path-card h3,
    .school-path-card h4 {
        font-size: 14px;
        line-height: 1.45;
    }

    .school-path-card p {
        margin-top: 8px;

        font-size: 12px;
        line-height: 1.45;
    }

    .school-path-card__art {
        height: 115px;
    }

    .school-path-card__button {
        left: 20px;
        bottom: 20px;

        width: calc(100% - 40px);
        height: 40px;

        font-size: 12px;
    }

    .school-path-card__separator {
        width: 100%;
        margin-top: 18px;
    }

    .school-path-card--6 h4 {
        margin-top: 18px;
    }

    .school-path-card__checks span {
        min-height: 35px;

        gap: 10px;

        font-size: 12px;
    }

    .school-path-card__checks img {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }
}


/* ============================================================
   v7 — экскурсия + этапы поступления
   rec1901299771 + rec1901308621
   ============================================================ */


/* ============================================================
   Экскурсия — rec1901299771
   ============================================================ */

.school-tour {
    padding-top: 150px;
}

.school-tour__cta {
    position: relative;

    width: 1160px;
    max-width: 100%;
    height: 356px;

    padding: 0;

    overflow: hidden;

    border-radius: 6px;

    background:
        url('/school-5-8-class/images/tild3762-6535-4530-b965-316335393833__frame_924.png')
        center center / cover no-repeat,
        #023484;

    color: #fff;
}

.school-tour__cta h2 {
    position: absolute;
    z-index: 5;

    top: 30px;
    left: 40px;

    width: 640px;
    height: 159px;

    margin: 0;

    color: #fff;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-tour__cta-button {
    position: absolute;
    z-index: 6;

    top: 262px;
    left: 40px;

    width: 309px;
    height: 54px;

    display: grid;
    place-items: center;

    box-sizing: border-box;

    border-radius: 4px;

    background: #a9162e;
    color: #fff;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;

    text-decoration: none;

    transition: background-color .2s ease;
}

.school-tour__cta-button:hover {
    background: #c61532;
}

.school-tour__cta-photo {
    position: absolute;
    z-index: 3;

    pointer-events: none;
}

.school-tour__cta-photo--desktop {
    top: 0;
    left: 703px;

    width: 457px;
    height: 356px;

    background:
        url('/school-5-8-class/images/tild3034-3430-4466-b333-336436656531__frame_1256.png')
        0 100% / 100% auto no-repeat;
}

.school-tour__cta-photo--mobile,
.school-tour__cta-mobile-gradient {
    display: none;
}


/* ============================================================
   Этапы поступления — rec1901308621
   ============================================================ */

.school-admission {
    position: relative;

    width: 1160px;
    max-width: 100%;
    height: 856px;

    margin-top: 150px;
}


/* ---------- Левая колонка ---------- */

.school-admission__lead {
    position: absolute;

    top: 0;
    left: 0;

    width: 380px;
    height: 423px;
}

.school-admission__lead h2 {
    position: absolute;

    top: 0;
    left: 0;

    width: 302px;

    margin: 0;

    color: #101e31;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-admission__arrow {
    position: absolute;

    top: 120px;
    left: 0;

    width: 37px;
    height: 31px;
}

.school-admission__photo {
    position: absolute;

    top: 182px;
    left: 0;

    width: 380px;
    height: 241px;

    object-fit: cover;

    border-radius: 4px;
}


/* ---------- Карточки ---------- */

.school-admission__cards {
    position: absolute;

    top: 0;
    left: 0;

    width: 1160px;
    height: 856px;
}

.school-admission-card {
    position: absolute;

    width: 380px;
    height: 423px;

    box-sizing: border-box;

    padding: 16px 18px;

    display: flex;
    flex-direction: column;

    border: 1px solid #a9b7c7;
    border-radius: 4px;

    background: #fff;
}

.school-admission-card--1 {
    top: 0;
    left: 390px;
}

.school-admission-card--2 {
    top: 0;
    left: 780px;
}

.school-admission-card--3 {
    top: 433px;
    left: 0;
}

.school-admission-card--4 {
    top: 433px;
    left: 390px;
}

.school-admission-card--5 {
    top: 433px;
    left: 780px;
}

.school-admission-card__head {
    min-height: 28px;

    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.school-admission-card__head span,
.school-admission-card__head h3 {
    margin: 0;

    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}

.school-admission-card__head span {
    flex: 0 0 auto;

    color: #11408e;
}

.school-admission-card__head h3 {
    color: #101e31;
}

.school-admission-card > p {
    width: 342px;

    margin: 16px 0 0;

    color: #3f5064;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.school-admission-card > img {
    width: 33px;
    height: 33px;

    margin-top: auto;

    object-fit: contain;
}


/* ============================================================
   960–1199
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-tour__cta {
        width: 940px;
        height: 355px;
    }

    .school-tour__cta h2 {
        top: 20px;
        left: 30px;

        width: 542px;
        height: auto;
    }

    .school-tour__cta-button {
        top: 271px;
        left: 30px;

        width: 289px;
        height: 54px;
    }

    .school-tour__cta-photo--desktop {
        left: 552px;

        width: 388px;
        height: 355px;

        background-size: 122.414% auto;
        background-position: 0 100%;
    }


    .school-admission {
        width: 940px;
        height: 810px;
    }

    .school-admission__lead {
        width: 307px;
        height: 400px;
    }

    .school-admission__lead h2 {
        width: 275px;
    }

    .school-admission__arrow {
        top: 120px;
        left: 10px;
    }

    .school-admission__photo {
        top: 206px;
        left: 0;

        width: 307px;
        height: 194px;
    }

    .school-admission__cards {
        width: 940px;
        height: 810px;
    }

    .school-admission-card {
        width: 307px;
        height: 400px;

        padding: 16px 18px;
    }

    .school-admission-card--1 {
        left: 316px;
    }

    .school-admission-card--2 {
        left: 633px;
    }

    .school-admission-card--3 {
        top: 410px;
        left: 0;
    }

    .school-admission-card--4 {
        top: 410px;
        left: 317px;
    }

    .school-admission-card--5 {
        top: 410px;
        left: 634px;
    }

    .school-admission-card > p {
        width: 269px;

        font-size: 16px;
        line-height: 1.5;
    }
}


/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 959px) {

    .school-tour {
        padding-top: 90px;
    }

    .school-tour__cta {
        width: 300px;
        height: 405px;

        background-position: 100% 0;
        background-size: 478.447% auto;
    }

    .school-tour__cta h2 {
        top: 15px;
        left: 20px;

        width: 218px;
        height: auto;

        font-size: 20px;
        line-height: 1.35;
    }

    .school-tour__cta-button {
        top: 338px;
        left: 20px;

        width: 260px;
        height: 47px;

        font-size: 14px;
    }

    .school-tour__cta-photo--desktop {
        display: none;
    }

    .school-tour__cta-photo--mobile {
        display: block;

        top: 105px;
        left: 0;

        width: 300px;
        height: 295px;

        background:
            url('/school-5-8-class/images/tild3738-3039-4162-b139-653136316339__frame_979.png')
            0 0 / 100% auto no-repeat;
    }

    .school-tour__cta-mobile-gradient {
        position: absolute;
        z-index: 4;

        display: block;

        left: 0;
        bottom: 0;

        width: 300px;
        height: 85px;

        border-radius: 0 0 6px 6px;

        background:
            linear-gradient(
                0turn,
                rgba(0,34,127,1) 35%,
                rgba(0,34,127,.566) 72%,
                rgba(0,34,127,0) 100%
            );

        pointer-events: none;
    }


    .school-admission {
        width: 300px;
        height: 874px;

        margin-top: 90px;
    }

    .school-admission__lead {
        position: relative;

        width: 300px;
        height: 58px;
    }

    .school-admission__lead h2 {
        top: 0;
        left: 0;

        width: 230px;

        font-size: 20px;
        line-height: 1.35;
    }

    .school-admission__arrow {
        top: 4px;
        left: 230px;

        width: 20px;
        height: auto;
    }

    .school-admission__photo {
        display: none;
    }

    .school-admission__cards {
        top: 58px;

        width: 300px;
        height: 816px;
    }

    .school-admission-card {
        left: 0;

        width: 300px;
        height: auto;
        min-height: 145px;

        padding: 16px;
    }

    .school-admission-card--1 {
        top: 0;
    }

    .school-admission-card--2 {
        top: 155px;
    }

    .school-admission-card--3 {
        top: 344px;
    }

    .school-admission-card--4 {
        top: 516px;
    }

    .school-admission-card--5 {
        top: 671px;
    }

    .school-admission-card__head {
        min-height: 20px;

        gap: 12px;
    }

    .school-admission-card__head span,
    .school-admission-card__head h3 {
        font-size: 14px;
        line-height: 1.4;
    }

    .school-admission-card > p {
        width: 268px;

        margin-top: 10px;

        font-size: 12px;
        line-height: 1.45;
    }

    .school-admission-card > img {
        width: 20px;
        height: 20px;

        margin-top: 12px;
    }
}


/* ============================================================
   v8 — «Частная школа VS традиционная школа»
   rec1901327061 + rec1901327111
   ============================================================ */

.school-compare {
    padding-top: 150px;
}

.school-compare__title {
    width: 1160px;
    max-width: 100%;
    height: 53px;

    margin: 0 0 60px;

    color: #101e31;

    text-align: center;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-compare__title span {
    color: #023484;
}


/* ---------- Две колонки Tilda ---------- */

.school-compare__columns {
    width: 1160px;
    max-width: 100%;
    min-height: 941px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 10px;

    align-items: stretch;
}

.school-compare__column {
    min-width: 0;
    min-height: 941px;

    box-sizing: border-box;

    padding: 30px 40px 40px;

    border-radius: 10px;
}

.school-compare__column--state {
    background: #f3f5f8;
}

.school-compare__column--private {
    background: #d1e0f9;
}

.school-compare__column > h3 {
    width: 100%;

    margin: 0 0 30px;

    color: #101e31;

    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
}

.school-compare__items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.school-compare-item {
    width: 100%;
    min-height: 84px;

    box-sizing: border-box;

    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;

    padding: 20px;

    border-radius: 6px;

    background: #fff;
}

.school-compare-item img {
    width: 20px;
    height: 20px;

    margin-top: 0;

    object-fit: contain;
}

.school-compare-item p {
    margin: 0;

    color: #3f5064;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}


/* ============================================================
   960–1199
   Tilda: 940px, gap 10px, padding 20/24.
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-compare__title {
        width: 940px;
        height: 53px;
        margin-bottom: 60px;
    }

    .school-compare__columns {
        width: 940px;
        min-height: 947px;

        column-gap: 10px;
    }

    .school-compare__column {
        min-height: 947px;

        padding: 20px 24px 24px;

        border-radius: 10px;
    }

    .school-compare__column > h3 {
        margin-bottom: 18px;

        font-size: 30px;
    }

    .school-compare-item {
        grid-template-columns: 20px minmax(0, 1fr);

        column-gap: 14px;

        padding: 20px;
    }

    .school-compare-item p {
        font-size: 18px;
    }
}


/* ============================================================
   Mobile — 320-grid Tilda:
   две колонки идут друг под другом, общий artboard 1331px.
   ============================================================ */

@media (max-width: 959px) {

    .school-compare {
        padding-top: 90px;
    }

    .school-compare__title {
        width: 300px;
        height: 56px;

        margin-bottom: 30px;

        font-size: 20px;
        line-height: 1.4;
    }

    .school-compare__columns {
        width: 300px;
        min-height: 0;

        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .school-compare__column {
        width: 300px;
        min-height: 0;

        padding: 14px 16px 16px;

        border-radius: 6px;
    }

    .school-compare__column > h3 {
        margin-bottom: 14px;

        font-size: 18px;
        line-height: 1.3;
    }

    .school-compare__items {
        gap: 10px;
    }

    .school-compare-item {
        min-height: 0;

        grid-template-columns: 12px minmax(0, 1fr);
        column-gap: 14px;

        padding: 12px;

        border-radius: 4px;
    }

    .school-compare-item img {
        width: 12px;
        height: 12px;
    }

    .school-compare-item p {
        font-size: 12px;
        line-height: 1.4;
    }
}


/* ============================================================
   v9 — «Кому подойдёт частная школа»
   rec1901332221 + rec1901332281.
   ============================================================ */

.school-fit {
    padding-top: 150px;
}

.school-fit__title {
    width: 1160px;
    max-width: 100%;
    height: 53px;

    margin: 0 0 60px;

    color: #101e31;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}


/* ---------- Desktop 1200-grid ---------- */

.school-fit__stage {
    position: relative;

    width: 1160px;
    max-width: 100%;
    height: 584px;
}

.school-fit-row {
    position: absolute;

    left: 0;

    width: 1160px;

    box-sizing: border-box;
}

.school-fit-row--1 {
    top: 0;
    height: 168px;
}

.school-fit-row--2 {
    top: 249px;
    height: 112px;
}

.school-fit-row--3 {
    top: 442px;
    height: 112px;
}

.school-fit-row__lead {
    position: absolute;

    left: 0;

    width: 485px;
    height: 103px;

    display: flex;
    align-items: center;

    column-gap: 40px;
}

.school-fit-row--1 .school-fit-row__lead {
    top: 33px;
}

.school-fit-row--2 .school-fit-row__lead,
.school-fit-row--3 .school-fit-row__lead {
    top: 5px;
}

.school-fit-row__lead img {
    width: 103px;
    height: 103px;

    flex: 0 0 103px;

    border-radius: 4px;

    object-fit: cover;
}

.school-fit-row__lead h3 {
    margin: 0;

    color: #101e31;

    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}

.school-fit-row--1 .school-fit-row__lead h3 {
    width: 282px;
}

.school-fit-row--2 .school-fit-row__lead h3,
.school-fit-row--3 .school-fit-row__lead h3 {
    width: 342px;
}

.school-fit-row__text {
    position: absolute;

    left: 525px;

    width: 636px;

    color: #3f5064;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.school-fit-row--1 .school-fit-row__text {
    top: 0;
}

.school-fit-row--2 .school-fit-row__text,
.school-fit-row--3 .school-fit-row__text {
    top: 0;
}

.school-fit__separator {
    position: absolute;

    left: 0;

    width: 1160px;
    height: 1px;

    background: #6a829e;
}

.school-fit__separator--1 {
    top: 208px;
}

.school-fit__separator--2 {
    top: 401px;
}


/* ============================================================
   960–1199 — точные координаты Tilda.
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-fit__title {
        width: 940px;
        height: 53px;

        margin-bottom: 60px;
    }

    .school-fit__stage {
        width: 940px;
        height: 568px;
    }

    .school-fit-row {
        width: 940px;
    }

    .school-fit-row--1 {
        top: 0;
        height: 150px;
    }

    .school-fit-row--2 {
        top: 211px;
        height: 162px;
    }

    .school-fit-row--3 {
        top: 434px;
        height: 134px;
    }

    .school-fit-row__lead {
        left: 0;

        width: 390px;

        display: block;
    }

    .school-fit-row--1 .school-fit-row__lead {
        top: 0;
        height: 150px;
    }

    .school-fit-row--2 .school-fit-row__lead,
    .school-fit-row--3 .school-fit-row__lead {
        top: 0;
        height: 134px;
    }

    .school-fit-row__lead img {
        position: absolute;

        top: 0;
        left: 0;

        width: 58px;
        height: 58px;
    }

    .school-fit-row__lead h3 {
        position: absolute;

        left: 0;

        width: 390px;

        font-size: 20px;
    }

    .school-fit-row--1 .school-fit-row__lead h3 {
        top: 94px;
        width: 390px;
    }

    .school-fit-row--2 .school-fit-row__lead h3,
    .school-fit-row--3 .school-fit-row__lead h3 {
        top: 78px;
        width: 390px;
    }

    .school-fit-row__text {
        left: 426px;

        width: 514px;

        font-size: 18px;
    }

    .school-fit-row--1 .school-fit-row__text {
        top: 0;
    }

    .school-fit-row--2 .school-fit-row__text {
        top: 31px;
    }

    .school-fit-row--3 .school-fit-row__text {
        top: 17px;
    }

    .school-fit__separator {
        width: 940px;
    }

    .school-fit__separator--1 {
        top: 180px;
    }

    .school-fit__separator--2 {
        top: 403px;
    }
}


/* ============================================================
   Mobile — 320-grid Tilda.
   ============================================================ */

@media (max-width: 959px) {

    .school-fit {
        padding-top: 90px;
    }

    .school-fit__title {
        width: 300px;
        height: 54px;

        margin-bottom: 30px;

        font-size: 20px;
        line-height: 1.4;
    }

    .school-fit__stage {
        width: 300px;
        height: 581px;
    }

    .school-fit-row {
        width: 300px;
    }

    .school-fit-row--1 {
        top: 0;
        height: 206px;
    }

    .school-fit-row--2 {
        top: 247px;
        height: 138px;
    }

    .school-fit-row--3 {
        top: 426px;
        height: 155px;
    }

    .school-fit-row__lead {
        top: 0 !important;
        left: 0;

        width: 300px;
        height: 54px !important;

        display: block;
    }

    .school-fit-row__lead img {
        position: absolute;

        top: 0;
        left: 0;

        width: 54px;
        height: 54px;
    }

    .school-fit-row__lead h3 {
        position: absolute;

        top: 0 !important;
        left: 74px;

        width: 226px !important;

        font-size: 13px;
        line-height: 1.4;
    }

    .school-fit-row--3 .school-fit-row__lead h3 {
        width: 210px !important;
    }

    .school-fit-row__text {
        top: 70px !important;
        left: 0;

        width: 300px;

        font-size: 12px;
        line-height: 1.45;
    }

    .school-fit__separator {
        width: 300px;
    }

    .school-fit__separator--1 {
        top: 226px;
    }

    .school-fit__separator--2 {
        top: 405px;
    }
}


/* ============================================================
   v10 — «Общение, друзья, атмосфера»
   rec1900403781 + rec1900412461
   ============================================================ */

.school-atmosphere {
    padding-top: 150px;
}


/* ---------- Верхний текстовый Zero Block ---------- */

.school-atmosphere__head {
    position: relative;

    width: 1160px;
    max-width: 100%;
    height: 140px;

    margin-bottom: 0;
}

.school-atmosphere__head h2 {
    position: absolute;

    top: 0;
    left: 0;

    width: 493px;
    height: 106px;

    margin: 0;

    color: #101e31;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-atmosphere__head p {
    position: absolute;

    top: 0;
    left: 600px;

    width: 560px;
    height: 140px;

    margin: 0;

    color: #3f5064;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}


/* ---------- Галерея Zero Block ---------- */

.school-atmosphere__gallery {
    position: relative;

    width: 1160px;
    max-width: 100%;
    height: 496px;

    display: block;

    margin: 0;
}

.school-atmosphere__photo {
    position: absolute;

    display: block;

    object-fit: cover;

    border-radius: 4px;
}

.school-atmosphere__photo--main {
    top: 0;
    left: 0;

    width: 581px;
    height: 496px;
}

.school-atmosphere__photo--1 {
    top: 0;
    left: 601px;

    width: 270px;
    height: 238px;
}

.school-atmosphere__photo--2 {
    top: 258px;
    left: 601px;

    width: 270px;
    height: 238px;
}

.school-atmosphere__photo--3 {
    top: 0;
    left: 890px;

    width: 270px;
    height: 238px;
}

.school-atmosphere__photo--4 {
    top: 258px;
    left: 890px;

    width: 270px;
    height: 238px;
}


/* ============================================================
   960–1199 — параметры Tilda
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-atmosphere__head {
        width: 940px;
        height: 167px;
    }

    .school-atmosphere__head h2 {
        top: 0;
        left: 0;

        width: 939px;
        height: auto;
    }

    .school-atmosphere__head p {
        top: 83px;
        left: 0;

        width: 939px;
        height: auto;
    }


    .school-atmosphere__gallery {
        width: 940px;
        height: 371px;
    }

    .school-atmosphere__photo--main {
        width: 506px;
        height: 371px;
    }

    .school-atmosphere__photo--1 {
        top: 0;
        left: 521px;

        width: 202px;
        height: 178px;
    }

    .school-atmosphere__photo--2 {
        top: 193px;
        left: 521px;

        width: 202px;
        height: 178px;
    }

    .school-atmosphere__photo--3 {
        top: 0;
        left: 738px;

        width: 202px;
        height: 178px;
    }

    .school-atmosphere__photo--4 {
        top: 193px;
        left: 738px;

        width: 202px;
        height: 178px;
    }
}


/* ============================================================
   Mobile — параметры Tilda 320-grid
   ============================================================ */

@media (max-width: 959px) {

    .school-atmosphere {
        padding-top: 90px;
    }

    .school-atmosphere__head {
        width: 300px;
        height: 188px;
    }

    .school-atmosphere__head h2 {
        top: 0;
        left: 0;

        width: 300px;
        height: 56px;

        font-size: 20px;
        line-height: 1.4;
    }

    .school-atmosphere__head p {
        top: 48px;
        left: 0;

        width: 300px;
        height: auto;

        font-size: 12px;
        line-height: 1.45;
    }


    .school-atmosphere__gallery {
        width: 300px;
        height: 483px;
    }

    .school-atmosphere__photo--main {
        top: 0;
        left: 0;

        width: 300px;
        height: 217px;
    }

    .school-atmosphere__photo--1 {
        top: 227px;
        left: 0;

        width: 145px;
        height: 123px;
    }

    .school-atmosphere__photo--2 {
        top: 360px;
        left: 0;

        width: 145px;
        height: 123px;
    }

    .school-atmosphere__photo--3 {
        top: 227px;
        left: 155px;

        width: 145px;
        height: 123px;
    }

    .school-atmosphere__photo--4 {
        top: 360px;
        left: 155px;

        width: 145px;
        height: 123px;
    }
}


/* ============================================================
   v11 — исправление CSS-каскада галереи «Общение, друзья,
   атмосфера».

   Старое правило:
       .school-atmosphere__gallery img { width:100%; height:260px }
   имело большую специфичность и перебивало размеры Zero Block.
   ============================================================ */

.school-atmosphere__gallery > .school-atmosphere__photo {
    position: absolute;
    display: block;
    object-fit: cover;
}

.school-atmosphere__gallery > .school-atmosphere__photo--main {
    top: 0;
    left: 0;
    width: 581px;
    height: 496px;
}

.school-atmosphere__gallery > .school-atmosphere__photo--1 {
    top: 0;
    left: 601px;
    width: 270px;
    height: 238px;
}

.school-atmosphere__gallery > .school-atmosphere__photo--2 {
    top: 258px;
    left: 601px;
    width: 270px;
    height: 238px;
}

.school-atmosphere__gallery > .school-atmosphere__photo--3 {
    top: 0;
    left: 890px;
    width: 270px;
    height: 238px;
}

.school-atmosphere__gallery > .school-atmosphere__photo--4 {
    top: 258px;
    left: 890px;
    width: 270px;
    height: 238px;
}


/* 960-grid */
@media (min-width: 960px) and (max-width: 1199px) {

    .school-atmosphere__gallery > .school-atmosphere__photo--main {
        width: 506px;
        height: 371px;
    }

    .school-atmosphere__gallery > .school-atmosphere__photo--1 {
        top: 0;
        left: 521px;
        width: 202px;
        height: 178px;
    }

    .school-atmosphere__gallery > .school-atmosphere__photo--2 {
        top: 193px;
        left: 521px;
        width: 202px;
        height: 178px;
    }

    .school-atmosphere__gallery > .school-atmosphere__photo--3 {
        top: 0;
        left: 738px;
        width: 202px;
        height: 178px;
    }

    .school-atmosphere__gallery > .school-atmosphere__photo--4 {
        top: 193px;
        left: 738px;
        width: 202px;
        height: 178px;
    }
}


/* 320-grid */
@media (max-width: 959px) {

    .school-atmosphere__gallery > .school-atmosphere__photo--main {
        top: 0;
        left: 0;
        width: 300px;
        height: 217px;
    }

    .school-atmosphere__gallery > .school-atmosphere__photo--1 {
        top: 227px;
        left: 0;
        width: 145px;
        height: 123px;
    }

    .school-atmosphere__gallery > .school-atmosphere__photo--2 {
        top: 360px;
        left: 0;
        width: 145px;
        height: 123px;
    }

    .school-atmosphere__gallery > .school-atmosphere__photo--3 {
        top: 227px;
        left: 155px;
        width: 145px;
        height: 123px;
    }

    .school-atmosphere__gallery > .school-atmosphere__photo--4 {
        top: 360px;
        left: 155px;
        width: 145px;
        height: 123px;
    }
}


/* ============================================================
   v12 — точный промежуток между текстом и галереей.
   В Tilda rec1900403781:
   padding-bottom: 60px;
   на <=480px: 45px.
   ============================================================ */

.school-atmosphere__head {
    margin-bottom: 60px;
}

@media (max-width: 480px) {
    .school-atmosphere__head {
        margin-bottom: 45px;
    }
}


/* ============================================================
   v13 — полная длина ленты отзывов как в Tilda rec1901340541.

   Tilda:
   desktop: 17×570 + 17×10 + 38 = 9898px
   960:     17×460 + 17×10 + 38 = 8028px
   mobile:  17×260 + 17×10 + 19 = 4609px

   Последний белый spacer — отдельный flex-элемент, поэтому
   перед ним тоже есть gap 10px.
   ============================================================ */

.school-reviews__track {
    padding-right: 0;
}

.school-reviews__track::after {
    content: "";
    width: 38px;
    height: 100px;
    flex: 0 0 38px;
    background: #fff;
}

@media (max-width: 959px) {
    .school-reviews__track {
        padding-right: 0;
    }

    .school-reviews__track::after {
        width: 19px;
        flex-basis: 19px;
    }
}


/* ============================================================
   v14 — «Какие документы нужны для поступления...»
   Zero Block rec1926060511.
   ============================================================ */

.school-docs {
    padding-top: 150px;
}


/* ============================================================
   Desktop 1200-grid
   ============================================================ */

.school-docs__stage {
    position: relative;

    width: 1160px;
    max-width: 100%;
    height: 682px;

    overflow: visible;
}


/* ---------- Левая часть ---------- */

.school-docs__title {
    position: absolute;
    z-index: 5;

    top: 0;
    left: 0;

    width: 483px;
    height: 159px;

    margin: 0;

    color: #101e31;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-docs__visual {
    position: absolute;
    z-index: 1;

    top: 90px;
    left: -261px;

    width: 834px;
    height: 760px;

    display: block;

    object-fit: contain;

    pointer-events: none;
}


/* ---------- Правая карточка ---------- */

.school-docs__list-card {
    position: absolute;
    z-index: 6;

    top: 0;
    left: 559px;

    width: 601px;
    height: 664px;

    box-sizing: border-box;

    padding: 28px 30px 30px;

    border-radius: 10px;

    background: #f3f5f8;
}

.school-docs__list-card h3 {
    width: 541px;
    height: 56px;

    margin: 0 0 40px;

    color: #101e31;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: uppercase;
}

.school-docs__list {
    width: 541px;

    display: flex;
    flex-direction: column;

    row-gap: 30px;
}

.school-docs__item {
    width: 541px;

    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
}

.school-docs__item img {
    width: 20px;
    height: 20px;

    margin-top: 2px;

    object-fit: contain;
}

.school-docs__item p {
    width: 507px;

    margin: 0;

    color: #3f5064;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}


/* ============================================================
   960–1199
   Tilda перестраивает карточку под заголовок.
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-docs__stage {
        width: 940px;
        height: 714px;
    }

    .school-docs__title {
        top: 0;
        left: 0;

        width: 940px;
        height: auto;
    }

    /*
     * Декоративная композиция остаётся позади блока.
     * Прячем её сильнее под карточкой, как в Tilda.
     */
    .school-docs__visual {
        top: 90px;
        left: -261px;

        width: 834px;
        height: 760px;
    }

    .school-docs__list-card {
        top: 146px;
        left: 0;

        width: 940px;
        height: 562px;

        padding: 20px 24px 24px;

        border-radius: 10px;
    }

    .school-docs__list-card h3 {
        width: 892px;
        height: auto;

        margin-bottom: 30px;

        font-size: 20px;
    }

    .school-docs__list {
        width: 892px;

        row-gap: 30px;
    }

    .school-docs__item {
        width: 892px;

        grid-template-columns: 20px minmax(0, 1fr);
        column-gap: 14px;
    }

    .school-docs__item p {
        width: 858px;

        font-size: 18px;
    }
}


/* ============================================================
   Mobile — Tilda 320-grid
   ============================================================ */

@media (max-width: 959px) {

    .school-docs {
        padding-top: 90px;
    }

    .school-docs__stage {
        width: 300px;
        height: 566px;
    }

    .school-docs__title {
        top: 0;
        left: 0;

        width: 300px;
        height: 56px;

        font-size: 20px;
        line-height: 1.4;
    }

    .school-docs__visual {
        top: -67px;
        left: -78px;

        width: 438px;
        height: 399px;

        opacity: .92;
    }

    .school-docs__list-card {
        top: 104px;
        left: 0;

        width: 300px;
        height: 462px;

        padding: 14px 16px 16px;

        border-radius: 6px;
    }

    .school-docs__list-card h3 {
        width: 268px;
        height: 60px;

        margin-bottom: 20px;

        font-size: 14px;
        line-height: 1.4;
    }

    .school-docs__list {
        width: 268px;

        row-gap: 16px;
    }

    .school-docs__item {
        width: 268px;

        grid-template-columns: 12px minmax(0, 1fr);
        column-gap: 14px;
    }

    .school-docs__item img {
        width: 12px;
        height: 12px;

        margin-top: 1px;
    }

    .school-docs__item p {
        width: 242px;

        font-size: 10px;
        line-height: 1.45;
    }
}


/* ============================================================
   v15 — устаревший school-cta удалён из HTML.
   На действующей версии /school после блока документов
   сразу следует FAQ.
   ============================================================ */


/* ============================================================
   /school-5-8-class — актуальная композиция страницы
   ============================================================ */

/* На действующей странице старого hero/form нет. Первый видимый блок — «ЕГЭ-Сфера — это». */
@media (min-width:960px){
  .school58-page .school-features{padding-top:34px;}
  .school58-page .school-process{padding-top:150px;}
}
@media (max-width:959px){
  .school58-page .school-features{padding-top:20px;}
  .school58-page .school-process{padding-top:90px;}
}

/* Этапы поступления вынесены из CTA и стоят раньше, как на текущей 5–8 странице. */
.school-admission-section{padding-top:150px;}
.school-admission-section .school-admission{margin-top:0;}
@media(max-width:959px){.school-admission-section{padding-top:90px}.school-admission-section .school-admission{margin-top:0}}

/* ---------- Процесс обучения: full-width горизонтальная лента rec1908618311 ---------- */
.school58-learning-process{padding-top:150px;overflow:hidden;}
.school58-learning-process>.school-container>h2{margin:0 0 60px;font-size:34px;font-weight:400;line-height:1.55;text-transform:uppercase;color:#101e31;}
.school58-learning-process__viewport{width:100vw;height:435px;margin-left:calc(50% - 50vw);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;cursor:grab;}
.school58-learning-process__viewport::-webkit-scrollbar{display:none}
.school58-learning-process__viewport.is-dragging{cursor:grabbing;user-select:none;scroll-behavior:auto}
.school58-learning-process__track{width:max-content;height:435px;display:flex;gap:30px;padding-left:max(0px,calc(50vw - 550px));padding-right:60px;}
.school58-learning-process__item{position:relative;width:354px;height:410px;flex:0 0 354px;box-sizing:border-box;padding:0;color:#101e31;}
.school58-learning-process__visual{position:relative;width:304px;height:113px;margin-left:0;}
.school58-learning-process__visual img{position:absolute;left:0;top:0;max-width:151px;height:85px;object-fit:contain;object-position:left top;}
.school58-learning-process__visual span{position:absolute;right:0;top:0;font-size:20px;line-height:1.4;color:#537294;}
.school58-learning-process__item h3{width:304px;margin:12px 0 0;font-size:20px;font-weight:500;line-height:1.55;text-transform:uppercase;}
.school58-learning-process__item p{width:304px;margin:20px 0 0;color:#3f5064;font-size:18px;line-height:1.4;}

/* ---------- Образовательные блоки rec1908701011/1908701901 ---------- */
.school58-blocks{padding-top:150px;}
.school58-blocks h2{margin:0 0 60px;font-size:34px;font-weight:400;line-height:1.55;text-transform:uppercase;}
.school58-blocks__grid{width:1160px;max-width:100%;height:156px;display:grid;grid-template-columns:560px 560px;column-gap:40px;}
.school58-blocks__grid h3{margin:0 0 31px;font-size:20px;font-weight:400;line-height:1.4;text-transform:uppercase;}
.school58-blocks__grid>div>div{display:flex;align-items:center;gap:32px;font-size:18px;line-height:1.4;color:#3f5064;}
.school58-blocks__grid img{width:12px;height:12px;object-fit:contain;}
.school58-blocks__optional>div{gap:36px!important;}

/* ---------- Стоимость 5–8 rec1919969261 ---------- */
.school58-prices{padding-top:150px;}
.school58-prices__card{position:relative;width:1160px;max-width:100%;height:662px;box-sizing:border-box;border-radius:8px;overflow:hidden;background:url('/school-5-8-class/images/tild3338-3635-4463-b530-613163383830__frame_637.png') center/cover no-repeat,#f3f5f8;}
.school58-prices__card>h2{position:absolute;top:50px;left:375px;width:410px;margin:0;text-align:center;font-size:34px;font-weight:400;line-height:1.55;text-transform:uppercase;}
.school58-prices__grid{position:absolute;top:143px;left:60px;width:1040px;height:459px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.school58-price-card{height:459px;box-sizing:border-box;padding:30px 28px;display:flex;flex-direction:column;border:1px solid #bdcddf;border-radius:6px;background:#fff;}
.school58-price-card h3{margin:0;font-size:22px;font-weight:700;line-height:1.3;}
.school58-price-card__note{margin:20px 0 0;font-size:16px;line-height:1.4;}
.school58-price-card ul{margin:30px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:20px;}
.school58-price-card li{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;color:#3f5064;font-size:16px;line-height:1.4;}
.school58-price-card li img{width:20px;height:20px;margin-top:2px;}
.school58-price-card>a{width:275px;max-width:100%;height:60px;margin-top:auto;display:grid;place-items:center;border-radius:4px;background:#a9162e;color:#fff;text-decoration:none;font-size:16px;}

/* На 5–8 странице CTA экскурсии отделён от этапов поступления. */
.school58-page .school-tour{padding-top:150px;}
.school58-page .school-tour>.school-container>.school-admission{display:none;}

/* FAQ именно этой страницы. */
.school58-page .school-faq{padding-bottom:150px;}

@media(min-width:960px) and (max-width:1199px){
 .school58-learning-process__track{padding-left:max(0px,calc(50vw - 440px));}
 .school58-blocks__grid{width:940px;grid-template-columns:450px 450px;column-gap:40px;}
 .school58-prices__card{width:940px;height:574px;}
 .school58-prices__card>h2{top:30px;left:265px;}
 .school58-prices__grid{top:115px;left:40px;width:860px;height:419px;}
 .school58-price-card{height:419px;padding:30px 24px;}
 .school58-price-card>a{height:44px;}
}

@media(max-width:959px){
 .school58-learning-process{padding-top:90px;}
 .school58-learning-process>.school-container>h2{margin-bottom:30px;font-size:20px;}
 .school58-learning-process__viewport{height:330px;}
 .school58-learning-process__track{height:330px;gap:10px;padding-left:max(0px,calc(50vw - 150px));padding-right:20px;}
 .school58-learning-process__item{width:260px;height:320px;flex-basis:260px;}
 .school58-learning-process__visual{width:228px;height:78px;}
 .school58-learning-process__visual img{max-width:110px;height:60px;}
 .school58-learning-process__visual span{font-size:14px;}
 .school58-learning-process__item h3{width:228px;margin-top:6px;font-size:14px;}
 .school58-learning-process__item p{width:228px;margin-top:12px;font-size:12px;line-height:1.45;}
 .school58-blocks{padding-top:90px;}
 .school58-blocks h2{margin-bottom:30px;font-size:20px;line-height:1.4;}
 .school58-blocks__grid{width:300px;height:auto;display:flex;flex-direction:column;gap:30px;}
 .school58-blocks__grid h3{margin-bottom:18px;font-size:14px;}
 .school58-blocks__grid>div>div{gap:16px;flex-wrap:wrap;font-size:12px;}
 .school58-prices{padding-top:90px;}
 .school58-prices__card{width:300px;height:942px;}
 .school58-prices__card>h2{top:30px;left:41px;width:218px;font-size:18px;}
 .school58-prices__grid{top:101px;left:20px;width:260px;height:821px;display:flex;flex-direction:column;gap:10px;}
 .school58-price-card{width:260px;height:263px;min-height:263px;padding:18px;}
 .school58-price-card h3{font-size:16px;}
 .school58-price-card__note{margin-top:8px;font-size:10px;}
 .school58-price-card ul{margin-top:16px;gap:9px;}
 .school58-price-card li{grid-template-columns:11px 1fr;gap:6px;font-size:10px;}
 .school58-price-card li img{width:11px;height:11px;}
 .school58-price-card>a{width:222px;height:36px;font-size:12px;}
 .school58-page .school-tour{padding-top:90px;}
}


/* ============================================================
   v2 — номера 01–06 в шкале «Ваш путь до поступления».
   Линия соседнего шага в Tilda проходит под областью номера,
   но сам номер перекрывает её белой подложкой.
   ============================================================ */

.school-path__timeline-step > span {
    z-index: 3;

    box-sizing: content-box;

    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;

    background: #fff;
}

/* Линия должна оставаться под номером. */
.school-path__timeline-step > i {
    z-index: 1;
}

/* Треугольник — поверх линии, как в Tilda. */
.school-path__timeline-step > img {
    z-index: 2;
}

@media (max-width: 959px) {
    .school-path__timeline-step > span {
        padding-left: 7px;
        padding-right: 7px;
        margin-left: -7px;
    }
}


/* ============================================================
   v3 — рамки карточек блока «Процесс обучения».
   Геометрия исходно уже рассчитана под:
   desktop 354px -> content 304px = padding 25px;
   mobile 260px -> content 228px = padding 16px.
   ============================================================ */

.school58-learning-process__item {
    padding: 25px;
    border: 1px solid #a9b7c7;
    border-radius: 4px;
    background: #fff;
}

@media (max-width: 959px) {
    .school58-learning-process__item {
        padding: 16px;
    }
}


/* ============================================================
   v4 — «Обучение проходит по образовательным блокам»
   rec1908701011 + rec1908701901.
   ============================================================ */

.school58-blocks {
    padding-top: 150px;
}

.school58-blocks > .school-container > h2 {
    width: 1160px;
    max-width: 100%;
    min-height: 53px;

    margin: 0 0 60px;

    color: #101e31;

    text-align: center;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}


/* ---------- Общая композиция ---------- */

.school58-blocks__grid {
    width: 1160px;
    max-width: 100%;
    height: 156px;

    display: grid;
    grid-template-columns: 504px 12px 540px;
    column-gap: 52px;
    align-items: center;
}

/* плюс между двумя большими карточками */
.school58-blocks__grid::before {
    content: "+";

    grid-column: 2;

    align-self: center;
    justify-self: center;

    color: #537294;

    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}


/* ---------- Обязательные блоки ---------- */

.school58-blocks__required {
    grid-column: 1;

    width: 504px;
    height: 156px;

    box-sizing: border-box;

    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    border-radius: 4px;

    background: #11408e;
}

.school58-blocks__required h3 {
    width: 444px;

    margin: 0;

    color: #fff;

    text-align: center;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: uppercase;
}

.school58-blocks__required > div {
    width: 342px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.school58-blocks__required > div span {
    width: 153px;
    height: 46px;

    box-sizing: border-box;

    display: grid;
    place-items: center;

    padding: 12px 20px;

    border-radius: 4px;

    background: #e7eaf1;
    color: #101e31;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}

.school58-blocks__required > div img {
    width: 12px;
    height: 12px;

    flex: 0 0 12px;

    object-fit: contain;
}


/* ---------- Дополнительные блоки ---------- */

.school58-blocks__optional {
    grid-column: 3;

    width: 540px;
    height: 156px;

    box-sizing: border-box;

    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    border: 1px solid #6a829e;
    border-radius: 4px;

    background: #fff;
}

.school58-blocks__optional h3 {
    width: 480px;

    margin: 0;

    color: #101e31;

    text-align: center;

    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: uppercase;
}

.school58-blocks__optional > div {
    width: 480px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.school58-blocks__optional > div > img {
    width: 12px;
    height: 12px;

    flex: 0 0 12px;

    object-fit: contain;
}

.school58-blocks__optional > div span {
    height: 46px;

    box-sizing: border-box;

    display: grid;
    place-items: center;

    padding: 12px 20px;

    border-radius: 4px;

    background: #023484;
    color: #fff;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}


/* ============================================================
   960–1199
   Tilda: общий блок 941×174.
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school58-blocks > .school-container > h2 {
        width: 779px;
        min-height: 106px;

        margin-left: auto;
        margin-right: auto;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 34px;
    }

    .school58-blocks__grid {
        width: 941px;
        height: 174px;

        grid-template-columns: 371px 12px minmax(0, 518px);
        column-gap: 20px;
    }

    .school58-blocks__required {
        width: 371px;
        height: 174px;

        padding: 30px;
    }

    .school58-blocks__required h3 {
        width: 311px;
    }

    .school58-blocks__required > div {
        width: 311px;
        gap: 10px;
    }

    .school58-blocks__required > div span {
        width: auto;
        height: 36px;

        padding: 8px 16px;

        font-size: 14px;
    }

    .school58-blocks__optional {
        width: 100%;
        height: 174px;

        padding: 30px;
    }

    .school58-blocks__optional h3 {
        width: 100%;
    }

    .school58-blocks__optional > div {
        width: 100%;

        flex-wrap: wrap;
        gap: 6px;
    }

    .school58-blocks__optional > div span {
        height: 36px;

        padding: 8px 16px;

        font-size: 14px;
    }
}


/* ============================================================
   Mobile — Tilda 320-grid
   два больших блока друг под другом.
   ============================================================ */

@media (max-width: 959px) {

    .school58-blocks {
        padding-top: 90px;
    }

    .school58-blocks > .school-container > h2 {
        width: 300px;
        min-height: 75px;

        margin-bottom: 30px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 20px;
        line-height: 1.4;
    }

    .school58-blocks__grid {
        width: 300px;
        height: 322px;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .school58-blocks__grid::before {
        content: "+";

        order: 2;

        height: 12px;

        font-size: 18px;
        line-height: 12px;
    }

    .school58-blocks__required {
        order: 1;

        width: 300px;
        height: 150px;

        padding: 20px;

        gap: 16px;
    }

    .school58-blocks__required h3 {
        width: 260px;

        font-size: 14px;
    }

    .school58-blocks__required > div {
        width: 260px;

        gap: 10px;
    }

    .school58-blocks__required > div span {
        width: auto;
        height: 30px;

        padding: 8px 16px;

        font-size: 10px;
    }

    .school58-blocks__required > div img {
        width: 8px;
        height: 8px;
        flex-basis: 8px;
    }

    .school58-blocks__optional {
        order: 3;

        width: 300px;
        height: 150px;

        padding: 20px;

        gap: 16px;
    }

    .school58-blocks__optional h3 {
        width: 260px;

        font-size: 14px;
    }

    .school58-blocks__optional > div {
        width: 260px;

        flex-wrap: wrap;

        gap: 6px;
    }

    .school58-blocks__optional > div > img {
        width: 8px;
        height: 8px;
        flex-basis: 8px;
    }

    .school58-blocks__optional > div span {
        height: 30px;

        padding: 8px 16px;

        font-size: 10px;
    }
}


/* ============================================================
   v6 — точная внутренняя геометрия rec1908701901.
   Плашки и межблочный плюс стоят в исходных координатах Tilda.
   ============================================================ */

/* Убираем предыдущий текстовый псевдо-плюс. */
.school58-blocks__grid::before {
    content: none !important;
}


/* ---------- Desktop >=1200 ---------- */

@media (min-width: 1200px) {

    .school58-blocks__grid {
        position: relative;

        width: 1160px;
        height: 156px;

        display: block;
    }

    .school58-blocks__required {
        position: absolute;

        top: 1px;
        left: 0;

        width: 504px;
        height: 155px;

        box-sizing: border-box;

        padding: 30px;

        display: block;

        border-radius: 4px;
        background: #11408e;
    }

    .school58-blocks__required h3 {
        position: absolute;

        top: 30px;
        left: 30px;

        width: auto;
        height: 28px;

        margin: 0;

        white-space: nowrap;

        color: #fff;

        font-size: 20px;
        font-weight: 400;
        line-height: 1.4;
        text-transform: uppercase;
    }

    .school58-blocks__required-row {
        position: absolute;

        top: 78px;
        left: 81px;

        width: 342px;
        height: 46px;

        display: flex;
        align-items: center;
        gap: 12px;
    }

    .school58-blocks__required-row span {
        width: 153px;
        height: 46px;

        box-sizing: border-box;

        display: grid;
        place-items: center;

        padding: 12px 20px;

        border-radius: 4px;

        background: #e7eaf1;
        color: #101e31;

        font-size: 16px;
        line-height: 1.4;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .school58-blocks__required-row img {
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }


    /* отдельный плюс между двумя крупными карточками */
    .school58-blocks__between {
        position: absolute;

        top: 72px;
        left: 556px;

        width: 12px;
        height: 12px;

        display: block;
        object-fit: contain;
    }


    .school58-blocks__optional {
        position: absolute;

        top: 0;
        left: 620px;

        width: 540px;
        height: 156px;

        box-sizing: border-box;

        padding: 30px;

        display: block;

        border: 1px solid #6a829e;
        border-radius: 4px;

        background: #fff;
    }

    .school58-blocks__optional h3 {
        position: absolute;

        top: 30px;
        left: 30px;

        width: auto;
        height: 28px;

        margin: 0;

        white-space: nowrap;

        color: #101e31;

        font-size: 20px;
        font-weight: 400;
        line-height: 1.4;
        text-transform: uppercase;
    }

    .school58-blocks__optional-row {
        position: absolute;

        top: 78px;
        left: 30px;

        width: 480px;
        height: 46px;

        display: flex;
        align-items: center;
        gap: 12px;
    }

    .school58-blocks__optional-row span {
        height: 46px;

        box-sizing: border-box;

        display: grid;
        place-items: center;

        padding: 12px 20px;

        border-radius: 4px;

        background: #023484;
        color: #fff;

        font-size: 16px;
        line-height: 1.4;
        text-transform: uppercase;
        white-space: nowrap;
    }
}


/* ---------- 960–1199 ---------- */

@media (min-width: 960px) and (max-width: 1199px) {

    .school58-blocks__grid {
        position: relative;

        width: 941px;
        height: 174px;

        display: block;
    }

    .school58-blocks__required {
        position: absolute;

        top: 0;
        left: 0;

        width: 371px;
        height: 174px;

        padding: 30px;

        display: block;
    }

    .school58-blocks__required h3 {
        position: absolute;

        top: 30px;
        left: 30px;

        width: 311px;

        margin: 0;

        white-space: normal;

        text-align: center;

        font-size: 20px;
        line-height: 1.4;
    }

    .school58-blocks__required-row {
        position: absolute;

        top: 106px;
        left: 30px;

        width: 311px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .school58-blocks__required-row span {
        width: auto;
        height: 36px;

        padding: 8px 16px;

        font-size: 14px;
    }

    .school58-blocks__required-row img {
        width: 12px;
        height: 12px;
        flex-basis: 12px;
    }

    .school58-blocks__between {
        position: absolute;

        top: 72px;
        left: 391px;

        width: 12px;
        height: 12px;

        display: block;
    }

    .school58-blocks__optional {
        position: absolute;

        top: 0;
        left: 423px;

        width: 518px;
        height: 174px;

        padding: 30px;

        display: block;
    }

    .school58-blocks__optional h3 {
        position: absolute;

        top: 30px;
        left: 30px;

        width: 458px;

        margin: 0;

        white-space: normal;

        text-align: center;

        font-size: 20px;
        line-height: 1.4;
    }

    .school58-blocks__optional-row {
        position: absolute;

        top: 93px;
        left: 30px;

        width: 458px;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;

        gap: 6px;
    }

    .school58-blocks__optional-row span {
        height: 36px;

        padding: 8px 16px;

        font-size: 14px;
    }
}


/* ---------- Mobile ---------- */

@media (max-width: 959px) {

    .school58-blocks__grid {
        width: 300px;
        height: 322px;

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 10px;
    }

    .school58-blocks__required {
        position: relative;

        order: 1;

        width: 300px;
        height: 150px;

        padding: 20px;

        display: block;
    }

    .school58-blocks__required h3 {
        position: absolute;

        top: 20px;
        left: 20px;

        width: 260px;

        margin: 0;

        text-align: center;

        font-size: 14px;
        line-height: 1.4;
    }

    .school58-blocks__required-row {
        position: absolute;

        top: 76px;
        left: 20px;

        width: 260px;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 10px;
    }

    .school58-blocks__required-row span {
        width: auto;
        height: 30px;

        padding: 8px 16px;

        font-size: 10px;
    }

    .school58-blocks__required-row img {
        width: 8px;
        height: 8px;
        flex-basis: 8px;
    }

    .school58-blocks__between {
        position: static;

        order: 2;

        width: 12px;
        height: 12px;

        flex: 0 0 12px;

        display: block;
    }

    .school58-blocks__optional {
        position: relative;

        order: 3;

        width: 300px;
        height: 150px;

        padding: 20px;

        display: block;
    }

    .school58-blocks__optional h3 {
        position: absolute;

        top: 20px;
        left: 20px;

        width: 260px;

        margin: 0;

        text-align: center;

        font-size: 14px;
        line-height: 1.4;
    }

    .school58-blocks__optional-row {
        position: absolute;

        top: 76px;
        left: 20px;

        width: 260px;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;

        gap: 6px;
    }

    .school58-blocks__optional-row span {
        height: 30px;

        padding: 8px 16px;

        font-size: 10px;
    }
}


/* ============================================================
   v7 — исправление старого gap:36px!important,
   который раздвигал плашки правого блока.
   ============================================================ */

@media (min-width: 1200px) {
    .school58-blocks__optional > .school58-blocks__optional-row {
        gap: 12px !important;
    }
}

@media (min-width: 960px) and (max-width: 1199px) {
    .school58-blocks__optional > .school58-blocks__optional-row {
        gap: 6px !important;
    }
}

@media (max-width: 959px) {
    .school58-blocks__optional > .school58-blocks__optional-row {
        gap: 6px !important;
    }
}


/* ============================================================
   v8 — «Ваш год от А до Я»
   rec1889752461 + rec1889754301.
   ============================================================ */

.school-year {
    padding-top: 150px;
}


/* ---------- Заголовок ---------- */

.school-year__head {
    position: relative;

    width: 1160px;
    max-width: 100%;
    height: 53px;

    margin-bottom: 60px;
}

.school-year__head h2 {
    margin: 0;

    color: #101e31;

    font-size: 34px;
    font-weight: 400;
    line-height: 1.55;
    text-transform: uppercase;
}

.school-year__head > img {
    position: absolute;

    top: 10px;
    right: 0;

    width: 33px;
    height: 33px;
}


/* ---------- Карточки ---------- */

.school-year__grid {
    position: relative;

    width: 1160px;
    max-width: 100%;
    height: 448px;

    display: grid;
    grid-template-columns: repeat(3, 373px);
    grid-template-rows: 189px 239px;

    column-gap: 20px;
    row-gap: 20px;
}

.school-year-card {
    box-sizing: border-box;

    position: relative;

    padding: 30px;

    overflow: hidden;

    border-radius: 4px;

    background:
        #f3f5f8
        url('/school-5-8-class/images/tild6132-3961-4838-b437-366266313339__frame_1254.svg')
        right top / cover no-repeat;
}

.school-year-card__icon {
    display: block;

    width: 28px;
    height: 28px;

    object-fit: contain;
}

.school-year-card p {
    width: 313px;

    margin: 26px 0 0;

    color: #3f5064;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}


/* ============================================================
   960–1199
   Tilda: 3×306; top 214, bottom 289.
   ============================================================ */

@media (min-width: 960px) and (max-width: 1199px) {

    .school-year__head {
        width: 940px;
        height: 53px;

        margin-bottom: 60px;
    }

    .school-year__head > img {
        right: 0;
    }

    .school-year__grid {
        width: 940px;
        height: 513px;

        grid-template-columns: repeat(3, 306px);
        grid-template-rows: 214px 289px;

        column-gap: 10px;
        row-gap: 10px;
    }

    .school-year-card {
        padding: 30px;
    }

    .school-year-card p {
        width: 246px;
    }
}


/* ============================================================
   Mobile — сохраняем исходную Tilda-композицию 2 колонки.
   ============================================================ */

@media (max-width: 959px) {

    .school-year {
        padding-top: 90px;
    }

    .school-year__head {
        width: 300px;
        height: 61px;

        margin-bottom: 30px;
    }

    .school-year__head h2 {
        width: 269px;

        font-size: 20px;
        line-height: 1.4;
    }

    .school-year__head > img {
        top: 26px;
        right: 0;

        width: 33px;
        height: 33px;
    }

    .school-year__grid {
        width: 300px;
        height: 566px;

        display: grid;

        grid-template-columns: 128px 166px;
        grid-template-rows: 179px 196px 179px;

        gap: 6px;
    }

    .school-year-card {
        padding: 16px;
    }

    .school-year-card__icon {
        width: 14px;
        height: 14px;
    }

    .school-year-card p {
        width: 100%;

        margin-top: 14px;

        font-size: 11px;
        line-height: 1.55;
    }

    /*
     * Раскладка исходного 320-grid:
     * 1: 147×179
     * 2: 147×179
     * 3: 128×196
     * 4: 166×196
     * 5: 128×179
     * 6: 166×179
     */
    .school-year-card--1 {
        grid-column: 1;
        grid-row: 1;
        width: 147px;
    }

    .school-year-card--2 {
        grid-column: 2;
        grid-row: 1;
        width: 147px;
        margin-left: -13px;
    }

    .school-year-card--3 {
        grid-column: 1;
        grid-row: 2;
        width: 128px;
    }

    .school-year-card--4 {
        grid-column: 2;
        grid-row: 2;
        width: 166px;
    }

    .school-year-card--5 {
        grid-column: 1;
        grid-row: 3;
        width: 128px;
    }

    .school-year-card--6 {
        grid-column: 2;
        grid-row: 3;
        width: 166px;
    }
}


/* ============================================================
   v9 — корректировка внутреннего отступа в правом блоке
   «Дополнительные образовательные блоки».
   Сужаем строку кнопок и центрируем её, чтобы до боковых
   рамок оставалось больше воздуха, как в Tilda.
   ============================================================ */

.school58-blocks__optional > div {
    width: auto;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.school58-blocks__optional > div span {
    flex: 0 0 auto;
}

@media (min-width: 960px) and (max-width: 1199px) {
    .school58-blocks__optional > div {
        width: auto;
        max-width: 398px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        gap: 8px;
    }
}

/* ============================================================
   v10 — возвращаем голубой уголок в карточках «Ваш год от А до Я».
   В предыдущем архиве правило не попало в итоговый CSS.
   ============================================================ */

.school-year-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 28px;
    height: 28px;
    background: #d1e0f9;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}

@media (min-width: 960px) and (max-width: 1199px) {
    .school-year-card::after {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 959px) {
    .school-year-card::after {
        width: 18px;
        height: 18px;
    }
}


/* ============================================================
   v11 — разворот голубого уголка в противоположную сторону.
   ============================================================ */

.school-year-card__corner {
    clip-path: polygon(0 0, 100% 0, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
}

.school-year-card__corner::after {
    top: 0;
    left: 0;
    right: auto;

    transform-origin: left top;
    transform: rotate(-45deg);
}


/* ============================================================
   v12 — окончательная ориентация «загнутого уголка».

   Tilda: прямой угол голубого треугольника находится
   в нижней левой точке области сгиба:
       • вертикальная грань слева;
       • горизонтальная грань снизу;
       • диагональ идёт сверху-слева вниз-вправо.
   ============================================================ */

.school-year-card__corner {
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%);
}

/* Лишнюю искусственную линию сгиба убираем:
   сама граница треугольника уже повторяет Tilda. */
.school-year-card__corner::after {
    display: none;
}


/* ============================================================
   v13 — исправлен РЕАЛЬНО отображаемый уголок.
   Предыдущие v11/v12 меняли .school-year-card__corner,
   но в HTML такого элемента нет.
   Видимый уголок рисуется .school-year-card::after.

   Tilda: голубая часть — нижний левый треугольник
   внутри квадрата в правом верхнем углу карточки.
   ============================================================ */

.school-year-card::after {
    clip-path: polygon(0 0, 0 100%, 100% 100%) !important;
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%) !important;
}


/* ============================================================
   v14 — заголовок «Стоимость обучения».
   В Tilda data-field-textfit="autowidth", поэтому он не
   переносится на две строки.
   ============================================================ */

.school58-prices__card > h2 {
    left: 50% !important;
    width: max-content !important;
    max-width: none !important;

    transform: translateX(-50%);

    white-space: nowrap !important;
    text-align: center;
}

@media (min-width: 1200px) {
    .school58-prices__card > h2 {
        top: 50px !important;
        font-size: 34px;
    }
}

@media (min-width: 960px) and (max-width: 1199px) {
    .school58-prices__card > h2 {
        top: 30px !important;
        font-size: 34px;
    }
}

@media (max-width: 959px) {
    .school58-prices__card > h2 {
        top: 30px !important;
        font-size: 18px !important;
        line-height: 1.55;
    }
}


/* ============================================================
   v15 — кавычки отзывов: используем родной SVG Tilda
   frame_935.svg вместо текстового символа.
   Исходные размеры rec1916967901:
   desktop 52×52; 960px 60×60; mobile 34×34.
   ============================================================ */

.school-review__quote {
    float: left;

    width: 52px !important;
    height: 52px !important;

    margin: 3px 26px 0 0 !important;

    display: block;

    border-radius: 0 !important;
    background: transparent !important;

    object-fit: contain;

    font-size: 0 !important;
    color: transparent !important;
}

@media (min-width: 960px) and (max-width: 1199px) {
    .school-review__quote {
        width: 60px !important;
        height: 60px !important;

        margin-top: 0 !important;
        margin-right: 26px !important;
    }
}

@media (max-width: 959px) {
    .school-review__quote {
        width: 34px !important;
        height: 34px !important;

        margin-top: 3px !important;
        margin-right: 10px !important;
    }
}


/* ============================================================
   v16 — подпись под именем в отзывах.
   Исходная типографика Tilda:
   desktop/tablet: 18px;
   <=479px: 11px.
   ============================================================ */

.school-reviews__track article > span {
    color: #3f5064;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

@media (max-width: 479px) {
    .school-reviews__track article > span {
        font-size: 11px;
    }
}


/* ============================================================
   v17 — шапка карточки отзыва (имя + подпись).
   Точные параметры Tilda rec1916967901:
   имя: top 30, 20px, Cygre, 500, line-height 1.4;
   подпись: top 60, 18px, Cygre, 400, line-height 1.55;
   вертикальный gap между ними: 2px.
   ============================================================ */

.school-reviews__track article > h3 {
    margin: 0 !important;

    height: 28px;

    color: #101e31;

    font-family: Cygre, Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-transform: uppercase;
}

.school-reviews__track article > span {
    display: block;

    margin: 2px 0 0 !important;

    color: #3f5064;

    font-family: Cygre, Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}

/* 960-grid у Tilda сохраняет ту же типографику и тот же gap 2px. */
@media (min-width: 960px) and (max-width: 1199px) {
    .school-reviews__track article > h3 {
        height: 28px;
        font-size: 20px !important;
    }

    .school-reviews__track article > span {
        margin-top: 2px !important;
        font-size: 18px !important;
    }
}

/* Mobile: имя 14px, подпись компактнее; расстояние остаётся ~2px. */
@media (max-width: 959px) {
    .school-reviews__track article > h3 {
        height: 20px;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .school-reviews__track article > span {
        margin-top: 2px !important;
        font-size: 11px !important;
        line-height: 1.55 !important;
    }
}
