:root {
  --bg: #f4e4db;
  --bg-soft: #f2d7cb;
  --surface: #ffffff;
  --surface-soft: rgba(255,255,255,0.72);
  --surface-tint: rgba(255,255,255,0.14);
  --text: #123c78;
  --text-deep: #0f3266;
  --muted: #4f678f;
  --orange: #e1473d;
  --orange-dark: #c52b31;
  --orange-soft: #f16c61;
  --green: #2dbb3d;
  --green-dark: #1d982d;
  --line: rgba(18, 60, 120, 0.12);
  --shadow: 0 22px 54px rgba(70, 46, 27, 0.12);
  --shadow-strong: 0 30px 70px rgba(70, 46, 27, 0.2);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: inherit;
}
html {
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.65), transparent 35%),
    linear-gradient(180deg, #f7ece6 0%, #f2ddd3 52%, #efd1c6 100%);
  overflow-x: hidden;
}
body.modal-open {
  overflow: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
[v-cloak] { display: none; }

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

main section { padding: 48px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(15, 50, 102, 0.18) 0%, rgba(15, 50, 102, 0.08) 55%, rgba(15, 50, 102, 0) 100%);
  backdrop-filter: blur(8px);
  animation: navSlideIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.header-inner {
  display: flex;
  justify-content: center;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 12px 26px rgba(15, 50, 102, 0.12);
  color: var(--text-deep);
  font-size: clamp(0.64rem, 0.78vw, 0.82rem);
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover {
  transform: translateY(-2px);
  color: var(--orange);
  background: #fff;
}
.main-nav a.profile-nav-link {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #f05a24);
  box-shadow: 0 14px 28px rgba(225, 71, 61, 0.24);
}
.main-nav a.profile-nav-link:hover,
.main-nav a.profile-nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-dark), var(--orange-soft));
}
.mobile-menu-button,
.mobile-nav-panel {
  display: none;
}
.btn:hover { transform: translateY(-2px); }

.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
}
.hero-backdrop,
.hero-overlay,
.hero-foreground {
  position: absolute;
  inset: 0;
}
.hero-backdrop,
.hero-foreground {
  top: -48px;
  bottom: 0;
}
.hero-backdrop,
.hero-foreground {
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
}
.hero-backdrop img {
  width: 130%;
  height: 130%;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: center bottom;
  animation: heroBackdropIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-foreground {
  z-index: 1;
  pointer-events: none;
}
.hero-foreground img {
  width: 300%;
  height: auto;
  align-self: flex-end;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: center bottom;
  animation: heroForegroundIn 1.18s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 246, 241, 0.6) 0%, rgba(233, 82, 65, 0.12) 24%, rgba(197, 43, 49, 0.28) 60%, rgba(15, 50, 102, 0.16) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 42%, rgba(255,255,255,0.08) 100%);
  animation: heroOverlayIn 1.1s ease-out both;
}
.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) minmax(160px, 220px);
  gap: 24px;
  align-items: start;
  padding: 0 0 40px;
  margin-top: 70px;
}
.hero-content {
  color: #fff;
  max-width: 760px;
  margin: 0 auto;
  margin-top: 50px;
  text-align: center;
  padding-top: 0;
}
.partner-block,
.hero-topline,
.hero-title-block,
.hero-location,
.hero-subtitle,
.hero-actions,
.hero-socials {
  opacity: 0;
  will-change: opacity, transform;
}
.hero-layout.is-visible .partner-block {
  animation: heroItemIn 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
.hero-layout.is-visible .hero-topline {
  animation: heroItemIn 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}
.hero-layout.is-visible .hero-title-block {
  animation: heroTitleIn 0.94s cubic-bezier(0.18, 1, 0.32, 1) 0.4s both;
}
.hero-layout.is-visible .hero-location {
  animation: heroItemIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.54s both;
}
.hero-layout.is-visible .hero-subtitle {
  animation: heroItemIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.64s both;
}
.hero-layout.is-visible .hero-actions {
  animation: heroItemIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.74s both;
}
.hero-layout.is-visible .hero-socials {
  animation: heroItemIn 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.age-pill,
.countdown-card,
.event-tile,
.route-card,
.pickup-showcase,
.schedule-card,
.rule-card,
.faq-list,
.partners-shell,
.partner-cta,
.registration-card,
.kids-media {
  box-shadow: var(--shadow);
}
.age-pill,
.countdown-card,
.hero-socials {
  backdrop-filter: blur(8px);
}
.hero-side {
  padding-top: 6px;
}
.hero-side-left { justify-self: start; margin-top: 50px; }
.hero-side-right { justify-self: end; margin-top: 50px; }
.hero-topline {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.hero-date,
.hero-year {
  color: var(--text-deep);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 800;
  text-shadow: 0 8px 22px rgba(13, 38, 83, 0.45);
  letter-spacing: 0.03em;
}
.hero-date { text-align: left; }
.hero-year { text-align: right; }
.partner-block {
  width: 100%;
  max-width: 270px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
}
.partner-logo {
  max-width: 50px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(13, 38, 83, 0.26));
}
.partner-logo-alpha { max-width: 160px; }
.partner-logo-event {
  max-width: 80px;
}
.age-pill,
.hero-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.age-pill {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: transparent;
  color: var(--text-deep);
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: none;
  backdrop-filter: none;
}
.countdown-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.98);
  color: var(--text-deep);
  font-size: clamp(0.95rem, 1.7vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.countdown-icon {
  width: 22px;
  height: 22px;
}
.countdown-label,
.countdown-time {
  color: var(--text-deep);
}
.countdown-value {
  color: var(--orange);
}
.hero-title-block {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 36px;
  margin-bottom: 10px;
}
.hero-kicker {
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 0 rgba(15, 50, 102, 0.28), 0 14px 32px rgba(13, 38, 83, 0.24);
}
.hero h1 {
  width: min(100%, 760px);
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: clamp(2.4rem, 3.4vw, 3.95rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(15, 50, 102, 0.22), 0 10px 24px rgba(13, 38, 83, 0.2);
  text-align: center;
}
.hero h1 span {
  display: block;
  width: 100%;
  text-align: center;
}
.hero-location {
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  text-shadow: 0 8px 20px rgba(13, 38, 83, 0.4);
}
.hero-location img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.hero-location span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.hero-subtitle {
  max-width: 650px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.96);
  text-transform: lowercase;
}
.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.btn {
  min-height: 54px;
  padding: 0 26px;
  font-weight: 800;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  box-shadow: 0 16px 32px rgba(225,71,61,0.28);
}
.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
}
.btn-registration {
  min-height: 58px;
  padding: 0 30px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 18px 34px rgba(45, 187, 61, 0.32);
}
.btn-mini {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
  background: var(--orange);
  color: #fff;
}
.btn-accent {
  min-height: 52px;
  padding: 0 24px;
  background: var(--orange);
  color: #fff;
}
.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-socials a {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}
.hero-socials a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(15%) sepia(49%) saturate(1993%) hue-rotate(190deg) brightness(88%) contrast(95%);
}
.hero-socials a:hover { transform: translateY(-2px); }

