.documents-page {
    min-height: 100vh;
    padding: 140px 24px 100px;
    background:
        radial-gradient(circle at top right, rgba(16, 38, 169, 0.35), transparent 42%),
        radial-gradient(circle at bottom left, rgba(2, 67, 255, 0.18), transparent 38%),
        #000;
    color: #fff;
    font-family: 'muller', sans-serif;
}

.documents-page__wrapper {
    max-width: 920px;
    margin: 0 auto;
}

.documents-page__hero {
    margin-bottom: 48px;
}

.documents-page__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.documents-page__back:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.documents-page__back-icon {
    font-size: 18px;
    line-height: 1;
}

.documents-page__intro {
    max-width: 760px;
}

.documents-page__eyebrow {
    margin: 0 0 12px;
    color: #0243ff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.documents-page__title {
    margin: 0 0 20px;
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.documents-page__subtitle {
    margin: 0;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 500;
    line-height: 1.55;
    text-transform: none;
}

.documents-page__empty {
    margin: 0;
    padding: 32px;
    border: 1px dashed rgba(255, 255, 255, 0.24);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.documents-list--page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.documents-page__card {
    margin: 0;
}

.documents-page__card-link {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    padding: 28px 28px 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.documents-page__card-link:hover {
    transform: translateY(-2px);
    border-color: rgba(2, 67, 255, 0.65);
    background: rgba(16, 38, 169, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.documents-page__card-icon {
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(2, 67, 255, 0.28) 0%, rgba(16, 38, 169, 0.42) 100%);
}

.documents-page__card-icon-label {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.documents-page__card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.documents-page__card-type {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.documents-page__card-title {
    margin: 0;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.documents-page__card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: #0243ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.documents-page__card-link:hover .documents-page__card-action {
    color: #fff;
}

.light .documents-page {
    background:
        radial-gradient(circle at top right, rgba(16, 38, 169, 0.08), transparent 42%),
        radial-gradient(circle at bottom left, rgba(2, 67, 255, 0.06), transparent 38%),
        #fff;
    color: #000;
}

.light .documents-page__back {
    border-color: rgba(0, 0, 0, 0.18);
    color: #000;
}

.light .documents-page__back:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.light .documents-page__subtitle {
    color: rgba(0, 0, 0, 0.62);
}

.light .documents-page__empty {
    border-color: rgba(0, 0, 0, 0.18);
}

.light .documents-page__card-link {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}

.light .documents-page__card-link:hover {
    border-color: rgba(16, 38, 169, 0.35);
    background: rgba(16, 38, 169, 0.06);
    box-shadow: 0 18px 40px rgba(16, 38, 169, 0.08);
}

.light .documents-page__card-icon {
    border-color: rgba(16, 38, 169, 0.18);
    background: linear-gradient(180deg, rgba(2, 67, 255, 0.12) 0%, rgba(16, 38, 169, 0.18) 100%);
    color: #1026A9;
}

.light .documents-page__card-type {
    color: rgba(0, 0, 0, 0.45);
}

.light .documents-page__card-action {
    color: #1026A9;
}

.light .documents-page__card-link:hover .documents-page__card-action {
    color: #0243ff;
}

@media (max-width: 991px) {
    .documents-page {
        padding-top: 120px;
    }
}

@media (max-width: 575px) {
    .documents-page {
        padding: 108px 16px 72px;
    }

    .documents-page__hero {
        margin-bottom: 32px;
    }

    .documents-page__back {
        margin-bottom: 24px;
        width: 100%;
        justify-content: center;
    }

    .documents-page__card-link {
        flex-direction: column;
        gap: 18px;
        padding: 22px 18px;
    }

    .documents-page__card-icon {
        width: 64px;
        min-height: 64px;
    }
}
