/* JEVON — публичный сайт. Bento-сетка, палитра бренда, плавные появления. */
:root {
  --ink: #101E2D; --navy: #162C43; --navy-2: #1d3854; --yellow: #FFD02F; --paper: #F0F3F6; --white: #FFFFFF;
  --muted: #6b7a8a; --muted-d: rgba(255,255,255,.62); --line: rgba(16,30,45,.09); --line-d: rgba(255,255,255,.1);
  --r: 22px; --r-s: 14px; --gap: 14px;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif; --display: 'Unbounded', var(--font);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.12; }
.wrap { width: min(1320px, 100% - 32px); margin: 0 auto; }
.boot { min-height: 100vh; display: grid; place-items: center; background: var(--ink); }
.boot span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,208,47,.25); border-top-color: var(--yellow); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Верхняя панель ── */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px 0; transition: background .3s, box-shadow .3s, padding .3s; }
.topbar.solid { background: rgba(16,30,45,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line-d); padding: 8px 0; }
.tb-in { width: min(1320px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 20px; color: var(--white); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font: 700 20px/1 var(--display); }
.logo-word { font: 700 19px/1 var(--display); letter-spacing: .04em; }
.tb-nav { display: flex; gap: 4px; margin: 0 auto; }
.tb-nav a { padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.82); transition: background .2s, color .2s; }
.tb-nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.tb-side { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); }
.lang button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; color: rgba(255,255,255,.7); }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.btn-login { padding: 9px 18px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 15px; transition: transform .2s var(--ease), box-shadow .2s; }
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,208,47,.35); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), top .25s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ── Общие плитки ── */
.section { padding: 96px 0; }
.section.dark { background: var(--ink); color: var(--white); }
.section.navy { background: var(--navy); color: var(--white); }
.s-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 34px; }
.s-head h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 16ch; }
.s-head p { margin: 0; color: var(--muted); max-width: 46ch; }
.dark .s-head p, .navy .s-head p { color: var(--muted-d); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.dark .eyebrow, .navy .eyebrow, .tile.dk .eyebrow { color: var(--muted-d); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.tile { position: relative; border-radius: var(--r); background: var(--white); padding: 28px; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.tile.dk { background: var(--navy); color: var(--white); }
.tile.ink { background: #0b1622; color: var(--white); border: 1px solid var(--line-d); }
.tile.yl { background: var(--yellow); color: var(--ink); }
a.tile:hover, .tile.hov:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(16,30,45,.45); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.y { background: var(--yellow); color: var(--ink); }
.btn.y:hover { box-shadow: 0 10px 30px rgba(255,208,47,.4); }
.btn.k { background: var(--ink); color: var(--white); }
.btn.k:hover { box-shadow: 0 10px 30px rgba(16,30,45,.35); }
.btn.w { background: rgba(255,255,255,.1); color: var(--white); }
.btn.w:hover { background: rgba(255,255,255,.18); }
.soon { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,208,47,.16); color: #b58a00; }
.dark .soon, .tile.dk .soon, .tile.ink .soon, .navy .soon { color: var(--yellow); }
.soon::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--ink); flex: none; }
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile.dk .ico, .tile.ink .ico { background: rgba(255,255,255,.07); color: var(--yellow); }
.tile.yl .ico { background: rgba(16,30,45,.08); }

/* ── Появление при прокрутке ── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ── Главный экран ── */
.hero { background: radial-gradient(1200px 600px at 78% 8%, rgba(255,208,47,.09), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(29,56,84,.9), transparent 70%), var(--ink);
  color: var(--white); padding: 118px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 20%, #000 20%, transparent 75%); pointer-events: none; }
.hero .bento { position: relative; }
.h-main { grid-column: span 7; grid-row: span 2; background: transparent; padding: 22px 8px 8px; display: flex; flex-direction: column; justify-content: center; min-height: 440px; }
.h-main h1 { font-size: clamp(36px, 4.7vw, 70px); font-weight: 700; line-height: 1.02; }
.h-main h1 em { font-style: normal; color: var(--yellow); }
.h-main p.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted-d); max-width: 36ch; margin: 22px 0 30px; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.h-scene { grid-column: span 5; grid-row: span 2; background: linear-gradient(160deg, #1a3350, #0e1b29 70%); border: 1px solid var(--line-d); min-height: 440px; padding: 0; }
.h-pro, .h-home { grid-column: span 6; display: flex; flex-direction: column; gap: 18px; min-height: 250px; padding: 30px; }
.h-pro { background: linear-gradient(140deg, var(--navy-2), var(--navy) 60%); border: 1px solid var(--line-d); }
.h-pro h3, .h-home h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; display: flex; align-items: center; gap: 12px; }
.h-pro h3 b, .h-home h3 b { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.h-pro h3 b { background: rgba(255,208,47,.15); color: var(--yellow); }
.h-home h3 b { background: rgba(16,30,45,.1); color: var(--ink); }
.h-pro p, .h-home p { margin: 0; max-width: 44ch; font-size: 16.5px; }
.h-pro p { color: var(--muted-d); }
.h-home p { color: rgba(16,30,45,.75); }
.h-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.07); color: rgba(255,255,255,.85); }
.h-home .chips span { background: rgba(16,30,45,.08); color: var(--ink); }
.h-strip { grid-column: span 12; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.h-strip .tile { padding: 20px 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line-d); color: var(--white); display: flex; gap: 14px; align-items: center; }
.h-strip .ico { background: rgba(255,255,255,.07); color: var(--yellow); }
.h-strip b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; }
.h-strip small { color: var(--muted-d); font-size: 13.5px; }

/* 3D: шкаф из панелей — собирается и разлетается */
.scene { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1100px; }
.scene-label { position: absolute; left: 22px; top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); display: flex; gap: 8px; align-items: center; z-index: 2; }
.scene-label i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 12px #3ddc84; }
.cab { --w: 170px; --h: 230px; --d: 110px; --gap2: 34px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d;
  animation: turn 18s linear infinite; animation-delay: -4s; }
