/* ИнжТеплоТех — «свой вариант» v2: минимализм, естественный свет, масштаб. Бриф: свой-вариант/БРИФ.md */

@property --rv { syntax: '<percentage>'; inherits: false; initial-value: -30%; }

:root {
  --paper: #F3EFE6;
  --sand: #E6DFD1;
  --sand-2: #DCD3C2;
  --ink: #2C2B27;
  --stone: #7C786E;
  --line: #D9D1C1;
  --moss: #6E7D5B;
  --moss-d: #5B6949;
  --forest: #343B2C;      /* тёмный мох — полоса масштаба */
  --forest-2: #3E4635;
  --on-forest: #ECE7DA;
  --on-forest-2: #A9AE9A;
  --warm: #F6E7C1;
  --dusk: #2E2A25;
  --dusk-ink: #EFE7D8;
  --dusk-mute: #A79F90;
  --bg: #F5EEE1;               /* фон страницы и «ход дня» */
  --sky-d: #F3F0E8;
  --sky-e: #ECE4D6;
  --paper-rgb: 243,239,230;
  --glow: 255,240,205;          /* тёплый свет: пятна, свечения, выноски */
  --g1: var(--g1);                /* полосы света и акцентное слово */
  --g2: var(--g2);
  --g3: #D9B878;
  --shade: 30,27,22;            /* затемнение поверх фото */
  --dim: #A39C8D;               /* неактивный текст в списках */
  --dk1: #D6CBB7; --dk2: #9C8F7B; --dk3: #5A5045;   /* переход в «сумерки» */

  --round: 'M PLUS Rounded 1c', 'Nunito', sans-serif;
  --text: 'Onest', system-ui, sans-serif;
  --r: 24px;
  --r-in: 16px;
  --wrap: 1600px;
  --gut: clamp(16px, 2.6vw, 40px);
  --edge: clamp(8px, 1vw, 14px);       /* отступ полноширинных фото от края экрана */
  --soft: cubic-bezier(.3, .7, .1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: transparent; color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, h4 { margin: 0; }
::selection { background: var(--moss); color: var(--paper); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 22px; height: 22px; flex: none; }
.kick { font: 500 14px/1 var(--text); color: var(--stone); letter-spacing: .01em; }
h2 { font: 400 clamp(32px, 3.4vw, 54px)/1.08 var(--round); letter-spacing: -.015em; }
.lead { font-size: 18px; color: var(--stone); max-width: 34em; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- рассвет ---------- */
.dawn { position: fixed; inset: 0; z-index: 100; background: #2A2620; pointer-events: none; }
.dawn::before { content: ''; position: absolute; left: 50%; top: 100%; width: 230vmax; height: 230vmax; margin: -115vmax 0 0 -115vmax; border-radius: 50%;
  background: radial-gradient(closest-side, #FFF7E2 0%, rgba(var(--glow),.92) 16%, rgba(222,200,160,.62) 32%, rgba(150,128,100,.3) 50%, rgba(80,68,54,.12) 66%, rgba(42,38,32,0) 82%);
  opacity: 0; transform: translateY(32vh) scale(.5); }
.dawn.go::before { animation: sunrise 1.05s var(--soft) forwards; }
.dawn.go { animation: fadeout .45s .78s ease forwards; }
@keyframes sunrise { 0% { opacity: 0; transform: translateY(32vh) scale(.5); } 30% { opacity: .85; } 100% { opacity: 1; transform: translateY(0) scale(1.15); } }
@keyframes fadeout { to { opacity: 0; visibility: hidden; } }
.enter { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--soft), transform 1.2s var(--soft); }
.ready .enter { opacity: 1; transform: none; }
.ready .enter.d1 { transition-delay: .08s; } .ready .enter.d2 { transition-delay: .18s; } .ready .enter.d3 { transition-delay: .3s; } .ready .enter.d4 { transition-delay: .42s; }

/* ---------- кнопки «мягкая жидкость» ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: var(--r); border: 1.5px solid var(--ink); background: transparent; cursor: pointer; font: 500 16px/1 var(--text); color: var(--ink); white-space: nowrap; flex: none; transition: color .5s var(--soft), border-color .5s var(--soft), transform .2s var(--soft); }
.btn::before { content: ''; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%); width: var(--d, 0px); height: var(--d, 0px); border-radius: 50%; background: var(--moss); transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--soft); pointer-events: none; }
.btn.lq::before { transform: translate(-50%, -50%) scale(1); }
.btn.lq { color: var(--paper); border-color: var(--moss); }
.btn:active { transform: scale(.98); }
.btn .ico { width: 20px; height: 20px; transition: transform .6s var(--soft); }
.btn.lq .ico { transform: translateX(3px); }
.btn--fill { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--fill.lq { border-color: var(--moss); }
.btn--light { border-color: var(--on-forest); color: var(--on-forest); }
.btn--light::before { background: var(--on-forest); }
.btn--light.lq { color: var(--forest); border-color: var(--on-forest); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 15px; }
.ul { background: linear-gradient(currentColor, currentColor) no-repeat var(--o, left) bottom / 0% 1.5px; padding-bottom: 2px; transition: background-size .55s var(--soft); }
.ul.lq { background-size: 100% 1.5px; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 40; transition: background .5s, box-shadow .5s; }
.top.scr { background: rgba(var(--paper-rgb),.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 34px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 500 21px/1 var(--round); letter-spacing: -.01em; }
.logo i { width: 14px; height: 14px; border-radius: 50%; background: var(--moss); }
.logo small { margin-left: 4px; font: 500 11px var(--text); color: var(--stone); letter-spacing: .06em; text-transform: uppercase; border: 1px dashed var(--line); border-radius: 6px; padding: 3px 6px; }
.menu { display: flex; gap: 28px; margin-left: auto; font-size: 16px; }
.menu a[aria-current] { color: var(--moss-d); }
.top .tel { display: inline-flex; align-items: center; gap: 8px; font: 500 16px var(--text); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1.5px solid var(--ink); border-radius: var(--r-in); background: none; cursor: pointer; }
.burger i { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--ink); }

/* ---------- проявка «глаз привыкает к свету» ---------- */
.ph { position: relative; overflow: hidden; background: var(--sand); isolation: isolate; }
.ph::before { content: ''; position: absolute; inset: -8%; z-index: -1; background: var(--lq) center / cover; filter: blur(18px) saturate(.9) brightness(1.06); transform: scale(1.06); transition: opacity 1.2s ease .5s; }
.ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: brightness(1.12) saturate(.8);
  -webkit-mask-image: linear-gradient(to bottom, #000 var(--rv), transparent calc(var(--rv) + 28%)); mask-image: linear-gradient(to bottom, #000 var(--rv), transparent calc(var(--rv) + 28%));
  transition: --rv 1.6s var(--soft), opacity .7s ease, filter 1.5s var(--soft); }
.ph.lit img { --rv: 110%; opacity: 1; filter: none; }
.ph.lit::before { opacity: 0; }

.sec { padding: clamp(90px, 9vw, 150px) 0 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 60px; margin-bottom: 48px; }
.head h2 { margin-top: 14px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--soft), transform 1.3s var(--soft); }
.reveal.on { opacity: 1; transform: none; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--stone); }
.crumbs span::before { content: '·'; margin-right: 10px; }
/* ---------- первый экран: фото на весь экран, сами сменяются, текст поверх ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; margin-top: -72px; color: var(--paper); overflow: hidden; isolation: isolate; background: #2A2620; }
.slides { position: absolute; inset: 0; z-index: -2; }
.slides .s { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; will-change: opacity; }
.hero.off .slides img { animation-play-state: paused !important; }
.slides .s.on { opacity: 1; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; backface-visibility: hidden; }
.slides .s.on img { animation: drift 9s cubic-bezier(.2,.6,.3,1) forwards; }
@keyframes drift { from { transform: scale(1.12) translateX(1%); } to { transform: scale(1.02) translateX(0); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(var(--shade),.78) 0%, rgba(var(--shade),.35) 42%, rgba(var(--shade),.1) 70%, rgba(var(--shade),.35) 100%),
              linear-gradient(90deg, rgba(var(--shade),.45), rgba(var(--shade),0) 60%); }
.hero .wrap { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(30px, 4vw, 56px); }
.hero h1 { font: 300 clamp(58px, 11.5vw, 210px)/.86 var(--round); letter-spacing: -.045em; margin-left: -.05em; white-space: nowrap; }
.hero h1 .ch { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(.18em) scale(1.04); transition: opacity 1.4s var(--soft), filter 1.6s var(--soft), transform 1.8s var(--soft); transition-delay: calc(var(--i) * 55ms + .1s); }
.ready .hero h1 .ch { opacity: 1; filter: blur(0); transform: none; }
.hero .low { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; margin-top: clamp(22px, 2.4vw, 36px); }
.hero .who { font: 400 clamp(19px, 1.6vw, 24px)/1.3 var(--round); }
.hero .what { margin-top: 8px; max-width: 30em; font-size: 16px; color: rgba(243,239,230,.78); }
.hero .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero .enter { transition-delay: .9s; }
.ready .hero .enter.d1 { transition-delay: 1.05s; } .ready .hero .enter.d2 { transition-delay: 1.2s; } .ready .hero .enter.d3 { transition-delay: 1.35s; }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper::before { background: var(--moss); }
.btn--paper.lq { color: var(--paper); border-color: var(--moss); }
.cap { width: 360px; text-align: right; }
.cap .t { position: relative; height: 46px; overflow: hidden; }
.cap .t p { position: absolute; right: 0; top: 0; white-space: nowrap; font-size: 14px; color: rgba(243,239,230,.8); opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform 1s var(--soft); }
.cap .t p b { display: block; font: 400 22px/1.1 var(--round); color: var(--paper); }
.cap .t p.on { opacity: 1; transform: none; transition-delay: .3s; }
.cap .bars { display: flex; gap: 6px; justify-content: flex-end; margin-top: 14px; }
.cap .bars button { position: relative; width: 44px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.cap .bars button::before, .cap .bars button i { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; background: rgba(243,239,230,.3); }
.cap .bars button i { background: var(--paper); transform: scaleX(0); transform-origin: left; }
.cap .bars button.on i { animation: bar var(--hd, 7s) linear forwards; }
.cap .bars button.done i { transform: none; }
/* шапка поверх фото */
.top.over:not(.scr) { color: var(--paper); }
.top.over:not(.scr) .logo small { color: rgba(243,239,230,.7); border-color: rgba(243,239,230,.35); }
.top.over:not(.scr) .logo i { background: var(--paper); }
.top.over:not(.scr) .burger { border-color: var(--paper); }
.top.over:not(.scr) .burger i { background: var(--paper); }

/* ---------- полоса масштаба: тёмный мох ---------- */
.scale { margin-top: clamp(90px, 9vw, 150px); background: var(--forest); color: var(--on-forest); padding: clamp(80px, 8vw, 130px) 0 var(--edge); }
.scale .kick { color: var(--on-forest-2); }
.scale h2 { max-width: 15em; }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(50px, 5vw, 80px); border-top: 1px solid rgba(236,231,218,.16); }
.nums div { padding: 30px 24px 0 0; }
.nums div + div { padding-left: 24px; border-left: 1px solid rgba(236,231,218,.16); }
.nums b { display: block; font: 300 clamp(44px, 5vw, 86px)/1 var(--round); letter-spacing: -.04em; white-space: nowrap; }
.nums b small { font-size: .42em; letter-spacing: 0; margin-left: 6px; color: var(--on-forest-2); }
.nums span { display: block; margin-top: 14px; font-size: 15px; color: var(--on-forest-2); max-width: 16em; }
.made { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: var(--edge); margin: clamp(70px, 7vw, 110px) var(--edge) 0; }
.made figure { margin: 0; }
.made .ph { height: clamp(260px, 30vw, 460px); border-radius: var(--r); background: var(--forest-2); }
.made figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 14px 6px 22px; font-size: 14px; color: var(--on-forest-2); }
.made figcaption b { color: var(--on-forest); font-weight: 500; }

