/* Мероприятия — стили страницы */
.slink.is-on {
  background:#ffffff;
  color:#070B24;
}

.crumbs {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:rgba(255,255,255,0.8);
}

.crumbs a {
  display:inline-flex;
  align-items:center;
  min-height:36px;
  color:#ffffff;
}

.crumbs a:hover {
  color:#9EBBEA;
}

.ev-hero {
  min-height:700px;
  background:#070B24 url(../img/conference-stage.webp) 70% center/cover no-repeat;
}

.ev-hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,11,36,0.94) 0%,rgba(7,11,36,0.72) 38%,rgba(7,11,36,0.18) 72%,rgba(7,11,36,0.05) 100%),linear-gradient(0deg,rgba(7,11,36,0.85) 0%,rgba(7,11,36,0) 46%);
  pointer-events:none;
}

.ev-h1 {
  margin:0;
  font-weight:300;
  font-size:120px;
  line-height:.98;
  letter-spacing:-0.045em;
}

.m-h {
}

.where {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.wh {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:20px;
  min-height:250px;
  padding:28px;
  border-radius:var(--r-card);
  overflow:clip;
}

.wh-n {
  font-size:64px;
  font-weight:300;
  letter-spacing:-0.04em;
  line-height:1;
  color:rgba(158,187,234,0.55);
}

.wh-t {
  margin:auto 0 0;
  font-size:22px;
  font-weight:400;
  line-height:1.3;
  letter-spacing:-0.01em;
}

.wh svg.sp {
  position:absolute;
  right:24px;
  top:26px;
}

.ev-sec {
  position:relative;
}

.ev-ghost {
  position:absolute;
  left:50%;
  top:330px;
  transform:translateX(-50%);
  font-size:300px;
  font-weight:500;
  letter-spacing:-0.06em;
  line-height:1;
  color:rgba(255,255,255,0.04);
  pointer-events:none;
  white-space:nowrap;
  user-select:none;
}

.car-view {
  position:relative;
  height:500px;
  overflow:clip;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 92%,transparent 100%);
}

.car-track {
  --cw:250px;
  --aw:360px;
  --g:20px;
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  display:flex;
  gap:var(--g);
  align-items:center;
  transform:translateX(calc(var(--a) * -1 * (var(--cw) + var(--g)) - var(--aw) / 2));
  transition:transform .9s cubic-bezier(.16,1,.3,1);
}

.ecard {
  position:relative;
  flex:0 0 var(--cw);
  height:330px;
  padding:0;
  border:0;
  border-radius:var(--r-card);
  overflow:clip;
  cursor:pointer;
  background:#0F2C5C;
  text-align:left;
  color:#0A1230;
  isolation:isolate;
  transform:translateZ(0);
  transition:flex-basis .9s cubic-bezier(.16,1,.3,1),height .9s cubic-bezier(.16,1,.3,1),box-shadow .9s,opacity .6s;
}

.ecard.is-on {
  flex-basis:var(--aw);
  height:460px;
  box-shadow:0 40px 80px rgba(7,11,36,0.6),0 0 0 1px rgba(255,255,255,0.12);
  cursor:default;
}

.ecard:not(.is-on) {
  opacity:.82;
}

.ecard:not(.is-on):hover {
  opacity:1;
}

.ecard:focus-visible {
  outline:3px solid #9EBBEA;
  outline-offset:3px;
}

.e-img {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:grayscale(1) brightness(.75) contrast(1.05);
  transform:scale(1.04);
  transition:filter .9s,transform 1.4s cubic-bezier(.16,1,.3,1);
}

.ecard.is-on .e-img {
  filter:none;
  transform:scale(1);
}

.ecard:not(.is-on):hover .e-img {
  filter:grayscale(.4) brightness(.9);
  transform:scale(1.08);
}

.im-stage {
  background-image:url(../img/conference-stage.webp);
}

.im-students {
  background-image:url(../img/people-corridor.webp);
}

.im-flow {
  background-image:url(../img/people-motion.webp);
}

.im-city {
  background-image:url(../img/moscow-night.webp);
}

.im-hands {
  background-image:url(../img/handshake.webp);
}

.im-silh {
  background-image:url(../img/light-portrait.webp);
}

.e-plate {
  position:absolute;
  left:8px;
  right:8px;
  bottom:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:14px 16px;
  border-radius:var(--r-sm);
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:background .6s;
}

