/* ==========================================================================
   高州市启帆照明科技有限公司 — 官网样式
   风格：简约大气 / 大量留白 / 细线分隔 / 字重对比
   ========================================================================== */

:root {
  --ink: #101f38;              /* 第 21 轮：全套色板取自公司 Logo */
  --ink-2: #3c4c66;
  --muted: #63718a;            /* 原 #7b8a95 在白底只有 3.55:1，不达 AA */
  --line: #e4e8ef;
  --line-soft: #eff2f7;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-deep: #0f2444;          /* 页脚 / 深色侧栏：Logo 藏蓝 */
  --brand: #12294b;            /* 主色 = Logo 藏蓝 */
  --brand-2: #2b5a94;
  --brand-soft: #eef2f8;
  --gold: #9b3227;             /* 强调色 = Logo 砖红（变量名沿用，语义改为强调色） */
  --gold-soft: #fbeee9;
  --ok: #2f8f6b;
  --danger: #c8503f;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(18, 41, 75, .04);
  --shadow: 0 12px 36px -18px rgba(18, 41, 75, .26);
  --shadow-lg: 0 30px 70px -34px rgba(18, 41, 75, .32);
  --sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
  --nav-h: 76px;
  /* 视口高度：移动端地址栏收放时 100vh 会失真，支持 dvh 的环境用 dvh */
  --vh: 100vh;
  /* 页面左右安全边距，按宽度分档在下方覆盖 */
  --gut: 28px;
  /* 区块纵向节奏，按屏幕高度分档在下方覆盖 */
  --sec-pad: 96px;
  /* 首屏上下留白，按屏幕高度分档在下方覆盖 */
  --hero-pad: 104px;
}

@supports (height: 100dvh) {
  :root { --vh: 100dvh; }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.28;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: #dfe7f2; color: var(--ink); }

/* ---------------------------------------------------------------- 布局 */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.section { padding: var(--sec-pad) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: calc(var(--sec-pad) * .66) 0; }
.section--deep {
  background: var(--bg-deep);
  color: #c3d1e6;
}
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }

/* ------------------------------------------------------------ 标签/小标题 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.section--deep .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-head .lead {
  margin-top: 18px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
}
.section--deep .section-head .lead { color: #a9bad3; }

/* -------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: .22s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #17335c; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--gold-soft); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* -------------------------------------------------------------- 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* 品牌标识：公司 Logo 位图（图标 + 字标），
   深色底（页脚 / 登录页侧栏）用反白版 logo-inverse.png。 */
.brand__logo { display: block; height: 40px; width: auto; }
.site-footer .brand__logo { height: 42px; margin-bottom: 14px; }
.auth__brand .brand__logo { height: 44px; }
@media (max-width: 480px) { .brand__logo { height: 34px; } }
.brand__text { line-height: 1.25; }
.brand__name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
}
.brand__sub {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 8px 15px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: .2s;
}
.nav__links a:hover { color: var(--brand); background: var(--bg-soft); }
.nav__links a.is-active { color: var(--brand); font-weight: 600; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 1px;
  height: 2px;
  background: var(--gold);
}

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