.event-highlights {
  padding: 56px 0 30px;
}
.highlights-stats-card {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1744 / 262;
  overflow: visible;
  border-radius: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42%) minmax(0, 1fr);
  align-items: center;
  padding: 0 clamp(24px, 4%, 56px);
  margin-bottom: 34px;
  isolation: isolate;
}
.highlights-stats-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}
.highlights-stats-bg,
.highlights-stats-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.highlights-stats-bg {
  overflow: hidden;
  z-index: 0;
}
.highlights-stats-bg img {
  object-fit: cover;
  object-position: center center;
}
.highlights-stats-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  color: #fff;
  text-shadow: 0 8px 20px rgba(87, 31, 24, 0.18);
  padding: 0;
}
.highlights-stats-copy-left {
  grid-column: 1;
  justify-self: start;
  text-align: left;
  padding-right: 12px;
}
.highlights-stats-copy-right {
  grid-column: 3;
  justify-self: end;
  text-align: right;
  padding-left: 12px;
}
.highlights-stats-value,
.highlights-stats-label {
  font-style: italic;
  font-weight: 900;
  line-height: 0.94;
}
.highlights-stats-value {
  font-size: clamp(2.8rem, 6cqi, 5.4rem);
  letter-spacing: 0;
}
.highlights-stats-label {
  font-size: clamp(1.45rem, 3.1cqi, 2.75rem);
  margin-top: 6px;
}
.highlights-stats-figure {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  height: 129%;
  transform: translateX(-50%);
  pointer-events: none;
}
.highlights-stats-figure img {
  width: auto;
  height: 100%;
  max-width: none;
}
.highlights-days-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.highlights-day-card {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.highlights-day-card img {
  width: 100%;
  height: auto;
}
.event-highlights .highlights-stats-bg,
.event-highlights .highlights-stats-copy,
.event-highlights .highlights-stats-figure,
.event-highlights .highlights-day-card {
  opacity: 0;
  will-change: opacity, transform;
}
.event-highlights .highlights-stats-bg {
  transform: translateY(18px) scale(0.985);
  filter: none;
}
.event-highlights .highlights-stats-copy {
  transform: translateY(24px);
  filter: none;
}
.event-highlights .highlights-stats-figure {
  transform: translateX(-50%) translateY(32px) scale(0.92);
  transform-origin: center bottom;
  filter: none;
}
.event-highlights .highlights-day-card {
  transform: translateY(26px) scale(0.985);
  filter: none;
}
.event-highlights.reveal.is-visible .highlights-stats-bg {
  animation: highlightsPanelIn 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.event-highlights.reveal.is-visible .highlights-stats-figure {
  animation: highlightsFigureIn 1s cubic-bezier(0.18, 1, 0.32, 1) 0.22s both;
}
.event-highlights.reveal.is-visible .highlights-stats-copy-left {
  animation: heroItemIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}
.event-highlights.reveal.is-visible .highlights-stats-copy-right {
  animation: heroItemIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}
.event-highlights.reveal.is-visible .highlights-day-card:nth-child(1) {
  animation: highlightsCardIn 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.event-highlights.reveal.is-visible .highlights-day-card:nth-child(2) {
  animation: highlightsCardIn 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}
.section-head.left-align { align-items: start; }
.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.route-section .section-head,
.program-section .section-head {
  justify-content: flex-end;
  text-align: right;
}
.route-section .section-head > div,
.program-section .section-head > div {
  margin-left: auto;
}
.route-section .section-head h2,
.program-section .section-head h2 {
  color: #ff6422;
  letter-spacing: 0;
}
.program-section .section-head p {
  margin-left: auto;
  font-size: 0.72rem;
  line-height: 1.35;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}
h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text-deep);
}
.lifted {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.5);
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.event-tile {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(18, 60, 120, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.event-tile-media {
  aspect-ratio: 1.4 / 1;
  overflow: hidden;
}
.event-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-tile:hover img { transform: scale(1.06); }
.event-tile-body {
  min-height: 208px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 16px 18px;
}
.event-tile h3 {
  margin: 0 0 8px;
  color: var(--text-deep);
  font-size: 1.38rem;
  line-height: 1.08;
  text-transform: uppercase;
}
.event-tile p {
  margin: 0 0 16px;
  color: #172947;
  font-size: 0.98rem;
  line-height: 1.18;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  color: var(--orange);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.inline-link:hover { text-decoration: underline; }
.inline-link-pill {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f51f13, #f05a24);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 10px 20px rgba(225, 47, 29, 0.24);
}
.inline-link-pill:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.route-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.route-visual {
  position: relative;
  min-height: 520px;
}
.route-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.route-overlay-card {
  position: absolute;
  left: 26px;
  top: 26px;
  max-width: 360px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(225,71,61,0.95), rgba(241,108,97,0.86));
  color: #fff;
}
.route-title-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 800;
}
.route-overlay-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.route-overlay-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.dot.start { background: #0d4fcb; }
.dot.finish { background: #03264f; }
.dot.way { background: #fff; border: 2px solid rgba(0,0,0,0.15); }
.route-note-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
}
.route-note-row p { margin: 0; color: var(--muted); }

.pickup-section {
  padding-bottom: 170px;
}

.kids-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
}
.pickup-showcase,
.faq-list,
.registration-card,
.partners-shell,
.partner-cta,
.rule-card,
.schedule-card,
.kids-media,
.kids-copy {
  border-radius: var(--radius-xl);
}
.pickup-showcase {
  position: relative;
  height: 520px;
  min-height: 520px;
  overflow: visible;
  background: #102b50;
  border: 1px solid rgba(255,255,255,0.48);
}
.pickup-showcase-bg,
.pickup-showcase-gradient {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.pickup-showcase-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.55s ease;
}
.pickup-showcase-gradient {
  background:
    linear-gradient(90deg, rgba(13, 35, 70, 0.74) 0%, rgba(20, 51, 96, 0.52) 38%, rgba(235, 239, 246, 0.68) 100%),
    linear-gradient(180deg, rgba(15, 37, 74, 0.54) 0%, rgba(15, 37, 74, 0.1) 42%, rgba(15, 37, 74, 0.78) 100%);
}
.pickup-showcase-content {
  position: relative;
  z-index: 2;
  height: 520px;
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 36px 76px 148px;
  color: #fff;
}
.pickup-hero-copy {
  align-self: start;
  justify-self: center;
  max-width: 760px;
  text-align: center;
  text-shadow: 0 10px 26px rgba(10, 28, 60, 0.42);
}
.pickup-hero-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 4.4vw, 4.55rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}
.pickup-hero-schedule {
  display: grid;
  gap: 8px;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 800;
}
.pickup-hero-schedule div {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pickup-hero-description {
  max-width: 720px;
  align-self: start;
  justify-self: start;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 18px;
  text-shadow: 0 8px 22px rgba(10, 28, 60, 0.58);
}
.pickup-hero-description p {
  max-width: 620px;
  margin: 0 0 12px;
  line-height: 1.45;
}
.pickup-hero-description ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pickup-hero-description li {
  position: relative;
  padding-left: 24px;
}
.pickup-hero-description li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, #15c444, #41e061);
}
.pickup-hero-description li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 0.34em;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pickup-arrow {
  position: absolute;
  top: 47%;
  z-index: 4;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  background: rgba(12, 32, 65, 0.08);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.pickup-arrow:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(225, 71, 61, 0.9);
  border-color: #fff;
}
.pickup-arrow span {
  width: 15px;
  height: 15px;
  border: solid #fff;
  border-width: 0 4px 4px 0;
}
.pickup-arrow-prev { left: 18px; }
.pickup-arrow-next { right: 18px; }
.pickup-arrow-prev span { transform: translateX(3px) rotate(135deg); }
.pickup-arrow-next span { transform: translateX(-3px) rotate(-45deg); }
.pickup-place-list {
  --pickup-card-width: 310px;
  --pickup-card-height: 116px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -118px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, var(--pickup-card-width)));
  justify-content: center;
  align-items: stretch;
  gap: 12px 14px;
  padding: 0 18px 14px;
}
.pickup-place-card {
  width: var(--pickup-card-width);
  height: var(--pickup-card-height);
  min-height: var(--pickup-card-height);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(18, 60, 120, 0.12);
  background: rgba(255,255,255,0.96);
  color: var(--text-deep);
  box-shadow: 0 14px 30px rgba(32, 39, 56, 0.16);
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}
.pickup-place-card:hover,
.pickup-place-card:focus-visible {
  transform: translateY(-4px);
  outline: none;
}
.pickup-place-card.active {
  background: linear-gradient(135deg, #ff7a22 0%, #f05a24 48%, #e9473b 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.pickup-place-card:last-child:nth-child(4n + 1) {
  grid-column: auto;
  justify-self: stretch;
}
.pickup-place-icon {
  width: 34px;
  height: 36px;
  display: grid;
  place-items: center;
}
.pickup-place-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.pickup-place-body {
  min-width: 0;
  display: grid;
  gap: 2px;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
}
.pickup-place-body strong {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
  font-size: clamp(0.68rem, 1.35vw, 0.82rem);
  line-height: 1.06;
  font-weight: 900;
}
.pickup-place-location {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
  font-size: clamp(0.58rem, 1.05vw, 0.68rem);
  line-height: 1.15;
}
.pickup-place-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
}
.pickup-place-meta img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}
.pickup-place-card.active .pickup-place-meta img {
  filter: brightness(0) invert(1);
}
.pickup-2gis-link {
  width: 76px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  justify-self: end;
  flex-shrink: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}
