/* ============================================================================
   Койпер Технологии — Редизайн v2 «Global materials leader»
   Референс-впечатление: BASF / 3M / DuPont — крупная редакционная типографика,
   полноширинная фотография, воздух, отрасли/наука/доверие как нарратив.
   Сохраняет ДНК бренда: инженерный синий, оранжевый акцент, PT Sans, ОТК/ОПК.
   Токены — из assets/colors_and_type.css.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --accent-dyn: var(--orange-500);
  --accent-dyn-hover: var(--orange-600);
  --fs-scale: 1;
  --container-w: 1280px;
  --gut: 40px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--gray-0);
  font-size: calc(16px * var(--fs-scale));
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}
img { max-width: 100%; }

.wrap { max-width: var(--container-w); margin: 0 auto; padding: 0 var(--gut); }
.app-root { min-height: 100vh; display: flex; flex-direction: column; }
.app-main { flex: 1; }

/* eyebrow — тонкая капс-метка с засечкой */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dyn);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; }
.eyebrow--muted { color: var(--gray-500); }
.eyebrow--light { color: var(--orange-300); }
.mono { font-family: var(--font-mono); }

/* ----------------------------------------------------------------- BUTTONS */
.btn {
  font-family: var(--font-sans); font-weight: 700; border: 1px solid transparent;
  border-radius: var(--r-md); cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--md { padding: 12px 20px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 15.5px; }
.btn--primary { background: var(--accent-dyn); color: #fff; }
.btn--primary:hover { background: var(--accent-dyn-hover); color:#fff; text-decoration:none; }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--blue-50); border-color: var(--brand); color: var(--brand); text-decoration:none; }
.btn--ghost { background: transparent; color: var(--brand); padding-left: 2px; padding-right: 2px; }
.btn--ghost:hover { color: var(--blue-700); text-decoration:none; }
.btn--light { background:#fff; color: var(--gray-900); }
.btn--light:hover { background: var(--gray-100); color: var(--gray-900); text-decoration:none; }
.btn--outline-light { background: transparent; color:#fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color:#fff; color:#fff; text-decoration:none; }
.btn--block { width: 100%; }

/* ----------------------------------------------------------------- BADGES */
.badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: 6px;
  line-height: 1; white-space: nowrap;
}
.badge--spec { background: var(--gray-100); color: var(--gray-600); }
.badge--accent { background: var(--accent-dyn); color:#fff; font-family: var(--font-sans); font-weight:700; text-transform:uppercase; font-size:10px; letter-spacing:0.05em; }
.badge--leader { background: var(--blue-600); color:#fff; font-family: var(--font-sans); font-weight:700; text-transform:uppercase; font-size:10px; letter-spacing:0.05em; }
.badge--ok { background: var(--success-bg); color: var(--success); }
.badge--out { background: var(--gray-100); color: var(--gray-500); }
.dot { width:7px; height:7px; border-radius:50%; display:inline-block; }
.dot--ok { background: var(--success); }
.dot--out { background: var(--gray-400); }

/* =============================================================== TOP BAR */
.topbar { background: var(--blue-900); color: rgba(255,255,255,0.72); font-size: 12.5px; }
.topbar .wrap { height: 40px; display:flex; align-items:center; gap: 28px; }
.topbar a { color: rgba(255,255,255,0.72); }
.topbar a:hover { color:#fff; text-decoration:none; }
.topbar .ti { display:inline-flex; align-items:center; gap:8px; }
.topbar .ti svg { color: var(--orange-300); }
.topbar .spacer { margin-left:auto; display:flex; align-items:center; gap:24px; }

/* =============================================================== HEADER */
.site-header { position: sticky; top: 0; z-index: 50; background:#fff; border-bottom: 1px solid var(--border); transition: box-shadow var(--dur) var(--ease); }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(15,23,36,0.07); }
.header-row { height: 84px; display:flex; align-items:center; gap: 28px; flex-wrap:nowrap; }
.brand { display:flex; align-items:center; gap: 12px; flex:none; cursor:pointer; }
.brand img { height: 44px; display:block; }
.mainnav { display:flex; align-items:center; flex-wrap:nowrap; gap: 2px; }
.mainnav a {
  font-weight: 700; font-size: 15px; color: var(--gray-800); padding: 11px 13px;
  border-radius: var(--r-md); position: relative; cursor:pointer; white-space:nowrap;
  transition: color var(--dur) var(--ease);
  display:flex; align-items:center; gap:6px;
}
.mainnav a::after { content:""; position:absolute; left:13px; right:13px; bottom:-1px; height:2px; background: var(--accent-dyn); transform: scaleX(0); transform-origin:left; transition: transform var(--dur-slow) var(--ease); }
.mainnav a:hover { color: var(--brand); text-decoration:none; }
.mainnav a:hover::after, .mainnav a.active::after { transform: scaleX(1); }
.mainnav a.active { color: var(--brand); }
.header-right { margin-left:auto; display:flex; align-items:center; gap: 20px; }
.header-phone { text-align:right; line-height:1.25; }
.header-phone .lbl { font-size:11px; color: var(--gray-500); }
.header-phone a { font-family: var(--font-mono); font-size:16px; font-weight:500; color: var(--brand); white-space:nowrap; }
.header-phone a:hover { text-decoration:none; }
.icon-btn {
  position: relative; width:46px; height:46px; border-radius: var(--r-md); border:1px solid var(--border);
  background:#fff; cursor:pointer; color: var(--gray-700); display:flex; align-items:center; justify-content:center;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--brand); }
.cart-count {
  position:absolute; top:-6px; right:-6px; min-width:19px; height:19px; padding:0 5px; background: var(--accent-dyn);
  color:#fff; border-radius: var(--r-pill); font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center;
}

/* =============================================================== HERO — cinematic (dark, full-bleed) */
.hero { position: relative; overflow: hidden; }
.hero h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; margin: 0 0 22px; text-wrap: balance; }
.hero .lead { line-height: var(--lh-relaxed); margin: 0 0 32px; }
.hero-cta { display:flex; gap: 14px; flex-wrap: wrap; }

.hero--cine { background: var(--blue-900); color:#fff; min-height: 660px; display:flex; align-items:flex-end; }
.hero--cine .hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.hero--cine .hero-bg::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(6,34,74,0.96) 0%, rgba(6,34,74,0.78) 38%, rgba(6,34,74,0.30) 100%),
    linear-gradient(0deg, rgba(6,34,74,0.85) 0%, rgba(6,34,74,0) 45%);
}
.hero--cine .hero-grid-mask {
  position:absolute; inset:0; pointer-events:none; opacity:0.5;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 90%); mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
}
.hero--cine .wrap { position:relative; z-index:2; padding-top: 90px; padding-bottom: 96px; width:100%; }
.hero--cine .hero-inner { max-width: 760px; }
.hero--cine h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.03; color:#fff; }
.hero--cine .lead { color: rgba(255,255,255,0.82); font-size: calc(19px * var(--fs-scale)); max-width: 600px; }
.hero--cine .eyebrow { color: var(--orange-300); }

/* HERO — editorial (light, type-led split) */
.hero--ed { background:#fff; border-bottom:1px solid var(--border); position:relative; }
.hero--ed::before {
  content:""; position:absolute; top:0; right:0; width:46%; height:100%;
  background-image: linear-gradient(rgba(14,76,138,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14,76,138,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 80% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 90% 70% at 80% 40%, #000 30%, transparent 75%);
}
.hero--ed .hero-grid { position:relative; z-index:1; display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items:center; padding: 80px 0; }
.hero--ed h1 { font-size: clamp(38px, 4vw, 60px); line-height: 1.04; color: var(--gray-900); }
.hero--ed .lead { color: var(--gray-600); font-size: calc(19px * var(--fs-scale)); max-width: 540px; }
.hero-frame { position:relative; aspect-ratio: 4/3.5; border-radius: var(--r-xl); overflow:hidden; border:1px solid var(--border); background: var(--blue-900); box-shadow: var(--shadow-3); }
.hero-frame image-slot { position:absolute; inset:0; width:100%; height:100%; }
.hero-frame .vtag {
  position:absolute; left:18px; bottom:18px; z-index:3; background: rgba(6,34,74,0.88); color:#fff; padding:10px 14px;
  border-radius: var(--r-md); font-family: var(--font-mono); font-size:11.5px; letter-spacing:0.01em; white-space:nowrap;
  display:flex; align-items:center; gap:9px;
}

/* =============================================================== STAT STRIP */
.statstrip { background:#fff; border-bottom:1px solid var(--border); }
.statstrip .wrap { display:grid; grid-template-columns: repeat(4, 1fr); }
.statcell { padding: 60px 48px; border-right:1px solid var(--border); }
.statstrip .wrap .statcell:first-child { padding-left:0; }
.statcell:last-child { border-right:none; padding-right:0; }
.statcell .num { font-family: var(--font-display); font-size: clamp(34px,3vw,46px); font-weight:700; color: var(--brand); line-height:1; letter-spacing:-0.02em; }
.statcell .num .u { font-size:17px; color: var(--gray-500); font-weight:400; margin-left:6px; }
.statcell.accent .num { color: var(--accent-dyn); }
.statcell .lbl { font-size:14.5px; color: var(--gray-600); margin-top:14px; line-height:1.4; }

/* =============================================================== SECTION SYSTEM */
.section { padding: 104px 0; }
.section--tight { padding: 64px 0; }
.section--muted { background: var(--gray-50); }
.section--dark { background: var(--blue-900); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.row { max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:32px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(30px, 3vw, 44px); font-weight:700; letter-spacing:-0.02em; margin:0; color: var(--gray-900); line-height:1.08; text-wrap:balance; }
.section--dark .section-head h2 { color:#fff; }
.section-head .sub { font-size:17px; color: var(--gray-500); margin-top:18px; line-height:1.6; max-width: 620px; }
.section--dark .section-head .sub { color: rgba(255,255,255,0.7); }

/* =============================================================== INDUSTRIES bento */
.industries { display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 224px; gap: 16px; }
.ind {
  position: relative; overflow: hidden; border-radius: var(--r-xl); cursor:pointer; isolation:isolate;
  display:flex; flex-direction:column; justify-content:flex-end; padding: 26px;
  background: linear-gradient(155deg, var(--blue-600) 0%, var(--blue-900) 100%);
  color:#fff; transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.ind:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(6,34,74,0.25); }
.ind::before { content:""; position:absolute; inset:0; z-index:-1; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 30px 30px; opacity:0.6; }
.ind .ind-ic { position:absolute; top:24px; right:24px; opacity:0.42; transition: opacity var(--dur-slow) var(--ease); }
.ind:hover .ind-ic { opacity:0.7; }
.ind .ind-cat { font-family: var(--font-mono); font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color: var(--orange-300); margin-bottom:9px; }
.ind .ind-name { font-size:21px; font-weight:700; line-height:1.18; letter-spacing:-0.01em; }
.ind .ind-desc { font-size:13.5px; color: rgba(255,255,255,0.74); margin-top:9px; line-height:1.45; max-height:0; opacity:0; overflow:hidden; transition: max-height var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease), margin var(--dur-slow) var(--ease); }
.ind:hover .ind-desc { max-height:80px; opacity:1; }
.ind .ind-arrow { position:absolute; bottom:26px; right:26px; opacity:0; transform: translate(-4px,4px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.ind:hover .ind-arrow { opacity:1; transform: translate(0,0); }
/* photo tiles */
.ind--photo .ind-bg { position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; transition: transform var(--dur-slow) var(--ease); }
.ind--photo:hover .ind-bg { transform: scale(1.05); }
.ind--photo::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(0deg, rgba(6,34,74,0.96) 4%, rgba(6,34,74,0.7) 48%, rgba(6,34,74,0.32) 100%); }
.ind--photo .ind-ic { opacity:0.62; }
/* featured tile with photo */
.ind--feat { grid-column: span 2; grid-row: span 2; padding: 34px; }
.ind--feat.ind--photo::after { background: linear-gradient(15deg, rgba(6,34,74,0.95) 8%, rgba(6,34,74,0.55) 55%, rgba(6,34,74,0.25) 100%); }
.ind--feat .ind-name { font-size:30px; max-width: 12ch; }
.ind--feat .ind-desc { font-size:15px; max-width: 40ch; }
.ind--feat:hover .ind-desc { max-height:120px; }

/* =============================================================== INNOVATION split */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items:center; }
.split--rev .split-media { order: -1; }
.split-media { position:relative; aspect-ratio: 4/3.4; border-radius: var(--r-xl); overflow:hidden; border:1px solid var(--border); background: var(--blue-900); box-shadow: var(--shadow-3); }
.split-media image-slot { position:absolute; inset:0; width:100%; height:100%; }
.split-media .mtag { position:absolute; left:18px; bottom:18px; z-index:3; background: rgba(6,34,74,0.88); color:#fff; padding:9px 13px; border-radius: var(--r-md); font-family: var(--font-mono); font-size:11.5px; display:flex; gap:9px; align-items:center; }
.split-body h2 { font-family: var(--font-display); font-size: clamp(28px,2.6vw,40px); font-weight:700; letter-spacing:-0.02em; line-height:1.1; margin:0 0 20px; color: var(--gray-900); }
.split-body p { font-size:16.5px; line-height:1.7; color: var(--gray-600); margin:0 0 16px; }
.metrics { display:flex; gap: 14px; flex-wrap:wrap; margin: 28px 0 30px; }
.metric { border:1px solid var(--border); border-radius: var(--r-lg); padding: 16px 20px; min-width: 130px; background:#fff; }
.metric .mv { font-family: var(--font-display); font-size:26px; font-weight:700; color: var(--brand); letter-spacing:-0.01em; }
.metric .ml { font-size:12.5px; color: var(--gray-500); margin-top:5px; line-height:1.35; }

/* =============================================================== HERO VIDEO */
.hero--cine .hero-video {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
}

/* =============================================================== STARTUP VILLAGE */
.sv-head { max-width: 880px; margin-bottom: clamp(36px, 4vw, 52px); }
.sv-head h2 { margin: 10px 0 18px; }
.sv-lead { font-size: 17px; line-height: 1.65; color: var(--gray-600); max-width: 760px; margin: 0; }

.sv-grid { display:grid; grid-template-columns: 1.62fr 1fr; gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.sv-side { display:flex; }
.metrics--col { display:flex; flex-direction:column; gap: 0; width: 100%; height: 100%;
  border:1px solid var(--border); background:#fff; border-radius: var(--r-lg); overflow:hidden; }
.metrics--col .metric { padding: 20px 24px; border-bottom:1px solid var(--border); flex:1; display:flex; flex-direction:column; justify-content:center; }
.metrics--col .metric:last-child { border-bottom:none; }
.metrics--col .mv { font-family: var(--font-display); font-weight:700; color: var(--brand); font-size: 22px; line-height:1.1; letter-spacing:-0.01em; }
.metrics--col .ml { font-size:13.5px; color: var(--gray-500); margin-top:6px; line-height:1.4; }

.sv-media {
  position:relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow:hidden;
  border:1px solid var(--border); background: var(--blue-900); box-shadow: var(--shadow-2);
}
.sv-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; background:#06224a; }
.sv-play {
  position:absolute; inset:0; z-index:3; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px;
  border:0; background: linear-gradient(0deg, rgba(6,34,74,0.52), rgba(6,34,74,0.26));
  color:#fff; font-family: var(--font-sans); transition: background var(--dur) var(--ease);
}
.sv-play:hover { background: linear-gradient(0deg, rgba(6,34,74,0.60), rgba(6,34,74,0.34)); }
.sv-play-ic {
  width:74px; height:74px; border-radius: var(--r-pill); display:flex; align-items:center; justify-content:center;
  background: var(--accent-dyn, var(--accent)); box-shadow: 0 8px 24px rgba(6,34,74,0.4);
  padding-left:4px; transition: transform var(--dur) var(--ease);
}
.sv-play:hover .sv-play-ic { transform: scale(1.06); }
.sv-play-ic svg path { fill:#fff; stroke:none; }
.sv-play-lbl { font-size:14px; font-weight:700; letter-spacing:0.01em; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }

/* gallery */
.sv-galhead { display:flex; align-items:baseline; justify-content:space-between;
  margin: clamp(40px,4.5vw,64px) 0 16px; padding-bottom: 14px; border-bottom:1px solid var(--border); }
.sv-galcount { font-family: var(--font-mono); font-size:12px; color: var(--gray-500); letter-spacing:0.04em; }
.sv-gallery { display:grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 10px; }
.sv-tile {
  position:relative; overflow:hidden; border:0; padding:0; cursor:pointer; background: var(--gray-100);
  border-radius: var(--r-md); grid-column: span 2; grid-row: span 1;
}
.sv-tile img { width:100%; height:100%; object-fit:cover; display:block;
  transition: transform 480ms var(--ease), filter var(--dur) var(--ease); }
.sv-tile:hover img { transform: scale(1.045); }
.sv-tile-cap {
  position:absolute; left:0; right:0; bottom:0; z-index:2; text-align:left;
  padding: 26px 14px 11px; font-size:12px; line-height:1.32; color:#fff; font-weight:500;
  background: linear-gradient(0deg, rgba(6,22,46,0.82), rgba(6,22,46,0));
  opacity:0; transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.sv-tile:hover .sv-tile-cap { opacity:1; transform: translateY(0); }
.sv-tile.g-feature { grid-column: span 3; grid-row: span 2; }
.sv-tile.g-half { grid-column: span 3; grid-row: span 1; }

/* lightbox */
.lb { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center;
  background: rgba(6,16,32,0.92); padding: clamp(16px,4vw,56px); }
.lb-fig { margin:0; max-width: 1100px; max-height: 100%; display:flex; flex-direction:column; gap:14px; }
.lb-fig img { max-width:100%; max-height: 78vh; object-fit:contain; border-radius: var(--r-md);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5); }
.lb-fig figcaption { color: rgba(255,255,255,0.86); font-size:14px; line-height:1.5; text-align:center;
  display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }
.lb-count { font-family: var(--font-mono); font-size:12px; color: rgba(255,255,255,0.5); letter-spacing:0.04em; }
.lb-x { position:absolute; top:20px; right:24px; width:44px; height:44px; border:0; cursor:pointer;
  background: rgba(255,255,255,0.08); border-radius: var(--r-pill); display:flex; align-items:center; justify-content:center;
  transition: background var(--dur) var(--ease); }
.lb-x:hover { background: rgba(255,255,255,0.18); }
.lb-arrow { position:absolute; top:50%; transform: translateY(-50%); width:52px; height:52px; border:0; cursor:pointer;
  background: rgba(255,255,255,0.08); border-radius: var(--r-pill); display:flex; align-items:center; justify-content:center;
  transition: background var(--dur) var(--ease); }
.lb-arrow:hover { background: rgba(255,255,255,0.18); }
.lb-prev { left: clamp(12px,3vw,36px); }
.lb-prev svg { transform: rotate(180deg); }
.lb-next { right: clamp(12px,3vw,36px); }

/* =============================================================== PRODUCT CARD */
.pgrid { display:grid; gap: 18px; }
.pgrid--4 { grid-template-columns: repeat(4, 1fr); }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { background:#fff; border:1px solid var(--border); border-radius: var(--r-xl); overflow:hidden; position:relative; cursor:pointer; display:flex; flex-direction:column; transition: box-shadow var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.pcard:hover { box-shadow: var(--shadow-3); border-color: var(--border-strong); transform: translateY(-2px); }
.pcard-tags { position:absolute; top:12px; left:12px; z-index:2; display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.pcard-shot { position:relative; aspect-ratio: 1 / 0.84; background: var(--gray-50); border-bottom:1px solid var(--border); overflow:hidden; }
.pcard-shot .ph { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.pcard-shot img { width:100%; height:100%; object-fit:cover; }
.pcard-body { padding: 18px; display:flex; flex-direction:column; flex:1; }
.pcard-name { font-size:15px; font-weight:700; color: var(--brand); line-height:1.32; margin:0 0 8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:40px; }
.pcard:hover .pcard-name { color: var(--blue-700); }
.pcard-sku { font-family: var(--font-mono); font-size:11.5px; color: var(--gray-500); margin-bottom:14px; }
.pcard-foot { margin-top:auto; }
.pcard-buyrow { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pcard-price { font-size:20px; font-weight:700; color: var(--gray-900); font-family: var(--font-display); }
.pcard-price .u { font-size:12px; font-weight:400; color: var(--gray-500); font-family: var(--font-sans); margin-left:3px; }
.pcard-stock { font-size:12px; display:flex; align-items:center; gap:7px; margin: 10px 0 13px; }
.pcard-stock.ok { color: var(--success); }
.pcard-stock.out { color: var(--gray-500); }
.shot-ph { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; background: radial-gradient(circle at 50% 38%, #fff 0%, var(--gray-50) 70%); color: var(--gray-300); gap: 10px; }
.shot-ph .code { font-family: var(--font-mono); font-size:11px; color: var(--gray-400); letter-spacing:0.03em; }

/* category pills (catalog teaser) */
.cat-pills { display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 36px; }
.cat-pill { padding: 9px 16px; border:1px solid var(--border); border-radius: var(--r-pill); font-size:13.5px; font-weight:700; color: var(--gray-700); background:#fff; cursor:pointer; transition: all var(--dur) var(--ease); }
.cat-pill:hover, .cat-pill.active { background: var(--brand); color:#fff; border-color: var(--brand); }

/* =============================================================== QUALITY dark + letters */
.quality-top { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:start; margin-bottom: 56px; }
.qpoints { list-style:none; padding:0; margin:0; }
.qpoints li { display:flex; gap:16px; padding: 16px 0; border-top:1px solid rgba(255,255,255,0.12); }
.qpoints li:last-child { border-bottom:1px solid rgba(255,255,255,0.12); }
.qpoints .qic { flex:none; width:42px; height:42px; border-radius: var(--r-lg); background: rgba(255,255,255,0.08); color: var(--orange-300); display:flex; align-items:center; justify-content:center; }
.qpoints .qt { font-size:16px; font-weight:700; color:#fff; }
.qpoints .qd { font-size:14px; color: rgba(255,255,255,0.66); margin-top:4px; line-height:1.5; }

.letters-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.letter { background:#fff; border-radius: var(--r-lg); overflow:hidden; cursor:pointer; transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); display:flex; flex-direction:column; }
.letter:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.35); }
.letter-sheet { aspect-ratio: 0.74; background: linear-gradient(170deg,#fff,var(--gray-50)); position:relative; overflow:hidden; border-bottom:1px solid var(--border); }
.letter-sheet::before { content:""; position:absolute; left:14%; right:14%; top:20%; bottom:20%; background: repeating-linear-gradient(to bottom, var(--gray-200) 0 1.5px, transparent 1.5px 13px); opacity:0.7; }
.letter-sheet .seal { position:absolute; right:14%; bottom:13%; width:42px; height:42px; border-radius:50%; border:2px solid var(--blue-300); opacity:0.5; }
.letter-cap { padding: 14px; font-size:12.5px; font-weight:700; color: var(--gray-800); line-height:1.34; }
.letter-cap .role { font-weight:400; color: var(--gray-500); font-size:11.5px; display:block; margin-top:4px; }

/* =============================================================== CALLOUT */
.callout { background: var(--blue-50); border:1px solid var(--blue-100); border-radius: var(--r-xl); padding: 26px 30px; display:flex; gap:18px; align-items:flex-start; }
.callout .ic { flex:none; width:46px; height:46px; border-radius: var(--r-lg); background: var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; }
.callout p { margin:0; font-size:15px; line-height:1.55; color: var(--gray-700); }

/* feature cards (service / delivery) */
.feat-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.feat { background:#fff; border:1px solid var(--border); border-radius: var(--r-xl); padding: 28px 26px; transition: border-color var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.feat:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.feat .ic { width:46px; height:46px; border-radius: var(--r-lg); background: var(--blue-50); color: var(--brand); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.feat .n { font-family: var(--font-mono); font-size:12px; color: var(--accent-dyn); margin-bottom:8px; }
.feat h4, .feat .feat-title { font-size:17px; font-weight:700; margin:0 0 9px; color: var(--gray-900); line-height:1.3; }
.feat p { font-size:14.5px; color: var(--gray-600); line-height:1.55; margin:0; }

/* benefits list */
.benefits { list-style:none; padding:0; margin:0; display:grid; grid-template-columns: 1fr 1fr; gap: 2px 40px; }
.benefits--single { grid-template-columns: 1fr; }
.benefits li { position:relative; padding: 13px 0 13px 32px; font-size:15.5px; line-height:1.45; border-bottom:1px solid var(--gray-100); }
.benefits li::before { content:"\2713"; position:absolute; left:0; top:17px; width:17px; height:17px; border-radius:50%; background: var(--accent-dyn); color:#fff; font-size:11px; font-weight:700; line-height:17px; text-align:center; }

/* =============================================================== CTA band */
.ctaband { background: linear-gradient(120deg, var(--blue-700), var(--blue-900)); color:#fff; position:relative; overflow:hidden; }
.ctaband::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.ctaband .wrap { position:relative; z-index:1; display:flex; align-items:center; gap:40px; flex-wrap:wrap; }

/* =============================================================== BREADCRUMBS */
.crumbs { font-size:13px; color: var(--gray-500); padding-top: 24px; padding-bottom: 24px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.crumbs a { color: var(--gray-500); cursor:pointer; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: var(--gray-300); }
.crumbs .cur { color: var(--gray-800); }

/* =============================================================== CATALOG */
.catalog-layout { display:grid; grid-template-columns: 280px 1fr; gap: 36px; align-items:start; }
.crail-head { background: var(--brand); color:#fff; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 18px 20px; }
.crail-head .k { font-family: var(--font-mono); font-size:11px; letter-spacing:0.12em; text-transform:uppercase; opacity:0.7; }
.crail-head .t { font-size:19px; font-weight:700; margin-top:3px; }
.crail { border:1px solid var(--border); border-top:none; border-radius: 0 0 var(--r-xl) var(--r-xl); overflow:hidden; background:#fff; }
.crail a { display:flex; align-items:center; justify-content:space-between; gap:10px; padding: 13px 18px; font-size:14px; color: var(--gray-700); border-bottom:1px solid var(--gray-100); cursor:pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.crail a:last-child { border-bottom:none; }
.crail a:hover { background: var(--gray-50); color: var(--brand); text-decoration:none; }
.crail a.active { background: var(--blue-50); color: var(--brand); font-weight:700; }
.crail a .cnt { font-family: var(--font-mono); font-size:11px; color: var(--gray-400); }
.catalog-toolbar { display:flex; align-items:center; gap:14px; margin-bottom: 22px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.catalog-toolbar .res { font-size:14px; color: var(--gray-500); }
.catalog-toolbar .res b { color: var(--gray-900); }
.catalog-toolbar .spacer { margin-left:auto; }
.select { padding: 9px 12px; border:1px solid var(--border-strong); border-radius: var(--r-md); font-family: var(--font-sans); font-size:14px; color: var(--gray-800); background:#fff; cursor:pointer; }

/* =============================================================== PRODUCT DETAIL */
.pdp { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:start; }
.pdp-shot { background: var(--gray-50); border:1px solid var(--border); border-radius: var(--r-xl); aspect-ratio: 1; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.pdp-thumbs { display:flex; gap:10px; margin-top:12px; }
.pdp-thumb { width:74px; height:74px; border:1px solid var(--border); border-radius: var(--r-md); background: var(--gray-50); cursor:pointer; display:flex; align-items:center; justify-content:center; }
.pdp-thumb.active { border-color: var(--brand); }
.pdp h1 { font-size: calc(31px * var(--fs-scale)); font-weight:700; letter-spacing:-0.02em; margin: 4px 0 8px; line-height:1.15; }
.pdp .pdp-sku { font-family: var(--font-mono); font-size:13px; color: var(--gray-500); margin-bottom:20px; }
.price-block { padding: 22px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); display:flex; align-items:baseline; gap:18px; flex-wrap:wrap; }
.price-block .price { font-family: var(--font-display); font-size:38px; font-weight:700; color: var(--gray-900); letter-spacing:-0.01em; }
.price-block .price .u { font-size:16px; font-weight:400; color: var(--gray-500); }
.pdp-controls { padding: 24px 0; display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.field-lbl { font-family: var(--font-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color: var(--gray-500); display:block; margin-bottom:7px; }
.stepper { display:inline-flex; align-items:center; border:1px solid var(--border-strong); border-radius: var(--r-md); }
.stepper button { border:0; background:transparent; padding:11px 14px; cursor:pointer; color: var(--gray-700); display:flex; }
.stepper button:hover { color: var(--brand); }
.stepper .qn { padding: 0 16px; min-width: 30px; text-align:center; font-weight:700; border-left:1px solid var(--border); border-right:1px solid var(--border); align-self:stretch; display:flex; align-items:center; justify-content:center; }
.assure { margin-top:22px; padding:16px 18px; background: var(--success-bg); border-radius: var(--r-lg); display:flex; gap:12px; align-items:flex-start; font-size:13.5px; color: var(--gray-700); line-height:1.5; }
.assure svg { color: var(--success); flex:none; margin-top:1px; }
.spectable { border:1px solid var(--border); border-radius: var(--r-xl); overflow:hidden; background:#fff; }
.spectable .row { display:grid; grid-template-columns: 1fr 1.6fr; border-bottom:1px solid var(--gray-100); }
.spectable .row:last-child { border-bottom:none; }
.spectable .row:nth-child(odd) { background: var(--gray-50); }
.spectable .k { padding: 14px 18px; font-size:13.5px; color: var(--gray-500); }
.spectable .v { padding: 14px 18px; font-size:13.5px; color: var(--gray-900); font-weight:500; }
.spectable .v.mono { font-family: var(--font-mono); font-weight:400; }

/* =============================================================== CART DRAWER */
.overlay { position:fixed; inset:0; background: rgba(6,34,74,0.55); z-index:90; animation: fade var(--dur) var(--ease); }
@keyframes fade { from {opacity:0;} to {opacity:1;} }
.drawer { position:fixed; right:0; top:0; bottom:0; width: 440px; max-width: 92vw; background:#fff; z-index:91; display:flex; flex-direction:column; box-shadow: var(--shadow-4); animation: slidein var(--dur-slow) var(--ease); }
@keyframes slidein { from {transform: translateX(100%);} to {transform: translateX(0);} }
.drawer-head { padding: 20px 22px; border-bottom:1px solid var(--border); display:flex; align-items:center; }
.drawer-head h3 { margin:0; font-size:19px; font-weight:700; }
.drawer-body { flex:1; overflow-y:auto; padding: 18px 22px; }
.drawer-foot { padding: 20px 22px; border-top:1px solid var(--border); background: var(--gray-50); }
.citem { display:grid; grid-template-columns: 60px 1fr auto; gap:14px; padding:16px 0; border-bottom:1px solid var(--gray-100); align-items:start; }
.citem-shot { width:60px; height:60px; border:1px solid var(--border); border-radius: var(--r-md); background: var(--gray-50); display:flex; align-items:center; justify-content:center; }
.citem-name { font-size:13px; font-weight:700; color: var(--brand); line-height:1.32; margin-bottom:5px; }
.citem-meta { font-size:11.5px; color: var(--gray-500); font-family: var(--font-mono); }
.citem-price { font-weight:700; white-space:nowrap; font-family: var(--font-display); }
.freebar { font-size:12.5px; color: var(--gray-600); padding:11px 13px; background: var(--blue-50); border-radius: var(--r-md); margin-bottom:14px; line-height:1.45; }
.freebar b { color: var(--brand); }
.empty { text-align:center; color: var(--gray-500); padding: 60px 0; }

/* =============================================================== FORMS / CARDS / CONTACT */
.input, .textarea { width:100%; padding: 12px 14px; border:1px solid var(--border-strong); border-radius: var(--r-md); font-family: var(--font-sans); font-size:14px; color: var(--gray-900); background:#fff; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.input:focus, .textarea:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--blue-50); }
.textarea { resize: vertical; min-height: 110px; }
.field { margin-bottom: 14px; }
.card { background:#fff; border:1px solid var(--border); border-radius: var(--r-xl); padding: 30px; }
.card--muted { background: var(--gray-50); }
.contact-tiles { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.ctile { padding: 24px; background:#fff; border:1px solid var(--border); border-radius: var(--r-xl); display:flex; gap:16px; align-items:flex-start; }
.ctile .ic { flex:none; width:44px; height:44px; border-radius: var(--r-lg); background: var(--blue-50); color: var(--brand); display:flex; align-items:center; justify-content:center; }
.ctile .lbl { font-family: var(--font-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color: var(--gray-500); margin-bottom:6px; }
.ctile .val { font-size:16px; color: var(--gray-900); font-weight:700; }
.ctile .val.mono { font-family: var(--font-mono); font-weight:500; }

/* =============================================================== FOOTER */
.site-footer { background: var(--gray-900); color: var(--gray-400); padding: 72px 0 28px; margin-top: auto; }
.footer-top { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom:1px solid var(--gray-800); }
.site-footer .flogo { height:48px; margin-bottom:18px; }
.site-footer .ftag { font-size:14px; line-height:1.65; color: var(--gray-400); margin:0 0 20px; max-width: 320px; }
.fcol h5, .fcol .fhead { font-family: var(--font-mono); font-size:11px; font-weight:500; letter-spacing:0.1em; text-transform:uppercase; color: var(--gray-500); margin:0 0 16px; }
.fcol a, .fcol .fitem { display:block; font-size:14px; color: var(--gray-300); padding:6px 0; cursor:pointer; }
.fcol a:hover { color:#fff; text-decoration:none; }
.fcol .mono { font-family: var(--font-mono); font-size:14px; color:#fff; background:none; padding:6px 0; border-radius:0; }
.fcerts { display:flex; flex-direction:column; align-items:flex-start; gap:14px; margin-top:8px; }
.fcert-logos { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.fcert-mir-logo { height:30px; width:auto; display:block; opacity:0.9; }
.fcert-badges { display:flex; gap:10px; flex-wrap:wrap; }
.fcert { font-family: var(--font-mono); font-size:10.5px; letter-spacing:0.05em; color: var(--gray-400); border:1px solid var(--gray-800); border-radius: var(--r-sm); padding:6px 9px; }
.fcert--skolkovo { display:inline-flex; align-items:center; gap:7px; color:#fff; border-color: var(--accent); }
.fcert-dot { width:7px; height:7px; border-radius:50%; background: var(--accent); flex:none; box-shadow: 0 0 0 3px rgba(232,117,26,0.22); }
.fcert-skolkovo-logo { height: 36px; width: auto; display: block; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:24px; font-size:12.5px; color: var(--gray-500); gap:16px; flex-wrap:wrap; }
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--gray-300); text-decoration:none; }
.footer-bottom .mono { background: none; padding: 0; border-radius: 0; font-size: 13px; }

/* =============================================================== MODAL */
.modal-letter { position:relative; background:#fff; border-radius: var(--r-xl); max-width: 460px; width:92vw; overflow:hidden; box-shadow: var(--shadow-4); }
.modal-letter .sheet { aspect-ratio: 0.74; background: linear-gradient(170deg,#fff,var(--gray-50)); position:relative; }
.modal-letter .sheet::before { content:""; position:absolute; left:14%; right:14%; top:15%; bottom:15%; background: repeating-linear-gradient(to bottom, var(--gray-200) 0 1.5px, transparent 1.5px 15px); opacity:0.7; }
.modal-close { position:absolute; top:14px; right:14px; z-index:3; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.9); border:1px solid var(--border); cursor:pointer; display:flex; align-items:center; justify-content:center; }

/* =============================================================== RESPONSIVE */
@media (max-width: 1100px) {
  .pgrid--4 { grid-template-columns: repeat(3,1fr); }
  .letters-grid { grid-template-columns: repeat(3,1fr); }
  .industries { grid-template-columns: repeat(2,1fr); grid-auto-rows: 280px; }
  .ind--feat { grid-column: span 2; grid-row: span 1; min-height: 280px; }
}
@media (max-width: 1199px) {
  .topbar { display:none; }
  .mainnav { display:none; }
}
@media (min-width: 1200px) and (max-width: 1299px) {
  .header-row { gap:20px; }
  .mainnav a { font-size:14px; padding-left:9px; padding-right:9px; }
  .header-right { gap:14px; }
  .header-phone a { font-size:15px; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero--ed .hero-grid, .split, .quality-top { grid-template-columns: 1fr; gap: 40px; }
  .hero--ed::before { display:none; }
  .split--rev .split-media { order:0; }
  .statstrip .wrap { grid-template-columns: repeat(2,1fr); }
  .statcell { padding: 40px 36px; }
  .statcell:nth-child(2) { border-right:none; padding-right:0; }
  .statstrip .wrap .statcell:nth-child(3) { padding-left:0; border-top:1px solid var(--border); }
  .statcell:nth-child(4) { border-top:1px solid var(--border); }
  .catalog-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap:32px; }
  .header-phone .lbl { display:none; }
  .pdp { grid-template-columns: 1fr; gap:32px; }
  .sv-grid { grid-template-columns: 1fr; }
  .sv-gallery { grid-auto-rows: 120px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .wrap { max-width:100%; }
  .topbar { display:none; }
  .header-row { height:72px; gap:10px; min-width:0; }
  .brand { flex:1 1 auto; min-width:0; }
  .brand img { height:34px; width:auto; max-width:min(210px, 52vw); object-fit:contain; }
  .header-right { flex:none; gap:8px; margin-left:0; min-width:0; }
  .header-phone { display:none; }
  .icon-btn, .burger { width:40px; height:40px; flex:0 0 40px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  .hero--cine { min-height: auto; }
  .hero--cine .wrap { padding-top:64px; padding-bottom:72px; }
  .hero--cine h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero--cine .lead { font-size: calc(17px * var(--fs-scale)); }
  .hero-cta .btn { width:100%; }
  .eyebrow { letter-spacing:0.12em; gap:9px; }
  .pgrid--4, .pgrid--3 { grid-template-columns: repeat(2,1fr); }
  .pgrid { gap:12px; }
  .pcard { border-radius: var(--r-lg); }
  .pcard-body { padding:14px; }
  .pcard-name { font-size:14px; min-height:37px; }
  .pcard-sku { font-size:11px; margin-bottom:12px; }
  .pcard-stock { font-size:11.5px; margin:9px 0 12px; }
  .pcard-buyrow { align-items:stretch; flex-direction:column; gap:10px; }
  .pcard-price { font-size:18px; }
  .pcard-buyrow .btn { width:100%; min-height:42px; padding-left:10px; padding-right:10px; white-space:nowrap; }
  .industries { grid-template-columns: 1fr; }
  .ind--feat { grid-column: span 1; }
  .benefits, .feat-grid, .contact-tiles { grid-template-columns: 1fr; }
  .contacts-split, .req-split { grid-template-columns: 1fr !important; gap:20px !important; }
  .contacts-split > *, .req-split > *, .card { min-width:0; }
  .lead-form > div { grid-template-columns: 1fr !important; }
  .catalog-layout, .catalog-layout > *, .catalog-toolbar, .crail-head, .crail, .pgrid { min-width:0; max-width:100%; }
  .catalog-toolbar { align-items:stretch; flex-wrap:wrap; gap:10px; }
  .catalog-toolbar .spacer { display:none; }
  .catalog-toolbar .res { flex:1 0 100%; }
  .catalog-toolbar .select { flex:1 1 160px; min-width:0; }
  .prod-desc, .spectable-html { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .prod-desc table, .spectable-html table { width:max-content; max-width:none; }
  .ctaband .wrap { gap:24px; }
  .footer-top { grid-template-columns: 1fr; gap:28px; padding-bottom:36px; }
  .site-footer { padding:52px 0 26px; }
  .site-footer .flogo { display:block; width:min(216px, 68vw); height:auto; max-width:100%; margin-bottom:18px; }
  .site-footer .ftag { max-width:none; }
  .fcert-logos { align-items:flex-start; gap:14px; }
  .footer-bottom { align-items:flex-start; justify-content:flex-start; }
  .sv-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .sv-tile, .sv-tile.g-feature, .sv-tile.g-half { grid-column: span 2; grid-row: span 1; }
  .sv-tile.g-feature { grid-row: span 2; }
  .sv-tile-cap { opacity:1; transform:none; }
}
@media (max-width: 360px) {
  .brand img { max-width:46vw; }
  .header-right { gap:6px; }
  .icon-btn, .burger { width:38px; height:38px; flex-basis:38px; }
  .pgrid--4, .pgrid--3 { grid-template-columns: 1fr; }
}
