@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/Unbounded-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/Unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/Manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/Manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* «Тайга» by Likolor. Фирменные цвета: хвойный зелёный и оранжевый знака. Острые углы. */
:root {
  --paper: #f2efe9; --paper-2: #e7e2d9; --card: #faf8f4;
  --ink: #0f1f1a; --ink-2: #46524c; --ink-3: #7b847f;
  --green: #0b3a30; --green-2: #0f4a3d; --green-3: #15584a; --deep: #072a22;
  --ember: #d4581c; --ember-2: #b8470f; --ember-l: #f09a6a;
  --line: rgba(15, 31, 26, .14); --line-l: rgba(255, 255, 255, .18);
  --wrap: 1440px; --gut: clamp(16px, 3.4vw, 48px);
  --fd: 'Unbounded', system-ui, sans-serif; --ft: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .15, 1);
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--ft); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--fd); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(38px, 5.6vw, 88px); }
h2 { font-size: clamp(28px, 3.5vw, 54px); }
h3 { font-size: clamp(20px, 1.8vw, 28px); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.kick { font: 600 12px/1 var(--ft); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-2); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.kick::before { content: ''; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid currentColor; }
.kick-light { color: var(--ember-l); }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 60ch; }
.note, .hint { font-size: 14px; color: var(--ink-3); }

