/* City Day landing — scoped to #dep-landing */

#dep-landing {
  --cd-bg: #ffffff;
  --cd-bg-soft: #f4f6fb;
  --cd-ink: #0E1C29;
  --cd-ink-soft: #515C6B;
  --cd-violet-grad: linear-gradient(90deg, #371B9C 18.6%, #4F19AA 86%);
  --cd-violet: #8243C2;
  --cd-blue: #2F4ABE;
  --cd-salat: #B7DD32;
  --cd-green: #B7DD32;
  --cd-yellow: #FBDE39;
  --cd-header: #1B2B4C;
  --cd-teal: #0E8A8C;
  --cd-teal-soft: #eef8f8;
  --cd-accent: #C8EE45;
  --cd-time: #a7d116;
  --cd-coral: #E65D4F;
  --cd-line: #e4e8f0;
  --cd-ph: #D9D9D9;
  --cd-radius: 12px;
  --cd-radius-lg: 16px;
  --cd-font: "Suisse Intl", "Manrope", system-ui, sans-serif;
  --cd-display: "VDNHLebedev2", "esol-head-bold", Georgia, serif;
  --cd-wrap: 1180px;
  --cd-pad: clamp(16px, 4vw, 28px);
  background: var(--cd-bg);
  color: var(--cd-ink);
  font-family: var(--cd-font);
  font-weight: 500;
  line-height: 1.45;
  overflow-x: clip;
}

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

#dep-landing img {
  display: block;
  max-width: 100%;
  height: auto;
}

#dep-landing a {
  color: inherit;
}

#dep-landing button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.cd-wrap {
  width: min(100% - var(--cd-pad) * 2, var(--cd-wrap));
  margin-inline: auto;
}

.cd-section {
  padding: clamp(56px, 9vw, 56px) 0;
}

.cd-section__head {
  margin-bottom: clamp(28px, 5vw, 48px);
  max-width: none;
}

.cd-section__head h2 {
  font-family: var(--cd-display);
  font-size: clamp(2.35rem, 4.8vw, calc(3.1rem + 12px));
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  text-transform: none;
  background: var(--cd-violet-grad);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 900px) {
  .cd-section__head h2 {
    white-space: nowrap;
  }
}

.cd-section__head p {
  margin: 0;
  color: var(--cd-ink-soft);
  font-size: 1.25rem;
  line-height: 1.45;
  max-width: 42rem;
}
.cd-section__lead--lg {
  font-size: 2.1rem;
  line-height: 1.35;
  color: var(--cd-ink);
  font-weight: 500;
  max-width: 48rem;
}
#program .cd-section__lead--lg {
  font-size: calc(2.1rem + 3px);
}
.cd-section__lead--evening {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.4;
  color: var(--cd-ink-soft);
  max-width: 42rem;
}
.cd-section__lead--also {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.45;
  max-width: none;
}
@media (min-width: 900px) {
  .cd-section__lead--also {
    white-space: nowrap;
  }
}
.cd-word-keep {
  white-space: nowrap;
}

/* Reveal — lab21-style fade + lift + blur */
#dep-landing [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
  will-change: opacity, transform, filter;
}
#dep-landing [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  #dep-landing [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  #dep-landing .cd-card:hover,
  #dep-landing .cd-chip:hover,
  #dep-landing .cd-venue:hover,
  #dep-landing .cd-cover-card:hover {
    transform: none;
  }
  #dep-landing .cd-cover-card:hover .cd-cover-card__img {
    transform: none;
  }
}

