/* Мероприятия OSNOVA Business — лендинг события и архив (/business/events/).
   Цвета и шрифт — бренд OSNOVA 2026: фон Mist #EDEDEB, белые карточки, Ink #111218, синий #2A3CFF,
   Signal Lime #D3FE00 только для действия; один шрифт Onest, заголовки 600. Полосы — графика событий.
   Разметку собирает _i18n/events_build.py; классы с префиксом ev-. */
:root {
  --bg: #EDEDEB;
  --ink: #111218;
  --ink-2: #55565E;
  --muted: #75767E;
  --line: rgba(17,18,24,.09);
  --lime: #D3FE00;
  --blue: #2A3CFF;
  --sky: #A9C4FF;
  --red: #E5484D;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ev-page {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 'Onest', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.ev-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .ev-wrap { padding: 0 24px; } }
.ev-muted { color: var(--muted); }

/* ---------- кнопки, чипы ---------- */
.ev-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 'Onest', system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, background-color .2s, opacity .2s;
}
.ev-btn svg { width: 18px; height: 18px; flex: none; }
.ev-btn:active { transform: translateY(1px) scale(.985); }
.ev-btn--dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(17,18,24,.45); }
.ev-btn--dark:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -10px rgba(17,18,24,.55); }
.ev-btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(140,170,0,.6); }
.ev-btn--lime:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(140,170,0,.7); }
.ev-btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(17,18,24,.18); }
.ev-btn--line:hover { background: var(--bg); }
.ev-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.ev-btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.ev-btn--block { width: 100%; }
.ev-btn[disabled] { opacity: .7; cursor: progress; }

