/* ════════════════════════════════════════════════════════════
   ЧЖАНЦЗЯЦЗЕ · ДЕНЬ РОЖДЕНИЯ — 8–11 сентября
   Приключение в цвете: сосновая ночь, нефрит, закатное золото,
   коралл — и настоящие фотографии гор Аватара.
   ════════════════════════════════════════════════════════════ */

:root {
  --bg:         #0D1714;
  --bg-2:       #111D18;
  --panel:      #16241C;
  --panel-2:    #1A2B20;
  --gold:       #E0B266;
  --gold-hi:    #F2CE8C;
  --gold-dim:   rgba(224, 178, 102, 0.55);
  --jade:       #45C08E;
  --jade-deep:  #2E9C70;
  --coral:      #F4764C;
  --coral-hi:   #FF9A6E;
  --sky:        #6FC3BC;
  --line:       rgba(224, 178, 102, 0.22);
  --line-soft:  rgba(224, 178, 102, 0.12);
  --cream:      #F5EEDD;
  --muted:      rgba(245, 238, 221, 0.64);
  --faint:      rgba(245, 238, 221, 0.56); /* ≥4.5:1 на тёмном фоне (WCAG AA) */
  --karst-mid:  #15221B;
  --karst-near: #0C1511;

  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-serif:   'Cormorant', Georgia, serif;
  --f-body:    'Manrope', system-ui, sans-serif;
  --f-zh:      'Ma Shan Zheng', cursive;

  --radius: 20px;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Тонкое зерно поверх всей страницы */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

svg use { pointer-events: none; }

::selection { background: var(--gold); color: var(--bg); }

img { max-width: 100%; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px);
}

/* ─── Reveal: скрыто только когда JS и анимации активны ─── */
html.js-anim .reveal { opacity: 0; }

/* ════════════ ФОТО-КОМПОНЕНТЫ ════════════ */

.ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate; /* чинит вылезающие углы при scale внутри border-radius */
  border: 1px solid var(--line-soft);
  background: var(--panel);
}
.ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.04);
  transform: scale(1.015);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.ph::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 23, 20, 0.18), transparent 32%, transparent 62%, rgba(13, 23, 20, 0.52));
}
.ph:hover img { transform: scale(1.07); }

.ph figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 238, 221, 0.16);
  background: rgba(10, 16, 13, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.ph figcaption .zh {
  font-family: var(--f-zh);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-hi);
  line-height: 1;
}

/* Галерея дня: большая слева + две малых справа (как на слайдах) */
.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, minmax(150px, 220px));
  gap: clamp(10px, 1.6vw, 18px);
  margin-bottom: clamp(28px, 4vh, 44px);
}
.gallery .g-big { grid-row: 1 / 3; }

.ph--wide {
  aspect-ratio: 21 / 9;
  max-height: 340px;
  width: 100%;
  margin-bottom: clamp(28px, 4vh, 44px);
}

