/* ============================================================
   NSU Circle — публичный сайт
   Стиль: деловой, «редакционный». Графит + голубой акцент.
   ============================================================ */

:root {
  --canvas: #f2f0ec;          /* цвет шапки (оставлен прежним) */
  --canvas-2: #eae7e1;
  --page: #ffffff;            /* основной фон сайта — белый */
  --paper: #ffffff;
  --ink: #1b1c20;
  --ink-soft: #3a3b40;
  --muted: #7c7a75;
  --line: #e7e3db;
  --line-strong: #1b1c20;
  --gold: #2f96db;            /* акцент — голубой */
  --gold-soft: #7cc0ec;
  --gold-tint: rgba(47, 150, 219, 0.16);

  /* Свечения фона — только серые */
  --glow-gold: rgba(120, 124, 135, 0.15);
  --glow-gray: rgba(120, 124, 135, 0.18);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--page); }

body {
  margin: 0;
  font-family: var(--font-body);
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Цветные свечения на фоне — фиксированный декоративный слой */
body::before {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42vw 42vw at 8% 2%,   var(--glow-gold), transparent 60%),
    radial-gradient(40vw 40vw at 94% 12%, var(--glow-gray), transparent 60%),
    radial-gradient(46vw 46vw at 84% 82%, var(--glow-gold), transparent 62%),
    radial-gradient(38vw 38vw at 12% 92%, var(--glow-gray), transparent 62%);
  filter: blur(8px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Типографика ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 6.4vw, 4.9rem);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.02;
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
}
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.lead {
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink-soft);
}
.gold { color: var(--gold); }
.mark {
  background: linear-gradient(transparent 62%, var(--gold-tint) 62%);
  padding: 0 0.05em;
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(242, 240, 236, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1.6rem;
  height: 92px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; margin-right: auto; }
.brand img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-menu { display: flex; align-items: center; }
.nav-menu a {
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
  padding: 0.45rem 1.05rem; position: relative; transition: color 0.25s var(--ease);
  border-radius: var(--radius-pill);
}
/* Чёткие разделители между вкладками */
.nav-menu a { margin: 0 0.15rem; }
.nav-menu a + a::before {
  content: ""; position: absolute; left: -0.15rem; top: 50%; transform: translateY(-50%);
  height: 20px; width: 1px; background: rgba(27, 28, 32, 0.22);
}
.nav-menu a::after {
  content: ""; position: absolute; left: 1.05rem; right: 1.05rem; bottom: 0.15rem; height: 2px; width: auto;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.active { color: var(--ink); }
.nav-menu a.active::after,
.nav-menu a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill); cursor: pointer;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, #5bb3ec 0%, var(--gold) 55%, #1f6fa8 100%);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(47,150,219, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 30px -12px rgba(47,150,219, 0.95); color: #fff; }
.btn:active { transform: translateY(0); }

/* Тёмная кнопка (на светлом фоне) */
.btn-dark { background: var(--ink); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.55); }
.btn-dark:hover { filter: brightness(1.15); }