/* Buttons */
.cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--cd-radius);
  background: var(--cd-accent);
  color: var(--cd-header);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.cd-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.cd-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.cd-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.cd-btn--outline {
  background: transparent;
  border: 1.5px solid var(--cd-blue);
  color: var(--cd-blue);
}
.cd-btn--outline:hover {
  background: var(--cd-blue);
  color: #fff;
}
.cd-linkish {
  color: var(--cd-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* Today banner */
.cd-today {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  padding: 14px 0 0;
  color: var(--cd-header);
}
.cd-today[hidden] { display: none !important; }
.cd-today strong {
  font-family: var(--cd-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* HERO — половина экрана */
.cd-hero {
  position: relative;
  min-height: min(50svh, 460px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.cd-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(27, 43, 76, 0.35) 0%, rgba(14, 28, 41, 0.82) 100%),
    url("../photos/salutas-pc.jpg") center / cover no-repeat,
    var(--cd-violet-grad);
}
@media (max-width: 699px) {
  .cd-hero__bg {
    background:
      linear-gradient(180deg, rgba(27, 43, 76, 0.35) 0%, rgba(14, 28, 41, 0.82) 100%),
      url("../photos/salutas-mob.jpg") center / cover no-repeat,
      var(--cd-violet-grad);
  }
}
.cd-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 85% 15%, rgba(200, 238, 69, 0.22), transparent 55%);
  pointer-events: none;
}
.cd-hero__inner {
  width: min(100% - var(--cd-pad) * 2, var(--cd-wrap));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 72px) 0 clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cd-hero h1 {
  font-family: var(--cd-display);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 0.98;
  margin: 0;
  max-width: 16ch;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .cd-hero h1 {
    font-size: calc(4.6rem + 10px);
  }
}
.cd-hero__lead {
  font-family: var(--cd-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.15;
  margin: 0;
  color: #fff;
  letter-spacing: 0.02em;
}
.cd-hero__dates {
  font-family: var(--cd-display);
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  color: var(--cd-accent);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.cd-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Grids */
.cd-must {
  background: transparent;
}
.cd-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .cd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .cd-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Must / VDNH cover cards — full-bleed photo + overlay text */
#must .cd-cover-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--cd-radius-lg);
  aspect-ratio: 4 / 5;
  min-height: 0;
  color: #fff;
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 8px 28px rgba(14, 28, 41, 0.14);
}
.cd-cover-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--cd-radius-lg);
  aspect-ratio: 3 / 4;
  min-height: 360px;
  color: #fff;
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 8px 28px rgba(14, 28, 41, 0.14);
}
.cd-cover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(14, 28, 41, 0.2);
}
#dep-landing .cd-cover-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease, opacity 0.9s ease;
  z-index: 0;
}
.cd-cover-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cd-cover-card__media .cd-cover-card__img {
  opacity: 0;
}
.cd-cover-card__media .cd-cover-card__img.is-active {
  opacity: 1;
  z-index: 1;
}
#must .cd-cover-card:hover .cd-cover-card__img {
  transform: none;
}
.cd-cover-card:hover .cd-cover-card__img {
  transform: scale(1.04);
}
.cd-cover-card--slides:hover .cd-cover-card__img {
  transform: none;
}
.cd-cover-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 30%, #000 150%);
}
.cd-cover-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px 20px 24px;
  pointer-events: none;
}
.cd-cover-card__content .cd-card__day {
  position: static;
  align-self: flex-start;
  margin-bottom: auto;
}
.cd-cover-card__time {
  font-family: var(--cd-display);
  font-size: 1.55rem;
  color: var(--cd-accent);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.cd-cover-card h3 {
  margin: 0;
  font-family: var(--cd-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  text-transform: none;
}
.cd-cover-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}
.cd-cover-card__subtitle {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36ch;
}
.cd-cover-card__venue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: "esolic", var(--cd-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.92);
}
.cd-cover-card__venue::before {
  content: "";
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7DD32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 699px) {
  #must .cd-cover-card {
    aspect-ratio: 5 / 6;
    min-height: 0;
  }
  .cd-cover-card {
    aspect-ratio: 4 / 5;
    min-height: 320px;
  }
  .cd-cover-card h3 {
    font-size: 1.3rem;
  }
  .cd-cover-card p {
    font-size: 14px;
  }
}

