/* =================================== */
/* =================================== */
/* =================================== */
/* D. O. 2026 */
/* =====OCTOBER 2026 For Statoplan =====*/
/* ========== management/team page ================= */
/* =================================== */
/* HTML CSS JS GSAP */
/* =================================== */
/* root styles (fonts, tokens, container) are shared: /assets/mainpage/css/root.css */
/* this file is only for this page, edit it freely */
/* =================================== */
/* 01. Header Section (logo + path) */
/* 02. Page Hero */
/* 02a. Shared: card hover, section heading */
/* 03. Landing: header, hero */
/* 04. Landing: sections */
/* 05. Payment windows */
/* 08. Footer Section */
/* 09. Cookie Banner */
/* 10. Fab button (overrides for /assets/mainpage/fabbutton) */
/* 11. Motion */
/* every section has its own "Responsive Start / End" block right after it */
/* tablet + phone (<=1024): blocks turn flat, like on the main page          */
/* =================================== */


/* 01. Header Section Start */
/* logo; the path (breadcrumbs) is shown above the page title (02. Page Hero) */
header{
    position: relative;
    z-index: 2;
    padding-top: 36px;
}

.header__wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header__logo-link{
    display: block;
    flex-shrink: 0;
}

.header__logo{
    width: 194px;
    height: auto;
}

.crumbs__list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    row-gap: 6px;
    list-style: none;
}

.crumbs__item{
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.crumbs__item + .crumbs__item::before{
    content: "/";
    margin: 0 12px;
    color: #4A4F56;
    font-weight: 400;
}

.crumbs__link{
    position: relative;
    transition: color .25s ease;
}

.crumbs__link::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.crumbs__link:hover::after{
    transform: scaleX(1);
}

.crumbs__link--home{
    color: var(--color-yellow);
}

.crumbs__link--section{
    color: var(--color-blue);
}

.crumbs__current{
    color: var(--color-white);
}
/* 01. Header Section End */

/* 01. Header Section Responsive Start */
@media (max-width: 1024px) {
    header{ padding-top: 28px; }
    .header__logo{ width: 170px; }
    .crumbs__item{ font-size: 12px; letter-spacing: 1px; }
    .crumbs__item + .crumbs__item::before{ margin: 0 9px; }
}

@media (max-width: 767px) {
    header{ padding-top: 22px; }
    .header__wrap{ flex-direction: column; align-items: flex-start; gap: 18px; }
    .header__logo{ width: 150px; }
    .crumbs__list{ justify-content: flex-start; }
    .crumbs__item{ font-size: 11px; letter-spacing: .6px; }
    .crumbs__item + .crumbs__item::before{ margin: 0 8px; }
    .crumbs__item:last-child{ white-space: normal; }
}
/* 01. Header Section Responsive End */


/* 02. Page Hero Start */
.page-hero{
    padding-top: 64px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--color-line);
}

.page-hero__prompt{
    color: var(--color-text-dim);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: .4px;
}

.page-hero__title{
    max-width: 1100px;
    margin-top: 22px;
    color: var(--color-white);
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .3px;
}

.page-hero__sub{
    margin-top: 16px;
    color: var(--color-text-soft);
    font-size: 18px;
    line-height: 1.6;
}

.page-hero__meta{
    margin-top: 22px;
    color: var(--color-text-dim);
    font-size: 12px;
    line-height: 19.2px;
    letter-spacing: 1.1px;
}
/* 02. Page Hero End */

/* 02. Page Hero Responsive Start */
@media (max-width: 1280px) {
    .page-hero__title{ font-size: 44px; }
}

@media (max-width: 1024px) {
    .page-hero{ padding-top: 48px; padding-bottom: 40px; }
    .page-hero__title{ font-size: 38px; }
}

@media (max-width: 767px) {
    .page-hero{ padding-top: 36px; padding-bottom: 32px; }
    .page-hero__prompt{ font-size: 12px; }
    .page-hero__title{ margin-top: 14px; font-size: 27px; line-height: 1.2; }
    .page-hero__sub{ font-size: 15px; }
}

@media (max-width: 380px) {
    .page-hero__title{ font-size: 24px; }
}
/* 02. Page Hero Responsive End */


/* 02a. Shared: card hover, section heading Start */
.card-hover{
    position: relative;
}

