/* Профиль+ — холодная алюминиевая палитра */
:root {
  --graphite-900: #0e1115;
  --graphite-800: #151a20;
  --graphite-700: #1d232b;
  --graphite-600: #28303a;
  --steel-500: #4a5562;
  --steel-400: #6f7b89;
  --alu-300: #a9b3bf;
  --alu-200: #cdd4dc;
  --alu-100: #e6eaef;
  --alu-50: #f3f5f8;
  --ice: #8fc3e8;
  --ice-strong: #4f9fd6;
  --led: #f4e3c1;

  --bg: var(--alu-50);
  --surface: #ffffff;
  --text: #161b21;
  --muted: #5a6572;
  --line: #dde2e8;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 17, 21, .06), 0 8px 24px rgba(14, 17, 21, .06);
  --shadow-lg: 0 24px 60px rgba(14, 17, 21, .18);
  --metal: linear-gradient(135deg, #f7f9fb 0%, #c9d0d8 22%, #eef1f4 40%, #a4adb8 62%, #e3e7ec 80%, #b9c1cb 100%);
  --metal-dark: linear-gradient(160deg, #232a33 0%, #161b21 45%, #1f252d 70%, #12161b 100%);
  --container: 1200px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ice-strong); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ice-strong);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--ice); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 46px); margin-top: 14px; }
h3 { font-size: 18px; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 640px; }
.dark .lead { color: var(--alu-300); }
.metal-text {
  background: var(--metal); background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Кнопки ---------- */
.btn {
  --b: var(--graphite-800);
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--graphite-800); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(14,17,21,.25); }
.btn-metal { background: var(--metal); background-size: 200% 200%; color: var(--graphite-900); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 18px rgba(0,0,0,.25); }
.btn-metal:hover { background-position: 100% 50%; }
.btn-ghost { border-color: var(--line); background: transparent; }
.dark .btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.btn-ghost:hover { border-color: var(--steel-400); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled, .header.solid { background: rgba(14,17,21,.82); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--ice); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; color: var(--alu-200); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.header .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .25s, background .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .burger { display: block; }
  .header .btn-head { display: none; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; padding: 12px 16px 24px;
    background: rgba(14,17,21,.97); backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav a { padding: 14px 8px; font-size: 17px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .header { background: rgba(14,17,21,.97); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  background: var(--graphite-900); color: #fff; overflow: hidden; isolation: isolate;
  padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0 0 0 auto; width: 56%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; filter: saturate(.75) contrast(1.05); transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--graphite-900) 0%, var(--graphite-900) 42%, rgba(14,17,21,.75) 58%, rgba(14,17,21,.15) 100%),
    linear-gradient(0deg, rgba(14,17,21,.7), transparent 40%);
}
.hero::after { /* шлифованный металл */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 640px); }
.hero h1 { font-size: clamp(40px, 7vw, 92px); line-height: .98; margin: 22px 0 24px; }
.hero h1 small { display: block; font-size: .36em; font-weight: 500; letter-spacing: -.01em; color: var(--alu-200); margin-top: 18px; line-height: 1.25; }
.hero .lead { color: var(--alu-300); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; padding: 0; list-style: none; }
.hero-tags li { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--alu-100); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-contact { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--alu-300); font-size: 14px; }
.hero-contact a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
.hero-contact .hc-note { flex-basis: 100%; }

