/* ============================================================ */
/* INFO PAGES — Политика конфиденциальности и Виды деятельности  */
/* ============================================================ */

body {
    font-family: 'Montserrat', sans-serif;
}

/* Отступ от фиксированной шапки */
.case_top {
    display: block;
    min-height: 90px;
    padding-top: 0 !important;
}

/* Область контента */
.info-page {
    padding: 30px 0 80px;
    background: #FBFBFC;
    position: relative;
    overflow: hidden;
}

/* Тонкая техно-сетка на фоне */
.info-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(225, 31, 43, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(225, 31, 43, .04) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
    z-index: 0;
}

/* Световой луч */
.info-page::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    width: 40%;
    height: 140%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(225, 31, 43, .05) 45%,
        rgba(225, 31, 43, .12) 50%,
        rgba(225, 31, 43, .05) 55%,
        transparent 100%);
    transform: translateX(-120%) skewX(-18deg);
    animation: lightSweep 9s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes lightSweep {
    0%, 15%   { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
    30%       { opacity: 1; }
    60%, 100% { transform: translateX(360%) skewX(-18deg); opacity: 0; }
}

/* ============================================= */
/* ШАПКА СТРАНИЦЫ                                */
/* ============================================= */
.info-header {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(225, 31, 43, .15);
    text-align: center;
}

.info-tag {
    display: inline-block;
    padding: 9px 30px;
    margin-bottom: 26px;
    background: #E11F2B;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 30px;
}

.info-title {
    font-size: 42px;
    line-height: 52px;
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}

.info-subtitle {
    font-size: 16px;
    line-height: 26px;
    color: #777777;
    margin: 0 auto;
    max-width: 900px;
}

/* ============================================= */
/* КОНТЕНТ (для policy.php)                      */
/* ============================================= */
.info-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.info-content p {
    font-size: 16px;
    line-height: 26px;
    color: #4A4A4A;
    margin-bottom: 20px;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* ============================================= */
/* ТАБЛИЦА (для economy_policy.php)              */
/* ============================================= */
.info-table-wrapper {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .06);
    border: 1px solid #F0F0F0;
    margin-left: auto;
    margin-right: auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table thead {
    background: #F7F8F9;
    border-bottom: 2px solid rgba(225, 31, 43, .2);
}

.info-table th {
    padding: 20px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #1F1F1F;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-table td {
    padding: 20px 24px;
    font-size: 15px;
    line-height: 24px;
    color: #333333;
    border-bottom: 1px solid #F0F0F0;
    vertical-align: top;
}

.info-table td.info-table-code {
    width: 100px;
    text-align: center;
    font-weight: 600;
    color: #E11F2B;
    font-size: 16px;
}

.info-table tbody tr {
    transition: background .3s ease;
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

.info-table tbody tr:hover {
    background: rgba(225, 31, 43, .03);
}

/* ============================================= */
/* АНИМАЦИЯ ПОЯВЛЕНИЯ                            */
/* ============================================= */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/* АДАПТИВНОСТЬ                                  */
/* ============================================= */
@media (max-width: 991.98px) {
    .case_top { min-height: 80px; }

    .info-title {
        font-size: 32px;
        line-height: 42px;
    }

    .info-subtitle {
        font-size: 15px;
        line-height: 24px;
    }

    .info-table th,
    .info-table td {
        padding: 16px 18px;
        font-size: 14px;
        line-height: 22px;
    }

    .info-table td.info-table-code {
        width: 80px;
    }
}

@media (max-width: 767.98px) {
    .case_top { min-height: 70px; }

    .info-header {
        margin-bottom: 36px;
        padding-bottom: 28px;
    }

    .info-tag {
        padding: 7px 22px;
        font-size: 11px;
    }

    .info-title {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 16px;
    }

    .info-content p {
        font-size: 15px;
        line-height: 24px;
    }

    /* Таблица становится карточной */
    .info-table thead {
        display: none;
    }

    .info-table,
    .info-table tbody,
    .info-table tr,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table tr {
        margin-bottom: 16px;
        padding: 16px;
        border: 1px solid #F0F0F0;
        border-radius: 12px;
    }

    .info-table td {
        padding: 8px 0;
        border: none;
    }

    .info-table td.info-table-code {
        width: auto;
        text-align: left;
        font-size: 14px;
        margin-bottom: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid #F0F0F0;
    }

    .info-table td.info-table-code::before {
        content: 'Код: ';
        font-weight: 400;
        color: #777777;
    }
}

@media (max-width: 575.98px) {
    .case_top { min-height: 60px; }

    .info-page {
        padding: 20px 0 60px;
    }

    .info-title {
        font-size: 22px;
        line-height: 30px;
    }

    .info-content p {
        font-size: 14px;
        line-height: 22px;
    }
}