/* ============================================================
   淄博恒硕电子设备有限公司 — 企业官网样式
   风格：简约 · 大气 · 工业质感
   ============================================================ */

:root {
  --c-primary: #0b4f8a;
  --c-primary-dark: #073a66;
  --c-primary-light: #1a6fb0;
  --c-accent: #d8462f;
  --c-ink: #16202b;
  --c-text: #33404d;
  --c-muted: #6b7a89;
  --c-line: #e3e9ef;
  --c-bg: #f6f8fa;
  --c-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(16, 38, 60, .06);
  --shadow-md: 0 8px 28px rgba(16, 38, 60, .09);
  --shadow-lg: 0 18px 48px rgba(16, 38, 60, .14);
  --radius: 10px;
  --max: 1180px;
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { color: var(--c-ink); margin: 0; font-weight: 700; line-height: 1.35; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部信息条 ---------------- */
.topbar {
  background: var(--c-ink);
  color: #c6d2de;
  font-size: 13px;
  line-height: 38px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #c6d2de; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-right { display: flex; align-items: center; gap: 14px; }
.topbar .tb-user { color: #fff; font-weight: 600; }

/* ---------------- 导航 ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary-dark));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 19px; letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(11, 79, 138, .28);
  position: relative; white-space: nowrap;
}
.logo-text b { display: block; font-size: 19px; color: var(--c-ink); letter-spacing: .5px; line-height: 1.25; }
.logo-text span { display: block; font-size: 12.5px; color: var(--c-muted); letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; }
/* ® 标：方块 logo 右上角 / HENSURE 右上角上标
   注意：.logo-text span 是 display:block，会把内层 .r-mark 顶到下一行，
   .logo-mark 是 grid，也会把 .r-mark 拆成独立格子 —— 因此这里显式覆盖 */
.logo-mark .r-mark {
  position: absolute; top: 2px; right: 3px;
  display: block; font-size: 10px; line-height: 1;
  letter-spacing: 0; margin: 0; vertical-align: baseline;
  color: #fff; opacity: .92;
}
.logo-text .r-mark {
  display: inline; font-size: .72em; line-height: 1;
  vertical-align: super; letter-spacing: 0; margin-left: 1px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; border-radius: 7px; font-size: 15px; color: var(--c-text);
  font-weight: 500; transition: all .2s; position: relative;
}
.nav a:hover { color: var(--c-primary); background: #f2f7fb; }
.nav a.active { color: var(--c-primary); font-weight: 700; }
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2.5px; background: var(--c-primary); border-radius: 2px;
}

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

.nav-toggle {
  display: none; background: none; border: 1px solid var(--c-line);
  border-radius: 8px; padding: 8px 11px; font-size: 18px; color: var(--c-ink);
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 24px; border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; transition: all .22s; white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 4px 14px rgba(11, 79, 138, .25); }
.btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(11, 79, 138, .3); }
.btn-ghost { border-color: var(--c-line); color: var(--c-ink); background: #fff; }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-light:hover { background: #fff; color: var(--c-primary); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }
.btn-block { width: 100%; }

/* ---------------- 首页 Banner ---------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #06315a 0%, #0b4f8a 48%, #12639f 100%);
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 25%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -190px;
  background: radial-gradient(circle, rgba(70, 160, 230, .38), transparent 66%);
  border-radius: 50%;
}
.hero .wrap { position: relative; z-index: 2; max-width: 1180px; }
.hero-inner { max-width: 720px; }
.hero-tag {
  display: inline-block; padding: 6px 15px; border-radius: 99px; font-size: 13px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .28);
  letter-spacing: .6px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: 46px; line-height: 1.24; letter-spacing: -.5px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #7fc4ff; }
.hero p.lead { font-size: 17px; color: rgba(255, 255, 255, .87); margin: 0 0 34px; max-width: 620px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 62px; background: rgba(255, 255, 255, .16);
  border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats .stat { background: rgba(6, 49, 90, .55); padding: 24px 20px; text-align: center; backdrop-filter: blur(6px); }
.hero-stats .stat b { display: block; font-size: 30px; color: #fff; line-height: 1.2; letter-spacing: -.5px; }
.hero-stats .stat span { font-size: 13px; color: rgba(255, 255, 255, .72); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 84px 0; }
.section.alt { background: var(--c-bg); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-head h2 { font-size: 33px; margin-bottom: 14px; letter-spacing: -.3px; }
.sec-head p { color: var(--c-muted); margin: 0; font-size: 15.5px; }

.page-hero {
  background: linear-gradient(120deg, #06315a, #0b4f8a);
  color: #fff; padding: 68px 0 62px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(70, 160, 230, .35), transparent 68%); border-radius: 50%;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 36px; margin-bottom: 12px; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.crumb a:hover { color: #fff; }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .28s; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--c-primary); transition: width .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d2e0ec; }
.card:hover::before { width: 100%; }
.card .ico {
  width: 52px; height: 52px; border-radius: 11px; display: grid; place-items: center;
  background: #eef5fb; color: var(--c-primary); font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--c-muted); font-size: 14.5px; }
.card ul.dots { margin-top: 14px; }
.card ul.dots li {
  font-size: 14px; color: var(--c-text); padding-left: 18px; position: relative; margin-bottom: 6px;
}
.card ul.dots li::before {
  content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--c-primary-light);
}

/* ---------------- 产品卡 ---------------- */
.product-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: all .28s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-thumb {
  height: 176px; background: linear-gradient(135deg, #eaf3fa, #d7e7f5);
  display: grid; place-items: center; color: var(--c-primary); font-size: 42px;
  position: relative; overflow: hidden;
}
.product-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,79,138,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,79,138,.07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.product-thumb span { position: relative; z-index: 1; }
.product-thumb img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.product-thumb::after { pointer-events: none; }
.product-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 17px; margin-bottom: 9px; }
.product-body p { color: var(--c-muted); font-size: 14px; margin: 0 0 14px; flex: 1; }
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; }
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: 99px;
  background: #eef5fb; color: var(--c-primary); border: 1px solid #d9e8f5;
}
.p-price { color: var(--c-accent); font-weight: 700; font-size: 15px; margin-top: 12px; }

/* ---------------- 表单 ---------------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--c-ink); margin-bottom: 7px; }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 8px;
  font-size: 14.5px; font-family: inherit; color: var(--c-ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--c-primary-light); box-shadow: 0 0 0 3px rgba(26, 111, 176, .13);
}
.textarea { resize: vertical; min-height: 122px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12.5px; color: var(--c-muted); margin-top: 6px; }

/* ---------------- 认证页 ---------------- */
.auth-wrap {
  min-height: calc(100vh - 78px); display: grid; place-items: center;
  padding: 52px 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(26, 111, 176, .10), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(11, 79, 138, .10), transparent 42%),
    var(--c-bg);
}
.auth-card {
  width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--c-line);
  border-radius: 14px; padding: 38px 36px 34px; box-shadow: var(--shadow-md);
}
.auth-card.wide { max-width: 500px; }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head .logo-mark { margin: 0 auto 16px; }
.auth-head h2 { font-size: 24px; margin-bottom: 7px; }
.auth-head p { color: var(--c-muted); font-size: 14px; margin: 0; }

