/* ===========================================================
   ФОМА — design tokens
   =========================================================== */
:root{
  --bg: #05070c;
  --bg-soft: #0a0e17;
  --surface: rgba(16, 23, 34, 0.62);
  --surface-hover: rgba(22, 32, 46, 0.8);
  --border: rgba(140, 200, 255, 0.16);
  --border-hover: rgba(140, 210, 255, 0.45);
  --accent: #5fd4ff;
  --accent-soft: #a9ecff;
  --accent-dim: rgba(95, 212, 255, 0.35);
  --text-primary: #f4f8fb;
  --text-secondary: #d6dfe8;
  --text-tertiary: #71809350;
  --text-tertiary-solid: #71809a;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ background:var(--bg); scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text-primary);
  font-family:var(--font-body);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
body.modal-open{ overflow:hidden; }
h1,h2,h3{ font-family:var(--font-display); font-weight:700; letter-spacing:-0.01em; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ list-style:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

/* ===========================================================
   Grain overlay
   =========================================================== */
#grain{
  position:fixed; inset:0; z-index:60; pointer-events:none;
  opacity:0.045; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===========================================================
   Cursor lens
   =========================================================== */
#cursor-lens{
  position:fixed; top:0; left:0; width:34px; height:34px;
  border-radius:50%;
  border:1px solid var(--border-hover);
  box-shadow:0 0 24px 4px var(--accent-dim), inset 0 0 12px rgba(95,212,255,0.25);
  transform:translate(-50%,-50%);
  pointer-events:none; z-index:55;
  mix-blend-mode:screen;
  opacity:0;
  transition:opacity .3s var(--ease), width .25s var(--ease), height .25s var(--ease);
  will-change:transform;
}
#cursor-lens.active{ opacity:1; }
#cursor-lens.hover{ width:64px; height:64px; }
#cursor-lens::before, #cursor-lens::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:1px solid var(--accent);
  opacity:0;
}
#cursor-lens.active::before, #cursor-lens.active::after{
  animation:cursor-pulse 2.2s var(--ease) infinite;
}
#cursor-lens::after{ animation-delay:1.1s; }
@keyframes cursor-pulse{
  0%{ transform:scale(1); opacity:0.55; }
  100%{ transform:scale(2.4); opacity:0; }
}
@media (hover:none), (pointer:coarse){
  #cursor-lens{ display:none; }
}

/* ===========================================================
   Progress bar
   =========================================================== */
#progress-bar{
  position:fixed; top:0; left:0; width:100%; height:2px; z-index:70;
  background:rgba(255,255,255,0.06);
}
#progress-fill{
  height:100%; width:0%;
  background:linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow:0 0 10px var(--accent-dim);
  transition:width .08s linear;
}

/* Подсказка для встроенных браузеров мессенджеров (Telegram и т.п.) —
   там тяжёлая scroll-анимация иногда не работает вообще. */
#webview-banner{
  position:fixed; top:0; left:0; right:0; z-index:80;
  display:flex; align-items:center; gap:10px;
  padding:10px 44px 10px 16px;
  background:rgba(8,12,20,0.95); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
  font-size:12.5px; line-height:1.4; color:var(--text-secondary);
}
#webview-banner[hidden]{ display:none; }
#webview-banner-close{
  position:absolute; top:6px; right:8px; width:28px; height:28px;
  border:none; background:none; color:var(--text-tertiary-solid);
  font-size:20px; line-height:1; cursor:pointer;
}
#webview-banner-close:hover{ color:var(--text-secondary); }

/* ===========================================================
   Preloader
   =========================================================== */
#preloader{
  position:fixed; inset:0; z-index:100;
  background:var(--bg);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:22px;
  transition:opacity .7s var(--ease), visibility .7s var(--ease);
}
#preloader.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
#preloader-logo{ width:min(46vw, 220px); opacity:0.94; }
#preloader-track{
  width:min(60vw, 280px); height:2px; background:rgba(255,255,255,0.08); border-radius:2px; overflow:hidden;
}
#preloader-fill{
  height:100%; width:0%; background:var(--accent); box-shadow:0 0 10px var(--accent-dim);
  transition:width .2s var(--ease);
}
#preloader-percent{
  font-size:12px; letter-spacing:0.14em; color:var(--text-tertiary-solid); font-variant-numeric:tabular-nums;
}

/* ===========================================================
   Header
   =========================================================== */
#site-header{
  position:fixed; top:0; left:0; right:0; z-index:40;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:22px clamp(20px,4vw,56px);
  pointer-events:none;
  opacity:1; transform:translateY(0);
  transition:opacity .4s var(--ease), transform .4s var(--ease);
}
#site-header .brand, #site-header .header-cta, .site-nav, .header-actions{ pointer-events:auto; }
#site-header.is-header-hidden{ opacity:0; transform:translateY(-16px); }
#site-header.is-header-hidden .brand,
#site-header.is-header-hidden .header-cta,
#site-header.is-header-hidden .site-nav,
#site-header.is-header-hidden .header-actions{ pointer-events:none; }
.brand{
  font-family:var(--font-display); font-size:15px; letter-spacing:0.12em;
  display:flex; flex-direction:column; line-height:1.3; flex:none;
}
.brand span{
  font-family:var(--font-body); font-size:9px; letter-spacing:0.16em; color:var(--text-tertiary-solid); font-weight:500;
}
.site-nav{
  display:flex; align-items:center; gap:clamp(16px,2vw,30px);
  font-size:15px; font-weight:500; letter-spacing:0.01em; color:var(--text-primary);
}
.site-nav a{
  position:relative; display:inline-block; padding-bottom:6px;
  transition:color .25s var(--ease); white-space:nowrap;
}
.site-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1.5px;
  background:linear-gradient(90deg, var(--accent), var(--accent-soft));
  border-radius:2px; transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible{ color:var(--accent-soft); }
.site-nav a:hover::after, .site-nav a:focus-visible::after{
  transform:scaleX(1); box-shadow:0 0 8px var(--accent-dim);
}
.header-actions{ display:flex; align-items:center; gap:12px; flex:none; }
.lang-toggle{
  font-family:var(--font-body); font-size:11px; font-weight:600; letter-spacing:0.04em;
  padding:8px 12px; border-radius:100px; cursor:pointer;
  border:1px solid var(--border); background:rgba(8,12,20,0.4); color:var(--text-secondary);
  transition:border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.lang-toggle:hover{ border-color:var(--border-hover); background:rgba(95,212,255,0.08); color:var(--accent-soft); }
.header-cta{
  font-size:12px; letter-spacing:0.06em; padding:9px 18px;
  border:1px solid var(--border); border-radius:100px;
  background:rgba(8,12,20,0.4); backdrop-filter:blur(6px);
  transition:border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.header-cta:hover{ border-color:var(--border-hover); background:rgba(95,212,255,0.08); color:var(--accent-soft); }

.nav-burger{
  display:none; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  width:36px; height:36px; padding:0; flex:none; cursor:pointer;
  border:1px solid var(--border); border-radius:10px; background:rgba(8,12,20,0.4);
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.nav-burger:hover{ border-color:var(--border-hover); background:rgba(95,212,255,0.08); }
.nav-burger span{
  display:block; width:16px; height:1.5px; background:var(--text-primary);
  transition:transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-burger.is-open span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2){ opacity:0; }
.nav-burger.is-open span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

.mobile-nav{
  display:none;
  position:fixed; top:0; left:0; right:0; z-index:39;
  flex-direction:column; gap:0;
  padding:78px 20px 16px;
  background:rgba(8,12,20,0.97); backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
  transform:translateY(-100%); opacity:0; pointer-events:none;
  transition:transform .35s var(--ease), opacity .3s var(--ease);
}
.mobile-nav.is-open{ transform:translateY(0); opacity:1; pointer-events:auto; }
.mobile-nav a{
  padding:15px 4px; border-bottom:1px solid rgba(255,255,255,0.08);
  font-size:16px; color:var(--text-secondary);
}
.mobile-nav a:last-child{ border-bottom:none; }
.mobile-nav a:hover, .mobile-nav a:active{ color:var(--accent-soft); }

@media (max-width:1100px){
  .site-nav{ display:none; }
  .nav-burger{ display:flex; }
  .mobile-nav{ display:flex; }
}

/* ===========================================================
   Scroll stage
   =========================================================== */
#scroll-stage{ position:relative; }
.stage-sticky{
  position:sticky; top:0; height:100vh; width:100%;
  overflow:hidden; background:#000;
}
#frame-canvas{
  position:absolute; inset:0; width:100%; height:100%;
  display:block;
}
.stage-vignette{
  position:absolute; inset:0;
  background:radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%),
             linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.5) 100%);
  pointer-events:none;
}

.stage-content{
  position:relative; z-index:5; height:100%;
  display:flex; align-items:center; justify-content:center;
  padding:0 clamp(28px, 14vw, 240px);
}
.stage-layer{
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  opacity:0; pointer-events:none;
  will-change:opacity, transform;
}
.stage-layer.is-visible{ pointer-events:auto; }

.eyebrow{
  font-size:12px; letter-spacing:0.22em; text-transform:uppercase;
  color:var(--accent-soft); margin-bottom:18px; font-weight:600;
}

