/* ==========================================================================
   Страница «Новогодняя ночь» — АМАКС «Валдайские Зори»
   Изолированные стили: все селекторы начинаются с .vz-ny
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Neucha&display=swap');

.vz-ny {
  --vz-red: #a3120f;
  --vz-red-dark: #7c0e0c;
  --vz-green: #123a17;
  --vz-green-dark: #08220c;
  --vz-gold: #d8b56a;
  --vz-gold-light: #f0dca4;
  --vz-gold-deep: #b8903f;
  --vz-cream: #fbe7c4;
  --vz-cream-light: #fdf0d9;
  --vz-cream-card: #f7e6c3;
  --vz-ink: #1e3a19;
  --vz-ink-soft: #2c4322;

  all: initial;
  display: block;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif !important;
  color: var(--vz-ink);
  line-height: 1.45;
  font-size: 16px;
  background: transparent;
  padding: clamp(8px, 1.4vw, 20px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.vz-ny *,
.vz-ny *::before,
.vz-ny *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: none;
  text-align: left;
  list-style: none;
  vertical-align: baseline;
  background: transparent;
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  filter: none;
  -webkit-filter: none;
  transform: none;
  text-shadow: none;
  box-shadow: none;
  outline: none;
  mix-blend-mode: normal;
  opacity: 1;
  animation: none;
  transition: none;
  float: none;
  clip-path: none;
}

.vz-ny img { display: block; max-width: 100%; height: auto; }
.vz-ny a { cursor: pointer; }
.vz-ny h1, .vz-ny h2, .vz-ny h3, .vz-ny p, .vz-ny ul, .vz-ny ol { display: block; }

/* -------------------------------------------------------------------- */
/* Блоки-карточки                                                         */
/* -------------------------------------------------------------------- */

.vz-ny__section {
  position: relative;
  overflow: hidden;
  border-radius: clamp(14px, 1.8vw, 28px);
}

.vz-ny__section + .vz-ny__section { margin-top: clamp(8px, 1.4vw, 20px); }