/* светящаяся LED-линия */
.led-line { position: absolute; height: 3px; border-radius: 3px; background: var(--led); box-shadow: 0 0 12px 2px rgba(244,227,193,.7), 0 0 40px 8px rgba(244,227,193,.25); transform-origin: left; animation: ledOn 2.4s cubic-bezier(.7,0,.2,1) .4s both; }
.led-line.v { width: 3px; height: auto; transform-origin: top; animation-name: ledOnV; }
@keyframes ledOn { from { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } to { transform: scaleX(1); } }
@keyframes ledOnV { from { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } to { transform: scaleY(1); } }
.hero .led-line { left: 0; right: 0; bottom: 0; height: 2px; opacity: .8; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 38px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.35); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 860px) {
  .hero { align-items: end; padding-top: 110px; }
  .hero-bg { width: 100%; height: 55%; inset: 0 0 auto 0; }
  .hero::before { background: linear-gradient(180deg, rgba(14,17,21,.2) 0%, rgba(14,17,21,.7) 35%, var(--graphite-900) 55%); }
  .scroll-hint { display: none; }
}

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; }
.section-head.split .lead { justify-self: end; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } .section-head.split .lead { justify-self: start; } }
.dark { background: var(--graphite-900); color: #fff; }
.dark.alt { background: var(--metal-dark); }
.tint { background: var(--alu-100); }

/* ---------- Ленты цифр ---------- */
.stats-bar { background: var(--graphite-800); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.stats-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.stats-bar li { padding: 28px 20px; border-left: 1px solid rgba(255,255,255,.07); }
.stats-bar li:first-child { border-left: 0; }
.stat-num { display: block; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.stat-num .unit { font-size: .55em; margin-left: 4px; color: var(--alu-300); }
.stat-label { font-size: 13px; color: var(--alu-300); line-height: 1.35; display: block; margin-top: 6px; }
@media (max-width: 980px) { .stats-bar ul { grid-template-columns: repeat(3, 1fr); } .stats-bar li:nth-child(4) { border-left: 0; } .stats-bar li { border-top: 1px solid rgba(255,255,255,.07); } }
@media (max-width: 560px) { .stats-bar ul { grid-template-columns: repeat(2, 1fr); } .stats-bar li { border-left: 0 !important; } .stats-bar li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.07) !important; } }

/* ---------- Карточки ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--alu-200); }
.card p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.dark .card { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); }
.dark .card:hover { border-color: rgba(143,195,232,.35); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.dark .card p { color: var(--alu-300); }
.card .num { font-family: var(--font-display); font-size: 13px; color: var(--ice-strong); font-weight: 600; letter-spacing: .04em; }
.dark .card .num { color: var(--ice); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--metal); margin-bottom: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 4px 12px rgba(14,17,21,.12); color: var(--graphite-800); }
.icon svg { width: 24px; height: 24px; }

/* Два направления */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.duo .card { padding: clamp(28px, 4vw, 44px); }
.duo h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 4px; }
.duo .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; }
.dark .checks li { color: var(--alu-200); }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 10px; border-left: 2px solid var(--ice-strong); border-bottom: 2px solid var(--ice-strong); transform: rotate(-45deg) scale(.8); }
.duo .card.featured { background: var(--graphite-800); color: #fff; border-color: transparent; }
.duo .card.featured p, .duo .card.featured .checks li { color: var(--alu-300); }
.duo .card.featured .tag { color: var(--ice); }

/* Продукция */
.product-lines { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.pl { grid-column: span 4; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 0; text-decoration: none; }
.pl .pl-body { padding: 24px; position: relative; z-index: 1; }
.pl.big { grid-column: span 8; grid-row: span 2; min-height: 476px; color: #fff; border: 0; }
.pl.big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.pl.big::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(14,17,21,.9) 0%, rgba(14,17,21,.2) 60%, transparent); }
.pl.big:hover img { transform: scale(1.04); }
.pl.big p { color: var(--alu-200); }
.pl.big h3 { font-size: clamp(24px, 3vw, 34px); }
@media (max-width: 860px) { .pl, .pl.big { grid-column: span 12; } .pl.big { min-height: 380px; } }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--alu-100); color: var(--steel-500); }
.badge.ice { background: rgba(143,195,232,.18); color: var(--ice-strong); }
.badge.on-dark { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.pl-profile { height: 90px; margin: 24px 24px 0; color: var(--steel-400); }
.pl-profile svg { height: 100%; width: auto; }

/* Производство */
.factory { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
@media (max-width: 920px) { .factory { grid-template-columns: 1fr; } }
.factory-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.factory-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) contrast(1.05); }
.factory-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14,17,21,.75)); }
.factory-photo figcaption { position: absolute; left: 24px; bottom: 22px; right: 24px; z-index: 1; color: var(--alu-100); font-size: 14px; }
.factory-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0; }
.factory-stats div { padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.certs span { padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--graphite-900); background: var(--metal); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.warranty { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 20px; border-radius: var(--radius); border: 1px dashed rgba(143,195,232,.4); color: var(--alu-200); }
.warranty strong { font-family: var(--font-display); font-size: 30px; color: #fff; line-height: 1; }

/* 16 групп */
.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 980px) { .groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .groups { grid-template-columns: 1fr; } }
.group {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 22px;
  border-radius: var(--radius); text-decoration: none; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s, box-shadow .3s;
}
.group::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: var(--led); box-shadow: 0 0 14px 2px rgba(244,227,193,.8); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.group:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--alu-200); }
.group:hover::after { transform: scaleX(1); }
.group .num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ice-strong); }
.group h3 { font-size: 16px; line-height: 1.25; }
.group p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.group .count { margin-top: auto; font-size: 13px; color: var(--steel-400); display: flex; justify-content: space-between; align-items: center; }
.group .count svg { width: 18px; height: 18px; transition: transform .3s; }
.group:hover .count svg { transform: translateX(4px); }

/* Галерея применения */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--graphite-700); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, filter .5s; filter: saturate(.85); }
.gallery figure:hover img { transform: scale(1.05); filter: saturate(1); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 14px; font-weight: 500; color: #fff; background: linear-gradient(0deg, rgba(14,17,21,.85), transparent); }
.g1 { grid-column: span 2; grid-row: span 2; } .g2 { grid-column: span 2; grid-row: span 2; } .g3 { grid-column: span 2; }
.g4 { grid-column: span 2; } .g5 { grid-column: span 3; } .g6 { grid-column: span 3; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; } .g1 { grid-row: span 2 !important; } }

/* Подбор */
.picker { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 920px) { .picker { grid-template-columns: 1fr; } }
.questions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 520px) { .questions { grid-template-columns: 1fr; } }
.questions .card { padding: 24px; }
.questions .q-num { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1; }
.questions h3 { margin-top: 14px; }
.tool { background: var(--graphite-800); color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; }
.tool h3 { font-size: 22px; }
.tool p.hint { color: var(--alu-300); font-size: 14px; margin: 8px 0 24px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--alu-300); letter-spacing: .02em; padding: 0; }
.dark-input, .tool input[type="number"], .tool select {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05); color: #fff; font-size: 16px;
}
.tool select option { color: #000; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: all .2s; white-space: nowrap; }
.chip input:checked + span { background: var(--graphite-800); border-color: var(--graphite-800); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ice-strong); outline-offset: 2px; }
.tool .chip span { background: transparent; border-color: rgba(255,255,255,.18); color: var(--alu-200); }
.tool .chip input:checked + span { background: var(--metal); color: var(--graphite-900); border-color: transparent; }
.tool-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.tool-result strong { font-family: var(--font-display); font-size: 30px; }
.tool-result small { display: block; color: var(--alu-300); font-size: 13px; }