.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--ink);
  transition: .2s;
}
.user-chip:hover { border-color: var(--brand); }
.user-chip__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 17px; height: 1.5px; background: var(--ink);
}
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(880px 460px at 78% -8%, #eaf0f9 0%, rgba(234,240,249,0) 62%),
    radial-gradient(760px 420px at 8% 108%, #e9eef7 0%, rgba(233,238,247,0) 60%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(18,41,75,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18,41,75,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(760px 400px at 62% 24%, #000 0%, transparent 82%);
  -webkit-mask-image: radial-gradient(760px 400px at 62% 24%, #000 0%, transparent 82%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 64px;
  align-items: center;
  padding: var(--hero-pad) 0 calc(var(--hero-pad) * 1.04);
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.16;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 9px;
  background: rgba(155,50,39,.24);
  z-index: -1;
}
.hero__lead {
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 520px;
}
.hero__actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero__tags li {
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.hero__tags li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__tags span {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

/* 光效插画 */
.hero__art { position: relative; }
.hero__art::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  right: -40px; top: -30px;
  background: radial-gradient(circle, rgba(155,50,39,.3) 0%, rgba(155,50,39,0) 68%);
  filter: blur(6px);
}
.hero__art svg { position: relative; width: 100%; height: auto; }

/* -------------------------------------------------------------- 卡片 */
.grid { display: grid; gap: 26px; }
.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(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: .28s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .34s ease;
}
.card:hover { border-color: #d5dde8; box-shadow: var(--shadow); transform: translateY(-3px); }
.card:hover::before { transform: scaleY(1); }
.card__no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: 20px;
}
.card h3 { font-size: 20px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.card__list { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.card__list li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 5px 0 5px 18px;
  position: relative;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 7px; height: 1px;
  background: var(--brand-2);
}
.card__icon {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--brand);
  margin-bottom: 24px;
  background: var(--bg-soft);
}
.card__icon svg { width: 22px; height: 22px; }
/* 产品线卡片：用实拍图替代线性图标 */
.card__icon--img {
  width: 100%;
  height: 150px;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  margin-bottom: 20px;
}
.card__icon--img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  border-bottom: 1px solid transparent;
  transition: .2s;
}
.card__link:hover { border-bottom-color: var(--gold); }

/* --------------------------------------------------------- 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
}
.stats li {
  padding: 34px 30px 6px 0;
  border-right: 1px solid rgba(255,255,255,.14);
}
.stats li:last-child { border-right: 0; }
.stats b {
  display: block;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.stats b i { font-style: normal; font-size: .5em; color: var(--gold); margin-left: 3px; }
.stats span {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #a9bad3;
}

/* -------------------------------------------------------- 产品筛选 */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.filters button {
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: .2s;
}
.filters button:hover { border-color: var(--brand-2); color: var(--brand); }
.filters button.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 500;
}

.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .28s ease;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d5dde8; }
.product__visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #f4f7fb 0%, #e9eff7 100%);
  display: grid;
  place-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.product[data-cat="outdoor"] .product__visual { background: linear-gradient(160deg, #fdf3ee 0%, #f6e0d6 100%); }
.product[data-cat="special"] .product__visual { background: linear-gradient(160deg, #f8f2e8 0%, #f1e6d5 100%); }
.product__visual svg { width: 62%; height: auto; }
.product__badge {
  position: absolute;
  left: 14px; top: 14px;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(18,41,75,.14);
  padding: 4px 10px;
  border-radius: 100px;
}
.product__body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.product__body h3 { font-size: 18px; margin-bottom: 10px; }
.product__body > p { color: var(--muted); font-size: 14px; flex: 1; }
/* 规格表只出现在详情页（.spec--full）；列表卡片不再重复展示参数 */
.spec span:last-child { color: var(--ink); font-weight: 500; text-align: right; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.fav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: .2s;
}
.fav:hover { border-color: var(--gold); color: #8a2a20; }
.fav.is-on { background: var(--gold-soft); border-color: var(--gold); color: #7d251c; font-weight: 500; }
.fav svg { width: 15px; height: 15px; }

/* --------------------------------------------------------- 时间轴 */
.timeline { border-left: 1px solid var(--line); margin-left: 6px; }
.timeline li {
  position: relative;
  padding: 0 0 38px 34px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-2);
}
.timeline b { display: block; font-size: 20px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.timeline h4 { margin: 8px 0 6px; font-size: 15px; }
.timeline p { color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------- 分栏内容 */
.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.split--rev { grid-template-columns: 1.05fr .95fr; }
.prose p { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); margin-bottom: 18px; }
.prose h3 { font-size: 20px; margin: 34px 0 14px; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.panel--soft { background: var(--bg-soft); border-color: var(--line-soft); }

.checks li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--ink-2);
}
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 19px;
  width: 12px; height: 7px;
  border-left: 1.6px solid var(--ok);
  border-bottom: 1.6px solid var(--ok);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------- 联系页 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.info-list li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:first-child { border-top: 1px solid var(--line); }
.info-list .k {
  width: 76px;
  flex-shrink: 0;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-top: 3px;
}
.info-list .v { font-size: 15px; color: var(--ink); line-height: 1.7; }
.info-list .v small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ---------------------------------------------------------------- 表单 */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label i { color: var(--danger); font-style: normal; margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: .2s;
  outline: none;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(43,90,148,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b6bf; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.note {
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  border: 1px solid;
  line-height: 1.65;
  margin-bottom: 20px;
}
.note--ok { background: #f0f8f4; border-color: #cfe9dd; color: #216b4e; }
.note--err { background: #fdf3f1; border-color: #f2d5cf; color: #a23c2c; }
.note--info { background: var(--brand-soft); border-color: #dfe6f2; color: var(--brand); }

/* --------------------------------------------------------------- 登录页 */
.auth {
  min-height: calc(var(--vh) - var(--nav-h));
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--bg-soft);
}
.auth__aside {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  color: #c3d1e6;
  padding: 72px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth__aside::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -180px; bottom: -200px;
  background: radial-gradient(circle, rgba(155,50,39,.34) 0%, rgba(155,50,39,0) 66%);
}
.auth__aside h2 { color: #fff; font-size: 30px; max-width: 360px; line-height: 1.4; }
.auth__aside p { color: #a9bad3; max-width: 380px; margin-top: 18px; }
.auth__aside .checks { position: relative; z-index: 2; margin-top: 44px; }
.auth__aside .checks li { color: #d5deec; border-color: rgba(255,255,255,.1); }
.auth__brand { position: relative; z-index: 2; }
.auth__brand .brand__name { color: #fff; }
.auth__brand .brand__sub { color: #9fb0c8; }

.auth__main {
  display: grid;
  place-items: center;
  padding: 56px 28px;
}
.auth__card {
  width: 100%;
  max-width: 424px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 38px 34px;
}
.auth__card h1 { font-size: 24px; margin-bottom: 8px; }
.auth__card .sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 28px;
}
.tabs button {
  flex: 1;
  height: 38px;
  border: 0;
  background: transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: .2s;
}
.tabs button.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pane { display: none; }
.pane.is-active { display: block; animation: fadeUp .3s ease; }

.auth__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.auth__foot button {
  border: 0; background: none; padding: 0;
  font-family: inherit; font-size: 13.5px;
  color: var(--brand); cursor: pointer;
  border-bottom: 1px solid rgba(18,41,75,.3);
}

.otp-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }

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

/* ------------------------------------------------------------- 个人中心 */
.account-head {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.account-head__avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-2) 70%, var(--gold) 170%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
.account-head h1 { font-size: 26px; }
.account-head .meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.account-head__act { margin-left: auto; display: flex; gap: 10px; }

.kv {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
}
.kv dt {
  color: var(--muted);
  font-size: 13.5px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.kv dd {
  margin: 0;
  padding: 12px 0;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  word-break: break-all;
}
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: 0; }

.record {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  background: #fff;
  transition: .2s;
}
.record:hover { border-color: #d5dde8; }
.record__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
}
.record__top b { font-size: 15.5px; color: var(--ink); font-weight: 600; }
.record__top time { font-size: 12.5px; color: var(--muted); }
.record__meta {
  margin-top: 10px;
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.record p { margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 2px 10px;
  border-radius: 100px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 500;
}

.empty {
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--bg-soft);
}
.empty h3 { font-size: 16px; margin-bottom: 8px; }
.empty p { font-size: 14px; margin-bottom: 20px; }

/* ---------------------------------------------------------------- CTA */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  color: #c3d1e6;
  padding: calc(var(--sec-pad) * .875) 0;
}
.cta::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  left: 50%; top: -320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(155,50,39,.3) 0%, rgba(155,50,39,0) 64%);
}
.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); max-width: 620px; }
.cta p { margin-top: 14px; color: #a9bad3; max-width: 560px; }
.cta__act { display: flex; gap: 14px; flex-wrap: wrap; }

/* ------------------------------------------------ 产品索引（悬停展开） */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 55;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -32px rgba(18, 41, 75, .45);
  max-height: calc(var(--vh) - var(--nav-h));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .24s cubic-bezier(.22,.61,.36,1), visibility .24s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }

.mega__inner {
  display: grid;
  grid-template-columns: 242px 1fr;
  padding-top: 26px;
  padding-bottom: 26px;
}

.mega__cats { border-right: 1px solid var(--line); padding-right: 18px; }
.mega__cats button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: .18s;
}
.mega__cats button::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: rotate(45deg);
  opacity: .4;
}
.mega__cats .nm { flex: 1; }
.mega__cats .nm small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}
.mega__cats button:hover { background: var(--bg-soft); color: var(--brand); }
.mega__cats button.is-active { background: var(--gold-soft); color: var(--brand); font-weight: 600; }
.mega__cats button.is-active .nm small { color: #9b3227; }
.mega__cats button.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 2px;
  background: var(--gold);
}
.mega__cats a.all {
  display: block;
  margin: 14px 14px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--brand-2);
}
.mega__cats a.all:hover { color: var(--brand); text-decoration: underline; }

.mega__panel { padding-left: 32px; }
.mega__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.mega__panel-head h3 { font-size: 16px; }
.mega__panel-head span { font-size: 12.5px; color: var(--muted); }

.mega__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
}
.mega__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  border-radius: var(--radius);
  transition: .18s;
}
.mega__item:hover { background: var(--bg-soft); }
.mega__thumb {
  flex-shrink: 0;
  width: 54px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
.mega__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mega__item[data-cat="outdoor"] .mega__thumb {
  background: linear-gradient(160deg, #f4f7fb 0%, #e9eff7 100%);
}
.mega__thumb svg { width: 40px; height: auto; }
.mega__item b {
  display: block;
  font-size: 13.8px;
  font-weight: 500;
  color: var(--ink);
  transition: .18s;
}
.mega__item:hover b { color: var(--brand); }
.mega__item em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.mega__txt { min-width: 0; flex: 1; }
.mega__item i {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--brand-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega__item--series { align-items: flex-start; padding: 11px 12px; }
.mega__item--series .mega__thumb { width: 56px; height: 46px; }
.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}
.mega__foot a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  transition: gap .2s;
}
.mega__foot a:hover { gap: 12px; }

/* 索引展开时，导航项同步高亮 */
.nav__links a.is-mega { color: var(--brand); font-weight: 600; }
.nav__links a.is-mega::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 1px;
  height: 2px;
  background: var(--gold);
}

@media (max-width: 1080px) {
  .mega__inner { grid-template-columns: 208px 1fr; }
  .mega__items { grid-template-columns: 1fr; }
  .mega__panel { padding-left: 24px; }
}
@media (max-width: 860px) {
  .mega { display: none; }
}

/* -------------------------------------------------------- 语言切换器 */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.lang button {
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: .2s;
  line-height: 1;
}
.lang button:hover { color: var(--brand); }
.lang button.is-on {
  background: #fff;
  color: var(--brand);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* 英文模式下中文长句会变长，略放宽行高 */
html[data-lang="en"] body { line-height: 1.8; }
html[data-lang="en"] .hero h1 { letter-spacing: -.015em; }
html[data-lang="en"] .card p,
html[data-lang="en"] .product__body > p { font-size: 14px; }

/* ------------------------------------------------------ 产品筛选区 */
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.filter-head .filters {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.filter-count { font-size: 13px; color: var(--muted); white-space: nowrap; }

.filters--series {
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 38px;
}
.filters--series button {
  height: 34px;
  padding: 0 15px;
  border-radius: 4px;
  font-size: 13px;
}
.filters--series button i {
  font-style: normal;
  margin-left: 7px;
  font-size: 11.5px;
  opacity: .65;
}
.filters--series button.is-active i { opacity: .85; }

/* -------------------------------------------------------- 定位高亮 */
.product.is-focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(155, 50, 39, .22), var(--shadow);
}

/* -------------------------------------------------------------- 页脚 */
.site-footer {
  background: #0f2444;
  color: #b3c3da;
  padding: calc(var(--sec-pad) * .75) 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.site-footer li { margin-bottom: 11px; }
.site-footer a { transition: .2s; }
.site-footer a:hover { color: #e39a86; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: #9fb0c8; }
.footer-about { margin-top: 22px; max-width: 300px; line-height: 1.85; font-size: 13.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #a3b3ca;
}

/* ---------------------------------------------------------- 内页头部 */
.page-head {
  position: relative;
  background:
    radial-gradient(720px 320px at 82% 0%, #eaf0f9 0%, rgba(234,240,249,0) 62%),
    linear-gradient(180deg, #ffffff 0%, #fafcfd 100%);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--hero-pad) * .7) 0 calc(var(--hero-pad) * .62);
}
.crumb {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.crumb a:hover { color: var(--brand); }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); }
.page-head .lead {
  margin-top: 20px;
  max-width: 660px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* ------------------------------------------- 产品实拍图（清单导出） */
/* 有实拍图的型号用实拍图，没有的仍用内置 SVG 插画 */
.product__visual.has-img {
  background: #fff;
  overflow: hidden;
}
.product__visual.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .38s cubic-bezier(.22,.61,.36,1);
}
a.product__visual.has-img:hover img { transform: scale(1.035); }
.product__visual--lg {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
/* scale-down：大图按容器缩放，小图保持原始像素不被拉伸（避免放大糊掉） */
.product__visual--lg img { object-fit: scale-down; }

/* ------------------------------------------------------------ 详情页 */
.crumb--page { padding: 26px 0 0; margin-bottom: 0; }
.detail {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: start;
}
.detail__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag--soft { background: var(--bg-soft); color: var(--muted); }
.detail__info h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.detail__en {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .01em;
}
.detail__desc {
  margin: 22px 0 0;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
}
.detail__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.detail__block { margin-top: 72px; }
.detail__h2 {
  font-size: 20px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.spec--full { margin: 0; border-top: 1px solid var(--line-soft); }
.spec--full > div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec--full > div:last-child { border-bottom: 0; }
.spec--full dt { font-size: 14px; color: var(--muted); }
.spec--full dd { margin: 0; font-size: 14.5px; color: var(--ink); font-weight: 500; }

/* 详情页底部「同系列其他型号」的紧凑卡片 */
.product--mini .product__body { padding: 18px 20px 20px; }
.product--mini h3 { font-size: 15px; }
.product--mini p { margin-top: 6px; font-size: 13px; color: var(--muted); }

@media (max-width: 1080px) {
  .detail { grid-template-columns: 1fr; gap: 36px; }
  .detail__media { max-width: 560px; }
  .detail__block { margin-top: 52px; }
  .spec--full > div { grid-template-columns: 200px 1fr; }
}
@media (max-width: 560px) {
  .detail__act .btn, .detail__act .fav { flex: 1 1 auto; justify-content: center; }
  .spec--full > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================== 首屏导航入场动画（一次性）
   html.is-intro 由各页 <head> 里的内联小脚本决定是否添加——
   站内跳转不加，首次打开 / 刷新才加；site.js 在动画结束后移除该 class。
   ---------------------------------------------------------------------- */

/* 导航项：从 logo 方向（左侧）弹出并向右落位 */
@keyframes navItemIn {
  from { opacity: 0; transform: translateX(-26px) scale(.94); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(9px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
html.is-intro .site-header .brand__logo {
  animation: brandIn .84s cubic-bezier(.2, .9, .3, 1.04) backwards;
}
html.is-intro .site-header .brand__text {
  animation: navItemIn .52s cubic-bezier(.2, .9, .3, 1.04) backwards .06s;
}
html.is-intro .site-header .nav__links a,
html.is-intro .site-header .lang,
html.is-intro .site-header .nav__actions,
html.is-intro .site-header .nav__toggle {
  animation: navItemIn .56s cubic-bezier(.2, .9, .3, 1.04) backwards;
  transform-origin: left center;
}

/* 以 logo 为起点，自左向右依次弹出 */
html.is-intro .site-header .nav__links a:nth-child(1) { animation-delay: .22s; }
html.is-intro .site-header .nav__links a:nth-child(2) { animation-delay: .28s; }
html.is-intro .site-header .nav__links a:nth-child(3) { animation-delay: .34s; }
html.is-intro .site-header .nav__links a:nth-child(4) { animation-delay: .40s; }
html.is-intro .site-header .lang { animation-delay: .48s; }
html.is-intro .site-header .nav__actions { animation-delay: .55s; }
html.is-intro .site-header .nav__toggle { animation-delay: .55s; }

@media (prefers-reduced-motion: reduce) {
  html.is-intro .site-header .brand__logo,
  html.is-intro .site-header .brand__text,
  html.is-intro .site-header .nav__links a,
  html.is-intro .site-header .lang,
  html.is-intro .site-header .nav__actions,
  html.is-intro .site-header .nav__toggle { animation: none; }
}

/* ------------------------------------------------------------ 动效 */
/* 滚动显现：只在「首次打开 / 刷新」时启用（html.intro-fx，由各页 head 内联脚本添加，
   且不会被 site.js 移除——下面的首屏导航动画用的 is-intro 会在 1.6s 后被摘掉，
   而 .reveal 要等用户往下滚动才触发，必须整个页面生命周期都有效）。
   站内跳转时没有 intro-fx，内容直接呈现，不再每次都滚动一遍。 */
.reveal { opacity: 1; transform: none; }
html.intro-fx .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
html.intro-fx .reveal.is-in { opacity: 1; transform: none; }

/* 系统要求减少动态效果时，滚动显现直接呈现最终内容 */
@media (prefers-reduced-motion: reduce) {
  .reveal, html.intro-fx .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================ 比例适配
   按「宽度 → 高度 → 宽高比」三层递进组织。CSS 同级选择器后写者覆盖先写者，
   所以顺序不能调换；各层只改 :root 里的尺寸变量（--maxw / --nav-h / --gut /
   --sec-pad / --hero-pad），不直接覆盖 .section 这类组件的 padding，
   避免把 .section--tight 一起改掉。
   ------------------------------------------------------------------
   设备对照
     超宽屏    ≥2400 · ≥1920 · ≥1600     (21:9 / 32:9 显示器)
     桌面      1081–1599                  (1920×1080 / 1440×900)
     小笔记本  901–1080                   (1366×768 / 1280×800)
     平板竖屏  701–900                    (768×1024 / 834×1194)
     手机横屏  landscape + 矮屏           (844×390 / 740×360)
     手机竖屏  ≤700 → ≤560 → ≤420
     矮屏      max-height 880 / 740 / 620 / 500 (含浏览器工具栏后的可视高度)
   ============================================================ */

/* ---------------- 1. 宽度层：由宽到窄 ---------------- */

/* 超宽屏：放宽容器，同时加大栏距，避免内容被拉成一条 */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
  .hero__inner { gap: 84px; }
  .grid { gap: 30px; }
}
@media (min-width: 1920px) {
  :root { --maxw: 1440px; --sec-pad: 108px; --hero-pad: 116px; }
  .hero__inner { gap: 96px; }
}
@media (min-width: 2400px) {
  :root { --maxw: 1560px; --hero-pad: 128px; }
  body { font-size: 16px; }
}

/* 小笔记本 / 横屏平板：三栏开始局促，降到两栏并收紧卡片内边距 */
@media (max-width: 1080px) {
  :root { --hero-pad: 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { max-width: 520px; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { padding: 48px 28px; order: 2; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li { padding-right: 20px; }
  .stats li:nth-child(2n) { border-right: 0; }
  .card { padding: 32px 26px; }
  .panel { padding: 28px; }
}

/* 平板竖屏：边距与纵向节奏整体收一档 */
@media (max-width: 900px) {
  :root { --gut: 22px; --sec-pad: 78px; --hero-pad: 64px; }
  .section-head { margin-bottom: 44px; }
}

/* 手机（宽）：导航折叠为抽屉 */
@media (max-width: 860px) {
  :root { --sec-pad: 68px; --hero-pad: 56px; }
  .nav__links {
    position: fixed;
    left: 0; right: 0; top: var(--nav-h);
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 2px;
    display: none;
    box-shadow: var(--shadow);
    max-height: calc(var(--vh) - var(--nav-h));
    overflow: auto;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 12px; }
  .nav__links a.is-active::after { display: none; }
  .nav__links a.is-active { background: var(--bg-soft); }
  .nav__toggle { display: grid; }
  .field-row { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

/* 手机（中）：多栏一律回落为单栏 */
@media (max-width: 700px) {
  :root { --gut: 20px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; }
  .hero__lead { font-size: 15.5px; }
}

/* 手机（窄） */
@media (max-width: 560px) {
  :root { --gut: 18px; --sec-pad: 58px; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__tags { flex-direction: column; gap: 16px; }
  .hero__tags li { border-right: 0; margin: 0; padding: 0; }
  .auth__card { padding: 28px 22px; }
  .card { padding: 30px 22px; }
  .panel { padding: 24px 20px; }
  .account-head__act { margin-left: 0; width: 100%; }
}

/* 手机（很窄，如 360px）：按钮通栏、数据条单列 */
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stats li { border-right: 0; padding: 24px 0 0; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .section-head h2 { font-size: 24px; }
}

/* ---------------- 2. 高度层：由高到矮 ----------------
   矮屏（1366×768 带工具栏、手机横屏）最怕首屏全是留白，
   导航高度与区块节奏跟着可视高度一起收。
   注意：这一层限定在 min-width 861px（笔记本/桌面/横屏平板），
   否则会盖掉宽度层给手机竖屏的紧凑值——手机竖屏本来就矮，
   该由宽度层和下面的宽高比层负责。 */

@media (max-height: 880px) and (min-width: 861px) {
  :root { --nav-h: 70px; --hero-pad: 84px; --sec-pad: 84px; }
}
@media (max-height: 740px) and (min-width: 861px) {
  :root { --nav-h: 64px; --hero-pad: 58px; --sec-pad: 64px; }
  .hero h1 { font-size: clamp(28px, 3.6vw, 44px); }
  .hero__lead { margin-top: 20px; }
  .hero__actions { margin-top: 28px; }
  .hero__tags { margin-top: 34px; padding-top: 20px; }
  .section-head { margin-bottom: 40px; }
  .auth { min-height: auto; }
  .auth__main { padding: 36px 24px; }
  .auth__aside { padding: 40px 32px; }
  .auth__aside .checks { margin-top: 26px; }
}
@media (max-height: 620px) and (min-width: 861px) {
  :root { --nav-h: 58px; --hero-pad: 40px; --sec-pad: 48px; }
  .card { padding: 26px 22px; }
  .auth__card { padding: 26px 24px; }
}
@media (max-height: 500px) and (min-width: 861px) {
  :root { --hero-pad: 28px; --sec-pad: 36px; }
  .hero__art { display: none; }
  .section-head { margin-bottom: 28px; }
}

/* ---------------- 3. 宽高比层：补宽度 / 高度层覆盖不到的比例 ---------------- */

/* 竖屏平板（宽不窄但屏很高）：纵向节奏比同宽度的横屏再收一档 */
@media (max-aspect-ratio: 5/6) and (min-width: 761px) {
  :root { --sec-pad: 72px; --hero-pad: 60px; }
}

/* 超宽矮屏（21:9 带鱼屏）：首屏加大文字侧占比，并把带鱼屏的横向余量用在栏距上 */
@media (min-aspect-ratio: 2/1) and (min-width: 1200px) {
  :root { --hero-pad: 80px; --sec-pad: 84px; }
  .hero__inner { grid-template-columns: 1.12fr .88fr; gap: 72px; }
}

/* 手机横屏：首屏恢复双栏、登录页恢复左右分栏，不再一屏只看得到半张卡片 */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 640px) {
  :root { --hero-pad: 26px; --sec-pad: 40px; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
  .hero__art { display: block; max-width: 300px; }
  .auth { grid-template-columns: 1fr 1fr; min-height: auto; }
  .auth__aside { order: 0; padding: 26px 24px; }
  .auth__aside h2 { font-size: 20px; }
  .auth__aside .checks { display: none; }
  .auth__main { padding: 22px 20px; }
}

/* 超小横屏（如 568×320）：宽度层给的值对 320px 高的屏幕还是太大，单独收一档 */
@media (orientation: landscape) and (max-height: 520px) and (max-width: 639px) {
  :root { --nav-h: 54px; --hero-pad: 22px; --sec-pad: 34px; --gut: 16px; }
  .hero__art { display: none; }
}

/* ---------------- 4. 刘海屏安全区 ----------------
   放在最后，保证不会被上面的边距覆盖。 */
@supports (padding: max(0px)) {
  .wrap {
    padding-left: max(var(--gut), env(safe-area-inset-left));
    padding-right: max(var(--gut), env(safe-area-inset-right));
  }
}

/* ==========================================================================
 * 新闻资讯 / 技术文档
 * ========================================================================== */
.tabs--news { max-width: 400px; margin-bottom: 36px; }

.postlist { border-top: 1px solid var(--line-soft); }

.post {
  display: block;
  padding: 28px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.post__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.post__tag {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 11.5px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.post time { white-space: nowrap; }

.post h3 {
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 10px;
  transition: color .18s ease;
}

.post p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.post__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--brand-2);
}

.post__more i {
  font-style: normal;
  display: inline-block;
  margin-left: 6px;
  transition: transform .18s ease;
}

.post:hover h3 { color: var(--brand); }
.post:hover .post__more i { transform: translateX(4px); }

/* 文章详情 */
.article { max-width: 860px; }

.article__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.article h1 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.4;
  margin-bottom: 28px;
}

.article__body p {
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.article__back { margin-top: 30px; }

.related {
  max-width: 860px;
  margin-top: 56px;
  border-top: 1px solid var(--line-soft);
  padding-top: 34px;
}

.related h2 { font-size: 20px; margin: 0 0 14px; }

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

.related li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.related li time {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.related li a { color: var(--ink-2); }
.related li a:hover { color: var(--brand); }

/* ==========================================================================
   首页合并板块（源自旧站首页结构 — 关于我们 / 成功案例 / 新闻资讯预览）
   ========================================================================== */

/* 关于启帆 — 左文右图（对应旧站「关于我们」区块） */
.about-strip__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.about-strip__body h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 16px;
}
.about-strip__points {
  display: flex;
  gap: 36px;
  margin: 26px 0 32px;
  flex-wrap: wrap;
}
.about-strip__points li {
  font-size: 13.5px;
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  line-height: 1.5;
}
.about-strip__media img {
  width: 100%;
  /* height:auto 必须保留：图上有 width/height 属性（防 CLS），
     若不置 auto，属性里的 height 会生效并把图片拉成竖长条，aspect-ratio 失效 */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* 成功案例（对应旧站「成功案例」区块，F21 / F11 / F38） */
.cases .grid { gap: 26px; }
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .28s ease;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.case-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--brand-soft);
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.case-card__tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 2px;
}
.case-card__body h3 { font-size: 22px; }
.case-card__body p {
  font-size: 13.8px;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.case-card__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
}
.case-card__link i {
  font-style: normal;
  margin-left: 6px;
  display: inline-block;
  transition: transform .2s;
}
.case-card:hover .case-card__link i { transform: translateX(4px); }

/* 新闻资讯预览（对应旧站「新闻资讯」区块，复用 news 页 .tabs--news/.postlist/.post） */
.home-news__more { margin-top: 44px; text-align: center; }

@media (max-width: 900px) {
  .about-strip__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-strip__media { order: -1; }
}


/* ------------------------------------------------------------------
 * 页头：品牌名下方增补「咨询电话」（2026-09-21）
 * 结构：.brand--head > (.brand__link + .brand__phone)
 * 电话为 tel: 链接，移动端可点击直接拨号。
 * ------------------------------------------------------------------ */
.nav .brand--head { flex-direction: column; align-items: flex-start; gap: 1px; }
.nav .brand__link { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand__phone {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin-left: 0;             /* 第 21 轮：Logo 位图左边缘即品牌左边缘 */
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
  color: var(--brand);
  white-space: nowrap;
}
.brand__phone-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand__phone:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .brand__phone { margin-left: 0; font-size: 11px; }
}

/* ------------------------------------------------------------------
 * 关于启帆条：公司全称标识行（2026-09-21，对应旧站「高州市启帆照明科技有限公司」一行）
 * ------------------------------------------------------------------ */
.about-strip__body .about-strip__name {
  display: inline-block;
  margin: 0 0 14px;
  padding-left: 11px;
  border-left: 3px solid var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.45;
  color: var(--brand);
}

/* ------------------------------------------------------------------
 * 关于我们页：厂区实景图（2026-09-21）
 * 位置：「公司简介」右栏，企业概览面板之上 —— 对应旧站「关于我们」
 * 区块的左文右图版式，配图为旧站同一张厂房实拍（assets/img/about/factory.jpg）。
 * ⚠️ height:auto 必须保留：图上有 width/height 属性（用于防 CLS），
 *    若不置 auto，属性里的 height 会生效并把图片拉成竖长条，aspect-ratio 失效。
 * ------------------------------------------------------------------ */
.about-photo { margin: 0 0 26px; }
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.about-photo figcaption {
  margin-top: 13px;
  padding-left: 11px;
  border-left: 2px solid var(--gold);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ==================================================================
 * 页面调性主题（2026-09-21 · 第 21 轮：全站统一到 Logo 配色）
 * 全站口径：白底 + 藏蓝 #12294b（结构色）+ 砖红 #9b3227（强调色），
 *           两色直接取自公司 Logo，底色一律白色系。
 * 约定：页面级调色一律收口在这里，用 body[data-page="..."] 限域，
 *       不新增全局规则；首页的调性在 index.html 内联的 <style id="skin">。
 *       页面之间只保留「气质」差异（圆角 / 阴影 / 区块底），不再换色系。
 * ================================================================== */

/* ------------------------------------------------------------------
 * 1) 关于我们：同一白底体系，气质更放松、缓和
 *    大圆角 + 轻阴影 + 极淡的藏蓝/砖红柔光，颜色仍是藏蓝 + 砖红。
 * ------------------------------------------------------------------ */
body[data-page="about"] {
  --radius:10px;
  --shadow-sm:0 1px 2px rgba(18,41,75,.04);
  --shadow:0 18px 44px -26px rgba(18,41,75,.20);
  --shadow-lg:0 30px 64px -38px rgba(18,41,75,.26);
  background-color:#ffffff;
  background-image:
    radial-gradient(1000px 520px at 94% -6%, rgba(43,90,148,.10) 0%, rgba(43,90,148,0) 64%),
    radial-gradient(820px 480px at 0% 48%, rgba(155,50,39,.055) 0%, rgba(155,50,39,0) 62%);
  background-attachment:fixed, fixed;
}
body[data-page="about"] .page-head {
  background:
    radial-gradient(760px 340px at 84% -12%, rgba(43,90,148,.16) 0%, rgba(43,90,148,0) 66%),
    linear-gradient(180deg,#ffffff 0%,#f3f6fb 100%);
  border-bottom-color:var(--line);
}
body[data-page="about"] .panel--soft { background:#f5f7fa; border-color:var(--line-soft); }
body[data-page="about"] .card::before { background:linear-gradient(180deg, var(--brand), var(--gold)); }
body[data-page="about"] .about-photo img { box-shadow:0 26px 60px -34px rgba(18,41,75,.42); }
body[data-page="about"] .cta {
  background:
    radial-gradient(780px 370px at 50% -42%, rgba(155,50,39,.40) 0%, rgba(155,50,39,0) 70%),
    linear-gradient(135deg,#0d1f3c 0%,#173463 100%);
}
body[data-page="about"] .cta p { color:#c3d1e6; }
body[data-page="about"] .site-footer { background-color:#0f2444; border-top-color:rgba(155,50,39,.45); }

/* ------------------------------------------------------------------
 * 2) 产品服务：户外照明系列的强调色
 *    页面底色与企业蓝保持白底，户外系列改用 Logo 砖红 + 暖沙底
 *    （呼应 Logo 里那道「日出拱」），4px 侧栏 + 顶端色带让「户外」一眼可辨，
 *    其余产品线仍是藏蓝。
 * ------------------------------------------------------------------ */
body[data-page="products"] article.product[data-cat="outdoor"],
body[data-page="product"][data-cat="outdoor"] .product--mini {
  --nat:#9b3227; --nat-2:#c26449;
  --nat-line:#f0d6cb;
  border-color:var(--nat-line);
  border-left:4px solid var(--nat);
  background-color:#fffdfc;
  background-image:
    linear-gradient(90deg, var(--nat) 0%, var(--nat-2) 52%, rgba(194,100,73,0) 100%),
    linear-gradient(180deg, #fffaf7 0%, #fdf0e9 100%);
  background-size:100% 3px, 100% 100%;
  background-position:0 0, 0 0;
  background-repeat:no-repeat, no-repeat;
}
body[data-page="products"] article.product[data-cat="outdoor"]:hover {
  border-color:#e6c2b4;
  border-left-color:#8a2a20;
  box-shadow:0 20px 44px -22px rgba(155,50,39,.36);
}
body[data-page="products"] article.product[data-cat="outdoor"] .product__visual,
body[data-page="product"][data-cat="outdoor"] .product--mini .product__visual {
  background:linear-gradient(160deg,#fdf3ee 0%,#f6e0d6 100%);
  border-bottom-color:#f0d6cb;
}
/* 图片区盖一层极淡的暖光，让实拍图整体偏向日出暖色 */
body[data-page="products"] article.product[data-cat="outdoor"] .product__visual.has-img::after,
body[data-page="product"][data-cat="outdoor"] .detail__media .product__visual.has-img::after,
body[data-page="product"][data-cat="outdoor"] .product--mini .product__visual.has-img::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(155,50,39,.10) 0%, rgba(155,50,39,0) 48%, rgba(194,100,73,.10) 100%);
  mix-blend-mode:multiply;
}
body[data-page="products"] article.product[data-cat="outdoor"] h3 { color:#3a2018; }
body[data-page="products"] article.product[data-cat="outdoor"] .product__body > p { color:#7d6a63; }
body[data-page="products"] article.product[data-cat="outdoor"] .tag,
body[data-page="product"][data-cat="outdoor"] .product--mini .tag {
  background:#fbeee9; color:#8a2a20; box-shadow:inset 0 0 0 1px #f0d6cb;
}
body[data-page="products"] article.product[data-cat="outdoor"] .fav {
  background:#fffaf7; border-color:#f0d6cb; color:#8a2a20;
}
body[data-page="products"] article.product[data-cat="outdoor"] .fav:hover { border-color:#c26449; color:#8a2a20; }
body[data-page="products"] article.product[data-cat="outdoor"] .fav.is-on {
  background:#fbeee9; border-color:#9b3227; color:#7d251c;
}

/* 筛选 / 系列条：选中户外照明时用 Logo 砖红强调 */
body[data-page="products"] .filters button[data-cat="outdoor"]:hover { border-color:#c26449; color:#8a2a20; }
body[data-page="products"] .filters button[data-cat="outdoor"].is-active {
  background:#9b3227; border-color:#9b3227; box-shadow:0 10px 24px -14px rgba(155,50,39,.55);
}
body[data-page="products"] #seriesBar[data-cat="outdoor"] button:hover { border-color:#c26449; color:#8a2a20; }
body[data-page="products"] #seriesBar[data-cat="outdoor"] button.is-active { background:#9b3227; border-color:#9b3227; color:#fff; }

/* 详情页：户外型号的内容区整块走暖色强调（页头页脚保持藏蓝体系） */
body[data-page="product"][data-cat="outdoor"] #detailWrap { --line:#f0d6cb; --line-soft:#fbeee9; }
body[data-page="product"][data-cat="outdoor"] .detail__media .product__visual {
  background:linear-gradient(160deg,#fdf3ee 0%,#f6e0d6 100%);
  border-color:#f0d6cb;
}
body[data-page="product"][data-cat="outdoor"] .detail .tag { background:#fbeee9; color:#8a2a20; box-shadow:inset 0 0 0 1px #f0d6cb; }
body[data-page="product"][data-cat="outdoor"] .detail .tag--soft { background:#fef7f4; color:#9b3227; }
body[data-page="product"][data-cat="outdoor"] .detail__en { color:#c26449; }
body[data-page="product"][data-cat="outdoor"] .detail__act { border-top-color:#f0d6cb; }
body[data-page="product"][data-cat="outdoor"] .detail .btn--primary { background:#9b3227; color:#fff; }
body[data-page="product"][data-cat="outdoor"] .detail .btn--primary:hover { background:#8a2a20; }
body[data-page="product"][data-cat="outdoor"] .detail .btn--ghost { background:#fffaf7; border-color:#f0d6cb; color:#8a2a20; }
body[data-page="product"][data-cat="outdoor"] .detail .btn--ghost:hover { border-color:#9b3227; color:#7d251c; }
body[data-page="product"][data-cat="outdoor"] .detail__h2 { border-bottom-color:#f0d6cb; }
body[data-page="product"][data-cat="outdoor"] .spec--full > div { border-bottom-color:#fbeee9; }
