/* ==========================================================================
   弘仁汽车数字门户 · 主样式
   ========================================================================== */

:root {
  --bg: #050B14;
  --bg-2: #081221;
  --bg-3: #0C1A2C;
  --surface: rgba(255, 255, 255, 0.038);
  --surface-hi: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.085);
  --border-hi: rgba(255, 255, 255, 0.18);

  --text: #EDF3FB;
  --text-2: #A9BCD2;
  --text-3: #6C829B;

  --brand: #2E7BF6;
  --brand-soft: #5B9BFF;
  --cyan: #12D6C0;
  --gold: #F0B429;

  --grad-brand: linear-gradient(135deg, #2E7BF6 0%, #12D6C0 100%);
  --grad-line: linear-gradient(90deg, rgba(46, 123, 246, 0), #2E7BF6, rgba(18, 214, 192, 0));

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-md: 0 18px 50px -20px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 60px -12px rgba(46, 123, 246, 0.5);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --nav-h: 72px;
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 页面底部氛围光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(46, 123, 246, 0.18), transparent 62%),
    radial-gradient(700px 480px at 8% 12%, rgba(18, 214, 192, 0.09), transparent 60%);
}

/* 细网格纹理 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection {
  background: rgba(46, 123, 246, 0.35);
  color: #fff;
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060D18; }
::-webkit-scrollbar-thumb {
  background: #1C3350;
  border-radius: 10px;
  border: 2px solid #060D18;
}
::-webkit-scrollbar-thumb:hover { background: #2A4A70; }

/* ============================ 通用布局 ============================ */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.section--tight { padding: 64px 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-soft);
  font-weight: 600;
  margin-bottom: 14px;
}

.sec-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brand);
}

.sec-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
}

.sec-desc {
  color: var(--text-2);
  font-size: 15px;
  margin: 12px 0 0;
  max-width: 52ch;
}

/* ============================ 顶部导航 ============================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(5, 11, 20, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
  color: #04121F;
  box-shadow: 0 6px 22px -8px rgba(46, 123, 246, 0.9);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.brand__sub { font-size: 10.5px; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: "";
  display: block;
  height: 2px;
  width: 16px;
  margin: 4px auto -6px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav__hotline {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav__hotline svg { opacity: 0.7; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ============================ 按钮 ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: translateY(1px) scale(0.995); }

.btn--primary {
  background: var(--grad-brand);
  color: #04121F;
  box-shadow: 0 10px 30px -12px rgba(46, 123, 246, 0.9);
  font-weight: 700;
}

.btn--primary:hover {
  box-shadow: 0 16px 40px -12px rgba(46, 123, 246, 0.95);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border-hi);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn--sm { padding: 9px 16px; font-size: 13px; border-radius: 9px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ============================ Hero ============================ */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 84px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 9px;
  border-radius: 100px;
  background: rgba(46, 123, 246, 0.1);
  border: 1px solid rgba(46, 123, 246, 0.28);
  font-size: 12.5px;
  color: #BBD5FF;
  font-weight: 500;
  margin-bottom: 26px;
}

.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(18, 214, 192, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(18, 214, 192, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(18, 214, 192, 0.04); }
}

.hero__title {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #6FA9FF 0%, #12D6C0 60%, #7DE9DC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  font-size: 16.5px;
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 0 34px;
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__meta {
  display: flex;
  gap: 28px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero__meta-item .num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hero__meta-item .num span { font-size: 13px; color: var(--text-3); margin-left: 3px; }
.hero__meta-item .lbl { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

/* Hero 右侧：系统状态面板 */
.panel {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(20, 38, 62, 0.86), rgba(7, 16, 28, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 85% 0%, rgba(46, 123, 246, 0.22), transparent 70%);
  pointer-events: none;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.panel__title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 600;
}

.panel__dots { display: flex; gap: 6px; }
.panel__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.panel__dots i:first-child { background: var(--cyan); }

.panel__body { padding: 10px 24px 24px; position: relative; }

.sys-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.sys-row:last-child { border-bottom: 0; }

.sys-row__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(46, 123, 246, 0.13);
  border: 1px solid rgba(46, 123, 246, 0.22);
  color: #8FBEFF;
  flex-shrink: 0;
}

.sys-row__main { flex: 1; min-width: 0; }
.sys-row__name { font-size: 14px; font-weight: 600; }
.sys-row__sub { font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }

.sys-status {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.sys-status--on {
  background: rgba(18, 214, 192, 0.12);
  color: #4FE3D0;
  border: 1px solid rgba(18, 214, 192, 0.25);
}

.sys-status--off {
  background: rgba(240, 180, 41, 0.1);
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.25);
}

.sys-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ============================ 业务入口 Bento ============================ */

.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.mod {
  position: relative;
  padding: 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 218px;
}

.mod:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 123, 246, 0.42);
  box-shadow: 0 24px 60px -30px rgba(46, 123, 246, 0.55);
}

