@font-face {
    font-family: Geist;
    src: url("../fonts/Geist-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: Impact;
    src: url("../fonts/ofont.ru_Impact.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat;
    src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: Onest;
    src: url("../fonts/Onest-VariableFont_wght.ttf") format("truetype");
}

:root {
    --scrollbar-track: #0E2432;
    --scrollbar-thumb: #4B81A3;
    --scrollbar-thumb-hover: #2D6283;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
    width: 0.62rem;
    height: 0.62rem;
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--scrollbar-thumb) 0%, var(--scrollbar-thumb-hover) 100%);
    border: 2px solid var(--scrollbar-track);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5D92B3 0%, #366F91 100%);
}

*::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


a,
button,
input,
select,
h1,
h2,
h3,
h4,
h5,
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    background: none;

    -webkit-font-smoothing: antialiased;
}

menu, ol, ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: #fff;
}



.home {
    background: #0E2432 url("../img/bg-simbols.webp") center / cover no-repeat;
    height: 100.7vh;
    border-radius: 0 0 5.25vw 5.25vw;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5vh 5vw 0 5vw;
}

.menu {
    display: flex;
    flex-direction: row;
    gap: 5.16vw;
    font-family: Geist;
    font-size: 1.25vw;
}

.menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.logo {
    width: 5.16vw;
    height: 8.2vh;
}

.block-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 27.17vh;
    text-transform: uppercase;
}

.title {
    font-family: Impact;
    font-size: 9.06vw;
    font-weight: 400;
    color: #fff;
}

.subtitle {
    font-family: Geist;
    font-size: 1.875vw;
    font-weight: 400;
    color: #fff;
}

.block-title__button {
    margin-top: 13.17vh;
    padding: 2.54vh 3.125vw;
    font-family: Geist;
    font-size: 1.6vw;
    font-weight: bold;
    color: #0E2432;
    background-color: #fff;
    border-radius: 4.84vw;
    cursor: pointer;
    text-transform: uppercase;
}

main {
    padding: 0 1.77vw;
    margin: 0 auto;
}

.course-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8.6vh;
    text-align: center;
    font-family: Montserrat;
    font-size: 1.98vw;
    font-weight: 700;
    color: #0E2432;
    max-width: 62.1875vw;
    margin-left: auto;
    margin-right: auto;
}

.learn {
    margin-top: 8.6vh;
    margin: 0 auto;
}

.learn__title {
    font-family: Montserrat;
    font-size: 1.98vw;
    font-weight: 700;
    color: #0E2432;
    text-align: center;
}

.learn__list {
    margin-top: 5.74vh;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3.125vw;
    row-gap: 6.22vh;
    max-width: 85.26vw;
}

.learn__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 23.9vh;
}

.learn__item img {
    max-height: 12.53vh;
}

.learn__item p {
    margin-top: 2.87vh;
    font-family: Montserrat;
    font-size: 0.86vw;
    font-weight: 500;
    color: #4B81A3;
    text-align: center;
    max-width: 13.8vw;
}

.learn__item:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    right: -1.6vw;
    width: 1px;
    height: 100%;
    background-color: #97AEBC;
}

.learn__item:nth-child(n + 4)::before {
    content: "";
    position: absolute;
    top: -3.25vh;
    width: 100%;
    height: 1px;
    background-color: #97AEBC;
}

.programm {
    margin-top: 19.14vh;
    max-width: 80.73vw;
    margin-left: auto;
    margin-right: auto;
}

.programm__title {
    font-family: Montserrat;
    font-size: 2.5vw;
    font-weight: 700;
    color: #0E2432;
    margin-bottom: 5.74vh;
    text-align: center;
}

.programm__grid {
    margin-top: 6.7vh;
    border: 1px solid #2D6283;
    border-radius: 1.67vw;
    overflow: visible;
    min-height: 71.48vh;
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    transition: grid-template-columns 0.25s ease;
}

.programm__stage {
    position: relative;
    min-height: 71.48vh;
    font-family: Geist;
    font-weight: 500;
    color: #1E4964;
    cursor: pointer;
}

.programm__stage + .programm__stage {
    border-left: 1px solid #2D6283;
}

/* Убираем "забор" вокруг активной карточки:
   нет линии слева у активной и справа от активной (линия у следующей карточки) */
.programm__grid .programm__stage.is-active {
    border-left-color: transparent;
}

.programm__grid .programm__stage.is-active + .programm__stage {
    border-left-color: transparent;
}

.programm__stage-compact {
    position: relative;
    z-index: 1;
}

.programm__stage-full {
    display: none;
}

