/* ========== ERV.hk — Energy Recovery Ventilation ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0a0e1f;
  --ink-soft: #2a2f44;
  --muted: #5d6378;
  --line: #e4e6ee;
  --line-soft: #eef0f5;
  --bg: #ffffff;
  --bg-alt: #f4f5fa;
  --bg-tint: #e6e9f7;
  --bg-deep: #060a1a;
  --primary: #0023ff;
  --primary-dark: #001bb8;
  --primary-tint: #d6dcfd;
  --accent: #ff8a14;
  --accent-warm: #d96900;
  --max-w: 1240px;
  --max-narrow: 820px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-zh: 'Noto Sans TC', 'Microsoft JhengHei', 'PingFang TC', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[lang^="zh"] body { font-family: var(--font-zh), var(--font); letter-spacing: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Language hide/show — default zh visible */
[lang-en] { display: none; }
html[data-lang="en"] [lang-zh] { display: none; }
html[data-lang="en"] [lang-en] { display: inline; }
html[data-lang="en"] [lang-en].block,
html[data-lang="en"] [lang-en].b { display: block; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.022em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
.lead { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.6; font-weight: 400; }
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow.center, .center { text-align: center; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: var(--max-narrow); }

/* ========== TOP UTILITY BAR ========== */
.top-bar {
  background: var(--bg-deep);
  color: rgba(255,255,255,0.78);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.top-bar a { color: rgba(255,255,255,0.78); transition: color 0.2s; }
.top-bar a:hover { color: #fff; }
.tb-left, .tb-right { display: flex; gap: 22px; align-items: center; }
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 2px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.55);
  padding: 4px 12px;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-switch button.active {
  background: var(--primary);
  color: #fff;
}

/* ========== NAV ========== */
nav#nav {
  position: sticky; top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 26px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--bg-tint); color: var(--primary-dark); }
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-mobile-btn { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-mobile-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: 0.3s; border-radius: 2px; }
.mobile-nav { display: none; list-style: none; background: #fff; border-top: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 16px 32px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-img { opacity: 0; transform: scale(1.04); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-img.visible { opacity: 1; transform: none; }

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 32px 60px;
  background: linear-gradient(180deg, #f4f6ff 0%, #ffffff 80%);
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  top: -10%; left: -8%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,35,255,0.32), transparent 70%);
  animation: blob-drift-1 18s ease-in-out infinite alternate;
}
.hero::after {
  bottom: -10%; right: -8%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,138,20,0.25), transparent 70%);
  animation: blob-drift-2 22s ease-in-out infinite alternate;
}
.hero > * { position: relative; z-index: 1; }
@keyframes blob-drift-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 80px) scale(1.18); }
}
@keyframes blob-drift-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, -60px) scale(1.22); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 78vh;
}
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy h1 .accent-line {
  display: block;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 560px; margin-bottom: 36px; line-height: 1.6; }
.hero-actions { display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 36px;
}
.hero-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 100px;
}
/* ===== Hero product (transparent PNG, no box, no labels) ===== */
.hero-product {
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-product img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,27,184,0.22)) drop-shadow(0 8px 24px rgba(0,0,0,0.10));
  animation: product-float 7s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes product-float {
  0%   { transform: translateY(calc(0px + var(--parallax, 0px))) rotate(-0.4deg); }
  100% { transform: translateY(calc(-14px + var(--parallax, 0px))) rotate(0.4deg); }
}
nav#nav.scrolled { background: rgba(255,255,255,0.96); border-bottom-color: rgba(0,35,255,0.08); }
@media (prefers-reduced-motion: reduce) {
  .hero-product img { animation: none; }
}
@media (max-width: 1024px) {
  .hero-product { max-width: 560px; margin: 0 auto; }
}