/* ════════════ PROGRESS + NAV ════════════ */

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--jade), var(--gold), var(--coral));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(10, 16, 13, 0.85), rgba(10, 16, 13, 0));
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav-logo {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.nav-zh {
  font-family: var(--f-zh);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-days {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 16, 13, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-days a {
  position: relative;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
/* Расширенная зона нажатия (≥40px) без изменения визуала */
.nav-days a::before {
  content: '';
  position: absolute;
  inset: -7px -2px;
}
.nav-days a:hover { color: var(--gold-hi); }
.nav-days a.active {
  color: var(--bg);
  background: var(--gold);
}
.nav-bday { position: relative; }
.nav-bday::after {
  content: '';
  position: absolute;
  top: 3px; right: 5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--coral-hi);
}
.nav-days a.active.nav-bday::after { background: var(--bg); }

/* ════════════ HERO ════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 90px 20px 120px;
  background: var(--bg);
}

.hero-photo {
  position: absolute;
  inset: -4% 0 0;
}
.hero-photo img {
  width: 100%;
  height: 104%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(1.18) contrast(1.05);
}

/* Градиент: плотный скрим за текстом + тёплый рассветный свет */
.hero-grade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(72% 54% at 50% 44%, rgba(8, 13, 11, 0.58), transparent 78%),
    radial-gradient(85% 55% at 50% 78%, rgba(224, 178, 102, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(8, 13, 11, 0.82) 0%, rgba(10, 16, 13, 0.5) 28%, rgba(13, 23, 20, 0.42) 55%, rgba(13, 23, 20, 0.96) 100%);
}
.hero-glow {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: min(72vw, 640px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(242, 206, 140, 0.14) 0%, rgba(244, 118, 76, 0.05) 45%, transparent 70%);
  border-radius: 50%;
}

/* Водяной знак мешал читаемости поверх фото — скрыт */
.hero-zh { display: none; }

.karst {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  display: block;
}
.karst-mid  { height: 21%; opacity: 0.8; }
.karst-near { height: 13%; }

.hero-dust { position: absolute; inset: 0; pointer-events: none; }
.dust {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold-hi);
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1000px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(10px, 1.4vw, 13px);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: clamp(18px, 3vh, 30px);
}
.hero-eyebrow .line {
  width: clamp(24px, 6vw, 70px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.hero-eyebrow .line:last-child { transform: scaleX(-1); }

.hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(44px, 11.5vw, 158px);
  line-height: 0.98;
  letter-spacing: 0.035em;
  color: #FBF6E9;
  text-shadow:
    0 2px 8px rgba(8, 13, 11, 0.95),
    0 8px 34px rgba(8, 13, 11, 0.85),
    0 0 90px rgba(224, 178, 102, 0.35);
}

.hero-sub {
  font-family: var(--f-serif);
  font-size: clamp(20px, 3.4vw, 38px);
  font-weight: 600;
  font-style: italic;
  color: #FBF6E9;
  margin-top: clamp(12px, 2vh, 22px);
  text-shadow: 0 2px 8px rgba(8, 13, 11, 0.95), 0 6px 28px rgba(8, 13, 11, 0.85);
}
.hero-sub em {
  font-style: italic;
  color: var(--gold-hi);
}

/* Countdown */
.countdown { margin-top: clamp(28px, 5vh, 54px); }
.countdown-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-shadow: 0 1px 6px rgba(8, 13, 11, 0.9);
  margin-bottom: 14px;
}
.countdown-grid {
  display: inline-flex;
  align-items: stretch;
  gap: clamp(6px, 1.6vw, 14px);
}
.cd-cell {
  min-width: clamp(58px, 10vw, 92px);
  padding: clamp(10px, 1.8vw, 16px) clamp(8px, 1.4vw, 14px);
  border: 1px solid rgba(242, 206, 140, 0.32);
  border-radius: 14px;
  background: rgba(8, 13, 11, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.7);
}
.cd-num {
  display: block;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(26px, 5vw, 46px);
  line-height: 1;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}
.cd-cap {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 238, 221, 0.78);
}
.cd-sep {
  align-self: center;
  font-family: var(--f-serif);
  font-size: clamp(20px, 3vw, 30px);
  color: var(--gold-dim);
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.scroll-cue i {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* ════════════ MARQUEE ════════════ */

.marquee {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(111, 195, 188, 0.06), rgba(69, 192, 142, 0.06), rgba(224, 178, 102, 0.07), rgba(244, 118, 76, 0.06)), var(--bg-2);
  overflow: hidden;
  padding: 15px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.marquee span:nth-of-type(4n+1) { color: var(--sky); }
.marquee span:nth-of-type(4n+3) { color: var(--jade); }
.marquee span:nth-of-type(8n)   { color: var(--coral-hi); }
.marquee span.zh {
  font-family: var(--f-zh);
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--gold-hi);
}
.marquee b { color: var(--gold-dim); font-size: 8px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-cue i { animation: none; }
}

/* ════════════ SECTIONS · COMMON ════════════ */

.section {
  position: relative;
  padding: clamp(72px, 12vh, 140px) 0;
  scroll-margin-top: 40px;
}

.sec-head { margin-bottom: clamp(36px, 6vh, 64px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--acc, var(--gold));
  margin-bottom: 16px;
}
.eyebrow-ico {
  width: 16px; height: 16px;
  stroke: var(--acc, var(--gold)); fill: none;
  stroke-width: 1.6;
}

.sec-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
}
.sec-title em {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.92em;
  color: var(--acc-hi, var(--gold-hi));
}

.sec-lead {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
}

/* Чек-листы */
.checks { list-style: none; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
}
.checks li + li { border-top: 1px solid var(--line-soft); }
.checks svg {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  stroke: var(--acc, var(--gold));
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

/* ════════════ ROUTE ════════════ */

.route { background: var(--bg); padding-bottom: 0; }

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.route-card {
  --acc: var(--gold);
  position: relative;
  display: block;
  min-height: clamp(390px, 32vw, 480px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  color: var(--cream);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
}
.rc-08 { --acc: var(--sky); }
.rc-09 { --acc: var(--jade); }
.rc-10 { --acc: var(--coral); }
.rc-11 { --acc: var(--gold); }

.route-card:hover {
  transform: translateY(-5px);
  border-color: var(--acc);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.85);
}

/* Фото — фон всей карточки, текст поверх */
.rc-ph {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px);
  isolation: isolate;
}
/* градиент только снизу — для читаемости текста, пейзаж открыт */
.rc-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 20, 0.1) 0%, transparent 32%, rgba(10, 16, 13, 0.5) 60%, rgba(8, 13, 11, 0.92) 100%);
}
.rc-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.04);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.route-card:hover .rc-ph img { transform: scale(1.06); }
.rc-10 .rc-ph img { object-position: 50% 18%; }

