/* =================================== */
/* =================================== */
/* =================================== */
/* D. O. 2026 */
/* =====OCTOBER 2026 For Statoplan =====*/
/* ========== Main page ============== */
/* =================================== */
/* HTML CSS JS GSAP */
/* =================================== */
/* 00. Background Symbols */
/* 01. Header Section */
/* 02. Hero Section */
/* 03. Directions Section (grid of cards) */
/* 04. Card: head, meta, rows */
/* 05. Card: "что получит" + tags */
/* 06. Card: media rows */
/* 07. Card: contact form */
/* 08. Footer Section */
/* 09. Cookie Banner */
/* 10. Fab button (overrides for assets/mainpage/fabbutton) */
/* every section has its own "Responsive Start / End" block right after it */
/* tablet + phone (<=1024): cards turn into flat "terminal" blocks,         */
/* split by lines (format from the manager's reference)                    */
/* =================================== */


/* 00. Background Symbols Start */
/* the canvas itself is drawn from js/animate.js -> 11 */
.bg-symbols{
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
/* 00. Background Symbols End */


/* 01. Header Section Start */
header{
    position: relative;
    z-index: 2;
    padding-top: 36px;
}

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

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

.header__logo{
    width: 194px;
    height: auto;
}
/* 01. Header Section End */

/* 01. Header Section Responsive Start */
@media (max-width: 1024px) {
    header{ padding-top: 28px; }
    .header__logo{ width: 170px; }
}

@media (max-width: 767px) {
    header{ padding-top: 22px; }
    .header__logo{ width: 150px; }
}
/* 01. Header Section Responsive End */


/* 02. Hero Section Start */
.hero{
    position: relative;
    padding-top: 72px;
    padding-bottom: 79px;
    border-bottom: 1px solid var(--color-line);
}

.hero__inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21px;
    width: 100%;
    text-align: center;
}

.hero__title{
    color: var(--color-white);
    font-size: 50px;
    font-weight: 800;
    line-height: 43.2px;
    letter-spacing: .3px;
    white-space: nowrap;
}

.hero__title-l{
    color: var(--color-text-dim);
    font-weight: 300;
}

.hero__sub{
    position: relative;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 400;
    line-height: 30.6px;
}

.hero__sub b{
    color: var(--color-yellow);
    font-weight: 700;
}

.hero__sub-dim{
    color: var(--color-text-soft);
}

/* yellow dots on the lines — phones only */
.hero__dot{
    display: none;
}
/* 02. Hero Section End */

/* 02. Hero Section Responsive Start */
@media (max-width: 1024px) {
    .hero{ padding-top: 56px; padding-bottom: 48px; }
    .hero__inner{ align-items: flex-start; width: 100%; gap: 28px; text-align: left; }
    .hero__title{ font-size: 44px; line-height: 1.1; white-space: normal; }
    .hero__sub{
        width: 100%;
        padding: 22px 0;
        border-top: 1px solid var(--color-line);
        border-bottom: 1px solid var(--color-line);
    }
    .hero__sub br{ display: none; }
    .hero__dot{
        position: absolute;
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--color-yellow);
        box-shadow: 0 0 10px 3px rgba(247, 181, 0, .45);
        animation: amPulseY 2.6s ease-in-out infinite;
    }
    .hero__dot--top{ top: -5px; left: 34px; }
    .hero__dot--bottom{ bottom: -5px; left: 52px; animation-delay: 1.3s; }
}

@media (max-width: 767px) {
    .hero{ padding-top: 40px; padding-bottom: 40px; }
    .hero__inner{ gap: 24px; }
    .hero__title{ font-size: 30px; line-height: 1.18; }
    .hero__sub{ font-size: 15px; line-height: 1.7; padding: 18px 0 18px 10px; }
}

@media (max-width: 380px) {
    .hero__title{ font-size: 27px; }
    .hero__sub{ font-size: 14px; }
}
/* 02. Hero Section Responsive End */


/* 03. Directions Section Start */
.directions__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.card{
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

/* hover: a yellow bar runs along the bottom edge */
.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);
}

/* the card next to it is switched off in the admin -> this one takes the whole row, its links go in 2 columns */
.card--wide{
    grid-column: 1 / -1;
}

.card--wide .card__rows{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    align-content: start;
}
/* 03. Directions Section End */

/* 03. Directions Section Responsive Start */
/* order on phones/tablets follows the reference: programs → careers → business → ... → contact */
@media (max-width: 1024px) {
    .directions__grid{
        grid-template-columns: 1fr;
        gap: 0;
    }
    .card--wide .card__rows{ display: flex; }
    .card{
        padding: 40px 0;
        background: none;
        border: 0;
        border-bottom: 1px solid var(--color-line);
    }
    .card:last-child{ border-bottom: 0; }
    .card-hover::after{ display: none; }

    .card--01{ order: 1; }
    .card--03{ order: 2; }
    .card--02{ order: 3; }
    .card--04{ order: 4; }
    .card--05{ order: 5; }
    .card--07{ order: 6; }
    .card--08{ order: 7; }
    .card--06{ order: 8; }
}

