@charset "UTF-8";
/* ───── Brand tokens ───── */
:root {
  --navy:#1e5a7e;
  --green:#219330;
  --red:#ea534b;
  --violet:#5252c2;
  --sky:#8bd1e8;
  --rose:#d481a1;
  --yellow:#f5bf18;
  --peach:#ffde73;
  --bg-lilac:#e8deed;
  --bg-pink:#f6b6b8;
  --bg-deep:#1f4d42;
  --ink:#101418;
  --ink-2:#3a4250;
  --paper:#fbf8f3;
  --paper-2:#f3ede2;
  --line:rgba(16,20,24,.12);
  --line-2:rgba(16,20,24,.06);
  --r-sm:10px;
  --r-md:18px;
  --r-lg:28px;
  --r-xl:42px;
  --shadow-soft: 0 1px 2px rgba(16,20,24,.04), 0 8px 28px rgba(16,20,24,.06);
  --shadow-pop: 0 2px 4px rgba(16,20,24,.06), 0 24px 60px -10px rgba(16,20,24,.18);
  --max:1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

::selection {
  background: var(--red);
  color: #fff;
}

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

/* ───── Reveal on scroll ───── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.4s; }
.reveal.delay-6 { transition-delay: 0.48s; }

/* ───── Top nav (sticky) ───── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
  background: #5252C2;
}
.nav.scrolled {
  background: rgba(82, 82, 194, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
  padding: 12px var(--gutter);
}
@media (max-width: 820px) {
  .nav.scrolled {
    padding-bottom: 32px;
  }
}
.nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  position: relative;
}
.nav .logo img {
  height: 64px;
  display: block;
}
.nav .logo.open .logo-subtitle {
  color: #E2E33C;
}
.nav .logo.open .logo-subtitle:before {
  background-color: #E2E33C;
}
.nav .logo-subtitle {
  font-family: "Oswald", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.665rem;
  line-height: 120%;
  text-transform: uppercase;
  color: #E2E33C;
  position: absolute;
  left: calc(100% + 32px);
  white-space: nowrap;
}
.nav .logo-subtitle:before {
  content: "";
  display: block;
  height: 100%;
  width: 4px;
  border-radius: 16px;
  background-color: #E2E33C;
  position: absolute;
  top: 0;
  left: -16px;
}
.nav .logo-subtitle r {
  color: #E8DEED;
  font-size: 1.665rem;
}
@media (max-width: 820px) {
  .nav .logo-subtitle {
    left: 0;
    top: calc(100% + 8px);
    font-size: 14px;
  }
  .nav .logo-subtitle br {
    display: none;
  }
  .nav .logo-subtitle:before {
    display: none;
  }
  .nav .logo-subtitle r {
    font-size: 14px;
  }
}
.nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav .burger {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #E2E33C;
  color: #5252C2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.25s;
}
.nav .burger:hover {
  background: #E8DEED;
}
.nav .burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: #5252C2;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.6, 0.1, 0.3, 1.2), top 0.25s ease, opacity 0.2s;
}
.nav .burger span:nth-child(1) { top: 16px; }
.nav .burger span:nth-child(2) { top: 22px; }
.nav .burger span:nth-child(3) { top: 28px; }
.nav .burger.open span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}
.nav .burger.open span:nth-child(2) {
  opacity: 0;
}
.nav .burger.open span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.ticket-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #E8DEED;
  color: #5252C2;
  padding: 14.5px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px -4px rgba(234, 83, 75, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s;
}
.ticket-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(234, 83, 75, 0.6);
}
.ticket-btn:hover .arr {
  transform: translateX(4px);
}
.ticket-btn:active {
  transform: translateY(0);
}
.ticket-btn .arr {
  transition: transform 0.25s;
}

.register-button {
  padding:30px;
  border: 2px solid #FFDE73;
  border-radius: 16px;
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  text-decoration: none;
  color: #FFDE73;
  margin-top: 20px;
}

/* ───── Menu panel ───── */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: #5252C2;
  color: #fff;
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.7, 0.05, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.menu-panel.open {
  transform: translateY(0);
}
.menu-panel.open a {
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.menu-panel.open li:nth-child(1) a { transition-delay: 0.18s; }
.menu-panel.open li:nth-child(2) a { transition-delay: 0.24s; }
.menu-panel.open li:nth-child(3) a { transition-delay: 0.3s; }
.menu-panel.open li:nth-child(4) a { transition-delay: 0.36s; }
.menu-panel.open li:nth-child(5) a { transition-delay: 0.42s; }
.menu-panel.open li:nth-child(6) a { transition-delay: 0.48s; }
.menu-panel.open li:nth-child(7) a { transition-delay: 0.54s; }
.menu-panel ol {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 110px var(--gutter) 40px;
  flex-grow: 1;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.menu-panel ol::-webkit-scrollbar {
  display: none;
}
.menu-panel ol li {
  overflow: hidden;
  min-height: 100.2px;
}
.menu-panel ol a {
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 0;
  transition: color 0.25s, transform 0.25s;
  transform: translateY(110%);
}
.menu-panel ol a .num {
  font-size: 14px;
  font-family: "JetBrains Mono", monospace;
  opacity: 0.5;
}
.menu-panel ol a:hover {
  color: var(--peach);
  transform: translateX(10px);
}
.menu-panel .menu-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px var(--gutter) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ───── HERO ───── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px var(--gutter) 80px;
  overflow: hidden;
  background: #5252C2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(16, 20, 24, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(16, 20, 24, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
}

/* Floating placeholder objects */
.float {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 14px;
  box-shadow: var(--shadow-pop);
  will-change: transform;
  animation: floaty 9s ease-in-out infinite;
}
.float img {
  position: relative;
  display: block;
  z-index: 1;
}
@media (max-width: 680px) {
  .float {
    display: none;
  }
}

.float.a {
  width: 35vw;
  height: 35vw;
  right: 14%;
  top: 16%;
  background: radial-gradient(circle at 30% 30%, #E8DEED, #E2E33C); 
  animation-delay: -1s; 
}
.float.a:before {
  content: "";
  position: absolute;
  background-color: #5252C2;
  border-radius: 50%;
  top: 4%;
  left: 4%;
  width: 92%;
  height: 92%;
  display: block;
}
.float.a img {
  left: 175px;
  top: -20px;
  transform: scale(1.4);
}

.float.b {
  width: 190px;
  height: 190px;
  left: 45%;
  top: 70%;
  background: #E8DEED;
  animation-delay: -3s;
}
.float.b:before {
  content: "";
  position: absolute;
  background-color: #5252C2;
  border-radius: 50%;
  top: 10%;
  left: 10%;
  width: 82%;
  height: 82%;
  display: block;
}
.float.b img {
  left: -57px;
  top: -70px;
  transform: scale(1.2);
}

.float.c {
  width: 163px;
  height: 163px;
  right: 2%;
  bottom: 12%;
  background: #E2E33C;
  animation-delay: -5s;
}
.float.c:before {
  content: "";
  position: absolute;
  background-color: #5252C2;
  border-radius: 50%;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  display: block;
}
.float.c img {
  left: -79px;
  top: -7px;
  transform: scale(2);
}

.float.d {
  width: 72px;
  height: 72px;
  left: 56%;
  top: 7%;
  background: #219330;
  animation-delay: -2s;
  color: rgba(0, 0, 0, 0.6);
  font-size: 9px;
  z-index: 1000;
}
.float.d:before {
  content: "";
  position: absolute;
  background-color: #5252C2;
  border-radius: 50%;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  display: block;
}
.float.d img {
  left: -35px;
  top: -10px;
  transform: scale(2);
}

@keyframes floaty {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
  50% {
    transform: translate3d(0, -22px, 0) rotate(4deg);
  }
}
.float[data-parallax] {
  transition: transform 0.1s linear;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 40px;
  color: #E8DEED;
}

.hero h1 {
  font-size: clamp(50px, 7vw, 80px);
  max-width: 60vw;
  line-height: 120%;
  text-transform: uppercase;
}
@media (max-width: 960px) {
  .hero h1 {
    max-width: 100%;
  }
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: #FFFFFF;
  max-width: 640px;
  line-height: 1.45;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.meta-list .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-list .item .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #E8DEED;
  font-weight: 500;
}
.meta-list .item .val {
  font-family: "Oswald", sans-serif;
  font-size: 32px;
}

/* ───── Section heading ───── */
.sec {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}

.sec-head {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}
.about-sec05 {
  max-width:450px;
  color:var(--ink-2);
  font-size:15px;
  line-height:1.55;
}

@media (min-width: 300px) and (max-width: 768px) {
  .about-sec05 {
  max-width:300px;
}
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--ink-2);
}

.yellownumber {
  color: #E2E33C;
}
.yellownumber::before {
  background: #E2E33C;
}

.sec h2 {
  font-size: clamp(40px, 5.4vw, 82px);
  line-height: 1.1;
  text-transform: uppercase;
}
.sec h2 .alt {
  font-family: "Oswald";
  font-weight: 400;
  color: var(--red);
}

/* ───── About + counters ───── */
.about {
  background: var(--green);
  color: #f3ede2;
}

.about .eyebrow {
  color: rgba(243, 237, 226, 0.7);
}
.about .eyebrow:before {
  background: rgba(243, 237, 226, 0.7);
}

.about .sec-head {
  margin-bottom: 32px;
}

.about h2 img {
  height: 96px;
}
@media (min-width: 740px) {
  .about h2 img {
    height: 160px;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: flex-start;
}

.about-grid p {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--paper);
  max-width: 700px;
}

.yellow-tags {
  display: flex;
  max-width: 700px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 17px;
}

.yellow-tags p {
  border: 1px solid #F5BF18;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 19px;
  flex: 1 1 auto;
  text-align: center;
  margin: 0 5px;
}

@media (min-width: 300px) and (max-width: 768px) {
  .yellow-tags {
    justify-content: center;
    row-gap: 17px;
    text-align: center;
  }
}

.about-card {
  border-radius: var(--r-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.about-card .gallery {
  aspect-ratio: 1/1;
  width: 100%;
}

.stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-2);
  border-bottom: 1px solid var(--paper-2);
}

.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.stat:last-child {
  border-right: 0;
}

.stat .num {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  justify-content: center;
}

.stat .num .plus {
  font-size: 0.45em;
  color: var(--yellow);
  margin-top: 0.5em;
}

.stat:nth-child(1) .num,
.stat:nth-child(2) .num,
.stat:nth-child(3) .num,
.stat:nth-child(4) .num {
  color: var(--yellow);
}

.stat .lbl {
  font-size: 14px;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

/* ───── Slider "На фесте вас ждёт" ───── */
.await-sec {
  background: var(--paper-2);
}

.slider-wrap {
  position: relative;
  padding-left: 50px;
}
@media (min-width: 300px) and (max-width: 768px) {
  .slider-wrap {
  padding-left: 20px;
}
}

.slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

.slider::-webkit-scrollbar {
  display: none;
}

.scard {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line-2);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
  min-height: 460px;
  cursor: pointer;
}

.scard:hover {
  border-color: var(--ink);
}

.scard img {
  aspect-ratio: 4/3;
  width: 100%;
  border-radius: var(--r-md);
  object-position: center;
  object-fit: cover;
}

.scard .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-2);
}

