/* ==========================================================================
   ZJLH NEW ENERGY — Industrial Energy Storage
   Design system
   ========================================================================== */

:root {
  --navy-900: #04121f;
  --navy-800: #071d31;
  --navy-700: #0b2a45;
  --navy-600: #123b5e;
  --blue: #0a63d6;
  --blue-600: #0a51b3;
  --cyan: #29b7f0;
  --teal: #0fb9a3;
  --ink: #0a1a28;
  --body: #48606f;
  --muted: #7b8e9c;
  --paper: #ffffff;
  --mist: #f3f6fa;
  --mist-2: #eaf0f6;
  --line: #dde5ee;
  --line-dark: rgba(255, 255, 255, 0.12);

  --radius: 4px;
  --container: 1240px;
  --header-h: 74px;

  --ff: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ff-mono: "SFMono-Regular", "Consolas", "Liberation Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(10, 26, 40, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(10, 26, 40, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(10, 26, 40, 0.45);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff);
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 650;
}

p { margin: 0; }

::selection { background: rgba(10, 99, 214, 0.16); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 104px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--mist { background: var(--mist); }
.section--dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section--dark .eyebrow { color: var(--cyan); }

.h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  letter-spacing: -0.03em;
}
.h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  letter-spacing: -0.02em;
}
.h4 {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  font-weight: 640;
}

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.6;
  color: var(--body);
}
.section--dark .lead { color: rgba(255, 255, 255, 0.7); }

