/* ==========================================================
   珏昕科技官网 — 首页样式
   设计语言：企业风格 — 单一品牌蓝、无渐变、克制圆角
   主题：CSS 变量双主题，html[data-theme="dark"] 切换深色
   结构：变量 → 基础 → 通用 → 导航 → Hero → 产品 → 预览
        → 公告 → 外部入口 → 关于 → 页脚 → 动效 → 响应式
   ========================================================== */

:root {
  color-scheme: light;
  --brand: #1668dc;
  --brand-hover: #1252b4;
  --brand-tint: #eaf1fd;
  --accent: #1668dc;
  --ink: #1f2329;
  --text: #4e5969;
  --muted: #86909c;
  --line: #e5e6eb;
  --line-strong: #c9cdd4;
  --hover-border: #c2d7f5;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f2f3f5;
  --footer-bg: #10182b;
  --shadow-sm: 0 1px 3px rgba(31, 35, 41, 0.06);
  --shadow: 0 8px 24px rgba(31, 35, 41, 0.08);
  --radius: 10px;
  --header-h: 64px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --brand: #1668dc;
  --brand-hover: #2e7ce8;
  --brand-tint: #1a2740;
  --accent: #5c9dff;
  --ink: #e9edf4;
  --text: #b6bfcc;
  --muted: #7f8898;
  --line: #2a3240;
  --line-strong: #3a4454;
  --hover-border: #33507f;
  --bg: #10141c;
  --bg-alt: #141924;
  --surface: #1a2029;
  --surface-2: #232b38;
  --footer-bg: #0c101a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 通用组件 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14.5px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 12px 30px; font-size: 15.5px; }
.btn-sm { padding: 6px 16px; font-size: 13px; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: 4px;
}
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.35; }
.section-head p { color: var(--text); margin-top: 10px; font-size: 15px; }

/* 图标底座（产品卡与外链卡共用，单色浅底） */
.p-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint);
  color: var(--accent);
  flex-shrink: 0;
}
.p-icon svg { width: 22px; height: 22px; }

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

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

.header-right { display: flex; align-items: center; gap: 10px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; object-fit: contain; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; color: var(--ink); }
.brand-name em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 7px; vertical-align: 1px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a:hover::after { width: 100%; }
.nav-console {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 6px 14px !important;
  transition: border-color 0.2s, color 0.2s;
}
.nav-console svg { width: 13px; height: 13px; }
.nav-console::after { display: none; }

/* 主题切换按钮 */
.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero（左文右图分栏） ---------------- */

.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--header-h) + 72px) 0 84px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}
/* 栅格子项允许收缩，避免真实截图的固有宽度撑破布局 */
.hero-copy, .hero-visual { min-width: 0; }
.hero-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 12px;
  transition: border-color 0.2s;
}
.hero-news b { color: var(--accent); font-weight: 700; }
.hero-news:hover { border-color: var(--accent); }

.hero h1 {
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: 0;
  margin-top: 20px;
}
.hero h1 .accent { color: var(--accent); white-space: nowrap; }
.hero-sub {
  max-width: 34em;
  margin-top: 16px;
  color: var(--text);
  font-size: 15.5px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  margin-top: 42px;
  flex-wrap: wrap;
  row-gap: 16px;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}