.scard h3 {
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}

.scard p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}

.slider-controls {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
  align-items: center;
}

.slider-progress {
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-right: 24px;
  overflow: hidden;
}

.slider-progress > i {
  display: block;
  height: 100%;
  background: var(--ink);
  width: 20%;
  transition: width 0.25s ease, transform 0.25s ease;
}

.arrow-btn {
  width: 54px;
  height: 54px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.arrow-btn:hover {
  background: var(--ink);
  color: #fff;
}

.arrow-btn:active {
  transform: scale(0.94);
}

/* ───── Программа ───── */
.prog {
  background: var(--paper);
}

.day-tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.day-tab {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 14px 26px;
  border-radius: 999px;
  font-family: "Oswald";
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}

.day-tab[aria-selected=true] {
  background: var(--ink);
  color: #fff;
}

.zone-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.zone-tab {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
  color: var(--ink-2);
}

.zone-tab:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.zone-tab[aria-selected=true] {
  background: var(--ink);
  color: #fff;
}

.events {
  display: flex;
  flex-direction: column;
}

.event {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: 28px;
  align-items: start;
  cursor: pointer;
  transition: padding 0.25s;
  row-gap: 5px;
}
.event:hover {
  background: linear-gradient(90deg, rgba(234, 83, 75, 0.04), transparent);
}

.event .time {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--ink-2);
}