/* ---------- для кого: строки + фото у курсора ---------- */
.rows { position: relative; border-top: 1px solid var(--line); }
.rows a { position: relative; z-index: 1; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, .8fr) 40px; gap: 20px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: color .4s; }
.rows .n { font: 400 15px var(--text); color: var(--stone); }
.rows b { font: 400 clamp(26px, 3vw, 48px)/1.1 var(--round); letter-spacing: -.02em; transition: transform .7s var(--soft), color .4s; }
.rows span { color: var(--stone); font-size: 16px; }
.rows .go { justify-self: end; width: 24px; height: 24px; opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .6s var(--soft); }
.rows:hover a { color: var(--stone); }
.rows:hover a b { color: var(--dim); }
.rows a:hover b { color: var(--ink); transform: translateX(14px); }
.rows a:hover .go { opacity: 1; transform: none; color: var(--ink); }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 340px; height: 240px; margin: -120px 0 0 -170px; pointer-events: none; will-change: transform; }
.peek .in2 { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; opacity: 0; transform: scale(.85); transition: opacity .35s ease, transform .5s var(--soft); box-shadow: 0 30px 60px -30px rgba(44,43,39,.6); }
.peek.on .in2 { opacity: 1; transform: none; }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.peek img.on { opacity: 1; }

/* ---------- витрина серий: полоса солнечного света проявляет светильник ---------- */
.show { margin-top: clamp(90px, 9vw, 150px); background: var(--sand); padding: clamp(80px, 8vw, 120px) 0 clamp(70px, 7vw, 110px); }
.show .grid { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: clamp(30px, 4vw, 70px); align-items: stretch; }
.idx { display: flex; flex-direction: column; border-top: 1px solid var(--sand-2); }
.idx button { position: relative; display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 15px 0; border: 0; border-bottom: 1px solid var(--sand-2); background: none; cursor: pointer; text-align: left; color: var(--dim); transition: color .4s; }
.idx button i { font: 400 13px var(--text); font-style: normal; min-width: 22px; }
.idx button b { font: 400 22px/1.2 var(--round); }
.idx button:hover { color: var(--ink); }
.idx button[aria-current="true"] { color: var(--ink); }
.idx button .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--moss); transform: scaleX(0); transform-origin: left; }
.idx button[aria-current="true"] .bar { animation: bar var(--dur, 6s) linear forwards; }
.show.paused .idx button[aria-current="true"] .bar { animation-play-state: paused; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.idx .all { margin-top: 26px; align-self: flex-start; }
.scene { position: relative; min-height: 560px; border-radius: var(--r); background: var(--paper); overflow: hidden; isolation: isolate; display: grid; grid-template-rows: 1fr auto; }
.scene .lamp { position: relative; display: grid; place-items: center; padding: 90px 40px 16px; }
.scene .lamp img { position: absolute; max-width: 70%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(70,58,40,.22)); transition: opacity .9s ease, transform 1.2s var(--soft), filter 1.2s var(--soft); }
.scene .lamp img.out { opacity: 0; transform: translateX(-6%) scale(.96); filter: drop-shadow(0 30px 30px rgba(70,58,40,0)) brightness(1.4) blur(4px); }
.scene .lamp img.pre { opacity: 0; transform: translateX(6%) scale(.96); filter: drop-shadow(0 30px 30px rgba(70,58,40,0)) brightness(1.5) blur(6px); }
/* полоса солнечного света, проходит при смене */
.scene .beam { position: absolute; z-index: 3; top: -20%; bottom: -20%; left: -40%; width: 38%; pointer-events: none; transform: skewX(-14deg) translateX(0); opacity: 0;
  background: linear-gradient(90deg, rgba(var(--glow),0), rgba(var(--glow),.85) 45%, rgba(var(--glow),.95) 50%, rgba(var(--glow),.85) 55%, rgba(var(--glow),0)); mix-blend-mode: soft-light; }
.scene .beam.run { animation: beam 1.25s var(--soft) forwards; }
@keyframes beam { 0% { opacity: 0; transform: skewX(-14deg) translateX(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: skewX(-14deg) translateX(420%); } }
.scene .glow { position: absolute; z-index: -1; left: 50%; bottom: 8%; width: 70%; height: 46%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow),.95), rgba(var(--glow),0)); }
.scene .ttl { position: absolute; z-index: 1; left: clamp(20px, 2.4vw, 36px); top: clamp(20px, 2.4vw, 32px); }
.scene .ttl b { display: block; font: 300 clamp(36px, 3.6vw, 60px)/1 var(--round); letter-spacing: -.03em; }
.scene .ttl span { display: block; margin-top: 8px; color: var(--stone); }
.scene .ttl .swap { display: inline-block; transition: opacity .5s ease, transform .7s var(--soft); }
.scene .ttl .swap.hide { opacity: 0; transform: translateY(12px); }
.scene .foot2 { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 20px; align-items: end; padding: 22px clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--line); }
.scene dt { font-size: 13px; color: var(--stone); }
.scene dd { margin: 4px 0 0; font: 400 clamp(22px, 2vw, 32px)/1 var(--round); letter-spacing: -.02em; white-space: nowrap; }
.scene dd small { font-size: 14px; color: var(--stone); margin-left: 4px; letter-spacing: 0; }
.scene .acts { display: flex; gap: 8px; }

/* ---------- круглые кнопки-стрелки ---------- */
.circ { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; transition: background .4s var(--soft), color .4s; }
.circ:hover { background: var(--ink); color: var(--paper); }
.circ .ico { width: 20px; height: 20px; }

/* ---------- почему через нас ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why div { padding: 34px 30px 10px 0; }
.why div + div { padding-left: 30px; border-left: 1px solid var(--line); }
.why b { display: block; font: 300 clamp(48px, 4.6vw, 76px)/1 var(--round); letter-spacing: -.035em; color: var(--moss-d); }
.why h3 { margin-top: 26px; font: 500 20px var(--round); }
.why p { margin-top: 8px; color: var(--stone); font-size: 16px; max-width: 24em; }

/* ---------- расчёт ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--edge); }
.calc .in, .calc .out { padding: clamp(26px, 3vw, 48px); border-radius: var(--r); }
.calc .in { background: var(--sand); display: grid; gap: 32px; align-content: start; }
.calc .out { background: var(--forest); color: var(--on-forest); display: flex; flex-direction: column; }
.calc .out .kick { color: var(--on-forest-2); }
.lbl { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; color: var(--stone); }
.lbl b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; border-radius: var(--r); background: var(--paper); }
.seg button { position: relative; z-index: 1; height: 46px; border: 0; border-radius: 19px; background: none; cursor: pointer; font-size: 15px; color: var(--stone); transition: color .4s; }
.seg button[aria-pressed="true"] { color: var(--paper); }
.seg .pill { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 19px; background: var(--moss); transition: transform .6s var(--soft), width .6s var(--soft); }
.range { position: relative; height: 36px; }
.range input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.range .tr { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--paper); }
.range .fl { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; width: var(--p, 50%); background: var(--moss); }
.range .kn { position: absolute; top: 50%; left: var(--p, 50%); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--moss), 0 6px 14px -6px rgba(44,43,39,.5); transition: transform .3s var(--soft); pointer-events: none; }
.range:hover .kn, .range.drag .kn { transform: scale(1.15); }
.calc .note { font-size: 13px; color: var(--stone); }
.calc .big { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; font: 300 clamp(84px, 9vw, 150px)/.9 var(--round); letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc .big small { font: 400 18px var(--text); letter-spacing: 0; color: var(--on-forest-2); }
.calc .mdl { margin-top: 14px; font-size: 17px; }
.calc dl { margin: 28px 0 32px; }
.calc dl div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(236,231,218,.14); font-size: 15px; }
.calc dt { color: var(--on-forest-2); }
.calc dd { margin: 0; font-variant-numeric: tabular-nums; }
.calc .out .acts { margin-top: auto; }

/* характеристики (страница серии) */
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 40px; margin-top: 28px; }
.stats dt { font-size: 13px; color: var(--stone); }
.stats dd { margin: 4px 0 0; font: 400 26px/1.1 var(--round); letter-spacing: -.01em; white-space: nowrap; }
.stats dd small { font-size: 14px; color: var(--stone); margin-left: 3px; }

