/* ============================================================================
   Holding Trade — Design skin A2 (live integration, preview-gated).
   Direction A: "Графит + Кармин". Tokens distilled from
   design-proposals/v2/direction-a-graphite-crimson.html and aligned to the
   canonical brand crimson (#d92038, from the Holding Trade logo puzzle and the
   Netcraze B2C storefront). Replaces the earlier pale skin A.

   • Graphite datacenter surfaces, single crimson action colour, logo-puzzle
     accents used sparingly (category dots, partner mark).
   • Large, confident Manrope display type; Inter for body.
   • Real depth: layered hero glow, hero equipment card, premium card shadows.
   • Token NAMES are kept identical to skin-a.css so the inline var(--…) used
     in the templates keeps resolving — only the values evolve, plus A2 extras.
   • Served only to preview-cookie visitors (see app/Preview.php). The public
     site is untouched.
   ============================================================================ */

/* ---- Design tokens -------------------------------------------------------- */
:root {
  /* graphite scale (dark surfaces: hero, footer, panels) */
  --ink-900: #0B0C0F;
  --ink-850: #111318;
  --ink-800: #15181E;
  --ink-700: #1D2027;
  --ink-600: #2C3038;

  /* light surfaces */
  --paper: #FFFFFF;
  --surface: #F6F7F9;
  --surface-2: #EEF0F3;
  --line: #E6E8EB;
  --line-strong: #D3D8DE;

  /* text */
  --text: #15171C;
  --text-muted: #5A6473;
  --text-faint: #8A93A2;
  --on-dark: #EDEFF3;
  --on-dark-muted: #A7AFBD;
  --on-dark-faint: #717B8B;

  /* crimson — the single action colour */
  --crimson: #d92038;
  --crimson-600: #b81a2e;
  --crimson-050: #FDECEF;
  --accent: var(--crimson);
  --accent-600: var(--crimson-600);
  --accent-050: var(--crimson-050);
  --accent-on-dark: #FF4D63;

  /* logo-puzzle accents — used sparingly (category dots, partner star) */
  --g-green: #36B37E;
  --g-yellow: #F5B417;
  --g-purple: #7A5AF5;
  --g-red: #d92038;

  --ok: #15935F;
  --ok-050: #E6F6EF;
  --warn: #9A6B00;
  --warn-050: #FBF1DC;
  --danger: #C0392B;

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.5rem, 1.75rem + 3.1vw, 4.2rem);
  --fs-h1: clamp(2rem, 1.55rem + 1.9vw, 2.95rem);
  --fs-h2: clamp(1.6rem, 1.32rem + 1.1vw, 2.3rem);
  --fs-h3: 1.3125rem;
  --fs-lg: 1.1875rem;
  --fs-base: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.8125rem;
  --lh-tight: 1.03;
  --lh-snug: 1.18;
  --lh: 1.62;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --container: 1220px;
  --gutter: 20px;
  --section-y: clamp(52px, 6vw, 100px);

  --r-sm: 10px; --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-card: 0 1px 3px rgba(11,12,15,.08), 0 1px 2px rgba(11,12,15,.04);
  --shadow-hover: 0 18px 40px -22px rgba(11,12,15,.30), 0 4px 10px rgba(11,12,15,.05);
  --shadow-hi: 0 30px 60px -28px rgba(11,12,15,.42);
  --glow-crimson: 0 10px 30px -10px rgba(217,32,56,.55);
  --ring: 0 0 0 4px rgba(217,32,56,.28);
}

/* ---- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: var(--lh-snug); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ---- Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(30px, 4vw, 52px); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink-900); color: var(--on-dark); }
.eyebrow {
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; color: var(--crimson); margin: 0 0 var(--s3);
}
.eyebrow--muted { color: var(--text-faint); }
.lead { font-size: var(--fs-lg); color: var(--text-muted); line-height: 1.55; }
.section-head { max-width: 62ch; margin-bottom: var(--s6); }
.section-head h2 { color: var(--text); }
.muted-text { color: var(--text-muted); }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); line-height: 1;
  padding: 14px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  transition: transform .14s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--crimson); color: #fff; box-shadow: var(--glow-crimson); }
.btn--primary:hover { background: var(--crimson-600); transform: translateY(-1px); }
.btn--secondary { background: var(--paper); color: var(--text); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--text); }
.btn--ghost { background: transparent; color: var(--text-muted); padding-inline: 6px; box-shadow: none; }
.btn--ghost:hover { color: var(--crimson); }
.btn--sm { padding: 10px 15px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

/* Secondary button on graphite/dark surfaces (hero, Netcraze panel, CTA/order
   bands). Glassy white label + clearly visible border in rest and hover —
   preserves the Step 2b contrast fix so "Запросить КП" stays readable on dark. */