/* Контурная кнопка */
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-gold { background: linear-gradient(135deg, #5bb3ec, var(--gold) 55%, #1f6fa8); color: #fff; }

/* Компактная тёмная кнопка в шапке */
.btn-nav { padding: 0.55rem 1.15rem; font-size: 0.74rem; letter-spacing: 0.04em; }

.nav-cab { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); border: 1.5px solid var(--gold); border-radius: var(--radius-pill); padding: 0.5rem 1rem; transition: 0.25s var(--ease); }
.nav-cab:hover { background: var(--gold); color: #fff; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

/* ---------- Общие секции ---------- */
main { display: block; }
.section { padding: clamp(38px, 5vw, 74px) 0; position: relative; }
.rule-top { border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(22px, 4vw, 56px);
  align-items: start;
}
.section-head .side { position: relative; }
.section-head .side::before {
  content: ""; position: absolute; left: -18px; top: 6px; bottom: 6px; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}

/* Блок «Кто мы» + «Клуб в цифрах» — полупрозрачный фон-фото НГУ справа на всю секцию */
.section--who { position: relative; overflow: hidden; }
.who-bg {
  position: absolute; inset: 0 0 0 auto; right: 0; width: min(52%, 720px); z-index: 0;
  background: url('/brand/nsu.png') center / cover no-repeat;
  opacity: 0.16; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.section--who > .who-head,
.section--who > .who-stats { position: relative; z-index: 1; }
@media (max-width: 820px) { .who-bg { width: 72%; opacity: 0.11; } }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(44px, 7vw, 92px) 0 clamp(32px, 4.5vw, 58px); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: end; }
.hero-title { font-size: clamp(3.2rem, 13vw, 9rem); }
.hero-lead { max-width: 44ch; }

/* Hero с фоновым видео */
.hero--video { color: #fff; overflow: hidden; padding: clamp(64px, 10vw, 124px) 0 clamp(44px, 6vw, 72px); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  background: #0c0c10;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(10,10,14,0.90) 0%, rgba(10,10,14,0.55) 55%, rgba(10,10,14,0.80) 100%),
    radial-gradient(60vw 60vw at 82% 20%, rgba(150,152,160,0.16), transparent 60%);
}
.hero-content { position: relative; z-index: 2; }
.hero--video .kicker { color: rgba(255,255,255,0.72); }
.hero--video .hero-title { color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,0.35); }
.hero--video .hero-lead { color: rgba(255,255,255,0.86); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-figure {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, #2a2b30, #4a4b52 55%, #cfcfcf);
  border-radius: var(--radius); overflow: hidden; position: relative;
  display: flex; align-items: flex-end; padding: 22px;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); position: absolute; inset: 0; }
.hero-figure .cap { position: relative; color: #fff; font-weight: 700; letter-spacing: 0.04em; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; } }

/* ---------- Статистика «Клуб в цифрах» ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px);
  margin-top: 1.9rem; counter-reset: stat;
}
.stat {
  counter-increment: stat;
  position: relative; overflow: hidden;
  padding: clamp(20px, 2.2vw, 28px); min-height: 158px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, #ffffff 0%, #f7f4ee 100%);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 18px 40px -34px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.stat::before {
  content: ""; position: absolute; left: -50px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,124,135,0.16), transparent 70%); pointer-events: none;
  transition: transform 0.5s var(--ease);
}
.stat::after {
  content: counter(stat, decimal-leading-zero);
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.12em; color: var(--gold);
  opacity: 0.75;
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -30px rgba(0,0,0,0.4); border-color: var(--gold-soft); }
.stat:hover::before { transform: scale(1.25); }
.stat .num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1;
  background: linear-gradient(135deg, #5bb3ec 0%, var(--gold) 55%, #1f6fa8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lab { margin-top: 0.45rem; color: var(--ink-soft); font-weight: 600; max-width: 22ch; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
/* Телефон: оставляем две колонки и уменьшаем карточки — иначе шесть плашек
   в столбик растягивают экран на несколько прокруток. */
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 1.3rem; }
  .stat { padding: 14px; min-height: 104px; border-radius: 16px; }
  .stat .num { font-size: clamp(1.5rem, 7vw, 2rem); }
  .stat .lab { font-size: 0.78rem; line-height: 1.3; margin-top: 0.3rem; max-width: none; }
  .stat::after { top: 10px; right: 12px; font-size: 0.72rem; }
  .stat::before { width: 110px; height: 110px; left: -34px; bottom: -40px; }
}

/* ---------- Ценности / принципы: россыпь в уголковых скобках + раскрытие при наведении ---------- */
/* Блок «Миссия и ценности»: слева фото nsu1 на всю высоту блока, принципы — ниже и правее */
.section--mission { position: relative; }
.mission-bg {
  position: absolute; inset: 0; z-index: 0;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  opacity: 0.15; pointer-events: none;
}
.section--mission > .wrap { position: relative; z-index: 1; }
.principles-block { position: relative; }