/* ---------- контакты: тёплые сумерки ---------- */
.dusk { position: relative; margin-top: clamp(90px, 9vw, 150px); padding: 250px 0 40px; color: var(--dusk-ink); background: linear-gradient(180deg, rgba(var(--paper-rgb),0) 0, var(--dk1) 60px, var(--dk2) 120px, var(--dk3) 175px, var(--dusk) 235px); }
.dusk h2 { color: var(--dusk-ink); }
.dusk .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: end; }
.dusk .tel { display: inline-block; margin-top: 26px; font: 300 clamp(40px, 5vw, 80px)/1 var(--round); letter-spacing: -.03em; }
.dusk .mail { display: inline-block; margin-top: 14px; font-size: 19px; color: var(--dusk-mute); }
.dusk .btn { border-color: var(--dusk-ink); color: var(--dusk-ink); }
.dusk .btn::before { background: var(--dusk-ink); }
.dusk .btn.lq { color: var(--dusk); border-color: var(--dusk-ink); }
.form { display: grid; gap: 12px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { position: relative; }
.fld input, .fld textarea { width: 100%; height: 58px; padding: 22px 18px 8px; border-radius: var(--r-in); border: 1.5px solid rgba(239,231,216,.22); background: rgba(239,231,216,.05); color: var(--dusk-ink); outline: none; font-size: 16px; transition: border-color .4s, background .4s; }
.fld textarea { height: 104px; padding-top: 26px; resize: vertical; }
.fld label { position: absolute; left: 19px; top: 18px; font-size: 15px; color: var(--dusk-mute); pointer-events: none; transform-origin: 0 0; transition: transform .45s var(--soft), color .3s; }
.fld input:focus, .fld textarea:focus { border-color: var(--dusk-ink); background: rgba(239,231,216,.09); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); }
.fld input::placeholder, .fld textarea::placeholder { color: transparent; }
.fld.bad input { border-color: #D9876B; animation: nudge .4s; }
@keyframes nudge { 25%, 75% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.form .agree { font-size: 13px; color: var(--dusk-mute); }
.ok { display: none; font: 400 24px/1.3 var(--round); }
.sent .form, .sent > form { display: none; }
.sent .ok { display: block; animation: okin .8s var(--soft) both; }
@keyframes okin { from { opacity: 0; transform: translateY(14px); } }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 110px; padding-top: 24px; border-top: 1px solid rgba(239,231,216,.12); font-size: 14px; color: var(--dusk-mute); }
/* ---------- каталог ---------- */
.ptitle { padding: 70px 0 10px; }
.ptitle h1 { font: 300 clamp(44px, 5.4vw, 80px)/1 var(--round); letter-spacing: -.03em; }
.ptitle p { margin-top: 20px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--stone); }
.crumbs span::before { content: '·'; margin-right: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 30px; }
.chip { position: relative; overflow: hidden; isolation: isolate; height: 42px; padding: 0 18px; border-radius: var(--r); border: 1.5px solid var(--line); background: none; cursor: pointer; font-size: 15px; color: var(--ink); transition: color .45s var(--soft), border-color .45s; }
.chip::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--moss); transform: scaleX(0); transform-origin: var(--o, left); transition: transform .55s var(--soft); }
.chip[aria-pressed="true"] { color: var(--paper); border-color: var(--moss); }
.chip[aria-pressed="true"]::before { transform: none; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border-radius: var(--r); padding: 8px; background: var(--sand); transition: background .5s var(--soft), transform .6s var(--soft); }
.card:hover { background: var(--sand-2); transform: translateY(-4px); }
.card .ph { aspect-ratio: 4 / 3; border-radius: var(--r-in); }
.card .bd { padding: 18px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font: 400 25px/1.1 var(--round); }
.card .tp { margin-top: 4px; font-size: 14px; color: var(--stone); }
.card dl { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 18px; margin: 18px 0 0; }
.card dt { font-size: 12px; color: var(--stone); }
.card dd { margin: 2px 0 0; font: 400 17px var(--round); white-space: nowrap; }
.card .more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.card .more .ico { width: 18px; height: 18px; transition: transform .5s var(--soft); }
.card:hover .more .ico { transform: translateX(4px); }
.gone { display: none; }
.ask { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; margin-top: 16px; padding: clamp(26px, 3vw, 44px); border-radius: var(--r); border: 1.5px dashed var(--line); }
.ask h3 { font: 400 clamp(24px, 2.4vw, 34px)/1.15 var(--round); }
.ask p { margin-top: 10px; color: var(--stone); }