.pickup-2gis-link:hover {
  transform: translateY(-1px);
}
.pickup-2gis-link.active {
  background: rgba(255,255,255,0.92);
}
.pickup-2gis-link img {
  width: 62px;
  height: auto;
  object-fit: contain;
}
.pickup-2gis-link.active img {
  filter: none;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.schedule-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 28px;
  background: rgba(255,255,255,0.84);
  border-radius: 8px;
}
.schedule-card header {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.day-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}
.schedule-card h3 {
  margin: 0;
  color: var(--text-deep);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  line-height: 0.95;
}
.schedule-list {
  display: grid;
  position: relative;
  z-index: 1;
  gap: 14px;
}
.schedule-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  min-height: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(18, 60, 120, 0.08);
  box-shadow: 0 14px 30px rgba(32, 39, 56, 0.08);
  transition:
    opacity 0.56s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}
.schedule-item:hover {
  transform: translateY(-7px);
  border-color: rgba(225, 71, 61, 0.18);
  box-shadow: 0 22px 42px rgba(32, 39, 56, 0.16);
  transition-delay: 0s !important;
  transition-duration: 0.14s;
}
.schedule-item strong {
  color: var(--orange);
  font-weight: 900;
  font-size: 1.02rem;
}
.schedule-item h4 {
  margin: 0 0 6px;
  color: var(--text-deep);
  font-size: 1.08rem;
  line-height: 1.12;
  text-transform: none;
}
.schedule-item p {
  margin: 0;
  color: var(--text-deep);
  font-size: 0.88rem;
  line-height: 1.35;
}
.schedule-item-placeholder {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  align-content: center;
}
.schedule-placeholder-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.schedule-placeholder-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.schedule-placeholder-copy h4 {
  margin: 0;
  color: var(--text-deep);
  font-size: 1.22rem;
  line-height: 1.12;
}
.saturday {
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.7)),
    linear-gradient(135deg, rgba(225,71,61,0.14), rgba(241,108,97,0.05));
}
.sunday {
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.7)),
    linear-gradient(135deg, rgba(197,43,49,0.1), rgba(241,108,97,0.1));
}
.highlightable:hover {
  border-color: rgba(225,71,61,0.25);
}
.program-section .schedule-item {
  opacity: 0;
  transform: translateX(-28px);
}
.program-section.reveal.is-visible .schedule-item {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}
.program-section.reveal:not(.is-visible) .saturday-list .schedule-item:nth-child(1) { transition-delay: 0.1s; }
.program-section.reveal:not(.is-visible) .saturday-list .schedule-item:nth-child(2) { transition-delay: 0.18s; }
.program-section.reveal:not(.is-visible) .saturday-list .schedule-item:nth-child(3) { transition-delay: 0.26s; }
.program-section.reveal:not(.is-visible) .sunday-list .schedule-item:nth-child(1) { transition-delay: 0.34s; }
.program-section.reveal:not(.is-visible) .sunday-list .schedule-item:nth-child(2) { transition-delay: 0.42s; }
.program-section.reveal:not(.is-visible) .sunday-list .schedule-item:nth-child(3) { transition-delay: 0.5s; }
.program-section.reveal:not(.is-visible) .sunday-list .schedule-item:nth-child(4) { transition-delay: 0.58s; }
.program-section.reveal:not(.is-visible) .sunday-list .schedule-item:nth-child(5) { transition-delay: 0.66s; }
.program-section.reveal:not(.is-visible) .sunday-list .schedule-item:nth-child(6) { transition-delay: 0.74s; }
.program-section.reveal.is-visible .schedule-item:hover {
  transform: translateY(-7px);
  transition-delay: 0s !important;
  transition-duration: 0.14s;
}