/* Kids bento — VDNH «Подборки» layout */
.cd-bento {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 115.5px;
  gap: 14px 16px;
}
.cd-bento .cd-bento__item {
  min-height: 0;
  aspect-ratio: auto;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
.cd-bento .cd-bento__item:nth-child(1) {
  grid-column: span 5;
  grid-row: span 4; /* ≈ 506px = 245 + 14 + 245 */
}
.cd-bento .cd-bento__item:nth-child(2),
.cd-bento .cd-bento__item:nth-child(3) {
  grid-column: span 3;
  grid-row: span 2; /* ≈ 245px */
  max-height: 245px;
}
.cd-bento .cd-bento__item:nth-child(4),
.cd-bento .cd-bento__item:nth-child(5) {
  grid-column: span 4;
  grid-row: span 3; /* ≈ 375px */
  max-height: 375px;
}
.cd-bento .cd-bento__item:nth-child(6),
.cd-bento .cd-bento__item:nth-child(7) {
  grid-column: span 3;
  grid-row: span 3;
  max-height: 375px;
}
.cd-bento .cd-bento__item:nth-child(8) {
  grid-column: span 2;
  grid-row: span 3;
  max-height: 375px;
}
.cd-bento .cd-bento__item:nth-child(1) {
  max-height: 504px; /* две карточки по 245 + gap 14 */
}
.cd-bento .cd-cover-card__content {
  padding: 18px 16px 20px;
  gap: 6px;
}
.cd-bento .cd-cover-card h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
}
.cd-bento .cd-bento__item:not(:nth-child(1)) p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cd-bento .cd-bento__item:nth-child(1) p {
  font-size: 15px;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 899px) {
  .cd-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(220px, 32vw);
  }
  .cd-bento .cd-bento__item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
    max-height: none;
  }
  .cd-bento .cd-bento__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    max-height: none;
  }
}
@media (max-width: 599px) {
  .cd-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(280px, auto);
  }
  .cd-bento .cd-bento__item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 280px;
    max-height: none;
  }
}