@keyframes turn { from { transform: rotateX(-16deg) rotateY(-32deg); } to { transform: rotateX(-16deg) rotateY(328deg); } }
.pn { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; border: 1px solid rgba(255,208,47,.7);
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.03)); box-shadow: inset 0 0 18px rgba(255,208,47,.08);
  transform: var(--rot) translateZ(var(--z)); animation: explode 7s var(--ease) infinite; animation-delay: var(--dl, 0s); }
@keyframes explode {
  0%, 18% { transform: var(--rot) translateZ(var(--z)); }
  42%, 62% { transform: var(--rot) translateZ(calc(var(--z) + var(--gap2))); }
  86%, 100% { transform: var(--rot) translateZ(var(--z)); } }
.pn.side { width: var(--d); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2); }
.pn.cap { width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2); }
.pn.face { width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); }
.pn.l { --rot: rotateY(-90deg); --z: calc(var(--w) / 2); }
.pn.r { --rot: rotateY(90deg); --z: calc(var(--w) / 2); --dl: .05s; }
.pn.t { --rot: rotateX(90deg); --z: calc(var(--h) / 2); --dl: .1s; }
.pn.b { --rot: rotateX(-90deg); --z: calc(var(--h) / 2); --dl: .15s; }
.pn.bk { --rot: rotateY(180deg); --z: calc(var(--d) / 2); --dl: .2s; background: rgba(255,255,255,.04); }
.pn.dr { --rot: rotateY(0deg); --z: calc(var(--d) / 2); --dl: .25s; width: calc(var(--w) / 2 - 3px); border-color: var(--yellow);
  background: linear-gradient(135deg, rgba(255,208,47,.28), rgba(255,208,47,.06)); }
.pn.dr.a { margin-left: calc(var(--w) / -2); }
.pn.dr.b2 { margin-left: 3px; --dl: .3s; }
.pn.dr::after { content: ''; position: absolute; top: 46%; width: 3px; height: 34px; border-radius: 2px; background: var(--yellow); }
.pn.dr.a::after { right: 10px; } .pn.dr.b2::after { left: 10px; }
.pn.sh { --rot: rotateX(90deg); --z: 0px; --dl: .12s; width: calc(var(--w) - 4px); height: calc(var(--d) - 4px); margin: calc(var(--d) / -2 + 2px) 0 0 calc(var(--w) / -2 + 2px); }
.dim { position: absolute; font: 600 11px/1 var(--font); color: var(--yellow); letter-spacing: .04em; background: rgba(16,30,45,.85); border: 1px solid rgba(255,208,47,.35); padding: 6px 9px; border-radius: 8px;
  animation: float 6s ease-in-out infinite; }