.ecard.is-on .e-plate {
  background:#ffffff;
  padding:18px 20px;
}

.e-meta {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#4A5263;
  font-variant-numeric:tabular-nums;
}

.e-meta i {
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor;
}

.e-name {
  font-size:18px;
  line-height:1.25;
  letter-spacing:-0.01em;
  color:#0A1230;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:clip;
}

.ecard.is-on .e-name {
  font-size:22px;
}

.cap {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:24px 48px;
  align-items:end;
  margin-top:36px;
}

.cap-t {
  margin:0;
  font-size:24px;
  font-weight:300;
  line-height:1.4;
  letter-spacing:-0.01em;
  max-width:820px;
}

.tpill {
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:30px;
  padding:0 12px;
  border-radius:var(--r-pill);
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
}

.tpill i {
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
}

.ctrl {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px 24px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.tchips {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:32px;
}

.tchip {
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:44px;
  padding:0 8px 0 18px;
  border-radius:var(--r-pill);
  border:1px solid rgba(255,255,255,0.3);
  background:transparent;
  color:rgba(255,255,255,0.9);
  font-size:14px;
  cursor:pointer;
  transition:background .3s,color .3s,border-color .3s;
}

.tchip:hover {
  border-color:#ffffff;
}

.tchip i {
  font-style:normal;
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:var(--r-pill);
  background:rgba(255,255,255,0.12);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-variant-numeric:tabular-nums;
}

.tchip[aria-pressed="true"] {
  background:#ffffff;
  color:#070B24;
  border-color:#ffffff;
}

.tchip[aria-pressed="true"] i {
  background:#070B24;
  color:#ffffff;
}

.tchip:focus-visible {
  outline:2px solid #9EBBEA;
  outline-offset:2px;
}

.found {
  font-size:14px;
  color:rgba(255,255,255,0.8);
  font-variant-numeric:tabular-nums;
}

.erow {
  position:relative;
  display:grid;
  grid-template-columns:96px 150px minmax(0,1fr) 130px 44px;
  gap:22px;
  align-items:center;
  padding:14px 16px 14px 14px;
  border-radius:var(--r-card);
  margin-bottom:10px;
  transition:background .35s,border-color .35s,transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s;
}

.erow:hover {
  background:rgba(255,255,255,0.13);
  border-color:rgba(158,187,234,0.55);
  transform:translateX(6px);
  box-shadow:0 16px 40px rgba(47,91,255,0.25);
}

.erow:focus-within {
  border-color:rgba(158,187,234,0.7);
}

.e-cal {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:96px;
  height:84px;
  border-radius:var(--r-sm);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  font-variant-numeric:tabular-nums;
}

.e-cal b {
  font-size:30px;
  font-weight:300;
  line-height:1;
  letter-spacing:-0.02em;
}

.e-cal > span {
  font-size:12px;
  color:rgba(255,255,255,0.75);
  margin-top:6px;
}

.e-t {
  margin:0;
  font-size:17px;
  font-weight:400;
  line-height:1.45;
  color:#ffffff;
}

.e-src {
  font-size:12px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#9EBBEA;
}

.e-go {
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.35);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#ffffff;
  transition:background .3s,color .3s,transform .45s cubic-bezier(.25,1.25,.35,1);
}

.erow:hover .e-go {
  background:#ffffff;
  color:#070B24;
  transform:rotate(-45deg);
}

.empty {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  padding:56px 24px;
  border-radius:var(--r-card);
  text-align:center;
}

.part {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:20px;
}

.part .poster {
  min-height:580px;
}

.ph {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:580px;
  padding:20px;
  border-radius:var(--r-card);
  overflow:clip;
  isolation:isolate;
}

.ph-img {
  position:absolute;
  inset:0;
  z-index:-1;
  background:#0F2C5C url(../img/handshake.webp) center/cover no-repeat;
  transition:transform 1.6s cubic-bezier(.16,1,.3,1);
}

.ph:hover .ph-img {
  transform:scale(1.06);
}

.ph-plate {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px;
  border-radius:var(--r-sm);
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.2);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.ct-ghost {
  position:absolute;
  left:50%;
  top:40%;
  transform:translate(-50%,-50%);
  font-size:300px;
  font-weight:500;
  letter-spacing:-0.06em;
  line-height:1;
  color:rgba(255,255,255,0.04);
  pointer-events:none;
  white-space:nowrap;
  user-select:none;
}