.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chip {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid transparent; font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.ev-chip--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.ev-chip--red { background: #FFE9E8; border-color: #FFD3D1; color: #B4232A; }
.ev-chipbtn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.ev-chipbtn:hover { background: #fff; border-color: rgba(17,18,24,.2); }
.ev-chipbtn svg { width: 14px; height: 14px; opacity: .55; }

/* ---------- шапка ---------- */
.ev-nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.ev-nav__pill {
  max-width: 1240px; margin: 0 auto; height: 64px; padding: 0 10px 0 22px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px -18px rgba(17,18,24,.25);
}
.ev-nav__logo img { height: 24px; width: auto; }
.ev-nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14.5px; color: #3F4642; }
.ev-nav__links a { text-decoration: none; }
.ev-nav__links a:hover { color: var(--ink); }
.ev-nav__cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
@media (max-width: 767px) {
  .ev-nav { top: 10px; padding: 0 10px; }
  .ev-nav__pill { height: 56px; padding: 0 6px 0 16px; gap: 10px; }
  .ev-nav__logo img { height: 20px; }
  .ev-nav__hide-sm { display: none; }
  .ev-nav__links { font-size: 14px; }
  .ev-nav__cta { display: none; }
}

/* ---------- первый экран: тёмная панель за «рифлёным стеклом» (events/hero-glass.js), текст белый ---------- */
.ev-hero { padding: 104px 0 8px; }
.ev-hero__panel {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 600px;
  padding: 64px; border-radius: 32px; color: #fff;
  /* запасной фон без WebGL: пятно и линзы на CSS */
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.07) 58px, rgba(0,0,0,.22) 66px, rgba(255,255,255,0) 68px),
    radial-gradient(70% 95% at 80% 100%, #A9C4FF 0, #2A3CFF 34%, #33279E 58%, #090B33 82%);
}
.ev-glass { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.ev-glass.is-on { opacity: 1; }
/* тень под текстом: белые буквы читаются на любом кадре */
.ev-glass__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(9,11,51,.86) 0%, rgba(9,11,51,.66) 38%, rgba(9,11,51,.18) 66%, rgba(9,11,51,0) 80%); }
.ev-hero__text { position: relative; min-width: 0; max-width: 700px; }
.ev-hero__panel .ev-chip { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.ev-hero__panel .ev-chip--lime { background: var(--lime); color: var(--ink); }
.ev-hero__eyebrow { margin-top: 18px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.66); }
.ev-h1 {
  margin-top: 10px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(34px, 3.9vw, 56px); text-wrap: balance; overflow-wrap: break-word;
}
.ev-hero__sub { margin-top: 18px; max-width: 640px; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.78); }
.ev-ticket {
  margin-top: 26px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; max-width: 100%;
  background: rgba(255,255,255,.1); border-radius: 20px; overflow: hidden;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.ev-ticket__cell { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 14.5px; line-height: 1.3; }
.ev-ticket__cell + .ev-ticket__cell { border-left: 1px solid rgba(255,255,255,.12); }
.ev-ticket__cell svg { width: 20px; height: 20px; flex: none; color: var(--sky); }
.ev-ticket__cell b { font-weight: 600; }
.ev-ticket__cell > div { min-width: 0; }
.ev-ticket__cell:last-child b { overflow-wrap: anywhere; }
@media (min-width: 1180px) { .ev-ticket__cell:not(:last-child) b { white-space: nowrap; } }
.ev-ticket__cell span { color: rgba(255,255,255,.62); }
.ev-hero__row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.ev-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ev-btn--line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.ev-btn--line-light:hover { background: rgba(255,255,255,.1); }
.ev-hero__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ev-hero__partners span { font-size: 14px; color: rgba(255,255,255,.6); }
.ev-hero__partners img { height: 40px; width: auto; padding: 6px 10px; border-radius: 10px; background: #fff; }
.ev-hero__partners b { font-size: 16px; font-weight: 600; }

.ev-banner { margin-bottom: 18px; padding: 12px 16px; border-radius: 16px; background: #FFE9E8; color: #8E1A20; font-size: 15px; font-weight: 600; }
.ev-banner--state { display: inline-flex; background: #fff; color: var(--ink); }
.ev-banner--state[data-kind="live"] { background: var(--lime); color: var(--ink); }
.ev-hero--arc { padding: 132px 0 8px; }
.ev-hero--arc .ev-h1 { font-size: clamp(40px, 5.4vw, 72px); }
.ev-hero--arc .ev-hero__sub { color: var(--ink-2); }

@media (max-width: 1023px) {
  .ev-hero__panel { padding: 48px 40px; min-height: 540px; }
  .ev-hero__text { max-width: 600px; }
}
@media (max-width: 767px) {
  .ev-hero { padding: 80px 0 8px; }
  .ev-hero__panel { display: block; min-height: 0; padding: 28px 20px 24px; border-radius: 26px; }
  .ev-glass__shade { background: linear-gradient(180deg, rgba(9,11,51,.78) 0%, rgba(9,11,51,.62) 55%, rgba(9,11,51,.4) 100%); }
  .ev-hero__eyebrow { margin-top: 16px; font-size: 14px; }
  .ev-hero__sub { margin-top: 14px; font-size: 16px; }
  .ev-ticket { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .ev-ticket__cell { padding: 12px 16px; }
  .ev-ticket__cell + .ev-ticket__cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .ev-hero__row { margin-top: 22px; }
  .ev-hero__cta { width: 100%; }
  .ev-hero__cta .ev-btn { width: 100%; }
  .ev-hero__partners img { height: 36px; }
}

/* ---------- секции ---------- */
.ev-sec { padding: 72px 0 0; }
#register, #where { scroll-margin-top: 24px; }
.ev-sec--tight { padding-top: 48px; }
.ev-sec--top0 { padding-top: 32px; }
.ev-h2 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 28px; text-wrap: balance; }
.ev-h2--sm { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 20px; }
.ev-h2--light { color: #fff; margin-bottom: 0; }
.ev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 48px -28px rgba(17,18,24,.10); }
.ev-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
@media (max-width: 767px) {
  .ev-sec { padding-top: 56px; }
  .ev-h2 { margin-bottom: 20px; }
  .ev-split { grid-template-columns: 1fr; gap: 0; }
}

/* программа */
.ev-agenda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ev-agenda__item { display: flex; gap: 18px; padding: 26px 26px 28px; }
.ev-agenda__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ev-agenda__n {
  flex: none; min-width: 34px; font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; color: var(--blue);
}
.ev-agenda__item h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.ev-agenda__item p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 767px) {
  .ev-agenda { grid-template-columns: 1fr; gap: 12px; }
  .ev-agenda__item { padding: 20px; gap: 14px; }
  .ev-agenda__n { min-width: 30px; font-size: 18px; }
  .ev-agenda__item h3 { font-size: 18px; }
}

/* списки «Для кого», «Что получите» */
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ev-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; font-size: 16px; }
.ev-tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--ink); margin-top: 1px; }
.ev-tick svg { width: 12px; height: 12px; }
.ev-tick--dark { background: var(--blue); color: #fff; }

/* спикеры: портрет 4:5 слева, имя крупно, роль серым, био под линией */
.ev-speakers { display: grid; gap: 16px; }
.ev-speaker { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; padding: 16px; align-items: stretch; }
.ev-speaker--nophoto { grid-template-columns: minmax(0, 1fr); padding: 32px; }
.ev-speaker__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #D8D8D6; }
.ev-speaker__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.ev-speaker__body { display: flex; flex-direction: column; justify-content: center; padding: 24px 32px 24px 0; }
.ev-speaker h3 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.ev-speaker__role { margin-top: 12px; font-size: 18px; color: var(--muted); }
.ev-speaker__bio { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; max-width: 620px; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
@media (max-width: 1023px) { .ev-speaker { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; } }
@media (max-width: 767px) {
  .ev-speaker { grid-template-columns: 1fr; gap: 20px; padding: 12px; }
  .ev-speaker__photo { aspect-ratio: 1 / 1; border-radius: 16px; }
  .ev-speaker__body { padding: 4px 8px 16px; }
  .ev-speaker h3 { font-size: 30px; }
  .ev-speaker__role { margin-top: 8px; font-size: 16px; }
  .ev-speaker__bio { margin-top: 20px; padding-top: 18px; font-size: 16px; }
}

/* бонус */
.ev-bonus { padding: 28px; display: grid; gap: 10px; justify-items: start; }
.ev-bonus h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.ev-bonus p { color: var(--ink-2); }

/* где и когда */
.ev-where { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px; align-items: stretch; }
.ev-where__card { padding: 26px 28px 28px; }
.ev-where__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ev-where__label svg { width: 18px; height: 18px; }
.ev-where__big { margin-top: 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: break-word; }
.ev-where__sub { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.ev-where__note { margin-top: 12px; font-size: 15px; color: var(--ink-2); max-width: 560px; }
.ev-where__cal { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14.5px; }
.ev-where__cal a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(17,18,24,.25); text-underline-offset: 3px; }
.ev-where__cal a:hover { text-decoration-color: currentColor; }
.ev-where__cap { margin-top: 14px; display: inline-flex; padding: 6px 12px; border-radius: 999px; background: #FFF4D6; color: #7A5A00; font-size: 13.5px; font-weight: 600; }
.ev-maps { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.ev-hr { border: 0; border-top: 1px dashed rgba(17,18,24,.16); margin: 22px 0; }
@media (max-width: 767px) {
  .ev-where { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ev-where__card { padding: 20px; }
  .ev-where__big { font-size: 21px; }
}

/* ---------- регистрация ---------- */
.ev-reg {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  padding: 56px; border-radius: 40px; background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.06);
  overflow: clip;
}
.ev-reg__glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.ev-reg__glow--a { top: -140px; right: -100px; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(42,60,255,.42), transparent); }
.ev-reg__glow--b { bottom: -170px; left: -110px; width: 460px; height: 460px; background: radial-gradient(closest-side, rgba(126,182,255,.26), transparent); }
.ev-reg__text, .ev-reg__box { position: relative; min-width: 0; }
.ev-reg__lead { margin-top: 16px; font-size: 19px; line-height: 1.4; color: rgba(255,255,255,.85); font-weight: 500; max-width: 480px; }
.ev-reg__meta { margin-top: 22px; display: grid; gap: 10px; font-size: 15px; color: rgba(255,255,255,.85); }
.ev-reg__meta span { display: flex; align-items: center; gap: 10px; }
.ev-reg__meta svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.ev-reg__ticks { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px; font-size: 15px; color: rgba(255,255,255,.8); }
.ev-reg__ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ev-reg__box { align-self: start; padding: 28px; border-radius: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 1023px) { .ev-reg { grid-template-columns: 1fr; gap: 32px; padding: 40px; } }
@media (max-width: 767px) {
  .ev-reg { padding: 26px 18px 18px; border-radius: 28px; gap: 24px; }
  .ev-reg__lead { font-size: 17px; }
  .ev-reg__ticks { margin-top: 20px; padding-top: 18px; }
  .ev-reg__box { padding: 18px; border-radius: 22px; }
}

/* форма */
.ev-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ev-fld { display: block; min-width: 0; }
.ev-fld--wide { grid-column: 1 / -1; }
.ev-form__grid .ev-fld:not(.ev-fld--wide):last-child:nth-child(odd) { grid-column: 1 / -1; }
.ev-fld__label { display: block; margin-bottom: 8px; font-size: 13px; color: rgba(255,255,255,.72); }
.ev-opt { color: rgba(255,255,255,.45); }
.ev-input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18);
  background: #fff; color: var(--ink); font: 400 15px 'Onest', system-ui, sans-serif; outline: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.ev-input::placeholder { color: rgba(17,18,24,.38); }
.ev-input:focus { background: rgba(20,25,22,.92); color: #fff; border-color: var(--lime); }
.ev-input:focus::placeholder { color: rgba(255,255,255,.38); }
.ev-input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px #fff inset; caret-color: var(--ink); }
.ev-fld__err { display: none; margin-top: 6px; font-size: 12.5px; color: #FFB4A8; }
.is-err .ev-fld__err { display: block; }
.is-err .ev-input { border-color: #FF8F7E; }
.ev-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ev-form .ev-btn--block { margin-top: 20px; min-height: 56px; font-size: 16px; }
.ev-form__status { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,143,126,.12); color: #FFC9BF; font-size: 13.5px; text-align: center; }
.ev-form__status.is-on { display: block; }
.ev-form__status a { color: var(--lime); font-weight: 600; }
.ev-form__consent { margin-top: 14px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.5); text-align: center; }
.ev-form__consent a { color: rgba(255,255,255,.75); }
.ev-form__alt { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.65); text-align: center; }
.ev-form__alt a { color: var(--lime); font-weight: 600; text-decoration: none; }
@media (max-width: 479px) { .ev-form__grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .ev-input { font-size: 16px; } }

/* состояния вместо формы */
.ev-state { display: grid; gap: 14px; justify-items: start; }
.ev-state__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--lime); color: var(--ink); }
.ev-state__icon svg { width: 24px; height: 24px; }
.ev-state__title { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: break-word; }
.ev-state__title:focus { outline: none; }
.ev-state p { color: rgba(255,255,255,.78); font-size: 16px; }
.ev-state .ev-btn--block { margin-top: 6px; min-height: 56px; font-size: 16px; }
.ev-state__hint { font-size: 13px !important; color: rgba(255,255,255,.5) !important; }
.ev-state__cal { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: rgba(255,255,255,.6); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); width: 100%; }
.ev-state__cal a { color: #fff; font-weight: 600; }
.ev-state__row { display: flex; flex-wrap: wrap; gap: 10px; }

/* FAQ */
.ev-faq { display: grid; gap: 10px; }
.ev-faq__item { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.ev-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-size: 17px; font-weight: 700; }
.ev-faq__item summary::-webkit-details-marker { display: none; }
.ev-faq__item summary span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); transition: transform .25s; }
.ev-faq__item summary svg { width: 16px; height: 16px; }
.ev-faq__item[open] summary span { transform: rotate(45deg); }
.ev-faq__item > div { padding: 0 20px 20px; color: var(--ink-2); display: grid; gap: 8px; }

