/* conference.css — уникальные стили страницы промо-конференции
   (боковой рельс-навигация, постерный hero, интро с крупными буквами,
   программа дня, спикеры, стенды, детская анимация — всё, чего нет в base.css) */

/* fixed side rail nav */
.conf-rail {
  position: fixed;
  left: 26px;
  top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  z-index: 40;
  animation: conf-rail-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}
.conf-rail a:not(.conf-rail-logo) {
  position: relative;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.5;
  padding-bottom: 14px;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.conf-rail a:not(.conf-rail-logo):before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 0;
  background: var(--blue);
  transform: translateX(-50%);
  transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.conf-rail a:not(.conf-rail-logo):hover {
  opacity: 1;
  color: var(--blue);
}
.conf-rail a:not(.conf-rail-logo):hover:before {
  height: 10px;
}
.conf-rail a:not(.conf-rail-logo).active {
  opacity: 1;
  color: var(--navy);
}
.conf-rail a:not(.conf-rail-logo).active:before {
  height: 14px;
  background: var(--gold);
}
@keyframes conf-rail-in {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1320px) {
  .conf-rail {
    display: none;
  }
}

/* hero */
.conf-hero {
  padding: 64px 0 70px;
  position: relative;
}
.conf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  margin-top: 24px;
  position: relative;
}

/* staggered entrance for hero copy — each child reveals in sequence */
.conf-hero-info > .reveal {
  transition-duration: 0.75s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.conf-hero-info > *:nth-child(1) {
  transition-delay: 0.05s;
}
.conf-hero-info > *:nth-child(2) {
  transition-delay: 0.12s;
}
.conf-hero-info > *:nth-child(3) {
  transition-delay: 0.19s;
}
.conf-hero-info > *:nth-child(4) {
  transition-delay: 0.26s;
}
.conf-hero-info > *:nth-child(5) {
  transition-delay: 0.33s;
}
.conf-hero-info > *:nth-child(6) {
  transition-delay: 0.4s;
}
.conf-venue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--soft);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.conf-date {
  margin-top: 16px;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blue);
}
.conf-hero-info h1 {
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  color: var(--navy);
}
.conf-hero-info .lead {
  max-width: 480px;
}
.conf-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 22px;
}
.conf-cta {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  padding: 18px 32px;
  background: var(--navy);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  box-shadow: 0 16px 30px rgba(7, 29, 73, 0.28);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, box-shadow 0.25s ease;
}
.conf-cta:hover {
  background: #0d3f9f;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 38px rgba(7, 29, 73, 0.34);
}
.conf-cta-outline {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  padding: 17px 31px;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease;
}
.conf-cta-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
}
.info-strip {
  display: flex;
  gap: 18px 10px;
  flex-wrap: wrap;
}
.info-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 900;
  font-size: 13px;
  color: var(--navy);
  box-shadow: var(--soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.info-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* hero art panel */
.conf-art {
  position: relative;
  container-type: inline-size;
  min-height: 540px;
  border-radius: 44px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(10, 31, 77, 0.82) 0%, rgba(13, 63, 159, 0.6) 45%, rgba(10, 125, 219, 0.4) 78%, rgba(247, 201, 92, 0.3) 130%),
    url("/assets/img/hero-library.webp") center/cover no-repeat;
  box-shadow: var(--shadow);
  transition-duration: 0.9s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.conf-art.reveal {
  transform: translateY(28px) scale(0.96);
}
.conf-art.reveal.show {
  transform: none;
}
.conf-art-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.conf-year {
  position: absolute;
  top: 20px;
  right: 24px;
  max-width: calc(100% - 48px);
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 16cqw, 120px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.22);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  text-align: right;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  animation: conf-year-breathe 7s ease-in-out infinite;
  transform-origin: top right;
}
@keyframes conf-year-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.85;
  }
}
.conf-art-badge {
  position: absolute;
  background: #fff;
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  z-index: 2;
  animation: conf-float 5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.conf-art-badge:hover {
  box-shadow: 0 24px 44px rgba(7, 29, 73, 0.24);
  animation-play-state: paused;
}
@keyframes conf-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
.conf-art-badge b {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--navy);
  line-height: 1;
}
.conf-art-badge span {
  color: var(--muted);
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.conf-art-badge.one {
  left: 28px;
  top: 32px;
  transform: rotate(-4deg);
  animation-delay: 0s;
}
.conf-art-badge.two {
  right: 28px;
  top: 130px;
  transform: rotate(3deg);
  background: var(--gold2);
  animation-delay: 0.9s;
}
.conf-art-badge.three {
  left: 34px;
  bottom: 116px;
  transform: rotate(-2deg);
  animation-delay: 1.8s;
}
/* scroll cue */
.conf-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: -64px;
  transform: translateX(-50%);
  width: 30px;
  height: 46px;
  border: 2px solid rgba(7, 29, 73, 0.35);
  border-radius: 16px;
  display: none;
}
.conf-scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  animation: conf-scroll-dot 1.6s ease-in-out infinite;
}
@keyframes conf-scroll-dot {
  0% {
    top: 8px;
    opacity: 1;
  }
  70% {
    opacity: 0.4;
  }
  100% {
    top: 24px;
    opacity: 0;
  }
}
@media (min-width: 981px) {
  .conf-scroll-cue {
    display: block;
  }
}