/* Тона форматов мероприятий (плашки в подписи карусели и в архиве) */
.tpill.k-conf {
  color:#9EBBEA;
  background:rgba(158,187,234,0.16);
}

.tpill.k-press {
  color:#C9B6FF;
  background:rgba(201,182,255,0.14);
}

.tpill.k-forum {
  color:#7CC4E8;
  background:rgba(124,196,232,0.14);
}

.tpill.k-meet {
  color:#7CC47F;
  background:rgba(124,196,127,0.14);
}

.tpill.k-talk {
  color:#F0C27A;
  background:rgba(240,194,122,0.14);
}

.erow .tpill {
  justify-self:start;
}

.cap-date {
  font-size:13px;
  color:rgba(255,255,255,0.8);
  font-variant-numeric:tabular-nums;
}

.cap-n {
  font-size:14px;
  color:rgba(255,255,255,0.86);
  font-variant-numeric:tabular-nums;
  margin-right:8px;
}

/* Архив: пустое состояние и «Показать ещё» */
.empty-t {
  font-size:22px;
  font-weight:300;
}

.ev-more {
  display:flex;
  justify-content:center;
  padding-top:24px;
}

.more-n {
  font-size:13px;
  color:#4A5263;
  font-variant-numeric:tabular-nums;
}

/* Заголовок секции, перенесённый на отдельную строку, остаётся у правого края */
.sec-head > .h2-r {
  margin-left:auto;
}

/* Герой: строка с лидом и цифрами */
.hero-row {
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
}

.hero-stats {
  display:flex;
  gap:64px;
  padding-bottom:6px;
}

/* Партнёрство: заголовок постера и воздух между блоками */
.pt-h {
  font-size:64px;
}

.part .poster {
  gap:28px;
}

/* Форма заявки: раскладка и экран «отправлено» (валидация — main.js) */
.fc-form {
  display:flex;
  flex-direction:column;
  gap:12px;
}

.fc-title {
  margin:0 0 12px;
  font-size:20px;
  text-align:center;
}

.fc-agree {
  margin:6px 4px 8px;
}

.fc-sent {
  min-height:520px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:20px;
}

