:root {
  --bg: #050508;
  --surface: #131318;
  --surface-2: #1c1c23;
  --surface-3: #26262f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5fa;
  --muted: #9a9db0;
  --brand: #4f5bff;
  --brand-hover: #6670ff;
  --brand-2: #8b91ff;
  --glow: #1f3bff;
  --brand-soft: rgba(79, 91, 255, 0.14);
  --save: #34d399;
  --save-soft: rgba(52, 211, 153, 0.14);
  --radius: 22px;
  --shadow-glow: 0 0 0 1px rgba(79, 91, 255, 0.35), 0 18px 50px rgba(31, 59, 255, 0.25);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --header-h: 72px;
  --ticker-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.025em; color: #fff; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inline-link { color: var(--brand-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: #fff; }
::selection { background: var(--brand); color: #fff; }

/* ---------- Ticker ---------- */
.ticker { height: var(--ticker-h); background: #000; border-bottom: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; font-size: 0.86rem; }
.ticker-label { flex: none; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--brand); color: #fff; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; position: relative; z-index: 1; }
.ticker-track { display: flex; gap: 44px; white-space: nowrap; padding-left: 24px; animation: ticker 60s linear infinite; color: #d6d8e6; }
.ticker-track span b { color: var(--save); font-weight: 700; margin-left: 6px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 8, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 4px 14px rgba(79, 91, 255, 0.55)); }
.brand span em { font-style: normal; color: var(--brand-2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 15px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: #fff; background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: #fff; background: var(--surface-3); }
.nav-cta { margin-left: 8px; }
.nav-cta a.btn, .nav-cta a.btn:hover { color: #fff; background: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-right: -8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; line-height: 1; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, background 0.15s, color 0.15s, border-color 0.15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(79, 91, 255, 0.35); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(79, 91, 255, 0.5); }
.btn-outline { background: var(--surface-2); color: #fff; border-color: var(--line-strong); }
.btn-outline:hover { background: var(--surface-3); border-color: var(--brand-2); }
.btn-sheet { background: var(--surface-2); color: var(--save); border-color: rgba(52, 211, 153, 0.35); }
.btn-sheet:hover { background: rgba(52, 211, 153, 0.1); border-color: var(--save); }
.btn-light { background: #fff; color: #0a0a12; }
.btn-light:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 36px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2;
  background:
    radial-gradient(45% 55% at 50% 0%, rgba(31, 59, 255, 0.75), transparent 70%),
    radial-gradient(30% 40% at 15% 30%, rgba(124, 58, 237, 0.35), transparent 70%),
    radial-gradient(30% 40% at 85% 25%, rgba(14, 165, 233, 0.3), transparent 70%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.2px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  opacity: 0.35;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #dfe2ff;
  margin-bottom: 26px; backdrop-filter: blur(8px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--save); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; margin: 0 auto 16px; max-width: 980px; letter-spacing: -0.04em; }
.hero h1 .hl { background: linear-gradient(90deg, #9aa0ff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: #c3c6d6; max-width: 620px; margin: 0 auto 28px; }

.search-pill {
  display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto;
  background: rgba(19, 19, 24, 0.85); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 8px 8px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); backdrop-filter: blur(12px);
  transition: border-color 0.15s, box-shadow 0.2s;
}
.search-pill:focus-within { border-color: var(--brand); box-shadow: var(--shadow-glow); }
.search-pill > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-pill input { flex: 1; min-width: 0; height: 52px; background: transparent; border: 0; outline: none; color: #fff; font: inherit; font-size: 1.05rem; }
.search-pill input::placeholder { color: #7d8095; }
.search-pill .btn { height: 52px; padding: 0 26px; }
.quick-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 820px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: #e3e5f0; font-size: 0.9rem; font-weight: 500; transition: background 0.15s, border-color 0.15s; }
.chip:hover, .chip.active { background: var(--brand-soft); border-color: var(--brand); color: #fff; }
.chip b { color: var(--brand-2); font-weight: 700; font-size: 0.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.stat { background: rgba(19, 19, 24, 0.7); border: 1px solid var(--line); border-radius: 18px; padding: 14px 22px; min-width: 150px; backdrop-filter: blur(8px); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat > span { font-size: 0.84rem; color: var(--muted); }
.hero-sub { margin: 22px 0 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 24px 0 80px; }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 > *, .grid-4 > *, .course-grid > *, .contact-grid > * { min-width: 0; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color 0.2s, box-shadow 0.2s; }
.benefit:hover { border-color: rgba(79, 91, 255, 0.5); box-shadow: 0 16px 40px rgba(31, 59, 255, 0.15); }
.benefit .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); margin-bottom: 18px; }
.benefit .icon svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.benefit p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.feature, .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); margin-bottom: 18px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3, .step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.feature p, .step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.steps { counter-reset: step; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 16px; }

/* ---------- Catalogue ---------- */
.catalogue-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.catalogue-bar h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0; }
.catalogue-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.catalogue-controls .select { width: 220px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.course:hover { transform: translateY(-3px); border-color: rgba(79, 91, 255, 0.55); box-shadow: 0 18px 44px rgba(31, 59, 255, 0.2); }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tag { font-size: 0.74rem; font-weight: 600; color: #cfd2ff; background: var(--brand-soft); border: 1px solid rgba(79, 91, 255, 0.3); padding: 4px 11px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.date { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.course h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; line-height: 1.42; letter-spacing: 0; color: #fff; margin-bottom: 18px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.course-price .now { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.course-price s { color: var(--muted); font-size: 0.9rem; }
.save { font-size: 0.74rem; font-weight: 800; color: var(--save); background: var(--save-soft); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.course-actions { display: flex; gap: 8px; }
.course-actions .btn { flex: 1; padding: 12px 14px; font-size: 0.88rem; }
.course-new { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; color: #050508; background: var(--save); padding: 3px 7px; border-radius: 6px; margin-right: 7px; }

/* ---------- Page hero + toolbar ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 48px; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 50% -20%, rgba(31, 59, 255, 0.55), transparent 70%); }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #c3c6d6; font-size: 1.06rem; max-width: 640px; margin: 0; }
.page-hero .btn-row { justify-content: flex-start; }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(5, 5, 8, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.toolbar-row { display: grid; grid-template-columns: 1fr 240px 200px; gap: 10px; }
.toolbar-row.two { grid-template-columns: 1fr 260px; }
.field { position: relative; }
.field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input, .select {
  width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); font: inherit; font-size: 0.95rem; color: #fff; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: #7d8095; }
.input { padding-left: 44px; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9db0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.select option { background: var(--surface); color: #fff; }
.input:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 91, 255, 0.2); }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px; color: var(--muted); font-size: 0.92rem; }
.result-bar b { color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-2); font-weight: 600; }
.load-more { display: flex; justify-content: center; margin: 32px 0 8px; }
.state { text-align: center; padding: 56px 20px; color: var(--muted); }
.skeleton { height: 220px; border-radius: var(--radius); background: linear-gradient(90deg, #131318 25%, #1c1c23 37%, #131318 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------- Course list table ---------- */
.list-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.93rem; }
.list-table th { background: var(--surface-3); color: #fff; text-align: left; font-weight: 600; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 16px; }
.list-table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.list-table tbody tr:hover td { background: rgba(79, 91, 255, 0.08); }
.list-table .c-date { white-space: nowrap; width: 110px; }
.list-table td.c-date { color: var(--muted); }
.list-table .c-cat { width: 210px; }
.list-table td.c-name { font-weight: 600; color: #fff; }
.list-table .c-was { white-space: nowrap; width: 100px; }
.list-table td.c-was { color: var(--muted); text-decoration: line-through; }
.list-table .c-now { white-space: nowrap; width: 100px; }
.list-table td.c-now { font-weight: 800; font-family: var(--font-head); color: #fff; }
.list-table .c-save { width: 100px; }
.list-table .c-act { width: 130px; text-align: right; }
.list-table .c-act .btn { padding: 9px 15px; font-size: 0.82rem; }
.list-table .mobile-meta { display: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: 56px 48px; border: 1px solid rgba(79, 91, 255, 0.4);
  background: radial-gradient(70% 140% at 100% 0%, rgba(31, 59, 255, 0.7), transparent 60%), var(--surface);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 8px; }
.cta-band p { color: #c3c6d6; margin: 0; max-width: 540px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.contact-card:hover { border-color: rgba(79, 91, 255, 0.55); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(31, 59, 255, 0.18); }
.contact-card .icon { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.contact-card .icon svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 2px; letter-spacing: -0.01em; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.92rem; word-break: break-word; }
.contact-card .go { margin-left: auto; color: var(--muted); flex: none; }
.contact-card .go svg { width: 20px; height: 20px; }
.bg-telegram { background: #229ed9; }
.bg-discord { background: #5865f2; }
.bg-email { background: var(--surface-3); }
.bg-sheet { background: #188038; }
.bg-brand { background: var(--brand); }
.badge-rec { display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--save); background: var(--save-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand-2); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

.request-box { max-width: 800px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 34px; }
.request-box h3 { font-size: 1.4rem; font-weight: 800; }
.request-box p { color: var(--muted); }
.request-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.request-form .input { padding-left: 18px; }
.hint { font-size: 0.85rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #000; color: var(--muted); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }

/* ---------- Toast + floating chat ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 100; background: var(--surface-3); border: 1px solid var(--line-strong); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); font-size: 0.92rem; max-width: calc(100% - 32px); transition: transform 0.25s ease; text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #229ed9; color: #fff; box-shadow: 0 10px 30px rgba(34, 158, 217, 0.45); transition: transform 0.15s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .course-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .list-table .c-cat { width: 160px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 18px; background: #0b0b10; border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; border-radius: 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 760px) {
  .hero { padding: 56px 0 40px; }
  .hero .lead { font-size: 1.04rem; margin-bottom: 28px; }
  .search-pill { padding: 6px 6px 6px 18px; }
  .search-pill input { height: 46px; font-size: 1rem; }
  .search-pill .btn { height: 46px; padding: 0 18px; }
  .search-pill .btn span { display: none; }
  .quick-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-left: -20px; margin-right: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .quick-chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .hero-stats { gap: 8px; }
  .stat { min-width: 0; flex: 1 1 30%; padding: 12px 10px; }
  .stat strong { font-size: 1.25rem; }
  .stat > span { font-size: 0.74rem; }
  .section { padding: 60px 0; }
  .section-tight { padding: 16px 0 60px; }
  .course-grid, .grid-3, .contact-grid, .benefits { grid-template-columns: 1fr; }
  .catalogue-controls, .catalogue-controls .select { width: 100%; }
  .catalogue-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .toolbar-row, .toolbar-row.two { grid-template-columns: 1fr 1fr; }
  .toolbar-row .field { grid-column: 1 / -1; }
  .toolbar-row.two label:last-child { grid-column: 1 / -1; }
  .page-hero .btn-row, .page-hero .btn-row .btn { width: 100%; }
  .cta-band { padding: 36px 24px; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .request-box { padding: 24px; }
  .request-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }

  .list-table, .list-table tbody, .list-table tr, .list-table td { display: block; width: 100%; }
  .list-table thead { display: none; }
  .list-table tr { padding: 16px 18px; border-top: 1px solid var(--line); }
  .list-table tbody tr:first-child { border-top: 0; }
  .list-table td { padding: 0; border: 0; background: transparent !important; }
  .list-table .c-date, .list-table .c-cat, .list-table .c-was, .list-table .c-now, .list-table .c-save { display: none; }
  .list-table td.c-name { margin-bottom: 8px; }
  .list-table .mobile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
  .list-table .mobile-meta .now { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.05rem; }
  .list-table .c-act { text-align: left; width: 100%; }
  .list-table .c-act .btn { width: 100%; }
}
@media (max-width: 420px) {
  .brand { font-size: 1.04rem; }
  .ticker-label span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