.event .title-block h4 {
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

.event .speaker {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 9px;
}

.event .aboutevent {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 9px;
}

.event .tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.event .plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s, background 0.25s, color 0.25s;
  font-size: 20px;
  margin-top: 10px;
}

.event[aria-expanded=true] .plus {
  transform: rotate(45deg);
}

.event-detail {
  grid-column: 1/-1;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), margin-top 0.35s;
}

.event[aria-expanded=true] .event-detail {
  max-height: 620px;
}

.event-detail-inner {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
  margin-left: 135px;
}

.prog-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-inner .download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
  color: #E2E33C;
  font-size: 14px;
  border: 1px solid #E2E33C;
  box-shadow: none;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
  background: #EA534B;
  color: #fff;
  font-size: 14px;
  box-shadow: 0px 6px 18px rgba(234, 83, 75, 0.55);
}

.download-btn:hover {
  color: #E8DEED;
}
 
.favorite-tags {
  background: #5252C2;
  padding: 120px 0px;
}

.favorite-tags h2 {
  color: #E8DEED;
}

.favorite-tags h2 .alt {
  color: #E2E33C;
}

.colortags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 21px;
}

.colortags p {
  padding: 10px 20px;
  margin: 0;
  white-space: nowrap;
  color: #5252C2;
  border-radius: 16px;
  font-size: 24px;
  font-family: 'Oswald';
  transition: all 0.3s ease;
  flex: 1 1 auto;
  text-align: center;
}