/* «Зачем нужен клуб» — синяя линия только у заголовка, крупный полупрозрачный вопрос */
.section--why .side::before { bottom: auto; height: clamp(3.6rem, 10vw, 6.4rem); }
.why-quest {
  display: block; width: auto; max-width: 100%; max-height: clamp(220px, 30vw, 360px); margin-top: 1rem;
  opacity: 0.6; mix-blend-mode: multiply; pointer-events: none;
}

/* Блок «Мероприятия/Форматы» на главной — полупрозрачный фон scene */
.section--events { position: relative; }
.events-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: no-repeat; background-position: center; background-size: cover;
  opacity: 0.12;
}
.section--events > .wrap { position: relative; z-index: 1; }

/* ---------- Основатели (сетка 4×3) ---------- */
.founders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 34px); }
.founder-photo { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background-color: #dedbd4; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.03); transition: filter 0.5s var(--ease), transform 0.6s var(--ease); }
.founder:hover .founder-photo { filter: grayscale(0) contrast(1.02); transform: scale(1.02); }
.founder-name { font-weight: 800; font-size: 1rem; margin-top: 0.8rem; }
.founder-role { color: var(--muted); font-size: 0.88rem; margin-top: 0.15rem; }
@media (max-width: 820px) { .founders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .founders-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .founder-photo { aspect-ratio: 4 / 5; border-radius: 10px; }
  .founder-name { font-size: 0.9rem; margin-top: 0.55rem; }
  .founder-role { font-size: 0.78rem; }
}

/* ---------- Hover-слайдер по годам ---------- */
.hover-slider { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hs-labels { display: flex; flex-direction: column; gap: 0.2rem; }
.hs-label { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1.02; font-size: clamp(2.6rem, 7vw, 5.2rem); color: var(--ink); cursor: pointer; user-select: none; }
.hs-text { display: inline-flex; }
.hs-char { position: relative; display: inline-block; overflow: hidden; line-height: 1; }
.hs-a { display: inline-block; opacity: 0.25; transform: translateY(0); transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94); transition-delay: calc(var(--i) * 25ms); }
.hs-b { position: absolute; left: 0; top: 0; display: inline-block; opacity: 1; color: var(--gold); transform: translateY(110%); transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94); transition-delay: calc(var(--i) * 25ms); }
.hs-label.active .hs-a { transform: translateY(-110%); }
.hs-label.active .hs-b { transform: translateY(0); }
.hs-images { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.hs-image { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.8s cubic-bezier(0.33,1,0.68,1); background-size: cover; background-position: center; background-repeat: no-repeat; }
.hs-image.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 820px) { .hover-slider { grid-template-columns: 1fr; } }
/* Хаотичная «россыпь» принципов по блоку */
.principles {
  position: relative; z-index: 1; margin-top: clamp(24px, 4vw, 46px);
  min-height: clamp(260px, 26vw, 350px);
}
.principle { position: absolute; padding: 0.3em 1.2em; cursor: default; outline: none; transition: transform 0.4s var(--ease); }
.principle:nth-child(1) { left: 2%;  top: 3%;  transform: rotate(-3deg); }
.principle:nth-child(2) { left: 50%; top: 0;   transform: rotate(2deg); }
.principle:nth-child(3) { left: 14%; top: 36%; transform: rotate(1.5deg); }
.principle:nth-child(4) { left: 56%; top: 45%; transform: rotate(-2.5deg); }
.principle:nth-child(5) { left: 30%; top: 74%; transform: rotate(2.5deg); }
.principle:hover, .principle:focus-visible { transform: rotate(0deg) scale(1.05); z-index: 9; }
/* Уголковые скобки [ ] */
.principle::before, .principle::after {
  content: ""; position: absolute; top: -0.15em; bottom: -0.15em; width: 14px;
  border: 2px solid var(--ink); transition: border-color 0.3s var(--ease), width 0.3s var(--ease), transform 0.3s var(--ease);
}
.principle::before { left: 0; border-right: none; }
.principle::after { right: 0; border-left: none; }
.principle:hover::before, .principle:focus-visible::before,
.principle:hover::after, .principle:focus-visible::after { border-color: #8a8a92; width: 18px; }
.principle-name {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em;
  line-height: 1.05; font-size: clamp(1.3rem, 2.6vw, 2.2rem); color: var(--ink); white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.principle:hover .principle-name, .principle:focus-visible .principle-name { color: #5f5f66; }
/* Описание — всплывает под названием (без сдвига макета), в сером стиле */
.principle-descwrap {
  position: absolute; top: 100%; left: 50%; width: min(340px, 80vw); margin-top: 12px; z-index: 8;
  opacity: 0; transform: translateX(-50%) translateY(8px); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.principle:hover .principle-descwrap, .principle:focus-visible .principle-descwrap { opacity: 1; transform: translateX(-50%) translateY(0); }
.principle-desc {
  background: #f2f1ef; border: 1px solid #e2ded6; border-left: 3px solid #9a9aa2; border-radius: 14px;
  padding: 0.95rem 1.15rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 500;
  text-transform: none; letter-spacing: 0; font-size: 0.96rem; line-height: 1.55;
  box-shadow: 0 22px 46px -30px rgba(0,0,0,0.45);
}
/* Мобильные / сенсорные: колонка, описания видны сразу */
@media (max-width: 720px), (hover: none) {
  .principles { position: static; min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-left: 0; }
  /* relative, а не static: иначе уголковые скобки [ ] теряют точку отсчёта
     и растягиваются на весь блок вместо своего пункта */
  .principle {
    position: relative !important;
    left: auto !important; top: auto !important; transform: none !important; margin: 0 !important;
    width: 100%; padding: 0 18px;
  }
  .principle-name { white-space: normal; font-size: clamp(1.05rem, 4.6vw, 1.35rem); line-height: 1.2; }
  .principle-descwrap {
    position: static; transform: none; opacity: 1; width: auto;
    margin-top: 8px; pointer-events: auto;
  }
  .principle-desc { font-size: 0.92rem; padding: 0.75rem 0.95rem; box-shadow: none; }
  .principle::before, .principle::after { width: 10px; }
  .mission-bg { width: 100%; opacity: 0.08; }
}

/* ---------- Карточки лиц ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 28px); margin-top: 2rem; }
@media (max-width: 900px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
/* На телефоне НЕ схлопываем в одну колонку: портрет 3/4 во всю ширину экрана
   получается огромным. Два столбца читаются лучше и занимают вдвое меньше места. */
@media (max-width: 560px) {
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 1.4rem; }
  .person-photo { aspect-ratio: 4 / 5; }
  .person-photo::after { border-width: 0 0 22px 22px; }
  .person-name { font-size: 0.92rem; line-height: 1.2; }
  .person-role { font-size: 0.78rem; }
  .person-quote { font-size: 0.85rem; }
}

.person-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.person-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0,0,0,0.4); }
.person-photo { aspect-ratio: 3 / 4; background: #dedbd4; position: relative; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: transform 0.6s var(--ease), filter 0.5s var(--ease); }
.person-card:hover .person-photo img { transform: scale(1.04); filter: grayscale(0) contrast(1.02); }
.person-photo:hover img { filter: grayscale(0) contrast(1.02); }
.person-photo .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 3rem; color: #b7b3aa; background: repeating-linear-gradient(135deg, #e6e3dc, #e6e3dc 12px, #e1ded6 12px, #e1ded6 24px);
}
.person-photo::after { content:""; position: absolute; left: 0; bottom: 0; border-width: 0 0 34px 34px; border-style: solid; border-color: transparent transparent transparent var(--gold); opacity: 0.9; }
.person-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.person-name { font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.person-role { color: var(--muted); font-size: 0.92rem; margin-top: 0.2rem; }
.person-quote { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.98rem; }
.person-more { margin-top: auto; padding-top: 1.1rem; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ---------- Карточки мероприятий ---------- */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 3rem; }
@media (max-width: 900px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .events-grid { grid-template-columns: 1fr; } }
.event-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0,0,0,0.4); }
.event-media { aspect-ratio: 16 / 10; background: #cfccc4; position: relative; overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: transform 0.6s var(--ease), filter 0.5s var(--ease); }
.event-card:hover .event-media img { transform: scale(1.04); filter: grayscale(0) contrast(1.02); }
.event-media .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #a8a49b; font-family: var(--font-display); font-size: 2.2rem; background: repeating-linear-gradient(135deg, #e6e3dc, #e6e3dc 12px, #e1ded6 12px, #e1ded6 24px); }
.event-tag { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; padding: 0.5rem 0.9rem; }
.event-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.event-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; }
.event-meta { color: var(--muted); font-size: 0.85rem; margin-top: 0.35rem; }
.event-desc { margin-top: 0.9rem; color: var(--ink-soft); font-size: 0.97rem; }
.event-more { margin-top: auto; padding-top: 1.1rem; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ---------- Форматы (список мероприятий) ---------- */
.format-list { margin-top: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: clamp(30px, 4.5vw, 60px); }
.format-row { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.format-media {
  display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; position: relative;
  background: #dedbd4; box-shadow: 0 26px 55px -34px rgba(0,0,0,0.45);
}
.format-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: transform 0.6s var(--ease), filter 0.5s var(--ease); }
.format-media:hover img { transform: scale(1.04); filter: grayscale(0) contrast(1.02); }
.format-media .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 3rem; color: #b0aca3;
  background: repeating-linear-gradient(135deg, #e6e3dc, #e6e3dc 14px, #e1ded6 14px, #e1ded6 28px);
}
.format-rule { height: 4px; width: 100%; background: var(--ink); border-radius: 4px; }
.format-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.02; font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin: clamp(1rem, 2vw, 1.6rem) 0 0; }
.format-sub { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.7rem; font-size: 0.92rem; }
.format-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1.1rem; color: var(--ink-soft); font-weight: 600; }
.format-meta .dash { width: 48px; height: 2px; background: var(--ink); display: inline-block; flex: none; }
.format-desc { margin-top: 1.2rem; color: var(--muted); max-width: 48ch; line-height: 1.6; }
.format-foot { margin-top: clamp(1.4rem, 3vw, 2rem); padding-top: clamp(1.2rem, 2.5vw, 1.7rem); border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  .format-row { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Внутренний герой (страницы): баннер на всю ширину под шапкой ---------- */
.page-hero { position: relative; }
.page-hero .band {
  position: relative; width: 100%; overflow: hidden;
  background: linear-gradient(120deg, #24252a, #55565d 60%, #d8d5cd);
  min-height: clamp(180px, 26vw, 300px);
  display: flex; align-items: flex-end;
}
.page-hero .band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); }
.page-hero .band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,24,0.15), rgba(20,20,24,0)); pointer-events: none; }
.page-hero .band-inner { position: relative; z-index: 1; width: 100%; }
.page-hero .title-plate { display: inline-block; background: var(--page); padding: 0.45rem 1.5rem 0.2rem; margin-bottom: -1px; border-radius: 14px 14px 0 0; }
.page-hero .title-plate .display { color: var(--ink); }