.on-dark .btn--secondary,
.hero .btn--secondary,
.nc2-hero .btn--secondary,
.nc-panel .btn--secondary,
.cta-band .btn--secondary,
.order-band .btn--secondary,
.cta-box .btn--secondary {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  box-shadow: none;
}
.on-dark .btn--secondary:hover,
.hero .btn--secondary:hover,
.nc2-hero .btn--secondary:hover,
.nc-panel .btn--secondary:hover,
.cta-band .btn--secondary:hover,
.order-band .btn--secondary:hover,
.cta-box .btn--secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.12);
}

/* ---- Pills / tags --------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--text-muted); border: 1px solid transparent;
}
.pill--stock { background: var(--ok-050); color: var(--ok); }
.pill--order { background: var(--warn-050); color: var(--warn); }
.pill--accent { background: var(--accent-050); color: var(--accent-600); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---- Inputs --------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
.input, .select, input[type="search"], input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font-family: inherit; font-size: var(--fs-base); font-weight: 400; color: var(--text);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 12px 14px; width: 100%; appearance: none;
}
.input:focus, .select:focus, input:focus, select:focus, textarea:focus { border-color: var(--crimson); box-shadow: var(--ring); outline: none; }
.select, select { background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 19px) 51%, calc(100% - 13px) 51%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); cursor: pointer; }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--crimson); }

/* ---- Header --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: var(--s5); padding-block: 11px; }
.brand-link { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--text); }
.brand-logo { height: 44px; width: auto; }
.main-nav { display: none; gap: 2px; margin-left: 6px; }
.main-nav a { padding: 9px 13px; border-radius: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); transition: color .15s, background .15s; }
.main-nav a:hover { color: var(--text); background: var(--surface); }
.header-search { display: none; flex: 1; max-width: 340px; position: relative; }
.header-search input { padding-left: 38px; height: 42px; padding-block: 0; background: var(--surface); border-color: transparent; }
.header-search input:focus { background: var(--paper); }
.header-search .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }
.header-search button { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--crimson); color: #fff; font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; }
.header-search button:hover { background: var(--crimson-600); }
.header-cta { display: flex; align-items: center; gap: var(--s4); margin-left: auto; }
.request-counter { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-sm); padding: 9px 15px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--text); }
.request-counter:hover { border-color: var(--text); }
.request-counter b { background: var(--crimson); color: #fff; border-radius: var(--r-pill); min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: 12px; padding-inline: 5px; }
.header-phone { display: none; font-weight: 700; color: var(--text); font-family: var(--font-display); }
.header-phone:hover { color: var(--crimson); }
.burger { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--text); }
@media (min-width: 980px) {
  .main-nav, .header-search { display: flex; }
  .burger { display: none; }
  .header-phone { display: inline-block; }
}

/* mobile nav toggle (CSS-only, no JS dependency) */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 979px) {
  .main-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; gap: 2px; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: var(--s3) var(--gutter) var(--s4); box-shadow: var(--shadow-hover); }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: 12px 10px; border-radius: 8px; font-size: var(--fs-base); }
}

/* ---- Hero (graphite datacenter) ------------------------------------------- */
.hero { position: relative; background: var(--ink-900); color: var(--on-dark); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 540px at 82% -12%, rgba(217,32,56,.22), transparent 58%),
    radial-gradient(900px 600px at 8% 6%, rgba(122,90,245,.10), transparent 60%),
    linear-gradient(180deg, #0C0D11, var(--ink-900) 60%);
}
.hero::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(120% 95% at 50% 0%, #000 30%, transparent 76%); }
.hero > .container { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 116px); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.12fr .88fr; } }
.hero h1 { color: #fff; font-size: var(--fs-display); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--crimson); }
.hero .eyebrow { color: var(--accent-on-dark); }
.hero .lead { color: var(--on-dark-muted); max-width: 52ch; margin-top: var(--s5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.trust-line { margin-top: var(--s5); color: var(--on-dark-muted); font-size: var(--fs-sm); }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s6); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.1); }
.stat-row .stat strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #fff; letter-spacing: -0.02em; }
.stat-row .stat span { font-size: var(--fs-sm); color: var(--on-dark-faint); }
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, auto); justify-content: start; gap: var(--s8); } }