/* 鼠标跟随光斑 */
.mod::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46, 123, 246, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.mod:hover::after { opacity: 1; }

.mod__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: auto;
}

.mod__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(46, 123, 246, 0.22), rgba(18, 214, 192, 0.1));
  border: 1px solid rgba(46, 123, 246, 0.25);
  color: #A8CEFF;
}

.mod__en {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
}

.mod__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 22px 0 8px;
}

.mod__desc { font-size: 13.5px; color: var(--text-2); margin: 0; flex: 1; }

.mod__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-soft);
}

.mod__go svg { transition: transform 0.25s; }
.mod:hover .mod__go svg { transform: translateX(4px); }

.mod__tag {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(240, 180, 41, 0.12);
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.25);
  letter-spacing: 0.04em;
}

.mod--wide { grid-column: span 2; min-height: 0; }
.mod--wide .mod__title { font-size: 24px; }

/* ============================ 新闻 ============================ */

.news-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, background 0.3s;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.news-card__cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #12283F, #0A1A2C 60%);
  position: relative;
  overflow: hidden;
}

.news-card__cover img { width: 100%; height: 100%; object-fit: cover; }

.news-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 11, 20, 0.55), transparent 60%);
}

.news-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-3);
  margin-bottom: 10px;
  font-family: var(--mono);
}

.chip {
  font-family: var(--font);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(46, 123, 246, 0.14);
  color: #9CC4FF;
  border: 1px solid rgba(46, 123, 246, 0.2);
  font-weight: 500;
  letter-spacing: 0;
}

.chip--pin {
  background: rgba(240, 180, 41, 0.14);
  color: var(--gold);
  border-color: rgba(240, 180, 41, 0.24);
}

.news-card__title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  letter-spacing: -0.012em;
  transition: color 0.2s;
}

.news-card:hover .news-card__title { color: #fff; }

.news-card__desc {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card--hero { grid-row: span 2; }
.news-card--hero .news-card__title { font-size: 26px; line-height: 1.32; }
.news-card--hero .news-card__body { padding: 28px; }
.news-card--hero .news-card__desc { -webkit-line-clamp: 3; line-clamp: 3; font-size: 14.5px; }
.news-card--hero .news-card__cover { aspect-ratio: 16 / 8.4; }

/* 新闻列表页 */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 34px;
}

.filter {
  padding: 9px 17px;
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.filter:hover { color: #fff; border-color: var(--border-hi); }

.filter.is-active {
  background: rgba(46, 123, 246, 0.16);
  border-color: rgba(46, 123, 246, 0.5);
  color: #CFE2FF;
  font-weight: 600;
}

.search-box {
  margin-left: auto;
  position: relative;
}

.search-box input {
  width: 240px;
  padding: 10px 14px 10px 38px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, width 0.3s;
}

.search-box input:focus { border-color: rgba(46, 123, 246, 0.6); width: 280px; }
.search-box input::placeholder { color: var(--text-3); }
.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 分页 */
.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 54px;
}

.pager button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--mono);
}

.pager button:hover:not(:disabled) { color: #fff; border-color: var(--border-hi); }
.pager button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager button:disabled { opacity: 0.3; cursor: not-allowed; }

/* ============================ 文章详情 ============================ */

.article {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 96px;
}

.article__head { max-width: 820px; margin: 0 auto 40px; text-align: center; }

.article__title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.028em;
  margin: 18px 0 20px;
}

.article__meta {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-size: 12.5px;
  color: var(--text-3);
  font-family: var(--mono);
  flex-wrap: wrap;
}

.article__cover {
  max-width: 920px;
  margin: 0 auto 44px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.95;
  color: #D3DFEE;
}