.programm__stage--active {
    background-color: #2D6283;
    color: #FFF;
    border-radius: 1.5625vw;
    min-width: 40.1vw;
    padding: 3.82vh 1.5625vw 2.58vh 1.93vw;
}

.programm__stage--active .programm__stage-compact {
    display: none;
}

.programm__stage--active .programm__stage-full {
    display: block;
}

.programm__top {
    display: flex;
    justify-content: space-between;
    gap: 1.25vw;
    line-height: 0.8;
}

.programm__stage-title {
    font-size: 2.2vw;
    font-weight: 500;
}

.programm__stage-subtitle {
    font-size: 1.46vw;
    color: #A6D2EF;
    font-weight: 400;
    margin-top: 0.67vh;
}

.programm__duration {
    text-align: right;
    font-weight: 500;
    text-align: end;
}

.programm__duration p {
    font-size: 1.875vw;
    line-height: 1;
    white-space: nowrap;
}

.programm__duration span {
    display: block;
    font-size: 0.93vw;
    color: #A6D2EF;
    font-weight: 400;
}

.programm__content {
    margin-top: 5.16vh;
}

.programm__content-title {
    font-size: 1.875vw;
    line-height: 0.8;
    font-weight: 500;
}

.programm__content-text {
    margin-top: 1.53vh;
    display: flex;
}

.programm__content-text p {
    width: 13.75vw;
    font-size: 1.5625vw;
    color: #A6D2EF;
    font-weight: 400;
}

.programm__books {
    margin-top: 4.3vh;
    display: flex;
    gap: 0;
}

.programm__books img {
    display: block;
    width: 13.75vw;
    height: 35.7vh;
}

.programm__book__left {
    border-radius: 1.5625vw 0 0 1.5625vw;
}

.programm__book__right {
    border-radius: 0 1.5625vw 1.5625vw 0;
}

.programm__teachers {
    margin-top: 1.72vh;
    display: flex;
}

.programm__teachers p {
    font-size: 1.04vw;
    color: #A6D2EF;
    margin-top: 1.14vh;
    width: 13.75vw;
    text-align: center;
}

.programm__stage--deactive {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 1.24vh 0.68vw;
}

.programm__stage--deactive .programm__stage-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.programm__badge {
    display: inline-block;
    padding: 0 0.68vw;
    border-radius: 5.2vw;
    background-color: #264E66;
    color: #FFF;
    font-size: 1.8vw;
    font-weight: 700;
    text-transform: uppercase;
}

.programm__duration-main {
    margin-top: 1.62vh;
    font-size: 1.5vw;
    line-height: 0.95;
}

.programm__duration-sub {
    font-size: 0.89vw;
}

.programm__stage-watermark {
    position: absolute;
    inset: 0;
    background: url("../img/programm-frame.webp") center / 82% no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.programm__number {
    position: absolute;
    right: -2.1875vw;
    bottom: -2.3vh;
    z-index: 2;
    width: 6.46vw;
    height: 11.67vh;
    border-radius: 50%;
    border: 0.21vw solid #5B94B7;
    background-color: #FFF;
    color: #17374A;
    font-size: 2.5vw;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.programm__stage:last-child .programm__number {
    right: -0.73vw;
}

.programm__grid .programm__stage {
    transition: opacity 0.36s ease, transform 0.36s ease, padding 0.36s ease;
}

.programm__grid .programm__stage-full {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.36s ease, transform 0.36s ease;
}

.programm__grid .programm__stage-compact {
    opacity: 1;
    transition: opacity 1s ease;
}

.programm__grid .programm__stage.is-active {
    opacity: 1;
}

.programm__grid .programm__stage.is-active .programm__stage-full {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: programmStageReveal 0.36s ease both;
}

.programm__grid .programm__stage.is-active .programm__stage-compact {
    display: none;
}

.programm__grid.is-transitioning .programm__stage.is-active .programm__stage-full {
    display: none;
}

.programm__grid.is-transitioning .programm__stage.is-active .programm__stage-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
}

.programm__grid.is-preparing,
.programm__grid.is-preparing .programm__stage,
.programm__grid.is-preparing .programm__stage-full,
.programm__grid.is-preparing .programm__stage-compact {
    transition: none !important;
    animation: none !important;
}

.programm__grid .programm__stage.is-measuring .programm__stage-full {
    display: block;
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none;
}

.programm__grid {
    transition: grid-template-columns 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes programmStageReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.format {
    margin-top: 20.67vh;
}

.format__title {
    font-family: Montserrat;
    font-size: 2.5vw;
    font-weight: 700;
    color: #0E2432;
    text-align: center;
}

.format__list {
    display: flex;
    flex-direction: row;
    margin: 7.18vh auto 0;
    justify-content: center;
    width: 80%;
    align-items: stretch;
}

.format__item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2vw;
    padding: 0 1.667vw;
    font-family: Geist;
}

.format__item + .format__item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background-color: #3E667E;
}

