@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-fl: #EAEAFF;
    --bg-wh: white;
    --color-txt-b: black;
    --color-txt-w: white;
    --color-grey: #777;
    --accent: #1C35C0;
}

.btn {
    width: 240px;
    height: 52px;
    background: var(--accent);
    color: var(--color-txt-w);
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
    text-decoration: none;
    line-height: 52px;
    cursor: pointer;
}


body {
    min-height: 100vh;
    font-family: "Jost", sans-serif;
}

.container {
    max-width: 1240px;
    padding: 0 16px;
    margin: 0 auto;
}

.hero {
    padding: 70px 0;
    background: var(--bg-fl);
}

@media (max-width: 1024px) {
    .hero {
        padding: 30px 0 70px 0;
    }

    .btn {
        font-size: 16px;
        height: 38px;
        line-height: 38px;
        font-weight: 600;
    }
}


.hero__wrapper {
    position: relative;
}

.hero__label {
    width: fit-content;
    padding: 8px 16px;
    background: var(--accent);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-txt-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__label figure {
    width: 12px;
    height: 12px;
    background: var(--color-txt-w);
    border-radius: 50%;
}

.hero h1 {
    text-align: center;
    font-size: 80px;
    margin: 20px 0 60px 0;
}

.hero__cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.hero__card {
    max-width: 375px;
    width: 100%;
}



.hero__card img {
    width: 100%;
    height: auto;
}

.hero__card span {
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 32px;
    margin-top: 16px;
}

.hero__future {
    position: absolute;
    right: -140px;
    width: fit-content;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.hero__future-year {
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
}


.hero__future-line {
    height: 3px;
    width: 90px;
    background: var(--accent);

    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 30%,
            black 70%,
            transparent);

    mask-image: linear-gradient(to right,
            transparent,
            black 30%,
            black 70%,
            transparent);
}

@media (max-width: 1480px) {
    .hero__future {
        right: -70px;
    }
}

@media (max-width: 1360px) {
    .hero__cards {
        width: fit-content;
        margin: 0 auto;
    }

    .hero__card {
        max-width: 275px;
        width: 100%;
    }

    .hero__future {
        right: 0;
        padding-top: 140px;
    }

}

@media (max-width: 1200px) {
    .hero__card {
        max-width: 200px;
    }

    .hero__future {
        right: 0;
        padding-top: 180px;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        text-align: center;
        font-size: 36px;
        margin: 10px 0 30px 0;
    }

    .hero__cards {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        position: relative;
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
    }

    .hero__card:nth-child(2) {
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero__card {
        max-width: 180px;
    }

    .hero__card span {
        font-size: 20px;
        margin-top: 0px;
    }

    .hero__future {
        position: static;
        transform: none;
        padding-top: 0;
        gap: 8px;
        margin: 0 auto;
        margin-top: 40px;
    }

    .hero__future-year {
        display: block;
        text-align: center;
        font-weight: 700;
        font-size: 16px;
    }

    .hero__label {
        width: fit-content;
        padding: 4px 8px;
        background: var(--accent);
        font-size: 14px;
        font-weight: 500;
        color: var(--color-txt-w);
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .hero__label figure {
        width: 8px;
        height: 8px;
        background: var(--color-txt-w);
        border-radius: 50%;
    }

}

.service {
    padding: 120px 0;
    background: url("/assets/graf.png");
}

.service h2 {
    text-align: center;
    font-size: 80px;
    margin: 20px 0 60px 0;
}

.service ul {
    font-size: 48px;
    font-weight: 500;
    list-style: none;
    width: fit-content;
    margin: 0 auto;
}

.service p {
    font-size: 36px;
    text-align: center;
    margin-top: 80px;
}

.service p span {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .service {
        padding: 70px 0;
    }

    .service h2 {
        text-align: center;
        font-size: 36px;
        margin: 10px 0 30px 0;
    }

    .service ul {
        font-size: 24px;
        font-weight: 500;
        list-style: none;
        width: fit-content;
        margin: 0 auto;
    }

    .service p {
        font-size: 24px;
        text-align: center;
        margin-top: 40px;
    }
}

.payment {
    padding: 120px 0;
    background: var(--bg-fl);
}

.payment__tabs {
    display: grid;
    max-width: 900px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.payment__tab {
    background: none;
    border: none;
    padding: 30px;
    border-radius: 15px;
    cursor: pointer;
}

.payment__tab img {
    width: 100%;
    height: auto;
    transition: all 0.3s;
}

.payment__tab:hover img {
    transform: rotate(5deg);
}

.payment__tab span {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    display: block;
}

.payment__tab.payment--active {
    border: 2px solid var(--accent);
}

.payment__descriptions {
    background: var(--color-txt-w);
    box-shadow: 2px 2px 4px var(--color-txt-w);
    border-radius: 12px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;

}

.payment__description {
    display: none;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
}

.payment__description img {
    width: 100%;
    height: auto;
}

.payment__description h3 {
    font-size: 20px;
    margin-bottom: 12px;
    overflow-wrap: break-word;
    word-break: break-all;
}

.payment__description p {
    font-size: 18px;
}

.payment__description.payment--active {
    display: grid;
}


@media (max-width: 1024px) {
    .payment {
        padding: 70px 0;

    }

    .payment__tabs {
        gap: 10px;
    }

    .payment__description {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .payment__tab {
        padding: 10px;
    }

    .payment__description h3 {
        text-align: center;
    }

    .payment__tab span {
        font-size: 16px;
    }

    .payment__tabs {
        margin-bottom: 30px;
    }
}