/* Legal pages content styles (accordion, requisites, titles, about) */

/* ── Page layout ── */
.body_page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.body_content {
    flex: 1 0 auto;
}

.bl_title {
    text-align: center;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #2B2530;
}

.bl_title_sn {
    text-align: center;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #a3a3a3;
}

.bl_title p {
    margin: 12px 0 0;
}

.bl_title p:first-child {
    margin: 0;
}

.req_page>* {
    width: 100%;
    max-width: 1100px;
    padding: 40px 24px 0;
    margin: 0 auto;
}

.req_page>*>*+* {
    margin-top: 40px;
}

.req_page.about-wide>* {
    max-width: 1200px;
}

.req_wrapper {
    width: 100%;
}

.text-wr {
    font-size: 15px;
    line-height: 1.6;
    color: #3c3b3b;
}

.text-wr p,
.text-wr ul,
.text-wr ol {
    margin-bottom: 12px;
}

.text-wr ul {
    padding-left: 24px;
    list-style: disc;
}

.text-wr ol {
    padding-left: 24px;
    list-style: decimal;
}

/* Requisites table */
.req_table {
    margin: 40px 0 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.req_section {
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
}

.req_section_title {
    background: #960505;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    padding: 12px 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.req_section dl {
    display: flex;
    align-items: baseline;
    padding: 12px 24px;
    border-bottom: 1px solid #f2f2f2;
    gap: 16px;
}

.req_section dl:last-child {
    border-bottom: none;
}

.req_section dt {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    font-weight: 500;
    min-width: 200px;
    flex-shrink: 0;
}

.req_section dd {
    font-size: 15px;
    line-height: 1.5;
    color: #3c3b3b;
    font-weight: 600;
}

/* Accordion (user agreement / privacy) */
.ua_intro {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-top: 28px;
}

.ua_accordion {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ua_item {
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
}

.ua_item_head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.ua_item_head:hover {
    background: #faf8f8;
}

.ua_item_open>.ua_item_head {
    background: #960505;
}

.ua_item_num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #960505;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.ua_item_open>.ua_item_head .ua_item_num {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.ua_item_title {
    flex: 1;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #3c3b3b;
    transition: color 0.15s;
}

.ua_item_open>.ua_item_head .ua_item_title {
    color: #fff;
}

.ua_item_arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.ua_item_arrow::before,
.ua_item_arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #960505;
    border-radius: 2px;
    transition: background 0.15s, transform 0.25s;
}

.ua_item_arrow::before {
    right: 50%;
    transform: translateY(-50%) rotate(-45deg);
    transform-origin: right center;
}

.ua_item_arrow::after {
    left: 50%;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: left center;
}

.ua_item_open>.ua_item_head .ua_item_arrow::before,
.ua_item_open>.ua_item_head .ua_item_arrow::after {
    background: #fff;
}

.ua_item_open>.ua_item_head .ua_item_arrow::before {
    transform: translateY(-50%) rotate(45deg);
}

.ua_item_open>.ua_item_head .ua_item_arrow::after {
    transform: translateY(-50%) rotate(-45deg);
}

.ua_item_body {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid #f2f2f2;
}

.ua_item_open>.ua_item_body {
    display: block;
}

.ua_item_body dl {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f6f6f6;
}

.ua_item_body dl:last-child {
    border-bottom: none;
}

.ua_item_body dt {
    font-size: 14px;
    color: #777;
    font-weight: 500;
    min-width: 60px;
    flex-shrink: 0;
}

.ua_item_body dd {
    font-size: 15px;
    line-height: 1.5;
    color: #3c3b3b;
}

.ua_item_body ul {
    padding-left: 20px;
    list-style: disc;
    margin: 8px 0;
}

.ua_item_body li {
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.5;
}

.ua_item_body strong {
    font-weight: 700;
}

/* ── About page ── */
.about-section {
    margin-bottom: 44px;
}

.about-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    padding-left: 16px;
    border-left: 3px solid #960505;
}

.about-section p {
    font-size: 15px;
    color: #2c2c2c;
    margin-bottom: 2px;
    line-height: 1.75;
}

.page-about p {
    text-indent: 18px
}

.about-intro {
    background: #f0efef;
    border-radius: 14px;
    padding: 32px 36px;
    margin-bottom: 44px;
}

.about-intro p {
    font-size: 17px;
    color: #1a1a1a;
    line-height: 1.75;
}

.about-intro p strong {
    color: #960505;
}

/* List */
.about-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #2c2c2c;
    line-height: 1.65;
}

.about-list li::before {
    content: '✦';
    color: #960505;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Final block */
.about-finale {
    background: #960505;
    border-radius: 14px;
    padding: 28px 40px;
    margin-top: 50px;
    text-align: center;
}

.about-finale p {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.about-finale p:last-child {
    margin-bottom: 0;
    font-size: 15px;
    opacity: 0.85;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .bl_title {
        font-size: 22px;
    }

    .bl_title_sn {
        font-size: 22px;
    }

    .req_page>* {
        padding: 24px 16px 0;
    }

    .req_page>*>*+* {
        margin-top: 24px;
    }

    .req_table {
        gap: 20px;
    }

    .req_section dl {
        flex-direction: column;
        gap: 4px;
        padding: 10px 16px;
    }

    .req_section dt {
        min-width: unset;
        font-size: 13px;
    }

    .req_section dd {
        font-size: 14px;
    }

    .ua_item_head {
        padding: 12px 16px;
        gap: 10px;
    }

    .ua_item_num {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .ua_item_title {
        font-size: 14px;
    }

    .ua_item_body {
        padding: 0 16px 16px;
    }

    .ua_item_body dl {
        padding: 8px 0;
    }

    .ua_item_body dt {
        font-size: 13px;
    }

    .ua_item_body dd {
        font-size: 14px;
    }

    .about-section h2 {
        font-size: 18px;
    }

    .about-intro {
        font-size: 14px;
    }

    .about-finale {
        font-size: 14px;
        padding: 16px;
    }
}