.format__item h5 {
    font-size: 2.1875vw;
    font-weight: 700;
    color: #fff;
    padding: 0 0.73vw;
    background-color: #264E66;
    border-radius: 1.82vw;
}

.format__item p {
    font-size: 1.25vw;
    font-weight: 500;
    color: #4B81A3;
    text-align: center;
}

.price {
    margin-top: 18.18vh;
}

.price__title {
    font-family: Montserrat;
    font-size: 3.3vw;
    font-weight: 700;
    color: #0E143F;
    text-align: center;
}

.price__list {
    position: relative;
    width: 56.25vw;
    height: 60.29vh;
    margin: 8.04vh auto 0;
}

.price__item {
    position: absolute;
    border-radius: 2.5vw;
}

.price__item h5 {
    font-family: Geist;
    font-size: 3.54vw;
    font-weight: 700;
}

.price__item--small {
    left: 0;
    top: 0;
    width: 43vw;
    height: 43.06vh;
    border: 1px solid #2D6283;
    padding: 3.35vh 2.135vw;
}

.price__item--small h5 {
    color: #17374A;
}

.price__item--full {
    right: 0;
    bottom: 0;
    width: 43vw;
    height: 43.06vh;
    background-color: #173F58;
    padding: 3.06vh 3vw;
    color: #D9E7EF;
}

.price__item--full h5 {
    color: #F2FAFF;
}

.price__subtitle {
    font-family: Geist;
    font-size: 2.5vw;
    font-weight: 500;
    color: #376179;
}

.price__subtitle--full {
    color: #D8F0FF !important;
}

.price__value {
    position: absolute;
    width: 13.8vw;
    height: 15vh;
    border-radius: 100%;
    border: 0.3125vw solid #2D6283;
    background-color: #fff;
    font-family: Geist;
    font-size: 1.823vw;
    font-weight: 500;
    color: #2D6283;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-13deg);
}

.price__item--small .price__value {
    left: -3.4375vw;
    bottom: -2.5vh;
}

.price__item--full .price__value {
    right: -1.354vw;
    bottom: -2.3vh;
}

.price__value span {
    color: #C5943D;
    margin-left: 0.42vw;
}

.record {
    margin-top: 15.3vh;
}

.record__title {
    font-family: Montserrat;
    font-size: 2.6vw;
    font-weight: 700;
    color: #0E143F;
    text-align: center;
}

.record__switch {
    margin: 5.74vh auto 0;
    width: 63%;
    height: 11.87vh;
    border: 1px solid #2E6487;
    border-radius: 5.2vw;
    background-color: #F8FBFD;
    box-shadow: 0.38vh 0.52vw 0 0 #17374A;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.record__switch-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Geist;
    font-size: 1.4vw;
    font-weight: 500;
    color: #17374A;
    text-transform: uppercase;
}

.record__switch-item + .record__switch-item {
    border-left: 1px solid #7E99AB;
}

footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-top: 19.14vh;
    padding: 6.9vh 3.65vw;
    border-radius: 3.64vw 3.64vw 0 0;
    background-color: #0E2432;
    color: #F0F0F0;
    font-family: Geist;
    font-weight: 500;
    font-size: 2.3vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 2.6vw;
    letter-spacing: -0.06em;
}

footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, #A6DCFF 0%, #282A2B 100%);
    filter: blur(120px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}

.footer__refs {
    display: flex;
    flex-direction: column;
    gap: 2.08vw;
    width: 23.49vw;
}

.footer-social {
    align-items: flex-end;
}

.footer-note {
    flex-basis: 100%;
    margin: 0;
    padding-top: 0.6vw;
    font-size: 0.8vw;
    line-height: 1.45;
    letter-spacing: normal;
    text-align: right;
    color: rgba(240, 240, 240, 0.8);
}

.footer-record {
    display: none;
}

footer img {
    height: 16.56vh;
    filter: drop-shadow(0 0 30px rgba(102, 189, 255, 0.28));
}