.hero-search { display: flex; gap: var(--s3); margin-top: var(--s6); max-width: 560px; }
.hero-search .wrap { position: relative; flex: 1; }
.hero-search input { height: 56px; font-size: 1.0625rem; padding-left: 48px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; }
.hero-search input::placeholder { color: var(--on-dark-faint); }
.hero-search input:focus { background: rgba(255,255,255,.08); border-color: var(--crimson); }
.hero-search .ic { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--on-dark-faint); }
.hero-search .btn { height: 56px; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); align-items: center; }
.chip { font-size: var(--fs-sm); font-weight: 500; padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.16); color: var(--on-dark); }
.chip:hover { border-color: var(--crimson); color: #fff; }

/* hero equipment card (the "datacenter visual") */
.hcard { position: relative; border-radius: var(--r-lg); padding: 26px; background: linear-gradient(160deg, #16191F, #0F1116); border: 1px solid var(--ink-600); box-shadow: var(--shadow-hi); }
.hcard .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-muted); border: 1px solid var(--ink-600); border-radius: var(--r-pill); padding: 6px 12px; }
.hcard .tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g-green); box-shadow: 0 0 10px var(--g-green); }
.hcard h3 { color: #fff; font-size: 1.18rem; margin: 16px 0 4px; }
.hcard p { color: var(--on-dark-muted); font-size: 13.5px; margin: 0; }
.hcard .viz { height: 156px; margin: 18px 0; border-radius: var(--r); display: grid; place-items: center; border: 1px solid var(--line-d, #23262E);
  background:
    radial-gradient(420px 120px at 70% 0%, rgba(217,32,56,.18), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 13px), #0C0E12; }
.hcard .viz svg { color: #fff; opacity: .92; }
.hcard .meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink-700); padding-top: 16px; margin-top: 2px; }
.hcard .price { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; }
.hcard .price s { display: block; font-size: 11px; color: var(--on-dark-faint); text-decoration: none; font-weight: 500; margin-top: 2px; }
.pill-ok { font-size: 11.5px; font-weight: 700; color: #79E0B4; background: rgba(54,179,126,.14); border: 1px solid rgba(54,179,126,.3); padding: 5px 11px; border-radius: var(--r-pill); }

/* ---- Page hero (light, inner pages) --------------------------------------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: clamp(30px, 4vw, 52px); }
.page-hero .lead, .page-hero p { color: var(--text-muted); max-width: 72ch; margin-top: var(--s3); }
.page-hero h1 { color: var(--text); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--text-faint); }
.breadcrumbs a:hover { color: var(--crimson); }
.breadcrumbs span { color: var(--line-strong); }

/* ---- Grids / feature cards ------------------------------------------------ */
.grid { display: grid; gap: var(--s5); }
.feature-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s6); box-shadow: var(--shadow-card); transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.feature-card .ic-box { width: 46px; height: 46px; border-radius: 12px; background: var(--crimson-050); color: var(--crimson); display: grid; place-items: center; margin-bottom: var(--s4); }
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 8px; color: var(--text); }
.feature-card p { color: var(--text-muted); font-size: var(--fs-sm); }

/* category chips with logo-puzzle dots */
.cats { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: var(--s6); }
.cats a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); background: var(--surface); border: 1px solid var(--surface-2); border-radius: var(--r-pill); padding: 9px 15px; transition: border-color .15s, color .15s; }
.cats a:hover { color: var(--text); border-color: var(--line-strong); }
.cats a .d { width: 8px; height: 8px; border-radius: 50%; }