.vz-ny__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* HERO */
.vz-ny__hero { background: #0d2a12; }
.vz-ny__hero-img { width: 100%; height: auto; }

/* -------------------------------------------------------------------- */
/* Слайды: десктоп — картинка макета целиком + ссылки поверх кнопок,       */
/* мобильный (≤860px) — стопка читаемых кусков того же слайда.             */
/* -------------------------------------------------------------------- */

.vz-ny__beige {
  background: radial-gradient(ellipse 95% 150% at 50% 35%, #fdf1d8 0%, #f4dca7 46%, #e2c088 100%);
}

.vz-ny__stage {
  position: relative;
  aspect-ratio: 2902 / 1088;
}

.vz-ny__stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vz-ny__hotspot {
  position: absolute;
  z-index: 5;
  border-radius: 999px;
  transition: box-shadow 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.vz-ny__hotspot:hover,
.vz-ny__hotspot:focus-visible {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(240, 220, 164, 0.9), 0 10px 22px rgba(124, 14, 12, 0.4);
  transform: translateY(-2px);
}

.vz-ny__hotspot--soft { border-radius: 28px; }
.vz-ny__hotspot--soft:hover,
.vz-ny__hotspot--soft:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(216, 181, 106, 0.8);
}

.vz-ny__mstack { display: none; }

.vz-ny__mimg {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.vz-ny__mimg--card { max-width: 380px; }
.vz-ny__mimg--narrow { max-width: 300px; }

/* мягкие края у кусков, вырезанных из фона слайда */
.vz-ny__mimg--fade {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent),
                      linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent),
              linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}

.vz-ny__mlink {
  display: block;
  width: 100%;
  border-radius: 24px;
  transition: transform 0.15s ease;
}

.vz-ny__mlink:active { transform: scale(0.98); }

.vz-ny__btn {
  display: inline-block;
  background: linear-gradient(180deg, #a3120f 0%, #7c0e0c 100%);
  color: #fdece0 !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  padding: 15px 30px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(124, 14, 12, 0.35);
}

@media (max-width: 860px) {
  .vz-ny__stage { display: none; }
  .vz-ny__mstack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 16px 32px;
  }
}

/* -------------------------------------------------------------------- */
/* ПРОГРАММА — слои из Figma (фон, Дед Мороз и Снегурочка, рамка, плашка)  */
/* -------------------------------------------------------------------- */

/* Фон и композиция — по макету Figma (кадр 2901×1088) */
.vz-ny__program {
  background: radial-gradient(ellipse 38% 125% at 50% 50%,
    #fae0b2 0%, #beb48a 25%, #818762 50%, #63714e 62.5%,
    #455b3a 75%, #274526 87.5%, #183a1c 93.75%, #092f12 100%);
}

/* Десктоп: рамка-декор + плашка программы; живой текст остаётся для скринридеров */
.vz-ny__pstage {
  position: relative;
  aspect-ratio: 2901 / 1088;
}

.vz-ny__psanta {
  position: absolute;
  z-index: 1;
  left: 67.18%;
  top: 12.78%;
  width: 26.98%;
}

.vz-ny__pframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('images/program-frame.webp') no-repeat center / 100% 100%;
  pointer-events: none;
}

.vz-ny__pplaque {
  position: absolute;
  z-index: 3;
  left: 18.65%;
  top: 12.78%;
  width: 53.6%;
}

@media (max-width: 860px) {
  .vz-ny__pstage { display: none; }
}

/* Ссылки поверх кнопок «Взрослое/Детское меню» на слайде тайминга */
.vz-ny__hs-adult { left: 33.63%; top: 82.9%; width: 15.71%; height: 10.66%; }
.vz-ny__hs-kids  { left: 50.66%; top: 82.9%; width: 15.71%; height: 10.66%; }

.vz-ny__mbuttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

/* мобильные куски плашки программы: мягкий срез по линиям разреза */
.vz-ny__mcut-bottom {
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, #000 88%, transparent);
}

.vz-ny__mcut-top {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%);
  mask-image: linear-gradient(to bottom, transparent, #000 8%);
}

@media (max-width: 860px) {
  .vz-ny__program {
    background: radial-gradient(ellipse 120% 70% at 50% 45%,
      #818762 0%, #455b3a 40%, #183a1c 75%, #092f12 100%);
  }
}

/* -------------------------------------------------------------------- */
/* КОНТАКТЫ — открытка                                                    */
/* -------------------------------------------------------------------- */

/* Композиция по макету Figma (кадр 2901×1088): координаты слоёв в % от кадра */
.vz-ny__contact {
  background: linear-gradient(180deg, #0c381a 0%, #052512 100%);
}

.vz-ny__cstage {
  position: relative;
  aspect-ratio: 2901 / 1088;
  container-type: inline-size;
}

.vz-ny__c-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.vz-ny__c-fir     { left: -3.38%; top: -4.41%; width: 24.61%; }
.vz-ny__c-clock   { left: -0.85%; top: 50.79%; width: 23%; transform: rotate(-1.49deg); }
.vz-ny__c-snow1   { left: 20.58%; top: 1.75%;  width: 3.69%; }
.vz-ny__c-snow2   { left: 12.75%; top: 37.04%; width: 5.72%; }
.vz-ny__c-snow3   { left: 26.4%;  top: 78.58%; width: 3.69%; filter: blur(2px); }
.vz-ny__c-star    { left: 25.27%; top: 28.86%; width: 2.31%; }
.vz-ny__c-fir-r   { left: 79.35%; top: 3.03%;  width: 20.65%; }
.vz-ny__c-snow4   { left: 64.84%; top: 5.61%;  width: 2.17%; }
.vz-ny__c-snow5   { left: 86.83%; top: 29.5%;  width: 1.79%; }
.vz-ny__c-snow6   { left: 70.01%; top: 29.6%;  width: 0.86%; }
.vz-ny__c-snow7   { left: 78.63%; top: 3.49%;  width: 5.1%; }
.vz-ny__c-star2   { left: 69.7%;  top: 87.13%; width: 2.38%; }
.vz-ny__c-star3   { left: 78.35%; top: 50%;    width: 2.83%; }
.vz-ny__c-hand    { left: 76.08%; top: 58.92%; width: 24.47%; z-index: 2; transform: scaleX(-1); }

.vz-ny__contact-title {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 11.02%;
  width: 35.85%;
  transform: translateX(-50%);
  font-size: 1.895cqw;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: #fbf0d5;
  text-transform: uppercase;
  text-align: center;
}

.vz-ny__postcard {
  position: absolute;
  z-index: 3;
  left: 25.16%;
  top: 26.93%;
  width: 49.71%;
  transform: rotate(-4.83deg);
  container-type: inline-size;
}

.vz-ny__postcard-img {
  width: 100%;
  box-shadow: 0 1.5cqw 3cqw rgba(0, 0, 0, 0.35);
}

.vz-ny__postcard-text {
  position: absolute;
  left: 51.9%;
  top: 45.5%;
  width: 41.6%;
  font-family: 'Neucha', 'Caveat', cursive !important;
  font-size: 3.05cqw;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: #b3170f;
}

.vz-ny__contact-phone {
  display: block;
  margin-top: 0.75em;
  padding-left: 16%;
  font-family: 'Neucha', 'Caveat', cursive !important;
  color: #b3170f !important;
}

.vz-ny__contact-phone:hover { color: var(--vz-red-dark) !important; }

.vz-ny__postcard-glasses {
  position: absolute;
  left: 77.35%;
  top: 67.4%;
  width: 33.1%;
  transform: rotate(22.62deg);
  pointer-events: none;
}

/* Мобильный: столбик, открытка во всю ширину */
@media (max-width: 700px) {
  .vz-ny__cstage { aspect-ratio: auto; padding: 44px 16px 56px; overflow: hidden; }
  .vz-ny__cstage .vz-ny__c-clock, .vz-ny__cstage .vz-ny__c-hand, .vz-ny__cstage .vz-ny__c-snow2,
  .vz-ny__cstage .vz-ny__c-snow3, .vz-ny__cstage .vz-ny__c-star,
  .vz-ny__cstage .vz-ny__c-fir-r, .vz-ny__cstage .vz-ny__c-snow4, .vz-ny__cstage .vz-ny__c-snow5,
  .vz-ny__cstage .vz-ny__c-snow6, .vz-ny__cstage .vz-ny__c-snow7, .vz-ny__cstage .vz-ny__c-star2,
  .vz-ny__cstage .vz-ny__c-star3 { display: none; }
  .vz-ny__c-fir { width: 150px; left: -40px; top: -20px; }
  .vz-ny__c-snow1 { width: 28px; left: auto; right: 24px; top: 20px; }
  .vz-ny__contact-title {
    position: relative;
    left: auto; top: auto; transform: none;
    width: auto;
    margin: 40px 0 26px;
    font-size: 21px;
    line-height: 1.2;
  }
  .vz-ny__postcard {
    position: relative;
    left: auto; top: auto;
    width: 100%;
    transform: rotate(-2deg);
  }
  .vz-ny__postcard-text { left: 50%; top: 43%; width: 46%; font-size: 3.7cqw; }
  .vz-ny__postcard-glasses { left: 80%; top: 80%; width: 22%; }
}

/* -------------------------------------------------------------------- */
/* Блоки-картинки (тайминг, меню): слайд из макета + живые ссылки поверх.  */
/* Живой текст — для поиска/скринридеров, на мобильном показывается вместо  */
/* картинки.                                                               */
/* -------------------------------------------------------------------- */

.vz-ny__stage {
  position: relative;
  aspect-ratio: 2901 / 1088;
}

.vz-ny__stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vz-ny__stage .vz-ny__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  padding: 0;
}

.vz-ny__stage .vz-ny__deco,
.vz-ny__stage .vz-ny__menu-links { display: none; }

.vz-ny__hotspot {
  position: absolute;
  z-index: 2;
  top: 82.9%;
  width: 16.03%;
  height: 10.75%;
  border-radius: 999px;
  transition: box-shadow 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.vz-ny__hotspot--adult { left: 33.51%; }
.vz-ny__hotspot--kids  { left: 50.53%; }

.vz-ny__hotspot:hover,
.vz-ny__hotspot:focus-visible {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(240, 220, 164, 0.9), 0 10px 22px rgba(124, 14, 12, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .vz-ny__stage { aspect-ratio: auto; }
  .vz-ny__stage .vz-ny__stage-img,
  .vz-ny__stage .vz-ny__hotspot { display: none; }
  .vz-ny__stage .vz-ny__live {
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    padding: 56px 24px;
  }
  .vz-ny__stage .vz-ny__deco { display: block; }
  .vz-ny__stage .vz-ny__menu-links { display: flex; }
}

@media (max-width: 620px) {
  .vz-ny__stage .vz-ny__live { padding: 44px 16px; }
  .vz-ny__stage .vz-ny__deco { display: none; }
}