/* Рассеиватели и цвета */
.diffusers { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
@media (max-width: 860px) { .diffusers { grid-template-columns: 1fr; } }
.bar { margin-bottom: 18px; }
.bar-top { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.bar-top b { color: var(--ice-strong); font-weight: 600; }
.bar-track { height: 8px; border-radius: 8px; background: var(--alu-100); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #c9b893, var(--led)); box-shadow: 0 0 10px rgba(244,227,193,.9); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.in .bar-fill { width: var(--w); }
.swatches { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.swatches li { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; flex: none; border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 2px 4px rgba(255,255,255,.3), inset 0 -3px 6px rgba(0,0,0,.25); }

/* Под заказ */
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .custom { grid-template-columns: 1fr; } }
.custom .card.accent { background: linear-gradient(140deg, #2c5f86, #1d3f5c); color: #fff; border: 0; }
.custom .card.accent .checks li { color: #e2eef8; }
.custom .card.accent .checks li::before { border-color: var(--ice); }

/* Процесс */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 13px; color: var(--ice); margin-bottom: 30px; }
.steps li::after { content: ""; position: absolute; top: 34px; left: 56px; right: 22px; height: 1px; background: linear-gradient(90deg, rgba(143,195,232,.5), transparent); }
.steps h3 { font-size: 16px; }
.steps p { margin: 8px 0 0; color: var(--alu-300); font-size: 14px; }

/* География */
.geo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 860px) { .geo { grid-template-columns: 1fr; } }
.geo .card h3 { display: flex; align-items: center; gap: 10px; }
.geo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ice-strong); box-shadow: 0 0 0 4px rgba(79,159,214,.18); }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.clients span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }

/* Контакты / форма */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); text-decoration: none; transition: border-color .2s, background .2s; }
.contact-list a:hover { border-color: rgba(143,195,232,.4); background: rgba(255,255,255,.06); }
.contact-list .icon { margin: 0; width: 44px; height: 44px; }
.contact-list small { display: block; color: var(--alu-300); font-size: 13px; }
.contact-list b { font-size: 17px; font-weight: 600; }
.form { background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 22px; }
.form .hint { color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.input { display: grid; gap: 6px; }
.input span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input input, .input textarea, .input select { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--alu-50); font-size: 16px; transition: border-color .2s, background .2s; }
.input textarea { min-height: 110px; resize: vertical; }
.input input:focus, .input textarea:focus, .input select:focus { outline: none; border-color: var(--ice-strong); background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 16px 0 20px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--graphite-800); flex: none; }
.send-row { display: flex; flex-wrap: wrap; gap: 10px; }
.send-row .btn { flex: 1 1 auto; }
.form-status { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-status.ok { color: #1f7a4d; } .form-status.err { color: #b3261e; }

/* Подвал */
.footer { background: var(--graphite-900); color: var(--alu-300); padding: 56px 0 32px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--alu-300); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; color: var(--steel-400); }

/* Плавающие кнопки */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-cta a, .float-cta button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .2s; position: relative; }
.float-cta a:hover, .float-cta button:hover { transform: scale(1.06); }
.float-cta svg { width: 26px; height: 26px; }
.fc-wa { background: #25d366; } .fc-tg { background: #2aabee; }
.fc-cart { background: var(--graphite-800); }
.fc-cart[hidden] { display: none; }
.fc-cart .cnt { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px; background: var(--ice-strong); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Анимированное сечение профиля */
.draw path, .draw rect, .draw line, .draw polyline { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 2.2s cubic-bezier(.6,0,.2,1); }
.in .draw path, .in .draw rect, .in .draw line, .in .draw polyline, .draw.in path, .draw.in rect, .draw.in line, .draw.in polyline { stroke-dashoffset: 0; }

/* ---------- Каталог ---------- */
.page-hero { background: var(--graphite-900); color: #fff; padding: 140px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px); }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); margin: 16px 0 18px; }
.page-hero .led-line { left: 0; right: 0; bottom: 0; opacity: .7; }
.cat-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; padding: 32px 0 96px; }
@media (max-width: 980px) { .cat-layout { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 92px; display: grid; gap: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (max-width: 980px) { .filters { position: static; } .filters .cat-list { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 6px; margin: 0 -4px; scrollbar-width: thin; } .filters .cat-list button { white-space: nowrap; flex: none; } }
.filters h4 { margin: 0 0 10px; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--steel-400); }
.search input { width: 100%; height: 48px; padding: 0 14px 0 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--alu-50); font-size: 15px; }
.search input:focus { outline: none; border-color: var(--ice-strong); background: #fff; }
.cat-list { display: grid; gap: 2px; }
.cat-list button { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; padding: 9px 12px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; font-size: 14px; color: var(--text); transition: background .2s; }
.cat-list button:hover { background: var(--alu-100); }
.cat-list button[aria-pressed="true"] { background: var(--graphite-800); color: #fff; }
.cat-list button small { color: var(--steel-400); font-size: 12px; }
.cat-list button[aria-pressed="true"] small { color: var(--alu-300); }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range-row input { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--alu-50); font-size: 15px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .found { color: var(--muted); font-size: 14px; }
.toolbar select { height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 0 12px; font-size: 14px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; animation: pop .45s both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--alu-200); }
.product-img { aspect-ratio: 199 / 63; background: #f4f5f6; cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img.photo img { object-fit: cover; }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-body .grp { font-size: 12px; color: var(--steel-400); }
.product-body h3 { font-family: var(--font); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.product-body .sku { font-size: 14px; color: var(--ice-strong); font-weight: 600; }
.product-body .spec { font-size: 14px; color: var(--muted); }
.product-body .note { font-size: 13px; color: var(--muted); }
.product-actions { margin-top: auto; padding-top: 12px; }
.add-btn { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--alu-50); cursor: pointer; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all .2s; }
.add-btn:hover { border-color: var(--graphite-800); }
.add-btn[aria-pressed="true"] { background: var(--graphite-800); color: #fff; border-color: var(--graphite-800); }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* Модальные окна */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(14,17,21,.72); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; width: min(640px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--surface); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); transform: translateY(16px) scale(.98); transition: transform .3s; }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--alu-100); cursor: pointer; font-size: 22px; line-height: 1; }
.modal-box.img-box { width: min(1100px, 100%); padding: 12px; background: #f4f5f6; }
.modal-box.img-box img { width: 100%; border-radius: 12px; }
.modal-box.img-box .cap { padding: 12px 8px 4px; font-weight: 600; }
.req-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.req-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--alu-50); font-size: 14px; }
.req-list input { width: 84px; height: 36px; border-radius: 8px; border: 1px solid var(--line); padding: 0 8px; }
.req-list button { border: 0; background: transparent; cursor: pointer; font-size: 20px; color: var(--steel-400); }

/* Текстовые страницы */
.prose { max-width: 760px; padding: 48px 0 96px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: #333b45; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.cat-layout > * { min-width: 0; }
[hidden] { display: none !important; }
.filters { grid-template-columns: minmax(0, 1fr); }
.filters > * { min-width: 0; }
.page-hero .lead { color: var(--alu-300); }
fieldset.field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 8px; }
.form .btn-ghost { color: var(--text); border-color: var(--line); }
.pl > .badge { position: absolute; top: 20px; right: 20px; z-index: 2; }
.badge { white-space: nowrap; }

/* =========================================================
   v2: многостраничная версия и анимации
   ========================================================= */
body { transition: opacity .5s ease; }
.js body:not(.loaded) { opacity: 0; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--ice-strong), var(--led)); box-shadow: 0 0 10px rgba(244,227,193,.7); pointer-events: none; }
.logo-led { animation: ledPulse 3.2s ease-in-out infinite; }
@keyframes ledPulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* смена слов */
.rotator { display: grid; margin-top: 6px; color: var(--alu-100); }
.rot-word { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); filter: blur(4px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1), filter .6s; }
.rot-word.is-on { opacity: 1; transform: none; filter: none; }
.rot-word.is-off { opacity: 0; transform: translateY(-40%); filter: blur(4px); }
.rot-word.is-on { background: linear-gradient(90deg, #fff, var(--ice) 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* сечения профиля в hero */
.hero-profiles { position: absolute; right: 4%; bottom: 14%; display: flex; gap: 18px; color: rgba(205,212,220,.55); z-index: 0; pointer-events: none; }
.hero-profiles svg { width: 110px; height: auto; animation: floatY 6s ease-in-out infinite; }
.hero-profiles svg:nth-child(2) { animation-delay: -2s; }
.hero-profiles svg:nth-child(3) { animation-delay: -4s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 860px) { .hero-profiles { display: none; } }

/* шапки внутренних страниц */
.page-hero { isolation: isolate; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-art { position: absolute; right: 3%; top: 50%; width: min(460px, 40vw); transform: translateY(-40%); color: rgba(143,195,232,.28); z-index: 0; pointer-events: none; }
.page-hero-art svg { width: 100%; height: auto; }
.page-hero-art.draw path, .page-hero-art.draw rect, .page-hero-art.draw line, .page-hero-art.draw polyline, .page-hero-art.draw circle { transition-duration: 3s; }
.page-hero-photo { min-height: 560px; display: grid; align-items: center; }
.page-hero-img { position: absolute; inset: 0 0 0 auto; width: 50%; height: 100%; object-fit: cover; z-index: -1; opacity: .9; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); animation: heroZoom 18s ease-out forwards; }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 640px; }
@media (max-width: 860px) { .page-hero-art { opacity: .5; width: 70vw; top: 30%; } .page-hero-img { width: 100%; opacity: .25; mask-image: none; -webkit-mask-image: none; } }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.subnav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--alu-200); text-decoration: none; border: 1px solid rgba(255,255,255,.14); transition: background .2s, color .2s, border-color .2s; }
.subnav a:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(143,195,232,.4); }
.draw circle { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 2.2s cubic-bezier(.6,0,.2,1); }
.in .draw circle, .draw.in circle { stroke-dashoffset: 0; }

