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

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

html {
    box-sizing: border-box
}

/* Основний текст */
.text {
  color: #ffffff;
  line-height: 1.6;
}

.subheading-large {
  color: #ffffff;
  font-weight: 600;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
} 

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;*/
}

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: "Roboto", sans-serif;
    font-style: normal;
    display: flex;
    flex-direction: column;
    position: relative;
    font-variation-settings: "wdth" 100;
    background: #1C1B1B;
    font-optical-sizing: auto;
}

.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%;
    background: #343333;

    &:before {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #42C83C;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
}

.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-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    color: #42C83C;
    text-transform: uppercase;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #1C1B1B;
    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);
        border-color: #42C83C;
        background-color: #0F0F0F;
        color: #fff;
    }

    &:active {
        transform: scale(0.98) translateY(1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        background-color: #000;
        border-color: #42C83C;
        color: #42C83C;
    }
}

.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: #343333;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
}

.hero__content {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 80px 32px;
    /*Добавь фон/картинку*/
    /*background: red;*/
}

.hero__title {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.slides {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 11px;
}

.slide__card {
    position: relative;
    width: 100%;
    max-width: 375px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    align-items: start;
    gap: 17px;
    padding: 48px 32px;
    border-radius: 30px;
    background: #42C83C;
    overflow: hidden;

    /*&:before {*/
    /*    content: '';*/
    /*    position: absolute;*/
    /*    top: -10%;*/
    /*    right: -10%;*/
    /*    transform: rotate(-15deg);*/
    /*    z-index: 1;*/
    /*    aspect-ratio: 590 / 474;*/
    /*    width: 100%;*/
    /*    max-width: 590px;*/
    /*    background: url('../img/card_lines.svg');*/
    /*}*/
}

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

.slide__card-description {
    position: relative;
    z-index: 2;
    font-family: "ADLaM Display", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 11px;
    line-height: 1.4;
    color: #21272A;
    grid-column: 2 / 3;
}

.slide__card-btn {
    position: relative;
    z-index: 2;
    grid-column: 1 / 3;
}

.table-wrapper {
    width: 100%;
    background: #343333;
    padding: 48px 32px 135px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.table-wrapper__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1360px;
}

.table-wrapper__title {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #42C83C;
}

.table__header {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.03;
    text-transform: uppercase;
    color: #42C83C;
    background: rgba(217, 217, 217, 0.25);
    border: 1px solid #42C83C;
}

.table__header-row-cell {
    display: flex;
    align-items: center;
    width: auto;
    padding: 12px 7px;
    flex: 1 1 0;
}

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

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

.table__body {

}

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

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

.table__body-row .table__body-row-cell:first-child {
    background: transparent;
    font-weight: 400;
    font-size: 8px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #fff;
    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: transparent;
    font-weight: 600;
    font-size: 8px;
    line-height: 1.4;
    color: #fff;
    padding: 11px 6px;
}

.footer {
    position: relative;
    width: 100%;
    background: #343333;

    &:before {
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #32952E;
        border-top-left-radius: 13px;
        border-top-right-radius: 13px;
    }
}

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

.footer__content-title {
    font-weight: 700;
    font-size: 10px;
    line-height: 1.4;
    color: #fff;
    text-transform: uppercase;
}

.scroll-to-top-btn {
    position: fixed;
    right: 32px;
    bottom: 80px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    color: #42C83C;
    text-transform: uppercase;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #1C1B1B;
    cursor: pointer;
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            border-color 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: #42C83C;
        background-color: #0F0F0F;
        color: #fff;
    }
}

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

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

    .hero {
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
    }

    .hero__content {
        padding: 40px 56px;
    }

    .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 {
        font-size: 32px;
    }

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

    .slide__card {
        grid-template-columns: 140px 1fr;
        width: 100%;
        max-width: 1586px;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 19px 48px;
        border-radius: 26px;

        &:before {
            content: '';
            position: absolute;
            top: -20%;
            right: -10%;
            width: 45%;
            transform: rotate(-15deg);
            z-index: 1;
            aspect-ratio: 590 / 474;
            max-width: 590px;
            background: url('../img/card_lines.svg');
        }
    }

    .slide__card-img {
        aspect-ratio: 148 / 110;
        width: 100%;
        max-width: 148px;
        border-radius: 20px;
        grid-row: 1 / 3;
        object-fit: fill;
    }

    .slide__card-description {
        font-size: 10px;
    }

    .slide__card-btn {
        grid-column: 2 / 3;
    }

    .table-wrapper {
        width: 100%;
        background: #343333;
        padding: 30px 78px 152px;
    }

    .table-wrapper__content {
        gap: 24px;
    }

    .table-wrapper__title {
        font-size: 40px;
    }

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

    .table__header-row-cell {
        padding: 8px 16px 4px;
    }

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

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

    .footer__content {
        height: 62px;
    }

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

    .scroll-to-top-btn {
        padding: 9px 32px;
        font-size: 16px;
    }
}

@media (min-width: 1440px) {
    .header {
        background: transparent;

        &:before {
            border-bottom-left-radius: 30px;
            border-bottom-right-radius: 30px;
        }
    }

    .header__content {
        height: 84px;
    }

    .hero {
        border-radius: 30px;
    }

    .hero__content {
        padding: 102px 71px;
        /*padding-right: 150px;*/
        /*padding-top: 190px;*/
        /*padding-bottom: 280px;*/
    }

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

    .hero__title {
        font-size: 56px;
    }

    .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;
        border-radius: 30px;

        &:before {
            top: -20%;
            right: -20%;
            aspect-ratio: 688 / 558;
            max-width: 688px;
        }
    }

    .slide__card-img {
        grid-column: 1 / 2;
        grid-row: 1 / 1;
        aspect-ratio: 212 / 134;
        width: 100%;
        max-width: 212px;
        border-radius: 24px;
        object-fit: fill;
    }

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

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

    .table-wrapper {
        width: 100%;
        background: #343333;
        padding: 76px 178px 152px;
    }

    .table-wrapper__content {
        gap: 56px;
    }

    .table-wrapper__title {
        font-size: 64px;
    }

    .table__header {
        font-size: 36px;
    }

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

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

    .table__body-row .table__body-row-cell {
        font-size: 18px;
        padding: 16px 32px 10px;
    }

    .footer__content {
        height: 70px;
    }

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

    .scroll-to-top-btn {
        padding: 14px 32px;
        font-size: 20px;
    }
}