@media (max-width: 680px) {
  .colortags p {
    font-size: 13px;
    padding: 10px 5px;
  }
}

.row-1 p:nth-child(odd),
.row-2 p:nth-child(even),
.row-3 p:nth-child(odd) {
  background: #E8DEED;
  animation: colorShiftPurple 3s ease-in-out infinite;
}

.row-1 p:nth-child(even),
.row-2 p:nth-child(odd),
.row-3 p:nth-child(even) {
  background: #E2E33C;
  animation: colorShiftYellow 3s ease-in-out infinite;
}

@keyframes colorShiftPurple {
  0%, 100% {
    background: #E8DEED;
    box-shadow: 0 0 10px rgba(232, 222, 237, 0.2);
  }
  50% {
    background: #D5C4E0;
    box-shadow: 0 0 35px rgba(232, 222, 237, 0.5), 0 0 60px rgba(232, 222, 237, 0.15);
    transform: scale(1.02);
  }
}

@keyframes colorShiftYellow {
  0%, 100% {
    background: #E2E33C;
    box-shadow: 0 0 10px rgba(226, 227, 60, 0.2);
  }
  50% {
    background: #D4D52A;
    box-shadow: 0 0 35px rgba(226, 227, 60, 0.5), 0 0 60px rgba(226, 227, 60, 0.15);
    transform: scale(1.02);
  }
}
.colortags p:nth-child(1) { animation-delay: 0s; }
.colortags p:nth-child(3) { animation-delay: 0.6s; }
.colortags p:nth-child(5) { animation-delay: 1.2s; }
.colortags p:nth-child(2) { animation-delay: 0.3s; }
.colortags p:nth-child(4) { animation-delay: 0.9s; }
.colortags p:nth-child(6) { animation-delay: 1.5s; }

/* ───── Headliners ───── */
.head {
  background: var(--green);
  color: #f3ede2;
  overflow: visible;
}

.head .eyebrow {
  color: rgba(243, 237, 226, 0.7);
}

.head .eyebrow::before {
  background: rgba(243, 237, 226, 0.5);
}

