@import 'variables.css';
@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic
}

@font-face {
    font-family: "Poppins";
    src: url("assets/fonts/Poppins-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic
}

@font-face {
    font-family: "Mulish";
    src: url("assets/fonts/Mulish-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: "Mulish";
    src: url("assets/fonts/Mulish-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: "Mulish";
    src: url("assets/fonts/Mulish-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: "Mulish";
    src: url("assets/fonts/Mulish-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: "Mulish";
    src: url("assets/fonts/Mulish-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    font-style: italic
}

@font-face {
    font-family: "Mulish";
    src: url("assets/fonts/Mulish-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic
}

body {
    color: var(--color-1);
    background-color: var(--color-2);
    padding: 0;
    margin: 0 auto;
    overflow-x: hidden
}

hr {
    color: var(--color-grey)
}

h1, h2, h3, h4, h5, h6, p {
    font-family: Mulish, serif;
    color: white;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0
}

.button, footer a, header a {
    color: inherit;
    text-decoration: none;
    cursor: pointer
}

a:visited {
    color: inherit
}

ul {
    list-style: none;
    counter-reset: list-counter;
    border-radius: 12px;
    padding: 0;
    margin: 0
}

ul > li {
    counter-increment: list-counter;
    margin-bottom: 16px;
    position: relative;
    padding-left: 34px
}

ul > li::before {
    content: counter(list-counter);
    font-family: Poppins, serif;
    background-color: var(--color-1);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -2px;
    left: -4px;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0
}

ul > li:has(strong)::before {
    top: 7px;
}

ul > li:last-child {
    margin-bottom: 0
}

h1 {
    font-family: Poppins, serif;
    font-weight: normal;
    font-size: 48px;
    line-height: 1.3;
    letter-spacing: -2.5px;
}

h2 {
    font-family: Poppins, serif;
    font-size: 44px;
    font-weight: normal;
    line-height: 1.2
}

h3 {
    font-family: Poppins, serif;
    font-size: 40px;
    font-weight: normal;
    line-height: 1.2
}

h4 {
    font-family: Poppins, serif;
    font-size: 36px;
    font-weight: normal;
    line-height: 1.3
}

h5 {
    font-family: Poppins, serif;
    font-size: 32px;
    font-weight: normal;
    line-height: 1.4
}

h6 {
    font-family: Poppins, serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.4
}

.button {
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    font-family: Poppins, serif;
    line-height: 24px
}

.button:hover {
    transform: scale(1.1)
}

.button.primary {
    background-color: #168557
}

table {
    font-family: Mulish, serif;
    font-size: 18px;
    color: white;
    max-width: 1000px;
    overflow: hidden;
    border-spacing: 0;
    box-sizing: border-box
}

th {
    text-align: left;
    height: 40px;
    padding: 0 0 0 10px;
    font-weight: bold;
    background-color: hsla(0, 0%, 50.2%, .1019607843)
}

th:nth-child(1) {
    padding: 0 0 0 20px
}

td {
    text-align: left;
    padding: 0 0 0 10px;
    height: 60px;
    border: 1px solid hsla(0, 0%, 50.2%, .5019607843)
}

td:nth-child(1) {
    padding: 0 0 0 20px
}

tr:hover td {
}

em, i {
    max-width: 100%;
    font-family: Poppins, serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic
}

strong {
    max-width: 100%;
    font-family: Poppins, serif;
    font-size: 24px;
    color: white;
    font-weight: 700
}
p > strong {
    font-size: inherit
}

.main-with-sidebar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px
}

blockquote {
    position: relative;
    color: var(--color-quote);
    padding-left: 26px;
    margin: 40px 0
}

blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    height: 100%;
    background: var(--color-quote);
    border-radius: 6px
}

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    border: none;
    border-bottom-width: 2px;;
    background-color: #000000;
    padding-top: 2px;
    padding-bottom: 2px
}

header .primary {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    padding: 8px 15px;
    color: #fff;
    height: 25px
}

header img {
    border-style: none;
    height: 54px;
    max-width: 100%
}

.burger-toggle, .menu-toggle, .submenu-toggle {
    display: none;
    opacity: 0;
    pointer-events: none
}

.burger {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    z-index: 1100;
    position: relative
}

.burger .icon {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.burger .menu-icon {
    display: block
}

.burger .close-icon {
    display: none
}

.burger-toggle:checked + .burger .menu-icon {
    display: none
}

.burger-toggle:checked + .burger .close-icon {
    display: block
}

.submenu-icon {
    display: block;
    transition: transform 0.3s ease
}

.menu-toggle:checked + .dropdown__title-wrapper label .submenu-icon {
    transform: rotate(180deg)
}

.card__text {
    color: black
}

.header-wrapper .button, .card__btn {
    display: inline-block;
    position: relative;
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    color: #fff;
    background-color: #168557;
    transition: background-image 0.2s;
}

.header-wrapper.mobile {
    display: none
}

.dropdown-menu {
    display: none;
    padding-left: 15px
}

.dropdown__title-wrapper {
    display: flex;
    align-items: center
}

@media (max-width: 768px) {
    .header-wrapper.mobile {
        display: flex
    }

    summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        align-items: center
    }

    summary::-webkit-details-marker {
        display: none
    }

    nav > details > summary {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 2001;
        background: transparent;
        border: none;
        padding: 5px
    }

    .open-icon {
        display: inline
    }

    .close-icon {
        display: none
    }

    details[open] > summary .open-icon {
        display: none
    }

    details[open] > summary .close-icon {
        display: inline
    }

    nav > details > ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: var(--color-1);
        padding: 60px 20px 20px;
        color: black;
        z-index: 2000
    }

    nav > details:not([open]) > ul {
        display: none
    }

    nav a {
        display: block;
        padding: 12px 0;
        font-size: 18px;
        color: black;
        text-decoration: none
    }

    li > details > ul {
        display: flex;
        flex-direction: column;
        padding-left: 15px;
        background: var(--color-1)
    }

    li > details:not([open]) > ul {
        display: none
    }

    li > details > summary {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    li > details > ul li a {
        padding: 8px 0
    }

    details ul > li {
        padding-left: 0
    }

    details ul > li::before {
        content: none
    }
}

main {
    background-color: #000000;
    color: #ffffff;
    backdrop-filter: blur(150px);
    -webkit-backdrop-filter: blur(150px);
    box-sizing: border-box
}

section {
    max-width: 1140px;
    margin: 20px auto 0;
    padding-bottom: 20px
}

section .container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px
}

.section-hero {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    padding: 150px 20px 100px;
    overflow: hidden
}

.section-hero__text-wrapper p {
    font-size: 22px;
    color: white;
}

.section-hero__image {
    position: absolute;
    top: 50%;
    max-width: calc(50% - 250px);
    transform: translateY(-50%);
    left: calc(50% + 50px);
    max-height: 500px
}

.section-hero > .container {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center
}

.section-hero__text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 50%;
    color: white;
    font-size: 22px
}

.section-hero h1, h2, h3, h4, h5, h6 {
    color: white;
}

.section-hero h1 {
    color: white;
}

.section-hero .primary {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 600;
    border-radius: 10px 10px 10px 10px;
    text-transform: uppercase;
    fill: #1b1b25;
    color: #fff;
    background-color: #168557;
}

.section-hero__btns-wrapper {
    display: flex;
    gap: 40px
}

.section-hero__btns-wrapper > a {
    display: flex;
    text-align: center;
    justify-content: center;
    width: 50%
}

.section-buttons > .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px
}

.section-cards > .container {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto
}

.card {
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px
}

.card__content {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.card__text {
    display: flex;
    flex-direction: column;
    text-align: center
}

.card__btn {
    align-self: center;
    font-weight: 600;
    fill: white;
    color: white;
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease
}

.card__btn .primary {
    padding: 8px 12px
}

.card__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2)
}

