/* FastSys 24/7 — палитра и то, что есть только здесь.
 *
 * Предмет — дежурство: кто-то не спит, чтобы у клиента работало. Отсюда
 * холодный графит как основа и один горячий оранжевый на действиях: пара
 * читается как «ночная смена и лампочка вызова», а не как очередной
 * корпоративный синий.
 *
 * Оранжевого мало и он всегда означает действие: кнопка, срочность, отклик.
 * Заголовки и текст его не трогают — иначе он перестанет звать.
 */

:root {
    --c-ink: #0f172a;
    --c-text: #1e293b;
    --c-muted: #64748b;

    --c-bg: #f8fafc;
    --c-surface: #ffffff;
    --c-surface-2: #eef2f6;
    --c-border: #e2e8f0;
    --c-border-strong: #cbd5e1;

    --c-primary: #ea580c;
    --c-primary-dark: #c2410c;
    --c-primary-soft: #fff1e8;

    --c-link: #c2410c;
    --c-link-hover: #9a3412;
    --c-focus: #ea580c;
    --c-accent: #ea580c;

    --c-ok: #15803d;
    --c-ok-soft: #e8f5ec;
    --c-err: #b42318;
    --c-err-soft: #fdecea;
}

/* ── Шапка ────────────────────────────────────────────────────────────────*/
.site-head { background: var(--c-ink); }
.site-head .brand { color: #fff; }
.site-head .brand:hover { color: #fff; }
.brand-247 { color: var(--c-primary); font-weight: 800; }
.head-phone { color: #cbd5e1; text-decoration: none; font-weight: 600; }
.head-phone:hover { color: #fff; }

/* ── Первый экран ─────────────────────────────────────────────────────────*/
.hero {
    padding: var(--s-9) 0;
    background:
        radial-gradient(800px 340px at 88% -12%, #24344d 0%, transparent 62%),
        var(--c-ink);
    color: #e2e8f0;
}
.hero h1 { color: #fff; max-width: 19ch; }
.hero .lead { color: #b4c1d1; max-width: 58ch; font-size: 1.12rem; }
.hero .btn-outline { color: #dbe4ee; border-color: #3b4d68; }
.hero .btn-outline:hover { background: #1e2c42; color: #fff; }

/* Часы дежурства: показываем предмет — ночь, когда всё и ломается. */
.clock-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-top: var(--s-6); }
.clock-cell {
    height: 34px; border-radius: 5px;
    background: #1c2b40;
    display: grid; place-items: center;
    font-family: var(--mono); font-size: .68rem; color: #6b8199;
}
.clock-cell.on { background: #2a1a10; color: #fdba74; box-shadow: inset 0 0 0 1px #7c3a12; }

/* ── Тарифы ───────────────────────────────────────────────────────────────*/
.plan {
    display: flex; flex-direction: column; height: 100%;
    padding: var(--s-5);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
}
.plan-best { border-color: var(--c-primary); box-shadow: var(--shadow); position: relative; }
.plan-best::before {
    content: 'Берут чаще всего';
    position: absolute; top: -11px; left: var(--s-5);
    background: var(--c-primary); color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .03em;
    padding: 3px 10px; border-radius: 999px;
}
.plan h3 { margin-bottom: 2px; }
.plan-price { font-size: 1.7rem; font-weight: 800; color: var(--c-ink); margin: var(--s-2) 0 var(--s-4); }
.plan-price small { font-size: .86rem; font-weight: 500; color: var(--c-muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 var(--s-5); flex: 1; }
.plan li { padding: 7px 0 7px 24px; position: relative; font-size: .95rem; border-bottom: 1px solid var(--c-border); }
.plan li:last-child { border-bottom: 0; }
.plan li::before {
    content: ''; position: absolute; left: 4px; top: 15px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary);
}

/* ── Случаи ───────────────────────────────────────────────────────────────*/
.when {
    padding: var(--s-4) var(--s-5);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.when b { display: block; color: var(--c-ink); margin-bottom: 4px; }
.when span { color: var(--c-muted); font-size: .95rem; }

/* ── Шаги ─────────────────────────────────────────────────────────────────*/
.step-row { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .step-row { grid-template-columns: repeat(3, 1fr); } }
.step-n {
    display: inline-grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--c-ink); color: #fff; font-weight: 700; font-size: .9rem;
    margin-bottom: var(--s-3);
}