/* Cards — VDNH-style */
.cd-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius-lg);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  text-align: left;
  height: 100%;
  box-shadow: 0 4px 20px rgba(27, 43, 76, 0.06);
}
.cd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(55, 27, 156, 0.12);
}
.cd-card--hot {
  border-color: rgba(55, 27, 156, 0.18);
}
.cd-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cd-ph);
  overflow: hidden;
}
.cd-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cd-card:hover .cd-card__media img {
  transform: scale(1.03);
}
.cd-card__day {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: "esolic", var(--cd-display);
  font-size: calc(2.25rem - 2px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--cd-violet);
  padding: 8px 16px;
  border-radius: var(--cd-radius);
  line-height: 1;
}
.cd-card__day[data-day="26"] { background: var(--cd-violet); color: #fff; }
.cd-card__day[data-day="27"] { background: var(--cd-blue); color: #fff; }
.cd-card__day[data-day="28"] { background: var(--cd-yellow); color: var(--cd-header); }
.cd-card__day[data-day="29"] { background: var(--cd-green); color: var(--cd-header); }
.cd-card__day[data-day="30"] { background: #a5c731; color: #ffffff; }
.cd-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cd-card__media .cd-card__time {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  margin: 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--cd-green);
  font-family: var(--cd-display);
  font-size: 1.45rem;
  color: var(--cd-header);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.cd-card__media .cd-card__day + .cd-card__time {
  top: 62px;
}
.cd-card__time {
  font-family: var(--cd-display);
  font-size: 1.95rem;
  color: var(--cd-time);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.cd-card h3 {
  font-family: var(--cd-display);
  font-size: 24px;
  line-height: 1.15;
  margin: 0;
  color: #2540B2;
  text-transform: none;
  font-weight: 700;
}
.cd-card__subtitle {
  margin: 4px 0 0;
  color: var(--cd-ink-soft);
  font-size: 14px !important;
  line-height: 1.35;
  flex: 0 0 auto;
}
.cd-card p {
  margin: 0;
  color: var(--cd-ink-soft);
  font-size: 1.55rem;
  flex: 1;
  line-height: 1.35;
}
.cd-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--cd-line);
}
.cd-card__venue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1B2B4C;
  font-family: "esolic", var(--cd-display);
  font-size: calc(1.19rem + 2px);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.cd-card__venue::before {
  content: "";
  flex-shrink: 0;
  width: 1.9em;
  height: 1.9em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7DD32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Filters / days */
.cd-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 22px;
  scrollbar-width: thin;
}
.cd-chip {
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: var(--cd-radius);
  border: 1px solid var(--cd-line);
  background: #fff;
  color: var(--cd-ink);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cd-chip:hover {
  border-color: var(--cd-blue);
  transform: translateY(-1px);
}
.cd-chip.is-active {
  background: var(--cd-violet-grad);
  border-color: transparent;
  color: #fff;
}

.cd-day {
  flex: 0 0 auto;
  min-width: 96px;
  padding: 16px 18px;
  border-radius: var(--cd-radius);
  border: 1px solid var(--cd-line);
  background: #fff;
  display: grid;
  place-items: center;
  gap: 4px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cd-day__num {
  font-family: var(--cd-display);
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 700;
}
.cd-day__label {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cd-ink-soft);
  font-weight: 600;
}
.cd-day:hover {
  transform: translateY(-1px);
  border-color: var(--cd-blue);
}
.cd-day.is-active {
  background: var(--cd-violet-grad);
  border-color: transparent;
  color: #fff;
}
.cd-day.is-active .cd-day__label { color: rgba(255,255,255,0.75); }
.cd-day--main.is-active {
  background: var(--cd-accent);
  border-color: var(--cd-accent);
  color: var(--cd-header);
}
.cd-day--main.is-active .cd-day__label { color: rgba(27,43,76,0.65); }
.cd-day--today:not(.is-active) {
  outline: 2px solid var(--cd-coral);
  outline-offset: -2px;
}

/* Program alt — date pills carousel (variant 2 working UI) */
.cd-days-hint {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cd-ink-soft);
}
.cd-days-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  margin-bottom: 18px;
  scrollbar-width: none;
}
.cd-days-pills::-webkit-scrollbar {
  display: none;
}
#dep-landing button.cd-day-pill {
  background: var(--blue-violet, linear-gradient(90deg, #371B9C 18.6%, #4F19AA 86%));
  color: #fff;
  border: 0;
  box-shadow: none;
}
.cd-day-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 148px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  text-align: left;
  color: #fff;
  background: var(--blue-violet, linear-gradient(90deg, #371B9C 18.6%, #4F19AA 86%));
  box-shadow: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cd-day-pill strong {
  font-family: "esolic", var(--cd-display), sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: inherit;
}
.cd-day-pill span {
  font-family: "esolic", var(--cd-display), sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
  opacity: 0.62;
  text-transform: lowercase;
  color: inherit;
}
.cd-day-pill:hover,
#dep-landing button.cd-day-pill:hover,
.cd-day-pill.is-active,
#dep-landing button.cd-day-pill.is-active {
  background: var(--cd-green);
  color: var(--cd-header);
  transform: none;
  outline: none;
  border: 0;
  box-shadow: none;
}
.cd-day-pill:hover span,
.cd-day-pill.is-active span {
  opacity: 1;
}
.cd-day-pill--today:not(.is-active) {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.cd-program-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-bottom: 22px;
}
.cd-program-meta strong {
  font-family: var(--cd-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--cd-header);
}
.cd-program-meta__note {
  color: var(--cd-blue);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}
.cd-empty {
  color: var(--cd-ink-soft);
  padding: 24px 0;
  font-size: 1.1rem;
}

/* Main day route */
.cd-mainday {
  background: var(--cd-violet-grad);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cd-mainday::before {
  content: "29";
  position: absolute;
  right: -4vw;
  top: -8%;
  font-family: var(--cd-display);
  font-size: clamp(12rem, 28vw, 22rem);
  line-height: 0.8;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
}
.cd-mainday .cd-section__head h2 {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.cd-mainday__lead {
  margin: 0;
  padding-top: 18px;
  font-family: "esolic", var(--cd-display), sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}
.cd-mainday .cd-section__head p {
  color: rgba(255,255,255,0.78);
}
.cd-route {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .cd-route {
    grid-template-columns: 1.1fr 1fr 0.9fr;
    align-items: stretch;
    gap: 12px;
  }
}
.cd-route__step {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--cd-radius-lg);
  padding: 32px 28px;
}
.cd-route__step h3 {
  font-family: var(--cd-display);
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  margin: 0 0 18px;
  text-transform: uppercase;
  color: var(--cd-accent);
  font-weight: 700;
  line-height: 1.15;
}
.cd-route__step ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cd-route__step li {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.4;
  font-weight: 500;
}

/* Venues */
.cd-venues-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .cd-venues-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .cd-venues-grid { grid-template-columns: repeat(4, 1fr); }
}
.cd-venue {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: left;
  padding: 0;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 360px;
  box-shadow: 0 4px 16px rgba(27, 43, 76, 0.05);
}
.cd-venue__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#dep-landing .cd-venue__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.cd-venue__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 28, 41, 0.15) 20%, rgba(14, 28, 41, 0.82) 100%);
  pointer-events: none;
}
.cd-venue__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 22px 18px;
}
.cd-venue--photo {
  color: #fff;
  border-color: transparent;
}
.cd-venue--photo .cd-venue__num {
  color: var(--cd-accent);
}
.cd-venue--photo h3 {
  color: var(--cd-salat);
}
.cd-venue--photo p {
  color: #fff;
}
.cd-venue--photo .cd-venue__count {
  color: rgba(255, 255, 255, 0.55);
}
.cd-venue:hover {
  transform: translateY(-2px);
  border-color: var(--cd-blue);
  box-shadow: 0 12px 28px rgba(55, 27, 156, 0.1);
}
.cd-venue--photo:hover {
  border-color: transparent;
}
.cd-venue.is-active {
  background: var(--cd-violet-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 32px rgba(55, 27, 156, 0.25);
}
.cd-venue--photo.is-active .cd-venue__shade {
  background: linear-gradient(180deg, rgba(55, 27, 156, 0.35) 10%, rgba(27, 43, 76, 0.88) 100%);
}
.cd-venue__num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--cd-display);
  font-size: 1.6rem;
  color: var(--cd-accent);
  display: block;
  margin: 0;
  font-weight: 700;
  line-height: 1;
}
.cd-venue h3 {
  margin: 0 0 8px;
  font-family: var(--cd-display);
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--cd-salat);
  font-weight: 700;
}
.cd-venue.is-active h3 {
  color: var(--cd-salat);
}
.cd-venue p {
  margin: 0 0 12px;
  color: var(--cd-ink-soft);
  font-size: 14px;
}
.cd-venue--photo p,
.cd-venue.is-active p {
  color: #fff;
}
.cd-venue__count {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cd-ink-soft);
  font-weight: 400;
  opacity: 0.7;
}
.cd-venue--photo .cd-venue__count,
.cd-venue.is-active .cd-venue__count {
  color: #fff;
  opacity: 0.55;
  font-weight: 400;
}

