/* Страница тарифов (каталог tariffs/) — палитра как на главной */
:root {
    --b24-accent: #e2e8f0;
    --b24-accent-hover: #f8fafc;
    --b24-accent-muted: #a1a1aa;
    --b24-accent-rgb: 226, 232, 240;
    --b24-ink: #09090b;
    --b24-text: #e8ecf1;
    --b24-muted: #94a3b8;
    --b24-bg: #030303;
    --b24-bg-soft: #09090b;
    --b24-bg-elevated: #141414;
    --b24-line: rgba(255, 255, 255, 0.1);
    --b24-radius: 16px;
}

html[data-color-scheme="light"] {
    --b24-accent: #2563eb;
    --b24-accent-hover: #1d4ed8;
    --b24-accent-muted: #64748b;
    --b24-accent-rgb: 37, 99, 235;
    --b24-ink: #ffffff;
    --b24-text: #0f172a;
    --b24-muted: #64748b;
    --b24-bg: #f8fafc;
    --b24-bg-soft: #f1f5f9;
    --b24-bg-elevated: #fff;
    --b24-line: rgba(15, 23, 42, 0.08);
}

body.tariffs-page {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--b24-text);
    background: var(--b24-bg);
    line-height: 1.6;
}

.tariffs-page .container:not(.b24-header-inner) {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.tariffs-page .b24-hero .container {
    max-width: 1180px;
}

.tariffs-page .b24-hero {
    padding: 64px 0 56px;
}

.b24-hero {
    position: relative;
    padding: 88px 0 72px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    --hero-bg: #030303;
    --hero-blue-rgb: 82, 82, 91;
    --hero-accent: #e2e8f0;
    --hero-accent-hover: #f8fafc;
    --hero-accent-2: #a1a1aa;
    --hero-accent-rgb: 226, 232, 240;
    --hero-floor-rgb: 113, 113, 122;
    background-color: var(--hero-bg);
    background-image:
        radial-gradient(ellipse 68% 56% at 12% 58%, rgba(var(--hero-blue-rgb), 0.34) 0%, transparent 58%),
        radial-gradient(ellipse 52% 48% at 88% 14%, rgba(var(--hero-accent-rgb), 0.14) 0%, transparent 52%),
        radial-gradient(ellipse 130% 42% at 50% 108%, rgba(var(--hero-floor-rgb), 0.09) 0%, transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 22%, transparent 62%, rgba(0, 0, 0, 0.35) 100%);
}

.b24-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 35% at 50% -8%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}

.b24-hero .container {
    position: relative;
    z-index: 1;
}

.b24-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 100%);
}

.b24-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.35rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.14;
    max-width: 900px;
    margin: 0 auto 22px;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.b24-hero-title span {
    background: linear-gradient(118deg, var(--hero-accent-hover) 0%, var(--hero-accent) 38%, var(--hero-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--hero-accent);
    filter: drop-shadow(0 0 28px rgba(var(--hero-accent-rgb), 0.35));
}

@supports not (background-clip: text) {
    .b24-hero-title span {
        -webkit-text-fill-color: var(--hero-accent);
        filter: none;
    }
}

.b24-hero-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.tariffs-page .b24-hero .b24-hero-lead {
    max-width: min(58rem, 100%);
    margin-bottom: 0;
}

html[data-color-scheme="light"] .b24-hero {
    --hero-bg: #f0f5ff;
    --hero-blue-rgb: 59, 130, 246;
    --hero-accent: #1d4ed8;
    --hero-accent-hover: #2563eb;
    --hero-accent-2: #64748b;
    --hero-accent-rgb: 29, 78, 216;
    --hero-floor-rgb: 96, 165, 250;
    border-bottom-color: rgba(30, 64, 175, 0.12);
    background-image:
        radial-gradient(ellipse 72% 58% at 12% 52%, rgba(var(--hero-blue-rgb), 0.18) 0%, transparent 58%),
        radial-gradient(ellipse 50% 46% at 88% 14%, rgba(var(--hero-accent-rgb), 0.12) 0%, transparent 52%),
        radial-gradient(ellipse 130% 48% at 50% 108%, rgba(147, 197, 253, 0.35) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, transparent 30%, transparent 68%, #e8efff 100%);
}

html[data-color-scheme="light"] .b24-hero::before {
    background: radial-gradient(ellipse 60% 40% at 50% -5%, rgba(255, 255, 255, 0.85) 0%, transparent 55%);
}

html[data-color-scheme="light"] .b24-hero-grid {
    background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
}

html[data-color-scheme="light"] .b24-hero-title {
    color: #0f172a;
    text-shadow: none;
}

html[data-color-scheme="light"] .b24-hero-title span {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    color: #1d4ed8 !important;
    filter: none;
}

html[data-color-scheme="light"] .b24-hero-lead {
    color: #64748b;
}

.tariffs-main {
    padding: 28px 0 96px;
}

.tariffs-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tariff-card {
    background: var(--b24-bg-elevated);
    border: 1px solid var(--b24-line);
    border-radius: var(--b24-radius);
    padding: 28px 26px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html[data-color-scheme="light"] .tariff-card {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.tariff-card--accent {
    border-color: rgba(var(--b24-accent-rgb), 0.35);
    background: linear-gradient(165deg, rgba(var(--b24-accent-rgb), 0.12) 0%, var(--b24-bg-elevated) 55%);
}

.tariff-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f1f5f9;
}

html[data-color-scheme="light"] .tariff-card h2 {
    color: #0f172a;
}

.tariff-price {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--b24-accent);
}

.tariff-card p,
.tariff-card li {
    color: var(--b24-muted);
    font-size: 0.95rem;
}

.tariff-card ul {
    margin-top: 14px;
    padding-left: 1.15rem;
}

.tariff-card li + li {
    margin-top: 6px;
}

.tariff-note {
    margin-top: 48px;
    padding: 20px 22px;
    border-radius: 12px;
    background: rgba(var(--b24-accent-rgb), 0.06);
    border: 1px solid rgba(var(--b24-accent-rgb), 0.2);
    color: var(--b24-muted);
    font-size: 0.9rem;
    max-width: 52rem;
}