/* ========== BUTTONS ========== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-pill:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,35,255,0.25); }
.btn-pill.outline { background: transparent; color: var(--primary-dark); border: 1.5px solid var(--primary-dark); }
.btn-pill.outline:hover { background: var(--primary-dark); color: #fff; }
.btn-pill.primary { background: var(--accent); color: #1a0e00; }
.btn-pill.primary:hover { background: var(--accent-warm); color: #fff; }
.btn-text {
  font-size: 15px; font-weight: 500;
  color: var(--primary); padding: 14px 6px;
  display: inline-block; transition: color 0.2s;
}
.btn-text:hover { color: var(--primary-dark); }
.btn-text.small { font-size: 14px; padding: 0; }
.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding-top: 16px;
  margin-top: auto;
  transition: color 0.2s, gap 0.2s;
}
.btn-quote:hover { color: var(--primary-dark); gap: 10px; }

/* ========== SYSTEM CONCEPT ========== */
.system { padding: 130px 0; background: var(--bg-alt); position: relative; }
.system .section-head { text-align: center; margin-bottom: 64px; }
.system-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 40px;
}
.sd-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.sd-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 12px;
}
.sd-card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.sd-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.sd-icon {
  width: 76px; height: 76px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(0,35,255,0.12), rgba(0,35,255,0.04));
  position: relative;
  overflow: hidden;
}
.sd-icon svg { width: 100%; height: 100%; }

/* Airflow icon — moving wave dashes */
.sd-icon-air .aw {
  stroke-dasharray: 6 8;
  stroke-dashoffset: 0;
  animation: aw-flow 3.6s linear infinite;
}
.sd-icon-air .aw2 { animation-duration: 4.4s; animation-delay: -0.6s; }
.sd-icon-air .aw3 { animation-duration: 5.4s; animation-delay: -1.2s; }
@keyframes aw-flow {
  to { stroke-dashoffset: -56; }
}

/* Sensor icon — radar pulse */
.sd-icon-sense .pr {
  transform-origin: 32px 32px;
  animation: pr-pulse 2.4s ease-out infinite;
}
.sd-icon-sense .pr2 { animation-delay: 0.4s; }
.sd-icon-sense .pr3 { animation-delay: 0.8s; }
@keyframes pr-pulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.05); opacity: 0; }
}

/* Drop icon — main breathes, drops float */
.sd-icon-drop .dp-main {
  transform-origin: 32px 36px;
  animation: dp-breath 3.6s ease-in-out infinite;
}
.sd-icon-drop .dp1 { animation: dp-float 4.8s ease-in-out infinite; }
.sd-icon-drop .dp2 { animation: dp-float 3.6s ease-in-out infinite -0.6s; }
.sd-icon-drop .dp3 { animation: dp-float 5.6s ease-in-out infinite -1.2s; }
.sd-icon-drop .dp4 { animation: dp-float 4.4s ease-in-out infinite -1.8s; }
@keyframes dp-breath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes dp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .sd-icon * { animation: none !important; }
}

/* ========== SECTION HEAD ========== */
.section-head { text-align: center; margin-bottom: 70px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { max-width: 660px; margin: 0 auto; }
.section-head.dark h2, .section-head.dark .eyebrow { color: #fff; }
.section-head.dark .lead { color: rgba(255,255,255,0.72); }
.section-head.dark .eyebrow { color: var(--accent); }

/* ========== FEATURED — spotlight + ladder ========== */
.featured { padding: 130px 0; background: #fff; }
.featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
  margin-bottom: 50px;
}
.featured-grid .feature-card:first-child {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}
.featured-grid .feature-card:first-child .fc-img { height: 460px; }
.featured-grid .feature-card:first-child .fc-body { padding: 36px; }
.featured-grid .feature-card:first-child h3 { font-size: 2.1rem; }
.featured-grid .feature-card:nth-child(2),
.featured-grid .feature-card:nth-child(3) {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.featured-grid .feature-card:nth-child(2) .fc-img,
.featured-grid .feature-card:nth-child(3) .fc-img {
  height: 100%;
  border-bottom: none;
  border-right: 1px solid var(--line-soft);
}
.featured-grid .feature-card:nth-child(2) .fc-body,
.featured-grid .feature-card:nth-child(3) .fc-body {
  padding: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,27,184,0.10);
  border-color: var(--primary-tint);
}
.fc-img {
  height: 280px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.fc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.feature-card:hover .fc-img img { transform: scale(1.06); }
.fc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.fc-meta { font-size: 11.5px; font-weight: 700; color: var(--primary); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.fc-body h3 { margin-bottom: 12px; font-size: 1.55rem; }
.fc-body > p { color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; margin-bottom: 24px; }
.fc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.fc-spec { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.featured-foot { text-align: center; color: var(--muted); max-width: 660px; margin: 0 auto; font-size: 14.5px; }
.featured-foot a { color: var(--primary); font-weight: 500; }

/* ========== TECH ROWS ========== */
.tech { background: var(--bg-deep); color: #fff; padding: 140px 0; position: relative; overflow: hidden; }
.tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,35,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,138,20,0.06), transparent 50%);
  pointer-events: none;
}
.tech .container { position: relative; z-index: 1; }

.tech-rows {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tech-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.tech-row:hover { border-color: rgba(255,138,20,0.35); transform: translateY(-2px); }
.tech-row::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 100%;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255,138,20,0.5), transparent);
}
.tech-row:last-child::before { display: none; }

/* Alternating: image swaps to right side on even rows */
.tech-row[data-row="1"] { grid-template-columns: 140px minmax(0, 1.1fr) minmax(0, 1fr); }
.tech-row[data-row="1"] .tech-row-media { order: 3; }
.tech-row[data-row="1"] .tech-row-body { order: 2; }

.tech-row-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 8px;
}
.tech-row-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  letter-spacing: -0.04em;
}
.tech-row-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.tech-row-media {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.tech-row-media img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: contain;
  padding: 28px;
}