/* ---------- страница серии ---------- */
.sp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: 40px; }
.sp .ph { aspect-ratio: 4 / 3; border-radius: var(--r); }
.sp h1 { font: 300 clamp(48px, 5.8vw, 88px)/1 var(--round); letter-spacing: -.03em; }
.sp .tp { margin-top: 14px; font: 400 20px var(--round); color: var(--moss-d); }
.sp .note { margin-top: 22px; color: var(--stone); max-width: 30em; }
.sp .stats { grid-template-columns: repeat(2, auto); justify-content: start; gap: 18px 50px; margin-top: 34px; }
.sp .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.tbl { border-radius: var(--r); background: var(--sand); padding: 8px; overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; padding: 14px 18px; font-weight: 500; font-size: 13px; color: var(--stone); white-space: nowrap; }
.tbl td { padding: 15px 18px; border-top: 1px solid var(--line); white-space: nowrap; }
.tbl tbody tr { transition: background .35s; }
.tbl tbody tr:hover td { background: var(--paper); }
.tbl tbody tr:hover td:first-child { border-radius: var(--r-in) 0 0 var(--r-in); }
.tbl tbody tr:hover td:last-child { border-radius: 0 var(--r-in) var(--r-in) 0; }
.tbl td:first-child { font-family: var(--round); }
.tbl .note { padding: 12px 18px 10px; font-size: 13px; color: var(--stone); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feats div { padding: 30px; border-radius: var(--r); border: 1.5px solid var(--line); }
.feats h3 { font: 500 20px var(--round); }
.feats p { margin-top: 10px; color: var(--stone); font-size: 16px; }

/* ---------- одностраничник ---------- */
.solo { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.solo .mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: 20px; padding-bottom: 50px; }
.solo h1 { font: 300 clamp(52px, 7vw, 112px)/.95 var(--round); letter-spacing: -.035em; }
.solo .price { display: inline-flex; flex-direction: column; margin-top: 34px; }
.solo .price small { font-size: 14px; color: var(--stone); }
.solo .price b { font: 400 30px var(--round); }
.solo .pic { position: relative; }
.solo .pic img { width: 100%; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: block; }
  .top .tel span { display: none; }
  .hero h1 { font-size: clamp(48px, 13vw, 150px); }
  .hero .low { grid-template-columns: 1fr; }
  .cap { text-align: left; width: auto; }
  .cap .t p { left: 0; right: auto; }
  .cap .bars { justify-content: flex-start; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums div:nth-child(3) { padding-left: 0; border-left: 0; }
  .made { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show .grid { grid-template-columns: 1fr; }
  .idx { flex-direction: row; overflow-x: auto; gap: 18px; border-top: 0; scrollbar-width: none; }
  .idx::-webkit-scrollbar { display: none; }
  .idx button { width: auto; flex: none; border-bottom: 0; padding: 8px 0 12px; }
  .idx button i { display: none; }
  .idx .all { display: none; }
  .scene .foot2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene .acts { grid-column: 1 / -1; }
  .why, .feats, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why div:nth-child(3) { padding-left: 0; border-left: 0; }
  .grid3 .ask { grid-template-columns: 1fr; }
  .calc, .dusk .grid { grid-template-columns: 1fr; }
  .sp, .solo .mid { grid-template-columns: 1fr; min-height: 0; }
  .stats { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .rows a { grid-template-columns: 34px minmax(0, 1fr) 24px; padding: 22px 0; }
  .rows a > span:not(.n) { display: none; }
  .hero .acts .btn { flex: 1 1 auto; }
  .made { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .made .ph { height: 200px; }
  .made figcaption { font-size: 12px; }
  .scene { grid-template-rows: auto 1fr auto; }
  .scene .glow { bottom: 30%; }
  .scene .ttl { position: relative; left: auto; top: auto; padding: 22px 20px 0; }
  .scene .lamp { padding: 10px 20px 20px; min-height: 260px; }
  .scene .lamp img { max-width: 78%; max-height: 74%; }
  .peek { display: none; }
  .nums { grid-template-columns: minmax(0, 1fr); }
  .nums div, .nums div + div { padding: 24px 0 0; border-left: 0; }
  .scene { min-height: 460px; }
  .why, .feats, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .why div, .why div + div { padding: 28px 0 6px; border-left: 0; border-top: 1px solid var(--line); }
  .form .row2 { grid-template-columns: 1fr; }
  .ask { grid-template-columns: 1fr; grid-column: auto !important; }
  .card dl { grid-template-columns: repeat(2, auto); }
  .calc .big { font-size: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .dawn { display: none; }
  .enter, .reveal { opacity: 1; transform: none; }
  .ph img { opacity: 1; filter: none; -webkit-mask-image: none; mask-image: none; }
}
.hero + .scale { margin-top: 0; }

/* ---------- знак на первом экране: блик + полосы света (по рефу «реф-логотип-свуши.png») ---------- */
.mark { position: relative; display: inline-block; align-self: flex-start; margin-left: clamp(40px, 6vw, 120px); margin-bottom: clamp(26px, 4.4vw, 80px); isolation: isolate; }
.hero .mark h1 { font-weight: 400; }
.hero h1 .ch.acc { background: linear-gradient(180deg, var(--g1) 10%, var(--g2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.swoosh { position: absolute; z-index: -1; pointer-events: none; overflow: visible; }
.swoosh .d { fill: none; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ready .mark.go .d { animation: draw var(--t, 1.9s) cubic-bezier(.45,.05,.2,1) var(--dl, 1.6s) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.swoosh .sm { opacity: .8; }
.swoosh { will-change: transform; }
.ready .mark.go .sm { animation: draw var(--t, 2.4s) cubic-bezier(.45,.05,.2,1) var(--dl, 1.6s) forwards; }
@keyframes breathe { from { opacity: .8; } to { opacity: .5; } }
.swoosh .halo { opacity: 0; transform-box: fill-box; transform-origin: center; }
.ready .mark.go .halo { animation: halo 2.4s ease 1.35s forwards; }
@keyframes halo { 30% { opacity: 1; transform: scale(1.25); } to { opacity: .75; transform: scale(1); } }
@media (max-width: 640px) { .mark { margin-left: 26px; } .hero .mark h1 { font-size: 11.6vw; } }
@media (prefers-reduced-motion: reduce) { .swoosh .d { stroke-dashoffset: 0; } .swoosh .halo { opacity: 1; transform: none; } }
.mark.static .d { animation: none !important; stroke-dashoffset: 0; }
.mark.static .halo { animation: none !important; opacity: 1; transform: none; }

/* ход дня: три неподвижных слоя, меняется только прозрачность — видеокарта, без перерисовки */
html { background: var(--bg); }
.sky { position: fixed; inset: 0; z-index: -10; background: var(--bg); pointer-events: none; }
.sky i { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sky .d { background: var(--sky-d); }
.sky .e { background: var(--sky-e); }

/* искра пробегает по полосам раз в ~7 с (тонкая линия без фильтров — дёшево) */
.swoosh .glint { fill: none; stroke: #FFFBEF; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .06 1.2; stroke-dashoffset: .06; opacity: 0; }
.ready .mark.go .glint { animation: glint 7s cubic-bezier(.45,.05,.3,1) var(--gd, 4s) infinite; }
@keyframes glint { 0% { stroke-dashoffset: .06; opacity: 0; } 4% { opacity: .95; } 26% { opacity: .95; } 32% { stroke-dashoffset: -1.06; opacity: 0; } 100% { stroke-dashoffset: -1.06; opacity: 0; } }
.ready .mark.go .halo { animation: halo 2.4s ease 1.35s forwards, twinkle 4.5s ease-in-out 4s infinite alternate; }
@keyframes twinkle { from { opacity: .75; } to { opacity: .45; } }
.hero.off .swoosh * { animation-play-state: paused !important; }
.hero h1 .ch.acc { font-weight: 500; }

/* смена фото: шейдер «утренний свет»; без WebGL — наплыв поверх (старое фото не исчезает под новым) */
.slides .daylight { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.slides .daylight.on { opacity: 1; }
.hero.gl .slides .s { display: none; }
.slides .s { transition: opacity 1.8s cubic-bezier(.4,0,.2,1); }
.slides .s.on { z-index: 2; }
.slides .s.was { z-index: 1; opacity: 1; transition: none; }
.slides .s.was img { animation-play-state: running; }

/* знак: шрифт Jost (геометрия как у Futura) — выбран по сравнению вариантов */
.hero .mark h1 { font-family: 'Jost', 'Futura', sans-serif; font-weight: 500; letter-spacing: -.025em; line-height: .9; }
.hero .mark h1 .ch.acc { font-weight: 600; }

/* первый экран по центру: знак + подпись + кнопки; подпись фото и полоски — в правом нижнем углу */
.hero .wrap { justify-content: center; align-items: center; text-align: center; padding-top: calc(72px + 20vh); }
.hero .mark { align-self: center; margin-left: 0; margin-bottom: clamp(40px, 5vw, 92px); }
.hero .low { display: block; margin-top: 0; }
.hero .what { margin-left: auto; margin-right: auto; }
.hero .acts { justify-content: center; }
.hero .cap { position: absolute; right: var(--gut); bottom: clamp(24px, 3vw, 44px); }
@media (max-width: 1100px) { .hero .cap { left: var(--gut); right: auto; text-align: left; } }
@media (max-width: 640px) { .hero .wrap { padding-bottom: 130px; } .hero .mark { margin-left: 26px; } }

/* ---------- подбор: что нужно осветить ---------- */
.pick { padding-top: clamp(80px, 8vw, 130px); }
.pk-l { margin: 0 0 14px; font: 500 14px/1 var(--text); color: var(--stone); }
.pick .pk-l + .mounts + .pk-l { margin-top: 44px; }
.mounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mt { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: 1fr auto auto; padding: 18px 22px 20px; min-height: clamp(230px, 19vw, 300px); border-radius: var(--r); background: var(--sand); color: var(--ink); }
.mt svg { width: 100%; max-width: 230px; height: auto; justify-self: center; align-self: center; overflow: visible; }
.mt .bd { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .78; }
.mt .em { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: stroke .5s ease; }
.mt .lt { fill: var(--lt); opacity: 0; transition: opacity .45s ease; }
.mt .ht { opacity: .38; }
.mt .fl { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 1 5; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .35; }
.mt b { margin-top: 10px; font: 400 clamp(22px, 1.8vw, 28px)/1.1 var(--round); letter-spacing: -.01em; }
.mt span { margin-top: 5px; font-size: 14px; color: var(--stone); transition: color .5s; }
.mt em { position: absolute; right: 20px; top: 18px; font-style: normal; font-size: 13px; color: var(--stone); transition: color .5s; }
.mt::before, .cd::before { content: ''; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%); width: var(--d, 0px); height: var(--d, 0px); border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .8s var(--soft); pointer-events: none; }
.mt::before { background: var(--forest); }
.cd::before { background: var(--moss); }
.mt.lq::before, .cd.lq::before { transform: translate(-50%, -50%) scale(1); }
/* наведение: в комнате темнеет, светильник включается */
.mt.lq { color: var(--on-forest); }
.mt.lq span, .mt.lq em { color: var(--on-forest-2); }
.mt.lq .lt { opacity: 1; transition: opacity 1.2s cubic-bezier(.2,.7,.2,1) .2s; }
.mt.lq .em { stroke: var(--g1); }
.conds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cd { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 116px; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line); color: var(--ink); font-size: 15px; line-height: 1.25; transition: color .5s var(--soft), border-color .5s; }
.cd .ico { width: 26px; height: 26px; color: var(--moss-d); transition: color .5s; }
.cd.lq { color: var(--paper); border-color: var(--moss); }
.cd.lq .ico { color: var(--paper); }
.mounts .mt, .conds .cd { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--soft) var(--d, 0s), transform 1.1s var(--soft) var(--d, 0s), color .5s var(--soft), border-color .5s; }
.mounts.on .mt, .conds.on .cd { opacity: 1; transform: none; }

/* ---------- меню каталога в шапке ---------- */
.menu a[data-mega]::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .45s var(--soft); }
.top.mg-open .menu a[data-mega]::after { transform: translateY(0) rotate(225deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; pointer-events: none; }
.top .mega .wrap { display: block; height: auto; padding-top: 8px; }
.mg-in { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 26px; padding: 20px; border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(44,43,39,.5);
  opacity: 0; transform: translateY(-10px); clip-path: inset(0 0 100% 0 round var(--r)); transition: opacity .3s ease, transform .6s var(--soft), clip-path .6s var(--soft); }
.top.mg-open .mega { pointer-events: auto; }
.top.mg-open .mg-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--r)); }
.mg-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mega .mt { min-height: 0; padding: 10px 14px 14px; }
.mega .mt svg { max-width: 130px; height: 74px; }
.mega .mt b { margin-top: 4px; font-size: 18px; }
.mega .mt span { font-size: 13px; }
.mega .mt em { display: none; }
.mg-l { display: grid; gap: 2px; }
.mega .cd { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-height: 0; padding: 9px 12px; border: 0; }
.mega .cd .ico { width: 22px; height: 22px; }
.mg-f { display: flex; align-items: center; gap: 20px; margin-top: 14px; padding: 4px 4px 0; }
.mg-c { padding-left: 22px; border-left: 1px solid var(--line); }
.mg-f p { font-size: 13px; color: var(--stone); max-width: 24em; }
.mega .mt, .mega .cd { opacity: 0; transform: translateY(8px); transition: opacity .45s ease var(--d, 0s), transform .7s var(--soft) var(--d, 0s), color .5s var(--soft), border-color .5s; }
.top.mg-open .mega .mt, .top.mg-open .mega .cd { opacity: 1; transform: none; }

/* ---------- линия производства: залипающий блок, шаги по прокрутке ---------- */
.scale { padding-bottom: 0; }
.line { position: relative; height: calc(100vh + (var(--n) - 1) * 70vh); margin-top: clamp(40px, 4vw, 70px); }
.ln-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.ln-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 70px); align-items: center; }
.ln-ph { position: relative; height: min(78vh, 780px); border-radius: var(--r); overflow: hidden; isolation: isolate; background: var(--forest-2); }
.ln-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease; }
.ln-ph img.on { opacity: 1; }
.line.gl .ln-ph img { display: none; }
.ln-ph .daylight { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; }
.ln-ph .daylight.on { opacity: 1; }
.ln-no { position: absolute; z-index: 2; left: 20px; bottom: 18px; padding: 8px 14px; border-radius: var(--r); background: rgba(30,28,22,.42); font-size: 14px; color: rgba(243,239,230,.75); font-variant-numeric: tabular-nums; }
.ln-no b { font-weight: 500; color: var(--paper); }
.ln-side { position: relative; padding-left: 30px; }
.ln-side .kick { color: var(--on-forest-2); }
.ln-prog { position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px; background: rgba(236,231,218,.14); }
.ln-prog i { position: absolute; inset: 0; background: var(--warm); transform-origin: top; transform: scaleY(0); }
.ln-steps { list-style: none; margin: 24px 0 0; padding: 0; }
.ln-steps li { padding: 14px 0; border-top: 1px solid rgba(236,231,218,.12); color: rgba(236,231,218,.36); transition: color .6s ease; }
.ln-steps li.past { color: rgba(236,231,218,.58); }
.ln-steps li.on { color: var(--on-forest); }
.ln-steps i { display: inline-block; min-width: 34px; font-style: normal; font-size: 13px; vertical-align: .35em; }
.ln-steps b { font: 400 clamp(22px, 2vw, 32px)/1.15 var(--round); letter-spacing: -.01em; }
.ln-steps p { max-width: 26em; max-height: 0; margin: 0 0 0 34px; overflow: hidden; opacity: 0; font-size: 16px; color: var(--on-forest-2); transition: max-height .8s var(--soft), opacity .5s ease, margin .8s var(--soft); }
.ln-steps li.on p { max-height: 9em; margin-top: 10px; opacity: 1; transition-delay: 0s, .15s, 0s; }

/* ---------- объекты: изогнутая панорама ---------- */
.pano { position: relative; outline: none; --cw: 600px; --ch: 384px; }
.pano:focus-visible .pn-stage { outline: 2px solid var(--moss); outline-offset: -2px; }
.pn-stage { position: relative; height: calc(var(--ch) * 1.34); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pano.grab .pn-stage { cursor: grabbing; }
.pn-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.pn-c { position: absolute; left: calc(var(--cw) / -2); top: calc(var(--ch) / -2); width: var(--cw); height: var(--ch); margin: 0; backface-visibility: hidden; }
.pn-c .ph { width: 100%; height: 100%; border-radius: var(--r); transition: transform .7s var(--soft); }
.pn-c img { pointer-events: none; -webkit-user-drag: none; }
.pn-c .dm { position: absolute; inset: 0; z-index: 2; background: #1F1C17; opacity: calc(var(--k, 0) * .62); pointer-events: none; }
.pano.grab .pn-c .ph { transform: scale(.955); }
.pn-ui { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 10px; }
.pn-cap { position: relative; height: 72px; }
.pn-cap p { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .8s var(--soft); }
.pn-cap p.on { opacity: 1; transform: none; transition-delay: .1s; }
.pn-cap b { font: 300 clamp(38px, 3.8vw, 58px)/1 var(--round); letter-spacing: -.03em; white-space: nowrap; }
.pn-cap b small { margin-left: 4px; font-size: 16px; letter-spacing: 0; color: var(--stone); }
.pn-cap span { display: flex; flex-direction: column; font-size: 17px; line-height: 1.35; }
.pn-cap em { font-style: normal; font-size: 14px; color: var(--stone); }
.pn-cap i { margin-left: 10px; font-style: normal; font-size: 13px; color: var(--stone); font-variant-numeric: tabular-nums; }

@media (max-width: 1300px) { .conds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .mounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega { display: none; }
  .menu a[data-mega]::after { display: none; }
}
@media (max-width: 900px) {
  .ln-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ln-ph { height: 44vh; }
  .ln-steps { margin-top: 14px; }
  .ln-steps li { padding: 9px 0; }
  .ln-steps b { font-size: 20px; }
  .ln-steps p { font-size: 15px; }
}
@media (max-width: 640px) {
  .mounts { gap: 8px; }
  .mt { min-height: 190px; padding: 14px 14px 16px; }
  .mt b { font-size: 20px; }
  .mt span { font-size: 13px; }
  .mt em { display: none; }
  .conds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd { min-height: 96px; font-size: 14px; }
  .pn-ui { gap: 10px; }
  .pn-cap { height: 92px; }
  .pn-cap p { flex-direction: column; gap: 6px; text-align: center; }
  .pn-cap span { align-items: center; text-align: center; font-size: 15px; }
  .pn-cap i { display: none; }
  .pn-ui .circ { width: 44px; height: 44px; }
}

/* ---------- каталог: фильтр плитками ---------- */
.flt .pk-l { margin-top: 34px; }
.flt .mounts .mt { min-height: clamp(170px, 13vw, 210px); padding: 12px 16px 14px; cursor: pointer; border: 0; text-align: left; font: inherit; }
.flt .mounts .mt svg { max-width: 170px; }
.flt .mt b { font-size: clamp(19px, 1.5vw, 23px); }
.flt .cd { cursor: pointer; background: none; text-align: left; font: inherit; font-size: 15px; min-height: 96px; }
.mt.sel { background: var(--forest); color: var(--on-forest); }
.mt.sel span, .mt.sel em { color: var(--on-forest-2); }
.mt.sel .lt { opacity: 1; }
.mt.sel .em { stroke: var(--g1); }
.cd.sel { background: var(--moss); border-color: var(--moss); color: var(--paper); }
.cd.sel .ico { color: var(--paper); }
.res { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 46px 0 18px; min-height: 44px; }
.res .cnt { font-size: 16px; color: var(--stone); }
.res .cnt b { font-weight: 500; color: var(--ink); }
.grid3 .ask { grid-column: span 2; margin-top: 0; align-content: center; }
.grid3 .ask.none { grid-column: 1 / -1; }

/* ---------- витрина серий: подиум — светильники по кругу, выбранный впереди на пятне света ---------- */
.scene .lamp { position: relative; display: block; padding: 0; min-height: 430px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.show.spin .scene .lamp { cursor: grabbing; }
.scene .ttl { z-index: 150; pointer-events: none; }
.scene .glow { bottom: 18%; width: 54%; height: 34%; }
.scene .track { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.scene .track ellipse { fill: none; stroke: var(--stone); stroke-opacity: .4; stroke-width: 1; stroke-dasharray: 1 7; stroke-linecap: round; }
.ob { position: absolute; left: 0; top: 0; will-change: transform, opacity; cursor: pointer; }
.scene .lamp .ob img { position: relative; z-index: 1; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; filter: none; opacity: 0; transform: none; transition: opacity .6s ease; pointer-events: none; -webkit-user-drag: none; }
.ob.ld img { opacity: 1 !important; }
.ob .sh { position: absolute; left: 18%; right: 18%; bottom: -2%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(70,58,40,.3), rgba(70,58,40,0)); }
.ob.front .sh { background: radial-gradient(closest-side, rgba(70,58,40,.36), rgba(70,58,40,0)); }
@media (max-width: 640px) {
  .scene .lamp { min-height: 300px; padding: 0; }
  .scene .glow { top: 44%; bottom: auto; height: 24%; width: 80%; }
  .hero .cap { left: var(--gut); right: var(--gut); }
  .cap .t { height: 62px; }
  .cap .t p { left: 0; right: 0; white-space: normal; }
  .cap .t p b { font-size: 19px; }
}

/* ---------- загрузка и скелеты ---------- */
.ldr { position: fixed; left: 0; right: 0; top: 0; z-index: 300; height: 2px; pointer-events: none; opacity: 0; transition: opacity .4s ease; }
.ldr.on { opacity: 1; }
.ldr i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); transition: transform .45s var(--soft);
  background: linear-gradient(90deg, rgba(110,125,91,0), var(--moss) 55%, #E9D3A0 92%, #FFF6DE); }
.ldr i::after { content: ''; position: absolute; right: -2px; top: -3px; width: 70px; height: 8px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--glow),.9), rgba(var(--glow),0)); }
/* фото ещё не пришло: по месту пробегает мягкий блик (только transform — дёшево) */
.ph::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; width: 55%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(255,251,240,0), rgba(255,251,240,.4) 50%, rgba(255,251,240,0)); transform: translateX(-110%); transition: opacity .5s ease; }
.ph.wait:not(.lit)::after { opacity: 1; animation: shim 1.6s cubic-bezier(.45,.05,.4,1) infinite; }
@keyframes shim { from { transform: translateX(-110%); } to { transform: translateX(230%); } }
.ln-ph::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; width: 45%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(236,231,218,0), rgba(236,231,218,.12) 50%, rgba(236,231,218,0)); transform: translateX(-110%); transition: opacity .6s ease; }
.ln-ph.wait:not(.rdy)::after { opacity: 1; animation: shim 1.8s cubic-bezier(.45,.05,.4,1) infinite; }
.ob::before { content: ''; position: absolute; left: 24%; right: 24%; top: 26%; bottom: 22%; border-radius: var(--r); background: var(--sand-2); opacity: .7; transition: opacity .5s ease; animation: pulse 1.4s ease-in-out infinite alternate; }
.ob.ld::before { opacity: 0; animation: none; }
@keyframes pulse { to { opacity: .35; } }
.slides .sk { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(26px) brightness(.92); transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .ph::after, .ln-ph::after, .ob::before { display: none; } }