.kids-layout {
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
}
.kids-copy {
  padding: 24px 0;
}
.kids-copy p {
  margin: 14px 0 22px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 560px;
}
.check-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--orange);
  font-weight: 900;
}
.kids-media {
  overflow: hidden;
}
.kids-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.kids-shell {
  overflow: hidden;
}
.kids-heading-row {
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr);
  align-items: start;
  gap: 28px;
  margin-bottom: 28px;
}
.kids-heading-row h2 {
  color: var(--text-deep);
  font-size: clamp(2.75rem, 5.2vw, 4.55rem);
  letter-spacing: 0;
}
.kids-heading-row p {
  max-width: 640px;
  margin: 0;
  color: var(--text-deep);
  font-size: clamp(1.06rem, 1.7vw, 1.45rem);
  line-height: 1.1;
  font-weight: 500;
}
.kids-carousel-controls {
  display: flex;
  gap: 18px;
  margin: 0 0 18px 10px;
}
.kids-arrow {
  width: 26px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.kids-arrow span {
  width: 16px;
  height: 16px;
  border: solid #ff6422;
  border-width: 0 3px 3px 0;
  transform: rotate(135deg);
  transition: transform 0.16s ease;
}
.kids-arrow-next span {
  transform: rotate(-45deg);
}
.kids-arrow:hover span {
  transform: translateX(-2px) rotate(135deg);
}
.kids-arrow-next:hover span {
  transform: translateX(2px) rotate(-45deg);
}
.kids-stage {
  --kids-panel-width: 380px;
  position: relative;
  min-height: 300px;
  overflow: hidden;
}
.kids-stage::after {
  content: '';
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  height: 268px;
  width: calc(var(--kids-panel-width) + 230px);
  pointer-events: none;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(90deg, rgba(255, 91, 69, 1) 0%, rgba(255, 91, 69, 0.82) 54%, rgba(255, 91, 69, 0) 100%);
}
.kids-info-panel {
  position: absolute;
  left: 0;
  top: 0;
  height: 268px;
  z-index: 3;
  width: var(--kids-panel-width);
  padding: 24px 24px 64px;
  border-radius: 16px;
  background: transparent;
  color: #fff;
}
.kids-info-panel h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.08;
  text-transform: uppercase;
}
.kids-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kids-benefits li {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 16px;
  background: #fff;
  color: #ff6422;
  font-size: 0.82rem;
  line-height: 1.04;
  font-weight: 500;
}
.kids-benefits li:last-child {
  grid-column: 1;
}
.kids-wait-button {
  position: absolute;
  left: 0;
  bottom: -26px;
  z-index: 4;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  max-width: 268px;
  padding: 0 12px;
  border-radius: 0 12px 12px 0;
  background: #0bab1f;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 500;
  border-radius: 16px;
  text-transform: uppercase;
}
.kids-photo-row {
  --kids-photo-gap: 12px;
  --kids-photo-width: calc((100% - (var(--kids-photo-gap) * 2)) / 3);
  display: flex;
  gap: var(--kids-photo-gap);
  padding-left: 0;
  transform: translateX(0);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.kids-stage.no-transition .kids-photo-row {
  transition: none;
}
.kids-photo-card {
  flex: 0 0 var(--kids-photo-width);
  height: 268px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
}
.kids-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kids-stage.slide-prev .kids-photo-row {
  transform: translateX(0);
}
.kids-stage.slide-next.is-sliding .kids-photo-row {
  transform: translateX(0);
}
.kids-stage.slide-prev.is-sliding .kids-photo-row {
  transform: translateX(0);
}

.rules-section .section-head,
.rules-head {
  justify-content: flex-end;
  text-align: right;
}
.rules-section .section-head > div,
.rules-head > div {
  margin-left: auto;
}
.rules-section .section-head h2,
.rules-head h2 {
  color: #ff6422;
  letter-spacing: 0;
}
.rules-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 12px;
  min-height: 488px;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 117, 104, 0.62) 0%, rgba(255, 173, 138, 0.58) 48%, rgba(255, 223, 204, 0.28) 100%),
    url('images/rules_bg.png');
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.rules-intro {
  position: relative;
  z-index: 2;
  grid-column: 1;
  width: min(66.666%, 760px);
  max-width: none;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.96);
  color: var(--text-deep);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.1;
}
.rule-card {
  position: relative;
  z-index: 2;
  width: min(66.666%, 760px);
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  color: var(--text-deep);
  box-shadow: none;
}
.rule-card h3 {
  margin: 0 0 2px;
  font-size: 0.86rem;
  line-height: 1.12;
}
.rule-card ul {
  margin: 0;
  padding: 0 0 0 18px;
}
.rule-card li {
  color: var(--text-deep);
  line-height: 1.12;
  font-size: 0.86rem;
}
.rule-card p {
  margin: 0;
  color: var(--text-deep);
  font-size: 0.88rem;
  line-height: 1.12;
  font-weight: 800;
}
.rule-card strong {
  font-weight: 900;
}
.rule-card a {
  color: var(--orange-dark);
  font-weight: inherit;
  text-decoration: none;
}
.rule-card-start {
  grid-column: 1;
}
.rule-card-ride {
  grid-column: 1;
  align-self: start;
}
.rule-card-fall {
  grid-column: 1;
}
.rule-card-note {
  grid-column: 1;
  align-self: start;
  display: grid;
  gap: 2px;
}
.rules-dude {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: min(58%, 640px);
  max-height: 112%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.faq-head {
  margin-bottom: 22px;
}
.faq-head h2 {
  color: var(--text-deep);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 0.92;
  letter-spacing: 0;
}
.faq-board {
  min-height: 468px;
  padding: 28px 22px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 155, 151, 0.96) 0%, rgba(255, 169, 160, 0.76) 43%, rgba(255, 185, 172, 0.2) 72%),
    url('images/FAQ-bg.png');
  background-size: auto, 118% auto;
  background-position: center right;
  background-repeat: no-repeat;
}
.faq-list {
  width: min(54%, 660px);
  display: grid;
  gap: 14px;
}
.faq-item {
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 14px 30px rgba(32, 39, 56, 0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 18px 30px;
  background: none;
  border: 0;
  color: var(--text-deep);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}
.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: #ff6422;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  flex: none;
}
.faq-answer {
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  margin: 0;
  padding: 0 30px 18px;
  color: var(--text-deep);
  font-size: 0.86rem;
  line-height: 1.35;
}