/* разделы на главной */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 26px; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.tile.reveal { transform: perspective(900px) translateY(24px); }
.tile.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(143,195,232,.18), transparent 50%); }
.tile:hover { box-shadow: var(--shadow-lg); border-color: var(--alu-200); }
.tile:hover::before { opacity: 1; }
.tile::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px; z-index: 2; background: var(--led); box-shadow: 0 0 14px 2px rgba(244,227,193,.8); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.7,0,.2,1); }
.tile:hover::after { transform: scaleX(1); }
.tile-num { position: absolute; top: 22px; left: 26px; z-index: 2; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ice-strong); }
.tile-body { position: relative; z-index: 2; }
.tile h3 { font-size: 22px; }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.tile-arrow { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--alu-100); transition: transform .35s, background .35s, color .35s; }
.tile-arrow svg { width: 18px; height: 18px; }
.tile:hover .tile-arrow { transform: rotate(-45deg); background: var(--graphite-800); color: #fff; }
.tile-art { position: absolute; top: 56px; left: 26px; right: 26px; height: 110px; color: var(--steel-400); }
.tile-art svg { height: 100%; width: auto; }
.tile-photo { color: #fff; border: 0; background: var(--graphite-700); }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.8) brightness(.85); }
.tile-photo::before { opacity: 1; background: linear-gradient(0deg, rgba(14,17,21,.9) 0%, rgba(14,17,21,.25) 60%, rgba(14,17,21,.1)); }
.tile-photo:hover img { transform: scale(1.07); filter: saturate(1) brightness(.95); }
.tile-photo p { color: var(--alu-200); }
.tile-photo .tile-num { color: var(--ice); }
.tile-photo .tile-arrow { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); }
.tile-accent { background: linear-gradient(140deg, #2c5f86, #1d3f5c); color: #fff; border: 0; }
.tile-accent p { color: #d6e6f3; } .tile-accent .tile-num { color: var(--ice); } .tile-accent .tile-art { color: rgba(255,255,255,.45); }
.tile-accent .tile-arrow { background: rgba(255,255,255,.16); color: #fff; }

/* карточки с наклоном */
.tilt { --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.tilt.reveal { transform: translateY(24px); }
.tilt.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity .8s, transform .35s cubic-bezier(.2,.7,.2,1); }

/* полоса CTA */
.cta-band { overflow: hidden; }
.cta-band .led-line { left: 0; right: 0; bottom: 0; opacity: .7; }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 680px; }

/* направления продукции */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .dirs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dirs { grid-template-columns: 1fr; } }
.dir { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.dir.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity .8s, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.dir:hover { box-shadow: var(--shadow); border-color: var(--alu-200); }
.dir h3 { font-size: 19px; }
.dir p { margin: 0; color: var(--muted); font-size: 15px; }
.dir .badge { align-self: flex-start; }
.dir-art { height: 92px; color: var(--steel-400); margin-bottom: 8px; }
.dir-art svg { height: 100%; width: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.dir:hover .dir-art svg { transform: translateX(6px) scale(1.04); }
.dir-tags { list-style: none; padding: 0; margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.dir-tags li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--alu-100); color: var(--steel-500); }
.dir-link { font-size: 14px; font-weight: 600; color: var(--ice-strong); text-decoration: none; }
.dir-link:hover { text-decoration: underline; }
.dir-feature { grid-column: span 3; min-height: 420px; overflow: hidden; padding: 0; border: 0; justify-content: flex-end; color: #fff; }
.dir-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.dir-feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,17,21,.92) 0%, rgba(14,17,21,.6) 45%, rgba(14,17,21,.05)); }
.dir-feature:hover img { transform: scale(1.05); }
.dir-feature .dir-body { position: relative; z-index: 2; padding: clamp(26px, 4vw, 48px); max-width: 620px; display: grid; gap: 14px; }
.dir-feature h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); }
.dir-feature p { color: var(--alu-200); font-size: 16px; }
.dir-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.dir-more svg { width: 18px; height: 18px; transition: transform .3s; }
.dir-feature:hover .dir-more svg { transform: translateX(6px); }
@media (max-width: 980px) { .dir-feature { grid-column: span 2; } }
@media (max-width: 640px) { .dir-feature { grid-column: span 1; min-height: 380px; } .dir-feature::before { background: linear-gradient(0deg, rgba(14,17,21,.95) 30%, rgba(14,17,21,.2)); } }
.swatch-row { list-style: none; padding: 0; margin: auto 0 0; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-row li { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); box-shadow: inset 0 2px 3px rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.2); transition: transform .25s; }
.swatch-row li:hover { transform: scale(1.2); }