.dim.d1 { right: 26px; top: 26%; } .dim.d2 { left: 26px; bottom: 26%; animation-delay: -2s; } .dim.d3 { right: 34px; bottom: 16%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ── Каталог ── */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); grid-auto-flow: dense; }
.card { display: flex; flex-direction: column; gap: 16px; min-height: 210px; padding: 24px; }
.card.wide { grid-column: span 2; }
.card.photo { color: var(--white); background: var(--ink); }
.card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.card.photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,30,45,.05), rgba(16,30,45,.88)); }
.card.photo:hover img { transform: scale(1.05); }
.card.photo .ico { background: rgba(255,255,255,.14); color: var(--white); backdrop-filter: blur(6px); }
.card .k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card.photo .k { color: rgba(255,255,255,.7); }
.card h3 { font-size: 19px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card.photo p { color: rgba(255,255,255,.78); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-size: 15px; }
.price.q { font-weight: 500; color: var(--muted); }
.card.photo .price.q { color: rgba(255,255,255,.7); }
.arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background .25s, transform .3s var(--ease); flex: none; }
.arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
a.card:hover .arrow { background: var(--yellow); transform: rotate(-45deg); }
.card.photo .arrow { background: rgba(255,255,255,.16); }
.card.hide { display: none; }

/* ── Studio ── */
.studio { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); }
.st-text { padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.st-text h2 { font-size: clamp(30px, 3.4vw, 50px); }
.st-text h2 span { color: var(--yellow); }
.st-feats { display: grid; gap: 8px; margin-top: 8px; }
.st-feats div { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-s); background: rgba(255,255,255,.04); border: 1px solid var(--line-d); font-weight: 500; }
.st-feats svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.6; flex: none; }
.st-demo { min-height: 460px; padding: 0; background: radial-gradient(500px 300px at 70% 30%, rgba(255,208,47,.1), transparent 70%), #0b1622; border: 1px solid var(--line-d); }
.st-ui { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 210px; }
.st-canvas { position: relative; display: grid; place-items: center; perspective: 900px;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; }
.iso { position: relative; width: 240px; height: 150px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.mod { position: absolute; bottom: 0; transform-style: preserve-3d; background: rgba(255,208,47,.18); border: 1px solid var(--yellow);
  animation: grow 8s var(--ease) infinite; transform-origin: bottom; }
.mod::before, .mod::after { content: ''; position: absolute; border: 1px solid rgba(255,208,47,.8); background: rgba(255,208,47,.1); }
.mod::before { left: 0; bottom: 100%; width: 100%; height: 60px; transform-origin: bottom; transform: rotateX(-90deg); }
.mod::after { left: 100%; top: 0; width: 60px; height: 100%; transform-origin: left; transform: rotateY(90deg); }
.mod.m1 { left: 0; width: 70px; height: 150px; }
.mod.m2 { left: 76px; width: 90px; height: 150px; animation-delay: -1.2s; }
.mod.m3 { left: 172px; width: 68px; height: 150px; animation-delay: -2.4s; }
@keyframes grow { 0%, 100% { opacity: .55; } 40%, 60% { opacity: 1; } }
.st-tag { position: absolute; padding: 6px 10px; border-radius: 8px; font: 600 12px/1 var(--font); background: rgba(16,30,45,.9); border: 1px solid rgba(255,208,47,.4); color: var(--yellow); animation: float 6s ease-in-out infinite; }
.st-tag.t1 { left: 14%; top: 16%; } .st-tag.t2 { right: 10%; top: 40%; animation-delay: -3s; } .st-tag.t3 { left: 22%; bottom: 14%; animation-delay: -1.5s; }
.st-panel { border-left: 1px solid var(--line-d); padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; background: rgba(255,255,255,.02); }
.st-panel h4 { margin: 0; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); font-weight: 600; }
.sw { display: flex; gap: 8px; }
.sw i { width: 28px; height: 28px; border-radius: 8px; border: 2px solid transparent; animation: pick 6s infinite; }
.sw i:nth-child(1) { background: #e9e3d8; } .sw i:nth-child(2) { background: #8b6a4a; animation-delay: -2s; } .sw i:nth-child(3) { background: #2b3a48; animation-delay: -4s; } .sw i:nth-child(4) { background: var(--yellow); animation-delay: -1s; }
@keyframes pick { 0%, 30% { border-color: var(--white); transform: scale(1.08); } 34%, 100% { border-color: transparent; transform: none; } }
.slider { height: 6px; border-radius: 4px; background: rgba(255,255,255,.1); position: relative; }
.slider::after { content: ''; position: absolute; left: 0; top: 0; height: 6px; width: 55%; border-radius: 4px; background: var(--yellow); animation: slide 5s ease-in-out infinite; }
.slider.s2::after { animation-delay: -2.5s; }
@keyframes slide { 0%, 100% { width: 35%; } 50% { width: 78%; } }
.st-price { margin-top: auto; padding: 14px; border-radius: 12px; background: rgba(255,208,47,.1); border: 1px solid rgba(255,208,47,.3); }
.st-price small { display: block; color: var(--muted-d); font-size: 12px; }
.st-price b { font: 700 22px/1.2 var(--display); color: var(--yellow); }
.st-soon { position: absolute; left: 18px; top: 16px; z-index: 3; }
.cabs { display: flex; align-items: flex-end; gap: 4px; transform-style: preserve-3d; animation: turn2 22s linear infinite; animation-delay: -6s; }
.cabs .cab { animation: none; --gap2: 14px; }
@keyframes turn2 { from { transform: rotateX(-18deg) rotateY(-28deg); } 50% { transform: rotateX(-18deg) rotateY(28deg); } to { transform: rotateX(-18deg) rotateY(-28deg); } }

/* ── Цифровые возможности ── */
.dig { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--gap); }
.dig .tile { display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.dig .tile:first-child { grid-row: span 2; justify-content: flex-start; }
.dig .tile:first-child h3 { font-size: clamp(24px, 2.4vw, 34px); }
.dig .tile:last-child { grid-column: span 2; }
.dig h3 { font-size: 20px; }
.dig p { margin: 0; color: var(--muted); font-size: 14.5px; }
.dig .tile.dk p, .dig .tile.yl p { color: inherit; opacity: .78; }
.dig .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ── Проекты ── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: var(--white); padding: 9px 16px; border-radius: 999px; font-weight: 500; cursor: pointer; transition: all .2s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pj-grid { columns: 3 300px; column-gap: var(--gap); }
.pj { break-inside: avoid; margin-bottom: var(--gap); border-radius: var(--r); overflow: hidden; position: relative; background: var(--white); cursor: zoom-in; }
.pj img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.pj:hover img { transform: scale(1.04); }
.pj figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(16,30,45,.78); color: var(--white); backdrop-filter: blur(8px);
  display: flex; justify-content: space-between; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.pj figcaption small { font-weight: 500; color: rgba(255,255,255,.7); }
.pj-empty { border-radius: var(--r); padding: 56px 28px; text-align: center; background: var(--white); border: 1px dashed rgba(16,30,45,.18); color: var(--muted); }
.pj-empty svg { width: 52px; height: 52px; margin: 0 auto 14px; fill: none; stroke: var(--muted); stroke-width: 1.4; }
.pj-empty b { display: block; color: var(--ink); font: 600 22px/1.3 var(--display); margin-bottom: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,14,22,.92); display: grid; place-items: center; padding: 24px; animation: fade .25s; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 14px; }
.lightbox button { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 22px; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* ── О производстве ── */
.ab { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.ab-main { grid-column: span 6; grid-row: span 2; display: flex; flex-direction: column; gap: 18px; padding: 36px; background: linear-gradient(150deg, var(--navy-2), var(--navy)); border: 1px solid var(--line-d); }
.ab-main h2 { font-size: clamp(30px, 3.2vw, 46px); }
.ab-main p { margin: 0; color: var(--muted-d); font-size: 17px; max-width: 48ch; }
.ab-flow { margin-top: auto; display: grid; gap: 9px; }
.ab-flow div { display: grid; grid-template-columns: 130px 1fr 44px; gap: 12px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.8); }
.ab-flow i { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.ab-flow i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 4px; background: var(--yellow); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) var(--d, 0s); }
.rv.in .ab-flow i::after, .ab-main.in .ab-flow i::after { transform: scaleX(1); }
.ab-flow b { text-align: right; font-weight: 600; color: var(--yellow); }
.ab-pt { grid-column: span 3; display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-d); color: var(--white); }
.ab-pt h3 { font-size: 18px; } .ab-pt p { margin: 0; color: var(--muted-d); font-size: 14.5px; }

