/* LOGOS website — фирменный стиль (SSOT палитры: ui_engine tokens.css / docs/UI-KIT-BRANDBOOK.md)
   Без JavaScript: совместимо со строгой CSP (default-src 'none'; style-src; img-src self). */
:root{
  --navy:#1a2744; --navy2:#16233b; --accent:#e5312a; --wash:#fadcda;
  --bg:#f6f7f9; --surface:#fff; --border:#e2e5ea; --text:#1a2030; --muted:#585e6b;
  --create:#217a3d; --delete:#cf3a3f; --success:#2e9e57;
  --line:rgba(255,255,255,.22); --dtext:#eef1f7; --dmuted:#c6cddd;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);background:var(--surface);line-height:1.6}
.wrap{width:min(1060px,92%);margin:0 auto}

/* ── шапка ─────────────────────────────────────────── */
header.site{padding:26px 0}
header.site .row{display:flex;justify-content:space-between;align-items:center}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none}
.brand img{width:42px;height:42px;display:block}
.wordmark{font-weight:800;font-size:21px;letter-spacing:4px;color:var(--navy)}
.wordmark span{color:var(--accent)}
.dark .wordmark{color:#fff}
nav.main a{color:var(--muted);text-decoration:none;font-size:15px;font-weight:600;margin-left:26px}
nav.main a:hover,nav.main a.on{color:var(--navy);border-bottom:2px solid var(--accent);padding-bottom:2px}
.dark nav.main a{color:var(--dmuted)}
.dark nav.main a:hover,.dark nav.main a.on{color:#fff}

/* ── тёмный герой ──────────────────────────────────── */
.dark{background:linear-gradient(160deg,var(--navy) 0%,var(--navy2) 62%,#101a2e 100%);color:var(--dtext)}
.hero{position:relative;overflow:hidden;padding:44px 0 72px}
.hero .kicker{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--dmuted);margin-bottom:18px}
.hero h1{font-size:clamp(34px,5.2vw,58px);line-height:1.12;font-weight:800;color:#fff;max-width:17ch}
.keyline{width:96px;height:5px;background:var(--accent);border-radius:3px;margin:26px 0}
.hero .sub{font-size:clamp(16px,2vw,21px);color:var(--dmuted);max-width:52ch;line-height:1.55}
.hero .sub b{color:#fff}
.motto{margin-top:24px;font-size:clamp(17px,2.1vw,22px);font-weight:700;color:#fff}
.motto em{color:#f4a9a5;font-style:normal}
.wm{position:absolute;right:-40px;top:50%;transform:translateY(-50%);opacity:.10;pointer-events:none}
.wm svg{width:min(44vw,500px);height:auto}
.hero-inner{position:relative;z-index:2}

/* ── чипы ──────────────────────────────────────────── */
.chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.chip{display:inline-flex;align-items:center;gap:9px;border-radius:999px;padding:9px 16px;
  font-size:14px;font-weight:600}
.dark .chip{border:1px solid var(--line);color:#fff;background:rgba(255,255,255,.04)}
.light .chip{border:1px solid var(--border);color:var(--navy);background:#fff}
.chip svg{width:19px;height:19px;flex:none}

/* ── статус-строка ─────────────────────────────────── */
.status{margin-top:36px;display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.status .dot{width:9px;height:9px;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px rgba(46,158,87,.22)}
.status span{color:var(--dmuted);font-size:15px}
.light .status span{color:var(--muted)}
.status a{color:#fff;font-weight:700;text-decoration:none;border-bottom:2px solid var(--accent);padding-bottom:1px}
.light .status a{color:var(--navy)}

/* ── светлые секции ────────────────────────────────── */
section.light{padding:64px 0;background:var(--surface)}
section.light.alt{background:var(--bg)}
h2.sec{font-size:clamp(24px,3vw,32px);color:var(--navy);font-weight:800;line-height:1.25;max-width:30ch}
.seckey{width:64px;height:4px;background:var(--accent);border-radius:2px;margin:16px 0 26px}
.lead{font-size:17px;color:var(--muted);max-width:70ch}
.lead b{color:var(--text)}

/* карточки */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:30px}
.card{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:22px}
section.alt .card{background:#fff}
.card h3{font-size:17px;color:var(--navy);margin-bottom:8px}
.card p{font-size:14.5px;color:var(--text)}
.card .kern{margin-top:12px;border-top:1px solid var(--border);padding-top:9px;font-size:13px;color:var(--muted)}
.card .kern b{color:var(--delete)}
.irow{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.irow svg{width:26px;height:26px;flex:none}
.irow h3{margin:0}

/* цепочка станций */
.chain{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:26px}
.station{border-radius:10px;padding:14px 12px;text-align:center}
.st-red{background:#fdf0ef;border:1px solid #f0b9b6}
.st-green{background:#eef7f1;border:1px solid #bfdfc9}
.station .n{font-size:12px;font-weight:700;color:var(--muted)}
.station .t{font-weight:700;font-size:14px;color:var(--navy);margin:4px 0}
.station .s{font-size:12.5px;color:var(--muted);line-height:1.4}

/* банда */
.band{border-radius:12px;padding:18px 22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:30px}
.band.navy{background:var(--navy);color:#fff}
.band .bi{display:flex;align-items:center;gap:10px;font-size:14px}
.band.navy .bi b{color:#f4a9a5}
.band .bi svg{width:20px;height:20px;flex:none}

/* контакт-карта */
.contact-card{background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:30px;max-width:560px}
.contact-card p{margin:6px 0;font-size:16px}
.contact-card a{color:var(--navy);font-weight:700;text-decoration:none;border-bottom:2px solid var(--accent)}

/* легальные страницы */
.legal{padding:20px 0 60px}
.legal h1{color:var(--navy);font-size:28px;margin:14px 0 4px}
.legal h2{color:var(--navy);font-size:17px;margin:22px 0 6px}
.legal p{margin:6px 0;font-size:15px}
.legal .muted{color:var(--muted);font-size:13px;margin-top:30px;border-top:1px solid var(--border);padding-top:14px}

/* ── подвал ────────────────────────────────────────── */
footer.site{border-top:1px solid var(--border);padding:22px 0 28px;background:var(--surface)}
footer.site.dark{border-top:1px solid var(--line);background:transparent}
.frow{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted)}
footer.dark .frow{color:var(--dmuted)}
.frow a{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor}
.frow a:hover{color:var(--navy)}
footer.dark .frow a:hover{color:#fff}

@media(max-width:640px){.wm{display:none}nav.main a{margin-left:16px;font-size:14px}}
