/**
 * nebesa.css — стили bespoke-реплики тенанта NEBOSVOD / Небеса (nebesaspa.com).
 * Порт прототипа `barbie/NON_PROJECT/nebosvod-landing.html`, заскоуплен под
 * `.nebesa-site` (как .roxy-site / .vanilia-site / .sm-site).
 * Светлая «небесная» тема: белый фон, голубой акцент, Playfair Display + Manrope.
 */
.nebesa-site {
  --bg: #ffffff;
  --panel: #eef0f3;
  --panel-2: #f5f6f8;
  --txt: #1c1c1e;
  --muted: #7c7f86;
  --muted-2: #a4a7ad;
  --line: #e6e8ec;
  --blue: #2ba3e5;
  --blue-d: #1f93d4;
  --purple: #8b6fd4;
  --red: #e0463c;
  --gold: #c8a36b;
  --wa: #25d366;
  --tg: #2aabee;
  --r: 22px;
  --r-sm: 16px;
  --maxw: 1640px;
  --hdr-h: 78px;

  font-family: var(--font-manrope), system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* клипим горизонтальный вынос облаков, НЕ создавая скролл-контейнер — иначе ломается sticky-хедер */
  position: relative; /* контейнер для слоя облаков-параллакса */
}
.nebesa-site * { box-sizing: border-box; }

/* прозрачные облака по бокам — передний план, параллакс при скролле */
.nebesa-site .neb-clouds { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 6; }
.nebesa-site .neb-cloud { position: absolute; height: auto; will-change: transform; filter: drop-shadow(0 10px 28px rgba(110, 130, 170, .20)); }
.nebesa-site .neb-cloud.left { left: -90px; }
.nebesa-site .neb-cloud.right { right: -90px; }
@media (max-width: 900px) { .nebesa-site .neb-cloud { display: none; } }
.nebesa-site a { color: inherit; text-decoration: none; }
.nebesa-site img { display: block; max-width: 100%; }
.nebesa-site .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.nebesa-site section { position: relative; }
.nebesa-site .serif { font-family: var(--font-playfair), Georgia, serif; }

