/* ==========================================================================
   zhaogonghao.com — 基础层（名爵号 · 港航六路）
   重置 / 变量 / 深青导航 / 页脚 / 通用按钮 / 折叠 / 标签页 / 动效
   6 张关键词内页的骨架、栅格与配色均在各自 CSS 内定义。
   ========================================================================== */

:root {
  --ink: #1c2733;
  --ink-2: #33455a;
  --muted: #6d8299;
  --line: rgba(28, 39, 51, .14);
  --line-strong: rgba(28, 39, 51, .3);
  --paper: #f3f6f8;
  --paper-2: #e9eef3;
  --white: #fffdfa;
  --night: #0f1b28;
  --night-2: #182838;
  --shen: #1f4e79;      /* 深青 */
  --shen-2: #2f6f9e;
  --shen-soft: rgba(31, 78, 121, .09);
  --shen-line: rgba(31, 78, 121, .35);
  --jin: #c9a24b;       /* 港金 */
  --jin-deep: #a87f2f;
  --jin-soft: rgba(201, 162, 75, .12);
  --jin-line: rgba(201, 162, 75, .45);
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-s: 0 2px 10px rgba(28, 39, 51, .07);
  --shadow-m: 0 22px 58px rgba(28, 39, 51, .15);
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --container: 1180px;
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 26px;
}
.container.narrow { max-width: 860px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--shen);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 顶部导航（深青 + 港金） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(243, 246, 248, .95);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 10px 26px rgba(28, 39, 51, .09); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--shen);
  color: #f0e6cf;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  border: 2px solid var(--jin);
}

.brand-text {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
  color: var(--ink);
}
.brand-text em {
  font-style: normal;
  color: #948c7a;
  margin-left: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--mono);
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-nav a {
  padding: 7px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s, background .2s, box-shadow .2s;
}
.site-nav a:hover { color: var(--jin-deep); background: var(--jin-soft); }
.site-nav a.is-active {
  color: var(--jin-deep);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--jin);
  border-radius: 3px 3px 0 0;
}

.btn-login {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--shen);
  color: #eef4f8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 6px 16px rgba(31, 78, 121, .22);
}
.btn-login:hover { transform: translateY(-2px); background: var(--shen-2); box-shadow: 0 10px 22px rgba(31, 78, 121, .3); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--shen);
  color: #f2f7fb;
  box-shadow: 0 12px 26px rgba(31, 78, 121, .26);
}
.btn-primary:hover { background: var(--shen-2); box-shadow: 0 16px 32px rgba(31, 78, 121, .34); }

.btn-outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: .88;
}
.btn-outline:hover { opacity: 1; }

.btn-room {
  cursor: default;
  user-select: all;
  background: transparent;
  color: inherit;
  border-color: currentColor;
  border-style: dashed;
  opacity: .92;
}
.btn-room:hover { transform: none; }
.btn-room b {
  color: var(--jin-deep);
  letter-spacing: 1.6px;
  font-family: var(--mono);
}

.btn:focus-visible,
.site-nav a:focus-visible,
.btn-login:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(201, 162, 75, .55);
  outline-offset: 3px;
}

.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s, background .2s, transform .2s;
}
.tg-link:hover { border-color: #229ed9; background: rgba(34, 158, 217, .08); transform: translateY(-1px); }
.tg-link svg { width: 16px; height: 16px; flex: none; }

/* ---------- 面包屑 ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: .3px;
}
.crumb a:hover { color: var(--jin-deep); }
.crumb span { opacity: .55; }

/* ---------- 折叠（accordion） ---------- */
.acc-list { display: grid; gap: 10px; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  background: none;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}
.acc-trigger::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--jin-deep);
  transition: transform .25s;
  flex: none;
}
.acc-item.is-open .acc-trigger::after { transform: rotate(45deg); }
.acc-panel {
  display: none;
  padding: 0 18px 16px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.acc-item.is-open .acc-panel { display: block; animation: accIn .3s ease; }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 标签页 ---------- */
.route-panel { display: grid; gap: 22px; }
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .2s;
}
.tab:hover { border-color: var(--jin-line); color: var(--jin-deep); }
.tab.is-active {
  background: var(--shen);
  border-color: var(--shen);
  color: #f2f7fb;
  box-shadow: 0 8px 18px rgba(31, 78, 121, .24);
}
.tab-panel { display: none; }
.tab-panel.is-active {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-s);
  animation: accIn .3s ease;
}
.tab-panel h3 { font-size: 17px; }
.route-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.route-points li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--shen-soft);
  color: var(--shen);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--night);
  color: #c4cdd4;
  padding: 58px 0 0;
  font-size: 14px;
}
.site-footer h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #7d8b94;
  margin-bottom: 14px;
  font-family: var(--mono);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 44px;
}
.footer-brand .brand-mark { background: var(--night-2); }
.footer-brand .brand-text { color: #eef1f6; }
.footer-brand .brand-text em { color: #6d7888; }
.footer-brand a { margin-bottom: 14px; }
.footer-about { font-size: 13px; color: #8b95a6; line-height: 1.9; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col a { color: #aeb7c6; font-size: 13.5px; transition: color .2s; }
.footer-col a:hover { color: var(--jin); }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #dfe6f0;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}
.footer-contact a:hover { border-color: #229ed9; background: rgba(34, 158, 217, .14); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: 12.5px;
  color: #7d8b94;
  font-family: var(--mono);
}
.footer-bottom a { color: #aeb7c6; }
.footer-bottom a:hover { color: var(--jin); }

/* ---------- 动效（无 JS 时内容默认可见） ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px 18px 18px;
    background: rgba(243, 246, 248, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(28, 39, 51, .16);
  }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .btn-login { padding: 8px 10px; font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