ul > li, .section-horizontal-ul, ul > li a {
    color: white;
}

.list-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    font-family: Mulish, serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-offer-bg)
}

.list-item:last-child {
    border-bottom: none
}

.list-item > img {
    margin-top: 3px
}

.list-text-wrapper {
    word-break: normal
}

.list-item {
    color: var(--color-4)
}

.list-text-title {
    word-break: normal
}

.offer__description .list-text {
    color: var(--color-4)
}

.section-images > .container {
    display: grid;
    gap: 10px;
    grid-template-columns:repeat(auto-fit, minmax(150px, 1fr))
}

.section-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

footer {
    grid-area: footer;
    background-color: #151515
}

footer img {
    height: 54px;
    width: 154px
}

.footer-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    padding: 16px 0;
    flex-direction: column;
    box-sizing: border-box;
    justify-content: space-between;
    color: var(--color-2);
    font-family: Poppins, serif;
    font-weight: 700;
    align-items: center
}

.footer-wrapper > div {
    display: flex;
    flex-direction: row
}

.footer-wrapper > nav {
    display: flex;
    flex-direction: row;
    gap: 50px
}

.footer-wrapper > nav * {
    display: flex;
    align-items: center;
    height: 30px;
    font-weight: 400
}

.footer-wrapper > div {
    display: flex;
    flex-direction: column;
    align-items: center
}

