
/* ==========================================================
   ZOLUSHKA QUALITY SYSTEM 9.0
   Последний слой. Исключает белый/золотой текст на бумажном фоне.
   ========================================================== */

:root {
  --z9-paper: #fbf3e3;
  --z9-paper-deep: #f1e1c4;
  --z9-ink: #0a1830;
  --z9-body: #3f4858;
  --z9-night: #031331;
  --z9-night-2: #08275f;
  --z9-gold-light: #f5d77e;
  --z9-blue: #143f91;
}

.zl7-page,
.zl7-page * { box-sizing: border-box; }

.zl7-page > section:not(.zl8-director-quotes):not(.zl8-artwork-gallery):not(.zl8-director-stage):not(.zl-final-cta):not(.zl-route):not(.zl-scene-plan):not(.zl-video):not(.zl-form-section):not(.zl-map-logic):not(.zl-request-city) {
  color: var(--z9-ink) !important;
  background:
    radial-gradient(circle at 84% 12%, rgba(214,164,58,.09), transparent 28%),
    url("../images/fairytale/paper-pattern.svg") repeat,
    var(--z9-paper) !important;
}
.zl7-page > section:not(.zl8-director-quotes):not(.zl8-artwork-gallery):not(.zl8-director-stage):not(.zl-final-cta):not(.zl-route):not(.zl-scene-plan):not(.zl-video):not(.zl-form-section):not(.zl-map-logic):not(.zl-request-city)
:is(h1,h2,h3,h4,strong,b) { color: var(--z9-ink) !important; }
.zl7-page > section:not(.zl8-director-quotes):not(.zl8-artwork-gallery):not(.zl8-director-stage):not(.zl-final-cta):not(.zl-route):not(.zl-scene-plan):not(.zl-video):not(.zl-form-section):not(.zl-map-logic):not(.zl-request-city)
:is(p,li,figcaption) { color: var(--z9-body) !important; }
.zl7-page > section:not(.zl8-director-quotes):not(.zl8-artwork-gallery):not(.zl8-director-stage):not(.zl-final-cta):not(.zl-route):not(.zl-scene-plan):not(.zl-video):not(.zl-form-section):not(.zl-map-logic):not(.zl-request-city)
a:not(.zl-button):not(.zl5-btn) { color: var(--z9-blue) !important; }
.zl7-page > section:not(.zl8-director-quotes):not(.zl8-artwork-gallery):not(.zl8-director-stage):not(.zl-final-cta):not(.zl-route):not(.zl-scene-plan):not(.zl-video):not(.zl-form-section):not(.zl-map-logic):not(.zl-request-city)
:is(.zl-kicker,.zl-kicker--dark) { color: #835408 !important; }

.zl7-page > :is(.zl8-director-quotes,.zl8-artwork-gallery,.zl8-director-stage,.zl-final-cta,.zl-route,.zl-scene-plan,.zl-video,.zl-form-section,.zl-map-logic,.zl-request-city) {
  color: #fff !important;
  background:
    radial-gradient(circle at 82% 14%, rgba(42,92,194,.32), transparent 30%),
    url("../images/fairytale/stars-trail.svg") center / 92% auto no-repeat,
    linear-gradient(180deg, var(--z9-night), var(--z9-night-2)) !important;
}
.zl7-page > :is(.zl8-director-quotes,.zl8-artwork-gallery,.zl8-director-stage,.zl-final-cta,.zl-route,.zl-scene-plan,.zl-video,.zl-form-section,.zl-map-logic,.zl-request-city)
:is(h1,h2,h3,h4,strong,b) { color: #fff !important; }
.zl7-page > :is(.zl8-director-quotes,.zl8-artwork-gallery,.zl8-director-stage,.zl-final-cta,.zl-route,.zl-scene-plan,.zl-video,.zl-form-section,.zl-map-logic,.zl-request-city)
:is(p,li,figcaption) { color: rgba(255,255,255,.78) !important; }
.zl7-page > :is(.zl8-director-quotes,.zl8-artwork-gallery,.zl8-director-stage,.zl-final-cta,.zl-route,.zl-scene-plan,.zl-video,.zl-form-section,.zl-map-logic,.zl-request-city)
:is(.zl-kicker,.zl-kicker--dark) { color: var(--z9-gold-light) !important; }
.zl7-page > :is(.zl8-director-quotes,.zl8-artwork-gallery,.zl8-director-stage,.zl-final-cta,.zl-route,.zl-scene-plan,.zl-video,.zl-form-section,.zl-map-logic,.zl-request-city)
a:not(.zl-button):not(.zl5-btn) { color: var(--z9-gold-light) !important; }

.zl7-page :is(.zl-request-city__form,.zl-request-city__form--page,.zl-form-section__grid > div:last-child,.zl5-scroll-form__inner) {
  color: var(--z9-ink) !important;
  background: url("../images/fairytale/paper-pattern.svg") repeat, #fffaf0 !important;
}
.zl7-page :is(.zl-request-city__form,.zl-request-city__form--page,.zl-form-section__grid > div:last-child,.zl5-scroll-form__inner)
:is(h1,h2,h3,h4,p,label,span,strong,b,small) { color: var(--z9-ink) !important; }
.zl7-page :is(.zl-request-city__form,.zl-request-city__form--page,.zl-form-section__grid > div:last-child,.zl5-scroll-form__inner)
a { color: var(--z9-blue) !important; }

.zl7-page > section.zl8-director-stage {
  color: #fff !important;
  background:
    radial-gradient(circle at 84% 16%, rgba(45,94,190,.31), transparent 30%),
    url("../images/fairytale/stars-trail.svg") 72% 45% / 84% auto no-repeat,
    linear-gradient(180deg,#041536,#08275f) !important;
}
.zl7-page > section.zl8-director-stage :is(h2,h3,strong) { color: #fff !important; }
.zl7-page > section.zl8-director-stage p { color: rgba(255,255,255,.76) !important; }
.zl7-page > section.zl8-director-stage .zl8-director-links a {
  color: var(--z9-gold-light) !important;
  border-color: rgba(245,215,126,.38) !important;
}

.zl7-page > :is(.zl8-director-media,.zl8-director-sources,.zl8-director-intro,.zl8-director-method)
:is(h1,h2,h3,h4,strong,b) { color: var(--z9-ink) !important; }
.zl7-page > :is(.zl8-director-media,.zl8-director-sources,.zl8-director-intro,.zl8-director-method)
:is(p,li,cite) { color: var(--z9-body) !important; }
.zl7-page > .zl8-director-sources a { color: var(--z9-blue) !important; }

.zl7-page .zl-accordion button { color: var(--z9-ink) !important; }
.zl7-page .zl-legal-card,
.zl7-page .zl-prose { color: var(--z9-body) !important; }
.zl7-page .zl-legal-card :is(h2,h3,strong,b),
.zl7-page .zl-prose :is(h1,h2,h3,h4,strong,b) { color: var(--z9-ink) !important; }

.zl9-photo-pair {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.zl9-photo-pair figure,
.zl9-captioned-photo,
.zl9-tour-team figure,
.zl9-tour-story figure {
  margin: 0;
  padding: 10px;
  background: #071c46;
  border: 1px solid rgba(214,164,58,.64);
  box-shadow: 0 22px 48px rgba(4,21,54,.14);
}
.zl9-photo-pair img { width: 100%; height: 390px; object-fit: cover; }
.zl9-photo-pair figure:first-child img { object-position: center 35%; }
.zl9-photo-pair figure:last-child img { object-position: center 42%; }
.zl9-photo-pair figcaption,
.zl9-captioned-photo figcaption {
  padding: 12px 8px 4px;
  color: var(--z9-gold-light) !important;
  font-size: .75rem;
  line-height: 1.45;
}
.zl9-captioned-photo img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  object-position: center 30%;
}

.zl9-tour-team__grid,
.zl9-tour-story__grid {
  display: grid;
  grid-template-columns: minmax(360px,.92fr) minmax(0,1.08fr);
  gap: clamp(48px,7vw,92px);
  align-items: center;
}
.zl9-tour-story__grid { grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); }
.zl9-tour-team figure img,
.zl9-tour-story figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.zl9-tour-team figure img { object-position: center 42%; }
.zl9-tour-story figure img { object-position: center 35%; }
.zl9-tour-team h2,
.zl9-tour-story h2 {
  margin: 0 0 20px;
  color: var(--z9-ink) !important;
  font-size: clamp(2.4rem,4.5vw,4.8rem);
  line-height: .98;
}
.zl9-tour-team p,
.zl9-tour-story p { color: var(--z9-body) !important; }

.zl-button--gold,
.zl5-btn--gold { color: #07152f !important; }
.zl-button--glass,
.zl5-btn--glass { color: #fff !important; }
.zl-text-link,
.zl5-link { color: var(--z9-blue) !important; }

@media (max-width: 900px) {
  .zl9-tour-team__grid,
  .zl9-tour-story__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .zl9-photo-pair { grid-template-columns: 1fr; }
  .zl9-photo-pair img { height: auto; max-height: 520px; }
}