/* ================= v11: первый экран по смыслу — акцент на PromLED, светильник с выносками, цифры завода ================= */
/* шапка: ИнжТеплоТех скромно, телефон с часами, «Запросить КП» */
.logo span { display: flex; flex-direction: column; line-height: 1.1; }
.logo span b { font: 500 19px/1.1 var(--round); letter-spacing: -.01em; }
.logo span small { margin: 3px 0 0; padding: 0; border: 0; font: 400 12px/1.2 var(--text); letter-spacing: 0; text-transform: none; color: var(--stone); }
.top .tel span { display: flex; flex-direction: column; line-height: 1.15; }
.top .tel span b { font-weight: 500; }
.top .tel span small { font-size: 12px; color: var(--stone); }
.top .kp { flex: none; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.top.over:not(.scr) .logo span small, .top.over:not(.scr) .tel span small { color: rgba(243,239,230,.65); }
.top.over:not(.scr) .kp { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.top.over:not(.scr) .kp.lq { color: var(--paper); border-color: var(--moss); }
.top .wrap { gap: 28px; }

.hero { min-height: 760px; }
.hero::before { background: linear-gradient(90deg, rgba(var(--shade),.78) 0%, rgba(var(--shade),.42) 52%, rgba(var(--shade),.55) 100%), linear-gradient(0deg, rgba(var(--shade),.8) 0%, rgba(var(--shade),0) 38%); }
.hero .wrap.hx { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-content: stretch; align-items: stretch; text-align: left; height: 100%; padding-top: 72px; padding-bottom: clamp(20px, 2.4vw, 34px); }
.hx-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 80px); align-items: center; }
.hx-k { font: 500 14px/1.3 var(--text); letter-spacing: .01em; color: rgba(243,239,230,.7); }
.hero .hx-h { position: relative; margin: 18px 0 0; white-space: normal; font: 500 clamp(44px, 4.6vw, 84px)/1.02 'Jost', 'Futura', sans-serif; letter-spacing: -.02em; color: var(--paper); }
.hx-h .wd { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.22em); transition: opacity 1.2s var(--soft), filter 1.4s var(--soft), transform 1.5s var(--soft); transition-delay: calc(var(--i) * 70ms + .1s); }
.ready .hx-h .wd { opacity: 1; filter: blur(0); transform: none; }
.hx-h .pl { position: relative; z-index: 1; font-weight: 600; background: linear-gradient(180deg, var(--g1) 10%, var(--g2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-h .swoosh { z-index: 0; }
.ready .hx-h.go .d { animation: draw var(--t, 1.6s) cubic-bezier(.45,.05,.2,1) var(--dl, 1s) forwards; }
.ready .hx-h.go .glint { animation: glint 7s cubic-bezier(.45,.05,.3,1) var(--gd, 3.4s) infinite; }
.hx-h.static .d { animation: none !important; stroke-dashoffset: 0; }
.hero.off .hx-h .glint { animation-play-state: paused; }
.hx-p { margin-top: 24px; max-width: 31em; font-size: 18px; line-height: 1.55; color: rgba(243,239,230,.82); }
.hx-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.hx-alt { font-size: 15px; color: rgba(243,239,230,.85); }

/* светильник с выносками */
.hx-prod { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(170px, .7fr); column-gap: 46px; align-items: center; }
.hp-stage { position: relative; aspect-ratio: 900 / 614; }
.hp-glow { position: absolute; inset: -30% -22%; background: radial-gradient(closest-side, rgba(var(--glow),.34), rgba(var(--glow),.1) 55%, rgba(var(--glow),0)); pointer-events: none; }
.hp-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 34px 40px rgba(0,0,0,.45)); animation: hpf 8s ease-in-out infinite alternate; }
@keyframes hpf { from { transform: translateY(-1.2%); } to { transform: translateY(1.2%); } }
.hero.off .hp-img { animation-play-state: paused; }
.hp-dot { position: absolute; z-index: 3; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 4px rgba(var(--glow),.22), 0 0 16px rgba(var(--glow),.9); opacity: 0; transform: scale(0); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.9,.25,1.3); }
.hp-dot:nth-of-type(1) { transition-delay: 1.3s; } .hp-dot:nth-of-type(2) { transition-delay: 1.45s; } .hp-dot:nth-of-type(3) { transition-delay: 1.6s; } .hp-dot:nth-of-type(4) { transition-delay: 1.75s; }
.ready .hp-dot { opacity: 1; transform: none; }
.hp-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(var(--glow),.6); animation: hpp 2.8s ease-out infinite; }
@keyframes hpp { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero.off .hp-dot::after { animation-play-state: paused; }
.hp-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.2vh, 28px); font-size: 14px; line-height: 1.45; color: rgba(243,239,230,.72); }
.hp-notes li { opacity: 0; transform: translateX(10px); transition: opacity .8s ease, transform 1s var(--soft); }
.hp-notes li:nth-child(1) { transition-delay: 1.9s; } .hp-notes li:nth-child(2) { transition-delay: 2.05s; } .hp-notes li:nth-child(3) { transition-delay: 2.2s; } .hp-notes li:nth-child(4) { transition-delay: 2.35s; }
.ready .hp-notes li { opacity: 1; transform: none; }
.hp-notes b { font-weight: 500; color: var(--paper); }
.hp-lines { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; overflow: visible; }
.hp-lines path { fill: none; stroke: rgba(var(--glow),.65); stroke-width: 1; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ready .hp-lines path { animation: draw var(--t, .9s) cubic-bezier(.45,.05,.2,1) var(--dl, 1.5s) forwards; }
.hp-lines.still path { animation: none !important; stroke-dashoffset: 0; }
.hp-cap { grid-column: 1 / -1; margin-top: 26px; padding-left: 14px; border-left: 1.5px solid var(--warm); font-size: 14px; font-style: italic; color: rgba(243,239,230,.7); }

/* низ первого экрана: цифры завода + подпись фото */
.hx-foot { padding-top: 16px; border-top: 1px solid rgba(243,239,230,.16); }
.hx-fk { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.hero .hx-foot .cap { position: static; width: 440px; max-width: 100%; text-align: right; }
.hero .hx-foot .cap .t { height: 20px; }
.hero .hx-foot .cap .t p { font-size: 13px; color: rgba(243,239,230,.6); }
.hero .hx-foot .cap .t p b { display: inline; margin-right: 8px; font: 500 13px var(--text); color: rgba(243,239,230,.85); }
.hero .hx-foot .cap .bars { margin-top: 8px; }
.hx-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 6px 0 0; }
.hx-nums div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-right: 20px; }
.hx-nums dd { margin: 0; font: 300 clamp(32px, 3vw, 54px)/1 var(--round); letter-spacing: -.03em; color: var(--paper); white-space: nowrap; }
.hx-nums dd small { margin-left: 6px; font-size: .42em; letter-spacing: 0; color: rgba(243,239,230,.6); }
.hx-nums dt { margin-top: 8px; font-size: 14px; color: rgba(243,239,230,.62); }