/* buttons */
.nebesa-site .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: 0.2s ease; white-space: nowrap; font-family: inherit;
}
.nebesa-site .btn-blue { background: var(--blue); color: #fff; }
.nebesa-site .btn-blue:hover { background: var(--blue-d); }
.nebesa-site .btn-ghost { background: #fff; color: var(--txt); border-color: var(--line); }
.nebesa-site .btn-ghost:hover { border-color: var(--muted-2); }

/* watermark поверх фото-плейсхолдера */
.nebesa-site .ph { position: relative; overflow: hidden; background: #cfd3da; }
.nebesa-site .ph::after {
  content: 'NEBOSVOD'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-playfair), serif; font-size: clamp(20px, 4vw, 42px); letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42); font-weight: 600; pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.nebesa-site .ph.has-img::after { content: none; }

/* header */
.nebesa-site .hdr {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nebesa-site .hdr-in { display: flex; align-items: center; gap: 26px; height: var(--hdr-h); }
.nebesa-site .logo { font-family: var(--font-playfair), serif; font-size: 26px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.nebesa-site .hdr .logo { display: inline-flex; align-items: center; flex: none; }
.nebesa-site .hdr .logo img { height: 34px; width: auto; display: block; }
.nebesa-site .nav { display: flex; gap: 22px; align-items: center; margin-left: 8px; }
.nebesa-site .nav a { font-size: 15px; font-weight: 600; color: #2a2a2c; transition: 0.15s; }
.nebesa-site .nav a:hover { color: var(--blue); }
.nebesa-site .nav .more { display: flex; align-items: center; gap: 5px; color: var(--muted); }
.nebesa-site .nav .more::after { content: '▾'; font-size: 11px; }
.nebesa-site .hours { display: flex; gap: 22px; margin-left: auto; font-size: 13px; line-height: 1.3; }
.nebesa-site .hours > div { white-space: nowrap; }
.nebesa-site .hours b { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.nebesa-site .hours span { color: var(--txt); font-weight: 700; }
.nebesa-site .contact { display: flex; align-items: center; gap: 14px; }
.nebesa-site .soc { display: flex; gap: 10px; }
.nebesa-site .soc a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .15s, filter .15s; }
.nebesa-site .soc a:hover { transform: translateY(-1px); filter: brightness(1.07); }
.nebesa-site .soc a svg { width: 20px; height: 20px; display: block; }
.nebesa-site .soc .wa svg { width: 21px; height: 21px; }
.nebesa-site .soc .tg { background: var(--tg); }
.nebesa-site .soc .wa { background: var(--wa); }
.nebesa-site .phone { font-weight: 800; font-size: 15px; white-space: nowrap; max-width: 130px; line-height: 1.1; }

/* мобильное бургер-меню (кнопка скрыта на десктопе, показывается ≤680 в responsive) */
.nebesa-site .neb-burger { display: none; }
.nebesa-site .neb-burger span { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--blue); }
/* off-canvas панель — выезжает справа */
.nebesa-site .neb-drawer-overlay {
  position: fixed; inset: 0; z-index: 998; background: rgba(10, 16, 28, 0.5);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.nebesa-site .neb-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.nebesa-site .neb-drawer {
  position: fixed; top: 0; right: 0; z-index: 999; height: 100%; width: min(82vw, 340px);
  display: flex; flex-direction: column; padding: 22px;
  background: #fff; box-shadow: -20px 0 60px rgba(20, 25, 40, 0.18); overflow-y: auto;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}
.nebesa-site .neb-drawer.is-open { transform: translateX(0); }
.nebesa-site .neb-drawer-close { align-self: flex-end; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--txt); cursor: pointer; }
.nebesa-site .neb-drawer-nav { display: flex; flex-direction: column; margin-top: 6px; }
.nebesa-site .neb-drawer-nav a { font-size: 18px; font-weight: 700; color: var(--txt); padding: 13px 4px; border-bottom: 1px solid var(--line); }
.nebesa-site .neb-drawer-nav a:active { color: var(--blue); }
.nebesa-site .neb-drawer-foot { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.nebesa-site .neb-drawer-phone { font-size: 20px; font-weight: 800; color: var(--txt); }
.nebesa-site .neb-drawer .btn { width: 100%; height: 50px; }
.nebesa-site .neb-drawer-soc { display: flex; gap: 20px; }
.nebesa-site .neb-drawer-soc a { font-size: 15px; font-weight: 600; color: var(--blue); }

/* hero */
.nebesa-site .hero { padding: 18px 0 8px; }
/* coverflow-сцена: горизонтальный трек со слайдами, что физически переезжает */
.nebesa-site .hero-stage { position: relative; overflow: hidden; height: 620px; }
.nebesa-site .hero-track { display: flex; height: 100%; will-change: transform; }
/* ширина слайда = доля сцены (должна совпадать с HERO_SLIDE_FRAC в NebesaHome.tsx) */
.nebesa-site .hero-slide { flex: 0 0 62%; height: 100%; padding: 0 9px; box-sizing: border-box; }
.nebesa-site .hero-slide-img { width: 100%; height: 100%; border-radius: var(--r); background-size: cover; background-position: center; box-shadow: 0 12px 40px rgba(40, 30, 60, .18); opacity: .72; transform: scale(.94); transition: opacity .7s ease, transform .7s ease; }
.nebesa-site .hero-slide.is-active .hero-slide-img { opacity: 1; transform: scale(1); }
/* края тают в белый поверх соседних слайдов */
.nebesa-site .hero-fade { position: absolute; top: 0; bottom: 0; width: 22%; z-index: 2; pointer-events: none; }
.nebesa-site .hero-fade.l { left: 0; background: linear-gradient(to right, #fff 8%, rgba(255, 255, 255, 0) 100%); }
.nebesa-site .hero-fade.r { right: 0; background: linear-gradient(to left, #fff 8%, rgba(255, 255, 255, 0) 100%); }
/* облака над слайдами hero (z-1: над фото, под краями z-2 и текстом z-3) */
.nebesa-site .hero-cloud { position: absolute; z-index: 1; height: auto; pointer-events: none; will-change: transform; filter: drop-shadow(0 6px 18px rgba(60, 80, 120, .22)); }
.nebesa-site .hero-cloud.a { top: 375px; left: calc(4% + 40px); width: 300px; opacity: .95; }
.nebesa-site .hero-cloud.b { top: calc(2% + 150px); right: 3%; width: 476px; opacity: .9; }
.nebesa-site .hero-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; color: #fff; padding: 30px 30px 64px; z-index: 3; pointer-events: none; }
.nebesa-site .hero-inner .btn { pointer-events: auto; }
/* лого вместо текста NEBOSVOD: ширина 1/6 экрана, читаемость над фото — drop-shadow */
.nebesa-site .hero-logo { width: 16.6667vw; min-width: 150px; height: auto; filter: drop-shadow(0 3px 18px rgba(0, 0, 0, 0.45)); }
.nebesa-site .hero-title { font-family: var(--font-playfair), serif; font-weight: 600; font-size: clamp(46px, 8vw, 92px); letter-spacing: 0.04em; line-height: 1; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.3); }
.nebesa-site .hero-sub { margin-top: 18px; font-size: clamp(16px, 2.2vw, 22px); font-weight: 500; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.nebesa-site .hero-note { margin-top: 8px; font-size: 15px; opacity: 0.95; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.nebesa-site .hero-cta { margin-top: 26px; }
.nebesa-site .hero-cta .btn { height: 48px; padding: 0 56px; font-size: 16px; }
.nebesa-site .dots { display: flex; gap: 9px; justify-content: center; padding: 18px 0 2px; }
.nebesa-site .dot { width: 9px; height: 9px; border-radius: 50%; background: #c7ccd3; cursor: pointer; transition: 0.2s; }
.nebesa-site .dot.active { background: var(--blue); width: 10px; height: 10px; }

/* лента миниатюр — едет бесконечно по дуге (rAF-движение): равномерно по горизонтали, y = парабола */
.nebesa-site .strip { padding: 0 0 22px; margin-top: -290px; position: relative; z-index: 5; }
/* overflow-x клипит ленту по бокам, overflow-y видим — чтобы увеличенная при наведении миниатюра не обрезалась */
.nebesa-site .arc { position: relative; overflow-x: clip; overflow-y: visible; }
.nebesa-site .arc-card { position: absolute; left: 0; top: 0; width: 116px; height: 116px; will-change: transform; }
.nebesa-site .arc-card:hover { z-index: 3; }
/* белые края: миниатюры тают, входя/покидая экран */
.nebesa-site .arc-fade { position: absolute; top: 0; bottom: 0; width: 16%; z-index: 2; pointer-events: none; }
.nebesa-site .arc-fade.l { left: 0; background: linear-gradient(to right, #fff 22%, rgba(255, 255, 255, 0) 100%); }
.nebesa-site .arc-fade.r { right: 0; background: linear-gradient(to left, #fff 22%, rgba(255, 255, 255, 0) 100%); }
.nebesa-site .arc-card .inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(60, 40, 80, .18); transition: box-shadow .25s ease, transform .25s ease; }
.nebesa-site .arc-card:hover .inner { box-shadow: 0 0 0 3px #fff, 0 16px 40px rgba(60, 40, 80, .38); transform: scale(1.7); }
.nebesa-site .arc-card .inner.ph::after { font-size: 18px; }

/* радужное вращающееся кольцо (порт CodePen qBveWox) — рендерится только на наведённой карточке */
/* размер кольца — относительно аватара (217% ≈ прежние 252px при десктопном 116px),
   иначе на мобиле (аватар 74px) фикс. 252px выглядел гигантским */
.nebesa-site .arc-card .rrc { position: absolute; left: 50%; top: 50%; width: 217%; height: 217%; transform: translate(-50%, -50%); pointer-events: none; z-index: 1; animation: nebesa-rrc-in .28s ease both; }
/* на touch hover-кольцо не нужно (тап вылезает гигантом вокруг мелкого аватара) */
@media (hover: none) { .nebesa-site .arc-card .rrc { display: none; } }
/* кольцо CodePen-стиль (рисуется+вращается), цвета по мотивам IG-сториз */
.nebesa-site .rrc-ring { fill: none; stroke: #feda75; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transform-origin: center; animation: nebesa-rrc-draw 6s ease-out infinite alternate; }
@keyframes nebesa-rrc-draw { 0% { stroke: #feda75; stroke-dasharray: 1; } 50% { stroke: #d62976; } 100% { stroke: #962fbf; transform: rotate(180deg); stroke-dasharray: 8; } }
@keyframes nebesa-rrc-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.86); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* girls */
.nebesa-site .girls { background: var(--panel); border-radius: 32px; margin: 8px 0; padding: 54px 0 60px; overflow: hidden; }
.nebesa-site .h2 { font-family: var(--font-cormorant), 'Playfair Display', Georgia, serif; font-weight: 300; font-variant: small-caps; font-size: clamp(34px, 5vw, 56px); letter-spacing: 0.02em; }
.nebesa-site .girls .h2 { text-align: center; margin-bottom: 40px; }
.nebesa-site .girls-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
/* flip-карта: при наведении переворачивается, на обороте вторая фотография */
.nebesa-site .gcard .pic { aspect-ratio: 3 / 4.1; border-radius: var(--r-sm); position: relative; perspective: 1100px; }
.nebesa-site .gcard .flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.nebesa-site .gcard:hover .flip { transform: rotateY(180deg); }
.nebesa-site .gcard .face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--r-sm); overflow: hidden; background: linear-gradient(160deg, #cdd2d8, #aeb4bd); }
.nebesa-site .gcard .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* фронт-фото с запасом по высоте — двигается на скролле (параллакс, см. NebesaHome) */
.nebesa-site .gcard .face.front img.gpar { position: absolute; left: 0; top: -14%; width: 100%; height: 128%; object-fit: cover; transform: translateY(var(--gp, 0)); will-change: transform; }
.nebesa-site .gcard .face.back { transform: rotateY(180deg); }
.nebesa-site .gcard .pic .pdot { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); z-index: 2; }
.nebesa-site .gcard .nm { margin-top: 14px; font-weight: 700; font-size: 20px; }
.nebesa-site .gcard .meta { margin-top: 8px; display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.nebesa-site .gcard .meta b { color: var(--txt); font-weight: 700; margin-left: 3px; }
/* Анкеты: слайдер по всем фото + видео (паритет с barbiespa). */
.nebesa-site .gcard .pic.gslider { cursor: pointer; overflow: hidden; }
.nebesa-site .gcard .gslide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.nebesa-site .gcard .gslide.on { opacity: 1; }
.nebesa-site .gcard .gslide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nebesa-site .gcard .gvip { position: absolute; top: 10px; left: 10px; z-index: 3; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; }
.nebesa-site .gcard .gplay { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: rgba(43, 163, 229, .92); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s; }
.nebesa-site .gcard .gplay:hover { background: var(--blue-d); transform: scale(1.06); }
.nebesa-site .gcard .gplay svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.nebesa-site .gcard .gdots { position: absolute; bottom: 11px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.nebesa-site .gcard .gdots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; transition: background .2s; }
.nebesa-site .gcard .gdots i.on { background: #fff; }
/* Видео-лайтбокс анкеты */
.nebesa-site .neb-vlb { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .85); display: flex; align-items: center; justify-content: center; }
.nebesa-site .neb-vlb video { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.nebesa-site .neb-vlb-x { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.nebesa-site .neb-vlb-x:hover { background: rgba(255, 255, 255, .26); }
.nebesa-site .girls-more { display: flex; justify-content: center; margin-top: 40px; }
.nebesa-site .girls-more .btn { height: 46px; padding: 0 40px; }

/* CTA — «апельсиновый небосвод»: закатное небо + светящийся орб-планета */
.nebesa-site .cta {
  position: relative; min-height: 600px; overflow: hidden; margin: 6px 0;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(85% 55% at 50% 14%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(120% 78% at 50% 122%, rgba(255, 150, 66, 0.62), rgba(255, 190, 120, 0) 62%),
    linear-gradient(180deg, #4f97d2 0%, #87bee4 33%, #cbe4f2 58%, #ffd9ad 85%, #ffbf86 100%);
}
/* лёгкие звёзды в верхнем небе (мерцают) */
.nebesa-site .cta::before {
  content: ''; position: absolute; inset: 0 0 45% 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(2px 2px at 18% 26%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1.6px 1.6px at 72% 18%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1.6px 1.6px at 44% 36%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(2px 2px at 88% 30%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(1.4px 1.4px at 30% 12%, rgba(255, 255, 255, 0.7), transparent 60%);
  animation: ctaTwinkle 4.5s ease-in-out infinite;
}
.nebesa-site .cta-watermark {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  width: 100%; height: auto; padding: 0 24px; box-sizing: border-box;
  opacity: 0.2; pointer-events: none; z-index: 1;
}
/* орб-планета */
.nebesa-site .cta-circle {
  position: relative; z-index: 3; width: min(470px, 46vw); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 0 7%; color: #fff; text-align: center;
  background: radial-gradient(circle at 33% 27%, rgba(255, 255, 255, 0.5), rgba(96, 152, 206, 0.32) 42%, rgba(20, 52, 96, 0.66) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(7px) saturate(1.1);
  backdrop-filter: blur(7px) saturate(1.1);
  box-shadow:
    0 40px 90px rgba(18, 56, 102, 0.42),
    inset 0 3px 40px rgba(255, 255, 255, 0.42),
    inset 0 -26px 60px rgba(8, 28, 60, 0.45);
  animation: ctaOrbFloat 8s ease-in-out infinite;
}
/* halo-свечение вокруг орба */
.nebesa-site .cta-circle::before {
  content: ''; position: absolute; inset: -16%; border-radius: 50%; z-index: -2;
  background: radial-gradient(circle, rgba(255, 212, 158, 0.6), rgba(255, 255, 255, 0) 62%);
}
/* кольцо-орбита, медленно вращается */
.nebesa-site .cta-circle::after {
  content: ''; position: absolute; inset: -7%; border-radius: 50%; z-index: -1;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-right-color: rgba(255, 255, 255, 0.08);
  animation: ctaOrbit 16s linear infinite;
}
.nebesa-site .cta-circle h3 {
  font-family: var(--font-cormorant), var(--font-playfair), serif; font-weight: 300; font-variant: small-caps; letter-spacing: 0.02em;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; color: #555; text-shadow: none;
}
.nebesa-site .cta-circle p { margin-top: 14px; font-size: 15px; line-height: 1.5; max-width: min(94%, 380px); color: #555; }
.nebesa-site .cta-circle p b { color: #000; }
.nebesa-site .cta-circle .btn { margin-top: 24px; align-self: center; box-shadow: 0 12px 30px rgba(20, 80, 150, 0.45); }
@keyframes ctaOrbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes ctaOrbit { to { transform: rotate(360deg); } }
@keyframes ctaTwinkle { 0%, 100% { opacity: 0.85; } 50% { opacity: 0.4; } }

/* облака CTA: бесконечно справа→налево, разные скорости (animation-duration) +
   разный параллакс по скроллу (--par задаётся из JS, секционно-относительный).
   Параллакс — на обёртке (translateY), горизонтальный дрейф — на img: не конфликтуют. */
.nebesa-site .cta-clouds { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
/* слой 1 — параллакс (translateY от --par, задаётся из JS) */
.nebesa-site .cta-cloud {
  position: absolute; left: 0; right: 0; transform: translateY(var(--par, 0)); will-change: transform;
}
/* слой 2 — горизонтальный дрейф справа→налево (бесконечно, linear) */
.nebesa-site .cta-cloud-drift {
  position: absolute; left: 100%; top: 0; will-change: transform;
  animation-name: ctaCloudDrift; animation-timing-function: linear; animation-iteration-count: infinite;
}
/* слой 3 — само облако: флип/размер (transform не конфликтует с анимацией) */
.nebesa-site .cta-cloud img {
  display: block; max-width: none; filter: drop-shadow(0 8px 22px rgba(120, 150, 190, 0.22));
}
@keyframes ctaCloudDrift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100vw - 100%)); }
}

/* programs */
.nebesa-site .progs { padding: 56px 0 64px; }
.nebesa-site .progs-head { background: #fff; border-radius: var(--r); padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 14px 40px rgba(20, 25, 40, 0.06); position: relative; z-index: 2; margin-bottom: -30px; }
.nebesa-site .progs-head .h2 { font-size: clamp(30px, 4vw, 48px); }
.nebesa-site .progs-nav { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.nebesa-site .progs-nav .count { font-size: 18px; font-weight: 600; }
.nebesa-site .progs-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; color: var(--txt); transition: 0.15s; }
.nebesa-site .progs-nav button:hover { border-color: var(--blue); color: var(--blue); }
.nebesa-site .progs-track-wrap { position: relative; overflow: hidden; padding-top: 50px; }
.nebesa-site .progs-track { display: flex; gap: 18px; transition: transform 0.4s ease; }
/* Оверлейные стрелки — сигнал, что ленту можно скроллить; гаснут у краёв (is-off). */
.nebesa-site .progs-arrow {
  position: absolute; top: calc(50% + 25px); transform: translateY(-50%);
  z-index: 4; width: 54px; height: 54px; border-radius: 50%;
  border: none; background: var(--blue); cursor: pointer; font-size: 28px; line-height: 1;
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(43, 163, 229, 0.45);
  transition: opacity 0.2s, background 0.15s, transform 0.15s;
}
.nebesa-site .progs-arrow:hover { background: var(--blue-d); transform: translateY(-50%) scale(1.08); }
.nebesa-site .progs-arrow-l { left: 8px; }
.nebesa-site .progs-arrow-r { right: 8px; }
.nebesa-site .progs-arrow.is-off { opacity: 0; pointer-events: none; }
.nebesa-site .pcard { flex: 0 0 calc((100% - 54px) / 4); background: #fff; border-radius: var(--r); padding: 12px 12px 18px; }
.nebesa-site .pcard .pic { aspect-ratio: 16 / 11; border-radius: var(--r-sm); background: linear-gradient(150deg, #9aa6b8, #6f7a8d); position: relative; overflow: hidden; }
/* слой-картинка выше контейнера — двигается на скролле (параллакс, см. NebesaHome) */
.nebesa-site .pcard .pic-img { position: absolute; left: 0; right: 0; top: -14%; height: 128%; background-size: cover; background-position: center; will-change: transform; }
.nebesa-site .pcard .price { margin-top: 14px; font-weight: 800; font-size: 22px; }
.nebesa-site .pcard .price small { font-weight: 600; font-size: 13px; color: var(--muted); margin-left: 8px; }
.nebesa-site .pcard .pttl { margin-top: 8px; font-weight: 700; font-size: 17px; }
.nebesa-site .pcard .pdesc { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Вертикальные плитки программ: высокая картинка (≈9:21), под ней цена+название,
   на ховере — оверлей с описанием поверх картинки. */
.nebesa-site .ptiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 1000px) { .nebesa-site .ptiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .nebesa-site .ptiles { grid-template-columns: repeat(2, 1fr); } }
.nebesa-site .ptile { display: flex; flex-direction: column; }
.nebesa-site .ptile-pic { position: relative; aspect-ratio: 3 / 7; border-radius: var(--r-sm); overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 14px 40px rgba(20, 25, 40, 0.10); }
.nebesa-site .ptile-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; color: #fff; opacity: 0; transition: opacity 0.28s ease; background: linear-gradient(to top, rgba(10, 16, 28, 0.88) 0%, rgba(10, 16, 28, 0.5) 45%, rgba(10, 16, 28, 0) 100%); }
.nebesa-site .ptile:hover .ptile-overlay { opacity: 1; }
.nebesa-site .ptile:hover .ptile-pic { box-shadow: 0 18px 48px rgba(20, 25, 40, 0.18); }
.nebesa-site .ptile-overlay p { font-size: 14px; line-height: 1.55; }
.nebesa-site .ptile-meta { padding: 12px 2px 0; }
.nebesa-site .ptile-price { font-weight: 800; font-size: 20px; color: var(--txt); line-height: 1.2; }
.nebesa-site .ptile-name { margin-top: 5px; font-weight: 600; font-size: 15px; color: var(--muted); }

/* Плитки «Наши программы» на /programs — вдвое ниже (исходный aspect-ratio 3/7 → 6/7) */
.nebesa-site .ptiles--short .ptile-pic { aspect-ratio: 6 / 7; }

/* Категории-фильтры на /programs — это <button>; сбрасываем стиль кнопки + активное состояние */
.nebesa-site .ptile--filter { cursor: pointer; border: 0; margin: 0; padding: 0; background: none; font: inherit; color: inherit; text-align: left; -webkit-appearance: none; appearance: none; }
.nebesa-site .ptile--filter .ptile-pic { outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.15s ease; }
.nebesa-site .ptile--filter.is-active .ptile-pic { outline-color: var(--blue); }
.nebesa-site .ptile--filter.is-active .ptile-name { color: var(--blue); }
.nebesa-site .cat-reset { cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--txt); }
.nebesa-site .cat-reset:hover { border-color: var(--blue); color: var(--blue); }

/* Категории программ — 8 в одну строку (узкие карточки), с переносом на мелких экранах */
.nebesa-site .ptiles--row8 { grid-template-columns: repeat(8, 1fr); gap: 14px; }
.nebesa-site .ptiles--row8 .ptile-price { font-size: 16px; }
.nebesa-site .ptiles--row8 .ptile-name { font-size: 13px; }
/* узкие плитки категорий: крупный читаемый шрифт, но с ограничением по строкам
   (line-clamp + многоточие), чтобы длинный текст не вылезал за верх картинки */
.nebesa-site .ptiles--row8 .ptile-overlay { padding: 12px; }
.nebesa-site .ptiles--row8 .ptile-overlay p {
  font-size: 13px; line-height: 1.34;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden;
}
@media (max-width: 1100px) { .nebesa-site .ptiles--row8 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .nebesa-site .ptiles--row8 { grid-template-columns: repeat(2, 1fr); } }

/* /programs: десктоп — квадраты-фильтры + сетка; телефон — секции по категориям.
   На телефоне квадраты не нужны: каждая категория = заголовок + горизонтальная лента. */
.nebesa-site .progs-mob { display: none; }
@media (max-width: 560px) {
  .nebesa-site .progs-desk { display: none; }
  .nebesa-site .progs-mob { display: block; margin-top: 10px; }
  .nebesa-site .progs-mob-cat { margin-top: 28px; }
  /* Шапка ленты: заголовок по центру, круглые стрелки по бокам от него. */
  .nebesa-site .progs-mob-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 12px; }
  .nebesa-site .progs-mob-ttl {
    margin: 0; text-align: center;
    font-family: var(--font-cormorant), var(--font-playfair), Georgia, serif;
    /* uppercase вместо font-variant:small-caps: в iOS Safari у Cormorant нет
       small-caps-глифов для латиницы/цифр (DELUXE, VIP, «2») → tofu «NO GLYPH». */
    font-weight: 300; text-transform: uppercase; letter-spacing: 0.02em;
    font-size: 26px; line-height: 1.05;
  }
  .nebesa-site .progs-mob-row {
    display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 6px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .nebesa-site .progs-mob-row::-webkit-scrollbar { display: none; }
  .nebesa-site .progs-mob-card { flex: 0 0 46%; scroll-snap-align: start; }
  .nebesa-site .progs-mob-pic {
    position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden;
    background-size: cover; background-position: center; box-shadow: 0 12px 30px rgba(20, 25, 40, 0.12);
  }
  /* Круглые стрелки по бокам заголовка; гаснут у краёв (is-off), но занимают
     место — чтобы заголовок оставался ровно по центру. */
  .nebesa-site .progs-mob-arrow {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #000;
    background: #fff; color: #000; font-size: 20px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(20, 25, 40, 0.12); transition: opacity 0.2s;
  }
  .nebesa-site .progs-mob-arrow.is-off { opacity: 0; pointer-events: none; }
  .nebesa-site .progs-mob-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; color: #fff;
    background: linear-gradient(to top, rgba(10, 16, 28, 0.92) 0%, rgba(10, 16, 28, 0.45) 60%, rgba(10, 16, 28, 0) 100%);
  }
  .nebesa-site .progs-mob-price { font-weight: 800; font-size: 16px; line-height: 1.15; }
  .nebesa-site .progs-mob-dur { font-weight: 500; font-size: 12px; color: rgba(255, 255, 255, 0.75); }
  .nebesa-site .progs-mob-name { margin-top: 4px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
}

/* Подпись внутри карточки: цена+название поверх фото, описание выезжает снизу по ховеру.
   Цена/название видны всегда; при наведении блок подписи подрастает снизу — текст
   приподнимается, под ним плавно раскрывается описание. */
.nebesa-site .ptiles--cap .ptile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px;
  color: #fff;
  background: linear-gradient(to top, rgba(10, 16, 28, 0.92) 0%, rgba(10, 16, 28, 0.5) 55%, rgba(10, 16, 28, 0) 100%);
}
.nebesa-site .ptiles--cap .ptile-price { color: #fff; font-weight: 800; font-size: 18px; line-height: 1.15; }
.nebesa-site .ptiles--cap .ptile-dur { color: rgba(255, 255, 255, 0.7); font-weight: 500; font-size: 12px; margin-left: 6px; }
.nebesa-site .ptiles--cap .ptile-name { margin-top: 3px; color: rgba(255, 255, 255, 0.92); font-weight: 600; font-size: 14px; }
.nebesa-site .ptiles--cap .ptile-desc {
  margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 12.5px; line-height: 1.45;
  max-height: 0; opacity: 0; transform: translateY(6px); overflow: hidden;
  transition: max-height 0.34s ease, opacity 0.3s ease, transform 0.34s ease, margin-top 0.34s ease;
}
.nebesa-site .ptiles--cap .ptile:hover .ptile-desc { max-height: 240px; opacity: 1; transform: translateY(0); margin-top: 8px; }
.nebesa-site .ptiles--cap .ptile:hover .ptile-pic { box-shadow: 0 18px 48px rgba(20, 25, 40, 0.18); }

/* Появление карточек при фильтрации: грид перемонтируется (key) → анимация играет заново */
@keyframes nebFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.nebesa-site .ptiles--anim .ptile { animation: nebFadeUp 0.42s ease both; }
@media (prefers-reduced-motion: reduce) { .nebesa-site .ptiles--anim .ptile { animation: none; } }

/* about — две колонки: слева текст «О салоне», справа 2×2 лотти-блоки */
.nebesa-site .about { padding: 60px 0 0; position: relative; overflow: hidden; }
.nebesa-site .about .h2 { margin-bottom: 28px; }
.nebesa-site .about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.nebesa-site .about-text p { font-size: 16px; line-height: 1.7; color: #3a3d44; margin-bottom: 16px; }
.nebesa-site .about-watermark { font-family: var(--font-playfair), serif; font-weight: 600; font-size: clamp(90px, 18vw, 260px); letter-spacing: 0.02em; line-height: 0.9; margin-top: 30px; color: #15151a; white-space: nowrap; overflow: hidden; }

/* преимущества — 2×2 блока (иконка флоатится, текст её обтекает) */
.nebesa-site .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.nebesa-site .feature {
  display: flow-root; /* содержит флоат иконки */
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 24px;
  box-shadow: 0 12px 36px rgba(20, 25, 40, 0.05); transition: transform .25s ease, box-shadow .25s ease;
}
.nebesa-site .feature:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(20, 25, 40, 0.09); }
/* иконка обтекается текстом: float влево, текст идёт справа и снизу */
.nebesa-site .feature-icon { position: relative; float: left; margin: 2px 18px 6px 0; opacity: .9; shape-outside: inset(0 round 18px); }
.nebesa-site .feature-icon svg { display: block; width: 100%; height: 100%; }
.nebesa-site .feature-icon-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* длинные слова (напр. «Высококвалифицированные») переносим, иначе они целиком
   сбрасываются под иконку и текст перестаёт её обтекать */
.nebesa-site .feature-ttl { font-family: var(--font-playfair), serif; font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--txt); margin-bottom: 8px; overflow-wrap: break-word; hyphens: auto; }
.nebesa-site .feature-desc { font-size: 15px; line-height: 1.6; color: var(--muted); overflow-wrap: break-word; hyphens: auto; }
/* узкие экраны: колонки в стопку, лотти-блоки на всю ширину */
@media (max-width: 980px) { .nebesa-site .about-layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .nebesa-site .features-grid { grid-template-columns: 1fr; } }

/* interiors */
.nebesa-site .inter { background: var(--panel-2); border-radius: 32px; margin: 40px 0; padding: 54px 0 60px; }
.nebesa-site .inter .h2 { text-align: center; margin-bottom: 40px; }
.nebesa-site .inter-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 240px; gap: 16px; }
.nebesa-site .itile { border-radius: var(--r-sm); position: relative; background-size: cover; background-position: center; }
.nebesa-site .itile.big { grid-row: span 1; background: linear-gradient(135deg, #a86fd0, #5fbfae); }
.nebesa-site .itile.a { background: linear-gradient(150deg, #d14fb0, #7a3fb0); }
.nebesa-site .itile.b { background: linear-gradient(150deg, #3fb98f, #2a8f7a); }
.nebesa-site .itile.c { grid-column: span 1; background: linear-gradient(150deg, #e0463c, #8b2f6b); }
.nebesa-site .itile.d { grid-column: span 2; background: linear-gradient(150deg, #b9a98f, #8a7b66); }

/* footer */
.nebesa-site .foot { background: #16171b; color: #cfd2d8; padding: 56px 0 30px; margin-top: 10px; }
.nebesa-site .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.nebesa-site .foot .logo { color: #fff; margin-bottom: 14px; }
.nebesa-site .foot-logo { height: 40px; width: auto; display: block; margin-bottom: 16px; }
@media (max-width: 760px) { .nebesa-site .program-detail { grid-template-columns: 1fr !important; } }

/* Возрастной барьер 18+ */
.nebesa-site .agegate {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(10, 16, 28, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.nebesa-site .agegate-card {
  width: min(430px, 100%); background: #fff; border-radius: var(--r); text-align: center;
  padding: clamp(28px, 5vw, 46px); box-shadow: 0 30px 90px rgba(10, 30, 60, 0.45);
}
.nebesa-site .agegate-logo { height: 46px; width: auto; display: block; margin: 0 auto 18px; }
.nebesa-site .agegate-title {
  font-family: var(--font-cormorant), 'Playfair Display', serif; font-weight: 300; font-variant: small-caps;
  letter-spacing: 0.02em; font-size: clamp(30px, 5vw, 44px); color: var(--txt); line-height: 1.1;
}
.nebesa-site .agegate-text { margin-top: 12px; color: #3a3d44; font-size: 15px; line-height: 1.6; }
.nebesa-site .agegate-btns { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.nebesa-site .agegate-note { margin-top: 18px; color: var(--muted); font-size: 12px; }

/* ── Jobs modal «Хочешь работать у нас?» ─────────────────────────────────── */
.nebesa-site .njm {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(10, 16, 28, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  overflow-y: auto;
}
.nebesa-site .njm-card {
  position: relative; width: min(460px, 100%); background: #fff; border-radius: var(--r);
  padding: clamp(26px, 4.5vw, 40px); box-shadow: 0 30px 90px rgba(10, 30, 60, 0.45); margin: auto;
}
.nebesa-site .njm-close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: none; cursor: pointer;
  background: transparent; color: var(--muted); font-size: 28px; line-height: 1; border-radius: 50%;
}
.nebesa-site .njm-close:hover { background: #f0f2f5; color: var(--txt); }
.nebesa-site .njm-title {
  font-family: var(--font-cormorant), 'Playfair Display', serif; font-weight: 300; font-variant: small-caps;
  letter-spacing: 0.02em; font-size: clamp(28px, 4.5vw, 40px); color: var(--txt); line-height: 1.1;
}
.nebesa-site .njm-text { margin-top: 10px; color: #3a3d44; font-size: 15px; line-height: 1.6; }
.nebesa-site .njm-form { display: flex; flex-direction: column; }
.nebesa-site .njm-label {
  display: flex; flex-direction: column; gap: 6px; margin-top: 16px;
  font-size: 13px; color: var(--muted); letter-spacing: 0.02em;
}
.nebesa-site .njm-req { color: var(--blue); margin-left: 3px; }
.nebesa-site .njm-input {
  width: 100%; font-size: 15px; color: var(--txt); background: #f7f9fb;
  border: 1px solid #e3e7ec; border-radius: 12px; padding: 11px 14px; font-family: inherit;
}
.nebesa-site .njm-input:focus { outline: none; border-color: var(--blue); background: #fff; }
.nebesa-site .njm-textarea { resize: vertical; min-height: 72px; }
.nebesa-site .njm-file { font-size: 14px; color: #3a3d44; }
.nebesa-site .njm-files { margin-top: 8px; font-size: 13px; color: var(--blue); }
.nebesa-site .njm-error { margin-top: 14px; color: #d63a3a; font-size: 14px; }
.nebesa-site .njm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.nebesa-site .njm-note { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.nebesa-site .njm-done { text-align: center; }
.nebesa-site .njm-done .btn { margin-top: 22px; }
.nebesa-site .foot p { font-size: 14px; line-height: 1.6; color: #9aa0a8; }
.nebesa-site .foot h4 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #7e8590; margin-bottom: 16px; font-weight: 700; }
.nebesa-site .foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nebesa-site .foot a { font-size: 14px; color: #cfd2d8; }
.nebesa-site .foot a:hover { color: #fff; }
.nebesa-site .foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: #7e8590; flex-wrap: wrap; gap: 8px; }

/* chat widget */
.nebesa-site .chat-wrap { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.nebesa-site .chat-tip { background: #fff; border-radius: 16px; padding: 14px 18px; max-width: 300px; box-shadow: 0 18px 50px rgba(20, 25, 40, 0.18); font-size: 14px; line-height: 1.45; color: #3a3d44; }
.nebesa-site .chat-tip b { font-weight: 700; }
.nebesa-site .chat-tip .x { float: right; cursor: pointer; color: var(--muted-2); margin-left: 10px; }
.nebesa-site .chat-btn { width: 72px; height: 72px; border-radius: 50%; cursor: pointer; position: relative; background: radial-gradient(circle at 35% 30%, #b79cf0, #7c4ddb 70%); box-shadow: 0 14px 36px rgba(124, 77, 219, 0.45); display: grid; place-items: center; color: #fff; font-size: 26px; border: 3px solid rgba(255, 255, 255, 0.5); }
.nebesa-site .chat-btn .badge { position: absolute; top: -2px; left: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }

/* responsive */
@media (max-width: 1080px) {
  .nebesa-site .hours { display: none; }
  .nebesa-site .hero-stage { height: 480px; }
  .nebesa-site .hero-slide { flex-basis: 82%; }
  .nebesa-site .girls-grid { grid-template-columns: repeat(2, 1fr); }
  .nebesa-site .pcard { flex: 0 0 calc((100% - 36px) / 3); }
  .nebesa-site .about-cols { grid-template-columns: 1fr; gap: 0; }
  .nebesa-site .inter-grid { grid-template-columns: 1fr 1fr; }
  .nebesa-site .itile.big, .nebesa-site .itile.d { grid-column: span 2; }
  .nebesa-site .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  /* на телефоне навигация и контакты уходят в бургер-меню */
  .nebesa-site .nav, .nebesa-site .contact { display: none; }
  .nebesa-site .neb-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  /* меньше боковых отступов на телефоне — пропадает «пустое место» слева */
  .nebesa-site .wrap { padding: 0 16px; }
  /* «Наши девушки» — masonry в 2 колонки (CSS columns: не вылезает за край) */
  .nebesa-site .girls-grid { display: block; columns: 2; column-gap: 14px; grid-template-columns: none; }
  .nebesa-site .girls-grid .gcard { break-inside: avoid; margin: 0 0 18px; }
  .nebesa-site .pcard { flex: 0 0 100%; }
  .nebesa-site .cta-circle { width: min(86vw, 420px); margin: 0 auto; }
  .nebesa-site .cta { justify-content: center; }
  .nebesa-site .inter-grid { grid-template-columns: 1fr; }
  .nebesa-site .itile.big, .nebesa-site .itile.c, .nebesa-site .itile.d { grid-column: span 1; }
  .nebesa-site .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ИНТЕРЬЕРЫ — порт s-interior с nebesaspa.com (масонри 6n + фрост-стекло + облако + лайтбокс) */
.nebesa-site .intr { position: relative; margin: 8px 0; }
.nebesa-site .intr-box { position: relative; background: var(--panel); border-radius: 24px; overflow: hidden; padding: 28px 16px 40px; }
.nebesa-site .intr-wrap { position: relative; z-index: 2; }
.nebesa-site .intr-title { text-align: center; font-family: var(--font-cormorant), var(--font-playfair), serif; font-weight: 300; font-variant: small-caps; letter-spacing: 0.02em; font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 28px; }
.nebesa-site .intr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nebesa-site .intr-cell { flex: 1 1 auto; aspect-ratio: 0.67 / 1; padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; border-radius: 16px; }
.nebesa-site .intr-cell img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; transition: transform .45s ease; }
.nebesa-site .intr-cell:hover img { transform: scale(1.05); }
.nebesa-site .intr-cloud { position: absolute; bottom: 0; right: 0; z-index: 1; width: 80%; transform: translate(22%, 36%); pointer-events: none; }
@media (max-width: 879px) { .nebesa-site .intr-cloud { display: none; } }
@media (min-width: 880px) {
  .nebesa-site .intr-box { border-radius: 40px; padding: 60px 0; }
  .nebesa-site .intr-wrap { backdrop-filter: blur(5px); background: rgba(255, 255, 255, .6); border-radius: 32px; padding: 40px 24px 56px; margin: 0 24px; }
}
@media (min-width: 1024px) {
  .nebesa-site .intr-grid { display: flex; flex-wrap: wrap; gap: 6px; }
  .nebesa-site .intr-cell:nth-child(6n), .nebesa-site .intr-cell:nth-child(6n - 5) { aspect-ratio: 1.42 / 1; width: 52%; }
  .nebesa-site .intr-cell:nth-child(6n - 4), .nebesa-site .intr-cell:nth-child(6n - 3), .nebesa-site .intr-cell:nth-child(6n - 2), .nebesa-site .intr-cell:nth-child(6n - 1) { aspect-ratio: 0.64 / 1; width: 23%; }
}
/* лайтбокс */
.nebesa-site .intr-lb { position: fixed; inset: 0; z-index: 200; background: rgba(15, 20, 35, .88); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.nebesa-site .intr-lb-img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); cursor: default; }
.nebesa-site .intr-lb-x { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.nebesa-site .intr-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.nebesa-site .intr-lb-nav.prev { left: 18px; }
.nebesa-site .intr-lb-nav.next { right: 18px; }
.nebesa-site .intr-lb-x:hover, .nebesa-site .intr-lb-nav:hover { background: rgba(255, 255, 255, .26); }
