@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Regular.woff2') format('woff2'),
    url('/fonts/Onest-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-Medium.woff2') format('woff2'),
    url('/fonts/Onest-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest-SemiBold.woff2') format('woff2'),
    url('/fonts/Onest-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-family: "Onest", sans-serif;
    --header-height: 72px;

    @media (max-width: 768px) {
        --header-height: 54px;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    font-family: var(--font-family), sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: #ffffff;
    background-color: #0D1117;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw;

    &.hide-scroll {
        overflow: hidden;
    }
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    line-height: 1.2;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.main {
    flex: 1;
}

/* --------------------------------------------------------------------------
   Переиспользуемые элементы (повторяются на всех страницах)
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 48px 0;

    @media (max-width: 768px) {
        padding: 34px 0;
    }
}

.section__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 38px;

    @media (max-width: 768px) {
        margin-bottom: 26px;
    }
}

.section-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.6);
    transition: transform .4s ease, opacity .4s ease;

    @media (max-width: 768px) {
        font-size: 17px;
        line-height: 140%;
    }
}

.eyebrow {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    transition: transform .4s ease, opacity .4s ease;

    @media (max-width: 768px) {
        font-size: 14px;
        line-height: 140%;
    }
}

.h2_header {
    font-weight: 500;
    font-size: 38px;
    line-height: 115%;
    letter-spacing: -0.02em;
    color: #fff;
    transition: transform .4s ease, opacity .4s ease;

    @media (max-width: 768px) {
        font-size: 32px;
        line-height: 114%;
    }
}

/* Анимации */
.section._animate:not(._animated) {
    .eyebrow,
    .h2_header,
    .section-description {
        transform: translateY(20px);
        opacity: 0;
    }
}

ul.list {
    display: flex;
    flex-direction: column;
    gap: 8px;

    &:not(:last-child) {
        margin-bottom: 16px;
    }

    li {
        position: relative;
        padding-left: 16px;
        margin-left: 4px;

        &:before {
            content: '';
            width: 4px;
            height: 4px;
            border-radius: 100%;
            display: block;
            position: absolute;
            left: 0;
            top: 8px;
            background: currentColor;
        }
    }
}

.table {
    border: 1px solid color-mix(currentcolor 20%, transparent 30%);
    border-radius: 16px;
    overflow: hidden;

    &:not(:last-child) {
        margin-bottom: 16px;
    }

    table {
        width: 100%;

        thead {
            background: color-mix(currentcolor 20%, transparent 30%);
        }

        tr:not(:last-child) {
            border-bottom: 1px solid color-mix(currentcolor 20%, transparent 30%);
        }

        td {
            padding: 8px 12px;
        }
    }

    @media (max-width: 768px) {
        overflow: auto;

        table {
            min-width: 500px;
        }
    }
}

/* --------------------------------------------------------------------------
   Формы
   -------------------------------------------------------------------------- */
.form-control {
    width: 100%;

    label {
        font-weight: 500;
        line-height: 124%;
        letter-spacing: -0.02em;
        margin-bottom: 10px;
        display: block;
    }

    @media (max-width: 768px) {
        label {
            margin-bottom: 8px;
        }
    }
}

.form-input {
    border-radius: 16px;
    width: 100%;
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;

    input {
        background: transparent;
        border: none;
        width: 100%;
        height: 16px;
        font-weight: 700;
        color: #fff;
        flex: 1;

        &:focus {
            outline: none;
        }
    }
}

.form-input-badge {
    font-weight: 700;
    line-height: 16px;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease,
    color .3s ease,
    border-color 0.3s ease,
    transform 0.1s ease;
    position: relative;
    border-radius: 16px;
    padding: 19px 42px;
    background: linear-gradient(200deg, #2595e9 6.98%, #006bff 47.03%, #009fff 89.46%);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    line-height: 14px;

    &:hover,
    &:focus-visible {
        background: linear-gradient(200deg, #237fc5 6.98%, #0a64df 47.03%, #1a8cd1 89.46%);
        cursor: pointer;
    }

    &:active {
        transform: scale(0.96);
    }

    @media (max-width: 768px) {
        font-size: 14px;
    }
}

.button--transparent {
    border: 1.50px solid #fff;
    border-radius: 16px;
    background: transparent;

    &:hover {
        background: #fff;
        color: #0052FF;
    }
}

.button--primary {
    background: #fff;
    color: #0052FF;
    border: 1.50px solid #fff;

    &:hover {
        background: transparent;
        color: #fff;
    }
}

.button--small {
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 14px;
}

.button--full {
    width: 100%;
}

/* Полная ширина кнопки — только на мобильных */
@media (max-width: 768px) {
    .button--full-mobile {
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */
.header {
    display: flex;
    align-items: center;
    height: var(--header-height);
    position: absolute;
    top: 0;
    width: 100%;

    .header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header__logo,
    .header__menu,
    .header__buttons {
        transition: transform .4s ease, opacity .4s ease;
    }

    .header__menu {
        transition-delay: .1s;

        ul {
            display: flex;
            align-items: center;
            gap: 28px;

            a {
                font-weight: 500;
                font-size: 12px;
                text-transform: uppercase;
                text-wrap: nowrap;
                color: #fff;

                &:hover {
                    color: rgba(255, 255, 255, 0.8);
                }
            }
        }
    }

    .header__buttons {
        display: flex;
        align-items: center;
        gap: 8px;
        transition-delay: .2s;

        .button {
            line-height: 14px;
        }

        .button--transparent {
            border-color: rgba(255, 255, 255, 0.2);
        }
    }

    .header__mobile {
        display: none;
    }

    @media (max-width: 1024px) {
        .header__menu,
        .header__buttons {
            display: none;
        }

        .header__mobile {
            display: block;
        }
    }

    &:not(._animated) {
        .header__logo,
        .header__buttons,
        .header__menu {
            transform: translateY(-20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   Мобильное меню
   -------------------------------------------------------------------------- */
.mobile-menu {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    height: 100%;
    width: 100%;
    max-width: 600px;
    background: #0D1117;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 405;
    padding: 20px;
    overflow-y: auto;
    transition: transform .4s ease;

    &:not(.open) {
        transform: translateX(-100%);
        pointer-events: none;
    }

    .mobile-menu__header {
        margin-bottom: 20px;
        display: flex;
        justify-content: flex-end;
    }

    .mobile-menu__close {
        border-radius: 12px;
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu__menu {
        flex: 1;
        margin-bottom: 20px;

        ul {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        a {
            font-weight: 500;
            font-size: 14px;
            text-transform: uppercase;
            color: #fff;
        }
    }

    .mobile-menu__footer {
        display: flex;
        flex-direction: column;
        gap: 8px;

        .button {
            padding-left: 0;
            padding-right: 0;
        }
    }
}

.mobile-menu-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100dvw;
    height: 100dvh;
    z-index: 400;
    background: rgba(0,0,0,.5);
    transition: opacity .4s ease;

    .mobile-menu:not(.open) + & {
        opacity: 0;
        pointer-events: none;
    }
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */
.footer {
    padding: 48px 0;

    .footer__content {
        display: grid;
        grid-template-columns: 300px repeat(3, 1fr);
        grid-gap: 70px;
        margin-bottom: 28px;
    }

    .footer__logo {
        margin-bottom: 32px;
    }

    .footer__company-description {
        font-size: 14px;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.56);
    }

    .footer__menu-title {
        font-weight: 600;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 22px;
    }

    .footer__menu-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer__menu-link {
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.56);
        transition: color .3s ease;
        text-wrap: nowrap;

        &:hover {
            color: #fff;
        }
    }

    .footer__license {
        margin-bottom: 38px;
    }

    .footer__contacts {
        margin-bottom: 38px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__contacts-item {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;

        span {
            letter-spacing: -0.02em;
            color: rgba(255, 255, 255, 0.7);
        }

        a {
            font-weight: 600;
            font-size: 20px;
            letter-spacing: -0.02em;
            color: rgba(255, 255, 255, 0.9);

            &:hover {
                text-decoration: underline;
            }
        }
    }

    .footer__copyrights {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 38px;
        display: flex;
        justify-content: space-between;
    }

    .footer__copyrights-text {
        font-size: 14px;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.3);
    }

    @media (max-width: 1200px) {
        .footer__content {
            grid-gap: 15px;
        }
    }

    @media (max-width: 1024px) {
        .footer__content {
            grid-template-columns: repeat(3, 1fr);
            grid-template-areas: "logo logo logo"
                                "menu1 menu2 menu3";
            grid-gap: 15px;
        }

        .footer__company {
            grid-area: logo;
            max-width: 300px;
            margin-bottom: 30px;
        }

        .footer__menu--1 {
            grid-area: menu1;
        }

        .footer__menu--2 {
            grid-area: menu2;
        }

        .footer__menu--3 {
            grid-area: menu3;
        }
    }

    @media (max-width: 768px) {
        padding: 40px 0 20px;

        .footer__content {
            grid-template-columns: 1fr;
            grid-template-areas: "logo" "menu1" "menu2" "menu3";
            grid-gap: 26px;
        }

        .footer__company {
            margin-bottom: 0;
            max-width: unset;
        }

        .footer__logo {
            margin-bottom: 14px;
            max-width: 150px
        }

        .footer__company-description {
            font-size: 14px;
            font-weight: 400;
            line-height: 140%;
        }

        .footer__menu-title {
            font-size: 15px;
            margin-bottom: 16px;
        }

        .footer__menu-link {
            font-size: 14px;
            font-weight: 400;
            line-height: 140%;
        }

        .footer__contacts {
            grid-template-columns: 1fr;
            grid-gap: 16px;
        }

        .footer__contacts-item {
            gap: 6px;

            span {
                font-weight: 400;
                font-size: 15px;
                line-height: 140%;
            }

            a {
                font-size: 15px;
                line-height: 140%;
            }
        }

        .footer__copyrights {
            border-top: 0;
            padding-top: 0;
            flex-direction: column;
            gap: 4px;
        }

        .footer__copyrights-text {
            font-size: 12px;
            line-height: 140%;
        }
    }
}

.license {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    padding: 28px;
    display: flex;
    gap: 22px;

    .license__inner {
        flex: 1;
    }

    .license__title {
        font-weight: 600;
        font-size: 20px;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 10px;
    }

    .license__content {
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 28px;

        p:not(:last-child) {
            margin-bottom: 10px;
        }
    }

    .license__button .button {
        border-color: rgba(255, 255, 255, 0.12);
    }

    @media (max-width: 768px) {
        flex-direction: column;
        padding: 14px;

        .license__title {
            font-size: 16px;
            line-height: 140%;
        }

        .license__content {
            font-size: 14px;
            line-height: 160%;
            font-weight: 400;
            margin-bottom: 20px;
        }

        .license__button .button {
            width: 100%;
            padding: 14px 0;
            line-height: 16px;
        }
    }
}

/* --------------------------------------------------------------------------
   Первый блок
   -------------------------------------------------------------------------- */
.hero {
    background: url(images/hero_background.png) no-repeat;
    background-size: cover;
    padding-top: calc(var(--header-height) + 33px);
    border-radius: 0 0 32px 32px;
    overflow: hidden;

    .hero__inner {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .hero__content {
        width: 100%;
        max-width: 659px;
        margin: 30px 0;
    }

    .hero__title,
    .hero__description,
    .hero__ps,
    .hero__cta {
        transition: transform .4s ease, opacity .4s ease;
    }

    .hero__image {
        transition: transform .7s ease, opacity .7s ease;
    }

    .hero__title {
        font-weight: 600;
        font-size: 48px;
        line-height: 98%;
        letter-spacing: -0.02em;
        color: #fff;
        margin-bottom: 22px;
    }

    .hero__description {
        font-size: 18px;
        line-height: 132%;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 22px;
        transition-delay: .1s;
    }

    .hero__ps {
        font-size: 14px;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.3);
        margin-bottom: 50px;
        transition-delay: .2s;
    }

    .hero__cta {
        display: flex;
        align-items: center;
        gap: 8px;
        transition-delay: .3s;
    }

    .hero__image {
        width: 40%;
        align-self: flex-end;
    }

    @media (max-width: 1024px) {
        .hero__inner {
            flex-direction: column;
            gap: 30px;
        }

        .hero__image {
            align-self: center;
        }
    }

    @media (max-width: 768px) {
        padding-top: var(--header-height);

        .hero__inner {
            gap: 0;
        }

        .hero__title {
            font-size: 32px;
            line-height: 114%;
            margin-bottom: 12px;
        }

        .hero__description {
            font-size: 20px;
            line-height: 135%;
            margin-bottom: 12px;
        }

        .hero__ps {
            font-size: 14px;
            line-height: 160%;
            margin-bottom: 24px;
        }

        .hero__image {
            width: 100%;
        }

        .hero__cta .button {
            width: 100%;
            font-size: 17px;
            line-height: 100%;
            padding: 15px 0;
        }
    }

    &:not(._animated) {
        .hero__title,
        .hero__description,
        .hero__cta,
        .hero__ps {
            transform: translateY(-20px);
            opacity: 0;
        }

        .hero__image {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   Преимущества
   -------------------------------------------------------------------------- */
.advantages {
    .advantages__list {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -8px;
    }

    .advantages__item {
        width: calc(100% / 3);
        padding: 0 8px;
    }

    .advantages-card {
        background: rgba(255, 255, 255, 0.04);
        border-radius: 28px;
        padding: 28px;
        height: 100%;
        width: 100%;
    }

    .advantages-card__header {
        margin-bottom: 16px;
        display: flex;
        gap: 14px;
        align-items: center;
        flex-wrap: wrap;

        span {
            display: flex;
            align-items: center;
            font-weight: 600;
            font-size: 24px;
            line-height: 115%;
            letter-spacing: -0.02em;
        }

        span:not(:first-child):before {
            content: '';
            width: 4px;
            height: 4px;
            display: block;
            margin-right: 14px;
            border-radius: 100%;
            background: rgba(255, 255, 255, 0.18);
        }
    }

    .advantages-card__content {
        font-weight: 400;
        font-size: 16px;
        line-height: 140%;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.6);
    }

    @media (max-width: 768px) {
        .advantages__item {
            width: 100%;
            margin-bottom: 8px;
        }

        .advantages-card {
            border-radius: 22px;
            padding: 24px;
        }

        .advantages-card__header {
            margin-bottom: 14px;
            display: flex;
            gap: 10px;

            span {
                font-size: 32px;
                line-height: 114%;
            }

            span:not(:first-child):before {
                width: 3px;
                height: 3px;
                margin-right: 7px;
            }
        }

        .advantages-card__content {
            font-size: 17px;
            line-height: 140%;
        }
    }

    .advantages__item {
        transition: transform .4s ease, opacity .4s ease;
    }
    .advantages__item:nth-child(1) { transition-delay: .1s }
    .advantages__item:nth-child(2) { transition-delay: .2s }
    .advantages__item:nth-child(3) { transition-delay: .3s }

    &:not(._animated) {
        .advantages__item {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   Калькулятор
   -------------------------------------------------------------------------- */
.calc {
    overflow: hidden;

    .h2_header {
        display: flex;
        gap: 10px;
        align-items: flex-end;
    }

    .calc__inner {
        display: flex;
        gap: 16px;
    }

    .calc__info {
        width: 100%;
    }

    .calc__blocks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 16px;
        margin-bottom: 16px;
    }

    .calc__block {
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.04);
        padding: 28px;
    }

    .calc__block--commission {
        grid-column: span 2;

        .calc__block-value {
            color: #5cd59d;
        }
    }

    .calc__block-title {
        line-height: 140%;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 14px;
    }

    .calc__block-value {
        font-weight: 600;
        font-size: 32px;
        line-height: 140%;
        letter-spacing: -0.02em;
        color: #fff;
        margin-bottom: 3px;
    }

    .calc__block-description {
        font-size: 14px;
        line-height: 140%;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.3);
    }

    .calc__ps {
        font-size: 14px;
        line-height: 140%;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.18);
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .calc__form {
        width: 100%;
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.04);
        padding: 28px;

        .form-control {
            margin-bottom: 28px;

            &:last-child {
                margin-bottom: 10px;
            }
        }
    }

    .calc__tab {
        border-radius: 16px;
        background: #0d1117;
        padding: 6px;
        width: 100%;
        display: flex;
        margin-bottom: 28px;
    }

    .calc__tab-item {
        width: 100%;
        padding: 15px 0;
        border-radius: 14px;
        font-weight: 500;
        font-size: 16px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.26);
        line-height: 20px;

        &.open {
            background: linear-gradient(200deg, #2595e9 6.98%, #006bff 47.03%, #009fff 89.46%);
            color: #fff;
        }
    }

    .calc__window {
        &:not(.open) {
            display: none;
        }
    }

    .calc__preview {
        border: 1px dashed rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        padding: 16px 15px;
        display: flex;
        gap: 6px;
        margin-bottom: 28px;
    }

    .calc__commission {
        font-weight: 500;
        font-size: 14px;
        line-height: 124%;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.2);
        margin-bottom: 28px;
    }

    @media (max-width: 1024px) {
        .calc__inner {
            flex-direction: column;
        }
    }

    @media (max-width: 768px) {
        .calc__blocks {
            grid-template-columns: 1fr;
            grid-gap: 8px;
        }

        .calc__block {
            border-radius: 22px;
            padding: 24px;
        }

        .calc__block--commission {
            grid-column: span 1;
        }

        .calc__block-title {
            margin-bottom: 10px;
            font-size: 16px;
            line-height: 140%;
            letter-spacing: -0.02em;
            color: rgba(255, 255, 255, 0.6);
        }

        .calc__block-value {
            color: #fff;
            margin-bottom: 4px;
            font-size: 24px;
            line-height: 115%;
        }

        .calc__block-description {
            font-size: 14px;
            line-height: 140%;
        }

        .calc__ps {
            gap: 4px;
            font-size: 14px;
            line-height: 140%;
        }

        .calc__form {
            border-radius: 16px;
            padding: 14px;

            .form-control {
                margin-bottom: 18px;

                &:last-child {
                    margin-bottom: 8px;
                }
            }
        }

        .calc__tab {
            margin-bottom: 18px;
        }

        .calc__tab-item {
            padding: 14px 0;
            font-size: 14px;
            line-height: 16px;
        }

        .calc__window {
            &:not(.open) {
                display: none;
            }
        }

        .calc__preview {
            border-radius: 14px;
            padding: 16px 15px;
            gap: 4px;
            margin-bottom: 18px;
            font-size: 14px;
            flex-wrap: wrap;

            span {
                text-wrap: nowrap;
            }
        }

        .calc__commission {
            font-size: 10px;
            line-height: 124%;
            margin-bottom: 18px;
        }
    }

    .calc__info,
    .calc__form {
        transition: transform .4s ease, opacity .4s ease;
    }

    &:not(._animated) {
        .calc__info {
            transform: translateX(-20px);
            opacity: 0;
        }

        .calc__form {
            transform: translateX(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   Возможности
   -------------------------------------------------------------------------- */
.opportunities {
    .opportunities__list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 16px;
    }

    .opportunities-card {
        height: 100%;
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.04);
        padding: 10px;
        display: flex;
        flex-direction: column;
    }

    .opportunities-card__media {
        border-radius: 22px;
        aspect-ratio: 356 / 200;
        background: #0d1117;
        margin-bottom: 28px;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            max-width: 100%;
            max-height: 100%;
        }
    }

    .opportunities-card__content {
        display: flex;
        flex-direction: column;
        padding: 0 18px 28px;
        flex: 1;
    }

    .opportunities-card__title {
        font-weight: 600;
        font-size: 20px;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 16px;
    }

    .opportunities-card__description {
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.7);
        flex: 1;
        margin-bottom: 28px;
    }

    .opportunities-card__link {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        font-weight: 600;
        letter-spacing: -0.02em;
        color: #fff;
        transition: opacity .4s ease;

        svg {
            transition: transform .4s ease;
        }

        &:hover {
            opacity: .7;

            svg {
                transform: translateX(5px);
            }
        }
    }

    @media (max-width: 900px) {
        .opportunities__list {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 768px) {
        .opportunities__list {
            grid-template-columns: 1fr;
            grid-gap: 8px;
        }

        .opportunities-card {
            padding: 8px;
            border-radius: 22px;
        }

        .opportunities-card__media {
            border-radius: 16px;
            aspect-ratio: 304 / 160;
            margin-bottom: 24px;
        }

        .opportunities-card__content {
            padding: 0 16px 24px;
        }

        .opportunities-card__title {
            font-size: 20px;
            line-height: 114%;
            margin-bottom: 14px;
        }

        .opportunities-card__description {
            font-size: 14px;
            margin-bottom: 20px;
            line-height: 160%;
        }

        .opportunities-card__link {
            font-size: 14px;
        }
    }

    .opportunities-card {
        transition: transform .4s ease, opacity .4s ease;
    }
    .opportunities-card:nth-child(2) { transition-delay: .05s; }
    .opportunities-card:nth-child(3) { transition-delay: .1s; }
    .opportunities-card:nth-child(4) { transition-delay: .15s; }
    .opportunities-card:nth-child(5) { transition-delay: .2s; }
    .opportunities-card:nth-child(6) { transition-delay: .25s; }

    &:not(._animated) {
        .opportunities-card {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   КАРТЫ КОШЕЛЬКА
   -------------------------------------------------------------------------- */
.cards {
    .section-description {
        max-width: 622px;
    }

    .cards__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 16px;
    }

    .cards-card {
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.04);
        padding: 28px;
    }

    .cards-card__header {
        display: flex;
        gap: 16px;
        align-items: center;
        margin-bottom: 20px;
    }

    .cards-card__icon {
        background: linear-gradient(213.68deg, #00e5ff -58.4%, #0052ff 45.7%, #57f2cc 116.42%);
        border-radius: 66px;
        width: 62px;
        height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cards-card__title {
        font-weight: 600;
        font-size: 20px;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.9);
    }

    .cards-card__content {
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.7);

        br {
            display: none;
        }
    }

    .cards-card__button {
        margin-top: 28px;
    }

    @media (max-width: 768px) {
        .cards__list {
            grid-template-columns: 1fr;
            grid-gap: 8px;
        }

        .cards-card {
            border-radius: 22px;
            padding: 24px;
        }

        .cards-card__header {
            gap: 12px;
            margin-bottom: 14px;
        }

        .cards-card__icon {
            width: 44px;
            height: 44px;
            flex-shrink: 0;

            svg {
                width: 20px;
                height: 20px;
            }
        }

        .cards-card__title {
            font-size: 20px;
            line-height: 114%;
        }

        .cards-card__content {
            font-size: 14px;
            line-height: 160%;
        }

        .cards-card__button {
            margin-top: 20px;
        }
    }

    .cards-card { transition: transform .4s ease, opacity .4s ease; }
    .cards-card:nth-child(2) { transition-delay: .05s; }
    .cards-card:nth-child(3) { transition-delay: .1s; }
    .cards-card:nth-child(4) { transition-delay: .15s; }

    &:not(._animated) {
        .cards-card {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   ПЯТЬ ШАГОВ
   -------------------------------------------------------------------------- */
.steps {
    .section-description {
        max-width: 340px;
    }

    .steps__list {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-gap: 16px;
    }

    .steps__item {
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.04);
        padding: 18px;
    }

    .steps__header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 22px;
    }

    .steps__num {
        background: linear-gradient(213.68deg, #00e5ff -58.4%, #0052ff 45.7%, #57f2cc 116.42%);
        border-radius: 66px;
        width: 62px;
        height: 62px;
        font-weight: 700;
        font-size: 20px;
        letter-spacing: -0.02em;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .steps__text {
        font-weight: 400;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.6);
    }

    .steps__title {
        font-size: 20px;
        letter-spacing: -0.02em;
        color: #fff;
        margin-bottom: 12px;
    }

    .steps__content {
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.6);
    }

    @media (max-width: 1024px) {
        .steps__list {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 768px) {
        .steps__list {
            grid-template-columns: 1fr;
        }

        .steps__item {
            border-radius: 22px;
            padding: 24px;
        }

        .steps__header {
            gap: 12px;
            margin-bottom: 14px;
        }

        .steps__num {
            width: 44px;
            height: 44px;
            font-size: 16px;
        }

        .steps__text {
            font-size: 16px;
        }

        .steps__title {
            margin-bottom: 10px;
            font-weight: 600;
            font-size: 20px;
            line-height: 114%;
        }

        .steps__content {
            font-size: 14px;
            line-height: 160%;
        }
    }

    .steps__item { transition: transform .4s ease, opacity .4s ease; }
    .steps__item:nth-child(2) { transition-delay: .05s; }
    .steps__item:nth-child(3) { transition-delay: .1s; }
    .steps__item:nth-child(4) { transition-delay: .15s; }
    .steps__item:nth-child(5) { transition-delay: .2s; }
    .steps__item:nth-child(6) { transition-delay: .25s; }

    &:not(._animated) {
        .steps__item {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   ВЕРИФИКАЦИЯ
   -------------------------------------------------------------------------- */
.verify {
    .verify__block {
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.04);
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 28px;
    }

    .verify__item {
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        padding: 11px 17px;
        position: relative;
        display: flex;
        align-items: center;
        transition: border-color .4s ease;
        font-weight: 400;
        font-size: 20px;
        line-height: 140%;
        letter-spacing: -0.02em;
        color: #fff;

        &:hover {
            border-color: #5cd59d;
            cursor: default;
        }

        &:before {
            content: '';
            border-radius: 100%;
            background: #5cd59d;
            width: 10px;
            height: 10px;
            margin-right: 8px;
            display: block;
        }
    }

    @media (max-width: 768px) {
        .verify__block {
            border-radius: 22px;
            gap: 5px;
            padding: 14px;
        }

        .verify__item {
            border-radius: 14px;
            padding: 8px 14px;
            font-size: 15px;
            line-height: 140%;

            &:before {
                width: 5px;
                height: 5px;
                margin-right: 5px;
            }
        }
    }

    .verify__item { transition: transform .4s ease, opacity .4s ease; }
    .verify__item:nth-child(2) { transition-delay: .05s; }
    .verify__item:nth-child(3) { transition-delay: .1s; }
    .verify__item:nth-child(4) { transition-delay: .15s; }
    .verify__item:nth-child(5) { transition-delay: .2s; }
    .verify__item:nth-child(6) { transition-delay: .25s; }
    .verify__item:nth-child(7) { transition-delay: .3s; }
    .verify__item:nth-child(8) { transition-delay: .35s; }
    .verify__item:nth-child(9) { transition-delay: .4s; }
    .verify__item:nth-child(10) { transition-delay: .45s; }
    .verify__item:nth-child(11) { transition-delay: .5s; }
    .verify__item:nth-child(12) { transition-delay: .55s; }
    .verify__item:nth-child(13) { transition-delay: .6s; }

    &:not(._animated) {
        .verify__item {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   БЕЗОПАСНОСТЬ
   -------------------------------------------------------------------------- */
.safety {
    .safety__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 16px;
    }

    .safety__item {
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.04);
        padding: 28px;
    }

    .safety__icon {
        border-radius: 22px;
        width: 62px;
        height: 62px;
        background: rgba(255, 255, 255, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 28px;

        svg {
            max-height: 30px;
            max-width: 30px;
        }
    }

    .safety__title {
        font-weight: 600;
        font-size: 20px;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 16px;
    }

    .safety__description {
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.7);
    }

    @media (max-width: 768px) {
        .safety__list {
            grid-template-columns: 1fr;
            grid-gap: 8px;
        }

        .safety__item {
            border-radius: 22px;
            padding: 24px;
        }

        .safety__icon {
            border-radius: 14px;
            width: 44px;
            height: 44px;
            margin-bottom: 20px;

            svg {
                max-height: 22px;
                max-width: 22px;
            }
        }

        .safety__title {
            font-size: 20px;
            line-height: 114%;
            margin-bottom: 10px;
        }

        .safety__description {
            font-size: 14px;
            line-height: 160%;

            br {
                display: none;
            }
        }
    }

    .safety__item { transition: transform .4s ease, opacity .4s ease; }
    .safety__item:nth-child(2) { transition-delay: .05s; }

    &:not(._animated) {
        .safety__item {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   Баннер с реферальной программой
   -------------------------------------------------------------------------- */
.banner {
    padding: 38px;
    position: relative;
    border-radius: 32px;
    background: #0052ff;
    overflow: hidden;

    .banner__title {
        font-weight: 600;
        font-size: 42px;
        line-height: 90%;
        letter-spacing: -0.02em;
        color: #fff;
        margin-bottom: 18px;
        max-width: 532px;
        z-index: 1;
        position: relative;
        transition: transform .4s ease, opacity .4s ease;
    }

    .banner__description {
        font-size: 20px;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 28px;
        max-width: 532px;
        z-index: 1;
        position: relative;
        transition: transform .4s ease, opacity .4s ease;
        transition-delay: .05s;
    }

    .banner__cta {
        transition: transform .4s ease, opacity .4s ease;
        transition-delay: .1s;
    }

    .banner__image {
        position: absolute;
        right: -70px;
        top: -50px;
        z-index: 0;
        transition: transform .4s ease, opacity .4s ease;

        img {
            scale: 1;
        }
    }

    @media (max-width: 1024px) {
        .banner__image {
            opacity: .5;
        }
    }

    @media (max-width: 768px) {
        display: flex;
        flex-direction: column;
        padding: 24px;

        .banner__title {
            font-size: 26px;
            line-height: 98%;
            margin-bottom: 14px;
        }

        .banner__description {
            font-size: 14px;
            line-height: 140%;
            margin-bottom: 0;
        }

        .banner__image {
            position: relative;
            opacity: 1;
            top: 0;
            right: 0;
            align-self: center;
            width: calc(100% - 50px);
        }
    }

    &:not(._animated) {
        .banner__title,
        .banner__description,
        .banner__cta {
            transform: translateY(20px);
            opacity: 0;
        }

        .banner__image {
            transform: translateX(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
    .faq__list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .faq__item {
        border-radius: 32px;
        background: rgba(255, 255, 255, 0.04);
        transition: background .3s ease;

        &.open {
            background: #0052ff;
        }
    }

    .faq__question {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 32px;
        background: transparent;
        border: 0;
        cursor: pointer;
        transition: padding-bottom .3s ease;

        &:focus {
            outline: none;
        }

        .faq__item.open & {
            padding-bottom: 20px;
        }
    }

    .faq__title {
        flex: 1;
        font-weight: 600;
        font-size: 18px;
        line-height: 124%;
        letter-spacing: -0.02em;
        color: #fff;
        text-align: left;
    }

    .faq__icon {
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 144px;
        padding: 4px;
        width: 61px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color .3s ease;

        svg {
            transition: transform .3s ease;
            transform: rotate(0deg);
        }

        .faq__item.open & {
            border-color: #fff;

            svg {
                transform: rotate(45deg);
            }
        }
    }

    .faq__answer {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .4s ease;

        .faq__item.open & {
            grid-template-rows: 1fr;
        }
    }

    .faq__answer-inner {
        overflow: hidden;
        min-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .3s ease, transform .4s ease, visibility .4s;
        visibility: hidden;

        .faq__item.open & {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
        }
    }

    .faq__text {
        line-height: 124%;
        letter-spacing: -0.02em;
        color: rgba(255, 255, 255, 0.8);
        padding: 0 32px 32px;

        p:not(:last-child) {
            margin-bottom: 16px;
        }
    }

    @media (max-width: 768px) {
        .faq__item {
            border-radius: 22px;
        }

        .faq__question {
            padding: 14px;

            .faq__item.open & {
                padding-bottom: 20px;
            }
        }

        .faq__title {
            font-size: 16px;
            line-height: 124%;
        }

        .faq__icon {
            width: 39px;
            height: 26px;
        }

        .faq__text {
            font-size: 14px;
            line-height: 160%;
            padding: 0 14px 14px;
        }
    }

    .faq__item { transition: transform .4s ease, opacity .4s ease; }
    .faq__item:nth-child(2) { transition-delay: .05s; }
    .faq__item:nth-child(3) { transition-delay: .1s; }
    .faq__item:nth-child(4) { transition-delay: .15s; }
    .faq__item:nth-child(5) { transition-delay: .2s; }
    .faq__item:nth-child(6) { transition-delay: .25s; }
    .faq__item:nth-child(7) { transition-delay: .3s; }
    .faq__item:nth-child(8) { transition-delay: .35s; }
    .faq__item:nth-child(9) { transition-delay: .4s; }
    .faq__item:nth-child(10) { transition-delay: .45s; }
    .faq__item:nth-child(11) { transition-delay: .5s; }
    .faq__item:nth-child(12) { transition-delay: .55s; }
    .faq__item:nth-child(13) { transition-delay: .6s; }
    .faq__item:nth-child(14) { transition-delay: .65s; }
    .faq__item:nth-child(15) { transition-delay: .7s; }

    &:not(._animated) {
        .faq__item {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}

/* --------------------------------------------------------------------------
   Откройте кошелёк за пару минут
   -------------------------------------------------------------------------- */
.quiz {
    display: flex;
    flex-direction: column;
    align-items: center;

    .quiz__title {
        font-weight: 500;
        font-size: 38px;
        line-height: 115%;
        letter-spacing: -0.02em;
        text-align: center;
        color: #fff;
        margin-bottom: 10px;
        transition: transform .4s ease, opacity .4s ease;
    }

    .quiz__description {
        letter-spacing: -0.02em;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 30px;
        transition: transform .4s ease, opacity .4s ease;
        transition-delay: .1s;
    }

    .quiz__buttons {
        display: flex;
        gap: 12px;
        transition: transform .4s ease, opacity .4s ease;
        transition-delay: .2s;
    }

    @media (max-width: 768px) {
        .quiz__title {
            font-weight: 500;
            font-size: 26px;
            line-height: 115%;
        }

        .quiz__description {
            font-size: 16px;
            line-height: 140%;
            margin-bottom: 26px;
        }

        .quiz__buttons {
            width: 100%;
            flex-direction: column;
            gap: 10px;
        }
    }

    &:not(._animated) {
        .quiz__title,
        .quiz__description,
        .quiz__buttons {
            transform: translateY(20px);
            opacity: 0;
        }
    }
}