#kids .cd-section__head p {
  font-size: 1.5rem;
  line-height: 1.45;
  max-width: 52rem;
}

/* Also / important / poster */
.cd-also-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 899px) {
  .cd-also-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .cd-also-grid { grid-template-columns: 1fr; }
}
.cd-also-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 0 24px;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius);
  overflow: hidden;
}
.cd-also-item::before {
  display: none;
}
.cd-also-item__photo {
  display: block;
  width: 100%;
  height: 140px;
  margin: 0;
  border-radius: var(--cd-radius) var(--cd-radius) 0 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  flex-shrink: 0;
  border-bottom: 4px solid var(--cd-blue);
}
.cd-also-item:nth-child(1) .cd-also-item__photo { border-bottom-color: var(--cd-blue); }
.cd-also-item:nth-child(2) .cd-also-item__photo { border-bottom-color: var(--cd-yellow); }
.cd-also-item:nth-child(3) .cd-also-item__photo { border-bottom-color: var(--cd-violet); }
.cd-also-item:nth-child(4) .cd-also-item__photo { border-bottom-color: var(--cd-salat); }
.cd-also-item h3 {
  margin: 18px 22px 10px;
  font-family: "esolic", var(--cd-display);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--cd-blue);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.cd-also-item p {
  margin: 0 22px;
  color: var(--cd-ink-soft);
  font-size: 15px;
  line-height: 1.4;
}

.cd-also-grid--bottom {
  margin-top: 0;
}
.cd-also-item--gif-bottom {
  padding: 0 0 18px;
}
.cd-also-item--gif-bottom::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.cd-also-item--gif-bottom:nth-child(1)::before { background: var(--cd-blue); }
.cd-also-item--gif-bottom:nth-child(2)::before { background: var(--cd-yellow); }
.cd-also-item--gif-bottom:nth-child(3)::before { background: var(--cd-violet); }
.cd-also-item--gif-bottom:nth-child(4)::before { background: var(--cd-salat); }
.cd-also-item--gif-bottom h3 {
  margin: 22px 22px 10px;
}
.cd-also-item--gif-bottom p {
  margin: 0 22px 16px;
  flex: 1;
}
.cd-also-item--gif-bottom .cd-also-item__mask {
  position: relative;
  width: calc(100% - 44px);
  height: 112px;
  margin: auto 22px 0;
  border-radius: 28px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: center;
  background: var(--cd-bg-soft);
}
.cd-also-item--gif-bottom .cd-also-item__photo {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  border-bottom: none;
  object-fit: cover;
  object-position: center;
}
.cd-also-item--gif-bottom .cd-also-item__photo--craft {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}
.cd-also-item--gif-bottom:nth-child(n) .cd-also-item__photo {
  border-bottom: none;
}