/* обзор 16 групп */
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
@media (max-width: 920px) { .explorer { grid-template-columns: 1fr; } }
.explorer > * { min-width: 0; }
.ex-list { display: grid; gap: 4px; padding: 10px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); position: sticky; top: 92px; }
@media (max-width: 920px) { .ex-list { position: static; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; } .ex-list button { flex: none; scroll-snap-align: start; } }
.ex-list button { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; text-align: left; font-size: 14px; font-weight: 500; color: var(--text); transition: background .25s, color .25s, padding .25s; white-space: nowrap; }
.ex-list button .num { font-family: var(--font-display); font-size: 12px; color: var(--ice-strong); min-width: 20px; }
.ex-list button:hover { background: var(--alu-100); }
.ex-list button[aria-selected="true"] { background: var(--graphite-800); color: #fff; padding-left: 20px; }
.ex-list button[aria-selected="true"]::before { content: ""; position: absolute; left: 8px; top: 25%; bottom: 25%; width: 3px; border-radius: 3px; background: var(--led); box-shadow: 0 0 10px rgba(244,227,193,.9); }
.ex-list button[aria-selected="true"] .num { color: var(--ice); }
.ex-panel { position: relative; overflow: hidden; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--metal-dark); color: #fff; min-height: 520px; }
.ex-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px); }
.ex-panel > * { position: relative; z-index: 1; }
.ex-panel.swap > * { animation: exIn .6s cubic-bezier(.2,.7,.2,1) both; }
.ex-panel.swap > *:nth-child(2) { animation-delay: .06s; } .ex-panel.swap > *:nth-child(3) { animation-delay: .12s; } .ex-panel.swap > *:nth-child(4) { animation-delay: .18s; } .ex-panel.swap > *:nth-child(5) { animation-delay: .24s; }
@keyframes exIn { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
.ex-head { display: flex; gap: 20px; align-items: center; }
.ex-n { font-family: var(--font-display); font-size: clamp(44px, 6vw, 72px); font-weight: 700; line-height: 1; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ex-head h3 { font-size: clamp(22px, 2.6vw, 30px); }
.ex-sub { margin: 6px 0 0; color: var(--ice); font-size: 14px; }
.ex-text { color: var(--alu-200); font-size: 16px; max-width: 680px; margin: 22px 0; }
.ex-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.ex-facts div { padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); min-width: 140px; }
.ex-facts b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.ex-facts span { font-size: 13px; color: var(--alu-300); }
.ex-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
@media (max-width: 560px) { .ex-thumbs { grid-template-columns: repeat(2, 1fr); } }
.ex-thumbs a { display: block; border-radius: 12px; overflow: hidden; background: #f4f5f6; color: var(--text); text-decoration: none; animation: thumbIn .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.15s + var(--i) * .07s); transition: transform .3s, box-shadow .3s; }
.ex-thumbs a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
@keyframes thumbIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.ex-thumbs img { width: 100%; aspect-ratio: 199 / 63; object-fit: cover; }
.ex-thumbs span { display: block; padding: 8px 10px; font-size: 13px; font-weight: 600; background: #fff; }
.ex-thumbs small { display: block; font-weight: 500; color: var(--ice-strong); }
.ex-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ex-panel .btn-primary { background: var(--metal); color: var(--graphite-900); }
.ex-panel .btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; }

/* производственный цикл */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.flow::before { content: ""; position: absolute; top: 34px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, transparent, var(--led), transparent); box-shadow: 0 0 12px rgba(244,227,193,.8); transform: scaleX(0); transform-origin: left; transition: transform 2s cubic-bezier(.7,0,.2,1) .3s; }
.flow:has(.in)::before { transform: scaleX(1); }
@media (max-width: 980px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow::before { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow li { position: relative; padding: 0 6px; }
.flow-ic { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--metal); color: var(--graphite-800); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 20px rgba(14,17,21,.12); margin-bottom: 18px; transition: transform .4s; }
.flow li:hover .flow-ic { transform: translateY(-4px) rotate(-4deg); }
.flow-ic svg { width: 28px; height: 28px; }
.flow h3 { font-size: 16px; }
.flow p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* каталог: эффект при наведении */
.product-img { overflow: hidden; }
.product-img img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product:hover .product-img img { transform: scale(1.06); }

/* раскрытие фото */
/* раскрытие: обрезается картинка, а не сам блок — иначе IntersectionObserver считает блок невидимым */
.gallery figure.reveal, .factory-photo.reveal { opacity: 1; transform: none; }
.gallery figure.reveal img { clip-path: inset(10% 10% 10% 10%); transform: scale(1.12); transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1), filter .5s; transition-delay: var(--d, 0s); }
.gallery figure.reveal.in img { clip-path: inset(0 0 0 0); transform: none; }
.gallery figure.reveal.in:hover img { transform: scale(1.05); }
.factory-photo.reveal img { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); }
.factory-photo.reveal.in img { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; }
  .gallery figure.reveal img, .factory-photo.reveal img { clip-path: none !important; transform: none !important; }
  .hero-profiles svg, .logo-led { animation: none; }
}
.dir-feature .badge { justify-self: start; }
@media (max-width: 640px) { .float-cta { right: 12px; bottom: 12px; gap: 8px; } .float-cta a, .float-cta button { width: 46px; height: 46px; } .float-cta svg { width: 22px; height: 22px; } }