.rc-body {
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(16px, 2.2vw, 26px) clamp(20px, 2.8vw, 30px) clamp(20px, 2.8vw, 30px);
}
.rc-top { display: flex; align-items: baseline; }
.rc-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--acc);
  display: inline-block;
}
.rc-date {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
.route-card h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 25px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 12px 0 8px;
  text-shadow: 0 1px 6px rgba(8, 13, 11, 0.85);
}
.route-card p {
  color: rgba(245, 238, 221, 0.82);
  font-size: 14.5px;
  max-width: 44ch;
  text-shadow: 0 1px 5px rgba(8, 13, 11, 0.85);
}
.rc-date { text-shadow: 0 1px 5px rgba(8, 13, 11, 0.85); }
.rc-arrow {
  position: absolute;
  right: clamp(18px, 2.6vw, 28px);
  bottom: clamp(16px, 2.4vw, 24px);
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 16, 13, 0.45);
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}
.rc-arrow svg {
  width: 15px; height: 15px;
  stroke: var(--acc); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.3s;
}
.route-card:hover .rc-arrow {
  background: var(--acc);
  border-color: var(--acc);
  transform: translateX(3px);
}
.route-card:hover .rc-arrow svg { stroke: var(--bg); }

.route-card--bday { border-color: rgba(244, 118, 76, 0.5); }
.rc-badge {
  position: absolute;
  top: -34px;
  right: clamp(16px, 2.4vw, 24px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #2A1207;
  background: linear-gradient(120deg, var(--coral), var(--gold-hi));
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 20px -6px rgba(244, 118, 76, 0.5);
}
.rc-badge svg {
  width: 13px; height: 13px;
  stroke: #2A1207; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Stats */
.stats {
  margin-top: clamp(40px, 7vh, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  --acc: var(--gold-hi);
  padding: clamp(22px, 3.4vw, 38px) 12px;
  text-align: center;
}
.st-jade  { --acc: var(--jade); }
.st-coral { --acc: var(--coral-hi); }
.st-sky   { --acc: var(--sky); }
.st-gold  { --acc: var(--gold-hi); }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1;
  color: var(--acc);
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 24px);
  color: var(--muted);
  margin-left: 5px;
}
.stat-cap {
  display: block;
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Ультраширокая фото-лента каньона */
.strip {
  position: relative;
  margin-top: clamp(48px, 8vh, 90px);
  height: clamp(140px, 22vw, 260px);
  overflow: hidden;
}
.strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}
.strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 20, 0.55), transparent 35%, transparent 60%, rgba(17, 29, 24, 0.75));
}
.strip-cap {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.strip-cap .zh {
  font-family: var(--f-zh);
  font-size: 16px;
  color: var(--jade);
  letter-spacing: 0;
}

/* ════════════ HOTEL ════════════ */

.hotel {
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(69, 192, 142, 0.05), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
}

.hotel-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(14px, 2vw, 22px);
}
.card-main { grid-row: 1 / 3; }

