:root {
  --bg: #f6f7fb;
  --paper: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --hover: #f1f5f9;
  --accent: #047857;
  --hot: #e11d48;
  --ok: #16a34a;
  --grad-1: #10b981;
  --grad-2: #047857;
  --grad-hot-1: #fb7185;
  --grad-hot-2: #e11d48;
  --grad-ok-1: #34d399;
  --grad-ok-2: #047857;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 2px 4px rgba(15,23,42,0.04), 0 6px 18px rgba(15,23,42,0.06);
  --shadow-lg: 0 4px 10px rgba(15,23,42,0.06), 0 16px 40px rgba(16,185,129,0.20);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 30;
  animation: slideDown .5s cubic-bezier(.2,.8,.2,1) both;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.org { display: flex; align-items: center; gap: 12px; min-width: 0; }
.org-mark {
  width: 36px; height: 36px;
  background:
    url('org-mark.svg') center/76% no-repeat,
    linear-gradient(135deg, var(--grad-1), var(--grad-2));
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(16,185,129,0.32);
  position: relative;
  overflow: hidden;
  font-size: 0;
}
.org-mark::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 50%; height: 200%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  transform: rotate(15deg);
  animation: logoShine 4.5s ease-in-out infinite;
}
@keyframes logoShine {
  0%, 70%, 100% { left: -60%; }
  85% { left: 130%; }
}
.org-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.2; }
.org-text--short { display: none; }
.org-name { font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: -0.01em; }
.org-place { font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: -0.01em; }
.org-full { font-size: 12px; color: var(--muted); margin-top: 1px; }

.head-right { display: flex; align-items: center; gap: 16px; }
.phone-h { font-size: 13px; color: var(--ink); }
.phone-h .l { color: var(--muted); margin-right: 6px; }

.btn {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: var(--paper);
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s;
  box-shadow: 0 4px 14px rgba(16,185,129,0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(16,185,129,0.42); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-sec {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-sec:hover { background: var(--hover); border-color: var(--line-2); filter: none; box-shadow: var(--shadow-md); }
.btn-lg { padding: 13px 22px; font-size: 14px; border-radius: 12px; }
.header .btn {
  animation: ctaPulse 2.6s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(16,185,129,0.32), 0 0 0 0 rgba(16,185,129,0.45); }
  60% { box-shadow: 0 6px 18px rgba(16,185,129,0.42), 0 0 0 10px rgba(16,185,129,0); }
}
.header .btn:hover { animation-play-state: paused; }

/* BREADCRUMB */
.crumbs {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
}
.crumbs a { transition: color .12s; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 8px; color: var(--muted-2); }
.crumbs .here { color: var(--ink); font-weight: 500; }

/* PAGE */
.page { padding: 32px 0 80px; }
.page-head { margin-bottom: 32px; }
.page-head .eyebrow {
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px;
}
.page-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.8px; line-height: 1.1;
}
.page-head p { color: var(--muted); margin-top: 10px; max-width: 720px; font-size: 15px; }

.section { margin-bottom: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink); }
.section-head .more { font-size: 13px; color: var(--muted); }
.section-head .more:hover { color: var(--accent); }

/* CARDS */
.card {
  background: var(--paper);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* INFO LIST */
.kv-list {
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.kv {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.kv:last-child { border-bottom: none; }
.kv:hover { background: var(--hover); }
.kv .k { color: var(--muted); font-size: 13px; }
.kv .v { color: var(--ink); font-size: 14px; font-weight: 500; }
.kv .v.big { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.kv .v.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 13px; }

/* TABLE */
.table-wrap {
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-wrap.scroll { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
table.t th, table.t td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); background: var(--bg); position: sticky; top: 0; z-index: 2; }
table.t tr:last-child td { border-bottom: none; }
table.t tr:hover td { background: var(--hover); }
table.t td.addr { white-space: normal; min-width: 280px; font-weight: 500; }
table.t td.num { font-variant-numeric: tabular-nums; }

/* STATUS BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge.ok { background: #dcfce7; color: #15803d; }
.badge.ok .d { width: 6px; height: 6px; background: #16a34a; border-radius: 50%; }

/* FOOTER */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 28px 0 20px; font-size: 13px; color: var(--muted); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 24px;
}
.footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.footer a { display: block; padding: 3px 0; color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer .org-line { color: var(--accent); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; }
.footer .reqs { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 14px; }
.footer-mark {
  width: 44px; height: 44px;
  background:
    url('org-mark.svg') center/76% no-repeat,
    linear-gradient(135deg, var(--grad-1), var(--grad-2));
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16,185,129,0.32);
}
.footer-name { align-self: center; }
.footer-brand .reqs { grid-column: 1 / -1; margin-top: 0; }
.footer-bot {
  padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted);
}
.footer-bot a { display: inline; padding: 0; }

/* TOAST */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 16px);
  background: var(--ink); color: var(--paper);
  padding: 14px 22px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transition: opacity .25s ease, transform .25s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 12px 32px rgba(15,23,42,0.30);
  max-width: 90vw; text-align: center;
}
.toast.in { opacity: 1; transform: translate(-50%, 0); }

/* ANIM */
@keyframes slideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Touch */
@media (hover: none) and (pointer: coarse) {
  .card:active, .kv:active { transform: scale(0.99); transition: transform .1s ease; }
  .btn:active { transform: scale(0.96) !important; filter: brightness(0.95); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 900px) {
  .kv { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .head-right .phone-h { display: none; }
  .org-full { display: none; }
  .org-text--full { display: none; }
  .org-text--short { display: flex; }
}
