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

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

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

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

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

body {
    color: #1a1a1a;
    background-color: #ffffff;
    padding: 0;
    margin: 0 auto;
    overflow-x: hidden;
}

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

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

footer a,
header a,
.button {
    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>strong {
    font-size: 16px;
}

ul>li::before {
    content: counter(list-counter);
    font-family: Poppins, serif;
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    color: #0a0a0a;
    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:last-child {
    margin-bottom: 0;
}

h1 {
    font-family: Poppins, serif;
    font-weight: normal;
    font-size: clamp(28px, 6vw, 48px);
    line-height: 1.15;
    letter-spacing: clamp(-0.3px, -0.4vw, -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;
}

a {
    color: inherit;
}

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

.button.primary {
    color: #0a0a0a;
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    box-shadow: 0px 4px 15px rgba(212, 175, 55, 0.4), 0px 1px 0px rgba(255, 255, 255, 0.3) inset;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 12px;
}

.button.secondary {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #d4af37;
}

/*============ SCROLLBAR ============*/

.custom-scrollbar-container {
    position: relative;
    display: flex;
    height: fit-content;
    flex-direction: column;
    gap: 20px;
}

.scroll-wrapper {
    display: flex;
    overflow: hidden;
}

.scroll-content {
    display: flex;
    gap: 20px;
    overflow-y: auto;
    scroll-behavior: smooth;
    width: 100%;
}

.scrollbar-track {
    width: 100%;
    height: 10px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    position: relative;
}

.scrollbar-thumb {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(180deg, #d4af37 0%, #b8962e 100%);
    border-radius: 6px;
}

/*============ HEADER ============*/

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-bottom: 3px solid #d4af37;
    padding-top: 2px;
    padding-bottom: 2px;
}

header .primary {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px 15px;
    color: #0a0a0a;
    height: 25px;
}

header img {
    display: block;
    width: auto;
    height: auto;
    max-height: 54px;
}

header .nav-links {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    width: 500px;
    justify-content: space-between;
}

.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: #ffffff;
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .header-wrapper {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px;
        height: auto;
        padding-bottom: 8px;
        align-items: center;
    }

    .header-wrapper > a:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .nav-links {
        display: none;
    }

    .header-button {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: 400px;
        text-align: center;
        margin: 0 auto;
        justify-self: center;
    }

    .mobile-menu {
        grid-column: 3;
        grid-row: 1;
        position: relative;
    }

    .burger {
        font-size: 28px;
        cursor: pointer;
        color: #fff;
        background: none;
        border: none;
        padding: 4px 8px;
    }

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

@media (max-width: 450px) {
    .header-button {
        width: 100%;
        max-width: 280px;
    }
}

/*============ BURGER ============*/

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

.menu-toggle-header {
    text-align: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #0a0a0a;
    border: 1px solid #d4af37;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    padding: 8px 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.2);
}

.burger-toggle:checked~.dropdown-menu {
    display: block;
}

/*============ HERO ============*/

.section-hero {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    padding: 150px 20px 100px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2240 100%);
}

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

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

.section-hero>.container {
    display: flex;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    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 {
    color: #d4af37;
}

.section-hero .primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 14px 60px;
    font-size: 18px;
}

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

/*============ SECTION CARDS ============*/

.section-cards {
    padding: 15px 0;
}

.section-cards>.container {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    max-width: 1000px;
    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__content img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

.card__text strong {
    font-size: 18px;
    color: #1a1a1a;
}

.card__btn {
    align-self: center;
    font-weight: 600;
    color: #0a0a0a;
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 12px 40px;
}

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

/*============ SECTION TEXT ============*/

.section-text {
    padding: 15px 20px;
}

.section-text>.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-text p {
    font-family: Mulish, serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
}

.section-text h2 {
    font-size: 32px;
    color: #1a1a1a;
}

.section-text h3 {
    font-size: 26px;
    color: #333333;
}

/*============ TABLE ============*/

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

th,
td {
    text-align: left;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
}

th {
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    color: #0a0a0a;
    font-weight: 600;
}

td:first-child {
    font-weight: 600;
    background: #fffbf0;
}

/*============ IMAGE ============*/

.inblock-image {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}

/*============ FOOTER ============*/

footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    border-top: 3px solid #d4af37;
}

footer img {
    display: block;
    width: auto;
    height: auto;
    max-height: 60px;
}

.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: #ffffff;
    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 auto;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    user-select: none;
    cursor: pointer;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.table-header .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
    transform: rotate(45deg);
    transition: transform .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: 0fr;
    transition: grid-template-rows .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 rgba(212, 175, 55, 0.3);
    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-list a {
    color: #1a1a1a;
}

.table-list a:hover {
    color: #d4af37;
}

.section-horizontal-ul {
    background: rgba(212, 175, 55, 0.08);
    border-radius: 12px;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

/*============ MEDIA QUERIES ============*/

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

@media screen and (max-width: 1210px) {
    .section-hero__image {
        max-width: calc(50% - 200px);
        width: 350px;
    }
}

@media screen and (max-width: 980px) {
    .section-hero__image {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

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

    .section-hero__btns-wrapper {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-hero__btns-wrapper > a {
        min-width: 200px;
    }

    .section-cards>.container {
        grid-auto-flow: row;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        justify-items: center;
    }
}

@media screen and (max-width: 768px) {
    .section-hero {
        padding-top: 160px;
    }

    .section-hero__text-wrapper {
        gap: 20px;
    }

    .section-hero .primary {
        width: 100%;
        height: auto;
        padding: 14px 20px;
        font-size: 20px;
    }

    h1 {
        font-size: clamp(28px, 5.5vw, 36px);
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .section-hero__text-wrapper p {
        font-size: 18px;
    }

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

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table thead,
    table tbody {
        display: table;
        width: 100%;
        min-width: 500px;
    }

    th, td {
        padding: 10px 12px;
        font-size: 14px;
    }

    .section-text h2 {
        font-size: 26px;
    }

    .section-text h3 {
        font-size: 22px;
    }
}

@media screen and (max-width: 600px) {
    .section-hero {
        padding: 160px 20px 80px 20px;
    }

    .section-hero__btns-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .section-hero__btns-wrapper .button,
    .section-hero__btns-wrapper > a {
        width: 100%;
        max-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .card {
        width: 100%;
        max-width: 280px;
    }

    .card__content img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 425px) {
    .section-hero {
        padding-top: 140px;
    }

    .section-hero__text-wrapper p {
        font-size: 16px;
        line-height: 1.5;
    }

    h1 {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }
}
