/* 恒耀电源 — 设计令牌与全局样式 */
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/NotoSansSC-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/NotoSansSC-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0b1f33;
  --ink-soft: #152a40;
  --paper: #f3f5f7;
  --voltage: #e85d04;
  --voltage-deep: #c44d03;
  --signal: #1fa89a;
  --steel: #64748b;
  --white: #ffffff;
  --line: rgba(11, 31, 51, 0.1);
  --line-strong: rgba(11, 31, 51, 0.18);
  --max: 1200px;
  --header-h: 72px;
  --radius: 6px;
  --font-sans: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, ui-monospace, monospace;
  --shadow: 0 12px 40px rgba(11, 31, 51, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--voltage);
  font-weight: 400;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--voltage);
}

.section {
  padding: 96px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 12px;
  max-width: 16ch;
}

.section-head p {
  max-width: 42ch;
  color: var(--steel);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--voltage);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--voltage-deep);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 31, 51, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--voltage);
}

.nav a:focus-visible {
  outline: 2px solid var(--voltage);
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-cta {
  margin-left: 8px;
  min-height: 40px;
  padding: 0 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--voltage);
  outline-offset: 2px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 31, 51, 0.95) 0%, rgba(11, 31, 51, 0.72) 48%, rgba(11, 31, 51, 0.35) 100%),
    linear-gradient(0deg, rgba(11, 31, 51, 0.75) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 96px 0 80px;
  max-width: 720px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.hero-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--voltage);
  box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.25);
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--voltage);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.hero-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-stats dd span {
  font-size: 0.55em;
  color: var(--voltage);
  margin-left: 2px;
}

/* Page banner for inner pages */
.page-banner {
  position: relative;
  padding: 88px 0 72px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 85% 20%, rgba(232, 93, 4, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(31, 168, 154, 0.08), transparent 50%);
}

.page-banner h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

.page-banner p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.72);
}

/* Capability strip */
.capabilities {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.cap-item {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}

.cap-item:last-child {
  border-right: 0;
}

.cap-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--voltage);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.cap-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.cap-item p {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.7;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(232, 93, 4, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card:focus-within {
  border-color: var(--voltage);
}

.product-card .thumb {
  aspect-ratio: 4 / 3;
  background: #e8ecf0;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.04);
}

.product-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.product-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--signal);
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
}

.product-card p {
  color: var(--steel);
  font-size: 14px;
  flex: 1;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.spec-row div {
  min-width: 0;
}

.spec-row dt {
  font-size: 11px;
  color: var(--steel);
  margin-bottom: 2px;
}

.spec-row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  min-height: 360px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.split-media .badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(11, 31, 51, 0.88);
  color: var(--white);
  padding: 14px 18px;
  border-left: 3px solid var(--voltage);
  font-size: 13px;
  line-height: 1.5;
  max-width: 240px;
}

.split-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}

.split-content > p {
  color: var(--steel);
  margin-bottom: 28px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background:
    linear-gradient(var(--signal), var(--signal)) center / 8px 2px no-repeat,
    linear-gradient(var(--signal), var(--signal)) center / 2px 8px no-repeat,
    rgba(31, 168, 154, 0.15);
  box-shadow: inset 0 0 0 1px rgba(31, 168, 154, 0.45);
  transform: rotate(45deg);
}

/* Metrics band */
.metrics {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  padding: 8px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 20px;
}

.metric-item .value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.metric-item .value span {
  color: var(--voltage);
  font-size: 0.5em;
}

.metric-item .label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--ink);
  color: var(--white);
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.case-card:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 51, 0.15) 20%, rgba(11, 31, 51, 0.88) 100%);
}

.case-card .body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.case-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--voltage);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.case-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.case-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  max-width: 36ch;
}

/* News list */
.news-list {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item:hover {
  background: #f8fafc;
}

.news-item time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--steel);
}

.news-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.news-item p {
  color: var(--steel);
  font-size: 14px;
}

.news-item .arrow {
  font-family: var(--font-mono);
  color: var(--voltage);
  font-size: 18px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, #16324d 100%);
  color: var(--white);
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 42ch;
}

/* Footer */
.site-footer {
  background: #071522;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 18px;
  font-weight: 700}

.footer-col a,
.footer-col li {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col a:focus-visible {
  outline: 2px solid var(--voltage);
  outline-offset: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
}

/* Inner page content blocks */
.content-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.content-block + .content-block {
  margin-top: 24px;
}

.content-block h2 {
  font-size: 26px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.content-block h3 {
  font-size: 18px;
  margin: 28px 0 12px;
}

.content-block p {
  color: var(--steel);
  margin-bottom: 14px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.timeline li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline .year {
  font-family: var(--font-mono);
  color: var(--voltage);
  font-size: 15px;
}

.timeline h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.timeline p {
  font-size: 14px;
  margin: 0;
}

/* Spec table */
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.spec-table th {
  background: #eef2f5;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.spec-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.spec-table tbody tr:hover {
  background: rgba(232, 93, 4, 0.04);
}

.spec-table td.mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Cert badges */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cert-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
}

.cert-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--ink);
}

.cert-item span {
  font-size: 13px;
  color: var(--steel);
}

/* Contact info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-list {
  display: grid;
  gap: 0;
}

.info-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list .k {
  color: var(--steel);
  font-size: 14px;
}

.info-list .v {
  font-weight: 500;
  word-break: break-all;
}

.info-list .v a:hover {
  color: var(--voltage);
}

/* News detail cards */
.news-grid {
  display: grid;
  gap: 16px;
}

.news-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.news-card:hover {
  border-color: rgba(232, 93, 4, 0.4);
}

.news-card .thumb {
  min-height: 140px;
  background: #e8ecf0;
}

.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 140px;
}

.news-card .body {
  padding: 24px 28px;
}

.news-card time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.news-card h3 {
  font-size: 18px;
  margin: 10px 0 8px;
}

.news-card p {
  color: var(--steel);
  font-size: 14px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap-item:nth-child(2) {
    border-right: 0;
  }
  .cap-item:nth-child(1),
  .cap-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav a.is-active::after {
    display: none;
  }
  .nav a.is-active {
    color: var(--voltage);
  }
  .nav-cta {
    margin: 16px 0 0;
    width: 100%;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .news-item .arrow {
    display: none;
  }
  .news-card {
    grid-template-columns: 1fr;
  }
  .news-card .thumb {
    min-height: 180px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cap-item:last-child {
    border-bottom: 0;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .content-block {
    padding: 28px 20px;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .info-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .hero-content {
    padding: 72px 0 56px;
  }
}
