/* ==========================================================================
   Chenxi Electronics — corporate website styles
   ========================================================================== */

:root {
  --navy-900: #081725;
  --navy-800: #0d2236;
  --navy-700: #12334f;
  --navy-600: #1b4a70;
  --blue-500: #2f6fb0;
  --green-500: #7cb342;
  --green-600: #5e9a2e;
  --lime-400: #a8d85a;
  --orange-500: #f58220;
  --orange-600: #df6f12;
  --ink: #162636;
  --ink-soft: #4b6075;
  --muted: #788b9d;
  --line: #e1e9f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --surface-tint: #eaf3f9;
  --shadow-sm: 0 4px 18px rgba(13, 34, 54, 0.06);
  --shadow-md: 0 18px 45px rgba(13, 34, 54, 0.10);
  --shadow-lg: 0 26px 70px rgba(8, 23, 37, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 14px; font-weight: 750; letter-spacing: -0.02em; }
p { margin: 0 0 16px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 8px; padding: 12px 22px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .2s ease; }
.btn:hover span { transform: translateX(4px); }
.btn-sm { padding: 9px 17px; font-size: 13px; }
.btn-lg { padding: 15px 27px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-500); color: #fff; box-shadow: 0 10px 24px rgba(124, 179, 66, .28); }
.btn-primary:hover { background: var(--green-600); box-shadow: 0 14px 30px rgba(124, 179, 66, .36); }
.btn-outline { border-color: rgba(255, 255, 255, .42); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .8); }
.btn-accent { background: var(--orange-500); color: #fff; box-shadow: 0 10px 24px rgba(245, 130, 32, .28); }
.btn-accent:hover { background: var(--orange-600); box-shadow: 0 14px 30px rgba(245, 130, 32, .36); }

/* ---------------- Top bar ---------------- */
.topbar { background: var(--navy-900); color: #d4e2ee; font-size: 12.5px; letter-spacing: .01em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.topbar a { color: var(--lime-400); font-weight: 700; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--lime-400); box-shadow: 0 0 0 4px rgba(168, 216, 90, .15); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px); border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 20px; font-weight: 850; letter-spacing: .06em; color: var(--navy-900); }
.brand-text small { font-size: 8.5px; letter-spacing: .15em; color: var(--muted); margin-top: 5px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-link { position: relative; font-size: 13.5px; font-weight: 650; color: var(--ink-soft); padding: 8px 0; transition: color .2s ease; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange-500); transition: right .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--navy-900); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 11px 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy-800); margin: 4px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(118deg, var(--navy-900) 0%, var(--navy-800) 52%, #153c5c 100%); color: #fff; padding: 74px 0 92px; }
.hero-grid-bg { position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 92%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 111, 176, .38), transparent 68%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-inner > *, .about-grid > *, .custom-panel > *, .contact-grid > * { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 750; letter-spacing: .16em; color: var(--lime-400); margin-bottom: 22px; }
.eyebrow-line { display: block; width: 34px; height: 2px; background: var(--orange-500); }
.hero h1 { font-size: clamp(40px, 4.6vw, 66px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 24px; font-weight: 800; }
.accent-text { color: var(--lime-400); }
.hero-lede { max-width: 590px; color: #b9ccdc; font-size: 16.5px; line-height: 1.8; margin-bottom: 34px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero-trust { display: flex; gap: 40px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 27px; line-height: 1; color: #fff; font-weight: 800; letter-spacing: -.03em; }
.hero-trust span { font-size: 11.5px; color: #8fa9bf; margin-top: 8px; letter-spacing: .03em; }
.hero-art { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.hero-halo { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(124,179,66,.14), transparent 66%); }
.hero-battery { position: relative; width: 100%; max-width: 560px; overflow: visible; }
.float-chip { animation: floaty 6s ease-in-out infinite; }
.float-chip-2 { animation-delay: -2s; }
.float-chip-3 { animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.hero-scroll span { width: 3px; height: 7px; border-radius: 2px; background: var(--lime-400); animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 0%, 100% { opacity: 1; transform: translateY(0); } 60% { opacity: .2; transform: translateY(11px); } }

/* ---------------- Stats ---------------- */
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 38px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 38px; line-height: 1; color: var(--navy-800); font-weight: 800; letter-spacing: -.04em; }
.stat span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }

/* ---------------- Section basics ---------------- */
.section { padding: 100px 0; }
.section-heading { margin-bottom: 52px; }
.section-heading-center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-kicker { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .18em; color: var(--orange-500); margin-bottom: 16px; }
.section-kicker-light { color: var(--lime-400); }
.section-heading h2, .custom-intro h2, .contact-copy h2 { font-size: clamp(32px, 3.4vw, 46px); color: var(--navy-900); letter-spacing: -.035em; }
.section-heading p { color: var(--ink-soft); font-size: 16px; margin-top: 16px; }
.muted-heading { color: #93a6b7; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--navy-700); font-weight: 750; font-size: 14px; border-bottom: 2px solid var(--orange-500); padding-bottom: 4px; margin-top: 8px; }
.text-link:hover { color: var(--orange-600); }

/* ---------------- About ---------------- */
.about-section { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: start; }
.about-copy .lead { font-size: 17.5px; line-height: 1.85; color: var(--navy-800); font-weight: 550; }
.about-copy p { color: var(--ink-soft); font-size: 15px; }
.about-side { display: flex; flex-direction: column; gap: 24px; }
.about-visual { background: linear-gradient(150deg, #f6fafe, #e9f2fa); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; align-items: center; justify-content: center; }
.values-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.values-card h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 20px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.values-grid > div { position: relative; padding: 14px 16px; background: var(--surface-soft); border-radius: 10px; display: flex; flex-direction: column; }
.value-num { position: absolute; right: 12px; top: 9px; font-size: 10px; font-weight: 800; color: #bdcbd8; }
.values-grid strong { font-size: 14px; color: var(--navy-800); }
.values-grid small { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ---------------- Products ---------------- */
.products-section { background: var(--surface-soft); }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-bottom: 38px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--ink-soft); border-radius: 100px; padding: 9px 18px; font-size: 13px; font-weight: 650; transition: all .2s ease; }
.filter-btn:hover { border-color: #a9c6dd; color: var(--navy-800); }
.filter-btn.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #c9dbea; }
.product-card.is-hidden { display: none; }
.product-visual { position: relative; background: linear-gradient(150deg, #f3f8fc, #e8f1f8); height: 206px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.product-visual svg { width: 82%; max-height: 175px; transition: transform .35s ease; }
.product-card:hover .product-visual svg { transform: scale(1.06); }
.product-tag { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); background: rgba(255,255,255,.86); border: 1px solid #d7e4ee; padding: 5px 10px; border-radius: 100px; }
.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.model-code { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--orange-500); text-transform: uppercase; }
.product-body h3 { font-size: 18px; margin: 9px 0 8px; color: var(--navy-900); }
.product-body p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; flex: 1; }
.product-more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--navy-700); font-size: 13px; font-weight: 750; display: inline-flex; align-items: center; gap: 8px; }
.product-more:hover { color: var(--orange-600); }
.product-more span { transition: transform .2s ease; }
.product-more:hover span { transform: translateX(4px); }
.products-foot { text-align: center; margin-top: 38px; font-size: 14.5px; color: var(--ink-soft); }
.products-foot a { color: var(--orange-600); font-weight: 750; border-bottom: 1px solid currentColor; }

/* ---------------- Applications ---------------- */
.applications-section { background: #fff; }
.app-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.app-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px 24px; background: #fff; text-align: center; transition: all .25s ease; }
.app-card:hover { background: var(--surface-tint); border-color: #cfe0ed; transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.app-icon { width: 40px; height: 40px; fill: none; stroke: var(--blue-500); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.app-card h3 { font-size: 14.5px; color: var(--navy-900); margin-bottom: 7px; }
.app-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ---------------- Custom / OEM ---------------- */
.custom-section { background: var(--surface-soft); }
.custom-panel { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); padding: 62px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; color: #fff; position: relative; overflow: hidden; }
.custom-panel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(124,179,66,.18), transparent 70%); }
.custom-intro { position: relative; z-index: 1; }
.custom-intro h2 { color: #fff; margin-bottom: 20px; }
.custom-intro h2 span { color: var(--lime-400); }
.custom-intro > p { color: #b6c9d9; font-size: 15px; margin-bottom: 22px; }
.custom-checks { list-style: none; padding: 0; margin: 0 0 32px; }
.custom-checks li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 14px; color: #d5e3ee; }
.custom-checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: rgba(168,216,90,.18); border: 2px solid var(--lime-400); }
.process-list { position: relative; z-index: 1; display: grid; gap: 10px; }
.process-item { display: flex; gap: 18px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; padding: 15px 18px; }
.process-item .step { font-size: 13px; font-weight: 850; color: var(--lime-400); letter-spacing: .05em; min-width: 26px; padding-top: 2px; }
.process-item h3 { font-size: 14.5px; color: #fff; margin: 0 0 3px; }
.process-item p { font-size: 12.5px; color: #9fb7ca; margin: 0; }
.connector-strip { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.connector-strip strong { display: block; font-size: 14px; color: var(--navy-900); }
.connector-strip span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.connector-strip a { font-size: 13px; font-weight: 750; color: var(--orange-600); white-space: nowrap; }

/* ---------------- Why ---------------- */
.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); transition: all .25s ease; }
.why-card:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; background: #e9f2fb; color: var(--blue-500); font-size: 21px; margin-bottom: 18px; }
.why-card:nth-child(2) .why-icon { background: #fff0e2; color: var(--orange-500); }
.why-card:nth-child(3) .why-icon { background: #edf6e3; color: var(--green-600); }
.why-card:nth-child(4) .why-icon { background: #f0ebfa; color: #7d5bb5; }
.why-card h3 { font-size: 16px; color: var(--navy-900); }
.why-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------------- Contact ---------------- */
.contact-section { background: linear-gradient(125deg, var(--navy-900), #123254); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 880px); align-items: start; }
.contact-copy h2 { color: #fff; margin-bottom: 20px; }
.contact-copy > p { color: #b2c6d7; font-size: 15px; max-width: 620px; }
.contact-details { margin-top: 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; max-width: 800px; }
.contact-item { display: flex; flex-direction: column; padding: 4px 0 4px 18px; border-left: 2px solid var(--orange-500); }
.contact-label { font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: #8fa9bf; margin-bottom: 4px; }
.contact-item strong { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.6; }
.contact-item a:hover { color: var(--lime-400); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------------- Footer ---------------- */
.site-footer { background: #061320; color: #9fb3c5; padding: 70px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 54px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #7790a5; }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 18px; max-width: 320px; }
.footer-col h4 { font-size: 13px; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; margin-bottom: 11px; }
.footer-col a:hover { color: var(--lime-400); }
.footer-col p { font-size: 12.5px; line-height: 1.8; margin: 0 0 10px; }
.footer-quote { color: var(--orange-500) !important; font-weight: 750; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; color: #6f879b; }

/* ---------------- Modal ---------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 22px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 19, 32, .7); backdrop-filter: blur(5px); }
.modal-dialog { position: relative; width: min(100%, 560px); max-height: calc(100vh - 44px); overflow-y: auto; background: #fff; border-radius: var(--radius-lg); padding: 40px 42px 38px; box-shadow: var(--shadow-lg); transform: translateY(18px) scale(.98); transition: transform .25s ease; }
.modal.is-open .modal-dialog { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 16px; right: 18px; border: 0; background: var(--surface-soft); width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink-soft); }
.modal-close:hover { background: var(--line); color: var(--navy-900); }
.modal-type { font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--orange-500); }
.modal-dialog h3 { font-size: 27px; color: var(--navy-900); margin: 10px 0 5px; }
.modal-model { font-size: 13px; font-weight: 750; color: var(--blue-500); letter-spacing: .04em; }
.modal-desc { font-size: 14.5px; color: var(--ink-soft); margin-top: 18px; }
.modal-specs { margin: 22px 0 26px; border-top: 1px solid var(--line); }
.modal-specs > div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.modal-specs dt { font-size: 12.5px; font-weight: 750; color: var(--muted); }
.modal-specs dd { margin: 0; font-size: 13.5px; color: var(--navy-800); font-weight: 600; }
.modal-cta { margin-top: 4px; }

/* ---------------- Back to top ---------------- */
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy-800); font-size: 18px; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-800); color: #fff; }

/* ---------------- Reveal animations ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .main-nav { gap: 17px; }
  .nav-link { font-size: 12.5px; }
  .hero-inner { gap: 30px; }
  .about-grid { gap: 44px; }
  .custom-panel { padding: 48px 42px; gap: 44px; }
  .contact-grid { gap: 44px; }
  .app-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 74px; }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 10px 24px 18px; }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-link::after { display: none; }
  .hero { padding: 60px 0 78px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 680px; }
  .hero-art { min-height: 380px; max-width: 560px; margin: 0 auto; width: 100%; overflow: hidden; }
  .hero-trust { gap: 30px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { display: grid; grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .custom-panel { grid-template-columns: 1fr; padding: 44px 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .topbar-inner { justify-content: center; text-align: center; font-size: 11px; }
  .topbar-inner > span { display: none; }
  .section { padding: 70px 0; }
  .hero { padding: 52px 0 72px; }
  .hero h1 { font-size: 38px; }
  .hero-lede { font-size: 15px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-trust { gap: 16px; justify-content: space-between; }
  .hero-trust strong { font-size: 22px; }
  .hero-trust span { font-size: 10px; }
  .hero-art { min-height: 300px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 8px; }
  .stat strong { font-size: 30px; }
  .stat span { font-size: 11px; }
  .section-heading { margin-bottom: 36px; }
  .about-side { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .filter-bar { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .filter-btn { flex-shrink: 0; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-panel { padding: 36px 24px; }
  .connector-strip { flex-direction: column; align-items: flex-start; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; gap: 18px; }
  .contact-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .modal-dialog { padding: 34px 24px 28px; }
  .modal-specs > div { grid-template-columns: 110px 1fr; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .hero-scroll span { animation: none; }
  * { transition-duration: .01ms !important; }
}
