/* =========================================================
   «Что входит» — фото с интерактивными зонами
   По мотиву блока с точками на фото в основном референсе.
   Токены и кривые движения — из main.css.
   ========================================================= */
.zones-sec { padding: 0 0 clamp(72px, 8vw, 140px); background: var(--bg); }

/* Вкладки с «бегущей» подложкой */
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; margin-top: 8px; border-radius: var(--pill); background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--hair); }
.tabs__ink { position: absolute; left: 0; top: 5px; bottom: 5px; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: var(--pill); background: linear-gradient(180deg, #3B82FF, var(--blue-600)); box-shadow: 0 10px 22px -12px rgba(31, 107, 255, .9); transition: transform .55s var(--ease-out), width .55s var(--ease-out); }
.tabs__b { position: relative; z-index: 1; min-height: 46px; padding: 0 20px; border-radius: var(--pill); font-weight: 700; font-size: .92rem; color: var(--ink-2); white-space: nowrap; transition: color .4s var(--ease-out); }
.tabs__b:hover { color: var(--blue-700); }
.tabs__b[aria-selected="true"] { color: #fff; }

.zones { position: relative; isolation: isolate; border-radius: var(--r-2xl); overflow: hidden; background: #DDE6F1; box-shadow: 0 2px 6px rgba(14, 26, 43, .04), 0 50px 100px -50px rgba(14, 26, 43, .45); aspect-ratio: 16 / 8.4; min-height: 520px; }
.zones__media { position: absolute; inset: 0; overflow: hidden; }
/* «Камера» медленно смещается к выбранной зоне: масштаб 1.05 вокруг точки */
.zones__stage { position: absolute; left: 0; right: 0; top: 50%; aspect-ratio: 1672 / 941; min-height: 100%; transform-origin: var(--ox, 50%) var(--oy, 50%); transform: translateY(-50%) scale(1.05); transition: transform-origin 1.8s cubic-bezier(.19, 1, .22, 1); }
.zones__stage picture, .zones__stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.zones__stage img { object-fit: cover; }
.zones__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(14, 26, 43, 0) 50%, rgba(14, 26, 43, .18) 100%), linear-gradient(0deg, rgba(14, 26, 43, .32) 0%, rgba(14, 26, 43, 0) 26%); }
.zones__hs { position: absolute; inset: 0; }

/* Точки */
.hs { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: center; gap: 10px; transform: translate(-23px, -50%); -webkit-tap-highlight-color: transparent; }
.hs__dot { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .55); box-shadow: 0 10px 24px -10px rgba(14, 26, 43, .5), inset 0 0 0 1px rgba(255, 255, 255, .8); backdrop-filter: blur(10px) saturate(160%); transition: transform .7s var(--ease-out), background-color .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.hs__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); opacity: 0; }
.zones.is-live .hs__dot::after { animation: hsInvite 2.2s var(--ease-out) 2; animation-delay: calc(var(--k) * 180ms + 300ms); }
@keyframes hsInvite { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.hs__core { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 2px 6px rgba(14, 26, 43, .18); transition: background-color .5s var(--ease-out), color .5s var(--ease-out), transform .7s var(--ease-spring); }
.hs__core svg { width: 13px; height: 13px; }
.hs__label { padding: 8px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, .84); backdrop-filter: blur(12px); box-shadow: 0 10px 24px -14px rgba(14, 26, 43, .5); font-size: var(--fs-xs); font-weight: 700; color: var(--ink); white-space: nowrap; opacity: 0; transform: translateX(-8px); pointer-events: none; transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.hs:hover .hs__dot, .hs:focus-visible .hs__dot { transform: scale(1.08); background: rgba(255, 255, 255, .75); }
.hs:hover .hs__label, .hs:focus-visible .hs__label, .hs.is-active .hs__label { opacity: 1; transform: none; }
.hs.is-active .hs__dot { background: rgba(31, 107, 255, .32); box-shadow: 0 0 0 6px rgba(255, 255, 255, .35), 0 14px 28px -10px rgba(31, 107, 255, .7); }
.hs.is-active .hs__core { background: var(--blue); color: #fff; transform: rotate(45deg); }
.hs:focus-visible { outline: none; }
.hs:focus-visible .hs__dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue); }