/* brand strip — works on light (default) and on graphite (.section--ink) */
.brand-strip { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.brand-strip .b { font-family: var(--font-display); font-weight: 700; color: var(--text-muted); font-size: 1.05rem; padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); transition: border-color .15s, color .15s; }
.brand-strip .b:hover { color: var(--text); border-color: var(--line-strong); }
.section--ink .brand-strip .b { color: #C7CDD7; background: rgba(255,255,255,.02); border-color: var(--ink-600); }
.section--ink .brand-strip .b:hover { color: #fff; border-color: var(--crimson); }
.section--ink .eyebrow--muted { color: var(--on-dark-faint); }

/* ---- Product card --------------------------------------------------------- */
.products-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 560px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .products-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.product-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: border-color .2s, box-shadow .2s, transform .2s; }
.product-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-image { position: relative; aspect-ratio: 4/3; background: radial-gradient(120% 120% at 50% 0%, #fff, var(--surface)); display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: var(--s4); transition: transform .4s ease; }
.product-card-body { display: flex; flex-direction: column; gap: 9px; padding: var(--s5); flex: 1; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-brand { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.product-brand:hover { color: var(--crimson); }
.product-card h3 { font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; margin: 0; }
.product-card h3 a:hover { color: var(--crimson); }
.product-meta { font-size: var(--fs-xs); color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.product-bottom { margin-top: auto; padding-top: var(--s3); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.product-bottom strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.product-bottom small { font-size: var(--fs-xs); color: var(--text-faint); font-weight: 500; }
.availability-pill { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); background: var(--warn-050); color: var(--warn); }
.availability-pill.is-in-stock { background: var(--ok-050); color: var(--ok); }
.card-actions { display: flex; gap: var(--s2); margin-top: 4px; }
.card-actions .btn--primary, .card-actions .btn-primary { flex: 1; }

/* ---- Catalog layout ------------------------------------------------------- */
.catalog-grid { display: grid; grid-template-columns: 1fr; gap: var(--s6); }
@media (min-width: 980px) { .catalog-grid { grid-template-columns: 270px 1fr; gap: var(--s7); align-items: start; } }
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); }
.filters .filters-head { padding: 15px 17px; font-family: var(--font-display); font-weight: 800; border-bottom: 1px solid var(--line); }
.filters .filters-body { display: grid; gap: var(--s4); padding: 17px; }
.filters label { display: flex; flex-direction: column; gap: 7px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
.filters .checkbox-row { flex-direction: row; align-items: center; font-weight: 500; color: var(--text); }
.filters .btn { margin-top: var(--s2); }
@media (min-width: 980px) { .filters { position: sticky; top: 84px; } }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.results-head .count { font-weight: 600; color: var(--text-muted); }
.results-head .count b { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text); }
.results-head > a { font-size: var(--fs-sm); font-weight: 600; color: var(--crimson); }
.category-strip { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.category-strip a { display: inline-flex; align-items: baseline; gap: 7px; font-size: var(--fs-sm); font-weight: 500; padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--text-muted); background: var(--paper); }
.category-strip a:hover { border-color: var(--crimson); color: var(--crimson); background: var(--crimson-050); }
.category-strip a small { color: var(--text-faint); }
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--s3); margin-top: var(--s7); }
.pagination a, .pagination span { padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-sm); font-family: var(--font-display); }
.pagination a { border: 1px solid var(--line-strong); }
.pagination a:hover { border-color: var(--text); }
.pagination span { color: var(--text-muted); }

/* ---- Product page --------------------------------------------------------- */
.product-layout { display: grid; grid-template-columns: 1fr; gap: var(--s6); }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1.05fr 1fr; gap: var(--s8); } }
.gallery .main-photo { aspect-ratio: 4/3; background: radial-gradient(120% 120% at 50% 0%, #fff, var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-card); }
.gallery .main-photo img { width: 100%; height: 100%; object-fit: contain; padding: var(--s6); }
.thumbs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.thumbs button { width: 74px; height: 74px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; overflow: hidden; padding: 5px; transition: border-color .15s; }
.thumbs button:hover { border-color: var(--crimson); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-summary .eyebrow { color: var(--crimson); }
.product-summary h1 { font-size: var(--fs-h1); margin: 6px 0 var(--s4); color: var(--text); }
.price-line { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.price-note { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 6px; }
.summary-list { display: grid; grid-template-columns: 1fr; gap: 0; margin: var(--s5) 0; border-top: 1px solid var(--line); }
.summary-list > div { display: grid; grid-template-columns: 160px 1fr; gap: var(--s4); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.summary-list dt { color: var(--text-muted); margin: 0; }
.summary-list dd { margin: 0; font-weight: 600; }
.summary-list dd a { color: var(--crimson); }
.product-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s3); margin: var(--s5) 0; }
.qty-control { display: flex; flex-direction: column; gap: 7px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
.qty-control input { width: 96px; }
.product-actions .btn--primary, .product-actions .btn-primary { flex: 1; min-width: 190px; }
.supply-note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--crimson); border-radius: var(--r-sm); padding: var(--s4); font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--s4); }
.supply-note strong { display: block; color: var(--text); margin-bottom: 4px; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: var(--s7); }
@media (min-width: 880px) { .detail-grid { grid-template-columns: 1.1fr 1fr; } }
.detail-grid h2 { color: var(--text); }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-top: var(--s4); }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--text-muted); font-weight: 500; width: 42%; padding-right: var(--s4); }
.rich-text { color: var(--text-muted); margin-top: var(--s4); }
.rich-text p { margin-bottom: var(--s3); }
.rich-text h3 { margin: var(--s5) 0 var(--s2); color: var(--text); }

