/* =========================================================
   tariffs-compare — «Что входит в каждый тариф» (таблица сравнения).
   Тёмная шапка, чередование строк, значения по центру.
   ========================================================= */

.compare-section {
    padding: var(--section-pad) 0;
}

.compare-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--fs-title);
    line-height: 1;
    color: var(--color-bg-dark);
    text-align: center;
}

.compare-desc {
    margin-top: 16px;
    margin-bottom: 48px;
    font-size: var(--fs-subtitle);
    line-height: 1.3;
    color: var(--color-text-gray);
    text-align: center;
}

.compare-scroll {
    overflow-x: auto;
    border-radius: var(--radius-card-lg);
}

.compare-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 22px 24px;
    font-size: 16px;
    line-height: 1.35;
    color: var(--color-bg-dark);
    text-align: center;
}

.compare-table thead th {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    font-weight: 700;
    font-size: 17px;
}

/* Первый столбец — максимум 30% ширины */
.compare-table th:first-child {
    width: 30%;
}

.compare-table .compare-th,
.compare-table tbody th {
    text-align: left;
    font-weight: 500;
}

.compare-table tbody tr:nth-child(odd) {
    background-color: var(--color-white);
}

.compare-table tbody tr:nth-child(even) {
    background-color: var(--color-bg-gray);
}

/* Ссылки внутри ячеек (контент таблицы) */
.compare-table a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.compare-table a:hover {
    color: var(--color-accent-orange);
}