.tech-row-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 4px 0; }
.tech-row-body h3 {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.tech-row-body .lead { color: rgba(255,255,255,0.72); font-size: 15.5px; }

.spec-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.spec-chips > div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec-chips dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.spec-chips dd {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  font-variant-numeric: tabular-nums;
}

/* ========== APPS — BENTO MOSAIC ========== */
.apps { padding: 140px 0; background: #fff; }
.apps-bento {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 14px;
}
.app-tile {
  position: relative;
  grid-column: span 1;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--ink);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  isolation: isolate;
  transition: transform 0.4s var(--ease);
}
.app-tile.tile-wide { grid-column: span 2; }
.app-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,26,0.05) 0%, rgba(6,10,26,0.55) 55%, rgba(6,10,26,0.92) 100%);
  z-index: -1;
  transition: background 0.3s var(--ease);
}
.app-tile:hover { transform: translateY(-3px); }
.app-tile:hover::before { background: linear-gradient(180deg, rgba(0,27,184,0.15) 0%, rgba(6,10,26,0.65) 55%, rgba(6,10,26,0.95) 100%); }

.app-tile-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.app-tile-body { display: flex; flex-direction: column; gap: 8px; }
.app-tile h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.app-tile p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 36em;
}
.app-tile-suggest {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 10px;
}
.app-tile.tile-wide h3 { font-size: 1.55rem; }
.app-tile.tile-wide p { font-size: 14.5px; }

/* ========== PRODUCT CATALOG ========== */
.catalog-section { padding: 140px 0; background: var(--bg-alt); }
.series-block {
  background: #fff;
  border-radius: 24px;
  padding: 52px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
}
.series-block.hero-series {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-color: transparent;
}
.series-block.hero-series .series-eyebrow { color: var(--accent); }
.series-block.hero-series h3 { color: #fff; }
.series-block.hero-series .series-desc { color: rgba(255,255,255,0.78); }
.series-block.hero-series .catalog-link {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.series-block.hero-series .shared-features { background: rgba(255,255,255,0.08); }
.series-block.hero-series .sf-col h4 { color: rgba(255,255,255,0.55); }
.series-block.hero-series .sf-col ul li { color: #fff; }
.series-block.hero-series .sf-col ul li::before { background: var(--accent); }
.series-block.hero-series .spec-card { background: #fff; color: var(--ink); }
.series-block.hero-series .spec-card .sc-img { background: #fff; border-color: var(--line); }

.series-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 36px;
}
.series-block.hero-series .series-head { border-color: rgba(255,255,255,0.18); }
.series-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.series-block h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 14px; }
.series-desc { color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 760px; margin-bottom: 20px; }
.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg-alt);
  transition: background 0.2s, border-color 0.2s;
}
.catalog-link:hover { background: var(--bg-tint); border-color: var(--primary); }

.shared-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 28px;
  background: var(--bg-alt);
  border-radius: 16px;
  margin-bottom: 36px;
}
.sf-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.sf-col ul { list-style: none; }
.sf-col ul li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 5px 0 5px 20px;
  position: relative;
  line-height: 1.5;
}
.sf-col ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.series-grid .spec-card.is-collapsed { display: none; }
.series-block.is-expanded .series-grid .spec-card.is-collapsed { display: flex; }
.series-toggle {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.series-toggle:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.series-toggle .chev { transition: transform 0.3s var(--ease); display: inline-block; }
.series-block.is-expanded .series-toggle .chev { transform: rotate(180deg); }
.series-block.hero-series .series-toggle {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
}
.series-block.hero-series .series-toggle:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.series-toggle-wrap { display: flex; justify-content: center; margin-top: 8px; }
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.spec-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,27,184,0.08); border-color: var(--primary-tint); }
.sc-img {
  background: #fff;
  height: 220px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 6px;
}
.sc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s var(--ease); }
.spec-card:hover .sc-img img { transform: scale(1.05); }
.spec-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.sc-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
  background: #fdf3e2;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 4px; font-size: 12.5px; }
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 6px 0; vertical-align: top; }
.spec-table td:first-child { color: var(--muted); font-weight: 500; width: 46%; }
.spec-table td:last-child { color: var(--ink); font-weight: 600; text-align: right; }