.card {
  position: relative;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel) 0%, rgba(17, 29, 24, 0.6) 100%);
}

/* Карточка с фоновым фото */
.card--bg {
  overflow: hidden;
  isolation: isolate;
}
.card-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
}
.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}
.card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 16, 13, 0.88) 34%, rgba(10, 16, 13, 0.62) 68%, rgba(10, 16, 13, 0.42) 100%),
    linear-gradient(to top, rgba(8, 13, 11, 0.55), transparent 45%);
}
.ph-hotel {
  margin: calc(-1 * clamp(24px, 3.4vw, 40px)) calc(-1 * clamp(24px, 3.4vw, 40px)) 24px;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  height: clamp(300px, 36vw, 480px);
}
.card-ico {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 20px;
}
.card-ico svg {
  width: 24px; height: 24px;
  stroke: var(--gold); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.card-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 28px);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

/* ════════════ DAYS ════════════ */

.day { background: var(--bg); }
.day--alt { background: var(--bg-2); }

/* Цветовая дуга поездки: воздух → нефрит → закат → золото */
.day-08 { --acc: var(--sky);   --acc-hi: #9AD9D3; }
.day-09 { --acc: var(--jade);  --acc-hi: #6FD8AC; }
.day-10 { --acc: var(--coral); --acc-hi: var(--coral-hi); }
.day-11 { --acc: var(--gold);  --acc-hi: var(--gold-hi); }

.day-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.day-rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.day-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(90px, 10vw, 150px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--acc, var(--gold-dim));
}
.day-date {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream);
}
.day-tag {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--acc-hi, var(--gold-hi));
}
.day-zh {
  font-family: var(--f-zh);
  font-size: 30px;
  color: var(--coral-hi);
  opacity: 0.9;
  margin-bottom: 6px;
}

.day-head { margin-bottom: clamp(26px, 4vh, 44px); }

/* Таймлайн дня */
.tl {
  position: relative;
  list-style: none;
  margin: 0 0 clamp(28px, 4vh, 44px);
  padding-left: 0;
}
.tl-beam {
  position: absolute;
  left: 21px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--line-soft);
}
.tl-beam::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--acc, var(--gold)), var(--acc-hi, var(--gold-hi)));
  transform: scaleY(var(--p, 0));
  transform-origin: top;
}
html:not(.js-anim) .tl-beam::after { transform: none; }

.tl-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 0;
}
.tl-ico {
  position: relative;
  z-index: 2;
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.day--alt .tl-ico { background: var(--bg-2); }
.tl-ico svg {
  width: 20px; height: 20px;
  stroke: var(--acc, var(--gold)); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.tl-item p {
  font-size: clamp(15px, 1.9vw, 17px);
  color: var(--muted);
}
.tl-item p b {
  color: var(--cream);
  font-weight: 600;
}
.tl-item--hl .tl-ico {
  border-color: var(--acc, var(--gold));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--acc, var(--gold)) 10%, transparent), 0 0 26px color-mix(in srgb, var(--acc, var(--gold)) 22%, transparent);
}
.tl-item--hl .tl-ico svg { stroke: var(--acc-hi, var(--gold-hi)); }

/* Таймлайн со временем (день 11) */
.tl--timed .tl-beam { left: calc(21px + 64px); }
.tl-time {
  flex: 0 0 50px;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  color: var(--acc-hi, var(--gold-hi));
  text-align: right;
  font-variant-numeric: tabular-nums;
  margin-right: 14px;
}