.corporate-section {
  color: var(--text-deep);
}
.corporate-shell {
  display: grid;
  gap: 24px;
}
.corporate-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 1fr);
  align-items: start;
  gap: 28px;
}
.corporate-head h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3.35rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0;
}
.corporate-head p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  line-height: 1.08;
  font-weight: 500;
}
.corporate-subtitle,
.corporate-gallery-head h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.1;
}
.corporate-benefits {
  min-height: 300px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  padding: 48px 13% 42px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 155, 151, 0.78) 0%, rgba(255, 176, 162, 0.36) 48%, rgba(255,255,255,0.04) 100%),
    url('images/corporate-bg.png'),
    linear-gradient(135deg, rgba(255, 155, 151, 0.72), rgba(255,255,255,0.28));
  background-size: cover;
  background-position: center;
}
.corporate-benefit-card {
  min-height: 142px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 18px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 36px rgba(32, 39, 56, 0.16);
  text-align: center;
}
.corporate-benefit-card h4 {
  margin: 0 0 6px;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1;
}
.corporate-benefit-card p {
  margin: 0;
  color: var(--text-deep);
  font-size: 0.9rem;
  line-height: 1.12;
}
.corporate-gallery-head {
  display: grid;
  gap: 16px;
  align-items: end;
}
.corporate-join-button {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  background: #0bab1f;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}
.corporate-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.corporate-photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1.3 / 1;
  background: rgba(255,255,255,0.7);
}
.corporate-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.corporate-info-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
  align-items: center;
}
.corporate-info-card,
.corporate-date-card {
  padding: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 28px rgba(32, 39, 56, 0.08);
}
.corporate-info-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}
.corporate-info-card li::before {
  content: '✓ ';
}
.corporate-date-card {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.partners-shell {
  padding: 28px;
  background: rgba(255,255,255,0.84);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.partner-group.featured {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partner-group.featured .partner-group-label {
  text-align: center;
}
.partner-group-label {
  display: block;
  text-align: center;
}
.partners-head {
  justify-content: flex-end;
  text-align: right;
}
.partners-head > div {
  margin-left: auto;
}
.partners-head h2 {
  color: #ff6422;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}
.partner-group-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-deep);
  font-weight: 800;
  text-transform: uppercase;
}
.partner-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.partner-group.featured .partner-row {
  width: 100%;
  display: flex;
  justify-content: center;
  justify-items: center;
}
.partner-row.many {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.partner-row.support-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.partner-logo-card {
  min-height: 98px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.logo-image-card {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(18,60,120,0.08);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.logo-image-card:hover,
.logo-image-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 100, 34, 0.28);
  box-shadow: 0 18px 34px rgba(32, 39, 56, 0.12);
  outline: none;
}
.logo-image-card img {
  width: 100%;
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}
.featured-logo {
  min-height: 132px;
  width: min(100%, 420px);
  justify-self: center;
}
.featured-logo img {
  max-width: 240px;
  max-height: 96px;
}
.partner-info-modal {
  position: fixed;
  inset: 0;
  z-index: 510;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 23, 50, 0.58);
  backdrop-filter: blur(12px);
}
.partner-info-card {
  position: relative;
  width: min(100%, 620px);
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  color: var(--text-deep);
  box-shadow: 0 32px 80px rgba(7, 23, 50, 0.28);
}
.partner-info-logo {
  min-height: 118px;
  display: grid;
  place-items: center;
  margin: 0 46px 18px 0;
  padding: 20px;
  border-radius: 16px;
  background: rgba(18,60,120,0.04);
}
.partner-info-logo img {
  max-width: 240px;
  max-height: 86px;
  object-fit: contain;
}
.partner-info-card h2 {
  margin: 0 46px 18px 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}
.partner-info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}
.partner-info-list div {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(18,60,120,0.05);
}
.partner-info-list dt {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.partner-info-list dd {
  margin: 0;
  color: var(--text-deep);
  font-weight: 700;
  line-height: 1.35;
}
.logo-accent {
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  color: #fff;
}
.muted {
  background: rgba(18,60,120,0.08);
  color: rgba(18,60,120,0.55);
}
.partner-cta,
.registration-card,
.support-card {
  margin-top: 22px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,0.84);
}
.partner-cta {
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
}
.partner-cta h3 {
  color: var(--text-deep);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}
.partner-cta .btn-accent {
  min-height: 56px;
  padding: 0 28px;
  background: linear-gradient(135deg, #ed1616 0%, #ff2f17 48%, #ff7624 100%);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(237, 22, 22, 0.22);
  text-transform: uppercase;
}
.partner-cta .btn-accent::after {
  content: '›';
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-left: 8px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
}
.partner-cta h3,
.registration-card h2,
.support-card h2 { margin: 0 0 8px; }
.partner-cta p,
.registration-card p,
.support-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.support-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 54%, rgba(255, 221, 207, 0.82) 100%);
  border: 1px solid rgba(255,255,255,0.72);
}
.support-card::before {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 100, 34, 0.12);
  pointer-events: none;
}
.support-card > * {
  position: relative;
  z-index: 1;
}
.support-card .btn-primary {
  background: linear-gradient(135deg, #0bab1f, #2dbb3d);
  border-radius: 16px;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(11, 171, 31, 0.22);
}
.registration-cta {
  display: flex;
  justify-content: center;
}
.btn-register-cta {
  min-height: 64px;
  padding: 0 42px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0bab1f 0%, #2dbb3d 52%, #41e061 100%);
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 22px 42px rgba(11, 171, 31, 0.24);
}
.volunteer-head {
  justify-content: flex-end;
  text-align: right;
}
.volunteer-head > div {
  margin-left: auto;
}
.volunteer-head h2 {
  color: #ff6422;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 0.9;
  letter-spacing: 0;
}
.volunteer-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 12px;
  align-items: start;
}
.volunteer-photo-card {
  position: relative;
  min-height: 186px;
  overflow: visible;
  border-radius: 18px;
  background: #f47a4f;
}
.volunteer-photo-card img,
.volunteer-photo-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.volunteer-photo-card img {
  object-fit: cover;
}
.volunteer-photo-overlay {
  display: none;
}
.volunteer-photo-card p {
  position: relative;
  z-index: 1;
  width: min(66%, 620px);
  margin: 0 0 0 auto;
  padding: 26px 34px 54px;
  color: #fff;
  font-size: clamp(1.2rem, 2.3vw, 1.82rem);
  line-height: 0.98;
  font-weight: 500;
  text-shadow: 0 10px 24px rgba(13, 38, 83, 0.22);
}
.volunteer-button {
  position: absolute;
  right: 0;
  bottom: -18px;
  z-index: 2;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 18px;
  background: #0bab1f;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(11, 171, 31, 0.22);
}
.volunteer-benefits {
  min-height: 306px;
  padding: 24px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
}
.volunteer-benefits h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
}
.volunteer-benefits ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.volunteer-benefits li {
  position: relative;
  padding-left: 22px;
  color: var(--text-deep);
  line-height: 1.35;
  font-weight: 400;
}
.volunteer-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-deep);
  font-weight: 900;
}
.registration-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 23, 50, 0.58);
  backdrop-filter: blur(12px);
}
.registration-modal-card {
  position: relative;
  width: min(100%, 760px);
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  color: var(--text-deep);
  box-shadow: 0 32px 80px rgba(7, 23, 50, 0.28);
}
.registration-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(18,60,120,0.08);
  color: var(--text-deep);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.registration-modal-head h2 {
  margin: 0 48px 8px 0;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  line-height: 1;
}
.registration-modal-head p {
  margin: 0 0 22px;
  color: var(--muted);
}
.registration-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.registration-choice {
  min-height: 174px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  font-size: 1.14rem;
  font-weight: 900;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.registration-choice:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(7, 23, 50, 0.16);
}
.registration-choice img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.registration-choice.vk { background: linear-gradient(135deg, #2787f5, #1269c7); }
.registration-choice.telegram { background: linear-gradient(135deg, #2aabee, #1686c7); }
.registration-choice.site { background: linear-gradient(135deg, var(--orange), var(--orange-soft)); }
.registration-choice-site-icon {
  min-width: 64px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.2);
  font-size: 1.05rem;
}
.site-footer {
  padding: 48px 0 0;
}
.footer-shell {
  position: relative;
  width: 100%;
  min-height: 500px;
  padding: 38px 22px 18px;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7ece6 0%, rgba(247, 236, 230, 0.78) 36%, rgba(247, 236, 230, 0.08) 100%),
    url('images/footer.png');
  background-size: cover;
  background-position: center bottom;
  color: var(--text-deep);
  box-shadow: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-around;
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.footer-column {
  display: grid;
  align-content: start;
  width: fit-content;
  min-width: 150px;
  gap: 8px;
  padding: 14px 14px 16px;
  border: 1.5px solid var(--text-deep);
  border-radius: 12px;
  background: rgba(250, 232, 221, 0.72);
}
.footer-column h3,
.footer-column h4 {
  margin: 0 0 8px;
  color: var(--text-deep);
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
}
.footer-brand h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
}
.footer-column p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-deep);
}
.footer-column a {
  color: var(--text-deep);
  width: fit-content;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-column a:hover {
  color: var(--orange-dark);
  text-decoration: underline;
}
.footer-social-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.footer-partner-logo {
  width: 78px;
  height: auto;
}
.footer-social-row a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text-deep);
}
.footer-social-row a img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-bottom {
  position: absolute;
  left: 22px;
  bottom: 16px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-deep);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-page {
  min-height: 100vh;
}
.profile-header {
  background: linear-gradient(180deg, rgba(15, 50, 102, 0.22) 0%, rgba(15, 50, 102, 0.08) 100%);
}
.profile-main {
  min-height: 100vh;
  padding-top: 104px;
}
.profile-hero {
  min-height: calc(100vh - 104px);
  padding: 56px 0 82px;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: 30px;
  align-items: start;
}
.profile-copy {
  position: sticky;
  top: 126px;
  padding: 28px 0;
}
.profile-copy h1 {
  margin: 0;
  color: var(--text-deep);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.profile-copy p {
  max-width: 460px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}
.profile-hint {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.profile-panel {
  width: 100%;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
}
.profile-loader {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}
.profile-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.profile-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  letter-spacing: 0;
}
.profile-logout {
  color: var(--text-deep);
  background: rgba(18, 60, 120, 0.08);
  border: 1px solid rgba(18, 60, 120, 0.12);
}
.profile-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.profile-detail {
  min-height: 96px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(18, 60, 120, 0.06);
  display: grid;
  align-content: center;
  gap: 8px;
}
.profile-detail span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}
.profile-detail strong {
  min-width: 0;
  color: var(--text-deep);
  overflow-wrap: anywhere;
}
.profile-block {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.profile-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.profile-block-head h3 {
  margin: 0;
  color: var(--text-deep);
  font-size: 1.45rem;
}
.profile-text-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(18, 60, 120, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--text-deep);
  font-weight: 900;
  cursor: pointer;
}
.profile-actions-row,
.family-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-form.compact {
  padding: 16px;
  border: 1px solid rgba(18, 60, 120, 0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
}
.family-list {
  display: grid;
  gap: 10px;
}
.family-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(18, 60, 120, 0.09);
}
.family-card div:first-child {
  display: grid;
  gap: 5px;
}
.family-card strong {
  color: var(--text-deep);
}
.family-card span,
.profile-event-people {
  color: var(--muted);
}
.family-card-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(18, 60, 120, 0.12);
  border-radius: 999px;
  background: rgba(18, 60, 120, 0.06);
  color: var(--text-deep);
  font-weight: 800;
  cursor: pointer;
}
.family-card-actions .danger {
  color: var(--orange-dark);
  background: rgba(225, 71, 61, 0.08);
}
.profile-events {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.profile-events h3 {
  margin: 0 0 4px;
  color: var(--text-deep);
  font-size: 1.45rem;
}
.profile-event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(18, 60, 120, 0.09);
}
.profile-event-row div {
  display: grid;
  gap: 6px;
}
.profile-event-row strong {
  color: var(--text-deep);
}
.profile-event-row span,
.profile-event-row time,
.profile-muted {
  color: var(--muted);
}
.profile-event-row time {
  flex: none;
  font-weight: 800;
  text-align: right;
}
.profile-events-available {
  margin-top: 30px;
}
.profile-event-row-action {
  align-items: stretch;
  flex-direction: column;
}
.profile-event-info {
  display: grid;
  gap: 6px;
}
.profile-participant-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.profile-participant-picker label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(18, 60, 120, 0.1);
  border-radius: 14px;
  background: rgba(18, 60, 120, 0.04);
  color: var(--text-deep);
  font-weight: 900;
}
.profile-participant-picker input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}
.profile-participant-picker small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 800;
}
.profile-participant-picker label.disabled {
  opacity: 0.62;
}
.profile-event-button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  cursor: pointer;
}
.profile-event-button:disabled {
  cursor: default;
  opacity: 0.78;
  box-shadow: none;
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(18, 60, 120, 0.08);
}
.auth-tabs button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--text-deep);
  font-weight: 900;
  cursor: pointer;
}
.auth-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #f05a24);
  box-shadow: 0 12px 24px rgba(225, 71, 61, 0.22);
}
.profile-form {
  display: grid;
  gap: 16px;
}
.profile-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.profile-form label {
  display: grid;
  gap: 8px;
}
.profile-form label span {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--text-deep);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}
.required-star {
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
}
.optional-mark {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(18, 60, 120, 0.08);
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  text-transform: none;
}
.profile-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(18, 60, 120, 0.16);
  border-radius: 16px;
  background: #fff;
  color: var(--text-deep);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.profile-form input:focus {
  border-color: rgba(225, 71, 61, 0.58);
  box-shadow: 0 0 0 4px rgba(225, 71, 61, 0.12);
}
.profile-password-field {
  padding: 16px;
  border: 1px solid rgba(225, 71, 61, 0.24);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(225, 71, 61, 0.11), rgba(255, 255, 255, 0.92));
}
.profile-password-field input {
  border-color: rgba(225, 71, 61, 0.28);
  box-shadow: 0 12px 24px rgba(225, 71, 61, 0.08);
}
.profile-form small,
.field-error {
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 700;
}
.form-message {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(45, 187, 61, 0.1);
  color: var(--green-dark);
  font-weight: 800;
}
.form-message.error {
  background: rgba(225, 71, 61, 0.12);
  color: var(--orange-dark);
}
.profile-error-list {
  margin: -4px 0 0;
  padding-left: 20px;
  color: var(--orange-dark);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}