.footer-wrapper > div > p {
    max-width: 100%;
    height: 22px;
    font-size: 14px;
    font-weight: 400
}

.table-wrapper {
    max-width: 100%;
    margin: 20px auto;
    font-family: sans-serif
}

.toc-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0
}

.table-header {
    display: flex;
    max-width: 1000px;
    margin: 0;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    user-select: none;
    cursor: pointer;
    border-bottom: 1px solid
}

.table-header .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(45deg);
    transition: transform 0.3s ease
}

.toc-toggle:checked + .table-header .arrow {
    transform: rotate(-135deg)
}

.toc-toggle:checked + .table-header {
    border-bottom: none
}

.toc-content {
    display: grid;
    grid-template-rows:0;
    transition: grid-template-rows 0.3s ease
}

.toc-content > * {
    overflow: hidden
}

.toc-toggle:checked ~ .toc-content {
    grid-template-rows:1fr
}

.toc-toggle:checked ~ .toc-content .table-list {
    border-bottom: 1px solid;
    padding: 12px 18px 12px 30px
}

.table-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 18px 0 30px;
    list-style: disc;
    border-radius: 0
}

.table-list li {
    margin: 0;
    padding: 0;
    font-size: 15px
}

.table-list li::before {
    content: "";
    background: none
}

.table-header {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: space-between;
    border-bottom: 1px solid white;
    align-items: center;
    padding: 12px 18px;
    cursor: pointer;
    user-select: none
}

.table-header .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease
}

@media screen and (max-width: 1440px) {
    body {
        display: flex;
        flex-direction: column
    }

    section {
        padding-left: 20px;
        padding-right: 20px
    }

    .section-hero__image {
        top: 350px
    }
}