.hero-stats li:first-child { padding-left: 0; }
.hero-stats li:last-child { border-right: none; }
.hero-stats strong { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.hero-stats span { font-size: 12.5px; color: var(--muted); }

/* Hero 真实产品截图（窗口卡片） */
.hero-shot {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.hero-shot img { width: 100%; height: auto; display: block; }
.shot-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

/* ---------------- 产品矩阵 ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--hover-border); }
.p-head { display: flex; align-items: center; gap: 13px; }
.p-head h3 { font-size: 17.5px; }
.p-head small {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.p-desc { color: var(--text); font-size: 14px; flex: 1; }
.p-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.p-tags span {
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 9px;
}
.p-actions { display: flex; gap: 10px; margin-top: 4px; }
.p-actions .btn-ghost { flex: 1; }
.p-actions .btn-primary { flex: 1.3; }

/* 下载中心入口条 */
.download-strip {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.download-strip h3 { font-size: 18px; }
.download-strip p { color: var(--text); font-size: 14px; margin-top: 4px; }
.download-strip .btn { flex-shrink: 0; }

/* ---------------- 预览轮播 ---------------- */

.carousel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.carousel-track { display: flex; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.slide {
  min-width: 100%;
  aspect-ratio: 16 / 8.5;
  position: relative;
  background: var(--bg-alt);
}
/* 真实产品截图：铺满卡片，顶部对齐保留页头 */
.slide .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.slide-label {
  position: absolute;
  left: 26px;
  bottom: 22px;
  font-size: 12.5px;
  color: #e8ebf2;
  background: rgba(16, 24, 43, 0.78);
  border-radius: 4px;
  padding: 4px 12px;
}

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.car-btn:hover { border-color: var(--accent); color: var(--accent); }
.car-btn.prev { left: 16px; }
.car-btn.next { right: 16px; }

.car-dots {
  position: absolute;
  bottom: 18px;
  right: 24px;
  display: flex;
  gap: 8px;
}
.car-dots button {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.2s, background 0.2s;
}
.car-dots button.active { width: 22px; background: #fff; }

.preview-links { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------------- 更新公告 ---------------- */

.update-list { max-width: 820px; margin: 0 auto; }
.update-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
}
.update-list li:first-child { border-top: 1px solid var(--line); }
.u-tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--brand-tint);
  border-radius: 4px;
  padding: 2px 10px;
  white-space: nowrap;
}
.update-list time { flex-shrink: 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.update-list p { color: var(--text); font-size: 14.5px; }

/* ---------------- 外部系统入口 ---------------- */

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.link-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--hover-border); }
.link-card h3 { font-size: 15.5px; }
.link-card h3 small { font-size: 11.5px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.link-card p { font-size: 13px; color: var(--muted); }

/* ---------------- 关于 / 联系 ---------------- */

.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 16px; }
.about-text > p { color: var(--text); }
.about-facts { display: flex; gap: 44px; margin-top: 30px; }
.about-facts strong { font-size: 24px; font-weight: 700; color: var(--ink); }
.about-facts span { display: block; font-size: 13px; color: var(--muted); }

.about-contact {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.about-contact h3 { font-size: 19px; margin-bottom: 6px; }
.about-contact p { font-size: 14.5px; color: var(--text); }
.about-contact strong { color: var(--ink); margin-right: 10px; font-weight: 600; }
.about-contact .btn { margin-top: 12px; align-self: flex-start; }

/* ---------------- 页脚 ---------------- */

.site-footer { background: var(--footer-bg); color: #a3abc0; padding: 60px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-brand .brand-name.light { color: #fff; }
.footer-brand .brand-name.light em { color: #6f9be8; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.9; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-grid nav a { display: block; font-size: 13.5px; padding: 5px 0; transition: color 0.2s; }
.footer-grid nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12.5px;
  color: #8b94ab;
}
.beian { display: flex; gap: 18px; flex-wrap: wrap; }
.beian a:hover { color: #fff; }

/* ---------------- 入场动效 ---------------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .carousel-track { transition: none; }
}

/* ---------------- 产品分类与后台管理 ---------------- */

.category-head { text-align: center; margin: 52px auto 28px; max-width: 620px; }
.category-head:first-child { margin-top: 0; }
.category-head h3 { font-size: 22px; }
.category-head p { color: var(--text); font-size: 14px; margin-top: 4px; }

.category-empty {
  text-align: center;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 44px 20px;
  font-size: 14px;
}

.admin-main { padding: calc(var(--header-h) + 40px) 0 80px; }

.admin-note {
  background: var(--brand-tint);
  border: 1px solid var(--hover-border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.admin-note code {
  font-family: Consolas, Monaco, monospace;
  font-size: 12.5px;
  background: var(--surface-2);
  border-radius: 4px;
  padding: 1px 6px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.admin-card.off { opacity: 0.55; }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 16px;
}

.admin-field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); }
.admin-field input,
.admin-field select,
.admin-field textarea {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 10px;
  width: 100%;
}
.admin-field textarea { min-height: 64px; resize: vertical; }
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-tint); }

.admin-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.admin-check { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); cursor: pointer; }
.admin-check input { width: 16px; height: 16px; accent-color: var(--brand); }

.btn-danger { border: 1px solid #d93025; color: #d93025; background: transparent; border-radius: 6px; }
.btn-danger:hover { background: #d93025; color: #fff; }

.save-hint { font-size: 13px; color: var(--muted); }

/* ---------------- 核心优势 / 合作 CTA / 产品图 ---------------- */

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.advantage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.advantage-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--hover-border); }
.advantage-card h3 { font-size: 17px; }
.advantage-card p { font-size: 14px; color: var(--text); }

.cta-band {
  background: var(--dark);
  color: #c6cddd;
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(22px, 2.8vw, 30px); }
.cta-inner p { margin-top: 8px; font-size: 15px; }

.product-card .p-img {
  margin: -26px -26px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16 / 8;
  background: var(--bg-alt);
}
.product-card .p-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------------- 后台管理（分页签 CMS） ---------------- */

.admin-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tab-btn {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }

.tab-panel[hidden] { display: none; }

.card-title { font-size: 15.5px; margin-bottom: 14px; }

.img-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.img-preview {
  width: 128px;
  height: 72px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 960px) {
  .section { padding: 68px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 10px 24px 18px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .main-nav a::after { display: none; }
  .nav-console { border: none; justify-content: space-between; padding: 13px 4px !important; }
  .nav-console svg { width: 15px; height: 15px; }

  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-stats li { padding: 0 20px; }
  .hero-stats strong { font-size: 19px; }

  .download-strip { flex-direction: column; align-items: flex-start; }

  .slide { aspect-ratio: 16 / 10; }
  .slide-label { left: 20px; bottom: 16px; }
  .car-btn { width: 34px; height: 34px; }
  .car-btn.prev { left: 10px; }
  .car-btn.next { right: 10px; }
  .car-dots { right: 18px; }

  .update-list li { flex-wrap: wrap; gap: 10px 14px; }
  .update-list p { flex-basis: 100%; padding-left: 2px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 12px 0; }
  .hero-stats li { padding: 0 16px; }
  .link-grid { grid-template-columns: 1fr 1fr; }
  .preview-links .btn { width: 100%; }
  .about-contact { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