.fc-ok {
  width:84px;
  height:84px;
  border-radius:50%;
  background:linear-gradient(135deg,#2F5BFF,#1B4C9C);
  color:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 40px rgba(47,91,255,0.45);
}

.fc-sent-t {
  margin:0;
  font-size:32px;
  font-weight:300;
  letter-spacing:-0.02em;
}

.fc-sent-x {
  margin:0;
  max-width:360px;
  font-size:15px;
  line-height:1.6;
  color:#4A5263;
}

/* ---------- Адаптив ---------- */
@media (max-width:1180px) {
  .erow {
    grid-template-columns:84px minmax(0,1fr) 44px;
  }
  .erow .e-cal {
    width:84px;
    grid-row:1 / 3;
  }
  .erow .tpill {
    grid-column:2;
    grid-row:1;
    justify-self:start;
  }
  .erow .e-t {
    grid-column:2;
    grid-row:2;
  }
  .erow .e-src {
    display:none;
  }
  .erow .e-go {
    grid-column:3;
    grid-row:1 / 3;
  }
}

@media (max-width:1100px) {
  .hero-stats {
    gap:40px;
  }
  .pt-h {
    font-size:56px;
  }
}

@media (max-width:960px) {
  .sec-head > .h2-r {
    margin-left:0;
  }
  .ev-hero {
    min-height:0;
    background-position:62% center;
  }
  .ev-hero::before {
    background:linear-gradient(0deg,rgba(7,11,36,0.95) 0%,rgba(7,11,36,0.6) 60%,rgba(7,11,36,0.35) 100%);
  }
  .ev-h1 {
    font-size:56px;
  }
  .where {
    grid-template-columns:1fr;
  }
  .wh {
    min-height:0;
  }
  .ev-ghost {
    font-size:120px;
    top:260px;
  }
  .car-view {
    height:420px;
    -webkit-mask-image:none;
    mask-image:none;
  }
  .car-track {
    --cw:180px;
    --aw:270px;
    --g:12px;
  }
  .ecard {
    height:260px;
  }
  .ecard.is-on {
    height:380px;
  }
  .e-name {
    font-size:15px;
  }
  .ecard.is-on .e-name {
    font-size:18px;
  }
  .cap {
    grid-template-columns:1fr;
  }
  .cap-t {
    font-size:19px;
  }
  .erow {
    grid-template-columns:64px minmax(0,1fr) 44px;
    gap:10px 14px;
    padding:12px;
  }
  .erow .e-cal {
    width:64px;
    height:64px;
  }
  .e-cal b {
    font-size:24px;
  }
  .e-t {
    font-size:15px;
  }
  .part {
    grid-template-columns:minmax(0,1fr);
  }
  .pt-h {
    font-size:52px;
  }
  .part .poster,
  .ph {
    min-height:440px;
  }
  .ct-ghost {
    font-size:120px;
  }
  .ctrl .ptabs {
    max-width:100%;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .ctrl .ptab {
    white-space:nowrap;
    padding:0 16px;
    flex:0 0 auto;
  }
  .m-h {
    font-size:40px !important;
  }
}

@media (max-width:560px) {
  .ev-h1 {
    font-size:44px;
  }
  .pt-h {
    font-size:40px;
  }
  .hero-stats {
    gap:32px;
  }
  .part .poster {
    padding:28px 20px;
  }
  .part .poster .wpill {
    white-space:nowrap;
    padding:0 28px;
  }
}

@property --nang {
  syntax:'<angle>';
  inherits:false;
  initial-value:0deg;
}

@keyframes nspin {
  to {
    --nang:360deg;
  }
}

.where .wh {
  isolation:isolate;
  border-color:rgba(120,160,255,0.24);
  box-shadow:0 0 0 1px rgba(80,120,255,0.06),0 0 30px -8px rgba(47,91,255,0.45),inset 0 0 36px -10px rgba(70,120,255,0.28);
  transition:box-shadow .5s cubic-bezier(.25,1,.5,1),border-color .5s !important;
}

.where .wh::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:conic-gradient(from var(--nang),transparent 0 58%,rgba(91,140,255,0.15) 64%,#5B8CFF 72%,#CFE0FF 76%,#5B8CFF 80%,rgba(91,140,255,0.15) 86%,transparent 92%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  pointer-events:none;
  animation:nspin 8s linear infinite !important;
  animation-delay:calc(var(--i, 0) * -2.6s) !important;
}

.where .wh::after {
  content:"";
  position:absolute;
  left:-25%;
  top:-55%;
  width:85%;
  height:115%;
  background:radial-gradient(closest-side,rgba(60,110,255,0.2),transparent);
  pointer-events:none;
  z-index:-1;
}

.where .wh-n {
  color:#93B3FF;
  text-shadow:0 0 18px rgba(79,124,255,0.6),0 0 2px rgba(190,212,255,0.5);
}

.where .wh svg.sp {
  filter:drop-shadow(0 0 6px #5B8CFF);
}

.where .wh:hover {
  border-color:rgba(140,180,255,0.42);
  box-shadow:0 0 0 1px rgba(110,150,255,0.18),0 0 46px -6px rgba(47,91,255,0.65),inset 0 0 44px -10px rgba(80,130,255,0.4);
}

.car-view {
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  container-type:inline-size;
}

.car-view[data-svs-run] {
  scroll-snap-type:none !important;
}

.car-view::-webkit-scrollbar {
  display:none;
}

.car-view .car-track {
  --cw3:300px;
  position:relative !important;
  left:auto !important;
  top:auto !important;
  bottom:auto !important;
  height:100%;
  width:max-content;
  transform:none !important;
  transition:none !important;
  padding:0 calc(50cqw - var(--cw3) / 2);
}

.car-view .ecard,
.car-view .ecard.is-on {
  flex:0 0 var(--cw3) !important;
  scroll-snap-align:center;
  transition:height .55s cubic-bezier(.25,1,.5,1),box-shadow .55s cubic-bezier(.25,1,.5,1),opacity .4s,transform .3s cubic-bezier(.25,1,.5,1) !important;
}

.car-view .ecard:not(.is-on):hover {
  transform:translateY(-6px);
}

.car-view .ecard .e-img {
  transition:filter .7s,transform 1.2s cubic-bezier(.16,1,.3,1) !important;
}

.car-view .ecard .e-plate {
  transition:background .5s,padding .5s !important;
}

.car-view .ecard:nth-child(2) {
  scroll-initial-target:nearest;
}

.ev-sec .rbtn[aria-disabled="true"] {
  opacity:.32 !important;
  cursor:default;
}

@media (max-width:960px) {
  .car-view .car-track {
    --cw3:230px;
  }
}