/* ========== CATALOG DOWNLOADS ========== */
.catalog-downloads { padding: 130px 0; background: #fff; }
.cd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cd-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  border: 1px solid var(--line);
}
.cd-card:hover { background: var(--bg-tint); transform: translateY(-3px); }
.cd-icon {
  width: 60px; height: 60px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  white-space: nowrap;
  padding: 0 8px;
}
.cd-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.cd-card p { font-size: 13px; color: var(--muted); margin-bottom: 20px; flex: 1; }
.cd-link { font-size: 13px; font-weight: 600; color: var(--primary); }

/* ========== SIZING ========== */
.sizing { padding: 130px 0; background: var(--bg-alt); }
.size-table {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.size-row { display: grid; grid-template-columns: 1fr 1.6fr 1.8fr; border-bottom: 1px solid var(--line); align-items: center; }
.size-row:last-child { border-bottom: none; }
.size-row span { padding: 18px 24px; font-size: 14.5px; border-right: 1px solid var(--line); display: flex; align-items: center; min-height: 56px; }
.size-row span:last-child { border-right: none; }
.size-row.hd span {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bg-tint);
  color: var(--primary-dark);
}
.size-row:not(.hd):hover { background: var(--bg-alt); }

/* ========== COMPARE TABLE (vs competitor) ========== */
.compare { padding: 130px 0; background: #fff; }
.compare-table {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.cmp-row { display: grid; grid-template-columns: 1.6fr 1.2fr 1.2fr; border-bottom: 1px solid var(--line); }
.cmp-row:last-child { border-bottom: none; }
.cmp-row > div { padding: 18px 24px; font-size: 14.5px; }
.cmp-row.hd > div {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--ink);
}
.cmp-row.hd .cmp-us { background: var(--primary); color: #fff; }
.cmp-row .cmp-us { background: rgba(0,35,255,0.06); font-weight: 600; color: var(--primary-dark); }
.cmp-row .cmp-them { color: var(--muted); }
.cmp-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  background: #ffe5e5;
  color: #d33636;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

/* ========== FAQ ========== */
.faq { padding: 130px 0; background: var(--bg-alt); }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.2s;
}
.faq-item[open] { background: #fff; border-radius: 12px; padding: 0 16px; border-color: var(--primary-tint); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 26px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s var(--ease);
  margin-left: 24px;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 8px 26px; }
.faq-answer p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.faq-answer a { color: var(--primary); }

/* ========== QUOTE — STACKED 3-STEP + INLINE FORM ========== */
.quote { padding: 130px 0; background: var(--bg-deep); color: #fff; position: relative; overflow: hidden; }
.quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,35,255,0.22), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(255,138,20,0.08), transparent 50%);
  pointer-events: none;
}
.quote .container { position: relative; z-index: 1; max-width: 980px; }

.quote-head { text-align: center; margin-bottom: 60px; }
.quote-head .eyebrow { color: var(--accent); justify-content: center; }
.quote-head h2 { color: #fff; letter-spacing: -0.02em; margin: 0; }

.quote-steps {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.quote-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  position: relative;
}
.quote-steps li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
  z-index: 2;
}
.qs-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  line-height: 1.1;
}
.quote-steps h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.quote-steps p {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.45;
  margin: 0;
}