/* =========================================================
   v3: первый экран с витриной направлений
   ========================================================= */
.hero-v3 { min-height: 100svh; padding: 112px 0 72px; background:
  radial-gradient(900px 520px at 78% 40%, rgba(79,159,214,.16), transparent 60%),
  radial-gradient(700px 400px at 10% 90%, rgba(244,227,193,.07), transparent 60%),
  var(--graphite-900); }
.hero-v3::before { background: linear-gradient(0deg, rgba(14,17,21,.6), transparent 30%); }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 30%, transparent 75%);
  animation: gridPan 30s linear infinite; }
@keyframes gridPan { to { background-position: 64px 64px, 64px 64px; } }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-layout { grid-template-columns: minmax(0, 1fr); } }
.hero-v3 h1 { font-size: clamp(44px, 6.2vw, 86px); margin: 20px 0 22px; }
.hero-v3 h1 small { font-size: clamp(20px, 2.3vw, 30px); margin-top: 16px; }
.hero-v3 .rotator { min-height: 1.25em; }
.hero-v3 .lead { max-width: 560px; }
.hero-v3 .hero-actions { margin-top: 30px; }
.hero-v3 .hero-contact { margin-top: 36px; }

/* витрина */
.showcase { position: relative; }
.sc-stage { position: relative; height: clamp(420px, 44vw, 540px); border-radius: 24px; overflow: hidden; background: var(--graphite-800); border: 1px solid rgba(255,255,255,.09); box-shadow: 0 40px 90px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); }
.sc-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.sc-slide { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.sc-slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; z-index: 1; }
.sc-media { position: relative; overflow: hidden; }
.sc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(.9); }
.sc-slide.is-on .sc-media img { transform: scale(1); transition: transform 6.5s cubic-bezier(.2,.6,.2,1); }
.sc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--graphite-800) 0%, rgba(21,26,32,.35) 40%, transparent 70%); }
.sc-art { position: absolute; inset: 0; display: grid; place-items: center; background: var(--metal-dark); color: #cdd4dc; }
.sc-art svg { width: 78%; max-height: 82%; }
.sc-art.draw path, .sc-art.draw rect, .sc-art.draw circle { transition-duration: 2.4s; }
.sc-body { position: relative; padding: 0 28px 26px; margin-top: -36px; z-index: 1; }
.sc-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.sc-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 10px 2px rgba(244,227,193,.7); }
.sc-body h3 { font-size: clamp(20px, 2.1vw, 26px); margin: 10px 0 14px; }
.sc-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-facts li { padding: 7px 12px; border-radius: 999px; font-size: 13px; color: var(--alu-200); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.sc-facts b { color: #fff; font-weight: 700; }
.sc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: #fff; }
.sc-more svg { width: 16px; height: 16px; transition: transform .3s; }
.sc-slide:hover .sc-more svg { transform: translateX(5px); }
/* появление содержимого активного слайда */
.sc-slide .sc-tag, .sc-slide h3, .sc-slide .sc-facts li, .sc-slide .sc-more { opacity: 0; transform: translateY(14px); }
.sc-slide.is-on .sc-tag, .sc-slide.is-on h3, .sc-slide.is-on .sc-facts li, .sc-slide.is-on .sc-more { opacity: 1; transform: none; transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); }
.sc-slide.is-on .sc-tag { transition-delay: .15s; } .sc-slide.is-on h3 { transition-delay: .25s; }
.sc-slide.is-on .sc-facts li:nth-child(1) { transition-delay: .38s; } .sc-slide.is-on .sc-facts li:nth-child(2) { transition-delay: .46s; } .sc-slide.is-on .sc-facts li:nth-child(3) { transition-delay: .54s; }
.sc-slide.is-on .sc-more { transition-delay: .65s; }
/* навигация с полосой времени */
.sc-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 14px; }
.sc-dot { display: grid; gap: 8px; padding: 6px 2px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--alu-300); font-size: 12px; font-weight: 500; transition: color .3s; }
.sc-dot span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-dot i { display: block; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.sc-dot i::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--led); box-shadow: 0 0 8px rgba(244,227,193,.8); }
.sc-dot:hover, .sc-dot.is-on { color: #fff; }
.sc-dot.is-on i::after { animation: scBar var(--dur, 5200ms) linear forwards; }
.showcase.paused .sc-dot.is-on i::after { animation-play-state: paused; }
@keyframes scBar { to { transform: scaleX(1); } }
@media (max-width: 960px) { .sc-stage { height: 420px; } }
@media (max-width: 560px) { .sc-stage { height: 400px; } .sc-dot span { display: none; } .sc-body { padding: 0 20px 22px; } }
@media (prefers-reduced-motion: reduce) { .sc-dot.is-on i::after { animation: none; transform: scaleX(1); } .hero-grid-bg { animation: none; } }

@media (max-width: 760px) { .header .btn-head { display: inline-flex; margin-left: auto; } .burger { margin-left: 8px; } }
@media (max-width: 560px) { .header .btn-head { display: none; } .burger { margin-left: auto; } }

/* =========================================================
   v4: шапки внутренних страниц с информационной колонкой
   ========================================================= */
.ph-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 960px) { .ph-layout { grid-template-columns: minmax(0, 1fr); } }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 56px); }
.ph-aside { position: relative; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.ph-aside::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--led); box-shadow: 0 0 14px 2px rgba(244,227,193,.7); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.7,0,.2,1) .4s; }
.ph-aside.in::before { transform: scaleX(1); }
.ph-aside-title { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); margin: 0 0 14px; }
.ph-n { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--ice); min-width: 22px; }
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (max-width: 520px) { .ph-list { grid-template-columns: 1fr; } }
.ph-list a { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: #fff; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .25s; }
.ph-list a:hover { background: rgba(255,255,255,.06); border-color: rgba(143,195,232,.3); transform: translateX(3px); }
.ph-list b { display: block; font-size: 14px; font-weight: 600; }
.ph-list small { display: block; font-size: 12px; color: var(--alu-300); margin-top: 2px; }
.ph-list em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(143,195,232,.16); color: var(--ice); align-self: center; }
.ph-aside.reveal .ph-list li { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.ph-aside.in .ph-list li { opacity: 1; transform: none; }
.ph-aside.in .ph-list li:nth-child(1) { transition-delay: .2s } .ph-aside.in .ph-list li:nth-child(2) { transition-delay: .26s } .ph-aside.in .ph-list li:nth-child(3) { transition-delay: .32s } .ph-aside.in .ph-list li:nth-child(4) { transition-delay: .38s }
.ph-aside.in .ph-list li:nth-child(5) { transition-delay: .44s } .ph-aside.in .ph-list li:nth-child(6) { transition-delay: .5s } .ph-aside.in .ph-list li:nth-child(7) { transition-delay: .56s } .ph-aside.in .ph-list li:nth-child(8) { transition-delay: .62s }
.ph-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 520px) { .ph-stats { grid-template-columns: repeat(2, 1fr); } }
.ph-stats li { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.ph-stats b { display: block; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: #fff; white-space: nowrap; }
.ph-stats small { display: block; font-size: 12px; color: var(--alu-300); margin-top: 4px; line-height: 1.3; }
.ph-note { margin-top: 12px; padding: 14px 16px; border-radius: 14px; border: 1px dashed rgba(143,195,232,.4); color: var(--alu-200); font-size: 14px; }
.ph-note strong { font-family: var(--font-display); color: #fff; font-size: 18px; margin-right: 6px; }
.ph-format { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; }
.ph-format b { display: block; color: #fff; font-size: 16px; }
.ph-format small { display: block; color: var(--alu-300); font-size: 13px; margin-top: 4px; }
.ph-geo { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ph-geo span { font-size: 12px; padding: 5px 10px; border-radius: 999px; color: var(--alu-200); border: 1px solid rgba(255,255,255,.14); }
.ph-person { display: flex; align-items: center; gap: 14px; }
.ph-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; color: var(--graphite-900); background: var(--metal); }
.ph-person b { display: block; color: #fff; font-size: 18px; }
.ph-person small { color: var(--alu-300); font-size: 13px; }
.ph-phone { display: block; margin: 18px 0 14px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: #fff; text-decoration: none; }
.ph-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-mail { display: inline-block; margin-top: 14px; color: var(--alu-200); font-size: 15px; }
.page-hero .certs span { font-size: 13px; padding: 8px 12px; }

/* производство: секция на светлом фоне */
.factory-v2 .factory-photo { min-height: 460px; }
.factory-v2 .checks li { color: var(--muted); }
.factory-v2 .warranty { color: var(--muted); border-color: rgba(79,159,214,.4); }
.factory-v2 .warranty strong { color: var(--text); }
.send-list { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.send-list li { counter-increment: s; position: relative; padding: 16px 18px 16px 60px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.send-list li::before { content: "0" counter(s); position: absolute; left: 18px; top: 16px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ice); }
.send-list b { display: block; color: #fff; font-size: 16px; }
.send-list span { display: block; color: var(--alu-300); font-size: 14px; margin-top: 2px; }

/* =========================================================
   v5: цвета и отделка
   ========================================================= */
.ph-swatch-strip { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; margin-top: 14px; }
.ph-swatch-strip span { aspect-ratio: 1; border-radius: 6px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); animation: swPulse 6s ease-in-out infinite; }
.ph-swatch-strip span:nth-child(3n+2) { animation-delay: -2s; } .ph-swatch-strip span:nth-child(3n) { animation-delay: -4s; }
@keyframes swPulse { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
@media (max-width: 520px) { .ph-swatch-strip { grid-template-columns: repeat(9, 1fr); } }

.fins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1080px) { .fins { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fins { grid-template-columns: 1fr; } }
.fin { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.fin:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--alu-200); }
.fin img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 6px 16px rgba(14,17,21,.12); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.fin:hover img { transform: rotate(-4deg) scale(1.06); }
.fin h3 { font-size: 16px; margin-top: 4px; }
.fin p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.palette { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pl-preview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--metal-dark); color: #fff; }
@media (max-width: 860px) { .pl-preview { grid-template-columns: minmax(0, 1fr); } }
.pl-stage { position: relative; background: radial-gradient(500px 300px at 30% 30%, rgba(143,195,232,.18), transparent 60%), #1a2027; padding: 24px; }
.pl-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.pl-stage.swap .pl-chip, .pl-stage.swap .pl-bar, .pl-stage.swap .pl-prof { animation: swIn .7s cubic-bezier(.2,.7,.2,1) both; }
.pl-stage.swap .pl-bar { animation-delay: .06s; } .pl-stage.swap .pl-prof { animation-delay: .12s; }
@keyframes swIn { from { opacity: .2; transform: translateY(8px); } }
.pl-chip, .pl-bar, .pl-prof { transform-box: fill-box; transform-origin: center; }
.pl-info { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.pl-code { font-family: var(--font-display); font-size: 14px; color: var(--ice); letter-spacing: .06em; }
.pl-info h3 { font-size: clamp(22px, 2.4vw, 30px); }
.pl-info p { margin: 0 0 12px; color: var(--alu-300); font-size: 15px; }
.pl-info .btn-primary { background: var(--metal); color: var(--graphite-900); }
.pl-info .btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.pl-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 500; transition: all .25s; }
.pl-tabs button small { font-size: 12px; color: var(--steel-400); }
.pl-tabs button:hover { border-color: var(--steel-400); }
.pl-tabs button[aria-selected="true"] { background: var(--graphite-800); color: #fff; border-color: var(--graphite-800); }
.pl-tabs button[aria-selected="true"] small { color: var(--alu-300); }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.sw { display: flex; flex-direction: column; gap: 0; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--surface); cursor: pointer; text-align: left; box-shadow: 0 1px 2px rgba(14,17,21,.06); animation: thumbIn .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * .03s); transition: transform .25s, box-shadow .25s, border-color .25s; }
.sw:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sw[aria-pressed="true"] { border-color: var(--ice-strong); box-shadow: 0 0 0 4px rgba(79,159,214,.18); }
.sw-img { display: block; aspect-ratio: 1; background-color: var(--avg); background-size: cover; background-position: center; transition: transform .5s; }
.sw:hover .sw-img { transform: scale(1.08); }
.sw-cap { display: block; padding: 8px 10px 10px; font-size: 12px; line-height: 1.3; color: var(--muted); position: relative; background: var(--surface); }
.sw-cap b { display: block; font-size: 12px; color: var(--ice-strong); }
.pl-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); max-width: 820px; }
.tile-sw { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; height: auto; top: 64px; }
.tile-sw span { aspect-ratio: 1; border-radius: 10px; background-size: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 6px 14px rgba(14,17,21,.12); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.tile:hover .tile-sw span { transform: translateY(-6px) rotate(-6deg); }
.tile:hover .tile-sw span:nth-child(even) { transform: translateY(4px) rotate(5deg); }
.plant { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .plant { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plant { grid-template-columns: 1fr; } }
.plant-item { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.plant-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plant-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.plant-item:hover img { transform: scale(1.06); }
.plant-item figcaption { padding: 16px 18px 18px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.plant-item figcaption span { font-family: var(--font-display); font-size: 12px; color: var(--ice-strong); margin-right: 8px; }
.plant-item figcaption b { display: inline; color: var(--text); font-size: 16px; }
.plant-item figcaption b::after { content: ""; display: block; margin-bottom: 4px; }

/* шапка: меню всегда видно на планшетах и ноутбуках, бургер только ≤ 760 px (правка с сервера, 06.11) */
@media (min-width: 761px) and (max-width: 1180px) {
  .header-inner { gap: 12px; } .nav { gap: 0; } .nav a { padding: 6px 8px; font-size: 13px; }
  .header .btn-head { margin-left: 6px; padding-left: 14px; padding-right: 14px; font-size: 13px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .logo span { display: none; } .nav a { padding: 6px 6px; font-size: 12.5px; }
}
.fins { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .fins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fins { grid-template-columns: minmax(0, 1fr); } }
.fin > div { min-width: 0; }