.head-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.speaker-photo {
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c8a8d5, #735381);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.speaker-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.speaker-photo svg {
  width: 40%;
  opacity: 0.65;
}

.speaker-card:hover .speaker-photo {
  transform: scale(1.04);
}

.speaker-card h4 {
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
}

.speaker-card .role {
  font-size: 13px;
  color: #FFFFFF;
  display: block;
  line-height: 1.4;
  box-sizing: border-box;
  text-align: center;
}

/* ───── Tickets ───── */
.tix {
  background: var(--green);
}

.tix .eyebrow {
  color: rgba(243, 237, 226, 0.7);
}

.tix .eyebrow::before {
  background: rgba(243, 237, 226, 0.5);
}

/* ───── Map ───── */
.map-sec {
  background: var(--paper);
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.map-canvas {
  aspect-ratio: 1/1.05;
  background: var(--bg-deep);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.map-canvas iframe {
  width: 100%;
  height: 100%;
}

.map-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-info .row {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: baseline;
}

.map-info .row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.map-info .row .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}

.map-info .row .v {
  font-family: "Oswald";
  font-size: 22px;
  text-transform: uppercase;
}

.map-info .route {
  align-self: flex-start;
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transition: transform 0.25s, background 0.25s;
}

.map-info .route:hover {
  transform: translateY(-2px);
  background: var(--bg-deep);
}

/* ───── Partners ───── */
.partners {
  background: var(--paper-2);
}

/* Новая сетка партнёров — 4 в ряд */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.partners-grid .partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  min-height: 160px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  cursor: default;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.partners-grid .partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow-pop);
}

.partners-grid .partner-card img {
  width: 100%;
  height: 120px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 0;
  aspect-ratio: auto;
  display: block;
}

/* Планшет */
@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Мобильный */
@media (max-width: 680px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .partners-grid .partner-card {
    padding: 20px 14px;
    min-height: 110px;
  }
  .partners-grid .partner-card img {
    height: 70px;
    max-height: 70px;
  }
}

/* ───── Footer ───── */
footer {
  background: var(--bg-deep);
  color: #f3ede2;
  padding: 80px var(--gutter) 28px;
}
footer .logo img {
  display: block;
  height: 64px;
}
footer .foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.foot-top .brand h3 {
  font-size: clamp(40px, 5vw, 76px);
  text-transform: uppercase;
  margin-top: 24px;
  line-height: 0.95;
}

.foot-top .brand h3 .red {
  color: var(--red);
}

.foot-top .brand p {
  font-size: 16px;
  color: rgba(243, 237, 226, 0.7);
  margin-top: 16px;
  max-width: 340px;
  line-height: 1.5;
}

.foot-col h4 {
  font-size: 13px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  color: rgba(243, 237, 226, 0.5);
}

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.foot-col a:hover {
  color: var(--peach);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials .soc {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(243, 237, 226, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.socials .soc:hover {
  transform: translateY(-2px);
}
.socials .soc img {
  width: 24px;
  height: 24px;
}

.foot-bot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(243, 237, 226, 0.18);
  padding-top: 22px;
  font-size: 13px;
  color: rgba(243, 237, 226, 0.55);
}

/* ───── Галерея ───── */
.gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  width: 100%;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-controls {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
  margin: auto;
  margin-top: 20px;
}

.gallery-btn {
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: transparent;
  border: 2px solid #F5BF18;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  padding: 0;
  position: static;
  transform: none;
}

.gallery-btn:hover {
  background: rgba(245, 191, 24, 0.1);
}

.gallery-btn svg {
  width: 12px;
  height: 12px;
}

.gallery-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16, 20, 24, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}

.gallery-dot.active {
  background: #F5BF18;
  width: 24px;
  border-radius: 4px;
}

.about-card .gallery {
  aspect-ratio: 1/1;
  width: 100%;
  border: 1px solid #F5BF18;
}

/* Галерея спикеров */
.speakers-gallery-wrap {
  margin-top: 20px;
  position: relative;
  width: 100%;
  overflow: visible;
}

.speakers-gallery-wrap .gallery {
  aspect-ratio: auto;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0 5px;
}

.speakers-gallery-wrap .gallery-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
  padding: 10px 0;
}