@media (max-width: 767px) {
    .card{ padding: 34px 0; }
}
/* 03. Directions Section Responsive End */


/* 04. Card: head, meta, rows Start */
.card__head{
    display: flex;
    align-items: center;
    gap: 12px;
}

.card__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;
    line-height: 19.2px;
    letter-spacing: 1.2px;
}

.card__title{
    color: var(--color-white);
    font-size: 22px;
    font-weight: 800;
    line-height: 26.4px;
    letter-spacing: .2px;
}

.card__meta{
    margin-top: 18px;
    color: var(--color-text-dim);
    font-size: 12px;
    line-height: 19.2px;
    letter-spacing: 1.1px;
}

.card__meta .y,
.card__meta .b{
    white-space: nowrap;
}

.card__line{
    display: block;
    height: 1px;
    margin-top: 18px;
    background: var(--color-line);
}

.card__meta + .card__line{
    margin-top: 18px;
}

.card__rows{
    display: flex;
    flex-direction: column;
    margin-top: 18px;
}

.card__row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 45px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-line);
    transition: background-color .25s ease;
}

.card__row:last-child{
    min-height: 44px;
    border-bottom: 0;
}

.card__row-t{
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: .2px;
    transition: transform .25s ease, color .25s ease;
}

.card__row-t i{
    color: var(--color-yellow);
}

.card__row-t em{
    color: var(--color-text-soft);
    font-size: 13px;
    font-weight: 400;
    line-height: 20.8px;
}

.card__row-go{
    flex-shrink: 0;
    color: var(--color-blue);
    font-size: 13px;
    line-height: 20.8px;
    transition: transform .25s ease;
}

.card__row:hover .card__row-t{
    color: var(--color-yellow);
    transform: translateX(6px);
}

.card__row:hover .card__row-go{
    transform: translateX(4px);
}
/* 04. Card: head, meta, rows End */

/* 04. Card: head, meta, rows Responsive Start */
@media (max-width: 1280px) {
    .card__title{ font-size: 19px; line-height: 24px; }
}

@media (max-width: 1024px) {
    .card__num{ display: none; }
    .card__title{ font-size: 24px; line-height: 1.25; }
    .card__title::after{ content: ":"; }
    .card__meta{ margin-top: 10px; font-size: 14px; line-height: 1.6; }
    .card__line{ display: none; }
    .card__rows{ margin-top: 20px; }
    .card__row,
    .card__row:last-child{
        justify-content: flex-start;
        min-height: 0;
        padding: 3px 0;
        border-bottom: 0;
    }
    .card__row-t{ font-size: 16px; line-height: 26px; }
    .card__row-t i{ color: var(--color-text-dim); font-weight: 400; }
    .card__row-go{ display: none; }
    .card__row:hover .card__row-t{ transform: none; }
}

@media (max-width: 767px) {
    .card__title{ font-size: 19px; }
    .card__meta{ font-size: 12.5px; letter-spacing: .6px; }
    .card__rows{ margin-top: 16px; }
    .card__row-t{ font-size: 14px; line-height: 22px; letter-spacing: 0; }
    .card__row-t em{ font-size: 12.5px; }
}

@media (max-width: 380px) {
    .card__title{ font-size: 17px; }
    .card__row-t{ font-size: 13px; }
}
/* 04. Card: head, meta, rows Responsive End */


/* 05. Card: "что получит" + tags Start */
/* bottom block sits on the card bottom (cards in a row are equal height) */
.card__foot{
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: auto;
    padding-top: 20px;
}

.card__get{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--color-line);
}

.card__get-link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48.8px;
    padding: 0 20px 0 16px;
    color: var(--color-white);
    font-size: 13px;
    line-height: 20.8px;
    letter-spacing: .4px;
    transition: background-color .25s ease, color .25s ease;
}

.card__get-link + .card__get-link{
    border-left: 1px solid var(--color-line);
}

.card__get-link b{
    flex-shrink: 0;
    color: var(--color-blue);
    font-weight: 400;
    transition: transform .25s ease;
}

.card__get-link:hover{
    background: rgba(247, 181, 0, .06);
    color: var(--color-yellow);
}

.card__get-link:hover b{
    transform: translateX(4px);
}