.profile-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}
.profile-submit:disabled,
.profile-logout:disabled {
  cursor: wait;
  opacity: 0.72;
}

.reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  transition:
    opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.floating-slow,
.floating-delay-1,
.floating-delay-2 {
  animation: floatY 6.5s ease-in-out infinite;
}
.floating-delay-1 { animation-delay: 0.6s; }
.floating-delay-2 { animation-delay: 1.2s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes navSlideIn {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroBackdropIn {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes heroForegroundIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes heroOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroItemIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes highlightsPanelIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes highlightsFigureIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(32px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}
@keyframes highlightsCardIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header,
  .hero-backdrop img,
  .hero-foreground img,
  .hero-overlay,
  .partner-block,
  .hero-topline,
  .hero-title-block,
  .hero-location,
  .hero-subtitle,
  .hero-actions,
  .hero-socials,
  .reveal,
  .event-highlights .highlights-stats-bg,
  .event-highlights .highlights-stats-copy,
  .event-highlights .highlights-stats-figure,
  .event-highlights .highlights-day-card,
  .program-section .schedule-item,
  .kids-stage .kids-photo-row,
  .floating-slow,
  .floating-delay-1,
  .floating-delay-2 {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1200px) {
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, max-content); }
  .partner-row.many,
  .partner-row.support-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 0;
  }
  .main-nav {
    gap: 10px;
  }
  .main-nav a {
    font-size: 0.72rem;
    min-height: 42px;
    padding: 0 10px;
  }
  .hero-layout,
  .kids-layout,
  .faq-layout,
  .schedule-grid { grid-template-columns: 1fr; }
  .rules-board {
    grid-template-columns: 1fr;
  }
  .rules-intro,
  .rule-card-start,
  .rule-card-ride,
  .rule-card-fall,
  .rule-card-note,
  .rule-card-prohibited {
    grid-column: 1;
    margin-top: 0;
  }
  .rules-intro,
  .rule-card {
    width: 100%;
  }
  .rules-dude {
    opacity: 0.34;
    width: min(86%, 520px);
  }
  .hero-layout {
    gap: 20px;
    padding-top: 0;
    padding-bottom: 28px;
  }
  .hero-side,
  .hero-side-left,
  .hero-side-right {
    justify-self: center;
    width: 100%;
  }
  .partner-block {
    max-width: none;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-topline {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-date,
  .hero-year { text-align: center; }
  .hero-content { order: -1; }
  .hero h1 {
    gap: 6px;
  }
  .countdown-card {
    flex-wrap: wrap;
    padding: 14px 18px;
  }
  .route-note-row,
  .section-head,
  .partner-cta,
  .support-card,
  .registration-card,
  .footer-bottom { align-items: start; flex-direction: column; }
  .saturday-list,
  .sunday-list {
    grid-template-columns: 1fr;
  }
  .kids-heading-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .kids-heading-row p {
    max-width: 760px;
  }
  .kids-stage {
    --kids-panel-width: 340px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-copy {
    position: static;
    padding: 10px 0 0;
  }
  .event-highlights {
    padding-top: 44px;
  }
  .pickup-showcase,
  .pickup-showcase-content {
    height: 720px;
    min-height: 720px;
  }
  .pickup-showcase-content {
    grid-template-rows: auto 1fr;
    padding: 34px 48px 250px;
  }
  .pickup-place-list {
    grid-template-columns: repeat(2, minmax(0, var(--pickup-card-width)));
    justify-content: center;
  }
  .pickup-place-card {
    width: var(--pickup-card-width);
  }
  .pickup-place-card:last-child:nth-child(4n + 1) {
    grid-column: auto;
    justify-self: stretch;
  }
  .highlights-stats-card {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 42%) minmax(0, 1fr);
    padding: 0 clamp(22px, 3.5%, 36px);
  }
  .highlights-stats-copy,
  .highlights-stats-copy-left,
  .highlights-stats-copy-right {
    padding: 0;
  }
  .highlights-stats-copy-left {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }
  .highlights-stats-copy-right {
    grid-column: 3;
    justify-self: end;
    text-align: right;
  }
  .highlights-stats-value {
    font-size: clamp(2.35rem, 5.4cqi, 4.4rem);
  }
  .highlights-stats-label {
    font-size: clamp(1.25rem, 2.9cqi, 2.15rem);
  }
  .corporate-head,
  .volunteer-layout,
  .corporate-info-row {
    grid-template-columns: 1fr;
  }
  .corporate-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 38px;
  }
  .volunteer-photo-card p {
    width: min(78%, 620px);
  }
}

@media (max-width: 640px) {
  *,
  *::before,
  *::after {
    max-width: 100%;
  }
  main section {
    padding: 30px 0;
  }
  .container {
    width: min(var(--container), calc(100% - 32px));
    min-width: 0;
  }
  .site-header {
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    pointer-events: none;
  }
  .header-inner {
    display: none;
  }
  .mobile-menu-button {
    position: fixed;
    top: 20px;
    right: 16px;
    z-index: 260;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    gap: 0;
    padding: 13px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 12px 28px rgba(15, 50, 102, 0.14);
    pointer-events: auto;
  }
  .mobile-menu-button span {
    width: 25px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--text-deep);
  }
  .mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 270;
    width: min(78vw, 280px);
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 16px);
    display: grid;
    align-content: start;
    gap: 22px;
    padding: 52px 30px 30px;
    border-radius: 0 0 24px 24px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 26px 70px rgba(7, 23, 50, 0.25);
    transform: translateX(calc(100% + 24px));
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
    overflow-y: auto;
  }
  .mobile-nav-panel.open {
    transform: translateX(0);
  }