.tabs {
  display: flex; background: #f1f5f9; border-radius: 9px; padding: 4px; margin-bottom: 26px;
}
.tabs button {
  flex: 1; padding: 9px 6px; border: none; background: transparent; border-radius: 7px;
  font-size: 14px; font-weight: 600; color: var(--c-muted); transition: all .2s;
}
.tabs button.active { background: #fff; color: var(--c-primary); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .28s ease; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.code-row { display: grid; grid-template-columns: 1fr 118px; gap: 10px; }

.alert {
  padding: 11px 14px; border-radius: 8px; font-size: 13.5px; margin-bottom: 16px;
  display: none; line-height: 1.6;
}
.alert.show { display: block; }
.alert-error { background: #fdf1ef; border: 1px solid #f6d5cf; color: #b03a25; }
.alert-ok { background: #eef8f2; border: 1px solid #cfe9dc; color: #1c7a4d; }
.alert-info { background: #eef5fb; border: 1px solid #d5e6f4; color: var(--c-primary-dark); }

.auth-foot { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--c-muted); }
.link { color: var(--c-primary); font-weight: 600; cursor: pointer; background: none; border: none; padding: 0; font-size: inherit; }
.link:hover { text-decoration: underline; }

/* ---------------- 联系我们 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.info-item { display: flex; gap: 15px; padding: 19px 0; border-bottom: 1px dashed var(--c-line); }
.info-item:last-child { border-bottom: none; }
.info-item .ico {
  width: 42px; height: 42px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: #eef5fb; color: var(--c-primary); font-size: 19px;
}
.info-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.info-item p { margin: 0; color: var(--c-muted); font-size: 14px; }
.panel { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px 30px; }

.map-box {
  height: 290px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line);
  background: linear-gradient(135deg, #eaf3fa, #d7e7f5); display: grid; place-items: center;
  color: var(--c-primary); text-align: center; position: relative;
}
.map-box::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,79,138,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,79,138,.08) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-box .mb-in { position: relative; z-index: 1; }
.map-box .mb-in b { display: block; font-size: 18px; color: var(--c-ink); margin-bottom: 6px; }
.map-box .mb-in span { font-size: 13.5px; color: var(--c-muted); }

/* ---------------- 表格 / 用户中心 ---------------- */
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.panel-head h3 { font-size: 20px; }
.panel-head p { margin: 4px 0 0; color: var(--c-muted); font-size: 13.5px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left; padding: 12px 14px; background: #f7fafc; color: var(--c-ink);
  font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--c-line);
}
.data-table td { padding: 13px 14px; border-bottom: 1px solid var(--c-line); color: var(--c-text); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafcfe; }

.badge {
  font-size: 12px; padding: 3px 10px; border-radius: 99px; font-weight: 600;
  background: #eef8f2; color: #1c7a4d; border: 1px solid #cfe9dc;
}
.badge.gray { background: #f1f5f9; color: var(--c-muted); border-color: var(--c-line); }
.badge.blue { background: #eef5fb; color: var(--c-primary); border-color: #d5e6f4; }

.stat-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 22px 24px;
}
.stat-card b { display: block; font-size: 27px; color: var(--c-primary); line-height: 1.3; }
.stat-card span { font-size: 13.5px; color: var(--c-muted); }

.empty { text-align: center; padding: 52px 20px; color: var(--c-muted); }
.empty .ico { font-size: 42px; margin-bottom: 12px; }

/* ---------------- 页脚 ---------------- */
.footer { background: #0e1926; color: #93a3b4; padding: 58px 0 0; font-size: 14px; }
.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.footer a { color: #93a3b4; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 44px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text span { color: #7b8b9c; }
.footer-about { margin-top: 18px; line-height: 1.85; font-size: 13.5px; color: #7f8fa1; }
.footer ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-bottom {
  border-top: 1px solid #1e2b3a; padding: 20px 0; font-size: 13px; color: #6f8091;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------------- 其他 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.upload-zone {
  border: 2px dashed var(--c-line); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; background: #fbfdfe; transition: all .22s;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--c-primary-light); background: #f4f9fd; }
.upload-zone .ico { font-size: 34px; color: var(--c-primary); margin-bottom: 10px; }
.upload-zone p { margin: 0 0 4px; font-weight: 600; color: var(--c-ink); }
.upload-zone span { font-size: 12.5px; color: var(--c-muted); }

.spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { text-align: center; padding: 46px; color: var(--c-muted); }
.loading-block .spinner { border-color: #d5e6f4; border-top-color: var(--c-primary); width: 26px; height: 26px; border-width: 3px; }

/* ---------------- 产品卡动作区 / 详情页 ---------------- */
.card-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
a.product-thumb { cursor: pointer; }
.product-body h3 a:hover { color: var(--c-primary); }

.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; }
.detail-media { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.detail-media .dm-img {
  height: 430px; background: linear-gradient(135deg, #eaf3fa, #d7e7f5);
  display: grid; place-items: center; position: relative; overflow: hidden; padding: 14px;
}
.detail-media .dm-img img { width: 100%; height: 100%; object-fit: contain; }
.detail-media .dm-tip { font-size: 12.5px; color: var(--c-muted); padding: 12px 16px; border-top: 1px solid var(--c-line); text-align: center; }
.detail-info .tag-row { margin-bottom: 6px; }
.detail-info h1 { font-size: 25px; margin: 12px 0 12px; line-height: 1.45; }
.detail-lead { color: var(--c-muted); font-size: 15px; margin: 0; }
.detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 0; }
.detail-meta .dm-item { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 8px; padding: 12px 14px; }
.detail-meta .dm-item span { display: block; font-size: 12.5px; color: var(--c-muted); margin-bottom: 3px; }
.detail-meta .dm-item b { font-size: 14.5px; color: var(--c-ink); font-weight: 700; word-break: break-word; }
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.detail-desc { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px 28px; margin-top: 26px; }
.detail-desc h3 { font-size: 17px; margin-bottom: 12px; }
.detail-desc p { margin: 0 0 10px; color: var(--c-text); font-size: 14.5px; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 22px; margin: 8px 0 0; }
.spec-list li { font-size: 14px; color: var(--c-text); padding-left: 16px; position: relative; }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary-light); }

.lang-switch { display: inline-flex; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.8); }
.lang-switch a { color: rgba(255,255,255,.8); }
.lang-switch a:hover { color: #fff; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-md); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; }
  .nav a.active::after { display: none; }
  .header .wrap { height: 68px; }
  .hero { padding: 62px 0 68px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 15.5px; }
  .hero-stats .stat { padding: 18px 12px; }
  .hero-stats .stat b { font-size: 23px; }
  .section { padding: 58px 0; }
  .sec-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 27px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .auth-card { padding: 30px 22px; }
  .panel { padding: 24px 20px; }
  .logo-text b { font-size: 16.5px; }
  .logo-text span { font-size: 10.5px; letter-spacing: 1px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 8px; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-media .dm-img { height: 300px; }
  .detail-meta, .spec-list { grid-template-columns: 1fr; }
  .detail-info h1 { font-size: 21px; }
}