@media (max-width: 500px) {
    .home {
        position: relative;
        overflow: hidden;
        width: 91.795vw;
        height: 194.88vw;
        margin: 4.1vw auto 0;
        border-radius: 7.7vw 0 7.7vw 7.7vw;
        background:
            url("../img/bg-simbols.webp") center / cover no-repeat,
            url("../img/bg-adaptive-home.svg") center / cover no-repeat;
    }

    header {
        padding: 0;
        align-items: normal;
        transition: opacity 0.1s ease, visibility 0.1s ease;
    }

    main {
        padding: 0;
        margin: 0 4.1vw;
    }

    .logo {
        width: 10.77vw;
        height: 11.8vw;
        margin: 3.6vw 0 0 5.64vw;
    }

    .menu {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 3;
        width: 12.82vw;
        height: 12.82vw;
        border-radius: 50%;
        background-color: #122D3E;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.282vw;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 5.13vw;
        height: 1px;
        background-color: #fff;
    }

    .block-title {
        position: relative;
        margin-top: 60%;
        padding: 4.1vw 4.1vw;
        z-index: 1;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .title {
        font-family: Impact;
        font-size: 17.18vw;
        font-weight: 400;
        line-height: 0.95;
        text-align: center;
    }

    .subtitle {
        margin-top: 2vw;
        font-family: Arial, sans-serif;
        font-size: 4.62vw;
        font-weight: 400;
        line-height: 1.1;
        text-align: center;
    }

    .block-title__button {
        display: none;
    }

    .mobile-menu-overlay {
        position: absolute;
        inset: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 4.1vw;
        background: rgb(255, 255, 255);
        border-radius: inherit;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .home.menu-open .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home.menu-open {
        background: #fff;
    }

    .home.menu-open > header,
    .home.menu-open > .block-title {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .home.menu-open ~ main,
    .home.menu-open ~ footer {
        filter: blur(6px);
    }

    .mobile-menu-close {
        width: 12.82vw;
        height: 12.82vw;
        border-radius: 50%;
        background-color: #122D3E;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
    }

    .mobile-menu-close span {
        position: absolute;
        width: 6.41vw;
        height: 2px;
        background-color: #fff;
    }

    .mobile-menu-close span:first-child {
        transform: rotate(45deg);
    }

    .mobile-menu-close span:last-child {
        transform: rotate(-45deg);
    }

    .mobile-menu-panel {
        flex: 0 0 auto;
        border-radius: 7.69vw;
        background: linear-gradient(140deg, #163C58 0%, #0E2432 100%);
        padding: 6.41vw;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 10.513vw;
    }

    .mobile-menu-links,
    .mobile-menu-social {
        display: flex;
        flex-direction: column;
        gap: 3.08vw;
    }

    .mobile-menu-social {
        align-items: flex-end;
    }

    .mobile-menu-links a,
    .mobile-menu-social a {
        font-family: Geist;
        font-size: 6.15vw;
        font-weight: 400;
        color: #F0F0F0;
        line-height: 1.1;
    }

    .mobile-menu-brand {
        position: relative;
        width: fit-content;
        margin: 4.86vh auto;
        padding: 1.56vw 3.08vw;
        font-family: Impact;
        font-size: 5.64vw;
        font-weight: 400;
        text-transform: uppercase;
        color: #0E2432;
        -webkit-text-stroke: 1px #3C6681;
        z-index: 0;
    }

    .mobile-menu-brand::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 350px;
        height: 115.384vw;
        transform: translate(-50%, -50%);
        border-radius: 999px;
        background: radial-gradient(circle, #9EADFF 0%, #282A2B 100%);
        opacity: 0.1;
        filter: blur(6px);
        z-index: -1;
        pointer-events: none;
    }

    .course-highlight {
        margin-top: 6vh;
        max-width: 100%;
    }

    .course-highlight h3 {
        font-size: 5.13vw;
    }

    .learn__title {
        margin-top: 11.9vh;
        font-size: 5.13vw;
        width: 65.9vw;
        margin-left: auto;
        margin-right: auto;
    }

    .learn__list {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        row-gap: 0;
    }

    .learn__item {
        border-bottom: 1px solid #97AEBC;
        height: 27.38vh;
    }

    .learn__item::after {
        display: none;
    }
    
    .learn__item::before {
        display: none;
    }

    .learn__item:last-child {
        border-bottom: none;
    }

    .learn__item img {
        height: 11.9vh;
    }

    .learn__item p {
        font-size: 4.36vw;
        max-width: 100%;
    }

    .programm__title {
        width: 51.28vw;
        margin: 0 auto 2.86vh;
        font-size: 5.64vw;
    }

    .programm {
        margin-top: 19.64vh;
        max-width: 100%;
    }

    .programm__grid {
        margin-top: 0;
        min-height: auto;
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        gap: 4.2vh;
        overflow: visible;
        transition: none;
    }

    .programm__stage,
    .programm__stage--active,
    .programm__stage--deactive,
    .programm__grid .programm__stage {
        min-height: auto;
        width: 100%;
        padding: 2.86vh 3.59vw 2.38vh;
        border-radius: 7.7vw;
        background-color: #2D6283;
        color: #fff;
        cursor: default;
        border-left: none;
        opacity: 1;
        transform: none;
        transition: none;
        text-align: center;
    }

    .programm__stage + .programm__stage {
        border-left: none;
    }

    .programm__stage-compact,
    .programm__stage--deactive .programm__stage-compact,
    .programm__grid .programm__stage-compact,
    .programm__grid .programm__stage.is-active .programm__stage-compact {
        display: none !important;
    }

    .programm__stage-full,
    .programm__stage--active .programm__stage-full,
    .programm__grid .programm__stage-full,
    .programm__grid .programm__stage.is-active .programm__stage-full,
    .programm__grid.is-transitioning .programm__stage .programm__stage-full {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .programm__top {
        margin-top: 2.86vh;
        display: block;
        line-height: 1;
        text-align: center;
    }

    .programm__stage-title {
        font-size: 9vw;
    }

    .programm__stage-subtitle {
        margin-top: 0.83vh;
        font-size: 6.15vw;
    }

    .programm__duration {
        margin-top: 2.86vh;
        text-align: center;
    }

    .programm__duration p {
        font-size: 6.15vw;
    }

    .programm__duration span {
        font-size: 4.1vw;
    }

    .programm__content {
        margin-top: 7.02vh;
        text-align: center;
    }

    .programm__content-title {
        font-size: 6.15vw;
    }

    .programm__content-text {
        margin-top: 1.79vh;
        flex-direction: column;
        gap: 1vw;
        align-items: center;
        text-align: center;
    }

    .programm__content-text p {
        width: auto;
        font-size: 5.13vw;
        text-align: center;
    }

    .programm__books {
        margin-top: 5.95vh;
        justify-content: center;
    }

    .programm__books img {
        width: 43.08vw;
        height: 28.2vh;
    }

    .programm__book__left {
        border-radius: 7.7vw 0 0 7.7vw;
    }

    .programm__book__right {
        border-radius: 0 7.7vw 7.7vw 0;
    }

    .programm__teachers {
        margin-top: 2.38vh;
        justify-content: center;
        gap: 5.13vw;
        text-align: center;
    }

    .programm__teachers p {
        width: 36.67vw;
        font-size: 4.1vw;
        text-align: center;
    }

    .programm__number {
        width: 14.36vw;
        height: 6.67vh;
        right: -2.56vw;
        bottom: -2.38vh;
        font-size: 8.36vw;
        border-width: 0.512vw;
        margin-top: 0;
        position: absolute;
    }

    .format__title {
        font-size: 5.64vw;
    }

    .format__list {
        width: 100%;
        margin-top: 0;
        flex-direction: column;
    }

    .format__item {
        gap: 3.85vw;
        padding: 8.06vh 0;
    }

    .format__item:first-child {
        padding: 5.92vh 0 8.06vh 0;
    }

    .format__item:last-child {
        padding: 8.06vh 0 0 0;
    }

    .format__item + .format__item::before {
        top: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 1px;
    }

    .format__item h5 {
        font-size: 7.7vw;
        border-radius: 6.15vw;
        padding: 0 2.5vw;
    }

    .format__item p {
        font-size: 5.128vw;
    }

    .price {
        margin-top: 18.36vh;
    }

    .price__title {
        font-size: 5.64vw;
    }

    .price__list {
        width: 100%;
        height: 30vh;
        margin-top: 3.55vh;
    }

    .price__item {
        width: 62.5vw;
        height: 15.76vh;
        padding: 1.78vh 5.128vw;
        border-radius: 3.85vw;
    }

    .price__item--small {
        right: 20vw;
        left: inherit;
        top: 0;
    }

    .price__item--full {
        left: 20vw;
        right: inherit;
        bottom: 0;
    }

    .price__item h5 {
        font-size: 4.615vw;
    }

    .price__subtitle {
        font-size: 3.58vw;
    }

    .price__value {
        width: 20vw;
        height: 5.45vh;
        font-size: 2.56vw;
        border-width: 2px;
    }

    .price__item--small .price__value {
        left: -10vw;
        bottom: -1.185vh;
    }

    .price__item--full .price__value {
        right: -10vw;
        bottom: -0.95vh;
    }

    .price__value span {
        margin-left: 0.77vw;
    }

    main .record {
        margin-top: 7.1vh;
    }

    main .record .record__title {
        font-family: Geist;
        font-size: 4.615vw;
        font-weight: 500;
        color: #17374A;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 1.66vh;
    }

    main .record .record__switch {
        width: 91.28vw;
        max-width: 100%;
        height: 3.08vh;
        margin: 0 auto;
        border-radius: 999px;
        background-color: #F8FBFD;
        box-shadow: 1px 2px 0 0 #17374A;
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
    }

    main .record .record__switch-item {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: Geist;
        font-size: 2.56vw;
        line-height: 1;
        color: #17374A;
        text-transform: uppercase;
    }

    main .record .record__switch-item + .record__switch-item {
        border-left: 1px solid #7E99AB;
    }

    footer {
        margin-top: 6vh;
        padding: 2.37vh 4.36vw 2.05vh 4.36vw;
        border-radius: 0;
        display: grid;
        grid-template-columns: 25.64vw 1fr;
        grid-template-areas:
            "logo info"
            "social social"
            "record record"
            "note note";
        align-items: start;
        letter-spacing: normal;
        background-color: #142C3C;
    }

    footer img,
    .footer-logo {
        grid-area: logo;
        width: 25.64vw;
        height: 12.7vh;
        justify-self: start;
        align-self: start;
    }

    .footer__refs {
        width: 91.28vw;
        max-width: 100%;
        gap: 3.59vw;
    }

    .footer-info {
        grid-area: info;
        width: 51.28vw;
        align-items: flex-end;
        justify-self: end;
    }

    .footer-social {
        display: none;
        grid-area: social;
        width: 91.28vw;
        max-width: 100%;
        margin: 6.1vh 0 0;
        align-items: flex-end;
    }

    .footer-record {
        display: block;
        grid-area: record;
        width: 91.28vw;
        max-width: 100%;
        margin: 4vh 0 auto;
    }

    .footer-note {
        grid-area: note;
        padding-top: 5vw;
        font-size: 3.1vw;
        line-height: 1.35;
        text-align: right;
    }

    .footer-record .record__title {
        text-align: center;
        font-family: Geist;
        font-size: 5.384vw;
        font-weight: 500;
        color: #E0F3FF;
        line-height: 1.2;
        margin-bottom: 1.65vh;
    }

    .footer-record .record__switch {
        width: 91.28vw;
        max-width: 100%;
        height: 3.08vh;
        margin: 0 auto;
        border-radius: 999px;
        background-color: #F8FBFD;
        box-shadow: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
    }

    .footer-record .record__switch-item {
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: Geist;
        font-size: 2.564vw;
        line-height: 1;
        color: #17374A;
        text-transform: uppercase;
    }

    .footer-record .record__switch-item + .record__switch-item {
        border-left: 1px solid #7E99AB;
    }

    footer a {
        display: block;
        font-size: 6.154vw;
        line-height: 1;
        text-align: right;
        letter-spacing: normal;
        white-space: nowrap;
    }
    
    .footer-info a {
        letter-spacing: -0.06em;
        font-weight: 400;
        text-align: right;
    }

}

@media (min-width: 1920px) {
    
.home {
    background: #0E2432 url("../img/bg-simbols.webp") center / cover no-repeat;
    height: 1052px;
    border-radius: 0 0 100px 100px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 52px 36px 0 95px;
}

.menu {
    display: flex;
    flex-direction: row;
    gap: 99px;
    /* width: 674px; */
    font-family: Geist;
    font-size: 24px;
}

.menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.logo {
    width: 100px;
    height: 86px;
}

.block-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 284px;
    text-transform: uppercase;
}

.title {
    font-family: Impact;
    font-size: 174px;
    font-weight: 400;
    color: #fff;
}

.subtitle {
    font-family: Geist;
    font-size: 36px;
    font-weight: 400;
    color: #fff;
}

.block-title__button {
    margin-top: 137px;
    padding: 26.5px 60px;
    font-family: Geist;
    font-size: 31px;
    font-weight: bold;
    color: #0E2432;
    background-color: #fff;
    border-radius: 93px;
    cursor: pointer;
    text-transform: uppercase;
}

main {
    padding: 0 34px;
}

.course-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 90px;
    text-align: center;
    font-family: Montserrat;
    font-size: 38px;
    font-weight: 700;
    color: #0E2432;
    max-width: 1194px;
    margin-left: auto;
    margin-right: auto;
}

.learn {
    margin-top: 90px;
    margin: 0 auto;
}

.learn__title {
    font-family: Montserrat;
    font-size: 38px;
    font-weight: 700;
    color: #0E2432;
    text-align: center;
}

.learn__list {
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 60px;
    row-gap: 65px;
    max-width: 1637px;
}

.learn__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 250px;
}

.learn__item img {
    max-height: 131px;
}

.learn__item p {
    margin-top: 30px;
    font-family: Montserrat;
    font-size: 17px;
    font-weight: 500;
    color: #4B81A3;
    text-align: center;
    max-width: 265px;
}

.learn__item:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    right: -31px;
    width: 1px;
    height: 100%;
    background-color: #97AEBC;
}

.learn__item:nth-child(n + 4)::before {
    content: "";
    position: absolute;
    top: -34px;
    width: 100%;
    height: 1px;
    background-color: #97AEBC;
}

.programm {
    margin-top: 200px;
    max-width: 1550px;
    margin-left: auto;
    margin-right: auto;
}

.programm__title {
    font-family: Montserrat;
    font-size: 48px;
    font-weight: 700;
    color: #0E2432;
    margin-bottom: 60px;
    text-align: center;
}

.programm__grid {
    margin-top: 70px;
    border: 1px solid #2D6283;
    border-radius: 32px;
    overflow: visible;
    min-height: 747px;
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    transition: grid-template-columns 0.25s ease;
}

.programm__stage {
    position: relative;
    min-height: 747px;
    font-family: Geist;
    font-weight: 500;
    color: #1E4964;
    cursor: pointer;
}

.programm__stage + .programm__stage {
    border-left: 1px solid #2D6283;
}

/* Убираем "забор" вокруг активной карточки:
   нет линии слева у активной и справа от активной (линия у следующей карточки) */
.programm__grid .programm__stage.is-active {
    border-left-color: transparent;
}

.programm__grid .programm__stage.is-active + .programm__stage {
    border-left-color: transparent;
}

.programm__stage-compact {
    position: relative;
    z-index: 1;
}

.programm__stage-full {
    display: none;
}

.programm__stage--active {
    background-color: #2D6283;
    color: #FFF;
    border-radius: 30px;
    min-width: 770px;
    padding: 40px 30px 27px 37px;
}

.programm__stage--active .programm__stage-compact {
    display: none;
}

.programm__stage--active .programm__stage-full {
    display: block;
}

.programm__top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    line-height: 0.8;
}

.programm__stage-title {
    font-size: 42px;
    font-weight: 500;
}

.programm__stage-subtitle {
    font-size: 28px;
    color: #A6D2EF;
    font-weight: 400;
    margin-top: 7px;
}

.programm__duration {
    text-align: right;
    font-weight: 500;
    text-align: end;
}

.programm__duration p {
    font-size: 36px;
    line-height: 1;
    white-space: nowrap;
}

.programm__duration span {
    display: block;
    font-size: 18px;
    color: #A6D2EF;
    font-weight: 400;
}

.programm__content {
    margin-top: 54px;
}

.programm__content-title {
    font-size: 36px;
    line-height: 0.8;
    font-weight: 500;
}

.programm__content-text {
    margin-top: 16px;
    display: flex;
}

.programm__content-text p {
    width: 264px;
    font-size: 30px;
    color: #A6D2EF;
    font-weight: 400;
}

.programm__books {
    margin-top: 45px;
    display: flex;
    gap: 0;
}

.programm__books img {
    display: block;
    width: 264px;
    height: 373px;
}

.programm__book__left {
    border-radius: 30px 0 0 30px;
}

.programm__book__right {
    border-radius: 0 30px 30px 0;
}

.programm__teachers {
    margin-top: 18px;
    display: flex;
}

.programm__teachers p {
    font-size: 20px;
    color: #A6D2EF;
    margin-top: 12px;
    width: 264px;
    text-align: center;
}

.programm__stage--deactive {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 13px;
}

.programm__stage--deactive .programm__stage-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.programm__badge {
    display: inline-block;
    padding: 0 13px;
    border-radius: 100px;
    background-color: #264E66;
    color: #FFF;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
}

.programm__duration-main {
    margin-top: 17px;
    font-size: 33px;
    line-height: 0.95;
}

.programm__duration-sub {
    font-size: 17px;
}

.programm__stage-watermark {
    position: absolute;
    inset: 0;
    background: url("../img/programm-frame.webp") center / 82% no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.programm__number {
    position: absolute;
    right: -42px;
    bottom: -24px;
    z-index: 2;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    border: 4px solid #5B94B7;
    background-color: #FFF;
    color: #17374A;
    font-size: 48px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.programm__stage:last-child .programm__number {
    right: -14px;
}

.programm__grid .programm__stage {
    min-width: 0;
    transition: opacity 0.36s ease, transform 0.36s ease, padding 0.36s ease;
}

.programm__grid .programm__stage-full {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.36s ease, transform 0.36s ease;
}

.programm__grid .programm__stage-compact {
    opacity: 1;
    transition: opacity 1s ease;
}

.programm__grid .programm__stage.is-active {
    opacity: 1;
}

.programm__grid .programm__stage.is-active .programm__stage-full {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: programmStageReveal 0.36s ease both;
}

.programm__grid .programm__stage.is-active .programm__stage-compact {
    display: none;
}

.programm__grid.is-transitioning .programm__stage.is-active .programm__stage-full {
    display: none;
}

.programm__grid.is-transitioning .programm__stage.is-active .programm__stage-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
}

.programm__grid.is-preparing,
.programm__grid.is-preparing .programm__stage,
.programm__grid.is-preparing .programm__stage-full,
.programm__grid.is-preparing .programm__stage-compact {
    transition: none !important;
    animation: none !important;
}

.programm__grid .programm__stage.is-measuring .programm__stage-full {
    display: block;
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none;
}

@media (min-width: 1321px) {
    .programm__grid.is-active-0 {
        grid-template-columns: 2.2fr 1fr 1fr 1fr;
    }

    .programm__grid.is-active-1 {
        grid-template-columns: 1fr 2.2fr 1fr 1fr;
    }

    .programm__grid.is-active-2 {
        grid-template-columns: 1fr 1fr 2.2fr 1fr;
    }

    .programm__grid.is-active-3 {
        grid-template-columns: 1fr 1fr 1fr 2.2fr;
    }
}

.programm__grid {
    transition: grid-template-columns 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes programmStageReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.format {
    margin-top: 210px;
}

.format__title {
    font-family: Montserrat;
    font-size: 48px;
    font-weight: 700;
    color: #0E2432;
    text-align: center;
}

.format__list {
    display: flex;
    flex-direction: row;
    margin: 75px auto 0;
    justify-content: center;
    width: 80%;
    align-items: stretch;
}

.format__item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 23px;
    padding: 0 16px;
    font-family: Geist;
}

.format__item + .format__item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background-color: #3E667E;
}

.format__item h5 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    padding: 0 14px;
    background-color: #264E66;
    border-radius: 35px;
}

