/* ============================================================
   STEELWap - 站点公共样式
   仅包含全站一致的公共部分（页头 / 基础布局 / 移动端全屏菜单）。
   页面私有样式保留在各页面 <style> 中。
   ============================================================ */
html, body { height: 100%; }
body { display: flex; flex-direction: column; }

/* ===== 页头 ===== */
.header { background: var(--color-primary); height: 56px; flex-shrink: 0; position: relative; z-index: 100; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.header-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.header-logo svg { height: 28px; width: auto; display: block; fill: currentColor; }
.header-logo .brand { font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.header-logo .slogan { font-size: 12px; opacity: .7; white-space: nowrap; display: none; }
@media (min-width: 600px) { .header-logo .slogan { display: inline; } }
.header-nav { display: flex; align-items: center; gap: 2px; }
.header-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 16px; border-radius: var(--radius-md); letter-spacing: 1px; transition: background .2s, color .2s; }
.header-nav a:hover { background: rgba(255,255,255,.15); color: #fff; }
.header-nav a.active { background: rgba(255,255,255,.22); color: #fff; }
.header-toggle { display: none; }
@media (max-width: 600px) {
  .header-nav { display: none; }
  .header-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.35);
    border-radius: var(--radius-md); background: transparent; color: #fff; cursor: pointer;
  }
  .header-toggle:hover { background: rgba(255,255,255,.15); }
}

/* ===== 移动端全屏菜单（方案 C：全屏深色） ===== */
.full-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  flex-direction: column;
  background: linear-gradient(155deg, #1A4480 0%, #0E2547 100%);
}
.full-nav-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 18px 0 20px; color: #fff; flex-shrink: 0;
}
.fn-logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 1px; font-size: 15px; }
.fn-logo svg { height: 24px; width: auto; fill: currentColor; }
.full-nav-close {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
}
.full-nav-menu { flex: 1; overflow-y: auto; padding: 18px 24px 12px; }
.full-nav .fmi {
  display: flex; align-items: center; gap: 14px;
  color: #fff; text-decoration: none; font-size: 19px; font-weight: 600;
  letter-spacing: 1px; padding: 16px 2px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.full-nav .fmi .fmi-icon { display: flex; color: rgba(255,255,255,.6); }
.full-nav .fmi .fmi-icon svg { width: 22px; height: 22px; }
.full-nav .nav-chev { width: 18px; height: 18px; }
.full-nav .fitem { display: flex; align-items: center; flex-wrap: wrap; }
.full-nav .fitem > .fmi-top { flex: 1; }
.full-nav .fitem > .nav-chev { margin-left: auto; color: rgba(255,255,255,.5); flex-shrink: 0; transition: transform .25s; }
.full-nav .fitem.open > .nav-chev { transform: rotate(90deg); }
.full-nav .fkids { display: none; flex-basis: 100%; }
.full-nav .fitem.open .fkids { display: block; animation: fullKid .22s ease; padding: 4px 0 10px; }
.full-nav .fmi-child {
  font-size: 15.5px; font-weight: 500; letter-spacing: .5px;
  padding: 13px 6px 13px 20px; color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.full-nav .fgroup { display: flex; align-items: center; flex-wrap: wrap; }
.full-nav .fgroup > .fmi-child { flex: 1; }
.full-nav .fgroup > .nav-chev { margin-left: auto; color: rgba(255,255,255,.45); flex-shrink: 0; transition: transform .25s; }
.full-nav .fgroup.open > .nav-chev { transform: rotate(90deg); }
.full-nav .fsub { display: none; flex-basis: 100%; }
.full-nav .fgroup.open .fsub {
  display: block; animation: fullKid .22s ease;
  background: rgba(255,255,255,.06); border-radius: 10px;
  margin: 6px 0 10px 12px; padding: 4px 0;
}
.full-nav .fmi-grand {
  font-size: 14px; font-weight: 400; letter-spacing: .5px;
  padding: 11px 14px 11px 26px; color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.full-nav .fmi-grand:last-child { border-bottom: none; }
.full-nav .fitem.active > .fmi-top { background: rgba(255,255,255,.14); border-radius: 10px; padding-left: 14px; }
.full-nav-foot {
  flex-shrink: 0; padding: 14px 28px 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.65); font-size: 13px;
  display: flex; flex-direction: column; gap: 8px;
}
.fn-call {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none; padding: 2px 0;
}
.fn-call svg { width: 22px; height: 22px; flex-shrink: 0; color: rgba(255,255,255,.9); }
.fn-call b { font-size: 19px; font-weight: 700; letter-spacing: 1px; color: #fff; }
.fn-call:active { opacity: .8; }
.fn-hours { font-size: 12px; color: rgba(140,190,255,.72); }
.fn-mail { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.fn-mail svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 600px) {
  .full-nav.open { display: flex; animation: fullIn .3s ease; }
  .full-nav.open .full-nav-menu > .fmi,
  .full-nav.open .full-nav-menu > .fitem { animation: fullUp .38s ease both; }
  .full-nav.open .full-nav-menu > .fmi:nth-child(2),
  .full-nav.open .full-nav-menu > .fitem:nth-child(2) { animation-delay: .06s; }
  .full-nav.open .full-nav-menu > .fmi:nth-child(3),
  .full-nav.open .full-nav-menu > .fitem:nth-child(3) { animation-delay: .12s; }
  .full-nav.open .full-nav-menu > .fmi:nth-child(4),
  .full-nav.open .full-nav-menu > .fitem:nth-child(4) { animation-delay: .18s; }
  .full-nav.open .full-nav-menu > .fmi:nth-child(5),
  .full-nav.open .full-nav-menu > .fitem:nth-child(5) { animation-delay: .24s; }
  .full-nav.open .full-nav-menu > .fmi:nth-child(6),
  .full-nav.open .full-nav-menu > .fitem:nth-child(6) { animation-delay: .30s; }
}
@keyframes fullIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fullKid { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes fullUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ===== 主内容布局 ===== */
.main-content { flex: 1; }
.hidden { display: none !important; }