@media screen and (max-width: 1210px) {
    .section-images > .container {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .section-images > .container img {
        max-width: 40vw
    }
}

@media screen and (max-width: 980px) {
    .section-cards > .container {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .section-hero__image {
        display: block;
        position: static;
        max-width: 70%;
        margin: 0 auto;
        transform: none
    }

    .section-hero__text-wrapper {
        max-width: 100%
    }

    .section-hero__btns-wrapper {
        justify-content: center
    }
}

.header-wrapper {
    max-width: 1440px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 16px;
    font-family: Poppins, serif;
    font-weight: 700;
    color: var(--color-2)
}

.menu-toggle-header {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap
}

.mobile-menu-wrapper {
    display: grid;
    grid-template-rows:0;
    transition: grid-template-rows 0.3s ease
}

.menu-toggle-header:checked ~ .mobile-menu-wrapper {
    grid-template-rows:1fr
}

.mobile-menu-wrapper > * {
    overflow: hidden
}

.mobile-menu {
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: white
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
    margin-bottom: 0
}

.mobile-menu li a {
    display: block;
    padding: 10px;
    color: #44307C;
    text-decoration: none;
    transition: background 0.3s
}

.mobile-menu li a:hover {
    background: #f2f2f2
}

.burger-btn {
    display: none;
    cursor: pointer
}

.burger-btn img {
    transition: transform 0.3s ease
}

.menu-toggle-header:checked + .header-wrapper .burger-btn img {
    transform: rotate(180deg)
}

.desktop-only {
    display: flex
}

.mobile-only {
    display: none
}

@media screen and (max-width: 768px) {
    .section-hero {
        padding: 100px 20px 100px;
    }
    .burger {
        display: flex
    }

    main {
        max-width: 100%
    }

    .menu-toggle-header {
        display: none
    }

    .mobile-menu li::before {
        content: none
    }

    .desktop-only {
        display: none
    }

    .mobile-only {
        display: block
    }

    .section-hero > .container {
        position: relative;
        z-index: 1
    }

    .section-hero__text-wrapper {
        gap: 20px;
        max-width: 100%
    }

    section {
        padding: 0 16px;
        margin-bottom: 60px
    }

    .header-wrapper {
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 12px 14px;
        gap: 5px
    }

    .section-hero .primary {
        display: flex;
        align-items: center;
        width: 100%;
        height: 50px
    }

    h1 {
        font-size: 48px
    }

    h2 {
        font-size: 32px
    }

    h3 {
        font-size: 28px
    }

    h4 {
        font-size: 24px
    }

    h5 {
        font-size: 18px
    }

    h6 {
        font-size: 18px
    }

    body, p, strong {
        font-size: 18px
    }

    .button {
        padding: 16px 25px;
    }

    .section-hero__btns-wrapper {
        gap: 16px
    }

    .section-text .container table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        margin-bottom: 20px
    }

    .section-text .container table tbody, .section-text .container table thead {
        display: table;
        width: 600px;
        table-layout: fixed;
        border-collapse: collapse
    }

    .section-text .container table td, .section-text .container table th {
        display: table-cell;
        width: 150px;
        white-space: normal;
        word-break: break-all
    }

    .section-text .container table th {
        padding: 0 10px
    }

    .section-text .container table th:nth-child(1) {
        padding: 0 10px 0 20px
    }

    .section-text .container table td {
        padding: 0 10px
    }

    .section-text .container table td:nth-child(1) {
        padding: 0 10px 0 20px
    }

    .footer-wrapper {
        padding: 10px 12px;
        flex-direction: column;
        align-items: center
    }

    .footer-wrapper > nav {
        gap: 24px
    }
}

@media screen and (max-width: 600px) {
    .section-hero__btns-wrapper {
        flex-direction: column
    }

    .section-hero__btns-wrapper .button {
        width: auto
    }
}

@media screen and (max-width: 425px) {
    header {
        margin-bottom: 64px
    }

    .section-hero__text-wrapper {
        max-width: 90%;
        margin: 0 auto
    }

    .section-hero__text-wrapper p {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%
    }

    h1 {
        font-size: 28px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%;
        letter-spacing: -0.28px
    }

    h2 {
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%;
        letter-spacing: -0.24px
    }

    .container {
        gap: 24px
    }

    .section-hero__btns-wrapper {
        justify-content: center
    }
}

.inblock-image {
    width: 400px;
    max-width: 100%;
    max-height: 100%;
    height: 400px;
    margin: auto
}