/* intro (big-letter feature rows) */
.conf-intro {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}
.conf-intro-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.conf-intro-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 26px;
  max-width: 720px;
}
.conf-intro-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  margin-top: 2px;
}
.conf-intro-row h3 {
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 21px;
  color: var(--navy);
  margin: 10px 0 8px;
}
.conf-intro-row p {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.conf-intro-lead {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* organizers callout */
.conf-organizers {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding: 36px;
  background: linear-gradient(150deg, #0a1f4d 0%, #0d3f9f 55%, #0a7ddb 130%);
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.conf-organizers .label {
  display: block;
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
}
.organizers-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.organizer {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 24px;
  padding: 18px 22px;
  box-shadow: 0 16px 30px rgba(7, 29, 73, 0.28);
}
.organizer img {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  box-shadow: var(--soft);
}
.organizer b {
  display: block;
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 5px;
}
.organizer span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

/* section headings on this page — bold uppercase, matches the poster hero */
#program .head h2,
#speakers .head h2,
#stands .head h2,
#kids .head h2 {
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* schedule / timeline */
.schedule {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 8px 30px;
  box-shadow: var(--soft);
}
.slot {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.slot:last-child {
  border-bottom: none;
}
.slot .time {
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 900;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  color: var(--navy);
  white-space: nowrap;
}
.slot-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.slot-body b {
  color: var(--navy);
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.35;
}
.slot-topic {
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.4;
}
.slot-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.slot-tag.tag-break {
  background: var(--gold2);
  color: #7a5b06;
}
.slot-tag.tag-open,
.slot-tag.tag-close {
  background: var(--navy);
  color: #fff;
}
.slot-tag.tag-service {
  background: var(--mint);
  color: var(--green);
}
.slot:hover {
  background: rgba(17, 87, 217, 0.03);
  border-radius: 18px;
}

/* speakers */
.speakers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.speaker-card {
  flex: 1 1 250px;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--soft);
}
.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 268px;
}
.speaker-card .avatar {
  height: 84px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  overflow: hidden;
}
.speaker-card .avatar:not(.logo):not(.photo) {
  width: 84px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
}
.speaker-card .avatar.logo {
  width: fit-content;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
}
.speaker-card .avatar.logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.speaker-card .avatar.photo {
  width: 84px;
}
.speaker-card .avatar.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.speaker-card b {
  display: block;
  color: var(--navy);
  font-size: 14.5px;
  margin-bottom: 6px;
}
.speaker-card span {
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.4;
}

/* speakers/partners group labels */
.group-label {
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 18px;
}
.speakers-grid + .group-label {
  margin-top: 48px;
}

/* partners — stand-only tiles, visually lighter than speaker cards */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.partner-tile {
  flex: 1 1 230px;
  flex-shrink: 0;
  max-width: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.partner-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft);
}
.partner-tile img {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}
.partner-tile b {
  color: var(--navy);
  font-weight: 900;
  font-size: 12.5px;
  line-height: 1.3;
}
.partner-tile span {
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
}
.partner-tile .logo-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  background: #14141a;
}
.partner-tile .logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* benefit pills / plain-text stand chips */
.stands-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.stands-grid span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 900;
  font-size: 13.5px;
  color: var(--navy);
  box-shadow: var(--soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stands-grid span:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* kids program */
.kids-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.kids-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  text-align: center;
  box-shadow: var(--soft);
}
.kids-item .ico {
  font-size: 30px;
  margin-bottom: 10px;
}
.kids-item b {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 4px;
}
.kids-item span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 980px) {
  .conf-hero-grid {
    grid-template-columns: 1fr;
  }
  .conf-art {
    min-height: 360px;
  }
  .conf-art-badge {
    padding: 10px 14px;
  }
  .conf-art-badge b {
    font-size: 21px;
  }
  .slot {
    grid-template-columns: 118px 1fr;
  }
  .kids-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .kids-grid {
    grid-template-columns: 1fr;
  }
  .conf-hero-info h1 {
    font-size: 34px;
  }
  .conf-intro-row h3 {
    font-size: 17px;
  }
  .conf-intro-row {
    gap: 16px;
  }
  .slot {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .schedule {
    padding: 6px 18px;
  }
}