/* Карточка «идея дня» */
.focus-card {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel) 0%, rgba(17, 29, 24, 0.5) 100%);
  max-width: 560px;
}
.focus-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc, var(--gold));
  margin-bottom: 10px;
}
.focus-ico {
  position: absolute;
  top: clamp(20px, 3vw, 28px);
  right: clamp(20px, 3vw, 28px);
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.focus-ico svg {
  width: 21px; height: 21px;
  stroke: var(--acc, var(--gold)); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.focus-card .checks li { font-size: 14.5px; padding: 7px 0; }

.focus-card--gold {
  border-color: rgba(244, 118, 76, 0.45);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(244, 118, 76, 0.1), transparent 55%),
    linear-gradient(160deg, var(--panel-2) 0%, rgba(17, 29, 24, 0.5) 100%);
}

/* ─── SVG-сцены ─── */
.heli-scene, .bridge-scene, .takeoff {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(100% 90% at 50% 110%, color-mix(in srgb, var(--acc, var(--gold)) 7%, transparent), transparent 60%),
    linear-gradient(to bottom, rgba(8, 13, 11, 0.4), rgba(17, 29, 24, 0.7));
  margin-bottom: clamp(28px, 4vh, 44px);
  overflow: hidden;
}
.heli-scene svg, .bridge-scene svg, .takeoff svg {
  width: 100%;
  height: auto;
  display: block;
}

.dash-path {
  stroke: var(--acc, var(--gold-dim));
  stroke-width: 1.5;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
  opacity: 0.75;
}
#heliBody line, #heliBody rect, #heliBody path {
  stroke: var(--acc-hi, var(--gold-hi));
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}
#heliKarst path { fill: var(--karst-mid); }

/* Мост (день 09) */
.br-tower { stroke: var(--gold-dim); stroke-width: 2.5; stroke-linecap: round; }
.br-cable { stroke: var(--jade); stroke-width: 1.8; stroke-linecap: round; }
#brHangers line { stroke: rgba(69, 192, 142, 0.45); stroke-width: 1; }
.br-deck { stroke: var(--gold-hi); stroke-width: 2; stroke-linecap: round; }
.br-deck--thin { stroke: var(--gold-dim); stroke-width: 1; }
.br-measure line { stroke: var(--gold-dim); stroke-width: 1; }
.br-measure text {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  fill: var(--acc-hi, var(--gold-hi));
}
#brCord { stroke: var(--coral-hi); stroke-width: 1.5; }
#brJumper { fill: var(--coral-hi); }

/* Лестница в небо (день 10) */
.day--gold { position: relative; overflow: hidden; }
.day-gold-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 50% at 85% 8%, rgba(244, 118, 76, 0.1), transparent 60%),
    radial-gradient(60% 45% at 8% 90%, rgba(224, 178, 102, 0.07), transparent 60%);
}
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cf {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--gold);
  opacity: 0;
}
.cf:nth-child(3n)   { border-radius: 50%; background: var(--coral-hi); }
.cf:nth-child(3n+1) { width: 4px; height: 9px; background: var(--gold-hi); }
.cf:nth-child(5n)   { background: var(--jade); }