.small { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.mono-label {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section--dark .mono-label { color: rgba(255, 255, 255, 0.45); }

/* section head */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
}
.sec-head .h2 { max-width: 16em; }
.sec-head p { max-width: 34em; }
.sec-head--center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.sec-head--center p { margin: 18px auto 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(10, 99, 214, 0.75);
}
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--light {
  background: #fff;
  color: var(--navy-900);
}
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.6); }
.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled { height: 64px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--blue);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.site-header--dark:not(.is-solid):not(.is-scrolled) .brand-name { color: #fff; }
.site-header--dark:not(.is-solid):not(.is-scrolled) .brand-sub { color: rgba(255, 255, 255, 0.55); }
.site-header--dark:not(.is-solid):not(.is-scrolled) .brand-mark { color: var(--cyan); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--ink);
  border-radius: 3px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { background: var(--mist); }
.nav a.is-active { color: var(--blue); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.site-header--dark:not(.is-solid):not(.is-scrolled) .nav a { color: rgba(255, 255, 255, 0.82); }
.site-header--dark:not(.is-solid):not(.is-scrolled) .nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.site-header--dark:not(.is-solid):not(.is-scrolled) .nav a.is-active { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.header-tel svg { width: 15px; height: 15px; color: var(--blue); }
.site-header--dark:not(.is-solid):not(.is-scrolled) .header-tel { color: rgba(255, 255, 255, 0.85); }
.site-header--dark:not(.is-solid):not(.is-scrolled) .header-tel svg { color: var(--cyan); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 0;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 20% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, #000 0%, transparent 72%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  right: -140px;
  top: -260px;
  background: radial-gradient(circle, rgba(41, 183, 240, 0.22), transparent 62%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 84px;
}
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  max-width: 30em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-media img {
  width: 100%;
  max-width: 430px;
  border-radius: 2px;
  mask-image: linear-gradient(to bottom, #000 76%, transparent 99%);
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 99%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
}
.hero-badge {
  position: absolute;
  left: -8px;
  bottom: 26px;
  background: rgba(6, 22, 35, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  padding: 14px 18px;
  min-width: 168px;
}
.hero-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-badge span {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* hero stat strip */
.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stats > div {
  padding: 30px 28px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stats > div:first-child { border-left: 0; padding-left: 0; }
.hero-stats strong {
  display: block;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hero-stats strong small { font-size: 0.6em; font-weight: 600; color: var(--cyan); margin-left: 2px; }
.hero-stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- marquee / trust strip ---------- */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 22px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trust-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}
.trust-list {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.trust-list span { opacity: 0.75; }
.trust-list span:hover { opacity: 1; }

/* ---------- product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.p-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #c9d7e4;
}
.p-card-media {
  position: relative;
  aspect-ratio: 3 / 3.55;
  overflow: hidden;
  background: var(--navy-900);
}
.p-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.p-card:hover .p-card-media img { transform: scale(1.045); }
.p-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(4, 18, 31, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 5px 9px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.p-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.p-card-body h3 { font-size: 1.1875rem; letter-spacing: -0.02em; }
.p-card-kw {
  display: flex;
  gap: 0;
  margin: 16px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.p-card-kw div {
  flex: 1;
  padding: 12px 0;
  border-left: 1px solid var(--line);
}
.p-card-kw div:first-child { border-left: 0; }
.p-card-kw strong {
  display: block;
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.p-card-kw span {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.p-card-specs {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 0.875rem;
  color: var(--body);
}
.p-card-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
}
.p-card-specs li span { color: var(--muted); }
.p-card-specs li b { color: var(--ink); font-weight: 600; }
.p-card-body .link-arrow { margin-top: auto; }

/* ---------- feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.feature {
  background: #fff;
  padding: 34px 30px 36px;
  transition: background 0.3s var(--ease);
}
.feature:hover { background: #fbfdff; }
.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-bottom: 20px;
  background: var(--mist);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.feature p { font-size: 0.9375rem; line-height: 1.6; }

/* ---------- scenarios (dark) ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
}
.scenario {
  background: var(--navy-900);
  padding: 32px 28px 34px;
  transition: background 0.3s var(--ease);
}
.scenario:hover { background: var(--navy-800); }
.scenario-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  display: block;
  margin-bottom: 22px;
}
.scenario h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.scenario p { font-size: 0.9375rem; line-height: 1.6; color: rgba(255, 255, 255, 0.58); }

/* ---------- split media section ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--mist);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy p + p { margin-top: 16px; }
.split-copy .h2 { margin-bottom: 22px; }

.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
}
.check-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--teal);
}
.section--dark .check-list li { color: rgba(255, 255, 255, 0.78); }

/* ---------- KPI row ---------- */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi { padding: 32px 26px; border-left: 1px solid var(--line); }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi strong {
  display: block;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi strong small { font-size: 0.45em; font-weight: 600; color: var(--blue); margin-left: 3px; }
.kpi span { display: block; margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }

/* ---------- cert badges ---------- */
.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.badge svg { width: 13px; height: 13px; color: var(--teal); }
.section--dark .badge {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  color: rgba(255, 255, 255, 0.82);
}
.section--dark .badge svg { color: var(--cyan); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -80px;
  top: -260px;
  background: radial-gradient(circle, rgba(41, 183, 240, 0.2), transparent 65%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 76px 0;
}
.cta-inner .h2 { color: #fff; max-width: 18em; }
.cta-inner p { margin-top: 14px; max-width: 34em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: calc(var(--header-h) + 64px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(100% 120% at 0% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(100% 120% at 0% 0%, #000, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-top: 14px; max-width: 22em; }
.page-hero p { margin-top: 18px; max-width: 44em; color: rgba(255, 255, 255, 0.68); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 11px; height: 11px; opacity: 0.5; }

/* ---------- product detail ---------- */
.pd-hero { background: var(--navy-900); color: rgba(255, 255, 255, 0.7); padding: calc(var(--header-h) + 48px) 0 0; position: relative; overflow: hidden; }
.pd-hero::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -180px;
  top: -300px;
  background: radial-gradient(circle, rgba(41, 183, 240, 0.18), transparent 62%);
}
.pd-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}
.pd-hero h1 { color: #fff; margin-top: 18px; max-width: 18em; }
.pd-hero .lead { margin-top: 20px; max-width: 34em; color: rgba(255, 255, 255, 0.68); }
.pd-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.pd-kpis > div { background: var(--navy-900); padding: 26px 24px 28px; }
.pd-kpis strong {
  display: block;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.pd-kpis strong small { font-size: 0.55em; color: var(--cyan); font-weight: 600; }
.pd-kpis span {
  display: block;
  margin-top: 7px;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.gallery { display: grid; gap: 12px; }
.gallery-main {
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  overflow: hidden;
  background: var(--navy-800);
}
.gallery-main img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-thumbs button {
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.6;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.gallery-thumbs button img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.gallery-thumbs button:hover,
.gallery-thumbs button.is-active { opacity: 1; border-color: rgba(255, 255, 255, 0.5); }

/* spec tables */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
}
.spec-block h3 {
  font-size: 0.8125rem;
  font-family: var(--ff-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 0;
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.spec tr { border-bottom: 1px solid var(--line); }
table.spec tr:last-child { border-bottom: 0; }
table.spec th,
table.spec td { padding: 11px 0; text-align: left; vertical-align: top; }
table.spec th {
  font-weight: 450;
  color: var(--body);
  padding-right: 16px;
}
table.spec td {
  text-align: right;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* advantages table */
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: #fff;
  border: 1px solid var(--line);
}
table.cmp thead th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
  font-family: var(--ff-mono);
}
table.cmp tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:nth-child(even) { background: #fbfdff; }
table.cmp td:first-child { font-weight: 650; color: var(--ink); white-space: nowrap; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 680px; }

/* warranty */
.warranty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.warranty {
  background: #fff;
  padding: 28px 26px 30px;
}
.warranty-num {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}
.warranty h3 { font-size: 1rem; margin-bottom: 8px; }
.warranty p { font-size: 0.9rem; line-height: 1.55; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card {
  background: #fff;
  padding: 24px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.contact-card b {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.contact-card a,
.contact-card p {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 550;
  line-height: 1.5;
}
.contact-card a:hover { color: var(--blue); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  padding: 13px 14px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 99, 214, 0.1);
}
.field input::placeholder,
.field textarea::placeholder { color: #a8b6c2; }
.form-note { font-size: 0.8125rem; color: var(--muted); }
.form-success {
  display: none;
  border: 1px solid #bfe6dc;
  background: #f2fbf8;
  color: #0c6b58;
  border-radius: 3px;
  padding: 14px 16px;
  font-size: 0.9rem;
}
.form-success.is-visible { display: block; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.55);
  padding: 72px 0 0;
  font-size: 0.9rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.72fr));
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.4); }
.footer-brand p { margin-top: 20px; max-width: 26em; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-family: var(--ff-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* grid children must be allowed to shrink below image min-content */
.hero-inner > *,
.split > *,
.pd-hero-inner > *,
.contact-grid > *,
.prow > *,
.sec-head > * { min-width: 0; }

/* ---------- reveal animation ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .p-card:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 56px; }
  .hero-media { justify-content: flex-start; }
  .hero-media img { max-width: 360px; }
  .hero-badge { left: auto; right: 8px; bottom: 40px; }
  .split { gap: 44px; }
  .contact-grid { gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .product-grid > .p-card:last-child { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .kpi:nth-child(4) { border-top: 1px solid var(--line); }
  .pd-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .spec-grid { grid-template-columns: 1fr; gap: 36px; }
  .warranty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }

  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 22px;
    gap: 2px;
    box-shadow: 0 24px 40px -30px rgba(10, 26, 40, 0.5);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a,
  .site-header--dark:not(.is-solid):not(.is-scrolled) .nav a {
    color: var(--ink);
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav a.is-active { color: var(--blue); }
  .nav a.is-active::after { display: none; }
  .header-tel { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: 56px 0; }
}

@media (max-width: 480px) {
  .header-actions .btn { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div { padding: 22px 18px; }
  .hero-stats > div:first-child { padding-left: 0; }
  .hero-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stats > div:nth-child(3),
  .hero-stats > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid,
  .scenario-grid,
  .warranty-grid { grid-template-columns: 1fr; }
  .pd-kpis { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { gap: 16px; }
  .trust-list { gap: 18px; font-size: 0.8125rem; }
  .hero-actions .btn { width: 100%; }
  .sec-head { margin-bottom: 32px; }
  .btn { padding: 0 20px; }
  table.cmp { font-size: 0.875rem; }
}

/* ---------- product rows (products page) ---------- */
.prow {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.prow:first-of-type { border-top: 0; padding-top: 0; }
.prow:nth-child(even) .prow-media { order: 2; }
.prow-media {
  background: var(--navy-900);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.prow-media img {
  width: 100%;
  aspect-ratio: 3 / 3.4;
  object-fit: cover;
}
.prow h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 14px;
}
.model-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid #cfe0f4;
  background: #f2f7fe;
  padding: 5px 9px;
  border-radius: 2px;
  margin-bottom: 18px;
}
.hl { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; font-size: 0.9375rem; }
.hl li { display: flex; gap: 10px; line-height: 1.55; }
.hl svg { width: 16px; height: 16px; color: var(--teal); flex: none; margin-top: 4px; }
.prow-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 26px 0;
}
.prow-spec > div { background: #fff; padding: 14px 14px 16px; }
.prow-spec b {
  display: block;
  font-size: 1.0625rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.prow-spec span {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .prow { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .prow:nth-child(even) .prow-media { order: 0; }
  .prow-media { max-width: 340px; }
  .prow-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- application list (product pages) ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.app { background: #fff; padding: 28px 30px 30px; }
.app span {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.app h3 { margin: 14px 0 8px; font-size: 1rem; }
.app p { font-size: 0.9rem; line-height: 1.6; }

/* 4-column variant */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- deployment profiles (projects page) ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.profile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.profile-head { padding: 24px 28px 18px; }
.profile-tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.profile-head h3 { margin-top: 10px; font-size: 1.25rem; }
.profile > img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile-body { padding: 22px 28px 28px; }
.profile-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  border-bottom: 1px dashed var(--line);
}
.profile-body li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  font-size: 0.9rem;
}
.profile-body li span {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
  flex: none;
}
.profile-body li b { text-align: right; font-weight: 600; color: var(--ink); }
.profile-body p { font-size: 0.92rem; line-height: 1.6; color: var(--body); margin: 0; }

.ref-note {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--mist);
}
.ref-note h3 { margin: 0 0 8px; font-size: 1.15rem; }
.ref-note p { margin: 0; font-size: 0.94rem; line-height: 1.6; color: var(--body); max-width: 62ch; }
.ref-note .btn { flex: none; }

/* ---------- download cards ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.dl-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #f2f7fe;
  border: 1px solid #cfe0f4;
  border-radius: 4px;
  margin-bottom: 18px;
}
.dl-icon svg { width: 24px; height: 24px; }
.dl-body h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.dl-body > p { font-size: 0.92rem; line-height: 1.6; color: var(--body); margin: 0 0 14px; }
.dl-body ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.88rem; }
.dl-body li {
  position: relative;
  padding: 5px 0 5px 22px;
  color: var(--body);
}
.dl-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--teal);
  border-bottom: 1.8px solid var(--teal);
  transform: rotate(-45deg);
}
.dl-card .btn { margin-top: auto; justify-content: center; }

@media (max-width: 980px) {
  .profile-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .ref-note { flex-direction: column; align-items: flex-start; }
}

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(18, 140, 70, 0.42);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 26px rgba(18, 140, 70, 0.5); }
.wa-fab::after {
  content: "Chat on WhatsApp";
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: #04121f;
  padding: 7px 12px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.wa-fab:hover::after { opacity: 1; }

@media (max-width: 640px) {
  .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-fab::after { display: none; }
}
@media print { .wa-fab { display: none; } }