/* Hero */
#hero-block{ align-items:flex-end; text-align:right; margin-right:clamp(0px, 3vw, 48px); }
#hero-block h1{
  font-size:clamp(30px, 5.4vw, 68px); line-height:1.14; max-width:15ch;
  text-wrap:balance;
}
.hero-list{
  margin-top:28px; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 14px;
  font-size:13px; letter-spacing:0.03em; color:var(--text-secondary);
}
.hero-list li{
  border:1px solid var(--border); border-radius:100px;
  background:rgba(8,12,20,0.35);
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.hero-list li:hover{ border-color:var(--border-hover); background:rgba(95,212,255,0.1); }
.hero-list a{ display:block; padding:6px 14px; color:inherit; }

/* Continuation stage: video that picks up right where anim-web ends */
#continuation-block{ transition:opacity .35s linear; }
#final-block{ transition:opacity .35s linear; }
.continuation-panel{
  position:absolute; inset:0;
  width:100%; height:100%;
}
.continuation-video{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%;
  object-fit:cover; background:#000;
}
/* Планшет в портретной ориентации шире телефона — вертикальную композицию
   с панелями надо показывать целиком (поля по бокам), а не обрезать. */
@media (orientation:portrait) and (min-width:561px) and (max-width:1024px){
  .continuation-video{ object-fit:contain; }

  /* Футажи: своя, отдельно нарисованная плашка-плёнка под ширину планшета
     (мобильная версия слишком узкая и вытянутая). Координаты белого
     "экрана" под видео измерены напрямую по картинке 820×1180:
     x 36–71%, y 9.15–25.42% — в vw, потому что background-size:100% auto
     растягивает картинку по ширине блока, и высота от этого тоже гуляет
     вместе с ней (820:1180 → высота фона = 143.9vw). */
  .futazhi-bg{ display:none; }
  .futazhi-block{
    background-image:url("assets/ai-futazhi-dlya-kontserta-fon-tablet.webp?v=2");
    background-size:100% auto; background-position:top center; background-repeat:no-repeat;
  }
  .futazhi-center{ padding-top:calc(36.59vw + 24px); }
  .futazhi-video{
    left:36%; width:35%; top:13.17vw; height:23.42vw;
  }
}
.continuation-title{
  position:absolute; z-index:2; right:6%; top:8%; margin:0;
  text-align:right;
  font-family:var(--font-body); font-weight:700;
  font-size:clamp(15px,1.6vw,22px); color:var(--text-primary);
  text-shadow:0 2px 10px rgba(0,0,0,0.8);
}
.continuation-caption{
  position:absolute; z-index:2; max-width:min(15%, 170px);
  display:block; text-align:left; cursor:pointer;
  background:rgba(8,12,20,0.6); border:1px solid var(--border-hover); border-radius:12px;
  padding:12px 16px; backdrop-filter:blur(8px);
  text-shadow:0 2px 10px rgba(0,0,0,0.85);
  transition:background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.continuation-caption:hover, .continuation-caption:focus-visible{
  background:rgba(95,212,255,0.16); border-color:var(--accent); transform:translateY(-2px);
}
.continuation-caption h3{
  font-family:var(--font-body); font-weight:700;
  font-size:clamp(13px,1.3vw,17px); margin-bottom:8px; color:var(--text-primary);
}
.continuation-caption p{
  font-size:clamp(10.5px,1vw,13px); line-height:1.5; color:var(--text-secondary);
}
.cap-music, .cap-futazhi, .cap-sajty{ text-align:center; width:180px; max-width:180px; }
.cap-music{ left:14%; top:11%; }
.cap-futazhi{ left:11%; top:34%; }
.cap-sajty{ left:14%; top:67%; }
.cap-prezentacii{ left:74%; top:20%; }
.cap-videomaker{ left:80%; top:65%; }

/* Final */
#final-block{ max-width:640px; margin:0 auto; }
.final-list{ display:flex; flex-direction:column; gap:14px; margin-bottom:34px; }
.final-list li{
  font-family:var(--font-display); font-style:italic;
  font-size:clamp(15px, 1.9vw, 20px); line-height:1.5; color:var(--text-primary);
}

.cta-button{
  display:inline-block; padding:14px 34px; border-radius:100px;
  background:var(--accent); color:#031018; font-weight:600; font-size:14px; letter-spacing:0.02em;
  box-shadow:0 0 0 0 var(--accent-dim);
  transition:box-shadow .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
}
.cta-button:hover{
  box-shadow:0 0 32px 4px var(--accent-dim);
  transform:translateY(-2px);
  background:var(--accent-soft);
}

/* Scroll hint */
#scroll-hint{
  position:absolute; bottom:34px; left:50%; transform:translateX(-50%);
  z-index:6; display:flex; flex-direction:column; align-items:center; gap:6px;
  color:var(--text-secondary); font-size:11px; letter-spacing:0.16em; text-transform:uppercase;
  animation:pulse-hint 2.2s ease-in-out infinite;
  transition:opacity .5s var(--ease);
}
#scroll-hint svg{ width:16px; height:16px; }
#scroll-hint.is-hidden{ opacity:0; animation:none; }
@keyframes pulse-hint{
  0%,100%{ transform:translate(-50%,0); opacity:0.55; }
  50%{ transform:translate(-50%,6px); opacity:1; }
}

/* ===========================================================
   Section descriptions (anchors from tile links)
   =========================================================== */
.sections-detail{
  position:relative; z-index:2;
  background:var(--bg-soft);
  padding:min(6vw, 56px) clamp(20px,6vw,100px) 0;
  display:flex; flex-direction:column; gap:48px;
  border-top:1px solid var(--border);
}
.futazhi-block{
  position:relative; width:100vw; margin-left:calc(50% - 50vw);
  min-height:100vh; overflow:hidden; background:#000;
  scroll-margin-top:90px;
  display:flex; align-items:center; justify-content:center;
}
.futazhi-bg{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover;
}
.futazhi-eyebrow{ position:absolute; z-index:2; left:clamp(20px,4vw,64px); top:clamp(24px,6vh,56px); margin:0; }

/* Vertical video carousel, right edge — user drives it with the mouse wheel
   (plain overflow-y:auto, no custom JS needed), a mask-image fades cards
   out near the top/bottom so they read as sliding in/out of the screen. */
.futazhi-video-carousel{
  position:absolute; z-index:1; right:-30px; top:0; height:100%;
  width:280px; overflow-y:auto; overflow-x:hidden;
  scrollbar-width:none; -ms-overflow-style:none;
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.futazhi-video-carousel::-webkit-scrollbar{ display:none; }
.futazhi-video-carousel-track{
  display:flex; flex-direction:column; align-items:flex-end; gap:26px;
  padding:42vh 0;
}
.futazhi-video-carousel-card{
  flex:none; width:230px; height:230px; margin-right:30px;
  border-radius:20px; overflow:hidden;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 20px 50px rgba(0,0,0,0.5);
  background:#000;
}
.futazhi-video-carousel-card video{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:560px), (orientation:portrait) and (max-width:1024px){
  .futazhi-video-carousel{ display:none; }
}

/* Horizontal video carousel — mobile only, sits before the accordion
   list. Same idea as the desktop one but sideways: swipe/auto-scroll
   moves right to left, fading at the left/right edges. */
.futazhi-video-carousel-mobile{ display:none; }
.futazhi-video-carousel-mobile-track{
  display:flex; flex-direction:row; align-items:center; gap:14px;
}
.futazhi-video-carousel-mobile-card{
  flex:none; width:140px; height:140px;
  border-radius:16px; overflow:hidden; scroll-snap-align:center;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 12px 30px rgba(0,0,0,0.45);
  background:#000;
}
.futazhi-video-carousel-mobile-card video{ width:100%; height:100%; object-fit:cover; display:block; }
.futazhi-center{
  position:relative; z-index:2;
  width:min(90%, 780px);
  padding:20px clamp(20px,4vw,40px) 60px;
  text-align:center;
  transform:translateY(calc(-10vh + 40px));
}
.futazhi-title{ font-size:clamp(36px,5vw,64px); color:var(--text-primary); margin-bottom:18px; }
.futazhi-video{
  display:block; width:min(82%, 600px); margin:0 auto 32px;
  aspect-ratio:16/9; object-fit:cover;
  border-radius:12px; background:#000; cursor:pointer;
  box-shadow:0 20px 50px rgba(0,0,0,0.5);
}
.futazhi-tagline{ font-size:clamp(19px,2.2vw,26px); line-height:1.35; margin-bottom:18px; color:var(--text-primary); }
.futazhi-text{
  margin:0 auto 32px; max-width:640px;
  color:var(--text-secondary); font-size:15.5px; line-height:1.75;
  font-family:var(--font-display); font-style:italic;
}
.futazhi-items{
  position:absolute; z-index:2; left:50%; bottom:9%; transform:translateX(-50%);
  width:min(78%, 980px);
  display:flex; justify-content:space-between; gap:16px;
}
.futazhi-item{
  flex:1; max-width:220px;
  background:none; border:none; padding:0 0 22px; cursor:pointer;
  font-family:var(--font-body); font-weight:600; font-size:14px; line-height:1.4; letter-spacing:0.01em;
  color:var(--text-primary); text-align:center;
  position:relative;
  transition:color .25s var(--ease);
}
.futazhi-item::after{
  content:"+"; position:absolute; left:50%; bottom:0; transform:translateX(-50%);
  width:20px; height:20px; border-radius:50%;
  border:1px solid var(--border-hover); color:var(--accent-soft);
  font-size:13px; line-height:18px; font-weight:400;
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.futazhi-item:first-child{ text-align:left; }
.futazhi-item:first-child::after{ left:0; transform:none; }
.futazhi-item:last-child{ text-align:right; }
.futazhi-item:last-child::after{ left:auto; right:0; transform:none; }
.futazhi-item:hover, .futazhi-item:focus-visible{ color:var(--accent-soft); }
.futazhi-item:hover::after, .futazhi-item:focus-visible::after{ background:var(--accent); color:#031018; border-color:var(--accent); }

.futazhi-panel{
  position:absolute; z-index:5; left:50%; top:50%;
  transform:translate(-50%,-50%) scale(0.96);
  width:min(560px, 90vw); max-height:78vh; overflow-y:auto;
  background:rgba(8,12,20,0.92); border:1px solid var(--border); border-radius:18px;
  padding:32px clamp(24px,4vw,40px);
  box-shadow:0 40px 90px rgba(0,0,0,0.6);
  backdrop-filter:blur(16px);
  text-align:left;
  opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.futazhi-panel.is-open{ opacity:1; pointer-events:auto; transform:translate(-50%,-50%) scale(1); }
.futazhi-panel h3{ font-size:clamp(19px,2.2vw,24px); line-height:1.3; margin:0 30px 16px 0; color:var(--text-primary); }
.futazhi-panel-close{
  position:absolute; top:16px; right:16px; width:30px; height:30px; border-radius:50%;
  border:1px solid var(--border); background:transparent; color:var(--text-secondary);
  font-size:20px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:border-color .25s var(--ease), color .25s var(--ease);
}
.futazhi-panel-close:hover{ border-color:var(--border-hover); color:var(--accent-soft); }
.futazhi-panel-lead{
  font-family:var(--font-display); font-style:italic;
  font-size:14.5px; line-height:1.65; color:var(--text-secondary);
  margin-bottom:14px;
}
.futazhi-panel-list{ margin-bottom:18px; list-style:none; }
.futazhi-panel-list li{
  font-family:var(--font-display); font-style:italic;
  font-size:14.5px; line-height:1.65; color:var(--text-secondary);
  margin-bottom:12px;
}
.futazhi-panel-list li strong{ font-style:normal; font-family:var(--font-body); color:var(--text-primary); font-weight:600; }
.detail-list-title{ font-weight:600; color:var(--text-primary); margin:18px 0 10px; }
.detail-list{ list-style:none; margin-bottom:16px; }
.detail-list li{
  font-family:var(--font-display); font-style:italic;
  font-size:15.5px; line-height:1.6; color:var(--text-secondary);
  padding-left:18px; position:relative; margin-bottom:9px;
}
.detail-list li::before{
  content:""; position:absolute; left:0; top:7px;
  width:5px; height:5px; border-radius:50%; background:var(--accent);
}
.detail-outro{ font-family:var(--font-display); font-style:italic; color:var(--text-primary); margin-bottom:6px; }

.prez-block{
  position:relative; width:100vw; margin-left:calc(50% - 50vw);
  min-height:100vh; overflow:hidden; background:#000;
  scroll-margin-top:90px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:min(9vw,90px) clamp(24px,6vw,100px);
}
.prez-bg-blur{
  position:absolute; top:0; left:0; z-index:0;
  width:100%; height:100vh; object-fit:cover;
  transform:scale(1.15);
  filter:blur(50px) brightness(0.75) saturate(1.2);
}
.prez-bg{
  position:absolute; top:0; left:0; z-index:0;
  width:100%; height:100vh; object-fit:cover;
}
.prez-eyebrow{
  position:relative; z-index:2; margin:0 0 28px;
  background:rgba(5,7,12,0.22); backdrop-filter:blur(6px);
  padding:8px 14px; border-radius:100px; display:inline-block;
  align-self:flex-start;
  text-shadow:0 1px 8px rgba(0,0,0,0.85);
}

.prez-content{
  position:relative; z-index:2;
  display:grid; grid-template-columns:1.4fr 1fr; gap:min(6vw,64px);
  max-width:1280px; width:100%;
  margin-bottom:40px;
}
.prez-main-title{
  font-size:clamp(26px,3.2vw,44px); line-height:1.3;
  color:var(--text-primary); margin-bottom:22px; text-shadow:0 2px 14px rgba(0,0,0,0.75);
}
.prez-intro{
  font-family:var(--font-display); font-style:italic;
  font-size:15px; line-height:1.75; color:var(--text-secondary);
  margin-bottom:30px; text-shadow:0 1px 8px rgba(0,0,0,0.75);
}

.prez-topics{ margin-bottom:30px; }
.prez-subitem{ margin-bottom:18px; padding-bottom:18px; border-bottom:1px solid rgba(255,255,255,0.1); }
.prez-subitem:last-of-type{ border-bottom:none; margin-bottom:0; padding-bottom:0; }
.prez-subitem-toggle{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  width:100%; background:none; border:none; padding:0; cursor:pointer;
  font-family:var(--font-body); font-weight:600; font-size:15px; text-align:left;
  color:var(--text-primary); text-shadow:0 1px 8px rgba(0,0,0,0.75);
}
.prez-subitem-toggle::after{
  content:"+"; flex:none; width:20px; height:20px; border-radius:50%;
  border:1px solid var(--border-hover); color:var(--accent-soft);
  font-size:13px; line-height:18px; text-align:center; font-weight:400;
  transition:transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.prez-subitem-toggle.is-open::after{ transform:rotate(45deg); background:var(--accent); color:#031018; border-color:var(--accent); }
.prez-subitem-text{
  max-height:0; overflow:hidden;
  font-family:var(--font-display); font-style:italic;
  font-size:13.5px; line-height:1.7; color:var(--text-secondary); text-shadow:0 1px 8px rgba(0,0,0,0.75);
  transition:max-height .35s var(--ease), margin .35s var(--ease);
}
.prez-subitem-text.is-open{ max-height:140px; margin-top:10px; }

.prez-why .detail-list-title{ font-size:14.5px; margin:0 0 14px; text-shadow:0 1px 8px rgba(0,0,0,0.75); }
.prez-why .detail-list{ margin-bottom:0; }
.prez-why .detail-list li{ font-size:13.5px; line-height:1.7; margin-bottom:11px; text-shadow:0 1px 8px rgba(0,0,0,0.75); }

.prez-gallery{
  display:flex; align-items:center; gap:12px; margin-bottom:28px;
}
.prez-gallery-item{
  position:relative; overflow:hidden; flex:1; min-width:0;
  height:min(36vh, 380px);
  border-radius:18px;
  border:1px solid rgba(140,200,255,0.25);
  box-shadow:0 24px 60px rgba(0,0,0,0.6), 0 0 30px rgba(95,212,255,0.1);
  background:#050a12;
}
.prez-gallery-item img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; cursor:pointer; }
.prez-gallery-arrow{
  flex:none; width:36px; height:36px; border-radius:50%;
  background:rgba(5,7,12,0.5); border:1px solid var(--border);
  color:var(--text-primary); display:flex; align-items:center; justify-content:center;
  cursor:pointer; backdrop-filter:blur(6px);
  transition:background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.prez-gallery-arrow:hover{ background:rgba(95,212,255,0.18); border-color:var(--border-hover); transform:scale(1.06); }

.prez-formats{ padding-left:48px; }
.prez-formats-toggle{
  display:flex; align-items:center; justify-content:flex-start; gap:10px;
  width:auto; background:none; border:none; padding:0; cursor:pointer;
  font-family:var(--font-body); font-weight:600; font-size:15px; color:var(--text-primary);
  text-align:left; text-shadow:0 1px 8px rgba(0,0,0,0.75);
}
.prez-formats-toggle::after{
  content:"+"; flex:none; width:22px; height:22px; border-radius:50%;
  border:1px solid var(--border-hover); color:var(--accent-soft);
  font-size:14px; line-height:20px; text-align:center; font-weight:400;
  transition:transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.prez-formats-toggle.is-open::after{ content:"+"; transform:rotate(45deg); background:var(--accent); color:#031018; border-color:var(--accent); }
.prez-formats-list{
  list-style:none; max-height:0; overflow:hidden;
  transition:max-height .35s var(--ease), margin .35s var(--ease);
}
.prez-formats-list.is-open{ max-height:200px; margin-top:16px; }
.prez-formats-list li{
  font-family:var(--font-display); font-style:italic;
  font-size:13.5px; line-height:1.7; color:var(--text-secondary);
  margin-bottom:10px; text-shadow:0 1px 8px rgba(0,0,0,0.75);
}
.prez-formats p{
  font-family:var(--font-display); font-style:italic;
  font-size:13.5px; line-height:1.75; color:var(--text-secondary);
  margin-top:18px; text-shadow:0 1px 8px rgba(0,0,0,0.75);
}

.prez-outro-bottom{
  position:relative; z-index:2;
  max-width:min(70%, 720px); text-align:center;
  background:rgba(5,7,12,0.3); backdrop-filter:blur(6px);
  padding:16px 28px; border-radius:16px;
  margin-bottom:24px;
  font-size:clamp(15px,1.6vw,18px); text-shadow:0 1px 8px rgba(0,0,0,0.85);
}
.prez-cta{ position:relative; z-index:2; }


.sjemka-block{
  position:relative; width:100vw; margin-left:calc(50% - 50vw);
  min-height:100vh; overflow:hidden;
  scroll-margin-top:90px;
}
.sjemka-bg{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover;
}
.sjemka-photo-stack{
  position:absolute; z-index:3; left:50%; top:13.5%; transform:translateX(-50%);
  width:min(37vw, 440px); max-width:none; height:auto; cursor:pointer;
  border-radius:14px;
}
.sjemka-photo-stack-mobile{ display:none; }
.sjemka-camera-mobile{ display:none; }
.sjemka-mobile-hero{ display:none; }
.sjemka-services{ display:none; }

/* Кинолента с примерами съёмки/монтажа — отдельная центрированная стеклянная
   панель поверх раздела (не зажата в узкую текстовую колонку). Стиль
   киноплёнки: перфорация сверху и снизу, кадры чёрно-белые до наведения
   и разделены тонкими перегородками — осознанно не похоже на карусель
   в «Футажи» (плавающие карточки с тенью у бокового края). */
.sjemka-showcase{
  position:absolute; z-index:3; left:50%; top:60%; transform:translateX(-50%);
  width:min(52vw, 640px);
  background:rgba(8,10,16,0.62); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.1); border-radius:18px;
  padding:16px 20px 20px;
  box-shadow:0 30px 60px rgba(0,0,0,0.5);
}
.sjemka-filmstrip-label-row{ display:flex; align-items:center; gap:10px; margin:0 0 10px; }
.sjemka-filmstrip-label{
  display:flex; align-items:center; gap:10px; margin:0; flex:1; min-width:0;
  font-family:var(--font-body); font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--text-secondary); white-space:nowrap;
}
.sjemka-filmstrip-label::after{ content:""; flex:1; height:1px; background:var(--border); }
.sjemka-tab-arrow{
  flex:none; height:26px; border-radius:13px; padding:0 12px 0 14px;
  background:none; border:1px solid var(--border-hover); color:var(--accent-soft);
  display:flex; align-items:center; gap:6px; cursor:pointer;
  font-family:var(--font-body); font-size:11px; font-weight:600; letter-spacing:0.04em;
  transition:background .25s var(--ease);
}
.sjemka-tab-arrow svg{ width:13px; height:13px; flex:none; transition:transform .3s var(--ease); }
.sjemka-tab-arrow:hover{ background:rgba(255,255,255,0.06); }
.sjemka-tab-arrow.is-flipped svg{ transform:rotate(180deg); }
.sjemka-filmstrip{ position:relative; width:100%; }
.sjemka-filmstrip-perf{
  height:7px; margin:0 0 8px;
  background-image:repeating-linear-gradient(90deg, rgba(255,255,255,0.5) 0 5px, transparent 5px 16px);
  opacity:0.5;
}
.sjemka-filmstrip-perf:last-child{ margin:8px 0 0; }
.sjemka-filmstrip-rail{
  overflow-x:auto; overflow-y:hidden;
  scrollbar-width:none; -ms-overflow-style:none;
  scroll-snap-type:x proximity;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.sjemka-filmstrip-rail::-webkit-scrollbar{ display:none; }
.sjemka-filmstrip-track{ display:flex; }
.sjemka-filmstrip-card{
  flex:none; width:150px; height:98px; position:relative;
  border-left:2px solid #000; overflow:hidden; background:#000; scroll-snap-align:center;
}
.sjemka-filmstrip-card:first-child{ border-left:none; }
.sjemka-filmstrip-card video{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:grayscale(0.85) contrast(1.05) brightness(0.95);
  transition:filter .35s var(--ease);
}
.sjemka-filmstrip-card:hover video{ filter:none; }
@media (min-width:1201px){
  .sjemka-filmstrip-card{ width:186px; height:118px; }
}

/* Вкладка «Рилсы» — та же лента, но вертикальные карточки (9:16). */
.sjemka-reels{ position:relative; width:100%; }
.sjemka-reels-rail{
  overflow-x:auto; overflow-y:hidden;
  scrollbar-width:none; -ms-overflow-style:none;
  scroll-snap-type:x proximity;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.sjemka-reels-rail::-webkit-scrollbar{ display:none; }
.sjemka-reels-track{ display:flex; }
.sjemka-reels-card{
  flex:none; width:110px; height:196px; position:relative;
  border-left:2px solid #000; overflow:hidden; background:#000; scroll-snap-align:center;
}
.sjemka-reels-card:first-child{ border-left:none; }
.sjemka-reels-card video{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:grayscale(0.85) contrast(1.05) brightness(0.95);
  transition:filter .35s var(--ease);
}
.sjemka-reels-card:hover video{ filter:none; }
.sjemka-reels-empty{
  flex:none; width:100%; min-height:196px; display:flex; align-items:center; justify-content:center;
  text-align:center; padding:0 30px;
  font-family:var(--font-display); font-style:italic; font-size:13px; line-height:1.5;
  color:var(--text-secondary);
}
@media (min-width:1201px){
  .sjemka-reels-card{ width:135px; height:240px; }
}
.sjemka-portfolio-link{
  display:block; margin-top:14px; text-align:center;
  font-size:12.5px; letter-spacing:0.02em; color:var(--text-secondary);
  transition:color .25s var(--ease);
}
.sjemka-portfolio-link:hover{ color:var(--accent-soft); }

.sjemka-left{
  position:absolute; z-index:2; left:clamp(40px, 9vw, 140px); top:8%; width:min(42%, 600px);
}
.sjemka-left h2{ font-size:clamp(26px,3.2vw,44px); line-height:1.28; margin:16px 0 22px; color:var(--text-primary); }
.sjemka-intro{
  font-family:var(--font-display); font-style:italic;
  font-size:16.5px; line-height:1.75; color:var(--text-secondary);
  max-width:52ch;
}
.sjemka-items{ margin-top:34px; display:flex; flex-direction:column; gap:20px; align-items:flex-start; }
.sjemka-cta{ margin-top:32px; }
.sjemka-item{
  display:inline-flex; align-items:center; justify-content:space-between; gap:14px;
  width:340px; white-space:nowrap;
  background:none; border:none; padding:0 0 10px; cursor:pointer;
  font-family:var(--font-body); font-weight:600; font-size:15px;
  color:var(--text-primary); text-align:left; text-shadow:0 1px 8px rgba(0,0,0,0.75);
  border-bottom:1px solid rgba(255,255,255,0.1);
  transition:color .25s var(--ease), border-color .25s var(--ease);
}
.sjemka-item:last-of-type{ border-bottom:none; padding-bottom:0; }
.sjemka-item::after{
  content:"+"; flex:none; width:20px; height:20px; border-radius:50%;
  border:1px solid var(--border-hover); color:var(--accent-soft);
  font-size:13px; line-height:18px; text-align:center; font-weight:400;
  transition:transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.sjemka-item.is-open::after{ transform:rotate(45deg); background:var(--accent); color:#031018; border-color:var(--accent); }
.sjemka-item:hover, .sjemka-item:focus-visible{ color:var(--accent-soft); }

.sjemka-panel{
  position:absolute; z-index:5; left:50%; top:50%;
  transform:translate(-50%,-50%) scale(0.96);
  width:min(560px, 90vw); max-height:78vh; overflow-y:auto;
  background:rgba(8,12,20,0.92); border:1px solid var(--border); border-radius:18px;
  padding:32px clamp(24px,4vw,40px);
  box-shadow:0 40px 90px rgba(0,0,0,0.6);
  backdrop-filter:blur(16px);
  opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.sjemka-panel.is-open{ opacity:1; pointer-events:auto; transform:translate(-50%,-50%) scale(1); }
.sjemka-panel h3{ font-size:clamp(20px,2.4vw,26px); margin:0 30px 18px 0; color:var(--text-primary); }
.sjemka-panel-close{
  position:absolute; top:16px; right:16px; width:30px; height:30px; border-radius:50%;
  border:1px solid var(--border); background:transparent; color:var(--text-secondary);
  font-size:20px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:border-color .25s var(--ease), color .25s var(--ease);
}
.sjemka-panel-close:hover{ border-color:var(--border-hover); color:var(--accent-soft); }
.sjemka-panel-list{ margin-bottom:22px; list-style:none; }
.sjemka-panel-list li{
  font-family:var(--font-display); font-style:italic;
  font-size:14.5px; line-height:1.65; color:var(--text-secondary);
  margin-bottom:14px;
}
.sjemka-panel-list li strong{ font-style:normal; font-family:var(--font-body); color:var(--text-primary); font-weight:600; }
.sjemka-panel-lead{
  font-family:var(--font-display); font-style:italic;
  font-size:13.5px; line-height:1.65; color:var(--text-secondary);
  margin-bottom:22px;
}
.sjemka-panel--wide{ width:min(680px, 92vw); }
.sjemka-panel-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:20px 24px;
  margin-bottom:22px;
}
.sjemka-panel-subtitle{ font-weight:600; color:var(--text-primary); margin-bottom:6px; font-size:14.5px; }
.sjemka-panel-text{
  font-family:var(--font-display); font-style:italic;
  font-size:13px; line-height:1.6; color:var(--text-secondary);
}

@media (max-width:560px), (orientation:portrait) and (max-width:1024px){
  .sjemka-panel-grid{ grid-template-columns:1fr; }
  .sjemka-block{
    min-height:0; padding:48px 0 48px; display:flex; flex-direction:column; align-items:center; gap:28px;
    overflow:hidden; background:#15171c;
    background-image:url("assets/videosemka-i-montazh-fon-mobile.webp");
    background-size:cover; background-position:top center; background-repeat:no-repeat;
  }
  .sjemka-bg{ display:none; }
  .sjemka-photo-stack{ display:none; }
  .sjemka-photo-stack-mobile{
    display:block; width:100%; height:auto; border-radius:14px;
    margin:16px 0 0; box-shadow:0 16px 40px rgba(0,0,0,0.4); cursor:pointer;
  }

  /* Title + camera bleeding off the right edge, matching the reference mock. */
  .sjemka-mobile-hero{
    display:block; position:relative; width:100%; padding:0 24px; box-sizing:border-box;
  }
  .sjemka-mobile-hero::before{
    content:""; position:absolute; z-index:0; right:-42%; top:50%; transform:translateY(-50%);
    width:85%; aspect-ratio:1; border-radius:50%;
    background:radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.35) 32%, rgba(255,255,255,0) 68%);
  }
  .sjemka-mobile-title{
    font-size:clamp(26px,3.2vw,44px); line-height:1.08; text-transform:uppercase;
    color:var(--text-primary); margin-bottom:14px; max-width:65%; position:relative; z-index:1;
  }
  .sjemka-mobile-subtitle{
    font-family:var(--font-body); font-size:14.5px; line-height:1.5; color:var(--text-secondary);
    max-width:60%; position:relative; z-index:1;
  }
  .sjemka-camera-mobile{
    display:block; position:absolute; z-index:0; right:-8%; top:50%; transform:translateY(-50%);
    width:52%; filter:drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  }

  .sjemka-services{ display:block; width:100%; padding:0 24px; box-sizing:border-box; }
  .sjemka-services-title{
    font-size:clamp(20px,5vw,26px); text-transform:uppercase; color:var(--text-primary); margin-bottom:16px;
  }
  .sjemka-services-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .sjemka-service-card{
    background:rgba(255,255,255,0.04); border:1px solid var(--accent); border-radius:14px;
    padding:14px; overflow:hidden;
    box-shadow:0 0 20px rgba(95,212,255,0.15);
  }
  .sjemka-service-img{
    width:100%; height:110px; object-fit:contain; object-position:center 30%; margin-bottom:10px;
  }
  .sjemka-service-icon{
    display:flex; align-items:center; justify-content:center;
    width:100%; height:110px; margin-bottom:10px; color:var(--text-primary);
  }
  .sjemka-service-icon svg{ width:56px; height:56px; }
  .sjemka-service-card h4{ font-size:15px; color:var(--text-primary); margin-bottom:6px; }
  .sjemka-service-card p{ font-size:12.5px; line-height:1.5; color:var(--text-secondary); }

  .sjemka-left .eyebrow, .sjemka-left h2{ display:none; }
  .sjemka-left{
    position:static; width:100%; max-width:420px; text-align:center;
    padding:0 24px; box-sizing:border-box;
  }
  .sjemka-showcase{
    position:static; transform:none; width:100%; max-width:420px; margin:0 auto 8px;
    background:none; backdrop-filter:none; -webkit-backdrop-filter:none;
    border:none; border-radius:0; padding:0 24px; box-shadow:none;
    box-sizing:border-box;
  }
  .sjemka-items{ align-items:stretch; width:100%; gap:0; margin-top:24px; }
  .sjemka-item{
    display:flex; width:100%; max-width:none; min-width:0; white-space:normal; justify-content:space-between; align-items:center;
    padding:16px 4px; border-bottom:1px solid var(--border); font-size:15px;
  }
  .sjemka-item::after{
    content:"+"; opacity:1; transform:none; flex:none;
    width:20px; height:20px; border-radius:50%;
    border:1px solid var(--border-hover); color:var(--accent-soft);
    font-size:13px; line-height:18px; text-align:center; font-weight:400;
  }
  .sjemka-item[data-panel="panel-sjemka-reasons"]{ font-size:14px; white-space:nowrap; }
  /* На телефоне описание раскрывается прямо под нажатым пунктом
     (как в презентациях), а не всплывает отдельным окном по центру. */
  .sjemka-panel{
    position:static; width:100%; max-width:none;
    max-height:0; overflow:hidden; opacity:1; transform:none;
    background:none; border:none; box-shadow:none; backdrop-filter:none;
    padding:0; margin:0;
    transition:max-height .4s var(--ease), padding .4s var(--ease);
  }
  .sjemka-panel.is-open{ max-height:3000px; padding:6px 4px 22px; }
  .sjemka-panel-close{ display:none; }
  .sjemka-panel h3{ display:none; }
}

.muzyka-block{
  position:relative; width:100vw; margin-left:calc(50% - 50vw);
  min-height:100vh; overflow:hidden; background:#000;
  scroll-margin-top:90px;
}
.muzyka-bg{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover;
  transform:none;
}
.muzyka-vignette{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%),
             linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 26%),
             linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 14%, rgba(0,0,0,0) 86%, rgba(0,0,0,0.6) 100%);
}
.muzyka-label{
  position:absolute; z-index:2; left:clamp(20px,4vw,64px); top:clamp(24px,6vh,56px);
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase; font-weight:600;
  color:var(--text-secondary);
}
.muzyka-main-heading{
  position:absolute; z-index:2; left:50%; top:6%; transform:translateX(-50%);
  width:min(720px, 70%);
  text-align:center;
  font-size:clamp(26px,3.2vw,44px); line-height:1.2; color:var(--text-primary);
  text-shadow:0 2px 10px rgba(0,0,0,0.8);
}
.muzyka-main-text{
  position:absolute; z-index:2;
  left:4%; top:24%;
  width:min(300px, 26%);
  text-align:left;
  padding:22px 26px;
}
.muzyka-main-text p{
  font-family:var(--font-display); font-style:italic;
  font-size:15px; line-height:1.65; color:var(--text-secondary); margin-bottom:12px;
  text-shadow:0 1px 8px rgba(0,0,0,0.8);
}
.muzyka-services{
  display:none;
  position:absolute; z-index:2; right:4%; top:50%; transform:translateY(-50%);
  width:min(360px, 40%);
  text-align:right;
  padding:22px 26px;
}
.muzyka-main-list-title{ font-weight:600; color:var(--text-primary); margin-bottom:8px; text-shadow:0 1px 8px rgba(0,0,0,0.8); }
.muzyka-main-list{ list-style:none; margin-bottom:12px; }
.muzyka-main-list li{
  font-family:var(--font-display); font-style:italic;
  font-size:13.5px; line-height:1.55; color:var(--text-secondary);
  padding-right:18px; position:relative; margin-bottom:6px;
  text-shadow:0 1px 8px rgba(0,0,0,0.8);
}
.muzyka-main-list li::after{
  content:""; position:absolute; right:0; top:7px;
  width:5px; height:5px; border-radius:50%; background:var(--accent);
}
.muzyka-main-outro{ font-family:var(--font-display); font-style:italic; color:var(--text-primary); text-shadow:0 1px 8px rgba(0,0,0,0.8); }
.muzyka-services .cta-button{ margin-top:4px; }
.muzyka-features{
  position:absolute; z-index:3; left:50%; bottom:6%; transform:translateX(-50%);
  display:flex; gap:16px; width:min(90%, 900px);
}
.muzyka-features .muzyka-feature{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:10px;
  text-align:center; padding:18px 14px;
  background:rgba(8,12,20,0.55); border:1px solid var(--accent); border-radius:14px;
  backdrop-filter:blur(10px);
  box-shadow:0 0 24px rgba(95,212,255,0.15);
  font-size:inherit;
}
.muzyka-features .muzyka-feature:hover, .muzyka-features .muzyka-feature:focus-visible{
  background:rgba(95,212,255,0.15); border-color:var(--accent); color:inherit; transform:translateY(-2px);
}
.muzyka-feature-icon{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; color:var(--accent-soft);
}
.muzyka-feature-icon svg{ width:26px; height:26px; }
.muzyka-feature p{
  font-family:var(--font-body); font-weight:600; font-size:12px; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--text-primary);
}

.muzyka-hotspots{
  display:none;
  position:absolute; z-index:3; left:4%; top:32%;
  flex-direction:column; align-items:flex-start; gap:14px;
  max-width:70%;
}
.muzyka-hotspots-title{
  font-family:var(--font-body); font-weight:600; font-size:13px;
  letter-spacing:0.04em; color:var(--text-secondary); margin-bottom:2px;
}
.muzyka-hotspot{
  background:rgba(8,12,20,0.55); border:1px solid var(--border-hover); border-radius:100px;
  padding:10px 20px; cursor:pointer;
  font-family:var(--font-body); font-weight:600; font-size:13px; color:var(--text-primary);
  backdrop-filter:blur(8px);
  transition:background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.muzyka-hotspot:hover, .muzyka-hotspot:focus-visible{
  background:rgba(95,212,255,0.18); border-color:var(--accent); color:var(--accent-soft); transform:translateY(-2px);
}
.muzyka-panel{
  position:absolute; z-index:4;
  padding:18px 20px;
  background:rgba(8,12,20,0.85); border:1px solid var(--border); border-radius:14px;
  backdrop-filter:blur(16px); box-shadow:0 24px 60px rgba(0,0,0,0.5);
  opacity:0; pointer-events:none;
  transition:opacity .35s var(--ease);
}
.muzyka-panel.is-open{ opacity:1; pointer-events:auto; }
.muzyka-panel-title{ font-size:clamp(15px,1.4vw,18px); margin:0 20px 8px 0; color:var(--text-primary); }
.muzyka-panel-text{
  font-family:var(--font-display); font-style:italic;
  font-size:13.5px; line-height:1.55; color:var(--text-secondary); margin-bottom:14px;
}
.muzyka-panel--xs{ padding:14px 16px; }
.muzyka-panel--xs .muzyka-panel-title{ font-size:14px; margin-bottom:6px; }
.muzyka-panel--xs .muzyka-panel-text{ font-size:12.5px; line-height:1.5; margin-bottom:10px; }
.muzyka-panel--xs .muzyka-cta{ padding:8px 18px; font-size:11px; }
.muzyka-panel--tilt-left{ transform:perspective(1600px) rotateY(5deg); transform-origin:right center; }
.muzyka-panel--tilt-right{ transform:perspective(1600px) rotateY(-5deg); transform-origin:left center; }
.muzyka-mobile-list{ display:none; }

@media (max-width:560px), (orientation:portrait) and (max-width:1024px){
  .muzyka-block{
    aspect-ratio:auto; min-height:0; padding:48px 24px;
    background:#15171c;
    background-image:url("assets/videosemka-i-montazh-fon-mobile.webp");
    background-size:cover; background-position:top center; background-repeat:no-repeat;
  }
  .muzyka-bg, .muzyka-vignette, .muzyka-hotspots, .muzyka-panel, .muzyka-main-heading, .muzyka-main-text, .muzyka-services, .muzyka-features, #aimuzyka > .muzyka-label{ display:none; }
  .muzyka-mobile-list{
    display:flex; flex-direction:column; align-items:center; gap:12px;
    max-width:420px; margin:0 auto; text-align:center;
  }
  .muzyka-mobile-list .muzyka-label{ position:static; margin-bottom:8px; }
  .muzyka-mobile-item{ width:100%; }
  .muzyka-mobile-heading{ font-size:clamp(22px,6vw,28px); line-height:1.24; margin-bottom:4px; }
  .muzyka-mobile-intro{ font-size:13.5px; line-height:1.6; color:var(--text-secondary); margin-bottom:4px; }
  .muzyka-pill{
    display:flex; width:100%; justify-content:space-between; align-items:center;
    padding:16px 4px; border-radius:0;
    border:none; border-bottom:1px solid var(--border); background:none;
    color:var(--text-primary); font-size:15px; letter-spacing:0.02em; text-align:left;
    cursor:pointer; transition:color .25s var(--ease);
  }
  .muzyka-pill::after{
    content:"+"; flex:none; width:20px; height:20px; border-radius:50%;
    border:1px solid var(--border-hover); color:var(--accent-soft);
    font-size:13px; line-height:18px; text-align:center; font-weight:400;
    transition:transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
  }
  .muzyka-pill.is-active{ color:var(--accent-soft); }
  .muzyka-pill.is-active::after{ content:"+"; transform:rotate(45deg); background:var(--accent); color:#031018; border-color:var(--accent); }
  .muzyka-mobile-text{
    max-height:0; overflow:hidden; opacity:0; transition:max-height .4s var(--ease), opacity .3s var(--ease);
    width:100%;
  }
  .muzyka-mobile-text.is-open{ max-height:400px; opacity:1; margin-top:8px; }
  .muzyka-mobile-text .muzyka-panel-title{ font-size:19px; margin:0 0 10px; }
  .muzyka-mobile-text .muzyka-panel-text{ font-size:13.5px; margin-bottom:0; }
}

/* ===========================================================
   Overlapping stacked sections (each block covers the previous
   one as you scroll past it — desktop only, each layer needs an
   opaque background so it actually covers what's behind)
   =========================================================== */
@media (min-width:561px) and (orientation:landscape), (min-width:1025px){
  .sjemka-block{ background:#000; }
  #futazhi, #prezentacii, #videomaker, #aimuzyka{
    position:sticky; top:0;
  }
  #futazhi{ z-index:1; }
  #prezentacii{ z-index:2; }
  .sites-sticky{ z-index:3; }
  #videomaker{ z-index:4; margin-top:-48px; }
  #aimuzyka{ z-index:5; }
}

/* Телефон, положенный горизонтально: экран очень широкий, но по высоте —
   375–430px, гораздо меньше любого настоящего десктопа или планшета
   (у планшета лёжа всё равно 700px+). Раскладка выше рассчитана на то,
   что "100vh" — это нормальный десктопный экран: контент внутри обрезается
   или наезжает друг на друга, если втиснуть его в такую узкую полоску.
   Здесь просто даём каждому блоку расти по контенту и убираем "прилипание"
   секций друг к другу — вместо тесной подгонки под экран страница станет
   выше и будет спокойно скроллиться. */
@media (max-height:500px) and (orientation:landscape){
  .futazhi-block, .prez-block, .sjemka-block, .muzyka-block{
    min-height:600px; height:auto; overflow:visible;
  }
  #futazhi, #prezentacii, #videomaker, #aimuzyka{
    position:relative; top:auto;
  }

  /* Футажи: десктопная раскладка (карусель + сплошной блок с кнопками
     внизу) слишком тесная на такой узкой по высоте полосе — переиспользуем
     ту же телефонную вёрстку, что и в портретном режиме. */
  .futazhi-bg{ display:none; }
  .futazhi-block{
    background-image:url("assets/ai-futazhi-dlya-kontserta-fon-mobile.webp");
    background-size:100% auto; background-position:top center; background-repeat:no-repeat;
    flex-direction:column; align-items:center; justify-content:flex-start;
  }
  .futazhi-center{ position:static; transform:none; padding:calc(min(33vw,130px) + min(35.3vw,145px) + 24px) clamp(20px,4vw,40px) 0; }
  .futazhi-title{ display:none; }
  .futazhi-video{
    position:absolute; z-index:1;
    left:22.3%; width:min(58.7%,230px); top:min(33vw,130px); height:min(35.3vw,145px);
    aspect-ratio:auto; margin:0; border-radius:2px; box-shadow:none;
  }
  .futazhi-video-carousel{ display:none; }
  .futazhi-video-carousel-mobile{
    display:block; position:relative; z-index:2; width:100%;
    margin-top:16px; overflow-x:auto; overflow-y:hidden;
    scrollbar-width:none; -ms-overflow-style:none;
    scroll-snap-type:x proximity;
    -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .futazhi-video-carousel-mobile::-webkit-scrollbar{ display:none; }
  .futazhi-video-carousel-mobile-track{ padding:0 28px; }
  .futazhi-items{
    position:static; transform:none; width:100%; padding:0 28px;
    margin-top:0; flex-direction:column; align-items:stretch; gap:0;
  }
  .futazhi-item{
    max-width:none; text-align:left; padding:16px 30px 16px 0;
    border-bottom:1px solid var(--border);
  }
  .futazhi-item::after{ left:auto; right:4px; transform:none; }
  .futazhi-item:first-child, .futazhi-item:last-child{ text-align:left; }
  .futazhi-item:first-child::after, .futazhi-item:last-child::after{ left:auto; right:4px; transform:none; }

  /* AI-музыка: панели и подписи рассчитаны на нормальную высоту десктопа —
     чуть уменьшаем текст, чтобы точно помещался. */
  .muzyka-panel-title{ font-size:13px; margin:0 16px 6px 0; }
  .muzyka-panel-text{ font-size:12px; line-height:1.45; margin-bottom:10px; }
  .muzyka-main-heading{ font-size:clamp(20px,3vw,26px); }
  .muzyka-main-text p{ font-size:13px; line-height:1.5; }

  /* Сайты: та же плашка с текстом, что на десктопе, но заметно короче —
     уменьшаем шрифт и внутренние отступы, чтобы не обрезалось по высоте. */
  .sites-text{ padding:16px 18px; max-width:min(320px, calc(100vw - 40px)); }
  .sites-text h2{ font-size:clamp(18px,2.6vw,24px); margin:8px 0 8px; }
  .sites-text p{ font-size:12.5px; line-height:1.5; }

  /* «Чем я занимаюсь» — подписи остаются информативными (место есть), но
     текст мельче, чем на полноразмерном десктопе. */
  .continuation-caption{ padding:8px 10px; max-width:150px; }
  .continuation-caption h3{ font-size:12px; margin-bottom:4px; }
  .continuation-caption p{ font-size:10px; line-height:1.35; }
  .continuation-title{ font-size:13px; }
}

/* Планшет в альбомной ориентации (и вообще любой "средний" десктопный
   экран — 561–1300px): по высоте места достаточно, но по ширине десктопная
   раскладка (рассчитанная на 1440px+) слишком тесная — текст крупный,
   видео и панели наезжают друг на друга. */
@media (min-width:561px) and (max-width:1300px) and (orientation:landscape), (min-width:1025px) and (max-width:1300px){
  .futazhi-block, .prez-block, .sjemka-block, .muzyka-block{
    height:auto; overflow:visible;
  }

  /* Футажи: центральное видео и боковая карусель — заметно меньше. */
  .futazhi-video{ width:min(28%, 200px); }
  .futazhi-video-carousel{ width:110px; right:-14px; }
  .futazhi-video-carousel-track{ gap:12px; padding:30vh 0; }
  .futazhi-video-carousel-card{ width:80px; height:80px; margin-right:14px; border-radius:12px; }
  .futazhi-title{ font-size:clamp(28px,4vw,44px); }
  .futazhi-tagline{ font-size:16px; }
  .futazhi-text{ font-size:13.5px; }

  /* Презентации: тот же 2-колоночный грид на такой ширине даёт очень
     узкие колонки — текст помельче, чтобы не переполнял блок и не резался
     по overflow:hidden (это и убрали строкой выше). */
  .prez-main-title{ font-size:clamp(22px,3vw,30px); }
  .prez-intro, .prez-subitem-text{ font-size:13px; }
  .prez-subitem-toggle{ font-size:13.5px; }

  /* Сайты: та же плашка, что и на телефоне лёжа, но она не попадала под
     тот фикс (у планшета высота больше 500px) — та же правка отдельно. */
  .sites-text{ padding:18px 20px; max-width:min(340px, calc(100vw - 60px)); }
  .sites-text h2{ font-size:clamp(19px,2.4vw,26px); margin:10px 0 10px; }
  .sites-text p{ font-size:13px; line-height:1.55; }

  /* Видеомейкер: коллаж-фото и текст на такой ширине наезжают друг на
     друга — убираем фото, а на освободившееся место сдвигаем и
     расширяем киноленту с примерами (карточки мельче, их видно меньше
     сразу, но лента, как и раньше, прокручивается). */
  .sjemka-photo-stack{ display:none; }
  .sjemka-showcase{
    top:38%; width:min(40vw, 460px);
    padding:14px 16px 16px;
  }
  .sjemka-filmstrip-card{ width:110px; height:72px; }
  .sjemka-reels-card{ width:70px; height:124px; }

  /* AI-музыка: три кнопки-фичи внизу — компактнее. */
  .muzyka-features{ width:min(70%, 620px); gap:10px; }
  .muzyka-features .muzyka-feature{ padding:12px 8px; gap:6px; }
  .muzyka-feature-icon{ width:26px; height:26px; }
  .muzyka-feature-icon svg{ width:18px; height:18px; }
  .muzyka-feature p{ font-size:10px; }
}

/* ===========================================================
   Sites section (scroll-scrubbed frame sequence, like the hero stage)
   =========================================================== */
.sites-section{
  position:relative; height:500vh;
  width:100vw; margin-left:calc(50% - 50vw);
  background:#000;
}
.sites-sticky{
  position:sticky; top:0; height:100vh; width:100%;
  overflow:hidden; background:#000;
}
#sajty-canvas{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; display:block;
}
.sites-vignette{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 68%, rgba(0,0,0,0.6) 100%),
             linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.35) 100%);
}
.sites-text{
  position:absolute; top:50%; z-index:2;
  max-width:min(420px, calc(100vw - 48px));
  padding:26px 28px;
  background:rgba(8,12,20,0.62);
  border:1px solid var(--border);
  border-radius:18px;
  backdrop-filter:blur(16px);
  box-shadow:0 20px 60px rgba(0,0,0,0.35);
  opacity:0; pointer-events:none;
  will-change:opacity, transform;
}
.sites-text h2{ font-size:clamp(22px,3vw,34px); margin:14px 0 16px; }
.sites-text p{
  font-family:var(--font-display); font-style:italic;
  color:var(--text-secondary); font-size:15.5px; line-height:1.7;
}
.sites-text p a{ color:var(--accent-soft); text-decoration:underline; text-underline-offset:3px; }
.sites-text.is-visible{ pointer-events:auto; }
.sites-text--left{ left:clamp(20px,6vw,80px); }
.sites-text--right{ right:clamp(20px,6vw,80px); text-align:right; }
.sites-text-mobile{ display:none; }

/* ===========================================================
   Contact / footer
   =========================================================== */
.trust-section{
  position:relative; z-index:2;
  background:var(--bg-soft);
  padding:70px clamp(20px,6vw,100px) 50px;
  text-align:center;
}
.trust-eyebrow{ margin-bottom:32px; }
.trust-logos{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:clamp(20px,3vw,48px);
  max-width:1400px; margin:0 auto;
}
@media (min-width:561px) and (orientation:landscape), (min-width:1025px){
  .trust-logos{ flex-wrap:nowrap; }
}
.trust-logos a{ display:flex; align-items:center; }
.trust-logos img{
  height:clamp(110px,14vw,170px); width:auto; max-width:380px;
  object-fit:contain;
  opacity:0.9; filter:grayscale(1) brightness(1.7);
  transition:opacity .25s var(--ease), filter .25s var(--ease);
}
.trust-logos img.trust-logo-large{
  height:clamp(160px,20vw,240px); max-width:520px;
}
.trust-logos img:hover{ opacity:1; filter:grayscale(0) brightness(1); }

.contact-section{
  position:relative; z-index:2;
  background:var(--bg-soft);
  padding:min(18vw, 160px) clamp(20px,6vw,100px);
  text-align:center;
  border-top:1px solid var(--border);
}
.contact-inner{ max-width:620px; margin:0 auto; }
.contact-section h2{ font-size:clamp(26px,4vw,44px); line-height:1.2; margin:14px 0 20px; }
.contact-text{ color:var(--text-secondary); font-size:15px; line-height:1.65; margin-bottom:32px; }
.contact-fallback{
  display:block; margin-top:16px; font-size:13px; color:var(--text-secondary);
  text-decoration:underline; text-underline-offset:3px;
}
.contact-fallback:hover{ color:var(--accent-soft); }
.cta-button{ border:none; cursor:pointer; font-family:var(--font-body); }

#email-toast{
  position:fixed; left:50%; bottom:32px; transform:translate(-50%, 12px);
  background:var(--bg-soft); border:1px solid var(--border-hover); color:var(--text-primary);
  font-family:var(--font-body); font-size:13px; padding:10px 18px; border-radius:999px;
  box-shadow:0 8px 24px rgba(0,0,0,0.4), 0 0 20px var(--accent-dim);
  opacity:0; pointer-events:none; transition:opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index:200;
}
#email-toast.visible{ opacity:1; transform:translate(-50%, 0); }

/* ===========================================================
   Video lightbox
   =========================================================== */
.js-video-lightbox{ cursor:pointer; position:relative; }
.js-video-lightbox::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  background:radial-gradient(circle, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 60%);
  transition:background .25s var(--ease);
}
.js-video-lightbox:hover::after{ background:rgba(0,0,0,0.25); }
.video-lightbox{
  position:fixed; inset:0; z-index:95;
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; visibility:hidden;
  transition:opacity .3s var(--ease), visibility .3s var(--ease);
}
.video-lightbox.is-open{ opacity:1; visibility:visible; }
.video-lightbox-overlay{
  position:absolute; inset:0;
  background:rgba(3,5,10,0.88); backdrop-filter:blur(10px);
}
.video-lightbox-inner{
  position:relative; z-index:1;
  width:min(90vw, 960px);
  transform:scale(0.96); transition:transform .35s var(--ease);
}
.video-lightbox.is-open .video-lightbox-inner{ transform:scale(1); }
.video-lightbox-inner video, .video-lightbox-inner img{
  width:100%; max-height:82vh; border-radius:14px;
  background:#000; box-shadow:0 40px 90px rgba(0,0,0,0.6);
  object-fit:contain;
}
.video-lightbox-spinner{
  position:absolute; z-index:2; top:50%; left:50%;
  width:44px; height:44px; margin:-22px 0 0 -22px;
  border-radius:50%;
  border:3px solid rgba(255,255,255,0.2);
  border-top-color:var(--accent);
  opacity:0; pointer-events:none;
  transition:opacity .2s var(--ease);
  animation:video-lightbox-spin .8s linear infinite;
}
.video-lightbox.is-loading .video-lightbox-spinner{ opacity:1; }
@keyframes video-lightbox-spin{ to{ transform:rotate(360deg); } }
/* Some gallery images (scroll-format presentation mockups) are extremely
   tall — shrinking them to fit the viewport height makes them illegible.
   Let the lightbox itself scroll instead of squeezing the image down. */
#image-lightbox .video-lightbox-inner{
  max-height:88vh; overflow-y:auto; border-radius:14px;
}
#image-lightbox-img{
  max-height:none; object-fit:initial; display:block; border-radius:14px;
}
/* The close button is normally anchored to .video-lightbox-inner's own box
   (top:-46px, just above it) — but that box now scrolls, which would carry
   the button out of view. Pin it to the viewport instead for this lightbox. */