@media (max-width: 1100px) {
  .hero { height: auto; min-height: 100svh; }
  .hero .wrap.hx { padding-top: 110px; row-gap: 40px; }
  .hx-main { grid-template-columns: minmax(0, 1fr); }
  .hx-prod { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .hp-lines { display: none; }
  .hp-dot::before { content: attr(data-n); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 600 8px var(--text); color: var(--ink); }
  .hp-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; counter-reset: n; }
  .hp-notes li { counter-increment: n; padding-left: 26px; position: relative; }
  .hp-notes li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: var(--warm); color: var(--ink); font: 600 10px/17px var(--text); text-align: center; }
  .hx-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .hx-fk { flex-direction: column; }
  .hero .hx-foot .cap { width: 100%; text-align: left; }
  .hero .hx-foot .cap .t p { left: 0; right: auto; }
}
@media (max-width: 640px) {
  .top .kp { display: none; }
  .top .tel span { display: none; }
  .logo span b { font-size: 17px; }
  .hero .hx-h { font-size: clamp(36px, 10.5vw, 52px); }
  .hx-p { font-size: 16px; }
  .hx-acts .btn { width: 100%; height: auto; min-height: 54px; padding: 12px 20px; white-space: normal; font-size: 15px; }
  .hp-notes { grid-template-columns: minmax(0, 1fr); }
  .hero .hx-foot .cap .t { height: 38px; }
  .hero .hx-foot .cap .t p { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .hx-h .wd, .hp-dot, .hp-notes li { opacity: 1; filter: none; transform: none; } .hp-lines path, .hx-h .d { stroke-dashoffset: 0; } }

/* ================= страница товара (tovar.html): 3D, модификации, характеристики, документы ================= */
.pd { padding-top: 34px; }
.pd-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 70px); align-items: start; margin-top: 22px; }
.pd-stage { position: relative; aspect-ratio: 1 / .92; border-radius: var(--r); overflow: hidden; isolation: isolate; touch-action: pan-y;
  background: radial-gradient(120% 90% at 50% 40%, var(--paper) 0%, var(--sand) 70%); }
.pd-glow { position: absolute; left: 50%; top: 52%; width: 70%; height: 46%; transform: translate(-50%, -50%); z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--glow),.55), rgba(var(--glow),0)); }
.pd-img { position: absolute; left: 50%; top: 50%; width: 66%; height: 66%; object-fit: contain; transform: translate(-50%, -50%); z-index: 1; filter: drop-shadow(0 30px 30px rgba(70,58,40,.22)); transition: opacity .6s ease; }
.pd-stage.v3-on .pd-img { opacity: 0; }
.v3-cv { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; cursor: grab; opacity: 0; transition: opacity .8s ease; }
.pd-stage.v3-on .v3-cv { opacity: 1; }
.pd-stage.v3-grab .v3-cv { cursor: grabbing; }
.pd-ctl { position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.pd-ctl button { height: 38px; padding: 0 14px; border: 0; border-radius: calc(var(--r) - 4px); background: none; cursor: pointer; font-size: 14px; color: var(--stone); transition: background .35s, color .35s; white-space: nowrap; }
.pd-ctl button:hover { color: var(--ink); }
.pd-ctl button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pd-hint { position: absolute; z-index: 4; left: 0; right: 0; top: 16px; text-align: center; font-size: 13px; color: var(--stone); pointer-events: none; animation: hint 5s ease 1.5s forwards; }
@keyframes hint { 0%, 70% { opacity: 1; } to { opacity: 0; } }
/* выноски на 3D */
.v3-hs { position: absolute; left: 0; top: 0; z-index: 3; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; transition: opacity .3s; }
.v3-hs i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ink), 0 4px 10px rgba(0,0,0,.18); }
.v3-hs i::after { content: attr(data-n); }
.v3-hs::before { content: attr(data-n); position: absolute; z-index: 1; left: -9px; top: -9px; width: 18px; line-height: 18px; text-align: center; font: 600 10px/18px var(--text); color: var(--ink); pointer-events: none; }
.v3-hs span { position: absolute; left: 16px; top: -14px; width: max-content; max-width: 230px; padding: 10px 12px; border-radius: var(--r-in); background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px rgba(44,43,39,.35);
  font-size: 13px; line-height: 1.4; color: var(--stone); text-align: left; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .3s, transform .4s var(--soft); }
