/* ==========================================================================
   VARTU — design system
   Тема: инженерная приборная эстетика энергетического бренда.
   Красный и чёрный взяты пиксель-в-пиксель из логотипа VARTU.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1f1f1f;      /* совпадает с фоном логотипа */
  --surface-3: #29292b;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);

  --red: #ff030b;             /* точный цвет логотипа */
  --red-dim: #c4020a;
  --red-glow: rgba(255,3,11,.35);

  --text: #f4f3f0;
  --text-dim: #9a9ba0;
  --text-faint: #64656a;

  --font-display: 'Golos Text', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 2px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  margin: 0;
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}

p { margin: 0 0 1em; color: var(--text-dim); }
.lede { font-size: 19px; color: var(--text-dim); max-width: 60ch; }

/* ---------------- HEADER ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  color: var(--text-dim);
  transition: color .15s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover { background: #ff1e25; box-shadow: 0 6px 24px -4px var(--red-glow); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 28px 22px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }

/* ---------------- POWER GAUGE (signature element) ---------------- */
.gauge {
  --pct: 70;
  position: relative;
  width: var(--size, 220px);
  height: var(--size, 220px);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.gauge circle.track { fill: none; stroke: var(--surface-3); stroke-width: 6; }
.gauge circle.fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--red-glow));
  transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1);
}
.gauge-value {
  text-align: center;
  font-family: var(--font-mono);
}
.gauge-value .num {
  display: block;
  font-size: 34px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.gauge-value .unit {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* charge-strip divider — тонкая "шина" вместо декоративного разделителя */
.charge-strip {
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--surface-3) 0 22px, transparent 22px 26px);
  position: relative;
  margin: 0;
}
.charge-strip::before {
  content: "";
  position: absolute; inset: 0;
  width: var(--fill, 40%);
  background: repeating-linear-gradient(90deg, var(--red) 0 22px, transparent 22px 26px);
}

/* ---------------- HERO ---------------- */
.hero {
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  opacity: .35;
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.02;
  margin: 16px 0 22px;
}
@media (min-width: 981px) {
  /* At this breakpoint hero-copy becomes a narrower grid column (~500–649px)
     that does not scale linearly with viewport width, so vw-based sizing
     overflows. Fit tuned against measured column width at 981px and 1240px
     (the container's max-width, beyond which the column no longer grows). */
  .hero h1 { font-size: clamp(44px, calc(6.2vw - 17px), 60px); }
}
.hero h1 .accent { color: var(--red); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--text);
  font-weight: 600;
}
.hero-stat .lbl {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 24px;
}
.hero-visual .model { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); text-align: center;}
.hero-visual .model b { color: var(--text); }

/* ---------------- SECTIONS ---------------- */
section { padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; }

/* Category nameplates */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cat-card {
  background: var(--surface);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .2s;
  position: relative;
}
.cat-card:hover { background: var(--surface-2); }
.cat-card .icon { color: var(--red); }
.cat-card h3 { font-size: 20px; }
.cat-card p { font-size: 14px; margin: 0; }
.cat-card .go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  display: flex; align-items: center; gap: 6px;
}

/* Product grid / cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .18s, transform .18s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card .thumb {
  aspect-ratio: 4/3;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.card h4 { font-size: 17px; text-transform: none; letter-spacing: 0; }
.card .desc { font-size: 13.5px; color: var(--text-dim); flex: 1; }
.card .specrow {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.card .specrow b { color: var(--text); font-weight: 500; }
.card .row-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.card .more { font-family: var(--font-mono); font-size: 12px; color: var(--text); display:flex; align-items:center; gap:6px;}
.card:hover .more { color: var(--red); }
.badge-new {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color:#fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  padding: 4px 8px; border-radius: 2px; text-transform: uppercase;
  z-index: 2;
}
.card { position: relative; }

/* Value props */
.props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.prop { background: var(--bg); padding: 34px 28px; }
.prop .n { font-family: var(--font-mono); color: var(--red); font-size: 13px; margin-bottom: 14px; }
.prop h3 { font-size: 19px; margin-bottom: 10px; }
.prop p { font-size: 14px; margin: 0; }

/* Certification strip */
.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 0;
}
.cert-chip {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.cert-chip::before { content:"✓"; color: var(--red); font-weight: 700; }

/* CTA banner */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: 28px; }
.cta-banner p { margin: 10px 0 0; }