/* ---------- архив ---------- */
.ev-arc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev-arc__card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.ev-arc__card:hover { transform: translateY(-2px); box-shadow: 0 30px 50px -30px rgba(17,18,24,.25); }
.ev-arc__img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #E7E5DD; }
.ev-arc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.ev-arc__body { padding: 18px 20px 22px; display: grid; gap: 10px; }
.ev-arc__date { font-size: 14px; font-weight: 600; color: var(--muted); }
.ev-arc__body h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; overflow-wrap: break-word; }
.ev-arc__who, .ev-arc__place { font-size: 14px; color: var(--ink-2); }
.ev-arc--past .ev-arc__card { opacity: .85; }
.ev-arc--past .ev-arc__img { filter: grayscale(.6); }
.ev-arc__empty { padding: 28px; display: grid; gap: 10px; justify-items: start; }
.ev-arc__empty b { font-size: 20px; }
.ev-arc__empty p { color: var(--ink-2); }
@media (max-width: 1023px) { .ev-arc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .ev-arc { grid-template-columns: 1fr; } }

/* ---------- подвал ---------- */
.ev-footer { margin-top: 88px; padding: 48px 0 40px; border-top: 1px solid var(--line); }
.ev-footer__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.ev-footer__brand img { height: 28px; width: auto; }
.ev-footer__brand p { margin-top: 14px; max-width: 360px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.ev-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; font-size: 14px; color: #3F4642; }
.ev-footer__list a { text-decoration: none; }
.ev-footer__list a:hover { color: var(--ink); text-decoration: underline; }
.ev-footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
@media (max-width: 767px) {
  .ev-footer { margin-top: 64px; padding-bottom: 112px; }
  .ev-footer__in { grid-template-columns: 1fr 1fr; }
  .ev-footer__brand { grid-column: 1 / -1; }
}

/* ---------- мобильная плашка с кнопкой ---------- */
.ev-mbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; padding: 8px; border-radius: 22px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgba(17,18,24,.45);
  transform: translateY(calc(100% + 24px)); transition: transform .25s cubic-bezier(.2,0,0,1);
}
.ev-mbar .ev-btn { width: 100%; min-height: 50px; }
.ev-mbar.is-on { transform: none; }
@media (max-width: 767px) { .ev-mbar { display: block; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ev-btn, .ev-arc__card, .ev-mbar { transition: none; }
}