.format__item p {
    font-size: 24px;
    font-weight: 500;
    color: #4B81A3;
    text-align: center;
}

.price {
    margin-top: 210px;
}

.price__title {
    font-family: Montserrat;
    font-size: 64px;
    font-weight: 700;
    color: #0E143F;
    text-align: center;
}

.price__list {
    position: relative;
    width: 1250px;
    height: 630px;
    margin: 84px auto 0;
}

.price__item {
    position: absolute;
    border-radius: 48px;
}

.price__item h5 {
    font-family: Geist;
    font-size: 68px;
    font-weight: 700;
}

.price__item--small {
    left: 0;
    top: 0;
    width: 826px;
    height: 450px;
    border: 1px solid #2D6283;
    padding: 35px 41px;
}

.price__item--small h5 {
    color: #17374A;
}

.price__item--full {
    right: 0;
    bottom: 0;
    width: 826px;
    height: 450px;
    background-color: #173F58;
    padding: 32px 58px;
    color: #D9E7EF;
}

.price__item--full h5 {
    color: #F2FAFF;
}

.price__subtitle {
    font-family: Geist;
    font-size: 48px;
    font-weight: 500;
    color: #376179;
}

.price__value {
    position: absolute;
    width: 265px;
    height: 157px;
    border-radius: 100%;
    border: 6px solid #2D6283;
    background-color: #fff;
    font-family: Geist;
    font-size: 35px;
    font-weight: 500;
    color: #2D6283;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-13deg);
}