.day10-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.ladder-scene {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(244, 118, 76, 0.1), transparent 55%),
    linear-gradient(to bottom, rgba(8, 13, 11, 0.4), rgba(17, 29, 24, 0.7));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 8px 0;
  overflow: hidden;
}
.ladder-scene svg { width: 100%; max-height: 640px; height: 100%; }
.ld-rail { stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
#ldRungs line { stroke: var(--gold-dim); stroke-width: 1.8; stroke-linecap: round; }
.ld-measure { stroke: var(--gold-dim); stroke-width: 1; }
.ld-label {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  fill: var(--coral-hi);
  text-anchor: end;
}
.ld-label--unit { font-size: 12px; fill: var(--gold); letter-spacing: 0.2em; }
#ldFlag line, #ldFlag path { stroke: var(--coral-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Взлёт (день 11) */
.takeoff { padding: 0; }
#takeoffPlane path { fill: var(--gold-hi); }
.takeoff-label {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  fill: var(--gold-hi);
}

/* ════════════ FINALE ════════════ */

.finale {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 18vh, 200px) 0 clamp(140px, 22vh, 240px);
  text-align: center;
  background: var(--bg);
}
.finale-photo {
  position: absolute;
  inset: 0;
}
.finale-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(1.1);
  opacity: 0.55;
}
.finale::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(90% 70% at 50% 115%, rgba(224, 178, 102, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(13, 23, 20, 0.92) 0%, rgba(13, 23, 20, 0.55) 45%, rgba(13, 23, 20, 0.9) 100%);
}
.karst-finale {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  height: 42%;
  z-index: 2;
  opacity: 0.9;
}
.finale-inner { position: relative; z-index: 3; }
.finale-zh {
  font-family: var(--f-zh);
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 2px 40px rgba(10, 16, 13, 0.8);
}
.finale-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 6.4vw, 72px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 50px rgba(10, 16, 13, 0.9);
}
.finale-lead {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--cream);
  opacity: 0.85;
  font-size: clamp(15px, 1.9vw, 17px);
}
.finale-meta {
  margin-top: 34px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--faint);
}
.finale-credits {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 238, 221, 0.3);
}

/* ════════════ RESPONSIVE ════════════ */

@media (max-width: 960px) {
  .day-inner { grid-template-columns: 1fr; gap: 10px; }
  .day-rail {
    position: static;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
  }
  .day-num { font-size: 64px; -webkit-text-stroke-width: 1px; }
  .day-date { margin-top: 0; font-size: 11px; }
  .day-tag { width: 100%; font-size: 16px; }
  .day-zh { margin-bottom: 0; font-size: 24px; order: 5; }

  .hotel-grid { grid-template-columns: 1fr; }
  .card-main { grid-row: auto; }

  .day10-grid { grid-template-columns: 1fr; }
  .ladder-scene { max-height: 380px; padding-top: 12px; }
  .ladder-scene svg { max-height: 380px; }

  .gallery { grid-template-rows: repeat(2, minmax(120px, 170px)); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }

  .nav { padding: 10px 14px; }
  .nav-logo { font-size: 11px; letter-spacing: 0.22em; gap: 7px; }
  .nav-zh { font-size: 20px; }
  .nav-days { gap: 2px; padding: 4px; }
  .nav-days a { padding: 6px 9px; font-size: 11px; }

  .hero { padding: 84px 14px 110px; }
  .hero-title { letter-spacing: 0.02em; }
  .countdown-grid { gap: 5px; }
  .cd-sep { display: none; }
  .countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 420px; }
  .cd-cell { min-width: 0; }

  .route-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(210px, 46vw) minmax(120px, 32vw);
  }
  .gallery .g-big { grid-row: 1; grid-column: 1 / 3; }
  .ph figcaption { left: 8px; bottom: 8px; padding: 5px 10px; font-size: 10px; }

  .tl-ico { flex: 0 0 38px; width: 38px; height: 38px; }
  .tl-ico svg { width: 17px; height: 17px; }
  .tl-beam { left: 19px; }
  .tl--timed .tl-beam { left: calc(19px + 52px); }
  .tl-time { flex: 0 0 40px; font-size: 15px; margin-right: 12px; }
  .tl-item { gap: 13px; padding: 11px 0; }

  .focus-ico { width: 38px; height: 38px; }
  .focus-ico svg { width: 17px; height: 17px; }

  .route-card { min-height: clamp(420px, 115vw, 540px); }
  .rc-num { font-size: 46px; }
  .rc-badge { top: -30px; }
  .ph--wide { aspect-ratio: 16 / 10; }

  .finale { padding-bottom: 120px; }
}

/* Узкие телефоны: прячем текст лого, чтобы nav не переполнялся */
@media (max-width: 430px) {
  .nav-logo-text { display: none; }
  .nav-zh { font-size: 24px; }
}

/* Static-режим (?static=1): для отладки и скриншотов */
html.static { scroll-behavior: auto; }
html.static .hero { min-height: 860px; }

/* Уважение к reduced-motion: показываем всё сразу */
@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal { opacity: 1 !important; transform: none !important; }
}