.cd-important {
  background: #eef2fa;
  border-left: 4px solid var(--cd-blue);
  border-radius: var(--cd-radius);
  padding: 22px 24px;
}
.cd-important h2 {
  font-family: var(--cd-display);
  margin: 0 0 8px;
  font-size: 1.4rem;
  text-transform: uppercase;
  background: var(--cd-violet-grad);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.cd-important p {
  margin: 0;
  color: var(--cd-ink-soft);
  font-size: 15px;
}

.cd-footer-row {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 900px) {
  .cd-footer-row {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 24px;
  }
}

.cd-poster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius);
  background: #fff;
  margin-top: 0;
}
.cd-poster h2 {
  font-family: var(--cd-display);
  margin: 0 0 6px;
  font-size: 1.5rem;
  text-transform: uppercase;
  background: var(--cd-violet-grad);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.cd-poster p {
  margin: 0;
  color: var(--cd-ink-soft);
  font-size: 15px;
}
.cd-poster .cd-btn {
  font-size: 12px;
  min-height: 56px;
  padding: 0 32px;
}

/* Guests / routes — VDNH «Маршруты» */
.cd-guests-section,
#guests {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--cd-bg-soft);
}
.cd-guests-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cd-guests-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.cd-guests-blob--1 {
  width: min(432px, 42vw);
  height: min(432px, 42vw);
  top: -14%;
  left: 2%;
  background: rgba(163, 117, 209, 0.6);
}
.cd-guests-blob--2 {
  width: min(480px, 45vw);
  height: min(480px, 45vw);
  top: -12%;
  right: -10%;
  background: rgba(183, 221, 50, 0.5);
}
.cd-guests-blob--3 {
  width: min(480px, 45vw);
  height: min(480px, 45vw);
  top: 42%;
  left: 38%;
  background: rgba(160, 180, 255, 0.35);
}
#guests > .cd-wrap {
  position: relative;
  z-index: 1;
}
.cd-guests {
  background: #fff;
  border-radius: var(--cd-radius-lg);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px);
}
.cd-guests__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.cd-guests__head h2 {
  margin: 0;
  font-family: var(--cd-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cd-ink);
  text-transform: none;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.cd-guests__more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cd-ink);
  text-decoration: none;
  white-space: nowrap;
}
.cd-guests__more:hover {
  color: var(--cd-blue);
}
.cd-guests__more span {
  font-size: 1.2em;
  line-height: 1;
}
.cd-guests__lead {
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: 58rem;
  font-size: 18px;
  line-height: 1.45;
  color: #595857;
}
.cd-guests__slider-wrap {
  position: relative;
}
.cd-guests__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}
.cd-guests__track::-webkit-scrollbar {
  display: none;
}
.cd-guest-card {
  flex: 0 0 auto;
  width: min(305px, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-height: 360px;
  padding: 18px 28px 28px;
  background: #fff;
  border: 1px solid #dfdfdf;
  border-radius: 16px;
  text-align: left;
}
.cd-guest-card__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--cd-blue);
  color: #fff;
  font-family: "esolic", var(--cd-display), sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
}
.cd-guest-card__pin {
  width: 165px;
  height: 187px;
  flex-shrink: 0;
  background: var(--cd-blue);
  overflow: hidden;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 165 187'%3E%3Cpath fill='black' d='M82.5 0C36.9 0 0 36.9 0 82.5c0 38.2 32.4 69.8 82.5 104.5C132.6 152.3 165 120.7 165 82.5 165 36.9 128.1 0 82.5 0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 165 187'%3E%3Cpath fill='black' d='M82.5 0C36.9 0 0 36.9 0 82.5c0 38.2 32.4 69.8 82.5 104.5C132.6 152.3 165 120.7 165 82.5 165 36.9 128.1 0 82.5 0z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
#dep-landing .cd-guest-card__pin img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
  transform-origin: center;
}
.cd-guest-card:hover .cd-guest-card__pin img {
  transform: scale(1.08);
}
.cd-guest-card__title {
  margin: auto 0 0;
  width: 100%;
  font-family: var(--cd-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--cd-ink);
}
.cd-guests__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dfdfdf;
  color: var(--cd-ink);
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(14, 28, 41, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cd-guests__nav:hover {
  background: var(--cd-blue);
  border-color: var(--cd-blue);
  color: #fff;
}
.cd-guests__nav--prev { left: -8px; }
.cd-guests__nav--next { right: -8px; }
@media (max-width: 899px) {
  .cd-guests__nav { display: none; }
  .cd-guests__lead { font-size: 16px; }
}

/* Modal */
.cd-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 28, 41, 0.82);
  display: grid;
  place-items: center;
  padding: 24px;
}
.cd-modal[hidden] { display: none !important; }
.cd-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  padding: 16px;
  border-radius: var(--cd-radius-lg);
}
.cd-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--cd-violet-grad);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 2;
  border-radius: var(--cd-radius);
}
.cd-modal__panel img {
  width: 100%;
  height: auto;
  border-radius: var(--cd-radius);
}