.price__item--small .price__value {
    left: -66px;
    bottom: -26px;
}

.price__item--full .price__value {
    right: -26px;
    bottom: -24px;
}

.price__value span {
    color: #C5943D;
    margin-left: 8px;
}

.record {
    margin-top: 160px;
}

.record__title {
    font-family: Montserrat;
    font-size: 50px;
    font-weight: 700;
    color: #0E143F;
    text-align: center;
}

.record__switch {
    margin: 60px auto 0;
    width: 63%;
    height: 124px;
    border: 1px solid #2E6487;
    border-radius: 100px;
    background-color: #F8FBFD;
    box-shadow: 4px 10px 0 0 #17374A;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.record__switch-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Geist;
    font-size: 27px;
    font-weight: 500;
    color: #17374A;
    text-transform: uppercase;
}

.record__switch-item + .record__switch-item {
    border-left: 1px solid #7E99AB;
}
footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-top: 200px;
    padding: 72px 70px;
    border-radius: 70px 70px 0 0;
    background-color: #0E2432;
    color: #F0F0F0;
    font-family: Geist;
    font-weight: 500;
    font-size: 44px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.06em;
}

footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, #A6DCFF 0%, #282A2B 100%);
    filter: blur(120px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}

.footer__refs {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 451px;
}

.footer-social {
    align-items: flex-end;
}

.footer-record {
    display: none;
}

footer img {
    height: 173px;
    filter: drop-shadow(0 0 30px rgba(102, 189, 255, 0.28));
}
}