.card-hover::after{
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    height: 2px;
    z-index: 2;
    pointer-events: none;
    background: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.card-hover:hover::after{
    transform: scaleX(1);
}

.sec-head{
    display: flex;
    align-items: center;
    gap: 12px;
}

.sec-head__num{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 37px;
    height: 29px;
    padding: 0 9px;
    background: var(--color-white);
    color: var(--color-ink-page);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.sec-head__title{
    color: var(--color-white);
    font-size: 22px;
    font-weight: 800;
    line-height: 26.4px;
    letter-spacing: .2px;
}
/* 02a. Shared End */

/* 02a. Shared Responsive Start */
@media (max-width: 1024px) {
    .card-hover::after{ display: none; }
    .sec-head__num{ display: none; }
    .sec-head__title{ font-size: 24px; line-height: 1.25; }
}

@media (max-width: 767px) {
    .sec-head__title{ font-size: 19px; }
}
/* 02a. Shared Responsive End */

/* 03. Landing: header, hero Start */
/* layout: Figma "management/team" (1440); tokens — /assets/mainpage/css/root.css */
.tm-y{ color: var(--color-yellow); }
.tm-b{ color: var(--color-blue); }

.tm-header{
    position: relative;
    z-index: 2;
    padding-top: 36px;
}

.tm-header__wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tm-crumbs .crumbs__item{
    font-size: 13px;
    letter-spacing: 1.6px;
}

.tm-hero{
    padding: 50px 0 40px;
}

.tm-hero__grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 543px;
    column-gap: 56px;
}

.tm-path{
    display: flex;
    align-items: center;
    color: var(--color-text-dim);
    font-size: 13px;
    letter-spacing: .8px;
}

.tm-path .am-caret{
    margin-left: 10px;
}

.tm-hero__title{
    display: flex;
    flex-direction: column;
    margin-top: 26px;
}

.tm-hero__title-main{
    color: var(--color-white);
    font-size: 62px;
    font-weight: 800;
    line-height: 1.05;
}

.tm-hero__title-sub{
    color: #8B9197;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.07;
}

.tm-hero__lead{
    margin-top: 30px;
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.tm-hero__btns{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 26px;
}

.tm-hero__btns--row{
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0;
}

.tm-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 53px;
    padding: 2px 22px 0;
    border: 1px solid var(--color-yellow);
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 1.6px;
    text-align: center;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.tm-btn--fill{
    background: var(--color-yellow);
    color: #000;
}

.tm-btn--fill:hover{
    background: #FFC52E;
    border-color: #FFC52E;
}

.tm-btn--line{
    background: transparent;
    color: var(--color-yellow);
    font-weight: 400;
}

.tm-btn--line:hover{
    background: var(--color-yellow);
    color: #000;
}

.tm-btn--wide{
    width: 100%;
}

.tm-hero__line{
    display: block;
    height: 1px;
    margin: 28px 0 22px;
    background: var(--color-line);
    transform-origin: 0 50%;
}

.tm-label{
    color: var(--color-text-dim);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1.6px;
}

.tm-label--l{
    font-size: 14px;
    letter-spacing: 2.4px;
}

.tm-hero__short{
    max-width: 640px;
    margin-top: 14px;
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.75;
}

.tm-hero__info{
    padding: 0 0 0 60px;
    border-left: 1px solid var(--color-line);
}

.tm-facts{
    margin-top: 32px;
}

.tm-facts__row{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
}

.tm-facts__row:first-child{
    padding-top: 0;
}

.tm-facts__row dt{
    color: var(--color-text-dim);
    font-size: 14px;
    letter-spacing: 2px;
}

.tm-facts__row dd{
    color: var(--color-white);
    font-size: 16px;
    text-align: right;
}

.tm-facts__row--price dd{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.tm-facts__price{
    font-size: 16px;
}

.tm-facts__row--price small{
    color: var(--color-text-soft);
    font-size: 14px;
}

.tm-facts .tm-timer{
    font-size: 18px;
    font-variant-numeric: tabular-nums;
}

.tm-tag{
    display: inline-block;
    padding: 0 6px;
    border: 1px dashed rgba(247, 181, 0, .55);
    background: rgba(247, 181, 0, .08);
    color: var(--color-yellow);
}

.tm-mini{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.tm-mini__item{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 20px;
    border: 1px solid var(--color-line);
}

.tm-mini__item b{
    color: var(--color-yellow);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.tm-mini__item span{
    color: var(--color-text-dim);
    font-size: 14px;
}
/* 03. Landing: header, hero End */

/* 03. Landing: header, hero Responsive Start */
@media (max-width: 1280px) {
    .tm-hero__grid{ grid-template-columns: minmax(0, 1fr) 460px; column-gap: 40px; }
    .tm-hero__info{ padding-left: 40px; }
    .tm-hero__title-main{ font-size: 52px; }
    .tm-hero__title-sub{ font-size: 46px; }
}

@media (max-width: 1024px) {
    .tm-header{ padding-top: 28px; }
    .tm-header__wrap{ flex-direction: column; align-items: flex-start; gap: 18px; }
    .tm-hero{ padding-top: 36px; }
    .tm-hero__grid{ grid-template-columns: 1fr; row-gap: 40px; }
    .tm-hero__info{ padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--color-line); }
    .tm-hero__title-main{ font-size: 46px; }
    .tm-hero__title-sub{ font-size: 40px; }
}

@media (max-width: 767px) {
    .tm-header{ padding-top: 22px; }
    .tm-crumbs .crumbs__item{ font-size: 11px; letter-spacing: .6px; }
    .tm-crumbs .crumbs__item:last-child{ white-space: normal; }
    .tm-hero{ padding-top: 28px; }
    .tm-path{ font-size: 11px; }
    .tm-hero__title{ margin-top: 18px; }
    .tm-hero__title-main{ font-size: 36px; }
    .tm-hero__title-sub{ font-size: 30px; }
    .tm-hero__lead{ margin-top: 20px; font-size: 16px; }
    .tm-hero__btns{ align-items: stretch; }
    .tm-btn{ min-height: 50px; padding: 2px 14px 0; font-size: 12px; letter-spacing: 1px; }
    .tm-facts__row{ padding: 16px 0; }
    .tm-facts__row dt{ font-size: 12px; letter-spacing: 1.2px; }
    .tm-facts__row dd{ font-size: 14px; }
    .tm-mini{ gap: 8px; margin-top: 28px; }
    .tm-mini__item{ padding: 12px; }
    .tm-mini__item b{ font-size: 20px; }
    .tm-mini__item span{ font-size: 12px; }
}
/* 03. Landing: header, hero Responsive End */


/* 04. Landing: sections Start */
.tm-head{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 44px;
}

.tm-head__num{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 39px;
    height: 35px;
    background: var(--color-white);
    color: var(--color-ink-page);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.tm-head__title{
    flex-shrink: 0;
    color: var(--color-white);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .5px;
}

.tm-head__line{
    flex: 1;
    min-width: 40px;
    height: 1px;
    background: var(--color-line);
}

.tm-head__note{
    flex-shrink: 0;
    color: var(--color-text-dim);
    font-size: 12px;
    letter-spacing: 2px;
}

.tm-head__link{
    flex-shrink: 0;
    color: var(--color-blue);
    font-size: 13px;
    letter-spacing: 1px;
}

.tm-head__link:hover{
    color: var(--color-white);
}

.tm-intro{
    margin: -4px 0 56px;
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: .3px;
}

.tm-intro b{
    color: var(--color-white);
    font-weight: 400;
}

.tm-intro--m{
    max-width: 740px;
    margin: 0;
}

.tm-grid{
    display: grid;
    gap: 24px;
}

.tm-grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tm-grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tm-grid--4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tm-card{
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

.tm-card__num{
    color: var(--color-yellow);
    font-size: 13px;
    letter-spacing: 1px;
}

.tm-card__num + .tm-card__title{
    margin-top: 22px;
}

.tm-card__title{
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.tm-card__title i{
    color: var(--color-yellow);
    font-style: normal;
}

.tm-card__text{
    margin-top: 18px;
    color: var(--color-text-soft);
    font-size: 13.5px;
    line-height: 1.7;
}

.tm-card__label{
    color: var(--color-yellow);
    font-size: 12px;
    letter-spacing: 1.6px;
}

.tm-card__label + .tm-card__text{
    margin-top: 14px;
}

.tm-stat{
    padding: 28px 24px 34px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

.tm-stat__label{
    color: var(--color-text-dim);
    font-size: 12px;
    letter-spacing: 1.6px;
}

.tm-stat__val{
    margin-top: 16px;
    color: var(--color-yellow);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.tm-stat__text{
    margin-top: 12px;
    color: var(--color-text-soft);
    font-size: 13.5px;
    line-height: 1.7;
}

.tm-why__foot{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 56px;
}

.tm-source{
    max-width: 540px;
    color: var(--color-text-dim);
    font-size: 12px;
    line-height: 1.7;
}

/* program */
.tm-prog + .tm-prog{
    margin-top: 56px;
}

.tm-prog__head{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-line);
}

.tm-prog__title{
    color: var(--color-white);
    font-size: 20px;
    letter-spacing: 2.4px;
}

.tm-prog__time{
    color: var(--color-text-dim);
    font-size: 13px;
    letter-spacing: 1px;
}

.tm-acc__item{
    border-bottom: 1px solid var(--color-line);
}

.tm-acc__head{
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 30px;
    align-items: start;
    gap: 0;
    width: 100%;
    padding: 16px 0 18px;
    text-align: left;
}

.tm-faq .tm-acc__head{
    grid-template-columns: minmax(0, 1fr) 30px;
    padding: 24px 0;
}

.tm-acc__num{
    padding-top: 2px;
    color: var(--color-text-dim);
    font-size: 13px;
    letter-spacing: 1px;
}

.tm-acc__main{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.tm-acc__dates{
    font-size: 12px;
    letter-spacing: 1px;
}

.tm-acc__title{
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    transition: color .25s ease;
}

.tm-acc__head:hover .tm-acc__title{
    color: var(--color-yellow);
}

.tm-acc__icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #34373C;
    color: var(--color-yellow);
    font-size: 16px;
    font-weight: 700;
}

.tm-acc__body{
    padding: 0 30px 20px 40px;
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.75;
}

.tm-faq .tm-acc__body{
    max-width: 820px;
    padding: 0 0 24px;
    margin-top: -6px;
    font-size: 13.5px;
}

.tm-text p + p,
.tm-text p + ul,
.tm-text ul + p{
    margin-top: 10px;
}

.tm-text strong{
    color: var(--color-text-soft);
    font-weight: 400;
}

.tm-text ul{
    list-style: none;
}

.tm-text li{
    position: relative;
    padding-left: 16px;
}

.tm-text li + li{
    margin-top: 6px;
}

.tm-text li::before{
    content: "•";
    position: absolute;
    left: 4px;
}

.tm-text .ai{
    color: var(--color-blue);
}

/* format */
.tm-sub{
    margin-bottom: 26px;
    color: var(--color-white);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.tm-formats{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.tm-fmt{
    display: flex;
    flex-direction: column;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
    cursor: pointer;
    transition: border-color .25s ease;
}

.tm-fmt:hover{
    border-color: #4A4F56;
}

.tm-fmt.is-active{
    border-color: var(--color-yellow);
}

.tm-fmt__top{
    display: flex;
    min-height: 34px;
}

.tm-fmt__top--badge{
    align-items: center;
    justify-content: center;
    background: var(--color-yellow);
    color: #000;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.tm-fmt__switch button{
    flex: 1;
    border: 1px solid var(--color-yellow);
    color: var(--color-yellow);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    transition: background-color .25s ease, color .25s ease;
}

.tm-fmt__switch button.is-active{
    background: var(--color-yellow);
    color: #000;
}

.tm-fmt__body{
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.tm-fmt:not(.has-top) .tm-fmt__body{
    padding-top: 24px;
}

.tm-fmt__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tm-fmt__title{
    color: var(--color-white);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .3px;
}

.tm-fmt__radio{
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 2px solid #6E7379;
    border-radius: 50%;
    transition: border-color .25s ease;
}

.tm-fmt.is-active .tm-fmt__radio{
    border-color: var(--color-yellow);
}

.tm-fmt.is-active .tm-fmt__radio::after{
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--color-yellow);
}

.tm-fmt__desc{
    min-height: 44px;
    margin-top: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text-soft);
    font-size: 14.5px;
    line-height: 1.5;
    box-sizing: content-box;
}

.tm-fmt__nums{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.tm-fmt__label{
    color: var(--color-text-dim);
    font-size: 11px;
    letter-spacing: 1px;
}

.tm-fmt__val{
    margin-top: 12px;
    color: var(--color-white);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.tm-fmt__small{
    margin-top: 10px;
    color: var(--color-text-dim);
    font-size: 12px;
}

.tm-chosen{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.tm-chosen__info,
.tm-chosen__box{
    padding: 24px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

.tm-chosen__title{
    color: var(--color-white);
    font-size: 22px;
    font-weight: 800;
}

.tm-chosen__desc{
    margin-top: 22px;
    color: var(--color-text-soft);
    font-size: 14.5px;
}

.tm-table{
    margin-top: 44px;
}

.tm-table__row{
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    border-top: 1px solid var(--color-line);
}

.tm-table__row:last-child{
    border-bottom: 1px solid var(--color-line);
}

.tm-table__row[hidden]{
    display: none;
}

.tm-table__row dt{
    padding: 20px 28px;
    color: var(--color-text-dim);
    font-size: 11px;
    letter-spacing: 1px;
}

.tm-table__row dd{
    padding: 16px 24px;
    border-left: 1px solid var(--color-line);
    color: var(--color-white);
    font-size: 15px;
    line-height: 1.65;
}

.tm-chosen__name{
    margin-top: 8px;
    color: var(--color-yellow);
    font-size: 22px;
    font-weight: 800;
}

.tm-chosen__old{
    margin-top: 14px;
    color: var(--color-text-dim);
    font-size: 13px;
}

.tm-chosen__price{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin-top: 10px;
    color: var(--color-text-soft);
    font-size: 15px;
}

.tm-chosen__price b{
    color: var(--color-white);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
}

.tm-chosen__line{
    display: block;
    height: 1px;
    margin: 20px 0;
    background: var(--color-line);
}

.tm-chosen__box .tm-btn + .tm-btn{
    margin-top: 10px;
}

.tm-kpis{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.tm-kpi{
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px;
    border: 1px solid var(--color-line);
}

.tm-kpi b{
    color: var(--color-yellow);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.tm-kpi span{
    color: var(--color-text-dim);
    font-size: 13.5px;
    line-height: 1.4;
}

/* trainers */
.tm-trainer{
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

.tm-trainer__photo{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 354px;
    padding-top: 24px;
    overflow: hidden;
    background: #1B1D20;
    border: 1px dashed var(--color-line);
}

.tm-trainer__photo img{
    max-width: 92%;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: none;
    transition: filter .45s ease;
}

.tm-trainer:hover .tm-trainer__photo img{
    filter: none;
}

.tm-trainer__name{
    margin-top: 26px;
    color: var(--color-white);
    font-size: 17px;
    font-weight: 700;
}

.tm-trainer__text{
    flex: 1;
    margin-top: 22px;
    color: var(--color-text-soft);
    font-size: 13.5px;
    line-height: 1.7;
}

.tm-trainer__link{
    align-self: flex-start;
    margin-top: 18px;
    color: var(--color-blue);
    font-size: 13px;
    letter-spacing: 1.6px;
}

.tm-trainer__link:hover{
    color: var(--color-white);
}


/* prices */
.tm-price{
    display: flex;
    flex-direction: column;
    padding: 26px 24px 24px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

.tm-price.is-accent{
    border-color: var(--color-yellow);
}

.tm-price__label{
    color: var(--color-white);
    font-size: 12.5px;
    letter-spacing: 1.6px;
}

.tm-price.is-accent .tm-price__label{
    color: var(--color-yellow);
}

.tm-price__old{
    margin-top: 22px;
    color: var(--color-text-dim);
    font-size: 15px;
}

.tm-price__val{
    margin-top: 10px;
    color: var(--color-white);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
}

.tm-price__month{
    margin-top: 12px;
    color: var(--color-yellow);
    font-size: 13.5px;
}

.tm-price__what{
    margin-top: 20px;
    color: var(--color-white);
    font-size: 13.5px;
    line-height: 1.7;
}

.tm-price__text{
    flex: 1;
    margin-top: 22px;
    color: var(--color-text-soft);
    font-size: 13.5px;
    line-height: 1.7;
}

.tm-price__foot{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 30px;
}

.tm-price__foot .tm-btn{
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 48px;
    padding: 2px 20px 0;
}

.tm-price__timer{
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--color-text-dim);
    font-size: 12px;
    letter-spacing: 1.4px;
}

.tm-price__timer b{
    color: var(--color-yellow);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}

.tm-terms{
    margin-top: 24px;
}

.tm-terms .tm-card{
    padding: 24px;
}

/* corporate */
.tm-corp{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.tm-logos{
    margin-top: 56px;
    overflow: hidden;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tm-logos__track{
    display: flex;
    width: max-content;
    animation: tm-logos-run 70s linear infinite;
}

.tm-logos:hover .tm-logos__track{
    animation-play-state: paused;
}

@keyframes tm-logos-run{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
}

.tm-logos__item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 220px;
    height: 110px;
    padding: 22px 30px;
    background: var(--color-ink-card);
    border-right: 1px solid var(--color-line);
    transition: background-color .3s ease;
}

.tm-logos__item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .62;
    transition: opacity .3s ease;
}

.tm-logos__item:hover{
    background: #2B2D32;
}

.tm-logos__item:hover img{
    opacity: 1;
}

@media (prefers-reduced-motion: reduce){
    .tm-logos{ overflow-x: auto; }
    .tm-logos__track{ animation: none; }
}

/* consultation form */
.tm-form{
    padding: 24px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

/* related */
.tm-rel{
    padding: 32px 24px 26px;
}

.tm-rel__label{
    margin-bottom: 18px;
    color: var(--color-text-dim);
    font-size: 12.5px;
    letter-spacing: 1.6px;
}

.tm-rel .tm-card__title{
    font-size: 17px;
    letter-spacing: .5px;
}

.tm-rel .tm-card__text{
    flex: 1;
    margin-top: 18px;
}

.tm-rel__path{
    margin-top: 18px;
    color: var(--color-blue);
    font-size: 13px;
}

.tm-rel:hover .tm-card__title{
    color: var(--color-yellow);
}

/* academy landings (team/fintech, team/gamedev): extra blocks in the same style */
.tm-case .tm-card__text{ margin-top: 0; color: var(--color-text-soft); }
.tm-case .tm-card__text b{ color: var(--color-white); font-weight: 700; }

.tm-changes .tm-card__text b{ color: var(--color-white); font-weight: 700; }
.tm-change__after{ padding-top: 14px; border-top: 1px dashed var(--color-line); }
.tm-change__after b{ color: var(--color-yellow) !important; }

.tm-split{
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
    margin-bottom: 56px;
}
.tm-split--b{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; align-items: stretch; }

.tm-bignum{ display: flex; align-items: baseline; gap: 12px; color: var(--color-text-soft); font-size: 22px; }
.tm-bignum b{ color: var(--color-yellow); font-size: 96px; font-weight: 800; line-height: 1; }

.tm-intro--p{ margin: 0 0 18px; }

.tm-sub--m{ margin: 0 0 22px; font-size: 18px; }

.tm-card__title--l{ margin-top: 14px; font-size: 22px; }

.tm-belief{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
    margin-top: 56px;
    padding: 32px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}
.tm-belief__title{ margin: 14px 0 6px; color: var(--color-white); font-size: 30px; font-weight: 800; line-height: 1.2; }
.tm-belief__stats{ display: grid; gap: 16px; align-content: start; }

.tm-month{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--color-line);
}
.tm-month__step{ position: relative; padding: 22px 20px 26px; background: var(--color-ink-card); }
.tm-month__step + .tm-month__step{ border-left: 1px solid var(--color-line); }
.tm-month__step.is-module{ background: rgba(247, 181, 0, .07); }
.tm-month__label{ color: var(--color-yellow); font-size: 12px; letter-spacing: 1.4px; text-transform: none; }
.tm-month__title{ margin-top: 14px; color: var(--color-white); font-size: 16px; font-weight: 700; }
.tm-month__text{ margin-top: 10px; color: var(--color-text-soft); font-size: 13.5px; line-height: 1.6; }
.tm-month__foot{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; margin-top: 22px; }
.tm-month__repeat{ color: var(--color-white); font-size: 22px; font-weight: 700; }
.tm-month__repeat b{ color: var(--color-yellow); font-size: 40px; font-weight: 800; }
.tm-month__foot .tm-card__text{ margin: 0; }

.tm-list{ margin-top: 16px; list-style: none; }
.tm-list li{ position: relative; padding: 8px 0 8px 18px; border-top: 1px solid var(--color-line); color: var(--color-text-soft); font-size: 13.5px; line-height: 1.6; }
.tm-list li:first-child{ border-top: 0; }
.tm-list li::before{ content: ">"; position: absolute; left: 0; color: var(--color-yellow); }

.tm-hours{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tm-hours .tm-fmt__val b{ color: var(--color-yellow); font-weight: 800; }
.tm-hours .tm-fmt__val span{ color: var(--color-text-dim); font-size: 14px; font-weight: 400; }
.tm-bar{ height: 6px; margin-top: 28px; background: #34373C; }
.tm-bar i{ display: block; height: 100%; background: var(--color-yellow); }
.tm-bar__labels{ display: flex; justify-content: space-between; margin-top: 10px; color: var(--color-text-dim); font-size: 13px; }
.tm-bar__labels b{ color: var(--color-white); }

.tm-source--l{ max-width: 760px; font-size: 13.5px; }

.tm-variant__title{ margin-top: 14px; color: var(--color-white); font-size: 26px; font-weight: 800; line-height: 1.2; }
.tm-variant__label{ margin-top: 24px; }
.tm-variant .tm-price__what{ margin-top: 10px; }
.tm-price__val--s{ font-size: 28px; }
.tm-price__timer--l{ margin-top: 14px; }
.tm-variant .tm-price__foot{ margin-top: auto; padding-top: 28px; }

.tm-kpi--big{ justify-content: center; padding: 32px; }
.tm-kpi--big b{ font-size: 72px; }
.tm-kpi--big span{ font-size: 15px; color: var(--color-text-soft); }

.tm-corp--card{ margin-bottom: 40px; padding: 24px; background: var(--color-ink-card); border: 1px solid var(--color-line); }
.tm-corp--card .tm-card__text{ max-width: 760px; }

.tm-cases{ list-style: none; }
.tm-cases li{ display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 10px 0; border-top: 1px solid var(--color-line); }
.tm-cases li:first-child{ border-top: 0; padding-top: 0; }
.tm-cases b{ grid-row: span 2; color: var(--color-yellow); font-weight: 400; }
.tm-cases span{ color: var(--color-white); }
.tm-cases em{ color: var(--color-text-dim); font-style: normal; }

.tm-trainer__photo.is-cover{ padding-top: 0; }
.tm-trainer__photo.is-cover img{ width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 20%; }
/* 04. Landing: sections End */

/* 04. Landing: sections Responsive Start */
@media (max-width: 1280px) {
    .tm-chosen{ grid-template-columns: minmax(0, 1fr) 360px; }
    .tm-stat__val{ font-size: 40px; }
    .tm-fmt__val{ font-size: 26px; }
    .tm-price__val{ font-size: 36px; }
    .tm-table__row{ grid-template-columns: 200px minmax(0, 1fr); }
}

@media (max-width: 1024px) {
    .tm-head{ flex-wrap: wrap; gap: 12px 16px; margin-bottom: 30px; }
    .tm-head__line{ display: none; }
    .tm-head__note, .tm-head__link{ flex-basis: 100%; }
    .tm-head__title{ flex: 1 1 0; min-width: 0; font-size: 22px; }
    .tm-intro{ margin-bottom: 36px; font-size: 14px; }
    .tm-grid--3, .tm-grid--4{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .tm-grid--2{ gap: 16px; }
    .tm-why__foot, .tm-corp{ flex-direction: column; align-items: flex-start; gap: 24px; }
    .tm-formats{ grid-template-columns: 1fr; gap: 16px; }
    .tm-chosen{ grid-template-columns: 1fr; }
    .tm-logos{ margin-top: 36px; }
    .tm-logos__item{ width: 160px; height: 84px; padding: 16px 22px; }
    .tm-prices{ grid-template-columns: 1fr; }

    .tm-split{ grid-template-columns: 1fr; gap: 24px; }
    .tm-belief{ grid-template-columns: 1fr; }
    .tm-month{ grid-template-columns: 1fr; }
    .tm-month__step + .tm-month__step{ border-left: 0; border-top: 1px solid var(--color-line); }
    .tm-split--b{ grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .tm-head__num{ display: none; }
    .tm-head__title{ font-size: 20px; }
    .tm-head__note{ font-size: 11px; letter-spacing: 1px; }
    .tm-grid--2, .tm-grid--3, .tm-grid--4{ grid-template-columns: 1fr; gap: 12px; }
    .tm-card{ padding: 22px 18px; }
    .tm-card__text{ margin-top: 12px; }
    .tm-stat{ padding: 22px 18px; }
    .tm-stat__val{ font-size: 36px; }
    .tm-prog__head{ flex-direction: column; gap: 6px; }
    .tm-prog__title{ font-size: 16px; letter-spacing: 1.2px; }
    .tm-acc__head{ grid-template-columns: 30px minmax(0, 1fr) 28px; }
    .tm-acc__title{ font-size: 14.5px; }
    .tm-acc__body{ padding: 0 0 18px 30px; font-size: 13px; }
    .tm-faq .tm-acc__head{ padding: 18px 0; }
    .tm-sub{ font-size: 18px; }
    .tm-fmt__title{ font-size: 19px; }
    .tm-fmt__desc{ min-height: 0; }
    /* formats that are not chosen: only the name, hours and price */
    .tm-fmt:not(.is-active) .tm-fmt__body{ padding: 16px 18px; }
    .tm-fmt:not(.is-active) .tm-fmt__title{ font-size: 16px; }
    .tm-fmt:not(.is-active) .tm-fmt__radio{ width: 24px; height: 24px; }
    .tm-fmt:not(.is-active) .tm-fmt__desc,
    .tm-fmt:not(.is-active) .tm-fmt__small{ display: none; }
    .tm-fmt:not(.is-active) .tm-fmt__label{ margin-bottom: 6px; font-size: 10px; }
    .tm-fmt:not(.is-active) .tm-fmt__nums{ margin-top: 12px; }
    .tm-fmt:not(.is-active) .tm-fmt__val{ margin-top: 0; color: var(--color-text-soft); font-size: 18px; }
    .tm-chosen__info, .tm-chosen__box{ padding: 20px 16px; }
    .tm-table__row{ grid-template-columns: 1fr; }
    .tm-table__row dt{ padding: 14px 0 4px; }
    .tm-table__row dd{ padding: 0 0 14px; border-left: 0; font-size: 14px; }
    .tm-chosen__price b{ font-size: 32px; }
    .tm-kpis{ gap: 12px; }
    .tm-kpi{ padding: 18px 16px; }
    .tm-kpi b{ font-size: 28px; }
    .tm-trainer__photo{ height: 300px; }
    .tm-price__foot{ flex-direction: column; align-items: stretch; gap: 14px; }
    .tm-price__timer{ justify-content: space-between; }
    .tm-form{ padding: 16px; }

    .tm-bignum b{ font-size: 64px; }
    .tm-belief{ padding: 22px 18px; }
    .tm-belief__title{ font-size: 22px; }
    .tm-hours{ grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
    .tm-kpi--big b{ font-size: 54px; }
    .tm-variant__title{ font-size: 21px; }
}
/* 04. Landing: sections Responsive End */


/* 05. Payment windows Start */
/* markup: Figma popup; logic + classes: js/paymodal.js (the old /team) */
.paymodal{
    --color-white-rgb: 32 36 38;              /* used by the old script for its overlays */
    --color-black-rgb: 245 246 246;
    position: fixed;
    inset: 0;
    z-index: 2147483040;              /* above the fab button, below the cookie banner */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.paymodal.is-open{
    display: flex;
}

.paymodal__overlay{
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 13, .86);
}

.paymodal__dialog{
    position: relative;
    width: 100%;
    max-width: 1128px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 23px;
    background: #202426;
    border: 1px solid #393E42;
}

.paymodal--plain .paymodal__dialog{
    max-width: 760px;
}

.pm-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #393E42;
}

.pm-title{
    display: flex;
    align-items: center;
    gap: 22px;
    color: #F5F6F6;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
}

.pm-num{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 36px;
    background: var(--color-white);
    color: #202426;
    font-size: 16px;
    font-weight: 700;
}

.pm-lead{
    margin-top: 14px;
    color: #9BA3A8;
    font-size: 16px;
}

.paymodal__close{
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #393E42;
    color: #F5F6F6;
    font-size: 22px;
    line-height: 1;
    transition: border-color .25s ease, color .25s ease;
}

.paymodal__close:hover{
    border-color: var(--color-yellow);
    color: var(--color-yellow);
}

.paymodal__grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 414px;
    gap: 36px;
    align-items: start;
}

.paymodal--plain .paymodal__grid{
    grid-template-columns: 1fr;
}

.paymodal__form{
    min-height: 200px;
}

.paymodal__side{
    display: flex;
    flex-direction: column;
    padding: 23px;
    background: #25292C;
    border: 1px solid #393E42;
}

.pm-side-title{
    color: #F5F6F6;
    font-size: 20px;
    font-weight: 700;
}

.paymodal__seg{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 18px;
    padding: 4px;
    border: 1px solid #393E42;
}

.paymodal__seg-btn{
    min-height: 50px;
    color: #A0A8AD;
    font-size: 15px;
    transition: background-color .25s ease, color .25s ease;
}

.paymodal__seg-btn.is-active{
    background: #FFC400;
    color: #202426;
    font-weight: 700;
}

.pm-months{
    margin-top: 32px;
}

.pm-label{
    color: #9BA3A8;
    font-size: 12px;
    letter-spacing: .6px;
}

.pm-months:has([aria-hidden="true"]) .pm-label{
    display: none;
}

.paymodal__radrow{
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.paymodal__radio{
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    height: 54px;
    padding: 0 13px;
    border: 1px solid #393E42;
    color: #F5F6F6;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}

.paymodal__radio input{
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin: 0;
    border: 1px solid #9BA3A8;
    border-radius: 50%;
}

.paymodal__radio input:checked{
    border-color: #FFC400;
}

.paymodal__radio input:checked::after{
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #FFC400;
}

.paymodal__radio:has(input:checked){
    border-color: #FFC400;
    background: rgba(255, 196, 0, .06);
    color: #FFC400;
}

.pm-note{
    margin-top: 40px;
    color: #9BA3A8;
    font-size: 14px;
    line-height: 1.6;
}

.pm-line{
    display: block;
    height: 1px;
    margin: 28px 0;
    background: #393E42;
}

.payment-block{
    display: none;
}

.payment-block.active{
    display: block;
}

.pm-price{
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 9px;
    color: #9BA3A8;
    font-size: 26px;
}

.pm-price b{
    color: #FFC400;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
}

.pm-total{
    margin-top: 9px;
    color: #F5F6F6;
    font-size: 15px;
}

.pm-total:empty{
    display: none;
}

/* step 2 ("спасибо"): the old script lays it over step 1 */
.paymodal__step--2{
    flex-direction: column;
    background: #202426;
}

.paymodal.is-step2-soft .paymodal__step--2.is-active{
    flex-direction: column !important;
    gap: 28px !important;
    padding: 23px !important;
}

.paymodal__step--2 .pm-top{
    width: 100%;
    margin-bottom: 0;
}

.paymodal__thx{
    color: #9BA3A8;
    font-size: 15px;
    line-height: 1.7;
}

.paymodal__thx p + p{
    margin-top: 14px;
}

.paymodal__thx-b{
    color: #F5F6F6;
}

.paymodal__tg{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 23px;
    background: #25292C;
    border: 1px solid #393E42;
    color: #9BA3A8;
    font-size: 14px;
    line-height: 1.6;
}

.paymodal__tg strong{
    color: #F5F6F6;
    font-weight: 700;
}

.paymodal__submitting{
    background: rgba(32, 36, 38, .78) !important;
}

.paymodal__spinner{
    border-color: rgba(245, 246, 246, .18) !important;
    border-top-color: #FFC400 !important;
}

html.no-scroll,
body.no-scroll{
    overflow: hidden;
}
/* 05. Payment windows End */

/* 05. Payment windows Responsive Start */
@media (max-width: 1024px) {
    .paymodal__grid{ grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 767px) {
    .paymodal{ padding: 0; align-items: stretch; }
    .paymodal__dialog{ max-height: 100dvh; padding: 18px 16px; border: 0; }
    .pm-top{ padding-bottom: 18px; margin-bottom: 18px; }
    .pm-title{ gap: 14px; font-size: 21px; }
    .pm-num{ width: 36px; height: 32px; font-size: 14px; }
    .pm-lead{ margin-top: 10px; font-size: 14px; }
    .paymodal__side{ padding: 18px 16px; }
    .paymodal__seg-btn{ min-height: 44px; font-size: 13px; }
    .paymodal__radrow{ gap: 8px; }
    .paymodal__radio{ height: 48px; font-size: 17px; }
    .pm-note{ margin-top: 24px; font-size: 13px; }
    .pm-price b{ font-size: 38px; }
    .pm-price{ font-size: 22px; }
    .paymodal__tg{ flex-direction: column; align-items: stretch; }
}
/* 05. Payment windows Responsive End */




/* 08. Footer Section Start */
.footer{
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 1px solid var(--color-line);
    background: var(--color-ink-footer);
}

.footer__top{
    display: grid;
    grid-template-columns: 416fr 290.66fr 290.67fr 250.67fr;
    padding-top: 56px;
}

.footer__col-main{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo svg{
    width: 160px;
    height: auto;
}

.footer__tagline{
    margin-top: 20px;
    color: var(--color-white);
    font-size: 14px;
    line-height: 22.4px;
}

.footer__col-title{
    color: var(--color-text-dim);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.6px;
}

.footer__col-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 23px;
}

.footer__link{
    color: var(--color-white);
    font-size: 14px;
    line-height: 22.4px;
    transition: color .2s ease, transform .2s ease;
}

.footer__link span{
    color: var(--color-text-dim);
    transition: color .2s ease;
}

.footer__link:hover{
    color: var(--color-yellow);
    transform: translateX(4px);
}

.footer__link:hover span{
    color: var(--color-yellow);
}

/* legal text + big outlined STRATOPLAN with the yellow block cursor */
.footer__mid{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 21px;
    padding-bottom: 33px;
}

.footer__legal{
    flex-shrink: 0;
    width: 292px;
    color: var(--color-text-dim);
    font-size: 12px;
    line-height: 22.4px;
}

.footer__brand{
    display: flex;
    align-items: center;
    font-size: min(149.3px, 10.2vw);
    user-select: none;
}

.footer__brand-text{
    color: transparent;
    -webkit-text-stroke: 1px var(--color-line-brand);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -.015em;
    white-space: nowrap;
}

.footer__brand-cursor{
    flex-shrink: 0;
    width: .42em;
    height: .72em;
    margin-left: .045em;
    background: var(--color-yellow);
    box-shadow: 0 0 30px 4px rgba(247, 181, 0, .3);
    animation: amBlink 1.1s steps(1) infinite;
}

.footer__bottom{
    border-top: 1px solid var(--color-line);
}

.footer__bottom-in{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 46.59px;
}

.footer__copy{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-dim);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.2px;
}

.footer__dot{
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--color-blue);
    box-shadow: 0 0 8px 2px rgba(46, 184, 255, .55);
    animation: amPulse 2.4s ease-in-out infinite;
}

.footer__up{
    color: var(--color-white);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    transition: color .2s ease;
}

.footer__up:hover{
    color: var(--color-yellow);
}
/* 08. Footer Section End */

/* 08. Footer Section Responsive Start */
@media (max-width: 1280px) {
    .footer__legal{ width: 260px; font-size: 11px; line-height: 20px; }
    .footer__brand{ font-size: 9.6vw; }
}

@media (max-width: 1024px) {
    /* reference: "БЫСТРЫЕ ССЫЛКИ: [ ... ] [ ... ]" in one flow */
    .footer__top{ display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 40px; }
    .footer__col-main{ width: 100%; margin-bottom: 26px; }
    .footer__col:not(.footer__col-main){ display: contents; }
    .footer__col-title{ display: none; }
    .footer__col-content{ display: contents; }
    .footer__top::before{
        content: "БЫСТРЫЕ ССЫЛКИ:";
        order: 1;
        color: var(--color-text-dim);
        font-size: 13px;
        line-height: 24px;
        letter-spacing: .6px;
    }
    .footer__col-main{ order: 0; }
    .footer__link{ order: 2; font-size: 13px; line-height: 24px; letter-spacing: .6px; text-transform: uppercase; }
    .footer__link span{ display: none; }
    .footer__link::before{ content: "[\00a0"; color: var(--color-text-dim); }
    .footer__link::after{ content: "\00a0]"; color: var(--color-text-dim); }
    .footer__link:hover{ transform: none; }

    .footer__mid{ flex-direction: column-reverse; align-items: flex-start; gap: 24px; margin-top: 36px; padding-bottom: 28px; }
    .footer__legal{ width: auto; max-width: 520px; }
    .footer__brand{ font-size: 13.6vw; }
}

@media (max-width: 767px) {
    .footer__top::before,
    .footer__link{ font-size: 12px; letter-spacing: .3px; }
    .footer__copy, .footer__up{ font-size: 10px; letter-spacing: .6px; }
    .footer__bottom-in{ min-height: 56px; padding: 10px 0; }
    .footer__brand{ font-size: 14.4vw; }
    .footer__bottom-r{ flex-direction: column; align-items: flex-end; gap: 4px; }
    .footer__cookie{ font-size: 10px; letter-spacing: .6px; }
}
/* 08. Footer Section Responsive End */


/* 08a. Footer: cookie settings link */
.footer__bottom-r{
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer__cookie{
    color: var(--color-text-dim);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    transition: color .2s ease;
}

.footer__cookie:hover{
    color: var(--color-yellow);
}
/* 08a. Footer: cookie settings link End */


/* 09. Cookie Banner Start */
/* terminal window in the middle of a dimmed, locked page (until a choice is made); */
/* logic in /assets/mainpage/js/consent.js */
html.cookie-lock,
html.cookie-lock body{
    overflow: hidden;
}

.cookie-backdrop{
    position: fixed;
    inset: 0;
    z-index: 2147483050;            /* above the page and the fab button */
    background: rgba(17, 19, 21, .72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.cookie-backdrop.is-open{
    opacity: 1;
    pointer-events: auto;
}

.cookie{
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 2147483100;
    width: 560px;
    max-width: calc(100% - 48px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: rgba(38, 40, 44, .98);
    border: 1px solid var(--color-line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px));
    transition: opacity .35s ease, transform .35s ease;
}

.cookie[hidden]{
    display: none;
}

.cookie.is-open{
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* yellow terminal ticks in the corners (same as the black header plate) */
.cookie::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(#F7B500, #F7B500) left top / 10px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) left top / 1px 10px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 10px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 1px 10px no-repeat;
}

.cookie__bar{
    display: flex;
    align-items: center;
    gap: 4px;
    height: 34px;
    padding: 0 18px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text-dim);
    font-size: 11px;
    letter-spacing: .4px;
    white-space: nowrap;
}

.cookie__caret{
    flex-shrink: 0;
    width: 7px;
    height: 13px;
    background: var(--color-yellow);
    animation: amBlink 1s steps(1) infinite;
}

.cookie__view{
    padding: 20px 20px 18px;
}

.cookie__view[hidden]{
    display: none;
}

.cookie__title{
    color: var(--color-white);
    font-size: 15px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: .3px;
}

.cookie__text{
    margin-top: 10px;
    color: #C5CAD0;
    font-size: 12.5px;
    line-height: 1.65;
}

.cookie__text a,
.cookie__opt-text a{
    color: var(--color-blue);
    transition: color .2s ease;
}

.cookie__text a:hover{
    color: var(--color-yellow);
}

/* accept and reject have the same size and level (EU rule: refusing is as easy as accepting) */
.cookie__btns{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.cookie__btn{
    height: 42px;
    padding: 1px 12px 0;
    border: 1px solid #4A4F56;
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.cookie__btn:hover{
    border-color: var(--color-yellow);
    color: var(--color-yellow);
}

.cookie__btn--y{
    border-color: var(--color-yellow);
    background: var(--color-yellow);
    color: var(--color-ink-page);
}

.cookie__btn--y:hover{
    background: #FFC52E;
    color: var(--color-ink-page);
}

.cookie__btn:active{
    transform: translateY(1px);
}

.cookie__link{
    margin-top: 14px;
    color: var(--color-text-dim);
    font-size: 12px;
    letter-spacing: .4px;
    transition: color .2s ease;
}

.cookie__link:hover{
    color: var(--color-yellow);
}

/* settings */
.cookie__list{
    margin-top: 14px;
    border-top: 1px solid var(--color-line);
}

.cookie__opt{
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
}

.cookie__opt-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

label.cookie__opt-head{
    cursor: pointer;
}

.cookie__opt-name{
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
}

.cookie__opt-name::before{
    content: ">\00a0";
    color: var(--color-yellow);
}

.cookie__opt-always{
    color: var(--color-yellow);
    font-size: 10.5px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.cookie__opt-text{
    margin-top: 6px;
    color: var(--color-text-dim);
    font-size: 11.5px;
    line-height: 1.6;
}

/* switch */
.cookie__switch-in{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie__switch{
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 20px;
    border: 1px solid #4A4F56;
    transition: border-color .25s ease;
}

.cookie__switch::before{
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 12px;
    height: 12px;
    background: var(--color-text-dim);
    transition: transform .25s ease, background-color .25s ease;
}

.cookie__switch-in:checked + .cookie__switch{
    border-color: var(--color-yellow);
}

.cookie__switch-in:checked + .cookie__switch::before{
    background: var(--color-yellow);
    transform: translateX(20px);
}

.cookie__switch-in:focus-visible + .cookie__switch{
    outline: 1px solid var(--color-yellow);
    outline-offset: 2px;
}
/* 09. Cookie Banner End */

/* 09. Cookie Banner Responsive Start */
@media (max-width: 767px) {
    /* phones: a sheet at the bottom of the dimmed screen */
    .cookie{
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        transform: translateY(16px);
    }
    .cookie.is-open{ transform: none; }
    .cookie__view{ padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); }
    .cookie__bar{ padding: 0 16px; }
    .cookie__title{ font-size: 14px; }
    .cookie__text{ font-size: 12px; line-height: 1.6; }
    .cookie__btns{ grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
    .cookie__btn{ height: 44px; }
}

@media (prefers-reduced-motion: reduce){
    .cookie{ transition: none; }
    .cookie__caret{ animation: none; }
}
/* 09. Cookie Banner Responsive End */


/* 10. Fab button Start */
/* the widget itself lives in assets/mainpage/fabbutton (shared, not edited);  */
/* its css is printed inline after this file, so every rule here starts with   */
/* "body" to win. Look: terminal window, square, yellow accent like the page.  */
body .fab{
    --fab-accent: #F7B500 !important;       /* inline var from fab.php is overridden */
    --fab-accent-rgb: 247 181 0 !important;
    font-family: var(--font-main);
    color: var(--color-white);
}

body .fab-backdrop{
    background: rgba(17, 19, 21, .55);
}

/* toggle: dark square with yellow ticks */
body .fab__toggle,
body .fab.is-light .fab__toggle{
    width: 56px;
    height: 56px;
    border-radius: 0;
    color: var(--color-yellow);
    background-color: rgba(38, 40, 44, .92);
    background-image: none;
    border: 1px solid var(--color-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

body .fab__toggle::after{
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(#F7B500, #F7B500) left top / 8px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) left top / 1px 8px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 8px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 1px 8px no-repeat;
}

body .fab__toggle:hover{
    transform: translateY(-2px);
    border-color: var(--color-yellow);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .55);
}

body .fab__toggle:focus-visible{
    outline: 1px solid var(--color-yellow);
    outline-offset: 3px;
}

/* square pulse instead of the round one */
body .fab__toggle::before{
    inset: -5px;
    border-radius: 0;
    border: 1px solid rgba(247, 181, 0, .6);
}

body .fab__icon{
    width: 24px;
    height: 24px;
}

body .fab__icon svg{
    stroke-width: 1.6;
}

body .fab__dot,
body .fab.is-light .fab__dot{
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 0;
    background: var(--color-yellow);
    box-shadow: 0 0 8px 2px rgba(247, 181, 0, .45);
    animation: amBlink 1.1s steps(1) infinite;
}

/* hint bubble: small terminal line */
body .fab__bubble{
    padding: 12px 38px 12px 14px;
    border-radius: 0;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

body .fab__bubble-title{
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
}

body .fab__bubble-title::before{
    content: ">\00a0";
    color: var(--color-yellow);
}

body .fab__bubble-sub{
    margin-top: 4px;
    color: var(--color-text-dim);
    font-size: 12px;
}

body .fab__bubble-close{
    color: var(--color-text-dim);
}

body .fab__bubble-close:hover{
    color: var(--color-yellow);
}

/* menu panel */
body .fab__panel{
    width: 300px;
    padding: 0 0 8px;
    border-radius: 0;
    background: rgba(38, 40, 44, .97);
    border: 1px solid var(--color-line);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
}

body .fab__panel::after{
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(#F7B500, #F7B500) left top / 10px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) left top / 1px 10px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 10px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 1px 10px no-repeat;
}

body .fab__title{
    margin-bottom: 8px;
    padding: 0 16px;
    height: 34px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text-dim);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.2px;
}

body .fab__title::after{
    content: "";
    width: 7px;
    height: 13px;
    margin-left: 6px;
    background: var(--color-yellow);
    animation: amBlink 1s steps(1) infinite;
}

body .fab__list{
    gap: 0;
    padding: 0 8px;
}

body .fab__item{
    gap: 12px;
    padding: 9px 8px;
    border-radius: 0;
}

body .fab__item:hover,
body .fab__item:focus-visible{
    background: rgba(247, 181, 0, .06);
}

body .fab__ico,
body .fab__item--ghost .fab__ico{
    flex-basis: 38px;
    height: 38px;
    border-radius: 0;
    background: var(--color-ink-input);
    border: 1px solid var(--color-line);
    color: var(--color-yellow);
}

body .fab__ico svg{
    width: 18px;
    height: 18px;
}

body .fab__item:hover .fab__ico,
body .fab__item:focus-visible .fab__ico,
body .fab__item--ghost:hover .fab__ico,
body .fab__item--ghost:focus-visible .fab__ico{
    transform: none;
    border-color: var(--color-yellow);
    background: var(--color-yellow);
    color: var(--color-ink-page);
}

body .fab__label{
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

body .fab__sub{
    color: var(--color-text-dim);
    font-size: 11.5px;
    letter-spacing: .2px;
}

body .fab__item:hover .fab__label{
    color: var(--color-yellow);
}
/* 10. Fab button End */

/* 10. Fab button Responsive Start */
@media (max-width: 480px) {
    body .fab__toggle,
    body .fab.is-light .fab__toggle{ width: 52px; height: 52px; }
    body .fab__panel{ width: min(300px, calc(100vw - 32px)); }
}

@media (prefers-reduced-motion: reduce){
    body .fab__dot,
    body .fab__title::after{ animation: none; }
}
/* 10. Fab button Responsive End */

/* 11. Motion Start */
/* anti-flash: [data-a] blocks stay hidden until js/app.js has set their start state */
html.am-js [data-a]{
    visibility: hidden;
}

.am-caret{
    display: inline-block;
    width: .58em;
    height: 1.05em;
    margin-left: .06em;
    vertical-align: -.16em;
    background: var(--am-yellow);
    animation: amBlink 1s steps(1) infinite;
}

.am-caret.is-typing{
    animation: none;
}

@keyframes amBlink{
    0%, 100%{ opacity: 1; }
    50%{ opacity: 0; }
}

@keyframes amPulse{
    0%, 100%{ box-shadow: 0 0 8px 2px rgba(46, 184, 255, .55); opacity: 1; }
    50%{ box-shadow: 0 0 14px 4px rgba(46, 184, 255, .25); opacity: .6; }
}

@media (prefers-reduced-motion: reduce){
    .am-caret,
    .footer__brand-cursor,
    .footer__dot{
        animation: none;
    }
}
/* 11. Motion End */


/* =================================== */
/* =================================== */
/* =================================== */
/* D. O. 2026 */
/* =====OCTOBER 2026 For Statoplan =====*/
/* =================================== */
/* =================================== */
/* HTML CSS JS GSAP */
/* =================================== */

/* reviews: a scrolling row of cards from the old landing's feedback.json */
.tm-reviews__track{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 44px) / 3);
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.tm-reviews__track::-webkit-scrollbar{
    display: none;
}

.tm-review{
    scroll-snap-align: start;
}

.tm-review__name{
    color: var(--color-white);
    font-size: 17px;
    font-weight: 700;
}

.tm-review__who{
    margin-top: 10px;
    color: var(--color-yellow);
    font-size: 13px;
}

.tm-review__text{
    flex: 1;
    margin: 22px 0;
    padding-top: 22px;
    border-top: 1px solid var(--color-line);
    color: var(--color-text-dim);
    font-size: 14px;
    line-height: 1.7;
}

.tm-review__link{
    color: var(--color-blue);
    font-size: 13px;
    letter-spacing: 1.6px;
}

.tm-review__link:hover{
    color: var(--color-white);
}

.tm-reviews__nav{
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.tm-reviews__btn{
    width: 53px;
    padding: 0;
    font-size: 18px;
}

.tm-reviews__btn:disabled{
    opacity: .3;
    pointer-events: none;
}

@media (max-width: 1024px){
    .tm-reviews__track{ grid-auto-columns: calc((100% - 22px) / 2); }
}

@media (max-width: 767px){
    .tm-reviews__track{ grid-auto-columns: 86%; gap: 14px; }
}

/* ---- layout fixes (QA pass) ----
   1) big stat numbers ("→ результат") never run out of their card: they wrap and scale with the screen;
   2) one or two trainers: bigger cards, centered (instead of sitting in the left columns of a 3-column grid). */
.tm-stat__val{ font-size: clamp(20px, 1.75vw, 32px); white-space: nowrap; overflow-wrap: normal; } /* «→ слово» stays on one line (owner 18.11) */
@media (max-width: 1180px){ .tm-grid--4{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px){ .tm-grid--4{ grid-template-columns: 1fr; } }
.tm-grid:has(> .tm-trainer:nth-child(2):last-child){ grid-template-columns: repeat(2, minmax(0, 500px)); justify-content: center; gap: 28px; }
.tm-grid:has(> .tm-trainer:only-child){ grid-template-columns: minmax(0, 500px); justify-content: center; }
.tm-grid:has(> .tm-trainer:nth-child(2):last-child) .tm-trainer__photo,
.tm-grid:has(> .tm-trainer:only-child) .tm-trainer__photo{ height: 440px; }
.tm-grid:has(> .tm-trainer:nth-child(2):last-child) .tm-trainer__name{ font-size: 19px; }
@media (max-width: 1024px){
    .tm-grid:has(> .tm-trainer:nth-child(2):last-child){ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px){
    .tm-grid:has(> .tm-trainer:nth-child(2):last-child),
    .tm-grid:has(> .tm-trainer:only-child){ grid-template-columns: 1fr; }
    .tm-grid:has(> .tm-trainer:nth-child(2):last-child) .tm-trainer__photo,
    .tm-grid:has(> .tm-trainer:only-child) .tm-trainer__photo{ height: 354px; }
}

/* ---- text values in big-number cards ("→ система", "→ результат"): smaller than the numbers, never broken ---- */
.tm-stat__val--w{ font-size: clamp(22px, 1.9vw, 30px); font-weight: 800; line-height: 1.25; white-space: nowrap; overflow-wrap: normal; }
.tm-stat__val--w{ margin-top: 20px; }
@media (max-width: 1180px){ .tm-stat__val--w{ font-size: 26px; } }

.pm-cur{
    margin-top: 32px;
}

.pm-cur .paymodal__radio{
    font-size: 15px;
    font-weight: 500;
}

/* three currencies (Евро / Рубли / Крипта) share the row evenly instead of overflowing it */
.pm-cur .paymodal__radrow{ gap: 8px; }
.pm-cur .paymodal__radio{ min-width: 0; padding: 0 8px; gap: 6px; }

.pm-cur-ico{
    width: 20px;
    height: 20px;
    flex: none;
}

/* ===== Прикладная школа бизнеса: blocks of the course page (from the mockup) ===== */
.sb-accent{border-color:var(--color-yellow)}
.sb-book{margin-top:0}
.tm-acc__body[hidden]{display:none}
.sb-crs{border-top:1px solid var(--color-line)}
.sb-crs__row{display:grid;grid-template-columns:150px minmax(0,1fr) 300px 230px;gap:32px;padding:30px 0;border-bottom:1px solid var(--color-line);align-items:start}
.sb-crs__date{color:var(--color-yellow);font-size:14px;letter-spacing:1px;line-height:1.6}
.sb-crs__date small{display:block;color:var(--color-text-dim);font-size:12px;margin-top:4px}
.sb-crs__title{color:var(--color-white);font-size:20px;font-weight:800;line-height:1.3}
.sb-crs__text{margin-top:12px;color:var(--color-text-soft);font-size:14px;line-height:1.75}
.sb-crs__who{margin-top:12px;color:var(--color-text-dim);font-size:12.5px;letter-spacing:.6px}
.sb-crs__out{padding:16px 18px;border:1px solid var(--color-line);background:var(--color-ink-card);color:var(--color-white);font-size:13.5px;line-height:1.65}
.sb-crs__out span{display:block;margin-bottom:8px;color:var(--color-yellow);font-size:11.5px;letter-spacing:1.4px}
.sb-crs__btns{display:flex;flex-direction:column;gap:10px}
.sb-crs__btns .tm-btn{min-height:46px;font-size:12px;letter-spacing:1.2px}
.sb-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--color-line)}
.sb-steps .tm-month__step+.tm-month__step{border-left:1px solid var(--color-line)}
.sb-grow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.sb-card-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.sb-card-btns .tm-btn{min-height:48px}
.sb-lead{max-width:900px}
.sb-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:40px}
.sb-book .tm-belief__title{font-size:34px}
.sb-terms{margin-top:24px}
@media (max-width:1280px){.sb-crs__row{grid-template-columns:130px minmax(0,1fr) 260px;}.sb-crs__btns{grid-column:2/4;flex-direction:row;flex-wrap:wrap}}
@media (max-width:1024px){.sb-crs__row,.sb-crs__res{grid-template-columns:1fr;gap:16px}.sb-crs__btns{grid-column:auto}.sb-steps,.sb-grow{grid-template-columns:1fr}.sb-steps .tm-month__step+.tm-month__step{border-left:0;border-top:1px solid var(--color-line)}}
@media (max-width:767px){.sb-crs__btns{flex-direction:column}.sb-book .tm-belief__title{font-size:24px}}
.sb-big{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-top:40px;padding:32px;border:1px solid var(--color-yellow);background:rgba(247,181,0,.05)}
.sb-big__text{max-width:860px;color:var(--color-white);font-size:22px;font-weight:700;line-height:1.45}
.sb-big .tm-btn{flex-shrink:0}
.sb-out .tm-belief__stats{gap:12px}
.sb-out .tm-kpi{padding:18px 20px}
.sb-out .tm-kpi b{font-size:26px}
.sb-crs__row{align-items:stretch}
.sb-crs__out{height:100%}
.sb-crs__badge{display:inline-block;margin-bottom:10px;padding:3px 8px;border:1px dashed rgba(247,181,0,.55);background:rgba(247,181,0,.08);color:var(--color-yellow);font-size:11px;letter-spacing:1.2px}
.sb-crs__row.is-res{background:rgba(247,181,0,.03)}
@media (max-width:1024px){.sb-big{flex-direction:column;align-items:flex-start}.sb-big__text{font-size:18px}}
@media (max-width:767px){.sb-big{padding:22px 18px}}
.sb-check__d{color:var(--color-yellow);font-size:12.5px;letter-spacing:1px}
.sb-hint{margin-top:12px;padding:10px 12px;border:1px dashed rgba(247,181,0,.55);color:var(--color-yellow);font-size:12.5px;line-height:1.5}
@media (max-width:767px){.sb-check__d{grid-column:2}}
.va{padding:96px 0 0;text-align:center}
.va__title{color:var(--color-white);font-size:76px;font-weight:800;line-height:1.05}
.va__sub{margin-top:18px;color:#8B9197;font-size:34px;line-height:1.2}
.va__desc{max-width:720px;margin:28px auto 0;color:var(--color-text-soft);font-size:16px;line-height:1.7}
.va .tm-hero__btns{justify-content:center;margin-top:36px}
.va__strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:80px;border-top:1px solid var(--color-line);text-align:left}
.va__strip a{padding:24px 20px 28px;border-right:1px solid var(--color-line);transition:background .25s}
.va__strip a:last-child{border-right:0}
.va__strip a:hover{background:var(--color-ink-card)}
.va__strip a:hover b{color:var(--color-yellow)}
.va__strip span{color:var(--color-yellow);font-size:12px;letter-spacing:1.2px}
.va__strip b{display:block;margin-top:10px;color:var(--color-white);font-size:16px;line-height:1.35;transition:color .25s}
.va__foot{padding:16px 0;border-top:1px solid var(--color-line);color:var(--color-text-dim);font-size:13px;text-align:center}
.va__foot b{color:var(--color-white);font-weight:400}
.vf-list{background:var(--color-ink-card);border:1px solid var(--color-line)}
.vf-list__head{display:grid;grid-template-columns:28px 110px minmax(0,1fr) 230px;gap:16px;padding:14px 20px;border-bottom:1px solid var(--color-line);color:var(--color-text-dim);font-size:11px;letter-spacing:1.4px}
.vf-name{color:var(--color-white);font-size:16px;font-weight:700}
.vf-name small{display:block;margin-top:4px;color:var(--color-text-dim);font-size:12.5px;font-weight:400}
.vf-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.vf-sum{position:sticky;top:20px;padding:24px;background:var(--color-ink-card);border:1px solid var(--color-yellow)}
.vf-sum__line{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--color-line);color:var(--color-text-soft);font-size:13.5px}
.vf-sum__line b{color:var(--color-white);font-weight:700;white-space:nowrap}
.vf-sum__line del{color:var(--color-text-dim)}
.vf-sum__line.is-save b{color:var(--color-yellow)}
.vf-sum__total{display:flex;justify-content:space-between;align-items:baseline;margin:18px 0 20px}
.vf-sum__total span{color:var(--color-text-dim);font-size:12px;letter-spacing:1.4px}
.vf-sum__total b{color:var(--color-white);font-size:34px;font-weight:800}
.vf-sum .tm-btn+.tm-btn{margin-top:10px}
.vf-sum__note{margin-top:14px;color:var(--color-text-dim);font-size:12px;line-height:1.6}
.va__path{justify-content:center;margin-bottom:28px}
.vf-row{display:grid;grid-template-columns:28px 110px minmax(0,1fr) 230px;gap:16px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--color-line);cursor:pointer;transition:background .2s}
.vf-row:last-child{border-bottom:0}
.vf-row.is-sel{background:rgba(247,181,0,.04)}
.vf-row.is-fixed{cursor:default}
.vf-cb{position:relative;width:22px;height:22px;border:2px solid #6E7379;transition:all .2s}
.vf-cb.is-on{border-color:var(--color-yellow);background:var(--color-yellow)}
.vf-cb.is-on::after,.vf-cb.is-fix::after{content:"";position:absolute;left:6px;top:2px;width:6px;height:11px;border:solid #000;border-width:0 2px 2px 0;transform:rotate(45deg)}
.vf-cb.is-fix{border-color:var(--color-yellow)}
.vf-cb.is-fix::after{border-color:var(--color-yellow)}
.vf-seg{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--color-line)}
.vf-seg button{min-height:38px;color:var(--color-text-soft);font-size:12.5px;letter-spacing:.6px;transition:all .2s}
.vf-seg button.is-on{background:var(--color-white);color:#000;font-weight:700}
.vf-seg button[data-f="1"].is-on{background:var(--color-yellow)}
.vf-row:not(.is-sel) .vf-seg{opacity:.3}
.vf-row:not(.is-sel) .vf-seg:hover{opacity:.6}
/* «+ Разбор» = the course AND the review: the course half stays lit too */
.vf-seg.is-ta button[data-f="0"]{background:var(--color-white);color:#000;font-weight:700}
.vf-incl{color:var(--color-text-dim);font-size:12.5px;text-align:center}
.vf-fmts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:40px}
.vf-fmt{padding:26px 24px;background:var(--color-ink-card);border:1px solid var(--color-line)}
.vf-fmt.is-acc{border-color:var(--color-yellow)}
.vf-fmt__tag{color:var(--color-text-dim);font-size:11.5px;letter-spacing:1.6px}
.vf-fmt.is-acc .vf-fmt__tag{color:var(--color-yellow)}
.vf-fmt__title{margin-top:12px;color:var(--color-white);font-size:24px;font-weight:800;line-height:1.25}
.vf-fmt__title span{display:block;margin-top:4px;color:var(--color-text-dim);font-size:13px;font-weight:400;letter-spacing:1px}
.vf-fmt__price{margin:14px 0 4px;color:var(--color-yellow);font-size:26px;font-weight:800}
.vf-fmt__price small{color:var(--color-text-dim);font-size:12.5px;font-weight:400}
.vf-steps{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin-bottom:14px}
.vf-steps p{display:flex;align-items:center;gap:10px;color:var(--color-white);font-size:14px;font-weight:700}
.vf-steps p span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;background:var(--color-white);color:#000;font-size:12px;font-weight:800}
.vf-allta{margin-left:auto;color:var(--color-yellow);font-size:12px;letter-spacing:1.2px}
.vf-allta:hover{color:var(--color-white)}
.vf-sum__list{margin-top:14px;padding-bottom:6px}
.vf-sum__item{display:flex;justify-content:space-between;gap:10px;padding:6px 0;color:var(--color-white);font-size:13px}
.vf-sum__item em{color:var(--color-yellow);font-style:normal;font-size:12px;white-space:nowrap}
.vf-sum__lines{border-top:1px solid var(--color-line)}
@media (max-width:1024px){.vf-fmts{grid-template-columns:1fr}}
@media (max-width:767px){.vf-row,.vf-list__head{grid-template-columns:24px minmax(0,1fr);row-gap:10px}.vf-row>.sb-check__d{grid-column:2}.vf-row>.vf-name,.vf-row>.vf-seg,.vf-row>.vf-incl{grid-column:2}.vf-list__head span:nth-child(n+3){display:none}.vf-allta{margin-left:0}}
@media (max-width:1024px){.va__title{font-size:48px}.va__sub{font-size:24px}.va__strip{grid-template-columns:1fr 1fr}.vf-layout{grid-template-columns:1fr}.vf-sum{position:static}}
@media (max-width:767px){.va{padding-top:40px}.va__title{font-size:34px}.va__sub{font-size:20px}.va__strip{grid-template-columns:1fr;margin-top:48px}.va__strip a{border-right:0;border-bottom:1px solid var(--color-line)}.va .tm-hero__btns{flex-direction:column;align-items:stretch}.vf-steps{gap:10px 16px}.vf-steps p{font-size:13px}}
.mx-tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--color-line);margin-bottom:36px}
.mx-tab{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px 24px;text-align:left;background:var(--color-ink-card);transition:background .25s}
.mx-tab+.mx-tab{border-left:1px solid var(--color-line)}
.mx-tab b{color:var(--color-text-soft);font-size:16px;font-weight:800;letter-spacing:1.4px}
.mx-tab b i{margin-left:8px;padding:3px 7px;background:rgba(247,181,0,.15);color:var(--color-yellow);font-size:10.5px;font-style:normal;letter-spacing:1.2px;vertical-align:2px}
.mx-tab span{color:var(--color-text-dim);font-size:12.5px}
.mx-tab.is-on{background:var(--color-yellow)}
.mx-tab.is-on b,.mx-tab.is-on span{color:#000}
.mx-tab.is-on b i{background:#000;color:var(--color-yellow)}
.mx-teaminfo{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;margin-bottom:40px}
.mx-people{padding:22px 24px;background:var(--color-ink-card);border:1px solid var(--color-yellow)}
.mx-step{display:flex;align-items:center;gap:18px;margin-top:14px}
.mx-step button{width:44px;height:44px;border:1px solid var(--color-yellow);color:var(--color-yellow);font-size:22px;font-weight:700}
.mx-step button:hover{background:var(--color-yellow);color:#000}
.mx-step b{min-width:44px;color:var(--color-white);font-size:40px;font-weight:800;text-align:center}
.mx-people__note{margin-top:12px;color:var(--color-text-dim);font-size:12.5px}
.mx-teamcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mx-teamcards .tm-card{padding:20px}
#format.is-team .vf-row,#format.is-team .vf-list__head{grid-template-columns:28px 110px minmax(0,1fr)}
[data-show][hidden]{display:none!important}
@media (max-width:1024px){.mx-teaminfo{grid-template-columns:1fr}.mx-teamcards{grid-template-columns:1fr}}
@media (max-width:767px){.mx-tabs{grid-template-columns:1fr}.mx-tab+.mx-tab{border-left:0;border-top:1px solid var(--color-line)}#format.is-team .vf-row,#format.is-team .vf-list__head{grid-template-columns:24px minmax(0,1fr)}}
.v3-link{display:inline-block;margin-top:16px;padding-top:12px;border-top:1px dashed var(--color-line);color:var(--color-yellow);font-size:13px;letter-spacing:.4px;transition:color .2s}
.v3-link:hover{color:var(--color-white)}
#for .tm-card,#idea .tm-card{display:flex;flex-direction:column}
#for .tm-card .tm-card__text,#idea .tm-card .tm-card__text{flex:1 1 auto}
.v3-proof{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}
.v3-logos-t{margin-top:40px;color:var(--color-text-dim);font-size:12px;letter-spacing:1.4px;text-transform:uppercase}
.v3-logos-t+.tm-logos{margin-top:14px}
@media (max-width:1024px){.v3-proof{grid-template-columns:1fr 1fr}}
@media (max-width:767px){.v3-proof{grid-template-columns:1fr}}
@media (max-width:1024px){.vf-sum{position:static}}
.mx-teaminfo{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;margin-bottom:8px}
.mx-teamcards .tm-card{padding:18px}
@media (max-width:767px){.mx-tabs{grid-template-columns:1fr}.mx-tab+.mx-tab{border-left:0;border-top:1px solid var(--color-line)}}
/* the CEO reviews are hidden until there are real ones: the two numbers take the whole row */
.v3-proof--kpi{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:767px){.v3-proof--kpi{grid-template-columns:1fr}}
/* payment window of the school (business/js/paymodal.js) */
.sb-pm [hidden]{display:none!important}
.sb-pm__help{margin-top:14px;color:var(--color-text-dim);font-size:13px;line-height:1.6}
.sb-pm__help a{color:var(--color-yellow);text-decoration:underline;text-underline-offset:3px}
.sb-pm__list{margin:6px 0 22px}
.paymodal__thx .sb-pm__list{margin:16px 0}

/* elements hidden by the calculator / window (attribute hidden) stay hidden even where the block sets display (as in the mockup) */
[hidden]:not([hidden=until-found i]){display:none!important}
.vf-fmt[role="button"]{cursor:pointer}

/* the booking button of the calculator lights up when a «ЗАБРОНИРОВАТЬ» button elsewhere on the page is pressed */
@keyframes sbFlash{0%,100%{box-shadow:0 0 0 0 rgba(247,181,0,0)}30%{box-shadow:0 0 0 6px rgba(247,181,0,.55)}60%{box-shadow:0 0 0 12px rgba(247,181,0,0)}}
.js-b1.is-flash{animation:sbFlash 1.2s ease-out 2}

/* «Формат 1 / Формат 2»: the chosen courses of this format (filled by js/school.js) */
.vf-fmt__courses{margin-top:10px;padding:8px 10px;border:1px dashed var(--color-line);color:var(--color-white);font-size:13px;line-height:1.55}
.vf-fmt.is-acc .vf-fmt__courses{border-color:rgba(247,181,0,.5)}

/* running line at the top: «закрытая продажа» (owner's edits 18.11; markup — sb_ticker() in business/inc/school.php) */
.sb-ticker{overflow:hidden;background:var(--color-yellow);color:#14161a;font-family:inherit;font-size:12px;letter-spacing:1.2px;line-height:1;white-space:nowrap}
.sb-ticker__track{display:inline-flex;animation:sb-ticker 40s linear infinite}
.sb-ticker__item{display:inline-flex;align-items:center;gap:22px;padding:12px 44px 12px 0;text-transform:uppercase}
.sb-ticker__item b{font-weight:700}
.sb-ticker:hover .sb-ticker__track{animation-play-state:paused}
@keyframes sb-ticker{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.sb-ticker__track{animation:none}}

/* «Ресурс директора» in the course list: more visible, says why there is no booking button (owner's edits 18.11) */
.sb-crs__row.is-res{background:rgba(247,181,0,.07);box-shadow:inset 3px 0 0 var(--color-yellow)}
.sb-crs__row.is-res .sb-crs__badge{font-size:13px;padding:5px 10px;background:var(--color-yellow);color:#14161a;border-style:solid;font-weight:700}
.sb-crs__incl{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:46px;padding:10px 14px;border:1px solid var(--color-yellow);color:var(--color-yellow);font-size:12px;letter-spacing:1.2px;font-weight:700;text-align:center}
.sb-crs__incl small{color:var(--color-text-dim);font-weight:400;letter-spacing:.4px;text-transform:none;font-size:12px}
/* running line: at the very top while the page is at the top; after scrolling it sticks to the bottom of the screen (js/app.js) */
.sb-ticker-spacer{display:none}
.sb-ticker.is-bottom{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;box-shadow:0 -4px 16px rgba(0,0,0,.35)}
.sb-ticker.is-bottom + .sb-ticker-spacer{display:block}