#image-lightbox .video-lightbox-close{
  position:fixed; top:24px; right:24px;
}
.video-lightbox-close{
  position:absolute; top:-46px; right:0;
  width:36px; height:36px; border-radius:50%;
  background:rgba(8,12,20,0.6); border:1px solid var(--border);
  color:var(--text-primary); display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:border-color .25s var(--ease), color .25s var(--ease);
}
.video-lightbox-close:hover{ border-color:var(--border-hover); color:var(--accent-soft); }

/* ===========================================================
   Lead modal
   =========================================================== */
.modal{
  position:fixed; inset:0; z-index:90;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  opacity:0; visibility:hidden;
  transition:opacity .3s var(--ease), visibility .3s var(--ease);
}
.modal.is-open{ opacity:1; visibility:visible; }
.modal-overlay{
  position:absolute; inset:0;
  background:rgba(3,5,10,0.72); backdrop-filter:blur(6px);
}
.modal-panel{
  position:relative; z-index:1; width:100%; max-width:420px;
  background:var(--bg-soft); border:1px solid var(--border); border-radius:20px;
  padding:32px clamp(22px,4vw,36px) 30px;
  transform:translateY(12px) scale(0.98);
  transition:transform .35s var(--ease);
  box-shadow:0 30px 60px rgba(0,0,0,0.5);
}
.modal.is-open .modal-panel{ transform:translateY(0) scale(1); }
.modal-close{
  position:absolute; top:16px; right:16px;
  width:32px; height:32px; display:flex; align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--border); border-radius:50%;
  color:var(--text-secondary); cursor:pointer;
  transition:border-color .25s var(--ease), color .25s var(--ease);
}
.modal-close:hover{ border-color:var(--border-hover); color:var(--accent-soft); }
.modal-panel h3{ font-size:clamp(20px,2.6vw,26px); padding-right:30px; }
.modal-subtitle{ color:var(--text-secondary); font-size:13.5px; margin-top:8px; margin-bottom:22px; }
.field{ margin-bottom:16px; text-align:left; }
.field label{
  display:block; font-size:12px; letter-spacing:0.04em; color:var(--text-secondary); margin-bottom:6px;
}
.field input, .field textarea{
  width:100%; font-family:var(--font-body); font-size:14px; color:var(--text-primary);
  background:rgba(255,255,255,0.03); border:1px solid var(--border); border-radius:10px;
  padding:11px 14px; resize:vertical;
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--border-hover); background:rgba(255,255,255,0.05);
}
.lead-submit{ width:100%; margin-top:6px; }
.lead-submit:disabled{ opacity:0.6; cursor:default; box-shadow:none; transform:none; }
.lead-status{
  margin-top:14px; font-size:13px; text-align:center; min-height:1em;
}
.lead-status.is-error{ color:#ff8a8a; }
.lead-status.is-success{ color:var(--accent-soft); }

.site-footer{
  background:var(--bg-soft);
  padding:40px clamp(20px,6vw,100px) 50px;
  display:flex; align-items:center; gap:16px;
  border-top:1px solid var(--border);
}
.footer-logo{ width:64px; opacity:0.85; }
.site-footer p{ font-size:12px; color:var(--text-tertiary-solid); letter-spacing:0.02em; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width:560px), (orientation:portrait) and (max-width:1024px){
  #hero-block{ align-items:center; text-align:center; margin-left:0; margin-right:0; }
  .hero-list{ justify-content:center; max-width:320px; }
  #site-header{ padding:16px 18px; }
  .header-cta{ padding:8px 14px; font-size:11px; }
  .header-actions{ gap:8px; }
  .lang-toggle{ padding:7px 10px; font-size:10px; }
  .site-footer{ flex-direction:column; align-items:flex-start; gap:12px; }

  /* Continuation stage: mobile has its own portrait video (same 5-panel vertical
     stack composition as the frame sequence's last frame), so captions sit beside
     each panel's position instead of the desktop 2-column layout. */
  .continuation-title{ display:none; }
  .continuation-caption{ width:auto; max-width:none; padding:7px 12px; }
  .continuation-caption h3{ font-size:13px; margin-bottom:0; white-space:nowrap; }
  .continuation-caption p{ display:none; }
  .cap-music, .cap-futazhi, .cap-sajty{ width:auto; max-width:none; }
  .cap-music{ left:auto; right:6%; top:19%; text-align:right; }
  .cap-futazhi{ left:6%; top:35%; text-align:left; }
  .cap-sajty{ left:auto; right:6%; top:52%; text-align:right; }
  .cap-videomaker{ left:6%; right:auto; top:68%; text-align:left; }
  .cap-prezentacii{ left:auto; right:6%; top:84%; text-align:right; }

  /* Футажи: film-strip graphic replaces the photo background; the video sits
     inside its blank "screen" cutout. Coordinates measured directly off the
     source image (white rect at 32.2–70.7% x, 15.6–25.7% y of a 1536x3556 png). */
  .futazhi-bg{ display:none; }
  .futazhi-block{
    background-image:url("assets/ai-futazhi-dlya-kontserta-fon-mobile.webp");
    background-size:100% auto; background-position:top center; background-repeat:no-repeat;
    flex-direction:column; align-items:center; justify-content:flex-start;
  }
  /* top/height считаны в vw в расчёте на ширину телефона — на планшете
     эти же проценты дают гигантский отступ и пустоту над текстом, поэтому
     верхняя граница (min) не даёт превью и отступу расти дальше телефонного
     размера. */
  .futazhi-center{ position:static; transform:none; padding:calc(min(33vw,130px) + min(35.3vw,145px) + 24px) clamp(20px,4vw,40px) 0; }
  .futazhi-title{ display:none; }
  .futazhi-video{
    position:absolute; z-index:1;
    left:22.3%; width:min(58.7%,230px); top:min(33vw,130px); height:min(35.3vw,145px);
    aspect-ratio:auto; margin:0; border-radius:2px; box-shadow:none;
  }
  .futazhi-video-carousel-mobile{
    display:block; position:relative; z-index:2; width:100%;
    margin-top:16px; overflow-x:auto; overflow-y:hidden;
    scrollbar-width:none; -ms-overflow-style:none;
    scroll-snap-type:x proximity;
    -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .futazhi-video-carousel-mobile::-webkit-scrollbar{ display:none; }
  .futazhi-video-carousel-mobile-track{ padding:0 28px; }
  /* Сроки и стоимость / Нам доверяют / etc — desktop lays these out as an
     absolute-positioned row pinned to the block's bottom, which breaks once
     the block's height is content-driven. Mobile gets a plain vertical list. */
  .futazhi-items{
    position:static; transform:none; width:100%; padding:0 28px;
    margin-top:0; flex-direction:column; align-items:stretch; gap:0;
  }
  .futazhi-item{
    max-width:none; text-align:left; padding:16px 30px 16px 0;
    border-bottom:1px solid var(--border);
  }
  .futazhi-item::after{ left:auto; right:4px; transform:none; }
  .futazhi-item:first-child, .futazhi-item:last-child{ text-align:left; }
  .futazhi-item:first-child::after, .futazhi-item:last-child::after{ left:auto; right:4px; transform:none; }

  /* Body copy inside accordions/panels was sized for desktop popups (13–13.5px,
     read at arm's length on a mouse-driven screen) — too small held close on a
     phone. Bump the real paragraph/list text; labels, buttons and the tiny "+"
     glyphs are left alone since those are fine at their current size. */
  .prez-subitem-text, .prez-why .detail-list li, .prez-formats-list li, .prez-formats p{
    font-size:15px; line-height:1.7;
  }
  .sjemka-panel-lead, .sjemka-panel-text{ font-size:15px; line-height:1.65; }
  .muzyka-mobile-intro, .muzyka-mobile-text .muzyka-panel-text{ font-size:15px; line-height:1.6; }
  .modal-subtitle{ font-size:14.5px; }

  /* Презентации: desktop is a 2-column grid (text | gallery+formats) with no
     mobile fallback at all — collapses to two unreadably narrow columns.
     display:contents on the column wrappers promotes their children to be
     direct flex items of .prez-content, so `order` can interleave title →
     gallery → intro → topics → why → formats regardless of original DOM nesting. */
  .prez-bg, .prez-bg-blur{ display:none; }
  .prez-block{
    background-image:url("assets/prezentacii-dlya-event-industrii-fon-mobile.webp");
    background-size:100% auto; background-position:top center; background-repeat:no-repeat;
    padding:48px 24px;
  }
  .prez-content{ display:flex; flex-direction:column; gap:0; max-width:none; }
  .prez-col-left, .prez-col-right{ display:contents; }
  .prez-main-title{ order:1; }
  .prez-gallery{ order:2; width:100%; margin-bottom:24px; }
  .prez-intro{ order:3; }
  .prez-topics{ order:4; }
  .prez-why{ order:5; margin-bottom:24px; }
  .prez-formats{ order:6; padding-left:0; }

  /* One image at a time instead of the desktop 2-up strip — same rotation
     logic in script.js still runs on the hidden second slot, so the arrows
     keep working, they just no longer have a visible neighbour to shift into. */
  .prez-gallery-item + .prez-gallery-item{ display:none; }
  .prez-gallery-item{ height:min(85vw, 480px); }

  /* Сайты: both text cards were vertically centered (top:50%), landing right
     on top of the laptop in the frame. Push them up into the empty skyline. */
  .sites-text{ top:36%; }
  /* Left card's desktop copy is much longer than the right card's — mismatched
     length looks odd once both cards are roughly the same width on mobile. */
  .sites-text-full{ display:none; }
  .sites-text-mobile{ display:block; }
}
@media (max-width: 480px){
  #hero-block h1{ max-width:14ch; }
}

/* ?mobile=1 forces the mobile layout regardless of actual viewport width
   (script.js adds this class) — mirrors the two blocks above, since a plain
   @media query can't be triggered by a URL param. */
html.force-mobile #hero-block{ align-items:center; text-align:center; margin-left:0; margin-right:0; }
html.force-mobile .hero-list{ justify-content:center; max-width:320px; }
html.force-mobile #site-header{ padding:16px 18px; }
html.force-mobile .header-cta{ padding:8px 14px; font-size:11px; }
html.force-mobile .header-actions{ gap:8px; }
html.force-mobile .lang-toggle{ padding:7px 10px; font-size:10px; }
html.force-mobile .site-nav{ display:none; }
html.force-mobile .nav-burger{ display:flex; }
html.force-mobile .mobile-nav{ display:flex; }
html.force-mobile .site-footer{ flex-direction:column; align-items:flex-start; gap:12px; }
html.force-mobile .continuation-title{ display:none; }
html.force-mobile .continuation-caption{ width:auto; max-width:none; padding:7px 12px; }
html.force-mobile .continuation-caption h3{ font-size:13px; margin-bottom:0; white-space:nowrap; }
html.force-mobile .continuation-caption p{ display:none; }
html.force-mobile .cap-music, html.force-mobile .cap-futazhi, html.force-mobile .cap-sajty{ width:auto; max-width:none; }
html.force-mobile .cap-music{ left:auto; right:6%; top:19%; text-align:right; }
html.force-mobile .cap-futazhi{ left:6%; top:35%; text-align:left; }
html.force-mobile .cap-sajty{ left:auto; right:6%; top:52%; text-align:right; }
html.force-mobile .cap-videomaker{ left:6%; right:auto; top:68%; text-align:left; }
html.force-mobile .cap-prezentacii{ left:auto; right:6%; top:84%; text-align:right; }
html.force-mobile .futazhi-bg{ display:none; }
html.force-mobile .futazhi-block{
  background-image:url("assets/ai-futazhi-dlya-kontserta-fon-mobile.webp");
  background-size:100% auto; background-position:top center; background-repeat:no-repeat;
  flex-direction:column; align-items:center; justify-content:flex-start;
}
html.force-mobile .futazhi-center{ position:static; transform:none; padding:calc(33vw + 35.3vw + 24px) clamp(20px,4vw,40px) 0; }
html.force-mobile .futazhi-title{ display:none; }
html.force-mobile .futazhi-video{
  position:absolute; z-index:1;
  left:22.3%; width:58.7%; top:33vw; height:35.3vw;
  aspect-ratio:auto; margin:0; border-radius:2px; box-shadow:none;
}
html.force-mobile .futazhi-video-carousel-mobile{
  display:block; position:relative; z-index:2; width:100%;
  margin-top:16px; overflow-x:auto; overflow-y:hidden;
  scrollbar-width:none; -ms-overflow-style:none;
  scroll-snap-type:x proximity;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
html.force-mobile .futazhi-video-carousel-mobile::-webkit-scrollbar{ display:none; }
html.force-mobile .futazhi-video-carousel-mobile-track{ padding:0 28px; }
html.force-mobile .futazhi-items{
  position:static; transform:none; width:100%; padding:0 28px;
  margin-top:0; flex-direction:column; align-items:stretch; gap:0;
}
html.force-mobile .futazhi-item{
  max-width:none; text-align:left; padding:16px 30px 16px 0;
  border-bottom:1px solid var(--border);
}
html.force-mobile .futazhi-item::after{ left:auto; right:4px; transform:none; }
html.force-mobile .futazhi-item:first-child, html.force-mobile .futazhi-item:last-child{ text-align:left; }
html.force-mobile .futazhi-item:first-child::after, html.force-mobile .futazhi-item:last-child::after{ left:auto; right:4px; transform:none; }
html.force-mobile .prez-subitem-text, html.force-mobile .prez-why .detail-list li, html.force-mobile .prez-formats-list li, html.force-mobile .prez-formats p{
  font-size:15px; line-height:1.7;
}
html.force-mobile .sjemka-panel-lead, html.force-mobile .sjemka-panel-text{ font-size:15px; line-height:1.65; }
html.force-mobile .muzyka-mobile-intro, html.force-mobile .muzyka-mobile-text .muzyka-panel-text{ font-size:15px; line-height:1.6; }
html.force-mobile .modal-subtitle{ font-size:14.5px; }
html.force-mobile .prez-bg, html.force-mobile .prez-bg-blur{ display:none; }
html.force-mobile .prez-block{
  background-image:url("assets/prezentacii-dlya-event-industrii-fon-mobile.webp");
  background-size:100% auto; background-position:top center; background-repeat:no-repeat;
  padding:48px 24px;
}
html.force-mobile .prez-content{ display:flex; flex-direction:column; gap:0; max-width:none; }
html.force-mobile .prez-col-left, html.force-mobile .prez-col-right{ display:contents; }
html.force-mobile .prez-main-title{ order:1; }
html.force-mobile .prez-gallery{ order:2; width:100%; margin-bottom:24px; }
html.force-mobile .prez-intro{ order:3; }
html.force-mobile .prez-topics{ order:4; }
html.force-mobile .prez-why{ order:5; margin-bottom:24px; }
html.force-mobile .prez-formats{ order:6; padding-left:0; }
html.force-mobile .prez-gallery-item + .prez-gallery-item{ display:none; }
html.force-mobile .prez-gallery-item{ height:min(85vw, 480px); }
html.force-mobile .sites-text{ top:36%; }
html.force-mobile .sites-text-full{ display:none; }
html.force-mobile .sites-text-mobile{ display:block; }
html.force-mobile .sjemka-block{
  min-height:0; padding:48px 0 48px; display:flex; flex-direction:column; align-items:center; gap:28px;
  overflow:hidden; background:#15171c;
  background-image:url("assets/videosemka-i-montazh-fon-mobile.webp");
  background-size:cover; background-position:top center; background-repeat:no-repeat;
}
html.force-mobile .sjemka-bg{ display:none; }
html.force-mobile .sjemka-photo-stack{ display:none; }
html.force-mobile .sjemka-photo-stack-mobile{
  display:block; width:100%; height:auto; border-radius:14px;
  margin:16px 0 0; box-shadow:0 16px 40px rgba(0,0,0,0.4); cursor:pointer;
}
html.force-mobile .sjemka-mobile-hero{
  display:block; position:relative; width:100%; padding:0 24px; box-sizing:border-box;
}
html.force-mobile .sjemka-mobile-hero::before{
  content:""; position:absolute; z-index:0; right:-42%; top:50%; transform:translateY(-50%);
  width:85%; aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.35) 32%, rgba(255,255,255,0) 68%);
}
html.force-mobile .sjemka-mobile-title{
  font-size:clamp(26px,3.2vw,44px); line-height:1.08; text-transform:uppercase;
  color:var(--text-primary); margin-bottom:14px; max-width:65%; position:relative; z-index:1;
}
html.force-mobile .sjemka-mobile-subtitle{
  font-family:var(--font-body); font-size:14.5px; line-height:1.5; color:var(--text-secondary);
  max-width:60%; position:relative; z-index:1;
}
html.force-mobile .sjemka-camera-mobile{
  display:block; position:absolute; z-index:0; right:-8%; top:50%; transform:translateY(-50%);
  width:52%; filter:drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
html.force-mobile .sjemka-services{ display:block; width:100%; padding:0 24px; box-sizing:border-box; }
html.force-mobile .sjemka-services-title{
  font-size:clamp(20px,5vw,26px); text-transform:uppercase; color:var(--text-primary); margin-bottom:16px;
}
html.force-mobile .sjemka-services-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
html.force-mobile .sjemka-service-card{
  background:rgba(255,255,255,0.04); border:1px solid var(--accent); border-radius:14px;
  padding:14px; overflow:hidden;
  box-shadow:0 0 20px rgba(95,212,255,0.15);
}
html.force-mobile .sjemka-service-img{
  width:100%; height:110px; object-fit:contain; object-position:center 30%; margin-bottom:10px;
}
html.force-mobile .sjemka-service-icon{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:110px; margin-bottom:10px; color:var(--text-primary);
}
html.force-mobile .sjemka-service-icon svg{ width:56px; height:56px; }
html.force-mobile .sjemka-service-card h4{ font-size:15px; color:var(--text-primary); margin-bottom:6px; }
html.force-mobile .sjemka-service-card p{ font-size:12.5px; line-height:1.5; color:var(--text-secondary); }
html.force-mobile .sjemka-left .eyebrow, html.force-mobile .sjemka-left h2{ display:none; }
html.force-mobile .sjemka-left{
  position:static; width:100%; max-width:420px; text-align:center;
  padding:0 24px; box-sizing:border-box;
}
html.force-mobile .sjemka-showcase{
  position:static; transform:none; width:100%; max-width:420px; margin:0 auto 8px;
  background:none; backdrop-filter:none; -webkit-backdrop-filter:none;
  border:none; border-radius:0; padding:0 24px; box-shadow:none;
  box-sizing:border-box;
}
html.force-mobile .sjemka-items{ align-items:stretch; width:100%; gap:0; margin-top:24px; }
html.force-mobile .sjemka-item{
  display:flex; width:100%; max-width:none; min-width:0; white-space:normal; justify-content:space-between; align-items:center;
  padding:16px 4px; border-bottom:1px solid var(--border); font-size:15px;
}
html.force-mobile .sjemka-item::after{
  content:"+"; opacity:1; transform:none; flex:none;
  width:20px; height:20px; border-radius:50%;
  border:1px solid var(--border-hover); color:var(--accent-soft);
  font-size:13px; line-height:18px; text-align:center; font-weight:400;
}
html.force-mobile .sjemka-item[data-panel="panel-sjemka-reasons"]{ font-size:14px; white-space:nowrap; }
html.force-mobile .sjemka-panel{
  position:static; width:100%; max-width:none;
  max-height:0; overflow:hidden; opacity:1; transform:none;
  background:none; border:none; box-shadow:none; backdrop-filter:none;
  padding:0; margin:0;
  transition:max-height .4s var(--ease), padding .4s var(--ease);
}
html.force-mobile .sjemka-panel.is-open{ max-height:3000px; padding:6px 4px 22px; }
html.force-mobile .sjemka-panel-close{ display:none; }
html.force-mobile .sjemka-panel h3{ display:none; }
html.force-mobile #hero-block h1{ max-width:14ch; }

/* AI-музыка mobile layout was never mirrored to force-mobile — only ever
   worked at an actual narrow viewport via the real @media query above. */
html.force-mobile .muzyka-block{
  aspect-ratio:auto; min-height:0; padding:48px 24px;
  background:#15171c;
  background-image:url("assets/videosemka-i-montazh-fon-mobile.webp");
  background-size:cover; background-position:top center; background-repeat:no-repeat;
}
html.force-mobile .muzyka-bg, html.force-mobile .muzyka-vignette, html.force-mobile .muzyka-hotspots,
html.force-mobile .muzyka-panel, html.force-mobile .muzyka-main-heading, html.force-mobile .muzyka-main-text, html.force-mobile .muzyka-services,
html.force-mobile .muzyka-features,
html.force-mobile #aimuzyka > .muzyka-label{ display:none; }
html.force-mobile .muzyka-mobile-list{
  display:flex; flex-direction:column; align-items:center; gap:12px;
  max-width:420px; margin:0 auto; text-align:center;
}
html.force-mobile .muzyka-mobile-list .muzyka-label{ position:static; margin-bottom:8px; }
html.force-mobile .muzyka-mobile-item{ width:100%; }
html.force-mobile .muzyka-mobile-heading{ font-size:clamp(22px,6vw,28px); line-height:1.24; margin-bottom:4px; }
html.force-mobile .muzyka-mobile-intro{ font-size:13.5px; line-height:1.6; color:var(--text-secondary); margin-bottom:4px; }
html.force-mobile .muzyka-pill{
  display:flex; width:100%; justify-content:space-between; align-items:center;
  padding:16px 4px; border-radius:0;
  border:none; border-bottom:1px solid var(--border); background:none;
  color:var(--text-primary); font-size:15px; letter-spacing:0.02em; text-align:left;
  cursor:pointer; transition:color .25s var(--ease);
}
html.force-mobile .muzyka-pill::after{
  content:"+"; flex:none; width:20px; height:20px; border-radius:50%;
  border:1px solid var(--border-hover); color:var(--accent-soft);
  font-size:13px; line-height:18px; text-align:center; font-weight:400;
  transition:transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
html.force-mobile .muzyka-pill.is-active{ color:var(--accent-soft); }
html.force-mobile .muzyka-pill.is-active::after{ content:"+"; transform:rotate(45deg); background:var(--accent); color:#031018; border-color:var(--accent); }
html.force-mobile .muzyka-mobile-text{
  max-height:0; overflow:hidden; opacity:0; transition:max-height .4s var(--ease), opacity .3s var(--ease);
  width:100%;
}
html.force-mobile .muzyka-mobile-text.is-open{ max-height:400px; opacity:1; margin-top:8px; }
html.force-mobile .muzyka-mobile-text .muzyka-panel-title{ font-size:19px; margin:0 0 10px; }
html.force-mobile .muzyka-mobile-text .muzyka-panel-text{ font-size:13.5px; margin-bottom:0; }
html.force-mobile .futazhi-video-carousel{ display:none; }

/* ===========================================================
   Портфолио видеосъёмки — отдельная страница (portfolio.html)
   =========================================================== */
.portfolio-page{
  padding-top:clamp(90px,12vh,120px);
  max-width:900px; margin:0 auto;
  padding-left:clamp(20px,4vw,56px); padding-right:clamp(20px,4vw,56px);
}
.portfolio-hero{ padding-bottom:40px; }
.portfolio-back{
  display:inline-block; margin-bottom:24px;
  font-size:13px; color:var(--text-secondary);
  transition:color .25s var(--ease);
}
.portfolio-back:hover{ color:var(--accent-soft); }
.portfolio-hero h1{
  font-size:clamp(32px,5vw,52px); line-height:1.15; color:var(--text-primary);
  margin-bottom:16px;
}
.portfolio-hero-text{
  font-family:var(--font-display); font-style:italic; font-size:16.5px;
  line-height:1.7; color:var(--text-secondary); max-width:60ch;
}
.portfolio-list{ display:flex; flex-direction:column; gap:56px; padding:20px 0 60px; }
.portfolio-item{ display:flex; flex-direction:column; gap:20px; }
.portfolio-item-media{
  width:100%; border-radius:16px; overflow:hidden; background:#000;
  border:1px solid var(--border); box-shadow:0 20px 50px rgba(0,0,0,0.4);
}
.portfolio-video{ width:100%; height:auto; display:block; aspect-ratio:16/9; object-fit:cover; }
.portfolio-item-text h2{
  font-size:clamp(19px,2.4vw,26px); color:var(--text-primary); margin-bottom:10px;
}
.portfolio-item-text p{
  font-size:14.5px; line-height:1.7; color:var(--text-secondary); max-width:70ch;
}
.portfolio-cta{
  text-align:center; padding:50px clamp(20px,4vw,56px) 70px;
  border-top:1px solid var(--border);
}
.portfolio-cta p{ font-size:16px; color:var(--text-secondary); margin-bottom:22px; }

@media (min-width:781px){
  .portfolio-item{ flex-direction:row; align-items:center; gap:40px; }
  .portfolio-item-media{ flex:1.3; }
  .portfolio-item-text{ flex:1; }
  .portfolio-item:nth-child(even){ flex-direction:row-reverse; }
}