.cd-section--soft {
  background: var(--cd-bg-soft);
}

/* Spotlight wrap — must + program share continuous background */
.cd-spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f7f7fc;
}
.cd-spotlight__blobs {
  display: none;
}
.cd-spotlight > .cd-section {
  position: relative;
  z-index: 1;
  background: transparent;
}
#must {
  position: relative;
}
#must::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(34.53% 32.95% at 62.64% 3.78%, #fff 0%, #e6eef3 100%),
    linear-gradient(159deg, #eff8fe -3.18%, #eef8ff 60.05%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
}
/* Program — VDNH-like blurred gradient blobs */
#program {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#program::before,
#program::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}
#program::before {
  width: min(720px, 70vw);
  height: min(720px, 70vw);
  top: -28%;
  left: -12%;
  background: rgba(255, 170, 200, 0.55);
}
#program::after {
  width: min(640px, 60vw);
  height: min(640px, 60vw);
  top: -22%;
  right: -14%;
  background: rgba(214, 252, 81, 0.5);
}
#must .cd-wrap,
#program .cd-wrap {
  position: relative;
  z-index: 1;
}
#program .cd-wrap::before {
  content: "";
  position: absolute;
  width: min(480px, 45vw);
  height: min(480px, 45vw);
  top: 8%;
  left: 38%;
  border-radius: 50%;
  background: rgba(160, 180, 255, 0.35);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

/* Evening — VDNH «Рекомендуем посетить» */
.cd-recommend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 24px;
}
@media (min-width: 800px) {
  .cd-recommend {
    grid-template-columns: 1fr 1fr;
  }
}
.cd-recommend-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  max-width: 776px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cd-recommend-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27, 43, 76, 0.08);
}
.cd-recommend-card__media {
  flex: 0 0 173px;
  width: 173px;
  height: 137px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cd-ph);
}
.cd-recommend-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cd-recommend-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 4px 4px 0;
}
.cd-recommend-card__tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cd-blue);
  line-height: 1.2;
}
.cd-recommend-card h3 {
  margin: 0;
  font-family: var(--cd-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--cd-ink);
  text-transform: none;
}
.cd-recommend-card__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.3;
  color: #8a8a8a;
}
.cd-recommend-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}
.cd-recommend-card__time,
.cd-recommend-card__venue {
  font-size: 14px;
  line-height: 1.3;
  color: #8a8a8a;
}
@media (max-width: 599px) {
  .cd-recommend-card {
    flex-direction: column;
  }
  .cd-recommend-card__media {
    flex-basis: auto;
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 699px) {
  .cd-card p {
    font-size: 1.15rem;
  }
  .cd-card__day {
    font-size: calc(1.35rem - 2px);
    padding: 6px 12px;
  }
  .cd-card h3 {
    font-size: 20px;
  }
}