/* ── Контакты ── */
.ct { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.ct-info { grid-column: span 5; display: grid; gap: var(--gap); }
.ct-info .tile { display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.ct-info small { display: block; color: var(--muted); font-size: 13px; }
.ct-info b { font-size: 19px; font-weight: 600; }
.ct-info .tile.yl small { color: rgba(16,30,45,.6); }
.ct-form { grid-column: span 7; padding: 34px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 15px; outline: none; transition: border-color .2s, background .2s; width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); background: var(--white); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { display: grid; place-items: center; text-align: center; gap: 10px; min-height: 260px; }
.form-ok b { font: 600 24px/1.2 var(--display); }
.form-err { color: #c43d3d; font-weight: 600; font-size: 14px; margin: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }

/* ── Подвал ── */
.footer { background: #0b1622; color: rgba(255,255,255,.7); padding: 40px 0; font-size: 14px; }
.ft { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
.ft nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft a:hover { color: var(--white); }

/* ── Страница услуги / мебели ── */
.dp-hero { background: var(--ink); color: var(--white); padding: 120px 0 64px; position: relative; overflow: hidden; }
.dp-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.dp { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: stretch; }
.crumbs { display: flex; gap: 8px; color: var(--muted-d); font-size: 14px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--white); }
.dp h1 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 700; }
.dp .lead { color: var(--muted-d); font-size: 18px; max-width: 52ch; margin: 18px 0 26px; }
.dp-price { display: inline-flex; gap: 10px; align-items: baseline; padding: 12px 18px; border-radius: 14px; background: rgba(255,208,47,.1); border: 1px solid rgba(255,208,47,.3); }
.dp-price small { color: var(--muted-d); } .dp-price b { font: 700 22px/1 var(--display); color: var(--yellow); }
.dp-art { min-height: 360px; padding: 0; background: linear-gradient(160deg, #1a3350, #0e1b29 70%); border: 1px solid var(--line-d); display: grid; place-items: center; }
.dp-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dp-art .big-ico { width: 140px; height: 140px; color: var(--yellow); opacity: .9; }
.dp-art .big-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; }

/* ── Адаптация ── */
@media (max-width: 1180px) {
  .tb-nav a { padding: 8px 9px; font-size: 14px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .dig { grid-template-columns: 1fr 1fr; } .dig .tile:first-child { grid-row: auto; grid-column: span 2; min-height: 0; }
  .ab-pt { grid-column: span 6; }
  .ab-main { grid-column: span 12; grid-row: auto; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .tb-nav { position: fixed; inset: 64px 12px auto; flex-direction: column; gap: 2px; padding: 12px; border-radius: 20px; background: rgba(16,30,45,.97);
    border: 1px solid var(--line-d); box-shadow: 0 30px 60px rgba(0,0,0,.4); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .tb-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .tb-nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .tb-side { margin-left: auto; }
  .h-main, .h-scene { grid-column: span 12; grid-row: auto; }
  .h-main { min-height: 0; padding: 12px 4px 4px; }
  .h-scene { min-height: 340px; }
  .h-pro, .h-home { grid-column: span 12; }
  .h-strip { grid-template-columns: repeat(2, 1fr); }
  .studio { grid-template-columns: 1fr; }
  .ct-info, .ct-form { grid-column: span 12; }
  .dp { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  :root { --r: 18px; --gap: 10px; }
  .logo-word { display: none; }
  .btn-login { padding: 8px 14px; font-size: 14px; }
  .tile { padding: 22px; }
  .h-strip { grid-template-columns: 1fr 1fr; }
  .h-strip .tile { padding: 16px; flex-direction: column; align-items: start; gap: 8px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .card { min-height: 0; padding: 16px; gap: 10px; }
  .card h3 { font-size: 15.5px; }
  .card p { font-size: 12.5px; }
  .card .k { display: none; }
  .card .ico { width: 40px; height: 40px; border-radius: 12px; }
  .card .arrow { width: 30px; height: 30px; }
  .card .price { font-size: 12.5px; }
  .tabs { width: 100%; } .tabs button { flex: 1; padding: 10px 8px; }
  .dig { grid-template-columns: 1fr; } .dig .tile:first-child, .dig .tile:last-child { grid-column: auto; }
  .ab-pt { grid-column: span 12; }
  .ab-flow div { grid-template-columns: 100px 1fr 40px; }
  .st-ui { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .st-panel { border-left: 0; border-top: 1px solid var(--line-d); flex-direction: row; flex-wrap: wrap; align-items: center; }
  .st-panel .slider, .st-panel h4:nth-of-type(2), .st-panel h4:nth-of-type(3) { display: none; }
  .st-demo { min-height: 420px; }
  .form { grid-template-columns: 1fr; }
  .ct-form { padding: 24px; }
  .section { padding: 56px 0; }
  .s-head { margin-bottom: 24px; }
  .cab { --w: 130px; --h: 180px; --d: 86px; --gap2: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
