/* ===========================================================================
   Shabyt platform — design system (recreates the shabyt2025.kz look)
   Font: Nunito Sans · primary blue #2563eb · accent violet #7c3aed
   =========================================================================== */
:root {
  --blue: #5b45e6;
  --blue-2: #7b61ff;
  --violet: #7b61ff;
  --pink: #ff3366;
  --gold: #fdbb11;
  --teal: #12b5a6;
  --orange: #ff7a2f;
  --night: #1b1a2e;
  --ink: #1f2937;
  --ink-2: #374151;
  --muted: #6b7280;
  --bg: #f3f4f6;
  --line: #e5e7eb;
  --white: #ffffff;
  --amber: #fef3c7;
  --danger: #dc2626;
  --success: #16a34a;
  --gradient: linear-gradient(90deg, #7b61ff, #ff3366 55%, #fdbb11);
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: clamp(15px, 2vw, 17px);
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; color: var(--ink); font-weight: 700; }
h2 { font-size: clamp(24px, 5vw, 40px); margin: 0 0 .5em; }
h3 { font-size: clamp(18px, 3vw, 24px); }
.section { padding: clamp(40px, 7vw, 80px) 0; }
.section--gray { background: var(--bg); }
.section__lead { color: var(--muted); max-width: 760px; }
.accent-bar { height: 4px; width: 84px; background: var(--gradient); border-radius: 4px; margin: 12px 0 28px; }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font: inherit; font-weight: 700;
  padding: 11px 22px; border-radius: 9999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--block { width: 100%; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--lg { padding: 14px 30px; font-size: 1.05rem; }

/* --- Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--ink); color: #cbd5e1; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 20px; flex-wrap: wrap; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar__lang { display: flex; gap: 4px; }
.lang-form { display: inline; margin: 0; }
.lang-btn { background: none; border: 0; color: #cbd5e1; cursor: pointer; font: inherit; padding: 2px 6px; border-radius: 6px; }
.lang-btn.is-active { background: var(--blue); color: #fff; }

.navbar__inner { display: flex; align-items: center; gap: 18px; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__logo { height: 42px; width: auto; }
.brand__text { font-size: 1.2rem; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; margin-left: 12px; }
.nav-links a { color: var(--ink-2); font-weight: 600; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.inline-form { display: inline; margin: 0; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; margin-left: auto; }

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: clamp(60px, 12vw, 130px) 0;
  background: linear-gradient(rgba(15,23,42,.55), rgba(15,23,42,.55)),
              linear-gradient(120deg, #4c1d95, #1e3a8a 55%, #4c1d95);
  background-size: cover; background-position: center;
}
.hero h1 { color: #fff; font-size: clamp(28px, 6vw, 62px); margin: 0 0 .4em; }
.hero__sub { font-size: clamp(15px, 2.4vw, 20px); opacity: .92; max-width: 760px; margin: 0 auto 28px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Countdown ------------------------------------------------------------- */
.countdown { display: flex; gap: 14px; justify-content: center; margin: 30px 0 6px; flex-wrap: wrap; }
.countdown__cell { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 12px 18px; min-width: 84px; }
.countdown__num { font-size: clamp(24px, 5vw, 40px); font-weight: 800; line-height: 1; }
.countdown__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.countdown__note { opacity: .9; margin-top: 8px; }

/* --- Cards / grids --------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: transform .15s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); }
.card__title { font-size: 1.25rem; font-weight: 700; margin: 0 0 6px; }
.card__sub { color: var(--violet); font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.card__text { color: var(--muted); }
.card__link { margin-top: auto; padding-top: 12px; font-weight: 700; }

/* --- Tags / badges --------------------------------------------------------- */
.badge { display: inline-block; padding: 3px 12px; border-radius: 9999px; font-size: .78rem; font-weight: 700; }
.badge--secondary { background: var(--line); color: var(--ink-2); }
.badge--info { background: #dbeafe; color: #1d4ed8; }
.badge--warning { background: var(--amber); color: #92400e; }
.badge--success { background: #dcfce7; color: #166534; }
.badge--danger { background: #fee2e2; color: #991b1b; }

/* --- Forms ----------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.form-narrow { max-width: 520px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row > label, .field-label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.form-input, input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d1d5db; border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
.form-input:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.form-file { width: 100%; padding: 8px; border: 1px dashed #cbd5e1; border-radius: 10px; background: #fafafa; }
.form-help { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.form-errors, .errorlist { color: var(--danger); font-size: .85rem; margin: 4px 0 0; padding-left: 18px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; }
.check-row input { width: auto; margin-top: 4px; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.fieldset > legend { font-weight: 800; padding: 0 8px; color: var(--ink); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* --- Tables ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--bg); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.data tbody tr:hover { background: #fafafe; }

/* --- Alerts ---------------------------------------------------------------- */
.messages { margin-top: 16px; }
.alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; border: 1px solid transparent; }
.alert--success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.alert--danger { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.alert--info { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
.alert--warning { background: var(--amber); color: #92400e; border-color: #fde68a; }

/* --- Page utilities -------------------------------------------------------- */
.page-head { padding: 40px 0 8px; }
.breadcrumbs { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.prose { max-width: 820px; }
.prose p { margin: 0 0 1em; }
.stack > * + * { margin-top: 14px; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #cbd5e1; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding: 44px 20px; }
.footer__brand { font-size: 1.4rem; font-weight: 800; color: #fff; }
.footer__muted { color: #94a3b8; }
.footer__head { font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 6px; color: #94a3b8; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid #334155; text-align: center; padding: 14px; font-size: .85rem; color: #94a3b8; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-actions { display: none; width: 100%; }
  body.nav-open .nav-links { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
  body.nav-open .nav-actions { display: flex; flex-wrap: wrap; margin: 0 0 8px; }
  .navbar__inner { flex-wrap: wrap; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

/* --- Application wizard ------------------------------------------------------ */
.wizard { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.wizard > * { min-width: 0; }
.wizard > aside { position: sticky; top: 110px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; }
.steps li a:hover { background: var(--bg); text-decoration: none; }
.steps li.is-current a { background: #eef2ff; color: var(--blue); }
.steps__num { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; background: var(--line); color: var(--ink-2); }
.steps li.is-done .steps__num { background: var(--success); color: #fff; }
.steps li.has-issues .steps__num { background: var(--amber); color: #92400e; }
.steps__preview { margin-top: 12px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field-grid .span-2 { grid-column: span 2; }
.choice-list { display: grid; gap: 8px; }
.choice-card { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--blue); background: #f5f8ff; }
.choice-card input { width: auto; margin-top: 4px; }
.autosave-status { font-size: .85rem; color: var(--muted); margin-left: auto; align-self: center; }
.round-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.round-block__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.round-total { font-weight: 700; color: var(--violet); }
.slot { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 14px; }
.slot__title { font-weight: 700; }
.slot__hint { color: var(--muted); font-size: .88rem; }
.slot__fixed { background: var(--bg); border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.slot__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; margin-top: 8px; }
.formset-row { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 0; margin-bottom: 14px; }
.issue-list { margin: 0; padding-left: 18px; }
.doc-current { font-size: .85rem; color: var(--success); margin-top: 4px; }

/* --- Status flow -------------------------------------------------------------- */
.flow { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0; }
.flow li { font-size: .8rem; padding: 5px 10px; border-radius: 9999px; background: var(--bg); color: var(--muted); }
.flow li.is-done { background: #dcfce7; color: #166534; }
.flow li.is-current { background: var(--blue); color: #fff; font-weight: 700; }

/* --- Cabinet / curator ---------------------------------------------------------- */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.subnav a { padding: 7px 14px; border-radius: 9999px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.subnav a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.counters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.counters a { padding: 6px 12px; border-radius: 10px; background: var(--bg); color: var(--ink-2); font-size: .88rem; }
.counters a.is-active { background: var(--blue); color: #fff; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 18px; align-items: end; }
.kv { display: grid; grid-template-columns: 220px 1fr; gap: 6px 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.viewer { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 10px; }
.viewer-img { max-height: 520px; border-radius: 10px; border: 1px solid var(--line); }
.video { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.ok { color: var(--success); font-weight: 700; }
.bad { color: var(--danger); font-weight: 700; }
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; margin-bottom: 14px; }
.chat__msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; background: var(--bg); }
.chat__msg.is-staff { align-self: flex-start; background: #eef2ff; }
.chat__msg.is-mine { align-self: flex-end; background: #dcfce7; }
.chat__meta { font-size: .75rem; color: var(--muted); }
details.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 14px; }
details.panel > summary { cursor: pointer; font-weight: 700; }
.narrow { max-width: 760px; }

@media (max-width: 900px) {
  .wizard { grid-template-columns: 1fr; }
  .wizard > aside { position: static; }
  .steps { display: flex; overflow-x: auto; gap: 4px; }
  .steps li a { white-space: nowrap; }
  .steps__label { display: none; }
  .steps li.is-current .steps__label { display: inline; }
  .kv { grid-template-columns: 1fr; }
  .kv dt { margin-top: 8px; }
}
@media (max-width: 600px) {
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .span-2 { grid-column: auto; }
  .viewer { height: 420px; }
}

/* ===========================================================================
   Творческое оформление: палитра логотипа (фиолет · розовый · золото),
   выразительные заголовки, логотипы номинаций, живой hero.
   =========================================================================== */
h1, h2, h3, .brand__text, .footer__brand, .card__title { font-family: "Montserrat", "Nunito Sans", system-ui, sans-serif; letter-spacing: -.01em; }
h2 { font-weight: 800; }
.topbar { background: var(--night); }
.lang-btn.is-active { background: var(--pink); }
.site-header { border-bottom: 3px solid transparent; border-image: var(--gradient) 1; }
.brand__logo { height: 46px; border-radius: 4px; }
.brand__text { font-weight: 800; letter-spacing: .02em; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 3px; border-radius: 3px; background: var(--gradient); transition: right .25s ease; }
.nav-links a:hover::after { right: 0; }
.btn--primary { box-shadow: 0 8px 22px rgba(255, 51, 102, .32); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(123, 97, 255, .42); }
.accent-bar { height: 6px; width: 110px; border-radius: 6px; }
.section--gray { background: #faf8ff; }
.steps li.is-current a { background: #f0ecff; }
.choice-card:has(input:checked) { background: #f6f3ff; }
.chat__msg.is-staff { background: #f0ecff; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; text-align: left; color: #fff;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px);
  background:
    radial-gradient(circle at 12% 18%, rgba(123, 97, 255, .55), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(255, 51, 102, .38), transparent 40%),
    radial-gradient(circle at 70% 8%, rgba(253, 187, 17, .22), transparent 30%),
    var(--night);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--gold); margin-bottom: 14px; }
.hero__eyebrow::before { content: ""; width: 34px; height: 4px; border-radius: 4px; background: var(--gradient); }
.hero h1 { color: #fff; font-weight: 900; font-size: clamp(30px, 5.2vw, 58px); margin: 0 0 .35em; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero h1 .hl { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 0 0 8px; max-width: 560px; font-size: clamp(15px, 2.2vw, 19px); opacity: .92; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn--light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn--light:hover { border-color: var(--gold); color: var(--gold); }
.countdown { justify-content: flex-start; margin: 24px 0 6px; gap: 10px; }
.countdown__cell { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); min-width: 78px; text-align: center; border-radius: 16px; position: relative; overflow: hidden; }
.countdown__cell::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c, var(--violet)); }
.countdown__cell:nth-child(1) { --c: var(--violet); }
.countdown__cell:nth-child(2) { --c: var(--pink); }
.countdown__cell:nth-child(3) { --c: var(--gold); }
.countdown__cell:nth-child(4) { --c: var(--teal); }
.hero .countdown__note { opacity: .85; margin: 6px 0 0; }

/* три полосы-«музы» из логотипа: слово, музыка, живопись */
.hero__art { position: relative; display: flex; justify-content: center; gap: 12px; padding: 24px 0; }
.hero__band { width: clamp(70px, 11vw, 138px); aspect-ratio: 300/862; border-radius: 18px; background-size: cover; background-position: center; box-shadow: 0 24px 50px rgba(0,0,0,.35); animation: bandFloat 6s ease-in-out infinite; }
.hero__band:nth-child(1) { background-image: url("../img/band-1.d85e23d300e6.png"); margin-top: 34px; rotate: -3deg; }
.hero__band:nth-child(2) { background-image: url("../img/band-2.19cf43604a0b.png"); animation-delay: -2s; margin-top: -6px; }
.hero__band:nth-child(3) { background-image: url("../img/band-3.0f2f712715bb.png"); animation-delay: -4s; margin-top: 50px; rotate: 3deg; }
@keyframes bandFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* нотный стан и плавающие значки на фоне */
.hero__staff { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 1; height: 50px; opacity: .2; pointer-events: none;
  background: repeating-linear-gradient(to bottom, #fff 0 2px, transparent 2px 12px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.hero__float { position: absolute; z-index: 1; font-size: clamp(28px, 5vw, 64px); font-weight: 900; line-height: 1; pointer-events: none; animation: bandFloat 8s ease-in-out infinite; }
.hero__float--1 { left: 4%; top: 12%; color: var(--gold); opacity: .28; }
.hero__float--2 { left: 46%; top: 6%; color: var(--pink); opacity: .3; animation-delay: -3s; }
.hero__float--3 { right: 3%; bottom: 12%; color: var(--violet); opacity: .5; animation-delay: -5s; }
.hero__float--4 { left: 40%; bottom: 6%; color: var(--teal); opacity: .3; animation-delay: -1s; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero__wave svg { width: 100%; height: clamp(26px, 5vw, 60px); display: block; }

/* --- Номинации: логотипы ------------------------------------------------------ */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head .accent-bar { margin: 10px 0 0; }
.nom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nom-card { --c: var(--violet); position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 26px 24px 22px; overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--c) 18%, #fff); color: var(--ink); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.nom-card:hover { text-decoration: none; transform: translateY(-6px) rotate(-.6deg); border-color: var(--c); box-shadow: 0 18px 40px color-mix(in srgb, var(--c) 28%, transparent); }
.nom-card::before { content: ""; position: absolute; right: -46px; top: -46px; width: 150px; height: 150px; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: color-mix(in srgb, var(--c) 14%, #fff); transition: transform .5s ease; }
.nom-card:hover::before { transform: scale(1.4) rotate(30deg); }
.nom-card__num { position: absolute; right: 18px; bottom: 6px; font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 4.6rem; line-height: 1; color: color-mix(in srgb, var(--c) 12%, #fff); pointer-events: none; }
.nom-badge { position: relative; z-index: 1; width: 78px; height: 78px; border-radius: 24px 24px 24px 8px; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 40%, transparent); margin-bottom: 18px; transition: transform .3s ease; }
.nom-card:hover .nom-badge { transform: rotate(-8deg) scale(1.06); }
.nom-icon { width: 46px; height: 46px; }
.nom-badge--lg { width: 104px; height: 104px; border-radius: 32px 32px 32px 10px; margin-bottom: 0; }
.nom-badge--lg .nom-icon { width: 62px; height: 62px; }
.nom-card .card__title { position: relative; z-index: 1; font-size: 1.2rem; font-weight: 800; }
.nom-card .card__sub { position: relative; z-index: 1; color: color-mix(in srgb, var(--c) 78%, #000); }
.nom-card .card__text { position: relative; z-index: 1; }
.nom-card .card__link { position: relative; z-index: 1; color: color-mix(in srgb, var(--c) 78%, #000); }
.nom--woodwinds { --c: #7b61ff; }
.nom--brass-percussion { --c: #ff3366; }
.nom--traditional-singing { --c: #f5a800; }
.nom--composition { --c: #12b5a6; }
.nom--fine-art { --c: #ff7a2f; }
.nom--dombyra { --c: #4f6bff; }

/* страница номинации */
.nom-hero { --c: var(--violet); position: relative; overflow: hidden; color: #fff; padding: clamp(36px, 6vw, 64px) 0; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 92%, #000), color-mix(in srgb, var(--c) 55%, var(--night))); }
.nom-hero::before, .nom-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); }
.nom-hero::before { width: 360px; height: 360px; right: -80px; top: -140px; }
.nom-hero::after { width: 200px; height: 200px; right: 22%; bottom: -110px; background: rgba(255,255,255,.07); }
.nom-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; }
.nom-hero .nom-badge { background: #fff; color: var(--c); flex: none; }
.nom-hero h1 { color: #fff; margin: 0 0 6px; font-size: clamp(26px, 4.4vw, 44px); font-weight: 900; }
.nom-hero .breadcrumbs, .nom-hero .breadcrumbs a { color: rgba(255,255,255,.8); }
.nom-hero__sub { margin: 0; font-weight: 700; font-size: 1.1rem; opacity: .95; }

/* --- Карточки, подвал ---------------------------------------------------------- */
.card { border-radius: 18px; }
.card:hover { box-shadow: 0 14px 34px rgba(123, 97, 255, .18); }
.site-footer { background: var(--night); margin-top: 0; position: relative; }
.site-footer::before { content: ""; display: block; height: 6px; background: var(--gradient); }
.footer__brand { font-weight: 900; }
.footer__mark { height: 84px; border-radius: 6px; margin-bottom: 10px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; padding: 0; }
  .hero__band { width: clamp(56px, 18vw, 96px); }
  .nom-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nom-grid { grid-template-columns: 1fr; }
  .nom-hero__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__band, .hero__float { animation: none; }
  .nom-card, .nom-badge, .nom-card::before { transition: none; }
}
.hero__cta { justify-content: flex-start; }
.hero h1 { font-size: clamp(28px, 4.4vw, 52px); }
.nav-links a { white-space: nowrap; }
.nav-links { gap: 18px; }

/* --- Баннер заголовка внутренних страниц ----------------------------------------- */
.page-banner { position: relative; overflow: hidden; color: #fff; padding: clamp(26px, 4.5vw, 46px) 0;
  background: radial-gradient(circle at 10% 0%, rgba(123, 97, 255, .6), transparent 45%), radial-gradient(circle at 92% 100%, rgba(255, 51, 102, .45), transparent 42%), var(--night); }
.page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gradient); }
.page-banner--staff { background: radial-gradient(circle at 10% 0%, rgba(18, 181, 166, .5), transparent 45%), radial-gradient(circle at 92% 100%, rgba(123, 97, 255, .45), transparent 42%), var(--night); }
.page-banner__inner { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.page-banner h1 { margin: 0; color: #fff; font-size: clamp(24px, 4vw, 40px); font-weight: 900; }
.page-banner__sub { flex-basis: 100%; margin: 0; opacity: .85; font-weight: 700; }
.page-banner__deco { position: absolute; right: max(2%, 12px); top: -14px; display: flex; gap: 8px; transform: rotate(8deg); opacity: .9; }
.page-banner__deco i { display: block; width: clamp(34px, 6vw, 62px); height: 150px; border-radius: 14px; background: var(--violet); }
.page-banner__deco i:nth-child(2) { background: var(--pink); margin-top: 22px; }
.page-banner__deco i:nth-child(3) { background: var(--gold); margin-top: 8px; }
.page-banner .badge { font-size: .85rem; }
.section--pull { padding-top: 0; }
.section--pull .form-card { margin-top: -28px; position: relative; z-index: 2; border: 0; box-shadow: 0 18px 50px rgba(27, 26, 46, .16); border-top: 6px solid transparent; border-image: var(--gradient) 1; }
.section--pull .form-card > h2 { display: none; }
.page-banner + .messages { margin-top: 18px; }

/* форма: кабинет и заявка */
.form-card { border-radius: 18px; }
.subnav a.is-active { background: var(--night); border-color: var(--night); }
.subnav a:hover { border-color: var(--violet); text-decoration: none; }
.counters a.is-active { background: var(--violet); }
.flow li.is-current { background: var(--violet); }
.steps li.is-current .steps__num { background: var(--violet); color: #fff; }
table.data thead th { background: #f4f1ff; color: var(--night); }
table.data tbody tr:hover { background: #faf8ff; }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); }
.form-input:focus, input:focus, select:focus, textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(123, 97, 255, .2); }
.badge--info { background: #ece8ff; color: #4c36c9; }
details.panel { border-radius: 14px; }
details.panel[open] { border-color: #d9d1ff; }
.round-block { border-radius: 16px; border-left: 6px solid var(--violet); }
.round-block:nth-of-type(3n+2) { border-left-color: var(--pink); }
.round-block:nth-of-type(3n) { border-left-color: var(--gold); }

/* новости */
.news-card { padding: 0; overflow: hidden; border: 2px solid #eee9ff; }
.news-card > *:not(.news-card__img) { margin-left: 22px; margin-right: 22px; }
.news-card .card__title { margin-top: 18px; }
.news-card .card__text { margin-bottom: 22px; }
.news-card::before { content: ""; display: block; height: 6px; background: var(--gradient); order: -1; }
.news-card__img { width: 100%; max-width: none; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; order: -1; }
.news-card:hover { border-color: var(--violet); }
.news-hero-img { border-radius: 18px; margin-bottom: 20px; box-shadow: var(--shadow); }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1em 0; padding: 8px 18px; border-left: 5px solid var(--pink); background: #fff5f7; border-radius: 0 12px 12px 0; }
.section--pull { background: linear-gradient(#faf8ff, #fff 70%); padding-bottom: clamp(40px, 7vw, 80px); }
.filters label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.news-empty { text-align: center; padding: 40px 0; font-size: 1.1rem; }
.news-empty::before { content: "♪ ✎ ♫"; display: block; font-size: 2.4rem; letter-spacing: .3em; margin-bottom: 8px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- Аналитика ------------------------------------------------------------- */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 22px; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.kpi__n { font-size: 1.9rem; font-weight: 800; line-height: 1.1; color: var(--violet); }
.kpi__t { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.stat-card h3 { margin: 0 0 10px; font-size: 1rem; }
.stat-table { width: 100%; border-collapse: collapse; }
.stat-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: left; padding: 0 0 6px; }
.stat-table td { padding: 5px 0; vertical-align: top; }
.stat-table .num { text-align: right; width: 84px; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .9rem; }
.stat-bar { height: 6px; background: var(--bg); border-radius: 3px; margin-top: 3px; }
.stat-bar span { display: block; height: 100%; background: var(--violet); border-radius: 3px; }
.analytics-section { margin: 28px 0 10px; font-size: 1.15rem; }
.filters--wide { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.filters .check { display: flex; gap: 8px; align-items: center; }