/* ---- Footer (graphite) ---------------------------------------------------- */
.site-footer { background: var(--ink-900); color: var(--on-dark-muted); margin-top: var(--s9); border-top: 1px solid var(--ink-700); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s6); padding-block: var(--s8) var(--s6); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: var(--s7); } }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s4); }
.footer-col a, .footer-col span { display: block; font-size: var(--fs-sm); padding: 4px 0; color: var(--on-dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-brand .brand-link { color: #fff; }
.footer-brand .brand-logo { height: 52px; background: #fff; border-radius: 8px; padding: 6px 10px; }
.footer-brand p { font-size: var(--fs-sm); margin-top: var(--s4); max-width: 40ch; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--ink-700); padding-block: var(--s5); font-size: var(--fs-xs); color: var(--on-dark-faint); }
.footer-bottom .req { margin-top: 6px; }

/* ---- Two-column copy band + CTA bands ------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: center; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.cta-band { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--ink-850), var(--ink-900)); color: var(--on-dark); border: 1px solid var(--ink-700); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); display: grid; gap: var(--s5); box-shadow: var(--shadow-hi); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 88% -20%, rgba(217,32,56,.2), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1.5fr auto; align-items: center; } }
.cta-band .eyebrow { color: var(--accent-on-dark); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); margin-top: var(--s3); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.phone-link { font-weight: 700; color: var(--text); }
.on-dark .phone-link, .cta-band .phone-link { color: #fff; }

/* ---- Reason / tag / supply grids (home, about) ---------------------------- */
.reason-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .reason-grid { grid-template-columns: repeat(3, 1fr); } }
.reason-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); box-shadow: var(--shadow-card); }
.reason-grid strong { display: block; margin-bottom: 6px; color: var(--text); }
.reason-grid span { color: var(--text-muted); font-size: var(--fs-sm); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.tag-list span { font-size: var(--fs-sm); padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--text-muted); background: var(--paper); }

/* ---- Inner content pages (about / contacts) ------------------------------- */
.text-page { max-width: 74ch; display: grid; gap: var(--s4); }
.text-page p { color: var(--text-muted); }
.text-page h2 { margin-top: var(--s5); color: var(--text); }
.contact-grid { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: var(--s8); align-items: start; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s6); display: grid; gap: 8px; }
.contact-card h2 { color: var(--text); }
.contact-card span, .contact-card a { font-size: var(--fs-sm); color: var(--text-muted); }
.contact-card a:hover { color: var(--crimson); }
.contact-card .btn { margin-top: var(--s3); }
.contact-form { display: grid; gap: var(--s4); }
.contact-form h2 { color: var(--text); }
.contact-form label, .request-contact label { display: grid; gap: 7px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }

/* ---- Request page --------------------------------------------------------- */
.request-layout { display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: start; }
@media (min-width: 980px) { .request-layout { grid-template-columns: 1fr 372px; gap: var(--s7); } }
.request-empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s7); text-align: center; display: grid; gap: var(--s4); justify-items: center; }
.request-empty h2 { color: var(--text); }
.request-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); }
.request-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
.request-table th, .request-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.request-table thead th { background: var(--surface); font-weight: 700; color: var(--text-muted); }
.request-table a { color: var(--crimson); }
.request-qty { width: 76px; padding: 8px 10px; }
.icon-button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--text-muted); font-size: 16px; line-height: 1; }
.icon-button:hover { border-color: var(--danger); color: var(--danger); }
.request-side { display: grid; gap: var(--s5); }
.request-summary, .request-contact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); box-shadow: var(--shadow-card); }
.request-summary h2, .request-contact h2 { color: var(--text); }
.request-summary dl { display: grid; gap: 0; margin: var(--s4) 0 0; }
.request-summary dl > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.request-summary dl > div:last-child { border-bottom: 0; font-weight: 800; font-family: var(--font-display); }
.request-summary dt { color: var(--text-muted); margin: 0; }
.request-summary dd { margin: 0; font-weight: 600; }
.request-contact { display: grid; gap: var(--s4); }
.request-actions { display: grid; gap: var(--s3); }
.btn--danger, .btn-danger { background: transparent; color: var(--danger); border-color: var(--line-strong); box-shadow: none; }
.btn--danger:hover, .btn-danger:hover { border-color: var(--danger); }
.request-note, .request-hint { font-size: var(--fs-xs); color: var(--text-faint); }
.request-hint { color: var(--warn); }

/* ---- Order band / contact CTA (product) ----------------------------------- */
.order-band, .cta-box { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--ink-850), var(--ink-900)); color: var(--on-dark); border: 1px solid var(--ink-700); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); display: grid; gap: var(--s5); box-shadow: var(--shadow-hi); }
.order-band::before, .cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 88% -20%, rgba(217,32,56,.18), transparent 60%); pointer-events: none; }
.order-band > *, .cta-box > * { position: relative; z-index: 1; }
@media (min-width: 760px) { .order-band, .cta-box { grid-template-columns: 1.5fr auto; align-items: center; } }
.order-band .eyebrow, .cta-box .eyebrow { color: var(--accent-on-dark); }
.order-band h2, .cta-box h2 { color: #fff; }
.order-band p, .cta-box p { color: var(--on-dark-muted); margin-top: var(--s3); }

/* ---- Empty / states ------------------------------------------------------- */
.empty-state { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s8) var(--s6); text-align: center; display: grid; gap: var(--s4); justify-items: center; }
.empty-state h1, .empty-state h2 { color: var(--text); }
.empty-state p { color: var(--text-muted); max-width: 56ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }

/* ---- Preview ribbon (gate indicator, owner-only) -------------------------- */
.preview-ribbon { background: var(--crimson); color: #fff; font-size: var(--fs-xs); padding: 7px 0; }
.preview-ribbon .container { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; text-align: center; }
.preview-ribbon b { font-weight: 800; }
.preview-ribbon a { color: #fff; text-decoration: underline; font-weight: 700; }

/* ---- Utilities ------------------------------------------------------------ */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--crimson); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }
.mt-4 { margin-top: var(--s4); } .mt-6 { margin-top: var(--s6); }
.text-center { text-align: center; }
.text-link { font-size: var(--fs-sm); font-weight: 700; color: var(--crimson); align-self: start; }
.text-link:hover { color: var(--crimson-600); }

/* ============================================================================
   NETCRAZE SECTION — reproduces the standalone netcraze-b2c-site look & UX
   inside the Holding Trade chrome. Same graphite + crimson + Manrope language,
   so the transition from the HT header into the Netcraze content zone is
   seamless. All classes are namespaced nc2-* so they never collide with the
   general catalogue. Netcraze branding lives ONLY in this section.
   ============================================================================ */