.speakers-gallery-wrap .gallery-slide {
  flex: 0 0 calc(25% - 21px);
  min-width: calc(25% - 21px);
  max-width: calc(25% - 21px);
  box-sizing: border-box;
}

.speakers-gallery-wrap .gallery-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: transparent;
  border: 2px solid #F5BF18;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 10;
}

.speakers-gallery-wrap .gallery-btn:hover {
  background: rgba(245, 191, 24, 0.1);
  transform: translateY(-50%) scale(1.05);
}

.speakers-gallery-wrap .gallery-btn.prev {
  left: -80px;
}

.speakers-gallery-wrap .gallery-btn.next {
  right: -80px;
}

.head .wrap {
  position: relative;
  padding-left: 100px;
  padding-right: 100px;
  overflow: visible;
}

.spikers-footer {
  color: #FFDE73;
  font-size: 40px;
  font-family: 'Oswald';
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 120px;
  margin-bottom: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.spikers-footer p {
  text-align: center;
}

.spikers-footer svg {
  margin-top: 9px;
}

@media (max-width: 680px) {
  .spikers-footer {
    margin-top: 80px;
    font-size: 26px;
  }
}

/* ───── Responsive ───── */
@media (max-width: 1500px) { 
  .float.b {
  left: 52%;
  top: 73%;
}
.float.c {
    width: 145px;
    height: 145px;
    bottom: 23%;
}
}
@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(1), .stat:nth-child(2) {
    border-bottom: 1px solid var(--paper);
  }
  .for-grid {
    grid-template-columns: 1fr;
  }
  .head-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .map-grid {
    grid-template-columns: 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
  .event {
    grid-template-columns: 90px 1fr auto;
  }
  .event .tag {
    display: none;
  }
  .speakers-gallery-wrap .gallery-slide {
    flex: 0 0 calc(33.333% - 19px);
    min-width: calc(33.333% - 19px);
    max-width: calc(33.333% - 19px);
  }
  .speakers-gallery-wrap .gallery-track {
    gap: 20px;
  }
  .speakers-gallery-wrap .gallery-btn.prev {
    left: -40px;
  }
  .speakers-gallery-wrap .gallery-btn.next {
    right: -40px;
  }
  .head .wrap {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 18px;
  }
  .hero {
    padding-top: 120px;
  }
  .hero h1 {
    font-size: clamp(46px, 12vw, 80px);
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--paper);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .head-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .more-grid {
    grid-template-columns: 1fr;
  }
  .more-card {
    aspect-ratio: unset;
  }
  .foot-top {
    grid-template-columns: 1fr;
  }
  .scard {
    flex-basis: 84vw;
    min-height: auto;
  }
  .float.a {
    width: 110px;
    height: 110px;
  }
  .float.b {
    width: 80px;
    height: 80px;
  }
  .float.c {
    display: none;
  }
  .ticket-btn {
    padding: 12px 18px;
    font-size: 13px;
  }
  .menu-panel ol li {
    min-height: 48px;
  }
  .meta-list {
    gap: 20px;
  }
  .event-detail-inner {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .map-info .row {
    grid-template-columns: 110px 1fr;
  }
  footer .foot-top {
    grid-template-columns: 1fr;
  }
  .event .title-block h4 {
    font-size: 16px;
  }
  .event .plus {
    width: 24px;
    height: 24px;
    padding-bottom: 3px;
  }
  .speakers-gallery-wrap .gallery-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
  .speakers-gallery-wrap .gallery-track {
    gap: 20px;
  }
  .speakers-gallery-wrap .gallery-btn {
    width: 40px;
    height: 40px;
    top: 35%;
  }
  .speakers-gallery-wrap .gallery-btn.prev {
    left: -15px;
  }
  .speakers-gallery-wrap .gallery-btn.next {
    right: -15px;
  }
  .head .wrap {
    padding-left: 35px;
    padding-right: 35px;
  }
}

@media (max-width: 400px) {
  .spikers-footer svg {
    display: none;
  } 
  .spikers-footer {
    max-width: 260px;
    margin: auto;
    margin-top: 50px;
  }
  .speakers-gallery-wrap .gallery-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .speakers-gallery-wrap .gallery-btn.prev {
    left: 0;
  }
  .speakers-gallery-wrap .gallery-btn.next {
    right: 0;
  }
  .head .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 500px) {
  .for-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 0 20px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
  }
  .for-grid::-webkit-scrollbar {
    display: none;
  }
  .for-card {
    flex: 0 0 95%;
    min-width: 95%;
    scroll-snap-align: center;
  }
}

.speaker-more-btn {
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  color: #FFFFFF;
  padding: 0;
  text-decoration: underline;
  text-align: center;
  margin-top: -4px;
  transition: color 0.25s;
}

.speaker-more-btn:hover {
  color: #ffde73;
}

/* ───── Модальное окно ───── */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  flex-shrink: 0;
  position: relative;
}