.v3-hs span b { color: var(--ink); font-weight: 500; }
.v3-hs:hover span, .v3-hs.on span, .v3-hs:focus-visible span { opacity: 1; transform: none; }
.v3-hs.back { opacity: .2; pointer-events: none; }
.pd-info { padding-top: 6px; }
.pd-h { margin-top: 12px; font: 300 clamp(44px, 5vw, 78px)/1 var(--round); letter-spacing: -.03em; }
.pd-lead { margin-top: 18px; max-width: 34em; color: var(--stone); }
.pd-opts { display: grid; gap: 14px; margin-top: 30px; }
.pd-opt > span { display: block; margin-bottom: 8px; font-size: 14px; color: var(--stone); }
.pd-opt .seg { background: var(--sand); }
.pd-opt .seg button { border-radius: calc(var(--r) - 5px); transition: background .4s var(--soft), color .4s; }
.pd-opt .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pd-sku { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.pd-sku span { font-size: 13px; color: var(--stone); }
.pd-sku b { font: 500 17px var(--round); }
.pd-key { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.pd-key dt { font-size: 13px; color: var(--stone); }
.pd-key dd { margin: 4px 0 0; font: 400 clamp(22px, 2vw, 30px)/1.05 var(--round); letter-spacing: -.02em; white-space: nowrap; }
.pd-key dd small { margin-left: 4px; font-size: 13px; color: var(--stone); letter-spacing: 0; }
.pd-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; padding: 18px; border-radius: var(--r); background: var(--sand); }
.pd-buy > div { display: flex; flex-direction: column; margin-right: auto; }
.pd-buy > div span { font-size: 13px; color: var(--stone); }
.pd-buy > div b { font: 400 24px/1.2 var(--round); }
.pd-buy > div small { font-size: 12px; color: var(--stone); }
/* разделы */
.pd-nav { position: sticky; top: 72px; z-index: 30; margin-top: 60px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-nav .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.pd-nav a { flex: none; padding: 16px 0; font-size: 15px; color: var(--stone); transition: color .3s; }
.pd-nav a:hover { color: var(--ink); }
.pd-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-sg { padding: 26px 26px 18px; border-radius: var(--r); background: var(--sand); }
.pd-sg h3 { font: 500 18px var(--round); margin-bottom: 14px; }
.pd-sg dl { margin: 0; }
.pd-sg dl div { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 15px; }
.pd-sg dt { color: var(--stone); flex: none; max-width: 55%; }
.pd-sg i { flex: 1; border-bottom: 1px dotted var(--sand-2); transform: translateY(-4px); }
.pd-sg dd { margin: 0; text-align: right; }
.pd-docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pd-doc { position: relative; display: grid; gap: 4px; padding: 22px; border-radius: var(--r); border: 1.5px solid var(--line); transition: border-color .4s, background .4s; }
.pd-doc:hover { border-color: var(--ink); background: var(--sand); }
.pd-doc .ico { width: 26px; height: 26px; margin-bottom: 18px; color: var(--moss-d); }
.pd-doc b { font: 500 17px var(--round); }
.pd-doc span { font-size: 14px; color: var(--stone); }
.pd-doc em { position: absolute; right: 18px; top: 22px; font-style: normal; font-size: 12px; color: var(--stone); }
.pd-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pd-use { position: relative; display: block; border-radius: var(--r); overflow: hidden; }
.pd-use .ph { aspect-ratio: 16 / 10; }
.pd-use b { position: absolute; left: 18px; bottom: 16px; z-index: 2; font: 400 24px var(--round); color: #F3EFE6; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.pd-use::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(var(--shade),.55), rgba(var(--shade),0) 50%); }
@media (max-width: 1100px) {
  .pd-top { grid-template-columns: minmax(0, 1fr); }
  .pd-specs, .pd-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pd-stage { aspect-ratio: 1 / 1; }
  .pd-ctl { left: 8px; right: 8px; transform: none; overflow-x: auto; }
  .pd-ctl button { padding: 0 10px; font-size: 13px; }
  .pd-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-specs, .pd-docs, .pd-uses { grid-template-columns: minmax(0, 1fr); }
  .pd-buy .btn { width: 100%; }
  .v3-hs span { max-width: 180px; }
}

/* товар из каталога PromLED: фото вместо 3D, миниатюры, «о серии», таблица */
.pd-stage.photo { background: #FFFFFF; }
.pd-stage.photo .pd-img { width: 82%; height: 82%; filter: none; mix-blend-mode: multiply; }
.pd-stage.photo .pd-glow { display: none; }
.pd-thumbs { position: absolute; z-index: 4; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pd-thumbs button { flex: none; width: 64px; height: 64px; padding: 4px; border: 1.5px solid var(--line); border-radius: var(--r-in); background: #fff; cursor: pointer; transition: border-color .3s; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-sku small { flex-basis: 100%; font-size: 13px; color: var(--stone); }
.pd-about { margin-top: 16px; padding: 30px; border-radius: var(--r); border: 1.5px solid var(--line); columns: 2 360px; column-gap: 40px; }
.pd-about h3 { font: 500 18px var(--round); margin-bottom: 12px; column-span: all; }
.pd-about p { margin: 0 0 12px; font-size: 15px; color: var(--stone); break-inside: avoid; }
.pd-opt .seg.many { display: flex; flex-wrap: wrap; gap: 4px; }
.pd-opt .seg.many button { flex: 1 0 auto; min-width: 64px; padding: 0 10px; }
#mods tr.cur td { background: var(--paper); font-weight: 500; }
.ph-w { background: #FFFFFF; }
.ph-w img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
html[data-theme="graphite"] .pd-stage.photo, html[data-theme="graphite"] .pd-thumbs button, html[data-theme="graphite"] .ph-w { background: #F2F1EE; }
html[data-theme="hvoya"] .pd-stage.photo, html[data-theme="hvoya"] .pd-thumbs button, html[data-theme="hvoya"] .ph-w { background: #EFEDE6; }

.srch { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 420px; height: 44px; margin-left: auto; padding: 0 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); transition: border-color .3s; }
.srch:focus-within { border-color: var(--ink); }
.srch .ico { width: 18px; height: 18px; color: var(--stone); }
.srch input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 15px; }
@media (max-width: 640px) { .res { flex-wrap: wrap; } .srch { order: -1; max-width: none; flex-basis: 100%; } }

/* ---------- карточка товара без 3D: галерея, плашки, наличие ---------- */
.pd-stage.photo { cursor: zoom-in; outline: none; }
.pd-stage.photo .pd-img { transition: opacity .3s ease, transform .35s var(--soft); }
.pd-stage.photo .pd-img.sw { opacity: 0; }
.pd-stage.zoom .pd-img { transform: translate(-50%, -50%) scale(1.8); }
.pd-nav-b { position: absolute; z-index: 5; top: 50%; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: #FFFFFF; color: #111; cursor: pointer; opacity: 0; transition: opacity .3s, border-color .3s; }
.pd-nav-b.prev { left: 14px; } .pd-nav-b.next { right: 14px; }
.pd-stage:hover .pd-nav-b, .pd-stage:focus-within .pd-nav-b { opacity: 1; }
.pd-nav-b:hover { border-color: #111; }
.pd-nav-b .ico { width: 20px; height: 20px; }
.pd-count { position: absolute; z-index: 5; right: 16px; top: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(17,17,17,.06); font-size: 12px; color: #555; font-variant-numeric: tabular-nums; }
.pd-thumbs { bottom: 14px; justify-content: center; }
.pd-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; }
.pd-badges li { padding: 7px 12px; border-radius: 999px; background: var(--sand); font-size: 13px; color: var(--ink); }
.pd-stock { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--stone); }
.pd-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #B9B6AE; }
.pd-stock.in { color: var(--ink); }
.pd-stock.in::before { background: #4E9A5B; }
.pd-stock:empty { display: none; }
@media (hover: none) { .pd-nav-b { opacity: 1; } .pd-stage.photo { cursor: default; } }

/* ---------- каталог: подсказка «что показано» и кнопка «Категории» ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 260; max-width: min(560px, calc(100vw - 32px)); padding: 13px 20px; border-radius: var(--r); background: var(--ink); color: var(--paper); font-size: 15px; line-height: 1.35; text-align: center;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .35s ease, transform .5s var(--soft); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.backcat { position: fixed; right: 24px; bottom: 24px; z-index: 255; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 500 15px var(--text); cursor: pointer;
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.35); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .5s var(--soft), border-color .3s; }
.backcat .ico { width: 18px; height: 18px; transform: rotate(90deg); }
.backcat.on { opacity: 1; transform: none; pointer-events: auto; }
.backcat:hover { border-color: var(--ink); }
@media (max-width: 640px) { .backcat { right: 12px; bottom: 12px; height: 44px; } .toast { bottom: 70px; } }
.menu-open .backcat, .menu-open .toast { opacity: 0 !important; pointer-events: none !important; }   /* при открытом мобильном меню не висят поверх него */

/* ---------- первый экран: светильник выделен — свечение за корпусом, тонкий контур, конус света вниз ---------- */
.hp-glow { inset: -12% -8% -6%; background: radial-gradient(52% 48% at 50% 46%, rgba(var(--glow),.42) 0%, rgba(var(--glow),.16) 45%, rgba(var(--glow),0) 72%); }
.hp-img { filter: drop-shadow(0 0 1px rgba(255,250,240,.55)) drop-shadow(0 0 18px rgba(var(--glow),.28)) drop-shadow(0 34px 40px rgba(0,0,0,.5)); will-change: transform; }
.hp-beam { position: absolute; z-index: 0; left: 4%; right: 4%; top: 86%; height: 95%; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--glow),.3) 0%, rgba(var(--glow),.1) 45%, rgba(var(--glow),0) 85%);
  clip-path: polygon(26% 0, 74% 0, 100% 100%, 0 100%); filter: blur(10px); opacity: 0; transition: opacity 2s ease 1.8s; }
.ready .hp-beam { opacity: 1; }
@media (max-width: 1100px) { .hp-beam { height: 60%; } }

.pd-stage.photo { box-shadow: 0 0 0 1px var(--line); }

/* ======================= адаптация: телефоны и планшеты ======================= */
/* мобильное меню */
.mnav { display: none; }
@media (max-width: 1100px) {
  .top .menu { display: none !important; }
  .burger { position: relative; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: var(--r-in); }
  .burger i { position: absolute; left: 50%; top: 50%; width: 18px; margin: 0 0 0 -9px; transition: transform .45s var(--soft), background .3s; }
  .burger i:nth-child(1) { transform: translateY(-4px); } .burger i:nth-child(2) { transform: translateY(4px); }
  .menu-open .burger i:nth-child(1) { transform: rotate(45deg); } .menu-open .burger i:nth-child(2) { transform: rotate(-45deg); }
  .menu-open { overflow: hidden; }
  .menu-open .top { background: var(--paper) !important; box-shadow: 0 1px 0 var(--line) !important; color: var(--ink) !important; }
  .menu-open .top .logo small, .menu-open .top .tel span small { color: var(--stone) !important; }
  .menu-open .top .logo i { background: var(--ink) !important; }
  .menu-open .top .burger { border-color: var(--ink) !important; }
  .menu-open .top .burger i { background: var(--ink) !important; }
  .mnav { display: block; position: fixed; z-index: 39; left: 0; right: 0; top: 0; height: 100dvh; padding-top: 72px; background: var(--paper); color: var(--ink);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s ease, transform .5s var(--soft), visibility 0s .5s; }
  .menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .5s var(--soft), visibility 0s; }
  .mn-in { display: flex; flex-direction: column; min-height: calc(100dvh - 72px); padding: 12px var(--gut) max(24px, env(safe-area-inset-bottom)); }
  .mn-l { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 clamp(26px, 7.4vw, 34px)/1.1 var(--round); letter-spacing: -.01em; }
  .mn-k { margin: 28px 0 10px; font-size: 13px; color: var(--stone); }
  .mn-cs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .mn-c { padding: 12px 14px; border-radius: var(--r-in); background: var(--sand); font-size: 15px; }
  .mn-l, .mn-c { opacity: 0; transform: translateY(10px); transition: opacity .4s ease var(--d, 0s), transform .6s var(--soft) var(--d, 0s); }
  .menu-open .mn-l, .menu-open .mn-c { opacity: 1; transform: none; }
  .mn-ft { display: grid; gap: 14px; margin-top: auto; padding-top: 28px; }
  .mn-tel { display: flex; flex-direction: column; font: 400 28px/1.1 var(--round); }
  .mn-tel small { margin-top: 4px; font: 400 13px var(--text); color: var(--stone); }
  .mn-kp { width: 100%; }
  .mn-th { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--sand); }
  .mn-th button { height: 42px; border: 0; border-radius: calc(var(--r) - 4px); background: none; font-size: 15px; color: var(--stone); cursor: pointer; }
  .mn-th button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .thm { display: none !important; }
}

/* высота экрана — с учётом адресной строки телефона */
.hero { height: 100svh; }
.ln-pin { height: 100svh; }
.line { height: calc(100svh + (var(--n) - 1) * 70svh); }

@media (max-width: 1100px) {
  .top .wrap { gap: 14px; }
  .top .tel { margin-left: auto; }
  .hero { height: auto; min-height: 100svh; }
  .hx-p { max-width: none; }
  /* «Как делают светильник»: всё в один экран на любом телефоне */
  .ln-grid { gap: 14px; }
  .ln-ph { height: min(38svh, 56vw); }
  .ln-side { padding-left: 18px; }
  .ln-steps { margin-top: 8px; }
  .ln-steps li { padding: 7px 0; }
  .ln-steps b { font-size: clamp(17px, 4.6vw, 22px); }
  .ln-steps p { font-size: 14px; }
  .ln-steps li.on p { margin-top: 6px; }
  /* витрина серий: список-лента со свайпом и мягким краем */
  .idx { scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 30px; }
  .idx button { scroll-snap-align: start; }
  /* меню разделов товара: лента со свайпом */
  .pd-nav .wrap { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; }
}

@media (max-width: 640px) {
  .sec { padding-top: 72px; }
  .head { margin-bottom: 28px; gap: 12px; }
  h2 { font-size: clamp(28px, 8vw, 36px); }
  .lead { font-size: 16px; }
  .top .wrap { height: 64px; }
  .mnav { padding-top: 64px; } .mn-in { min-height: calc(100dvh - 64px); }
  .hero { margin-top: -64px; }
  .hero .wrap.hx { padding-top: 92px; row-gap: 30px; }
  .hx-h { margin-top: 12px; }
  .hx-p { margin-top: 16px; }
  .hx-acts { margin-top: 22px; }
  .hx-prod { max-width: none; }
  .hp-notes { gap: 12px; font-size: 13.5px; }
  .hx-nums { column-gap: 16px; }
  .hx-nums dd { font-size: clamp(28px, 8vw, 36px); }
  .hx-nums dt { font-size: 13px; }

  /* каталог: фильтры — лентой со свайпом, товары — в две колонки */
  .flt .mounts, .flt .conds { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scrollbar-width: none; }
  .flt .mounts::-webkit-scrollbar, .flt .conds::-webkit-scrollbar { display: none; }
  .flt .mounts .mt { flex: 0 0 136px; min-height: 150px; padding: 10px 12px 12px; scroll-snap-align: start; }
  .flt .mounts .mt svg { max-width: 100px; }
  .flt .mt b { font-size: 16px; } .flt .mt span { display: none; }
  .flt .cd { flex: 0 0 auto; min-height: 0; flex-direction: row; align-items: center; gap: 8px; padding: 10px 14px; scroll-snap-align: start; white-space: nowrap; }
  .flt .cd .ico { width: 20px; height: 20px; }
  .flt .pk-l { margin-top: 22px; }
  #grid.grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #grid .card { padding: 5px; }
  #grid .card .ph { aspect-ratio: 1 / 1; }
  #grid .card .bd { padding: 10px 6px 8px; }
  #grid .card h3 { font-size: 16px; line-height: 1.15; }
  #grid .card .tp { font-size: 12px; line-height: 1.35; }
  #grid .card .more { padding-top: 10px; font-size: 13px; }
  .grid3 .ask, .grid3 .ask.none { grid-column: 1 / -1; padding: 22px; }
  .pd-rel.grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pd-rel .card .bd { padding: 10px 6px 8px; } .pd-rel .card h3 { font-size: 16px; } .pd-rel .card .tp { font-size: 12px; }

  /* товар: таблица модификаций → карточки */
  #mods .tbl { padding: 4px; }
  #mods table, #mods tbody, #mods tr, #mods td { display: block; width: 100%; }
  #mods thead { display: none; }
  #mods tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px; border-top: 1px solid var(--line); }
  #mods tr:first-child { border-top: 0; }
  #mods td { padding: 0; border: 0; white-space: normal; }
  #mods td:nth-child(1) { grid-column: 1 / -1; font-size: 15px; }
  #mods td:nth-child(2) { font-size: 12px; color: var(--stone); }
  #mods td:nth-child(3) { grid-row: 2; grid-column: 2; text-align: right; font-weight: 500; }
  #mods td:nth-child(4) { font-size: 12px; color: var(--stone); }
  #mods tr.cur { border-radius: var(--r-in); background: var(--paper); }
  .pd-h { font-size: clamp(38px, 11vw, 52px); }
  .pd-opt .seg.many button { min-width: 0; flex: 1 0 calc(20% - 4px); font-size: 14px; padding: 0 4px; }
  .pd-sg { padding: 20px 18px 12px; }
  .pd-sg dl div { font-size: 14px; }
  .pd-about { padding: 20px; columns: 1; }
  .pd-buy { padding: 14px; }
  .pd-buy > div { margin-right: 0; width: 100%; }
  .pd-thumbs button { width: 54px; height: 54px; }
  .backcat { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }

  /* общее */
  .calc .in, .calc .out { padding: 22px 18px; }
  .seg button { font-size: 14px; }
  .dusk { padding-top: 200px; }
  .dusk .tel { font-size: clamp(32px, 10vw, 44px); }
  .foot { margin-top: 60px; }
}

/* узкие телефоны (бюджетные Samsung A, Redmi, Honor — 360 px) */
@media (max-width: 380px) {
  :root { --gut: 14px; }
  .logo span small { display: none; }
  .hero .hx-h { font-size: 34px; }
  .hx-acts .btn { font-size: 14px; }
  .hx-nums dd { font-size: 26px; }
  .mn-c { padding: 11px 12px; font-size: 14px; }
  .pd-opt .seg.many button { flex-basis: calc(25% - 4px); }
}

/* планшеты (iPad и большие Android) */
@media (min-width: 641px) and (max-width: 1100px) {
  #grid.grid3, .pd-rel.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick .mounts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pick .mt { min-height: 200px; }
  .hx-main { gap: 40px; }
  .hx-prod { max-width: 560px; }
}
/* телефоны в горизонтальном положении: экран низкий — не растягиваем блоки на всю высоту */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; height: auto; }
  .ln-ph { height: 62svh; }
  .ln-steps p { display: none; }
}
@media (max-width: 640px) {
  .flt .mounts > :first-child, .flt .conds > :first-child { margin-left: var(--gut); }
  .flt .mounts > :last-child, .flt .conds > :last-child { margin-right: var(--gut); }
  .flt .mounts, .flt .conds { padding-left: 0; padding-right: 0; scroll-padding-left: var(--gut); }
}

/* ---------- оптимизация без потери вида ---------- */
.ph.done img { -webkit-mask-image: none; mask-image: none; }
.ph.done::before { display: none; }
.hp-float { position: relative; z-index: 1; display: block; width: 100%; height: 100%; animation: hpf 8s ease-in-out infinite alternate; will-change: transform; }
.hp-img { animation: none !important; will-change: auto; }
.hero.off .hp-float { animation-play-state: paused; }

/* ======================= телефон: только нужное, первый экран — целиком в один экран ======================= */
@media (max-width: 640px) {
  .no-m { display: none !important; }
  /* первый экран: без светильника и подписи к фото — текст, кнопка и цифры завода в одном экране */
  .hero { height: 100svh; min-height: 560px; }
  .hero .wrap.hx { height: 100%; padding-top: 80px; padding-bottom: max(18px, env(safe-area-inset-bottom)); row-gap: 0; grid-template-rows: minmax(0, 1fr) auto; }
  .hx-main { align-content: center; }
  .hx-prod, .hero .hx-foot .cap, .hero .hx-fk { display: none; }
  .hx-k { font-size: 13px; }
  .hero .hx-h { font-size: clamp(32px, 9.4vw, 42px); margin-top: 10px; }
  .hx-p { margin-top: 14px; font-size: 15px; line-height: 1.5; }
  .hx-acts { margin-top: 20px; gap: 10px; }
  .hx-acts .btn { min-height: 52px; }
  .hx-alt { font-size: 14px; }
  .hx-foot { padding-top: 14px; }
  .hx-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin: 0; }
  .hx-nums div { padding-right: 0; }
  .hx-nums dd { font-size: clamp(24px, 7vw, 30px); }
  .hx-nums dt { margin-top: 4px; font-size: 12px; line-height: 1.3; }

  /* расчёт: результат сверху и «прилипает», пока двигаешь ползунок и переключатели — видно сразу, без прокрутки */
  .calc { display: flex; flex-direction: column; gap: 8px; }
  .calc .out { order: -1; position: sticky; top: 72px; z-index: 5; padding: 16px 18px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); }
  .calc .out .kick { font-size: 12px; }
  .calc .big { margin-top: 6px; font-size: 56px; gap: 8px; }
  .calc .big small { font-size: 14px; }
  .calc .mdl { margin-top: 6px; font-size: 15px; }
  .calc dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
  .calc dl div { display: flex; flex-direction: column; gap: 2px; padding: 8px 0 0; font-size: 13px; }
  .calc dl dt { font-size: 11px; line-height: 1.25; }
  .calc .out .acts { display: none; }
  .calc .in { gap: 22px; }
  .calc .in .note { font-size: 12px; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .hx-p { font-size: 14px; }
  .hx-alt { display: none; }
}

.calc-cta { display: none; }
@media (max-width: 640px) { .calc .calc-cta { display: inline-flex; width: 100%; } }

.t-sm { display: none; }
@media (max-width: 640px) { .t-lg { display: none; } .t-sm { display: inline; } .hx-acts .btn { white-space: nowrap; justify-content: space-between; } }
/* телефон: блок подбора компактнее — плитки ниже, особые условия лентой со свайпом */
@media (max-width: 640px) {
  .pick .mounts .mt { min-height: 150px; padding: 10px 12px 12px; }
  .pick .mounts .mt svg { max-width: 110px; }
  .pick .mt b { font-size: 17px; } .pick .mt span { display: none; }
  .pick .conds { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 0 6px; }
  .pick .conds::-webkit-scrollbar { display: none; }
  .pick .conds > :first-child { margin-left: var(--gut); } .pick .conds > :last-child { margin-right: var(--gut); }
  .pick .cd { flex: 0 0 auto; min-height: 0; flex-direction: row; align-items: center; gap: 8px; padding: 10px 14px; white-space: nowrap; }
  .pick .cd .ico { width: 20px; height: 20px; }
  .pick .pk-l + .mounts + .pk-l { margin-top: 26px; }
}

/* просмотр фото на весь экран */
.pd-stage.photo { cursor: zoom-in; }
.lbx { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: rgba(12,12,12,.94); opacity: 0; transition: opacity .3s ease; touch-action: pinch-zoom; }
.lbx.on { opacity: 1; }
.lbx[hidden] { display: none; }
.lbx img { max-width: min(92vw, 1400px); max-height: 86svh; object-fit: contain; border-radius: var(--r-in); background: #fff; transition: transform .25s ease; touch-action: pinch-zoom; }
.lbx-x { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lbx-x .ico { transform: rotate(45deg); width: 24px; height: 24px; }
.lbx-b { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lbx-b.prev { left: 14px; } .lbx-b.next { right: 14px; }
.lbx-b:hover, .lbx-x:hover { background: rgba(255,255,255,.22); }
.lbx-n { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; font-variant-numeric: tabular-nums; }
.lbx-on { overflow: hidden; }
@media (max-width: 640px) { .lbx-b { top: auto; bottom: max(10px, env(safe-area-inset-bottom)); margin: 0; width: 46px; height: 46px; } .lbx img { max-width: 100vw; border-radius: 0; } }
/* выбор модификации: недоступные при текущем выборе — приглушены */
.pd-opt .seg button.na { opacity: .42; text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(0,0,0,.25); }
.pd-opt .seg button.na[aria-pressed="true"] { opacity: 1; text-decoration: none; }

/* логотип — «инженерный знак»: тёмные части цветом текста шапки, перекладина — золото */
.logo { gap: 12px; }
.logo .lg-m { width: 46px; height: 24px; flex: none; color: currentColor; }
.logo > i { display: none; }
@media (max-width: 640px) { .logo .lg-m { width: 40px; height: 21px; } .logo { gap: 10px; } }