/* hero — dark datacenter band with photo backdrop, glow and partner badge */
.nc2-hero { position: relative; overflow: hidden; background: var(--ink-900); color: #fff; }
.nc2-hero .nc2-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .3; }
.nc2-hero .nc2-shade { position: absolute; inset: 0; background: linear-gradient(120deg, var(--ink-900) 18%, rgba(11,12,15,.82) 52%, rgba(13,14,18,.62)); }
.nc2-hero .nc2-glow { position: absolute; right: -160px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: rgba(217,32,56,.22); filter: blur(80px); pointer-events: none; }
.nc2-hero > .container { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 116px); }
.nc2-hero-inner { max-width: 720px; }
.nc2-hero h1 { color: #fff; font-size: var(--fs-display); margin-top: var(--s5); max-width: 16ch; }
.nc2-hero h1 em { font-style: normal; color: var(--crimson); }
.nc2-hero .nc2-lead { margin-top: var(--s5); max-width: 56ch; font-size: var(--fs-lg); color: rgba(255,255,255,.72); line-height: 1.55; }
.nc2-hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* partner badge (rounded pill + logo-puzzle check star) */
.nc2-badge { display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; border-radius: var(--r-pill); padding: 7px 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.nc2-badge svg { width: 17px; height: 17px; flex: none; color: var(--g-green); }
.nc2-badge--dark { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: rgba(255,255,255,.92); backdrop-filter: blur(6px); }

/* hero trust strip */
.nc2-trust { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s7); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.12); max-width: 560px; justify-content: start; }
.nc2-trust dt { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: #fff; }
.nc2-trust dd { margin: 4px 0 0; font-size: var(--fs-xs); color: rgba(255,255,255,.5); }

/* "применение" split — copy + interior photos */
.nc2-apply { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 920px) { .nc2-apply { grid-template-columns: 1fr 1fr; } }
.nc2-apply h2 { color: var(--text); }
.nc2-apply .nc2-checks { display: grid; gap: 10px; margin-top: var(--s5); }
.nc2-apply .nc2-checks li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--text); list-style: none; }
.nc2-apply .nc2-checks svg { width: 18px; height: 18px; flex: none; color: var(--g-green); }
.nc2-apply ul { padding: 0; margin: 0; }
.nc2-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.nc2-photos figure { margin: 0; position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-hover); background: var(--surface); }
.nc2-photos figure:nth-child(2) { margin-top: var(--s7); }
.nc2-photos img { width: 100%; height: 100%; object-fit: cover; }

/* section header with eyebrow + "весь каталог" link */
.nc2-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.nc2-head h2 { color: var(--text); }
.nc2-head .nc2-more { font-size: var(--fs-sm); font-weight: 700; color: var(--crimson); }

/* filter chips (model families) */
.nc2-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: var(--s6); }
.nc2-filters button { font-family: var(--font-text); font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); background: var(--surface); border: 1px solid var(--surface-2); border-radius: var(--r-pill); padding: 9px 16px; transition: .15s; }
.nc2-filters button:hover { color: var(--text); border-color: var(--line-strong); }
.nc2-filters button.is-active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

/* model grid + card (mirrors b2c ProductCard) */
.nc2-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 560px) { .nc2-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .nc2-grid { grid-template-columns: repeat(3, 1fr); } }
.nc2-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); transition: transform .3s, border-color .3s, box-shadow .3s; }
.nc2-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.nc2-card:hover .nc2-card-img img { transform: scale(1.05); }
.nc2-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, #fff, var(--surface)); display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.nc2-card-img img { width: 100%; height: 100%; object-fit: contain; padding: var(--s5); transition: transform .4s ease; }
.nc2-card-img .nc2-kind { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 11px; backdrop-filter: blur(4px); }
.nc2-card-body { display: flex; flex-direction: column; gap: 7px; padding: var(--s5); flex: 1; }
.nc2-card-body h3 { font-size: 1.0625rem; color: var(--text); letter-spacing: -0.01em; }
.nc2-card-code { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--text-faint); }
.nc2-card-desc { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.nc2-card-price { margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line); }
.nc2-card-price small { display: block; font-size: var(--fs-xs); color: var(--text-faint); }
.nc2-card-price strong { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--text); letter-spacing: -0.01em; }
.nc2-card-price .nc2-soon { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text-muted); }
.nc2-card-actions { display: flex; gap: var(--s2); margin-top: var(--s4); }
.nc2-card-actions .btn { flex: 1; }
.nc2-card-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: var(--fs-sm); font-weight: 700; color: var(--crimson); }
.nc2-card-link svg { width: 15px; height: 15px; transition: transform .15s; }
.nc2-card:hover .nc2-card-link svg { transform: translateX(2px); }
.nc2-note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--crimson); border-radius: var(--r-sm); padding: 13px 16px; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--s6); }

/* use-case grid */
.nc2-usecases { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .nc2-usecases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .nc2-usecases { grid-template-columns: repeat(3, 1fr); } }
.nc2-usecases article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); box-shadow: var(--shadow-card); }
.nc2-usecases .nc2-uc-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--crimson-050); color: var(--crimson); display: grid; place-items: center; margin-bottom: var(--s4); }
.nc2-usecases h3 { font-size: 1.0625rem; margin-bottom: 6px; color: var(--text); }
.nc2-usecases p { color: var(--text-muted); font-size: var(--fs-sm); }
