*, :after, :before {
    box-sizing: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0
}

p {
    margin: 0
}

picture {
    display: block
}

img {
    display: block;
    border: none
}

img, svg {
    vertical-align: middle
}

a {
    background-color: transparent;
    color: inherit;
    text-decoration: none
}

:focus {
    outline: none
}

button {
    all: unset
}

:root {
    --primary-font: "Roboto", sans-serif;
    --secondary-font: "Carlito", sans-serif;
}

body {
    line-height: 1;
    text-rendering: optimizeSpeed;
    -webkit-text-decoration-skip: objects;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--primary-font), sans-serif;
    font-style: normal;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #EDFDFF;
    font-optical-sizing: auto;
    font-variation-settings: "wdth" 100;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1728px;
    margin: 0 auto;
}

.header {
    position: relative;
    width: 100%;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom: 1px solid #95DDFF;
    border-left: 1px solid #95DDFF;
    border-right: 1px solid #95DDFF;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 0 30px 30px;
    background: radial-gradient(circle at 10% 0%, #35BDFF 38%, #008CD0 100%);
}

.header__content {
    position: relative;
    z-index: 1;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.header__content-logo {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: cover;
}

.cta-btn {
    width: 100%;
    padding: 16px 32px;
    font-family: var(--secondary-font), sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    color: #16A0E3;
    text-transform: uppercase;
    border-radius: 28px;
    border: 2px solid transparent;
    background:
            radial-gradient(circle at 50% 30%, #fff 0%, #fff 100%) padding-box,
            linear-gradient(90deg, #C5ECFF 0%, #95DDFF 100%) border-box;
    cursor: pointer;
    text-align: center;
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            border-color 0.2s ease,
            background-color 0.2s ease;

    &:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15);
    }

    &:active {
        transform: scale(0.98) translateY(1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }
}

.cta-btn--hero {
    display: block;
}

.cta-btn--header {
    display: none;
}

.header__content-title {
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero {
    width: 100%;
    background: url('../img/bg_banner_6.webp') no-repeat center / cover;
    overflow: hidden;
    padding: 0 32px;
    border-radius: 30px;
}

.hero__content {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 80px 0;
    background: url('../img/banner_6.webp') no-repeat;
    background-position-x: right;
    background-position-y: 15%;
    background-size: clamp(100px, 45vw, 700px);
    width: 100%;
    max-width: 1586px;
}

.hero__title {
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: clamp(22px, 4.5vw, 44px);
    width: 50%;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
}

.slides {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px;
    background: url("../img/bg_vector.svg") no-repeat center / contain;
}

.slide__card {
    position: relative;
    width: 100%;
    max-width: 375px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    align-items: start;
    gap: 17px;
    border-radius: 30px;
    padding: 40px 32px;
    background: radial-gradient(
            circle at 50% 0%,
            #FFFFFF 33%,
            #F8FDFF 98%
    );
    border: 1px solid #95DDFF;
    /*overflow: hidden;*/
}

.slide__card:last-child {
    &:before {
        content: '';
        position: absolute;
        z-index: 3;
        bottom: -20%;
        right: 0;
        aspect-ratio: 142 / 40;
        width: clamp(80px, 10vw, 140px);
        height: auto;
        max-width: 142px;
        background: url("../img/wave.svg") no-repeat center / contain;
    }
}

.slide__card-img {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    aspect-ratio: 400 / 250;
    width: 100%;
    border-radius: 30px;
    background: #D9D9D9;
    object-fit: fill;
    grid-column: 1;
}

.slide__card-description {
    position: relative;
    z-index: 2;
    font-family: var(--secondary-font), sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 1.4;
    color: #2CB5F7;
    grid-column: 1;
}

.slide__card-btn {
    position: relative;
    z-index: 2;
    grid-column: 1;
    padding: 16px 32px;
    font-family: var(--secondary-font), sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    border-radius: 28px;
    border: 2px solid transparent;
    background:
            radial-gradient(circle at 50% 30%, #35BDFF 38%, #008CD0 100%) padding-box,
            linear-gradient(90deg, #C5ECFF 0%, #95DDFF 100%) border-box;

    cursor: pointer;
    text-align: center;
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            border-color 0.2s ease,
            background-color 0.2s ease;

    &:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15);
    }

    &:active {
        transform: scale(0.98) translateY(1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }
}

.description {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 68px 32px 118px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 30px;
    background: radial-gradient(
            130% 200% at 50% -10%,
            #35BDFF 38%,
            #008CD0 100%
    );
    margin-bottom: 40px;
}

.description:last-child {
    &:after {
        content: '';
        position: absolute;
        z-index: 3;
        bottom: -1%;
        left: 0;
        aspect-ratio: 149 / 73;
        width: clamp(80px, 30vw, 149px);
        height: auto;
        max-width: 149px;
        background: url("../img/dots.svg") no-repeat center / contain;
    }
}

.description__table-content {
    position: relative;
    z-index: 1;
    font-family: var(--primary-font), sans-serif;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1409px;
}

.description__text-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: 1409px;
    font-family: var(--secondary-font), sans-serif;
    color: #fff;
    font-variant: small-caps;
    letter-spacing: .5px;

    & > p + p {
        margin-top: 14px;
    }

    & > p {
        font-size: 14px;
        line-height: 1;
        font-weight: 400;
    }

    & > h2 {
        font-size: 22px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 8px;

        &:not(:first-child) {
            margin-top: 35px;
        }
    }

    & > ul {
        margin-top: 14px;
        margin-bottom: 0;
        padding-left: 24px;

        & > li {
            font-size: 14px;

            &:not(:last-child) {
                margin-bottom: 14px;
            }
        }
    }
}

.description__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
}

.table__header {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.03;
    text-transform: uppercase;
    color: #fff;
    background: rgba(217, 217, 217, 0.25);
    border: 1px solid #005DFF;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.table__header-row-cell {
    display: flex;
    align-items: center;
    width: auto;
    padding: 16px 12px;
    flex: 1 1 0;
    background: #3E81FD;
}

.table__header-row-cell:first-child {
    flex: 0 1 35%;
    max-width: 35%;
    background: #2587CE;
}

.table__header-row-cell:not(:last-child) {
    border-right: 1px solid #005DFF;
}

.table__body {
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.table__body-row {
    width: 100%;
    display: flex;
    align-items: stretch;
    border: 1px solid #005DFF;
}

.table__body-row:last-child {
    border-radius: 0 0 30px 30px;
}

.table__body-row > .table__body-row-cell:not(:last-child) {
    border-right: 1px solid #005DFF;
}

.table__body-row .table__body-row-cell:first-child {
    background: #BCE5FA;
    font-weight: 400;
    font-size: 8px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #2CB5F7;
    flex: 0 1 35%;
    max-width: 35%;
    flex-shrink: 0;
}

.table__body-row .table__body-row-cell {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    width: auto;
    background: #fff;
    font-weight: 400;
    font-size: 8px;
    line-height: 1.4;
    color: #2CB5F7;
    padding: 27px 12px;
}

.footer {
    position: relative;
    width: 100%;

    &:before {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #fff;
    }
}

.footer__content {
    position: relative;
    z-index: 1;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__content-title {
    font-family: var(--secondary-font), sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.4;
    color: #048FD3;
    text-transform: uppercase;
}

.scroll-to-top-btn {
    position: fixed;
    aspect-ratio: 1;
    width: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    right: 32px;
    bottom: 80px;
    background: #fff;
    cursor: pointer;
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            background-color 0.2s ease;
    opacity: 0;
    transform: translateY(20px) scale(.9);
    visibility: hidden;
    z-index: 9999;
}

.scroll-to-top-btn--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
    .scroll-to-top-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.15);
        border-color: #005DFF;
        background: radial-gradient(circle at 10% 0%, #35BDFF 38%, #008CD0 100%);
    }

    .scroll-to-top-btn:hover > svg > path {
        stroke: #fff;
    }
}

@media (min-width: 600px) {
    .header {
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
    }

    .header__content {
        justify-content: flex-start;
        height: 68px;
        padding: 0 80px;
    }

    .hero {
        padding: 0 40px;
    }

    .hero__content {
        padding: 60px 0;
        background-position-x: right;
        background-position-y: -40px;
        background-size: clamp(250px, 24vw, 700px);
    }

    .cta-btn {
        width: fit-content;
        padding: 12px 28px;
        font-size: 16px;
    }

    .cta-btn--hero {
        display: none;
    }

    .cta-btn--header {
        display: block;
        margin-left: auto;
    }

    .hero__title {
        width: 100%;
        font-size: clamp(22px, 3.5vw, 80px);
    }

    .slides {
        gap: 16px;
        padding: 40px;
    }

    .slide__card {
        grid-template-columns: 140px 1fr;
        width: 100%;
        max-width: 1586px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        column-gap: 16px;
        row-gap: 8px;
        padding: 19px 48px;
    }

    .slide__card-img {
        float: none;
        margin: 0;
        width: 100%;
        max-width: 212px;
        border-radius: 20px;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .slide__card-description {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .slide__card-btn {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        width: fit-content;
        padding: 12px 28px;
        font-size: 16px;
    }

    .description {
        width: 100%;
        padding: 48px 88px 128px;
        gap: 44px;
    }

    .description:last-child {
        &:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            aspect-ratio: 149 / 73;
            width: clamp(80px, 30vw, 149px);
            height: auto;
            max-width: 149px;
            background: url("../img/dots.svg") no-repeat center / contain;
        }
    }

    .description__text-content {
        & > p + p {
            margin-top: 16px;
        }

        & > p {
            font-size: 16px;
        }

        & > h2 {
            font-size: 32px;
            margin-bottom: 16px;

            &:not(:first-child) {
                margin-top: 24px;
            }
        }

        & > ul {
            margin-top: 16px;
            margin-bottom: 0;
            padding-left: 24px;

            & > li {
                font-size: 16px;

                &:not(:last-child) {
                    margin-bottom: 16px;
                }
            }
        }
    }

    .description__table-content {
        gap: 24px;
    }

    .description__title {
        font-size: 30px;
    }

    .table__header {
        font-size: 16px;
        font-weight: 700;
    }

    .table__header-row-cell {
        padding: 15px 16px 9px;
    }

    .table__body-row .table__body-row-cell:first-child {
        font-weight: 400;
        font-size: 13px;
    }

    .table__body-row .table__body-row-cell {
        font-size: 12px;
        padding: 16px;
    }

    .footer__content {
        height: 62px;
    }

    .footer__content-title {
        font-weight: 400;
        font-size: 14px;
    }
}

@media (min-width: 680px) {
    .hero {
        padding: 0 40px 0 80px;
    }
}

@media (min-width: 820px) {
    .slide__card-img {
        grid-column: 1 / 2;
        grid-row: 1 / 1;
    }

    .slide__card-description {
        grid-column: 2 / 3;
        grid-row: 1 / 1;
    }

    .slide__card-btn {
        grid-column: 3 / 4;
        grid-row: 1 / 1;
    }
}

@media (min-width: 1440px) {
    .header {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .header__content {
        height: 84px;
    }

    .hero {
        padding: 0 71px;
    }

    .hero__content {
        padding: 102px 0;
        background-position-x: right;
    }

    .cta-btn {
        width: fit-content;
        padding: 16px 32px;
        font-size: 20px;
    }

    .slides {
        gap: 40px;
        padding: 88px 71px;
    }

    .slide__card {
        grid-template-columns: 212px 1fr auto;
        width: 100%;
        max-width: 1586px;
        gap: 51px;
        padding: 26px 102px 26px 64px;
    }

    .slide__card:last-child {
        &:before {
            content: '';
            position: absolute;
            bottom: -10%;
            right: -2%;
            aspect-ratio: 142 / 40;
            width: clamp(80px, 10vw, 140px);
            height: auto;
            max-width: 142px;
            background: url("../img/wave.svg") no-repeat center / contain;
        }
    }

    .slide__card-img {
        grid-column: 1 / 2;
        grid-row: 1 / 1;
        width: 100%;
        max-width: 212px;
        border-radius: 24px;
    }

    .slide__card-description {
        grid-column: 2 / 3;
        grid-row: 1 / 1;
        font-size: 24px;
    }

    .slide__card-btn {
        grid-column: 3 / 4;
        grid-row: 1 / 1;
        width: fit-content;
        padding: 16px 32px;
        font-size: 20px;
    }

    .description {
        position: relative;
        width: 100%;
        padding: 56px 178px 168px;
        gap: 88px;
        margin-bottom: 60px;
        /*overflow: hidden;*/
    }

    .description:last-child {
        &:before {
            content: '';
            position: absolute;
            top: -1%;
            left: 0;
            aspect-ratio: 142 / 40;
            width: clamp(80px, 10vw, 140px);
            height: auto;
            max-width: 142px;
            background: url("../img/wave.svg") no-repeat center / contain;
        }
    }

    .description:last-child {
        &:after {
            display: none;
        }
    }

    .description__text-content {
        & > p + p {
            margin-top: 32px;
        }

        & > p {
            font-size: 32px;
        }

        & > h2 {
            font-size: 64px;

            &:not(:first-child) {
                margin-top: 88px;
            }
        }

        & > ul {
            margin-top: 32px;
            margin-bottom: 0;

            & > li {
                font-size: 32px;

                &:not(:last-child) {
                    margin-bottom: 32px;
                }
            }
        }
    }

    .description__table-content {
        gap: 56px;
    }

    .description__title {
        position: relative;
        font-size: 56px;

        &:after {
            content: '';
            position: absolute;
            bottom: -40%;
            left: -6%;
            aspect-ratio: 149 / 73;
            width: clamp(80px, 30vw, 149px);
            height: auto;
            max-width: 149px;
            background: url("../img/dots.svg") no-repeat center / contain;
        }
    }

    .table__header {
        font-size: 36px;
    }

    .table__header-row-cell {
        padding: 30px 32px;
    }

    .table__body-row .table__body-row-cell:first-child {
        font-size: 24px;
    }

    .table__body-row .table__body-row-cell {
        font-size: 18px;
        padding: 24px 36px;
    }

    .footer__content {
        height: 70px;
    }

    .footer__content-title {
        font-size: 16px;
    }

    .scroll-to-top-btn {
        width: 90px;
    }

    .scroll-to-top-btn > svg {
        width: 32px;
        height: 32px;
    }
}