/* ---------------- BREADCRUMB ---------------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  padding: 22px 0 0;
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--red); }

/* ---------------- CATEGORY PAGE ---------------- */
.cat-hero { padding: 48px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cat-hero .wrap { position: relative; z-index: 1; }
.cat-art {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-46%);
  height: 92%;
  max-height: 340px;
  width: auto;
  opacity: .5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(270deg, #000 40%, transparent 88%);
  mask-image: linear-gradient(270deg, #000 40%, transparent 88%);
}
.cat-art-right {
  right: 2%;
  -webkit-mask-image: linear-gradient(270deg, #000 40%, transparent 88%);
  mask-image: linear-gradient(270deg, #000 40%, transparent 88%);
}
.cat-art-left {
  right: auto;
  left: 2%;
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 88%);
  mask-image: linear-gradient(90deg, #000 40%, transparent 88%);
}
@media (max-width: 900px) { .cat-art { display: none; } }
.cat-hero .eyebrow { margin-bottom: 16px; }
.cat-hero h1 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 16px; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13.5px;
  min-width: 640px;
}
table.compare th, table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.compare thead th {
  background: var(--surface);
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .06em;
  font-weight: 500;
}
table.compare tbody tr:hover { background: var(--surface); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.name { color: var(--text); font-weight: 500; }
table.compare td.name a:hover { color: var(--red); }
table.compare td.num { color: var(--red); }

/* ---------------- PRODUCT PAGE ---------------- */
.product-hero {
  padding: 40px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  border-bottom: 1px solid var(--line);
}
.gallery-main {
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 3px;
  display: flex; align-items:center; justify-content:center;
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  width: 64px; height: 64px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.gallery-thumbs button.active { border-color: var(--red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.thumb-video { position: relative; }
.thumb-video .play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 14px;
}
.gallery-main video { width: 100%; height: 100%; object-fit: contain; background: #000; }

.product-info .tag {
  font-family: var(--font-mono); color: var(--red); font-size: 12px;
  text-transform: uppercase; letter-spacing: .1em;
}
.product-info h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 12px 0 14px; text-transform: none; }
.product-info .tagline { font-size: 17px; color: var(--text-dim); margin-bottom: 28px; }

.spec-highlights { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.spec-chip {
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 2px;
  min-width: 130px;
}
.spec-chip .num { font-family: var(--font-mono); color: var(--red); font-size: 22px; font-weight: 600; }
.spec-chip .lbl { font-size: 11.5px; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; }

.bullets { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bullets li { padding-left: 22px; position: relative; color: var(--text-dim); font-size: 14.5px; }
.bullets li::before { content: ""; position:absolute; left:0; top:8px; width:9px; height:2px; background: var(--red); }

.product-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.specs-section h2 { font-size: 24px; margin-bottom: 24px; }
table.specs { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 14px; max-width: 760px; }
table.specs tr { border-bottom: 1px solid var(--line); }
table.specs tr:last-child { border-bottom: none; }
table.specs td { padding: 15px 4px; }
table.specs td:first-child { color: var(--text-dim); width: 45%; }
table.specs td:last-child { color: var(--text); }

.related h2 { font-size: 22px; margin-bottom: 24px; }

/* ---------------- CALCULATOR ---------------- */
.calc-shell {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}
.calc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 3px;
}
.calc-add {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.calc-add select {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
}
.calc-rows { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.calc-row {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 70px 70px auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  font-size: 13.5px;
}
.calc-row .name { font-weight: 600; }
.calc-row .meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.calc-row input[type=number] {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 7px 8px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.calc-row .rm {
  background: none; border: none; color: var(--text-faint);
  cursor: pointer; font-size: 18px; line-height: 1;
}
.calc-row .rm:hover { color: var(--red); }
.calc-empty { padding: 30px; text-align: center; color: var(--text-faint); font-size: 13.5px; }

.calc-result {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.calc-result .stat-row { display: flex; gap: 24px; width: 100%; justify-content: center; }
.calc-result .stat { text-align: center; }
.calc-result .stat .num { font-family: var(--font-mono); font-size: 22px; color: var(--text); font-weight: 600; }
.calc-result .stat .lbl { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.calc-reco { width: 100%; border-top: 1px solid var(--line); padding-top: 18px; }
.calc-reco h4 { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; font-family: var(--font-mono); font-weight: 500;}
.reco-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-bottom: 8px;
  font-size: 13px;
}
.reco-card.best { border-color: var(--red); }
.reco-card .m { font-weight: 700; font-family: var(--font-mono); font-size: 12.5px;}
.reco-card .c { color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; }

/* ---------------- ABOUT / CERTS / CONTACTS ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.timeline-values { display:flex; flex-direction: column; gap: 26px; }
.tv-item { display: flex; gap: 18px; }
.tv-item .icon { color: var(--red); flex-shrink:0; }
.tv-item h4 { font-size: 16px; margin-bottom: 6px; text-transform: none; }
.tv-item p { font-size: 14px; margin: 0; }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px; }
.cert-card {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 14px;
}
.cert-card .icon { color: var(--red); }
.cert-card h4 { font-size: 15px; text-transform: none; }
.cert-card p { font-size: 13px; margin: 0; }
.cert-card a.btn { align-self: flex-start; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item .lbl { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.contact-item .val { font-size: 18px; }
.contact-item a.val:hover { color: var(--red); }

/* ---------------- FOOTER ---------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 10px; }
.footer-col a:hover { color: var(--red); }
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; max-width: 32ch; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-faint);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--red); }

/* ---------------- PRO SYSTEM (по мотивам выставочной листовки) ---------------- */
.pro-system {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.pro-bg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: .16;
  pointer-events: none;
  z-index: 0;
}
.pro-bg-left { left: -40px; height: 100%; -webkit-mask-image: linear-gradient(90deg,#000 45%, transparent 92%); mask-image: linear-gradient(90deg,#000 45%, transparent 92%); }
.pro-bg-right { right: -40px; height: 88%; -webkit-mask-image: linear-gradient(270deg,#000 45%, transparent 92%); mask-image: linear-gradient(270deg,#000 45%, transparent 92%); }
.pro-system .wrap { position: relative; z-index: 1; }
.pro-head { text-align: center; max-width: 620px; margin: 0 auto 8px; }
.pro-head .eyebrow { justify-content: center; }
.pro-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 16px; }
.pro-sub {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 6px;
  color: var(--text-dim);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pro-sub .ln { width: 46px; height: 1px; background: var(--line-strong); }
.pro-power {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  margin: 6px 0 64px;
}
.pro-power b { color: var(--red); }

.pro-chain { position: relative; max-width: 620px; margin: 0 auto; padding-top: 34px; }
.pro-bus { position: absolute; top: 0; left: 0; right: 0; height: 34px; overflow: visible; }
.pro-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.pro-module { text-align: center; position: relative; }
.pro-module .thumb {
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.pro-module.main .thumb { border: 2px solid var(--red); }
.pro-module img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.pro-module .cap { font-family: var(--font-mono); font-size: 15px; color: var(--text); font-weight: 600; }
.pro-module .sku { font-family: var(--font-mono); font-size: 10.5px; color: var(--red); margin-top: 4px; }
.pro-plus {
  position: absolute;
  top: 0;
  height: calc(100% - 40px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-faint);
  width: 28px;
  pointer-events: none;
}
.pro-plus.p1 { left: calc(33.333% - 14px); }
.pro-plus.p2 { left: calc(66.666% - 14px); }

.pro-total {
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.pro-total-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pro-total-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 72px);
  color: var(--red);
  line-height: 1.1;
  margin: 10px 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pro-total-num span { font-size: .34em; color: var(--text); font-family: var(--font-body); font-weight: 700; }
.pro-total-note { font-size: 12.5px; color: var(--text-faint); max-width: 40ch; margin: 0 auto 26px; }

@media (max-width: 720px) {
  .pro-bg { display: none; }
  .pro-modules { gap: 14px; }
  .pro-module .cap { font-size: 12px; }
  .pro-module .sku { font-size: 9px; }
  .pro-plus { font-size: 15px; }
}
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-hero { grid-template-columns: 1fr; gap: 36px; }
  .props { grid-template-columns: 1fr; }
  .calc-shell { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .site-header .wrap { height: 64px; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr 60px 60px auto; font-size: 12.5px; }
}