.quote-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 56px;
}
.qch {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: var(--bg-deep);
  transition: background 0.25s var(--ease);
}
.qch:hover { background: rgba(0,35,255,0.18); }
.qch-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.qch-value {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 36px;
}
.quote-form-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.quote-form label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: rgba(255,255,255,0.32); }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.08); }
.quote-form select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M3 5l4 4 4-4" fill="none" stroke="rgba(255,255,255,0.5)" stroke-width="1.5"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.quote-form select option { background: var(--bg-deep); color: #fff; }
.quote-form textarea { resize: vertical; min-height: 100px; }
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.quote-form .btn-pill { padding: 14px 30px; font-size: 15.5px; }
.form-fineprint { font-size: 12px; color: rgba(255,255,255,0.42); margin: 0; }

/* ========== FOOTER ========== */
footer { background: #020e10; color: rgba(255,255,255,0.62); padding: 80px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2.2fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand p { font-size: 14px; line-height: 1.6; margin: 18px 0 22px; max-width: 380px; }
.footer-logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-domains {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.footer-domains span {
  display: inline-block;
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fcol h4 { color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.fcol ul { list-style: none; }
.fcol ul li { margin-bottom: 10px; }
.fcol ul li a, .fcol ul li { font-size: 14px; color: rgba(255,255,255,0.58); transition: color 0.2s; line-height: 1.5; }
.fcol ul li a:hover { color: #fff; }
.footer-bottom {
  padding-top: 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; min-height: auto; }
  .featured-grid { grid-template-columns: 1fr; grid-template-rows: auto; max-width: 540px; margin-left: auto; margin-right: auto; }
  .featured-grid .feature-card:first-child { grid-row: auto; grid-column: auto; }
  .featured-grid .feature-card:first-child .fc-img { height: 320px; }
  .featured-grid .feature-card:nth-child(2),
  .featured-grid .feature-card:nth-child(3) { grid-template-columns: 1fr; }
  .featured-grid .feature-card:nth-child(2) .fc-img,
  .featured-grid .feature-card:nth-child(3) .fc-img { height: 240px; border-right: none; border-bottom: 1px solid var(--line-soft); }
  .apps-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .app-tile.tile-wide { grid-column: span 2; }
  .system-diagram { grid-template-columns: 1fr; }
  .tech-row { grid-template-columns: 96px minmax(0, 1fr); padding: 28px; gap: 24px; }
  .tech-row[data-row="1"] { grid-template-columns: 96px minmax(0, 1fr); }
  .tech-row::before { left: 28px; }
  .tech-row-media { grid-column: 1 / -1; order: 2; min-height: 240px; }
  .tech-row-body { grid-column: 2 / -1; }
  .tech-row[data-row="1"] .tech-row-media { order: 2; }
  .tech-row[data-row="1"] .tech-row-body { order: 3; }
  .tech-row-label { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 8px; padding-right: 0; flex-direction: row; align-items: center; gap: 14px; grid-column: 1 / -1; }
  .quote-steps { grid-template-columns: 1fr; }
  .quote-steps li:not(:last-child)::after { content: '↓'; right: 50%; top: 100%; transform: translate(50%, -50%); }
  .quote-channels { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-grid { grid-template-columns: 1fr 1fr; }
  .cmp-row { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .container, .nav-inner { padding: 0 22px; }
  .top-bar .container { font-size: 11.5px; }
  .tb-left .tb-mute { display: none; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .featured, .apps, .catalog-section, .catalog-downloads, .sizing, .faq, .quote, .tech, .system, .compare { padding: 80px 0; }
  .tech-rows { margin-top: 48px; gap: 18px; }
  .tech-row-num { font-size: 2.4rem; }
  .spec-chips { grid-template-columns: 1fr; }
  .series-block { padding: 28px; border-radius: 18px; }
  .shared-features { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .series-grid { grid-template-columns: 1fr; }
  .apps-bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .app-tile.tile-wide { grid-column: span 1; }
  .quote-channels { grid-template-columns: 1fr 1fr; }
  .quote-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .cd-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .size-row, .cmp-row { grid-template-columns: 1fr; }
  .size-row span, .cmp-row > div { border-right: none; border-bottom: 1px solid var(--line); }
  .size-row span:last-child, .cmp-row > div:last-child { border-bottom: none; }
  .hero { padding: 40px 22px; }
  .flow-arrow { display: none; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
}