/* ---------- Prose ---------- */
.prose p { margin: 0 0 1.1rem; }
.prose { max-width: 66ch; }
.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); }
@media (max-width: 820px) { .two-col-text { grid-template-columns: 1fr; } }

/* ---------- CTA полоса ---------- */
.cta-band {
  position: relative; overflow: hidden;
  color: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 52px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  background:
    linear-gradient(120deg, rgba(16,16,20,0.92) 0%, rgba(16,16,20,0.72) 55%, rgba(16,16,20,0.90) 100%),
    #14141a url('/brand/shapka.jpeg') center 28% / cover no-repeat;
  box-shadow: 0 30px 70px -44px rgba(0,0,0,0.7);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band::after {
  content: ""; position: absolute; z-index: 0; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(175,177,185,0.30), transparent 70%); pointer-events: none;
}
.cta-band .section-title { color: #fff; }
.cta-band .btn { background: #fff; color: var(--ink); box-shadow: 0 12px 28px -12px rgba(0,0,0,0.6); }
.cta-band .btn:hover { background: var(--gold); color: #fff; }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Форма заявки ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1.05rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fbfaf8;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #b4afa6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px var(--gold-tint);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.alert { padding: 1rem 1.2rem; border-radius: 14px; font-size: 0.95rem; }

/* Стилизованная карточка формы заявки */
.apply-card {
  position: relative; background: rgba(255,255,255,0.86);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 30px 70px -40px rgba(30, 25, 60, 0.45);
  overflow: hidden;
}
.apply-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, #5bb3ec, var(--gold) 55%, #1f6fa8);
}
.apply-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-gold), transparent 70%); pointer-events: none;
}
.alert-ok { background: var(--gold-tint); color: #6a5217; border: 1px solid var(--gold-soft); }
.alert-err { background: #fbeaea; color: #a1302a; border: 1px solid #eab7b3; }

/* ---------- Модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(20,20,24,0.62); backdrop-filter: blur(2px); }
.modal-dialog {
  position: relative; background: var(--paper); max-width: 1000px; width: calc(100% - 32px);
  margin: 5vh auto; border-radius: 22px; padding: clamp(22px, 3vw, 38px);
  max-height: 88vh; overflow: auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px);
  animation: pop 0.35s var(--ease); box-shadow: 0 40px 90px -40px rgba(20, 15, 45, 0.6);
}
.modal-dialog::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, #5bb3ec, var(--gold) 55%, #1f6fa8);
}
@keyframes pop { from { transform: translateY(18px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; right: 16px; top: 16px; background: #f4f2ee; border: 1.5px solid var(--line); border-radius: 50%; width: 42px; height: 42px; font-size: 1.3rem; cursor: pointer; line-height: 1; transition: 0.2s var(--ease); }
.modal-close:hover { background: var(--gold); color: #fff; transform: rotate(90deg); }
.modal-legal a { display: block; padding: 0.4rem 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
@media (max-width: 760px) { .modal-dialog { grid-template-columns: 1fr; } }

/* ---------- Подвал ---------- */
.site-footer { background: #ececea; border-top: 1px solid var(--line); padding: clamp(36px, 4.5vw, 60px) 0 1.6rem; margin-top: 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 0.9fr 1fr 1.1fr; gap: clamp(24px, 3.5vw, 48px); align-items: start; }

/* Колонка 1 */
.footer-cta .btn { display: inline-flex; }
.footer-phones { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-phones a { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; color: var(--ink); }
.footer-phones a:hover { color: var(--gold); }

/* Колонка 2 — навигация с вертикальной линией */
.footer-nav { border-left: 2px solid var(--ink); padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.9rem; }
.footer-nav a { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); font-size: 0.98rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-social-block { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.footer-social-label { color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; }
.social { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); border: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.social a img { width: 21px; height: 21px; display: block; }
.social a:hover {
  background: var(--gold); transform: translateY(-2px);
  box-shadow: 0 12px 22px -12px rgba(47,150,219,0.85);
}

/* Колонка 3 — партнёр */
.partner-label { display: block; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; }
.partners-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 3vw, 34px); margin-top: 0.9rem; }
.partner-logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.partner-logo img { height: 40px; width: auto; display: block; }
.partner-logo span { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; color: #0A3A57; }
.partner-logo:hover span { color: #F58220; }
.partner-img { display: inline-flex; align-items: center; }
.partner-img img { height: 42px; width: auto; display: block; opacity: 0.92; transition: opacity 0.2s ease; }
.partner-img:hover img { opacity: 1; }
.partner-legal { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.5rem; }
.partner-legal a { color: var(--ink-soft); font-weight: 500; font-size: 0.9rem; }
.partner-legal a:hover { color: var(--gold); }

.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; margin-top: clamp(2.4rem, 5vw, 3.4rem); padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Личный кабинет / авторизация ---------- */
.auth-wrap { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 560px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 70px -44px rgba(30,25,60,0.4); }

/* Кабинет — редакционная навигация */
.cab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; padding-bottom: clamp(20px, 3vw, 34px); border-bottom: 1px solid var(--line); }
.cab-head-actions { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; }
.cab-nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(24px, 4vw, 44px); border-top: 1px solid var(--line); }
.cab-item { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: clamp(1.1rem, 2.4vw, 1.7rem) 1.2rem; border-bottom: 1px solid var(--line); overflow: hidden; transition: background 0.3s var(--ease); }
.cab-item:nth-child(odd) { border-right: 1px solid var(--line); }
.cab-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); transition: width 0.3s var(--ease); }
.cab-item:hover { background: #faf9f7; }
.cab-item:hover::before { width: 3px; }
.cab-num { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 0.95rem; letter-spacing: 0.1em; flex: none; }
.cab-body { display: flex; flex-direction: column; }
.cab-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.1; }
.cab-sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.15rem; }
.cab-arrow { margin-left: auto; color: var(--muted); font-size: 1.3rem; flex: none; transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.cab-item:hover .cab-arrow { transform: translateX(5px); color: var(--gold); }
@media (max-width: 640px) {
  .cab-nav { grid-template-columns: 1fr; }
  .cab-item:nth-child(odd) { border-right: none; }
}

/* ---------- Каталог участников / детали ---------- */
.members-filter { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.members-filter input, .members-filter select {
  padding: 0.7rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfaf8;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
}
.members-filter input { flex: 1 1 200px; }
.members-filter input:focus, .members-filter select:focus { outline: none; border-color: var(--gold); }
.detail-list p { margin: 0.4rem 0; color: var(--ink-soft); }
.detail-list strong { color: var(--ink); }

/* ---------- Сообщения (чат) ---------- */
.chat { display: flex; flex-direction: column; gap: 10px; padding: 1rem; background: #f4f2ee; border: 1px solid var(--line); border-radius: 16px; min-height: 240px; max-height: 60vh; overflow-y: auto; }
.chat-msg { max-width: 78%; align-self: flex-start; }
.chat-msg.mine { align-self: flex-end; text-align: right; }
.chat-bubble { display: inline-block; padding: 0.6rem 0.9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-align: left; }
.chat-msg.mine .chat-bubble { background: var(--ink); color: #fff; border-color: var(--ink); }
.chat-time { font-size: 0.7rem; color: var(--muted); margin-top: 2px; }
.chat-form { display: flex; gap: 0.6rem; margin-top: 1rem; }
.chat-form input { flex: 1; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: #fff; font-family: var(--font-body); font-size: 1rem; }
.chat-form input:focus { outline: none; border-color: var(--gold); }

/* ---------- К началу ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 50; border: none; cursor: pointer; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Прочее ---------- */
.badge { display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.empty-note { color: var(--muted); font-style: italic; padding: 2rem 0; }
.divider-strong { border: 0; border-top: 3px solid var(--line-strong); margin: 0; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem;
    position: absolute; top: 92px; left: 0; right: 0; background: var(--canvas);
    border-bottom: 1px solid var(--line); padding: 1.2rem var(--gutter); z-index: 70;
  }
  .nav-links.mobile-open .nav-menu { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-links.mobile-open .nav-menu a { padding: 0.7rem 0.4rem; }
  .nav-links.mobile-open .nav-menu a + a { box-shadow: none; border-top: 1px solid var(--line); border-radius: 0; }
  .nav-links.mobile-open .nav-menu a + a::before { display: none; }
  .nav-links.mobile-open .btn { display: inline-flex; margin-top: 0.4rem; }
  .nav-links.mobile-open .nav-cab { display: inline-flex; margin-top: 0.4rem; }
}

/* ---------- Мобильные уточнения ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { height: 76px; }
  .brand img { height: 48px; }
  .nav-links.mobile-open { top: 76px; }
  .members-filter input, .members-filter select { flex: 1 1 100%; width: 100%; }
  .cta-band { border-radius: 18px; }
  .chat-form { flex-direction: column; }
  .chat-form .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .modal-dialog { margin: 4vh auto; padding: 22px; }
}

/* ---------- Структура клуба (О клубе) ---------- */
.club-structure { position: relative; margin-top: clamp(34px, 5vw, 62px); overflow: hidden; }

/* Маяк на фоне справа - полупрозрачный, мягко растворяется */
.structure-mayak {
  position: absolute; right: clamp(-30px, -1vw, 0px); top: 50%; transform: translateY(-50%);
  width: clamp(190px, 24vw, 330px); height: 108%;
  background: url('/brand/mayak.png') right center / contain no-repeat;
  opacity: 0.13; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.club-structure > *:not(.structure-mayak) { position: relative; z-index: 1; }

/* Список уровней - воздушный, без карточек */
.structure-list { margin-top: clamp(18px, 2.6vw, 30px); max-width: 72%; }
.structure-row { padding: clamp(18px, 2.2vw, 26px) 0; border-top: 1px solid var(--line); }
.structure-row:first-child { border-top: 0; padding-top: clamp(8px, 1.2vw, 14px); }

.sr-head { display: flex; align-items: baseline; gap: 0.85rem; }
.sr-num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.14em; color: var(--gold); flex: none;
}
.sr-name {
  font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem); color: var(--ink); margin: 0;
}

/* Задачи - аккуратные пункты в две колонки */
.sr-tasks {
  list-style: none; margin: 0.7rem 0 0; padding: 0 0 0 calc(0.82rem + 0.85rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem clamp(18px, 2.6vw, 36px);
}
.sr-tasks li {
  position: relative; padding-left: 1.05rem;
  color: var(--ink-soft); font-size: 0.96rem; line-height: 1.5;
}
.sr-tasks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-soft);
}
.structure-row:hover .sr-tasks li::before { background: var(--gold); }

.structure-note {
  margin: clamp(14px, 2vw, 20px) 0 0; color: var(--muted);
  font-size: 0.88rem; line-height: 1.5;
}
.structure-note span { color: var(--gold); font-weight: 800; }

@media (max-width: 1000px) { .structure-list { max-width: 100%; } .structure-mayak { opacity: 0.08; } }
@media (max-width: 700px) {
  .sr-tasks { grid-template-columns: 1fr; padding-left: 0; }
  .structure-mayak { display: none; }
}

/* ---------- Карточка «Презентация клуба» ---------- */
.deck-card {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(26px, 4vw, 44px); padding: clamp(18px, 2.2vw, 24px);
  background: var(--ink); color: #fff; border-radius: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.deck-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(0,0,0,0.6); color: #fff; }
.deck-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.12); display: grid; place-items: center; flex: none; }
.deck-ic svg { width: 24px; height: 24px; }
.deck-txt { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.deck-title { font-weight: 800; font-size: 1.05rem; }
.deck-sub { color: #c9cbd2; font-size: 0.88rem; }
.deck-act {
  flex: none; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--gold); color: #fff; padding: 0.6rem 1.2rem; border-radius: var(--radius-pill);
}
@media (max-width: 560px) { .deck-card { flex-wrap: wrap; } .deck-txt { margin-right: 0; flex-basis: 100%; } }

/* ---------- Файл с информацией о мероприятии ---------- */
.event-doc {
  display: flex; align-items: center; gap: 14px;
  margin-top: 1.8rem; padding: 14px 16px; max-width: 70ch;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.event-doc:hover {
  border-color: var(--gold-soft); transform: translateY(-2px);
  box-shadow: 0 18px 34px -26px rgba(0,0,0,0.4);
}
.ed-ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--gold-tint); display: grid; place-items: center; color: var(--gold); }
.ed-ic svg { width: 22px; height: 22px; }
.ed-txt { display: flex; flex-direction: column; gap: 2px; margin-right: auto; min-width: 0; }
.ed-title { font-weight: 800; color: var(--ink); }
.ed-sub { color: var(--muted); font-size: 0.86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-act {
  flex: none; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--gold); color: #fff; padding: 0.5rem 1.05rem; border-radius: var(--radius-pill);
}
@media (max-width: 560px) {
  .event-doc { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .ed-txt { margin-right: 0; flex-basis: calc(100% - 56px); }
  .ed-act { width: 100%; text-align: center; }
}