/* Панель зоны */
.zones__panel { position: absolute; z-index: 3; top: clamp(16px, 1.6vw, 28px); right: clamp(16px, 1.6vw, 28px); width: min(380px, 34%); }
.zp { display: grid; gap: 18px; padding: clamp(20px, 1.8vw, 28px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .86); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 30px 60px -30px rgba(14, 26, 43, .5), inset 0 0 0 1px rgba(255, 255, 255, .9); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.zp.is-out { opacity: 0; transform: translateY(-4px); }
.zp.is-in .zst { animation: rise .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
.zp__head { display: flex; align-items: center; gap: 14px; }
.zp__draft { align-self: flex-start; margin-left: auto; padding: 3px 8px; border-radius: var(--pill); background: #FFF6DD; color: #7A5300; box-shadow: inset 0 0 0 1px #F3E2AE; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.draft-note { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; font-size: var(--fs-xs); color: #7A5300; text-align: center; }
.zp__ico { width: 48px; height: 48px; flex: none; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, #3B82FF, var(--blue-600)); color: #fff; box-shadow: 0 10px 20px -10px rgba(31, 107, 255, .8); }
.zp__ico svg { width: 22px; height: 22px; }
.zp__kicker { display: block; font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.zp__title { display: block; font-size: 1.32rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.zp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.zp__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.zp__chk { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.zp__chk svg { width: 12px; height: 12px; }
.zp__add { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.zp__cap { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.zp__add a, .zp__add > span:not(.zp__cap) { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.zp__add a { color: var(--blue-700); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.zp__add a:hover { background-size: 100% 1px; }
.zp__add svg { width: 12px; height: 12px; flex: none; }
.zp__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--hair); }
.zp__count { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.zp__count b { color: var(--ink); font-size: 1rem; }
.zp__nav { display: flex; gap: 8px; }
.zp__nav .icon-btn { width: 40px; height: 40px; background: rgba(255, 255, 255, .7); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), color .3s, border-color .3s; }
.zp__nav .icon-btn svg { width: 16px; height: 16px; }

/* Переключатель зон внизу фото */
.zones__chips { position: absolute; z-index: 3; left: clamp(16px, 1.6vw, 28px); bottom: clamp(16px, 1.6vw, 28px); right: calc(min(380px, 34%) + clamp(32px, 3.2vw, 56px)); display: flex; flex-wrap: wrap; gap: 8px; }
.zchip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 10px 24px -16px rgba(14, 26, 43, .6); font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); transition: background-color .5s var(--ease-out), color .5s var(--ease-out), transform .6s var(--ease-out); }
.zchip svg { width: 16px; height: 16px; color: var(--blue); transition: color .5s var(--ease-out); }
.zchip:hover { background: rgba(255, 255, 255, .92); transform: translateY(-2px); }
.zchip.is-active { background: var(--ink); color: #fff; }
.zchip.is-active svg { color: #9CCBFF; }
.zones__credit { position: absolute; z-index: 2; top: auto; bottom: clamp(16px, 1.6vw, 28px); right: clamp(16px, 1.6vw, 28px); left: auto; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 6px rgba(14, 26, 43, .4); }

.zones__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-top: clamp(20px, 2vw, 32px); }
.zones__foot p { margin: 0; max-width: 52ch; color: var(--muted); font-size: var(--fs-sm); }
.zones__ctas { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }

@media (max-width: 1099px) {
  .zones { aspect-ratio: auto; min-height: 0; display: grid; overflow: visible; background: transparent; box-shadow: none; border-radius: 0; gap: 14px; }
  .zones__media { position: relative; aspect-ratio: 1672 / 941; border-radius: var(--r-xl); box-shadow: var(--sh-3); }
  .zones__panel { position: static; width: auto; order: 3; }
  .zp { background: #fff; backdrop-filter: none; box-shadow: var(--sh-2), inset 0 0 0 1px var(--hair); }
  .zones__chips { position: static; order: 2; }
  .zchip { background: #fff; box-shadow: inset 0 0 0 1px var(--hair-2); }
  .zones__credit { right: 14px; bottom: 12px; }
  .hs__label { display: none; }
}
@media (max-width: 719px) {
  .tabs { display: flex; width: 100%; }
  .tabs__b { flex: 1; padding: 0 8px; font-size: .82rem; }
  .hs { transform: translate(-19px, -50%); }
  .hs__dot { width: 38px; height: 38px; }
  .hs__core { width: 22px; height: 22px; }
  .zchip { min-height: 40px; padding: 0 12px 0 10px; }
  .zones__ctas, .zones__ctas .btn { width: 100%; }
}
@media (min-width: 3200px) {
  .hs__dot { width: 64px; height: 64px; }
  .hs { transform: translate(-32px, -50%); }
  .hs__core { width: 36px; height: 36px; }
  .zchip { min-height: 56px; }
  .tabs__b { min-height: 60px; }
}