/* Кнопки */
.btn { --h: 56px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--h); padding: 0 0 0 26px; border: 0; text-decoration: none; font: 600 15px/1 var(--ft); letter-spacing: .01em; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), background .35s; }
.btn > span { position: relative; z-index: 1; }
.btn i { width: var(--h); height: var(--h); display: grid; place-items: center; position: relative; z-index: 1; border-left: 1px solid rgba(255, 255, 255, .22); }
.btn i svg { width: 16px; transition: transform .45s var(--ease); }
.btn:hover i svg { transform: translateX(4px); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: 0; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn-sm { --h: 44px; font-size: 14px; padding-left: 18px; }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember::before { background: var(--ember-2); }
.btn-line { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--line); padding-right: 26px; }
.btn-line:has(i) { padding-right: 0; }
.btn-line i { border-left-color: var(--line); }
.btn-line::before { background: var(--green); }
.btn-line:hover { color: #fff; }
.btn-light { background: var(--paper); color: var(--green); }
.btn-light i { border-left-color: var(--line); }
.btn-light::before { background: #fff; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-glass::before { background: rgba(255, 255, 255, .16); }
.x { width: 46px; height: 46px; border: 0; background: var(--paper-2); display: grid; place-items: center; color: var(--ink); flex: none; }
.x svg { width: 20px; }

/* Шапка */
.head { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .45s var(--ease), background .35s, box-shadow .35s; }
.head-in { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--green); flex: none; }
.brand small { font: 500 9px/1 var(--ft); letter-spacing: .32em; text-transform: uppercase; opacity: .7; padding-left: 2px; }
.logo { width: 116px; height: auto; display: block; }
.head-nav { display: flex; gap: 2px; margin-left: 18px; }
.head-nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 14px; position: relative; }
.head-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.head-nav a:hover::after, .head-nav a[aria-current]::after { transform: scaleX(1); }
.head-r { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.head-tel { text-decoration: none; font-weight: 600; font-size: 15px; }
.head.is-solid { background: rgba(242, 239, 233, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.head.is-hidden { transform: translateY(-100%); }
.head-over .head:not(.is-solid), .head-over .head:not(.is-solid) .brand { color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.head-over .head:not(.is-solid) .burger { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--green); color: #fff; display: none; }
.menu-open .menu { display: block; }
.menu-panel { height: 100%; display: flex; flex-direction: column; padding: 16px var(--gut) 28px; outline: 0; overflow: auto; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-top .brand { color: #fff; }
.menu-nav { display: flex; flex-direction: column; margin: auto 0; padding: 40px 0; }
.menu-nav a { font: 500 clamp(28px, 8vw, 50px)/1.25 var(--fd); letter-spacing: -.02em; text-decoration: none; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line-l); padding: 10px 0; }
.menu-nav a span { font: 500 13px var(--ft); color: var(--ember-l); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-weight: 600; font-size: 18px; }
.menu-foot a { text-decoration: none; }

.socs { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.soc { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.soc svg { width: 20px; }
.soc.tg { background: #27a7e7; } .soc.wa { background: #25d366; }

/* Первый экран: реальные фото со сменой */
.hero { position: relative; height: 100svh; min-height: 640px; color: #fff; overflow: hidden; background: var(--deep); display: flex; align-items: flex-end; }
.hero-slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.8s var(--ease); }
.slide.on { opacity: 1; z-index: 1; }
.slide.out { opacity: 0; z-index: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.on img { animation: kb 9s linear forwards; }
@keyframes kb { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(5, 26, 20, .78) 0%, rgba(5, 26, 20, .32) 46%, rgba(5, 26, 20, .05) 72%), linear-gradient(0deg, rgba(5, 26, 20, .7) 0%, rgba(5, 26, 20, 0) 45%), linear-gradient(180deg, rgba(5, 26, 20, .45) 0%, rgba(5, 26, 20, 0) 22%); }
.hero-in { position: relative; z-index: 3; width: 100%; padding-bottom: 54px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero-txt { max-width: 820px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 100px); line-height: 1.02; letter-spacing: -.035em; }
.h-split .ln { display: block; overflow: hidden; }
.h-split .ln > span { display: inline-block; transform: translateY(105%); animation: up 1.2s var(--ease) forwards; }
.h-split .ln:nth-child(2) > span { animation-delay: .12s; } .h-split .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes up { to { transform: none; } }
.hero-lead { margin-top: 28px; font-size: clamp(16px, 1.3vw, 20px); color: rgba(255, 255, 255, .86); max-width: 52ch; opacity: 0; animation: fade 1.2s .5s var(--ease) forwards; }
.hero-btns { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: fade 1.2s .7s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; min-width: 260px; text-align: right; }
.hero-count { font: 500 13px var(--fd); letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.hero-count b { color: #fff; font-weight: 500; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 44px; height: 20px; padding: 0; border: 0; background: none; display: flex; align-items: center; }
.hero-dots i { display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero-dots i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots [aria-current] i::after { animation: prog 6.5s linear forwards; }
.hero-dots .done i::after { transform: scaleX(1); }
@keyframes prog { to { transform: scaleX(1); } }
.hero-cap { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero-cap b { font: 500 15px var(--fd); color: #fff; letter-spacing: -.01em; }

/* Сторис: лента кружков и полноэкранный просмотр, как на xinluauto.ru. Кружки — единственное скругление на сайте */
.sr-sec { padding: 28px 0 0; }
.sr-row { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut); }
.sr-row::-webkit-scrollbar { display: none; }
.sr-c { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; background: none; border: 0; padding: 0; color: var(--ink); }
.sr-ring { display: block; width: 84px; height: 84px; padding: 3px; border-radius: 50%; background: var(--ember); }
.sr-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--paper); }
.sr-c.seen .sr-ring { background: var(--line); }
.sr-c em { font-style: normal; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; }
.sr-sm { gap: 14px; margin-top: 28px; }
.sr-sm .sr-c { width: 76px; }
.sr-sm .sr-ring { width: 68px; height: 68px; }
.sr-v { position: fixed; inset: 0; z-index: 90; background: rgba(7, 42, 34, .94); display: grid; place-items: center; }
.sr-v[hidden] { display: none; }
.sr-f { position: relative; width: min(100vw, calc(100dvh * 9 / 16)); height: min(100dvh, calc(100vw * 16 / 9)); overflow: hidden; background: var(--deep) center/cover no-repeat; color: #fff; touch-action: none; user-select: none; }
.sr-f::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 42, 34, .7) 0%, rgba(7, 42, 34, .08) 22%, rgba(7, 42, 34, .2) 40%, rgba(7, 42, 34, .88) 64%, var(--deep) 100%); }
.sr-bars { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 4px; z-index: 3; }
.sr-bars i { flex: 1; height: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.sr-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.sr-top { position: absolute; left: 12px; right: 8px; top: 24px; display: flex; align-items: center; gap: 10px; z-index: 3; font-size: 14px; font-weight: 600; }
.sr-top img { width: 32px; height: 32px; object-fit: cover; border-radius: 50%; }
.sr-x { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: #fff; display: grid; place-items: center; }
.sr-x svg { width: 24px; height: 24px; }
.sr-tap { position: absolute; top: 70px; bottom: 0; z-index: 2; width: 35%; border: 0; background: none; padding: 0; }
.sr-tap.l { left: 0; }
.sr-tap.r { right: 0; width: 65%; }
.sr-tap:focus-visible { outline: none; }
.sr-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 0 22px 24px; display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
.sr-body a { pointer-events: auto; }
.sr-k { font: 600 12px/1 var(--ft); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-l); }
.sr-h { font: 500 28px/1.08 var(--fd); letter-spacing: -.02em; }
.sr-p { font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.sr-li { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; font-weight: 500; }
.sr-li li { display: grid; grid-template-columns: 18px 1fr; align-items: baseline; }
.sr-li li::before { content: ''; width: 8px; height: 8px; background: var(--ember); }
.sr-tl { display: grid; gap: 6px; }
.sr-tl div { padding: 12px 14px; background: rgba(255, 255, 255, .1); }
.sr-tl b { display: block; font-size: 16px; line-height: 1.2; }
.sr-tl span { display: block; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .76); margin-top: 3px; }
.sr-act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sr-cta { padding-right: 26px; }
.sr-tel { display: inline-flex; align-items: center; height: 56px; padding: 0 22px; background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; }

/* Секции */
.sec { padding: clamp(90px, 11vw, 170px) 0; }
.sec-head { margin-bottom: clamp(40px, 4.5vw, 70px); max-width: 920px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head-row > div { max-width: 820px; }
.sec-note { max-width: 44ch; color: var(--ink-2); }
.big-say { font: 400 clamp(24px, 3.1vw, 48px)/1.25 var(--fd); letter-spacing: -.025em; max-width: 25em; }
.big-say .w { opacity: .16; transition: opacity .5s; }
.big-say .w.on { opacity: 1; }
.facts { list-style: none; padding: 0; margin: clamp(60px, 7vw, 110px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 30px 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts b { font: 500 clamp(26px, 2.8vw, 44px)/1 var(--fd); letter-spacing: -.03em; color: var(--green); }
.facts span { color: var(--ink-2); font-size: 15px; max-width: 26ch; }

/* Фото во всю ширину с параллаксом */
.bleed { position: relative; height: 92vh; min-height: 520px; overflow: hidden; background: var(--deep); }
.bleed-img, .fac-img { position: absolute; inset: -12% 0; will-change: transform; }
.bleed-img img, .fac-img img { width: 100%; height: 100%; object-fit: cover; }
.bleed-cap { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; color: rgba(255, 255, 255, .8); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* Коллекции: панели раскрываются при наведении */
.worlds { display: flex; height: min(88vh, 860px); min-height: 560px; }
.world { position: relative; flex: 1; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; transition: flex 1s var(--ease); }
.world + .world { border-left: 1px solid rgba(255, 255, 255, .25); }
.worlds:hover .world { flex: .7; } .worlds .world:hover { flex: 1.3; }
.world > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.world:hover > img { transform: scale(1); }
.world::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 26, 20, .9) 0%, rgba(5, 26, 20, .4) 50%, rgba(5, 26, 20, .1) 100%); }
.world-txt { padding: clamp(24px, 3.4vw, 56px); max-width: 640px; }
.world-txt p:not(.kick) { color: rgba(255, 255, 255, .82); margin: 16px 0 26px; max-width: 46ch; }
.world h3 { font-size: clamp(30px, 3.4vw, 54px); }
.world-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 28px; }
.world-go { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 6px; }
.world-go i svg { width: 15px; transition: transform .4s var(--ease); }
.world:hover .world-go i svg { transform: translateX(5px); }

/* Кирпичик из атласа: 2 колонки × 8 рядов */
.chip { display: inline-block; width: 46px; height: 13px; background-size: 200% 800%; background-position: 0 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); flex: none; }
.chip-sw { background-size: cover; background-position: center; }
.chip-s { width: 38px; height: 11px; }
.chip-xs { width: 26px; height: 8px; }
.chip-card { position: absolute; left: 0; bottom: 0; width: 120px; height: 31px; box-shadow: none; }

/* Тизер студии */
.studio-teaser { display: grid; grid-template-columns: 7fr 5fr; background: var(--green); color: #fff; min-height: 88vh; }
.st-shot { position: relative; overflow: hidden; background: #24332c; display: block; min-height: 420px; }
.st-shot img, .st-shot canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-shot canvas { z-index: 1; opacity: 0; transition: opacity .8s; }
.st-shot canvas.on { opacity: 1; }
.st-label { position: absolute; left: 20px; bottom: 20px; z-index: 2; background: rgba(5, 26, 20, .6); backdrop-filter: blur(12px); padding: 10px 16px; font: 500 14px var(--fd); }
.st-label:empty { display: none; }
.st-txt { padding: clamp(40px, 6vw, 100px) clamp(24px, 4.5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.st-txt p:not(.kick) { color: rgba(255, 255, 255, .8); margin: 26px 0 0; font-size: 17px; max-width: 46ch; }
.st-list { list-style: none; padding: 0; margin: 40px 0 44px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); }
.st-list li { padding: 20px 0 0; display: flex; flex-direction: column; gap: 6px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.st-list b { font: 500 clamp(32px, 3vw, 46px)/1 var(--fd); color: #fff; }
.st-txt .btn { align-self: flex-start; }

/* Палитра: живая стена */
.wall-stage { position: relative; overflow: hidden; background: #2a2926; aspect-ratio: 1600 / 600; }
.wall-cv { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.wall-cv.is-busy { opacity: .6; }
.wall-info { position: absolute; left: 0; bottom: 0; color: #fff; padding: 26px 30px; background: rgba(5, 26, 20, .7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); max-width: 440px; }
.wall-info .kick { margin-bottom: 12px; }
.wall-info h3 { font-size: clamp(22px, 2.2vw, 32px); }
.wall-info p:not(.kick) { color: rgba(255, 255, 255, .78); margin-top: 8px; font-size: 15px; }
.wall-btns { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 1px; margin-top: 1px; background: var(--line); }
.palette button { border: 0; background: var(--card); padding: 16px 10px; display: grid; place-items: center; transition: background .25s; }
.palette button:hover { background: #fff; }
.palette button[aria-pressed=true] { background: #fff; box-shadow: inset 0 -3px 0 var(--ember); }
.palette .chip { width: 60px; height: 17px; }

/* Объекты — лента */
.rail-nav { display: flex; gap: 8px; align-items: center; }
.rn { width: 56px; height: 56px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--green); transition: background .3s, color .3s; }
.rn:hover { background: var(--green); color: #fff; }
.rn svg { width: 16px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 8px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1540px) { .rail { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.obj { margin: 0; flex: 0 0 min(80vw, 560px); scroll-snap-align: start; overflow: hidden; }
.obj img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.obj:hover img { transform: scale(1.04); }
.obj figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; font-size: 14px; color: var(--ink-3); }
.obj figcaption b { font: 500 16px var(--fd); color: var(--ink); letter-spacing: -.01em; }

/* Завод */
.fac { position: relative; color: #fff; overflow: hidden; min-height: 96vh; display: flex; align-items: flex-end; background: var(--deep); }
.fac::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 26, 20, .85) 0%, rgba(5, 26, 20, .35) 55%, rgba(5, 26, 20, .1) 80%), linear-gradient(0deg, rgba(5, 26, 20, .6), transparent 50%); }
.fac-in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(60px, 8vw, 120px); }
.fac h2 { max-width: 15em; }
.fac p:not(.kick) { color: rgba(255, 255, 255, .8); max-width: 48ch; margin: 24px 0 36px; font-size: 18px; }

/* Шоурум */
.visit { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); }
.visit-photo { position: relative; min-height: 560px; overflow: hidden; }
.visit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap { position: absolute; left: 20px; bottom: 20px; color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.visit-txt { padding: clamp(50px, 7vw, 110px) clamp(24px, 5vw, 90px); }
.visit-txt .lead { margin: 24px 0 26px; }
.addr { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 18px; margin-bottom: 30px; }
.addr svg { width: 22px; color: var(--ember); flex: none; }

/* Формы */
.form-card { background: var(--card); padding: clamp(22px, 2.6vw, 36px); position: relative; }
.form-card h3 { margin-bottom: 10px; }
.form-card .sub { color: var(--ink-2); margin-bottom: 20px; }
.f-ctx:not(:empty) { margin-bottom: 14px; padding: 12px 14px; background: var(--paper); font-size: 14px; color: var(--ink-2); white-space: pre-line; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fld { position: relative; margin-bottom: 10px; }
.fld input, .fld textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 26px 16px 9px; font-size: 16px; outline: 0; resize: vertical; transition: border-color .2s; }
.fld input:focus, .fld textarea:focus { border-bottom-color: var(--green); }
.fld input[aria-invalid] { border-bottom-color: #c63b2b; }
.fld label { position: absolute; left: 16px; top: 18px; color: var(--ink-3); pointer-events: none; transition: all .18s; font-size: 16px; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { top: 8px; font-size: 12px; }
.hp { position: absolute; left: -9999px; }
.chk { display: flex; gap: 10px; font-size: 13px; color: var(--ink-3); margin: 8px 0 20px; align-items: flex-start; }
.chk input { margin-top: 2px; accent-color: var(--ember); width: 16px; height: 16px; flex: none; }
.f-status { font-size: 14px; color: #b23a22; margin-top: 12px; }
.f-status:empty { display: none; }
.f-ok { display: none; outline: 0; }
.is-sent form { display: none; }
.is-sent .f-ok { display: block; }
.f-ok p { color: var(--ink-2); margin: 10px 0 20px; }

/* Подвал */
.foot { background: var(--green); color: #fff; padding: 90px 0 28px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-tel { font: 500 clamp(24px, 2.6vw, 38px)/1 var(--fd); text-decoration: none; letter-spacing: -.02em; }
.foot-lead p { color: rgba(255, 255, 255, .66); margin: 20px 0 24px; font-size: 15px; }
.foot h4 { font: 600 12px var(--ft); letter-spacing: .18em; text-transform: uppercase; color: var(--ember-l); margin-bottom: 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; color: rgba(255, 255, 255, .84); }
.foot ul a:hover { color: #fff; }
.foot-logo { margin: 90px 0 36px; color: rgba(255, 255, 255, .1); }
.foot-logo .logo { width: 100%; }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .55); border-top: 1px solid var(--line-l); padding-top: 22px; }
.foot-bot a { color: inherit; }
.foot-bot nav { display: flex; flex-wrap: wrap; gap: 6px 10px; }

/* Шапка внутренних страниц */
.ph { padding-top: clamp(130px, 14vw, 190px); padding-bottom: clamp(40px, 5vw, 70px); }
.ph h1 { max-width: 16em; font-size: clamp(34px, 4.6vw, 72px); }
.ph .lead { margin-top: 24px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Каталог */
.cat-sec { padding-top: 40px; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 36px 14px; }
.ccard { text-decoration: none; display: block; }
.ccard-img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); }
.ccard-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ccard:hover .ccard-img > img { transform: scale(1.05); }
.ccard-txt { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-top: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.ccard-txt .chip { display: none; }
.ccard-txt h3 { font-size: 18px; }
.ccard-txt span { font-size: 14px; color: var(--ink-3); white-space: nowrap; }

/* Страница цвета */
.cp { padding-top: clamp(120px, 12vw, 160px); padding-bottom: 90px; }
.cp-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 70px); align-items: start; }
.cp-media { position: relative; }
.cp-main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cp-sw { position: absolute; left: 0; bottom: 0; width: 26%; overflow: hidden; background: #fff; }
.cp-txt h1 { font-size: clamp(32px, 3.8vw, 56px); }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 32px 0 12px; background: var(--line); }
.prices div { background: var(--card); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.prices span { font-size: 13px; color: var(--ink-3); }
.prices b { font: 500 28px/1 var(--fd); letter-spacing: -.02em; }
.prices small { font-size: 13px; color: var(--green-3); }
.cp-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 36px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.spec tbody th { font-weight: 400; color: var(--ink-2); width: 40%; padding-right: 16px; }
.h-sm { font-size: clamp(22px, 2.2vw, 32px); margin: 80px 0 24px; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.gal button, .masonry button { border: 0; padding: 0; background: var(--paper-2); overflow: hidden; display: block; width: 100%; }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .9s var(--ease); }
.gal button:hover img { transform: scale(1.05); }
.sibs { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); }
.sib { display: inline-flex; gap: 12px; align-items: center; padding: 16px 20px; background: var(--card); text-decoration: none; font-weight: 500; flex: 1 1 220px; }
.sib:hover { background: #fff; }

.masonry { columns: 3 320px; column-gap: 12px; padding-bottom: 90px; }
.masonry button { margin-bottom: 12px; break-inside: avoid; position: relative; text-align: left; }
.masonry img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.masonry button:hover img { transform: scale(1.03); }
.masonry span { position: absolute; left: 0; bottom: 0; display: flex; gap: 8px; align-items: center; padding: 10px 14px; background: rgba(5, 26, 20, .65); backdrop-filter: blur(10px); color: #fff; font-size: 13px; font-weight: 500; }

.fac-hero img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.facts-4 { margin-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: 90px; }
.two h2 { font-size: clamp(24px, 2.6vw, 38px); margin-bottom: 18px; }
.laying { background: var(--green); color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-l); }
.steps li { background: var(--green); padding: 30px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.steps span { font: 500 14px var(--fd); color: var(--ember-l); }
.steps p { font-size: 17px; color: rgba(255, 255, 255, .88); }
.faq { border-top: 1px solid var(--line); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; font: 500 clamp(17px, 1.4vw, 21px)/1.35 var(--fd); display: flex; justify-content: space-between; gap: 24px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; position: relative; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 10px; right: 10px; top: 15px; height: 1.6px; background: currentColor; transition: transform .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 68ch; }
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-bottom: 70px; }
.ct { background: var(--card); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.ct > span { font-size: 13px; color: var(--ink-3); }
.ct a, .ct p { font-weight: 600; font-size: 18px; text-decoration: none; }
.doc { max-width: 820px; padding-bottom: 100px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc p { color: var(--ink-2); margin-bottom: 12px; }

.ck { position: fixed; left: 16px; bottom: 16px; z-index: 40; max-width: 440px; background: var(--card); padding: 16px 18px; border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--ink-2); }
.ck .ck-ok { flex: none; }
.ck[hidden] { display: none; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ——— Студия ——— */
.is-studio .foot { display: none; }
.is-studio .head { background: rgba(242, 239, 233, .94); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.studio { display: grid; grid-template-columns: minmax(0, 1fr) 440px; padding-top: 78px; min-height: 100vh; }
.st-stage { padding: 0; display: flex; flex-direction: column; min-width: 0; }
.st-view { position: relative; overflow: hidden; background: #2b3530; aspect-ratio: 3 / 2; }
.st-view > img, .st-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-view canvas { opacity: 0; transition: opacity .45s; }
.st-view[data-view=house] [data-gl=house].ready, .st-view[data-view=entry] [data-gl=entry].ready, .st-view[data-view=close] .st-close.ready { opacity: 1; }
.st-loading { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; overflow: hidden; pointer-events: none; }
.st-loading i { position: absolute; inset: 0; background: var(--ember); transform-origin: left; animation: load 1s var(--ease) infinite; }
.st-loading.off { display: none; }
@keyframes load { 0% { transform: translateX(-100%) scaleX(.4); } 100% { transform: translateX(100%) scaleX(.4); } }
.st-badge { position: absolute; left: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; background: rgba(5, 26, 20, .66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; padding: 14px 20px 14px 16px; }
.st-badge .chip { grid-row: span 2; width: 56px; height: 16px; }
.st-badge b { font: 500 16px var(--fd); }
.st-badge small { color: rgba(255, 255, 255, .7); font-size: 12px; }
.st-tabs { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; background: rgba(5, 26, 20, .6); backdrop-filter: blur(14px); }
.st-tabs button { border: 0; background: none; padding: 14px 20px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.st-tabs button[aria-pressed=true] { background: #fff; color: var(--green); }
.st-nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; display: grid; place-items: center; background: rgba(5, 26, 20, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }
.st-nav svg { width: 18px; }
.st-nav-l { left: 12px; } .st-nav-r { right: 12px; }
.st-full { position: absolute; left: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border: 0; display: grid; place-items: center; background: rgba(5, 26, 20, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; }
.st-full svg { width: 22px; display: block; }
.st-full-off, .is-full .st-full-on { display: none; }
.is-full .st-full-off { display: block; }
.st-view[data-view=close] .st-nav { display: none; }
.st-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; background: var(--deep); padding: 8px 12px; }
.st-strip::-webkit-scrollbar { display: none; }
.st-strip button { flex: none; width: 52px; height: 34px; padding: 3px; border: 0; background: none; }
.st-strip .chip { display: block; width: 100%; height: 100%; }
.st-strip button[aria-pressed=true] { background: var(--ember); }
.st-strip button.is-off { display: none; }
.st-scene { display: flex; gap: 8px; align-items: center; background: var(--green); padding: 8px 12px; }
.st-seg { display: flex; }
.st-seg button, .st-lit { display: inline-flex; align-items: center; gap: 8px; height: 40px; border: 1px solid rgba(255, 255, 255, .22); background: none; color: rgba(255, 255, 255, .82); padding: 0 12px; font-size: 13px; font-weight: 600; }
.st-seg button svg, .st-lit svg { width: 18px; height: 18px; flex: none; }
.st-seg button + button { border-left: 0; }
.st-seg button[aria-pressed=true] { background: #fff; color: var(--green); border-color: #fff; }
.st-lit { margin-left: auto; }
.st-lit[aria-pressed=true] { background: var(--ember); border-color: var(--ember); color: #fff; }
/* во весь экран: слева время года и суток, по центру кадр, справа лента цветов */
.st-frame.is-full { position: fixed; inset: 0; z-index: 100; background: var(--deep); display: grid; grid-template: "scene view strip" 1fr / auto 1fr auto; }
.st-frame.is-full .st-view { grid-area: view; aspect-ratio: auto; min-height: 0; background: var(--deep); }
.st-frame.is-full .st-scene { grid-area: scene; flex-direction: column; justify-content: center; overflow-y: auto; padding: 8px; }
.st-frame.is-full .st-seg { flex-direction: column; }
.st-frame.is-full .st-seg button + button { border-left: 1px solid rgba(255, 255, 255, .22); border-top: 0; }
.st-frame.is-full .st-seg button, .st-frame.is-full .st-lit { width: 40px; padding: 0; justify-content: center; margin: 0; }
.st-frame.is-full .st-seg span, .st-frame.is-full .st-lit span { display: none; }
.st-frame.is-full .st-strip { grid-area: strip; flex-direction: column; overflow: hidden auto; padding: 8px; }
.st-frame.is-full .st-view > img, .st-frame.is-full .st-view canvas { object-fit: contain; }
.st-frame.is-full .st-badge { display: none; }
/* без системного полноэкранного режима (iPhone) в портрете поворачиваем кадр сами */
@media (orientation: portrait) and (max-width: 900px) { .st-frame.is-full { width: 100vh; width: 100dvh; height: 100vw; inset: auto; top: 0; left: 100vw; transform: rotate(90deg); transform-origin: top left; } }
.st-stage:has(.st-view[data-view=close]) .st-scene { display: none; }
.calc { background: var(--card); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.calc-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-end; }
.num { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-3); }
.num input, .num select { width: 112px; height: 46px; border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 0 12px; font-size: 17px; font-weight: 600; background: #fff; color: var(--ink); }
.num select { width: 84px; }
.out { display: flex; flex-direction: column; gap: 3px; min-width: 96px; }
.out span { font-size: 12px; color: var(--ink-3); }
.out b { font: 500 21px/1.1 var(--fd); letter-spacing: -.02em; white-space: nowrap; }
.out small { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.out-sum b { color: var(--ember-2); }
.calc-act { display: flex; gap: 8px; flex-wrap: wrap; }
.st-near { background: var(--card); padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line); }
.st-near:empty { display: none; }
.st-near-h { font: 500 17px/1.3 var(--fd); letter-spacing: -.01em; }
.st-near-p { color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.st-near-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 520px; }
.st-near-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.st-near-list { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.st-near-q { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-weight: 600; }
.st-near-q .btn { padding-right: 18px; }
.st-near > .btn { align-self: flex-start; padding-right: 18px; }
.st-panel { border-left: 1px solid var(--line); padding: 26px 26px 120px; height: calc(100vh - 78px); position: sticky; top: 78px; overflow-y: auto; scrollbar-width: thin; background: var(--paper); }
.st-head h1 { font-size: 28px; margin-bottom: 6px; }
.st-head .kick { margin-bottom: 14px; }
.grp { padding: 22px 0; border-bottom: 1px solid var(--line); }
.grp-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.grp h2 { font-size: 15px; letter-spacing: 0; font-weight: 500; }
.grp-2 { display: grid; gap: 22px; }
.seg { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: none; color: var(--ink-2); padding: 8px 12px; font-size: 13px; font-weight: 600; }
.seg button[aria-pressed=true] { background: var(--green); color: #fff; }
.seg-wide { display: flex; } .seg-wide button { flex: 1; white-space: nowrap; }
.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.sw-grid button { border: 0; background: var(--card); padding: 14px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 9px; transition: background .2s; }
.sw-grid button:hover { background: #fff; }
.sw-grid button.is-off { display: none; }
.sw-grid .chip { width: 74px; height: 20px; }
.sw-grid small { font-size: 11.5px; line-height: 1.2; text-align: center; color: var(--ink-2); }
.sw-grid button[aria-pressed=true], .bond-grid button[aria-pressed=true], .roof-grid button[aria-pressed=true], .jc-grid button[aria-pressed=true] { background: #fff; box-shadow: inset 0 0 0 2px var(--ember); }
.bond-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); }
.bond-grid button { grid-column: span 2; border: 0; background: var(--card); padding: 6px 6px 9px; display: flex; flex-direction: column; gap: 7px; align-items: center; }
.bond-grid canvas { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.bond-grid button:nth-child(n+4) { grid-column: span 3; } .bond-grid button:nth-child(n+4) canvas { aspect-ratio: 3 / 1; } /* 3 + 2 без пустой клетки, картинки одной высоты */
.bond-grid small { font-size: 12px; color: var(--ink-2); }
input[type=range] { width: 100%; accent-color: var(--ember); margin: 0 0 12px; }
output { font-weight: 600; font-size: 14px; }
.jc-grid, .roof-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.jc-grid button, .roof-grid button { border: 0; background: var(--card); padding: 7px 11px 7px 7px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.jc-grid span, .roof-grid span { width: 22px; height: 22px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.soff { font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.soff select { border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 7px 8px; background: #fff; font-size: 13px; }
.advice { display: grid; gap: 1px; background: var(--line); }
.advice > .hint { background: var(--paper); padding-bottom: 2px; }
.adv { border: 0; text-align: left; background: var(--card); padding: 16px; display: grid; gap: 7px; transition: background .2s; }
.adv:hover { background: #fff; }
.adv b { font: 500 15px var(--fd); display: flex; align-items: center; gap: 8px; }
.adv b span { width: 16px; height: 16px; }
.adv p { font-size: 13.5px; color: var(--ink-2); }
.adv small { font-size: 12px; color: var(--green-3); font-weight: 600; }

.sheet { border: 0; padding: 0; width: min(1000px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink); }
.sheet::backdrop { background: rgba(5, 26, 20, .65); backdrop-filter: blur(4px); }
.sheet-sm { width: min(560px, calc(100vw - 24px)); }
.sheet-in { padding: 0 clamp(16px, 3vw, 36px) 32px; }
.sheet-bar { position: sticky; top: 0; z-index: 2; background: var(--paper); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; }
.sheet-bar > span { display: flex; gap: 8px; align-items: center; }
.kp { background: #fff; padding: clamp(20px, 3vw, 44px); margin-bottom: 18px; }
.kp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.kp-top .brand { color: var(--green); }
.kp-top p { font-size: 13px; color: var(--ink-3); text-align: right; }
.kp h2 { font-size: clamp(24px, 2.8vw, 36px); margin-bottom: 10px; }
.kp-img { width: 100%; margin: 22px 0; }
.kp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.kp table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kp th, .kp td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kp th { font-weight: 400; color: var(--ink-3); width: 46%; }
.kp td { font-weight: 600; }
.kp h4 { font: 600 12px var(--ft); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-2); margin: 0 0 10px; }
.kp-total { margin-top: 22px; background: var(--green); color: #fff; padding: 20px 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.kp-total b { font: 500 30px var(--fd); letter-spacing: -.02em; }
.kp-note { font-size: 12.5px; color: var(--ink-3); margin-top: 16px; }
.kp-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

.guide-fab { position: fixed; right: 18px; bottom: 18px; z-index: 45; border: 0; background: var(--green); color: #fff; height: 54px; padding: 0 24px 0 20px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 40px rgba(5, 26, 20, .35); }
.guide-fab .dot { width: 9px; height: 9px; background: var(--ember); box-shadow: 0 0 0 0 rgba(212, 88, 28, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212, 88, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 88, 28, 0); } }
.guide { position: fixed; right: 18px; bottom: 84px; z-index: 46; width: min(400px, calc(100vw - 24px)); }
.guide[hidden] { display: none; }
.guide-box { background: var(--card); box-shadow: 0 30px 80px rgba(5, 26, 20, .3); display: flex; flex-direction: column; max-height: min(620px, calc(100dvh - 120px)); }
.guide-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
.guide-top b { font: 500 15px var(--fd); }
.guide-top .x { width: 38px; height: 38px; }
.guide-log { padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { max-width: 88%; padding: 11px 14px; font-size: 14.5px; line-height: 1.45; animation: fade .4s var(--ease); }
.msg-bot { background: var(--paper-2); }
.msg-me { background: var(--green); color: #fff; align-self: flex-end; }
.guide-opts { padding: 12px 14px 16px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); }
.guide-opts button { border: 0; box-shadow: inset 0 0 0 1px var(--line); background: #fff; padding: 10px 14px; font-size: 14px; font-weight: 500; }
.guide-opts button:hover { box-shadow: inset 0 0 0 1px var(--green); }
.guide-opts button.pri { background: var(--ember); color: #fff; box-shadow: none; }
.guide-opts input { flex: 1; min-width: 120px; height: 44px; border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; font-size: 15px; }

.lb { border: 0; padding: 0; background: rgba(5, 18, 14, .95); width: 100vw; height: 100dvh; max-width: none; max-height: none; color: #fff; }
.lb-in { position: absolute; inset: 0; display: grid; place-items: center; padding: 60px 16px; }
.lb img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
.lb .x { position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, .14); color: #fff; }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; font-size: 26px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }

@media (max-width: 1180px) {
  .head-nav, .head-tel { display: none; }
  .burger { display: block; }
  .studio { grid-template-columns: 1fr; }
  .st-panel { position: static; height: auto; border-left: 0; padding: 8px 16px 120px; }
  .st-head { display: none; }
  .sw-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .grp-2 { grid-template-columns: 1fr 1fr; }
  .studio-teaser { grid-template-columns: 1fr; }
  .st-shot { aspect-ratio: 3 / 2; min-height: 0; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-meta { text-align: left; flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; }
  .hero-cap { display: none; }
  .worlds { flex-direction: column; height: auto; }
  .worlds .world > img { transform: none; }
  .world { min-height: 76vh; flex: none !important; }
  .world + .world { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
  .visit, .cp-grid, .two, .kp-grid { grid-template-columns: 1fr; }
  .visit-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-lead { grid-column: 1 / -1; }
  .wall-stage { aspect-ratio: 4 / 3.4; }
  .wall-info { right: 0; max-width: none; }
  .grp-2 { grid-template-columns: 1fr; }
  .rail-nav .rn { display: none; }
}
@media (max-width: 600px) {
  .seg-wide { display: grid; grid-template-columns: 1fr 1fr; } /* четыре формата не влезают в строку */
  .sr-f { width: 100vw; height: 100dvh; }
  .sr-sec { padding-top: 20px; }
  .sr-c { width: 80px; } .sr-ring { width: 72px; height: 72px; }
  .head-cta { display: none; }
  .hero::after { background: linear-gradient(0deg, rgba(5, 26, 20, .92) 0%, rgba(5, 26, 20, .5) 50%, rgba(5, 26, 20, .2) 100%); }
  .hero-in { padding-bottom: 32px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .f-grid, .prices, .steps, .contacts { grid-template-columns: 1fr; }
  .facts li { padding: 22px 14px 0 0; }
  .facts li + li { padding-left: 14px; }
  .facts li:nth-child(3) { padding-left: 0; }
  .wall-info { padding: 18px; }
  .wall-stage { aspect-ratio: 3 / 4; }
  .st-view { aspect-ratio: 4 / 3.3; }
  .calc-in { gap: 12px 18px; }
  .calc-act, .calc-act .btn { width: 100%; }
  .ck { right: 16px; flex-direction: column; align-items: flex-start; }
  .kp-top { flex-direction: column; } .kp-top p { text-align: left; }
  .guide-fab { right: 12px; bottom: 12px; }
  .brand small { display: none; }
  .st-badge { padding: 9px 12px 9px 10px; }
  .st-badge small { display: none; }
  .st-badge .chip { grid-row: auto; width: 36px; height: 10px; }
  .st-tabs button { padding: 10px 12px; font-size: 13px; }
  .st-scene { gap: 6px; padding: 8px; justify-content: space-between; }
  .st-seg button, .st-lit { width: 38px; padding: 0; justify-content: center; }
  .st-seg span, .st-lit span { display: none; }
  .st-lit { margin-left: 0; }
  .st-nav { width: 36px; height: 36px; margin-top: -18px; }
  .st-nav-l { left: 8px; } .st-nav-r { right: 8px; }
  .st-full { width: 40px; height: 40px; }
  .bleed { height: 70vh; }
  .st-list { margin: 30px 0 34px; }
}

@media print {
  body * { visibility: hidden; }
  #kp, #kp .kp, #kp .kp * { visibility: visible; }
  #kp { position: absolute; inset: 0; width: 100%; max-height: none; background: #fff; }
  #kp .kp { position: absolute; left: 0; top: 0; width: 100%; margin: 0; padding: 0; }
  .kp-img { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } .h-split .ln > span { transform: none; } .hero-lead, .hero-btns { opacity: 1; } }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