.article__body p { margin: 0 0 1.35em; }
.article__body h2 { font-size: 24px; margin: 2em 0 0.7em; color: #fff; letter-spacing: -0.02em; }
.article__body h3 {
  font-size: 18.5px;
  margin: 1.9em 0 0.6em;
  color: #fff;
  padding-left: 13px;
  border-left: 3px solid var(--brand);
  line-height: 1.5;
}
.article__body h4 { font-size: 16px; margin: 1.6em 0 0.5em; color: #fff; }
.article__body ul, .article__body ol { padding-left: 1.4em; margin: 0 0 1.35em; }
.article__body li { margin-bottom: 0.55em; }
.article__body li::marker { color: var(--brand-soft); }
.article__body strong { color: #fff; font-weight: 650; }
.article__body a { color: #7BB0FF; border-bottom: 1px solid rgba(123, 176, 255, 0.35); }
.article__body a:hover { border-bottom-color: #7BB0FF; }
.article__body blockquote {
  margin: 1.6em 0;
  padding: 16px 22px;
  border-left: 3px solid rgba(46, 123, 246, 0.5);
  background: rgba(46, 123, 246, 0.07);
  border-radius: 0 10px 10px 0;
  color: var(--text-2);
  font-size: 15px;
}
.article__body img { border-radius: 12px; margin: 1.6em 0; border: 1px solid var(--border); }
.article__body hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }

.related {
  max-width: 920px;
  margin: 72px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related__title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
  font-weight: 600;
}

.related__list { display: grid; gap: 10px; }

.related__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.2s;
  font-size: 14.5px;
}

.related__item:hover { border-color: var(--border-hi); background: var(--surface-hi); }
.related__item time { font-size: 11.5px; color: var(--text-3); font-family: var(--mono); margin-left: auto; flex-shrink: 0; }

/* ============================ 经销商 ============================ */

.dealer-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

.side-card {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px;
}

.side-card + .side-card { margin-top: 16px; }

.side-card__title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 600;
}

.district-list { display: flex; flex-direction: column; gap: 2px; max-height: 420px; overflow-y: auto; }

.district-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.18s;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
  font-family: inherit;
}

.district-item:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.district-item.is-active { background: rgba(46, 123, 246, 0.16); color: #CFE2FF; font-weight: 600; }
.district-item em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
}

.dealer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.dealer-card {
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: all 0.25s;
  position: relative;
}

.dealer-card:hover {
  border-color: rgba(46, 123, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -30px rgba(46, 123, 246, 0.6);
}

.dealer-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

.dealer-card__name { font-size: 16px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.01em; }

.dealer-card__line {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 9px;
  align-items: flex-start;
  line-height: 1.6;
}

.dealer-card__line svg { flex-shrink: 0; margin-top: 4px; opacity: 0.5; }
.dealer-card__line span { word-break: break-all; }

.dealer-card__actions { display: flex; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }

.badge-net {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-net--ocean { background: rgba(46, 123, 246, 0.15); color: #9CC4FF; border: 1px solid rgba(46, 123, 246, 0.28); }
.badge-net--dynasty { background: rgba(220, 60, 60, 0.13); color: #FF9E9E; border: 1px solid rgba(220, 60, 60, 0.26); }
.badge-featured { background: rgba(240, 180, 41, 0.13); color: var(--gold); border: 1px solid rgba(240, 180, 41, 0.26); font-size: 10.5px; padding: 3px 8px; border-radius: 5px; font-weight: 600; }

.tag-mini {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  border: 1px solid var(--border);
}

/* ============================ 表单 / 预约 ============================ */

.book-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }

.form-card {
  padding: 34px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
}

.field label .req { color: #FF7A7A; margin-left: 3px; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  background: rgba(4, 10, 18, 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(46, 123, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(46, 123, 246, 0.14);
  background: rgba(4, 10, 18, 0.85);
}

.input::placeholder, .textarea::placeholder { color: #52657C; }
.textarea { resize: vertical; min-height: 96px; line-height: 1.7; }

.select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236C829B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.select option { background: #0C1A2C; color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }

.radio-pill {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(4, 10, 18, 0.5);
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
}

.radio-pill:hover { border-color: var(--border-hi); color: #fff; }
.radio-pill.is-checked {
  background: rgba(46, 123, 246, 0.16);
  border-color: rgba(46, 123, 246, 0.55);
  color: #CFE2FF;
  font-weight: 600;
}

.form-note { font-size: 12px; color: var(--text-3); margin-top: 18px; line-height: 1.7; }

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 20px;
  display: none;
}

.alert.is-show { display: block; }
.alert--ok { background: rgba(18, 214, 192, 0.1); border: 1px solid rgba(18, 214, 192, 0.3); color: #6FE8D8; }
.alert--err { background: rgba(255, 90, 90, 0.1); border: 1px solid rgba(255, 90, 90, 0.3); color: #FFA0A0; }

.side-info {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(46, 123, 246, 0.045);
  padding: 28px;
}

.side-info h4 { font-size: 15px; margin: 0 0 18px; }

.step-list { list-style: none; padding: 0; margin: 0; }

.step-list li {
  display: flex;
  gap: 14px;
  padding-bottom: 22px;
  position: relative;
  font-size: 13.5px;
  color: var(--text-2);
}

.step-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(46, 123, 246, 0.5), rgba(46, 123, 246, 0.06));
}

.step-list b {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(46, 123, 246, 0.15);
  border: 1px solid rgba(46, 123, 246, 0.35);
  color: #9CC4FF;
  font-size: 11.5px;
  font-family: var(--mono);
  flex-shrink: 0;
  font-weight: 600;
}

.step-list strong { display: block; color: #fff; font-size: 13.5px; margin-bottom: 2px; }

/* ============================ 页脚 ============================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 34px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.35));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer__brand p { font-size: 13px; color: var(--text-3); margin: 16px 0 0; max-width: 34ch; line-height: 1.8; }

.footer__col h5 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 18px;
  font-weight: 600;
}

.footer__col a, .footer__col span {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 11px;
  transition: color 0.2s;
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  font-size: 12px;
  color: var(--text-3);
  flex-wrap: wrap;
}

.footer__bottom a { color: var(--text-3); }
.footer__bottom a:hover { color: var(--text-2); }

/* ============================ 内页页头 ============================ */

.page-head {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.page-head__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-head h1 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.page-head p {
  color: var(--text-2);
  font-size: 15px;
  margin: 0;
  max-width: 56ch;
}

.crumb {
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
}

.crumb a:hover { color: var(--text); }
.crumb span { opacity: 0.4; }

/* ============================ 空状态 / 加载 ============================ */

.empty {
  text-align: center;
  padding: 72px 20px;
  color: var(--text-3);
  font-size: 14px;
}

.empty svg { margin: 0 auto 18px; opacity: 0.35; }

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 37%, rgba(255,255,255,0.04) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
  color: transparent;
}

@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* 滚动进入动画 */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-in { opacity: 1; transform: none; }

/* 分隔光带 */
.divider-glow {
  height: 1px;
  background: var(--grad-line);
  opacity: 0.45;
  margin: 0;
  border: 0;
}

/* ============================ 响应式 ============================ */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .panel { max-width: 520px; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .book-layout { grid-template-columns: 1fr; }
  .dealer-layout { grid-template-columns: 1fr; }
  .district-list { flex-direction: row; flex-wrap: wrap; max-height: none; }
  .district-item { width: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__hotline { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 20px;
    background: rgba(5, 11, 20, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav__link { padding: 13px 14px; font-size: 15px; }
  .nav.is-open .nav__link.is-active::after { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--hero { grid-row: auto; }
  .modules { grid-template-columns: 1fr; }
  .mod--wide { grid-column: span 1; }
  .dealer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --nav-h: 62px; }
  .wrap { padding: 0 18px; }
  .hero { padding-top: calc(var(--nav-h) + 44px); padding-bottom: 56px; }
  .hero__title { font-size: 32px; }
  .hero__meta { gap: 20px; }
  .hero__meta-item .num { font-size: 22px; }
  .form-card { padding: 24px 20px; }
  .list-grid { grid-template-columns: 1fr; }
  .article__body { font-size: 15.5px; }
  .brand__sub { display: none; }
}

/* ============================ 移动端细化（导航 / 页脚 / 通用） ============================ */

.nav__link--admin { display: none; }

@media (max-width: 700px) {
  .nav__inner { padding: 0 16px; gap: 12px; }

  /* 右上角按钮收进菜单，避免窄屏挤压 */
  .nav__actions > .btn { display: none; }
  .nav.is-open .nav__link--admin { display: block; }

  .brand { gap: 10px; min-width: 0; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
  .brand__text { min-width: 0; }
  .brand__name {
    display: block;
    font-size: 15px;
    max-width: 58vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav__toggle { width: 40px; height: 40px; border-radius: 10px; }
  .nav.is-open .nav__links { padding: 10px 14px 16px; }

  .footer { padding: 46px 0 26px; margin-top: 28px; }
  .footer__grid { gap: 26px; }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: left;
    font-size: 11.5px;
    line-height: 1.7;
  }
}

@media (max-width: 380px) {
  .brand__name { max-width: 52vw; font-size: 14px; }
  .brand__mark { width: 32px; height: 32px; font-size: 13px; }
}

/* 触屏设备去掉 hover 上浮，改用按压反馈 */
@media (hover: none) {
  .btn:hover { transform: none; }
}