.card__tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.tag{
    display: inline-flex;
    align-items: center;
    min-height: 37.6px;
    padding: 2px 14px 0;
    border: 1px solid var(--color-line);
    color: var(--color-blue);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.1px;
    white-space: nowrap;
    transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.tag b{
    margin-left: .6em;
    font-weight: 400;
    transition: transform .25s ease;
}

.tag:hover{
    border-color: var(--color-blue);
    background: rgba(46, 184, 255, .07);
}

.tag--y{
    border-color: var(--color-yellow);
    color: var(--color-yellow);
}

.tag--y:hover{
    border-color: var(--color-yellow);
    background: var(--color-yellow);
    color: #000;
}

.tag:hover b{
    transform: translateX(3px);
}
/* 05. Card: "что получит" + tags End */

/* 05. Card: "что получит" + tags Responsive Start */
@media (max-width: 1280px) {
    .card__get-link{ padding: 0 14px 0 12px; font-size: 12px; letter-spacing: .2px; }
}

@media (max-width: 1024px) {
    /* reference format: "> [ ЧТО ПОЛУЧИТ СПЕЦИАЛИСТ ]", "> [ КОРПОРАТИВНОЕ ОБУЧЕНИЕ ] /b2b" */
    .card__foot{ gap: 0; margin-top: 0; padding-top: 0; }
    .card__get{ display: flex; flex-direction: column; border: 0; }
    .card__get-link,
    .card__get-link + .card__get-link{
        justify-content: flex-start;
        gap: 0;
        min-height: 0;
        padding: 3px 0;
        border: 0;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: .2px;
    }
    .card__get-link::before{ content: ">\00a0[\00a0"; color: var(--color-text-dim); }
    .card__get-link::after{ content: "\00a0]"; }
    .card__get-link b{ display: none; }
    .card__get-link:hover{ background: none; }

    .card__tags{ flex-direction: column; align-items: flex-start; gap: 0; }
    .tag,
    .tag--y{
        min-height: 0;
        padding: 3px 0;
        border: 0;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: .2px;
        white-space: normal;
    }
    .tag{ color: var(--color-white); }
    .tag--y{ color: var(--color-yellow); }
    .tag::before{ content: ">\00a0"; color: var(--color-text-dim); }
    .tag:not(.tag--y) span::before{ content: "[\00a0"; }
    .tag:not(.tag--y) span::after{ content: "\00a0]"; }
    .tag[data-path]::after{ content: "\00a0" attr(data-path); color: var(--color-blue); }
    .tag b{ display: none; }
    .tag:hover,
    .tag--y:hover{ background: none; color: var(--color-yellow); }
}

@media (max-width: 767px) {
    .card__get-link,
    .card__get-link + .card__get-link,
    .tag,
    .tag--y{ font-size: 14px; line-height: 22px; letter-spacing: 0; }
}

@media (max-width: 380px) {
    .card__get-link,
    .card__get-link + .card__get-link,
    .tag,
    .tag--y{ font-size: 13px; }
}
/* 05. Card: "что получит" + tags Responsive End */


/* 06. Card: media rows Start */
.card__row-act{
    flex-shrink: 0;
    color: var(--color-blue);
    font-size: 13px;
    line-height: 20.8px;
    white-space: nowrap;
    transition: color .25s ease;
}

.card__row:hover .card__row-act{
    color: var(--color-white);
}
/* 06. Card: media rows End */

/* 06. Card: media rows Responsive Start */
@media (max-width: 1024px) {
    .card__row--media{ flex-wrap: wrap; gap: 0 10px; }
    .card__row-act{ font-size: 13px; line-height: 26px; }
}

@media (max-width: 767px) {
    .card__row-act{ font-size: 11.5px; line-height: 22px; }
}
/* 06. Card: media rows Responsive End */


/* 07. Card: contact form Start */
.form{
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 18px;
}

.form__field{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form__field + .form__field{
    margin-top: 14px;
}

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

.form__input{
    display: block;
    width: 100%;
    height: 45px;
    padding: 0 14px;
    background: var(--color-ink-input);
    border: 1px solid var(--color-line);
    border-radius: 0;
    outline: none;
    font-size: 14px;
    line-height: 18px;
    transition: border-color .25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form__input--area{
    height: 87px;
    padding: 12px 14px;
    resize: vertical;
}

.form__input::placeholder{
    color: var(--color-text-ph);
    opacity: 1;
}

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

.form__input:focus{
    border-color: var(--color-yellow);
}

.form__field.is-error .form__input{
    border-color: #E5484D;
}

.form__field.is-error .form__label{
    color: #E5484D;
}

/* consent */
.form__agree{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 240px;
    color: var(--color-text-dim);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: .3px;
    cursor: pointer;
}

.form__agree input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form__check{
    flex-shrink: 0;
    color: var(--color-text-dim);
    white-space: nowrap;
}

.form__check::before{
    content: "[\00a0\00a0]";
}

.form__agree input:checked + .form__check{
    color: var(--color-yellow);
}

.form__agree input:checked + .form__check::before{
    content: "[x]";
}

.form__agree input:focus-visible + .form__check{
    outline: 1px solid var(--color-yellow);
}

.form__agree.is-error .form__check{
    color: #E5484D;
}

.form__agree a{
    color: var(--color-blue);
    transition: color .2s ease;
}

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

.form__bottom{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: auto;
    padding-top: 20px;
}

.form__btn{
    height: 44px;
    padding: 1px 25px 0;
    background: var(--color-yellow);
    color: var(--color-ink-page);
    font-size: 13px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.3px;
    white-space: nowrap;
    transition: background-color .25s ease;
}

.form__btn:hover{
    background: #FFC52E;
}

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

.form__btn[disabled]{
    opacity: .6;
    cursor: default;
}

.form__status{
    width: 100%;
    color: var(--color-text-dim);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: .4px;
}

.form__status:empty{
    display: none;
}

.form__status.is-ok{ color: var(--color-yellow); }
.form__status.is-error{ color: #E5484D; }
/* 07. Card: contact form End */

/* 07. Card: contact form Responsive Start */
@media (max-width: 1024px) {
    /* reference format: "> ИМЯ: ____" on one line, underline only */
    .form{ margin-top: 20px; }
    .form__field,
    .form__field + .form__field{
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 10px;
        margin-top: 0;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-line);
        transition: border-color .25s ease;
    }
    .form__field:focus-within{ border-color: var(--color-yellow); }
    .form__label{ flex-shrink: 0; font-size: 15px; line-height: 22px; letter-spacing: .4px; }
    .form__label::before{ content: ">\00a0"; }
    .form__label::after{ content: ":"; }
    .form__input,
    .form__input--area{
        flex: 1 1 140px;
        width: auto;
        min-width: 0;
        height: 22px;
        padding: 0;
        background: none;
        border: 0;
        font-size: 15px;
        line-height: 22px;
    }
    .form__input--area{ min-height: 22px; resize: none; }
    .form__input::placeholder{ color: transparent; }
    .form__field.is-error{ border-color: #E5484D; }
    .form__agree{ order: -1; flex: 0 0 100%; margin-bottom: 14px; font-size: 13px; line-height: 20px; }
    .form__bottom{ margin-top: 0; padding-top: 20px; }
    .form__btn{
        height: auto;
        padding: 0;
        background: none;
        color: var(--color-yellow);
        font-size: 17px;
        text-shadow: 0 0 12px rgba(247, 181, 0, .55);
    }
    .form__btn:hover{ background: none; color: #FFC52E; }
}

@media (max-width: 767px) {
    .form__label,
    .form__input,
    .form__input--area{ font-size: 14px; }
    .form__agree{ font-size: 12px; }
    .form__btn{ font-size: 16px; }
}
/* 07. Card: contact form 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 */

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

/* Email newsletter popup (index.php «08b», assets/mainpage/js/subscribe.js) — the cookie banner's look */
html.subs-lock body{ overflow: hidden; }
.subs-backdrop{
    position: fixed;
    inset: 0;
    z-index: 2147483050;
    background: rgba(17, 19, 21, .72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.subs-backdrop[hidden], .subs[hidden]{ display: none; }
.subs{
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 2147483100;
    width: 560px;
    max-width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    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);
    transform: translate(-50%, -50%);
}
.subs::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;
}
.subs__bar{
    display: flex;
    align-items: center;
    gap: 4px;
    height: 34px;
    padding: 0 70px 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;
}
.subs__caret{
    flex-shrink: 0;
    width: 7px;
    height: 13px;
    background: var(--color-yellow);
    animation: amBlink 1s steps(1) infinite;
}
.subs__close{
    position: absolute;
    top: 0;
    right: 8px;
    z-index: 1;
    height: 34px;
    padding: 0 10px;
    color: var(--color-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color .2s ease;
}
.subs__close:hover{ color: var(--color-yellow); }
.subs__body{ padding: 20px; }
.subs__title{
    color: var(--color-white);
    font-size: 15px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: .3px;
}
.subs__form{ margin-top: 14px; min-height: 100px; }
.subs__form iframe{ display: block; max-width: 100%; }

/* 06. «Связаться со Стратопланом» — formdesigner form 233448 in an iframe (its look is set in formdesigner) */
.card__form{ margin-top: 18px; }
.card__form iframe{ display: block; width: 100%; max-width: 100%; }

/* «Связаться» on the whole row (its pair moved up, see mp_wide_slots): the title on the left, the form on the right */
@media (min-width: 1025px){
    .card--06.card--wide{
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        grid-template-rows: auto 1fr;
        column-gap: 56px;
        align-items: start;
    }
    .card--06.card--wide .card__head{ grid-column: 1; grid-row: 1; }
    .card--06.card--wide .card__line{ grid-column: 1; grid-row: 2; align-self: start; }
    .card--06.card--wide .card__form{ grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