.modal-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: #ddd;
}

.modal-content {
  background: #fff;
  width: 520px;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  color: #666;
}

.modal-close:hover {
  color: #000;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-body p {
  line-height: 140%;
}

.modal-body a {
  text-decoration: underline;
  color: var(--navy);
}

.modal-body img {
  display: block;
  border-radius: 256px;
  max-width: 340px;
  width: 100%;
  margin: 0 auto 24px;
}

.modal-body img.fs {
  width: 100%;
  max-width: unset;
  border-radius: 8px;
}

.modal-body .name {
  font-size: 22px;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  text-wrap: balance;
  text-align: center;
}

.modal-body .roles {
  font-size: 16px;
  text-align: center;
  margin-bottom: 24px;
}

.modal-body .prog {
  background: unset;
}

.modal-body .prog-title {
  text-transform: uppercase;
  text-align: center;
  background-color: rgba(204, 204, 204, 0.4);
  padding: 8px;
  border-radius: 8px;
}

.modal-body .prog-list__item {
  border-bottom: 1px solid #cccccc;
  padding: 24px 0;
}

.modal-body .prog-list__item:last-child {
  border-bottom: 0;
}

.modal-body .prog-list__item--header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.modal-body .prog-list__item--header b {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
}

.modal-body .prog-list__item--header b:first-child {
  background-color: rgba(212, 129, 161, 0.4);
}

.modal-body .prog-list__item--header b:last-child {
  background-color: rgba(245, 191, 24, 0.4);
}

.modal-body .prog-list__item--title {
  font-weight: bold;
  margin-bottom: 8px;
}

.modal-body .prog-list__item--speakers {
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  background-color: rgba(246, 182, 184, 0.4);
  line-height: 140%;
}

.modal-body .prog-list__item--content {
  font-size: 14px;
  margin-top: 12px;
  line-height: 140%;
}

@media (max-width: 520px) {
  .modal-content {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    height: 100%;
  }
  .modal-header::after {
    left: 16px;
    right: 16px;
  }
}

/* ── FAQ ── */
#tix .faqh2 {
 margin-top: 0;
  padding-top: 60px;
  color:#f3ede2;
}

.faq {
    margin-top: 24px;
}

.faq-item {
    display: block;
    position: relative;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    cursor: pointer;
    background: transparent;
}

.faq-item .title-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    margin: 0;
}

.faq .event .title-block h4 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFDE73;
}

.faq-item .plus {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #FFDE73;
    background: transparent;
    transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}

.faq-item .plus svg {
    width: 12px;
    height: 12px;
    display: block;
    transition: transform .3s ease;
}

.faq-item .plus svg path {
    fill: #FFDE73;
}

.faq-item[aria-expanded="true"] .plus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFDE73;
}

.faq-item[aria-expanded="true"] .plus svg {
    transform: rotate(90deg);
}

.faq-item .event-detail {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows .35s ease;
}

.faq-item .event-detail-inner {
    min-height: 0;
    overflow: hidden;
    margin-left: 0;
}

.faq-item .event-detail-inner > div {
    padding: 0 0 22px 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.55;
    color: #F3EDE2;
    max-width: 900px;
}

.faq-item[aria-expanded="true"] .event-detail {
    grid-template-rows: 1fr;
}