.mobile-nav-panel a {
    color: var(--text-deep);
    font-size: 1.18rem;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
  }
  .mobile-nav-panel a.rules-nav-link {
    color: #ff1717;
  }
  .mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--text-deep);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
  }
  .main-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 0 6px;
  }
  .hero {
    min-height: clamp(640px, 120vw, 760px);
    height: clamp(640px, 120vw, 760px);
  }
  .hero-layout {
    position: relative;
    min-height: 100%;
    margin-top: 0;
    padding-top: 150px;
    padding-bottom: 18px;
    align-content: start;
  }
  .hero-backdrop,
  .hero-foreground {
    top: 0;
    bottom: 0;
  }
  .hero-backdrop img,
  .hero-foreground img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }
  .hero-foreground {
    align-items: flex-end;
    justify-content: center;
  }
  .hero-foreground img {
    width: 100%;
    height: auto;
    min-width: 0;
    object-fit: contain;
    object-position: center bottom;
  }
  .hero-side-left {
    position: absolute;
    top: 24px;
    left: 16px;
    width: calc(100% - 92px);
    margin-top: 0;
    justify-self: start;
  }
  .partner-block {
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .hero-side-right {
    position: absolute;
    top: 35px;
    right: 76px;
    width: auto;
    margin-top: 0;
  }
  .hero-socials {
    gap: 9px;
    flex-wrap: nowrap;
  }
  .hero-content {
    margin-top: 0;
  }
  .hero-title-block {
    margin-top: 18px;
  }
  .hero-kicker {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .hero h1 {
    font-size: clamp(1.48rem, 6.7vw, 2.08rem);
  }
  .countdown-card {
    font-size: 0.92rem;
    gap: 8px;
  }
  .partner-logo-alpha {
    max-width: 118px;
  }
  .partner-logo-event {
    max-width: 54px;
  }
  .hero-socials a {
    width: 30px;
    height: 30px;
  }
  .age-pill {
    min-height: 30px;
    padding: 0;
    font-size: 1rem;
  }
  .hero-location {
    font-size: 0.98rem;
    line-height: 1.4;
  }
  .hero-socials {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .event-highlights {
    padding: 20px 0 10px;
  }
  .highlights-stats-card {
    aspect-ratio: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    min-height: auto;
    gap: 0 12px;
    padding: 0;
    margin-bottom: 20px;
    border-radius: 22px;
    display: grid;
  }
  .highlights-stats-stage {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  .highlights-stats-bg {
    display: none !important;
  }
  .highlights-stats-bg img {
    display: none !important;
  }
  .highlights-stats-copy {
    width: 100%;
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 14px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.94);
    color: var(--orange-dark);
    text-align: center;
    text-shadow: none;
    box-shadow: 0 18px 34px rgba(70, 46, 27, 0.12);
    margin-top: 0;
  }
  .highlights-stats-copy-left,
  .highlights-stats-copy-right {
    grid-row: 1;
    justify-self: stretch;
    align-self: end;
    padding-left: 14px;
    padding-right: 14px;
  }
  .highlights-stats-copy-left {
    grid-column: 1;
    text-align: center;
  }
  .highlights-stats-copy-right {
    grid-column: 2;
    text-align: center;
    padding-bottom: 14px;
  }
  .highlights-stats-value {
    font-size: 2.35rem;
    line-height: 0.9;
  }
  .highlights-stats-label {
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 8px;
  }
  .highlights-stats-figure {
    display: none !important;
  }
  .highlights-days-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .highlights-day-card {
    border-radius: 20px;
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .route-section .section-head,
  .program-section .section-head {
    margin-bottom: 18px;
  }
  .route-card {
    border-radius: 20px;
  }
  .route-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .route-visual img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
  }
  .route-overlay-card {
    display: none;
  }
  .route-note-row {
    padding: 16px;
  }
  .footer-shell {
    min-height: 640px;
    padding: 24px 16px 52px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 12px;
  }
  .footer-column {
    width: 100%;
  }
  .footer-bottom {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }
  .partner-row,
  .partner-row.many,
  .partner-row.support-row {
    grid-template-columns: 1fr;
  }
  .event-tile {
    border-radius: 14px;
  }
  .event-tile-media {
    aspect-ratio: 1.55 / 1;
  }
  .event-tile-body {
    min-height: auto;
    padding: 18px;
  }
  .event-tile h3 {
    font-size: 1.38rem;
  }
  .event-tile p {
    font-size: 1rem;
    line-height: 1.25;
  }
  .saturday-list,
  .sunday-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .schedule-card {
    padding: 22px 18px;
  }
  .schedule-item {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
    border-radius: 14px;
  }
  .kids-stage {
    display: grid;
    gap: 12px;
    overflow: visible;
  }
  .kids-stage::after {
    display: none;
  }
  .kids-info-panel {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 250px;
    border-radius: 12px;
    padding: 24px 20px 64px;
    background: linear-gradient(135deg, #ff5b45, #f05a24);
    color: #fff;
  }
  .kids-wait-button {
    bottom: -20px;
  }
  .kids-photo-row {
    --kids-photo-width: 100%;
    padding-left: 0;
    transition: opacity 0.18s ease;
  }
  .kids-photo-card {
    flex-basis: 100%;
  }
  .kids-photo-card {
    height: 220px;
  }
  .corporate-shell,
  .corporate-gallery,
  .corporate-info-row,
  .volunteer-layout,
  .partners-shell,
  .faq-board,
  .support-card,
  .registration-cta,
  .footer-shell {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
  .corporate-shell {
    overflow-x: visible;
  }
  .corporate-head h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    overflow-wrap: anywhere;
  }
  .corporate-head p {
    max-width: 100%;
    font-size: clamp(0.95rem, 4.6vw, 1.15rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .corporate-benefits {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 20px;
  }
  .corporate-benefit-card {
    width: 100%;
    min-width: 0;
    padding: 18px 14px;
  }
  .corporate-benefit-card h4 {
    font-size: clamp(0.92rem, 4.2vw, 1.1rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  .corporate-benefit-card p {
    font-size: clamp(0.78rem, 3.5vw, 0.92rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .support-card h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .corporate-section .container,
  .support-section .container {
    width: min(100% - 48px, 340px);
  }
  .inline-link-pill {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.92rem;
  }
  .pickup-section {
    padding-top: 30px;
    padding-bottom: 210px;
  }
  .pickup-showcase {
    height: 1040px;
    min-height: 1040px;
    border-radius: 22px;
    overflow: hidden;
  }
  .pickup-showcase-bg {
    object-position: center;
  }
  .pickup-showcase-gradient {
    background:
      linear-gradient(90deg, rgba(13, 35, 70, 0.78) 0%, rgba(20, 51, 96, 0.52) 48%, rgba(235, 239, 246, 0.42) 100%),
      linear-gradient(180deg, rgba(15, 37, 74, 0.62) 0%, rgba(15, 37, 74, 0.08) 32%, rgba(15, 37, 74, 0.86) 100%);
  }
  .pickup-showcase-content {
    height: 1040px;
    min-height: 1040px;
    grid-template-rows: auto 1fr;
    padding: 32px 28px 190px;
    overflow: hidden;
  }
  .pickup-hero-copy {
    max-width: 100%;
  }
  .pickup-hero-copy h3 {
    max-width: 100%;
    font-size: clamp(1.35rem, 8.5vw, 2.15rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .pickup-hero-schedule {
    font-size: 0.92rem;
  }
  .pickup-hero-description {
    max-width: 100%;
    font-size: clamp(0.72rem, 3.1vw, 0.84rem);
    font-weight: 500;
    overflow-wrap: anywhere;
  }
  .pickup-hero-description p {
    max-width: 100%;
  }
  .pickup-hero-description li {
    padding-left: 22px;
    line-height: 1.2;
  }
  .pickup-arrow {
    top: 36%;
    width: 38px;
    height: 38px;
    border-width: 2px;
  }
  .pickup-arrow span {
    width: 12px;
    height: 12px;
    border-width: 0 3px 3px 0;
  }
  .pickup-arrow-prev { left: 10px; }
  .pickup-arrow-next { right: 10px; }
  .pickup-place-list {
    grid-template-columns: 1fr;
    bottom: -172px;
    padding: 0 14px 12px;
    gap: 8px;
  }
  .pickup-place-card {
    width: 100%;
    height: 124px;
    min-height: 124px;
    grid-template-columns: 30px minmax(0, 1fr) 64px;
    gap: 9px;
    padding: 10px;
    border-radius: 9px;
  }
  .pickup-place-card:last-child:nth-child(4n + 1) {
    grid-column: auto;
    justify-self: stretch;
  }
  .pickup-place-icon {
    width: 32px;
    height: 34px;
  }
  .pickup-place-body strong {
    font-size: clamp(0.52rem, 2.7vw, 0.76rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .pickup-place-location,
  .pickup-place-meta {
    font-size: clamp(0.5rem, 2.45vw, 0.6rem);
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .pickup-2gis-link {
    width: 68px;
    height: 30px;
  }
  .pickup-2gis-link img {
    width: 62px;
  }
  .profile-main {
    padding-top: 92px;
  }
  .profile-hero {
    padding: 42px 0 58px;
  }
  .profile-panel {
    padding: 18px;
    border-radius: 22px;
  }
  .profile-panel-head,
  .profile-event-row,
  .family-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-details-grid,
  .form-grid-two,
  .profile-participant-picker {
    grid-template-columns: 1fr;
  }
  .profile-event-row time {
    text-align: left;
  }
  .profile-block-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .registration-choice-grid {
    grid-template-columns: 1fr;
  }
  .registration-choice {
    min-height: 112px;
    grid-template-columns: 48px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }
  .registration-modal-card {
    padding: 24px 18px 18px;
    border-radius: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .faq-head h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
  .faq-board {
    min-height: 0;
    padding: 16px;
    background:
      linear-gradient(180deg, rgba(255, 155, 151, 0.96) 0%, rgba(255, 169, 160, 0.78) 100%),
      url('images/FAQ-bg.png');
    background-size: auto, auto 118%;
    background-position: center;
  }
  .faq-list {
    width: 100%;
  }
  .faq-question {
    min-height: 62px;
    padding: 16px 18px;
  }
  .faq-answer p {
    padding: 0 18px 16px;
  }
  .corporate-head,
  .volunteer-layout,
  .corporate-info-row {
    grid-template-columns: 1fr;
  }
  .volunteer-head h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
  .volunteer-photo-card {
    min-height: 320px;
  }
  .volunteer-photo-card p {
    width: 100%;
    padding: 24px 20px 70px;
    font-size: clamp(1.15rem, 6vw, 1.7rem);
  }
  .volunteer-button {
    right: 16px;
    bottom: -18px;
    border-radius: 18px;
  }
  .volunteer-benefits {
    min-height: 0;
    padding: 22px 18px;
  }
  .corporate-head h2 {
    font-size: clamp(2rem, 5vw, 2.7rem);
  }
  .corporate-benefits {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .corporate-benefit-card {
    min-height: 104px;
  }
  .corporate-gallery {
    grid-template-columns: 1fr;
  }
  .corporate-info-card,
  .corporate-date-card {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .highlights-stats-card {
    grid-template-columns: 1fr;
    grid-template-rows: clamp(210px, 72vw, 270px) auto auto;
    min-height: auto;
  }
  .highlights-stats-copy-left,
  .highlights-stats-copy-right {
    grid-column: 1;
  }
  .highlights-stats-copy-left {
    grid-row: 2;
  }
  .highlights-stats-copy-right {
    grid-row: 3;
    margin-top: 10px;
  }
  .highlights-stats-figure {
    height: 132%;
  }
  .highlights-stats-value {
    font-size: 2.5rem;
  }
  .highlights-day-card {
    border-radius: 20px;
  }
}
