@charset "utf-8";
/* ==========================================================================
   爱德管理咨询 · 现代化主题样式 (theme.css)
   替换旧版 css.css（其依赖已丢失的 ../images/* 资源）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 基础重置
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink-900);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI",
    system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; border: 0; vertical-align: middle; }
a { color: var(--ink-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-600); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }

/* --------------------------------------------------------------------------
   2. 设计变量
   -------------------------------------------------------------------------- */
:root {
  --brand-900: #0a2540;
  --brand-800: #0f3a63;
  --brand-700: #12508f;
  --brand-600: #1668ad;
  --brand-500: #2b7fc7;
  --brand-100: #e9f1fa;
  --brand-050: #f4f8fd;

  --accent-500: #f5a623;
  --accent-600: #d98b0b;

  --ink-900: #16202e;
  --ink-700: #33415c;
  --ink-500: #5a6a85;
  --ink-300: #94a3b8;

  --line: #e3e9f2;
  --line-soft: #eef2f8;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 58, .06);
  --shadow: 0 6px 18px rgba(16, 32, 58, .08);
  --shadow-lg: 0 18px 42px rgba(16, 32, 58, .16);

  --container: 1200px;
  --container1700:1700px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   3. 通用工具
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container1700{
  width: 100%;
  max-width: var(--container1700);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute !important;
  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: 16px; top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--brand-700);
  color: #fff;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 3px solid rgba(43, 127, 199, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff;
  box-shadow: 0 8px 20px rgba(18, 80, 143, .28);
}
.btn--primary:hover { color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-700);
}
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-600); }

/* 区块标题 */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 40px; }
.section-head__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
}
.section-head__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink-900);
}
.section-head__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-500));
}
.section-head__desc {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--ink-500);
  font-size: 15px;
}
.section-head--left { text-align: left; margin-bottom: 26px; }
.section-head--left .section-head__title { text-align: left; }
.section-head--left .section-head__title::after { margin-left: 0; }

/* --------------------------------------------------------------------------
   4. 顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.topbar {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 38px;
}
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__links a { color: rgba(255, 255, 255, .78); }
.topbar__links a:hover { color: #fff; }
.topbar__user { display: flex; align-items: center; gap: 12px; }
.topbar__user a { color: rgba(255, 255, 255, .78); }
.topbar__user a:hover { color: var(--accent-500); }
.topbar__sep { color: rgba(255, 255, 255, .28); }
.topbar__qr { position: relative; cursor: pointer; }
.topbar__qr:hover { color: #fff; }
.qr-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 90;
  width: 168px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
  color: var(--ink-700);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .25s var(--ease);
}
.qr-pop::before {
  content: "";
  position: absolute;
  right: 22px; top: -6px;
  border: 6px solid transparent;
  border-bottom-color: #fff;
}
.qr-pop img { width: 132px; height: 132px; object-fit: contain; }
.qr-pop em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--ink-500); }
.topbar__qr:hover .qr-pop,
.topbar__qr:focus-within .qr-pop { opacity: 1; visibility: visible; transform: none; }

.header-main { border-bottom: 1px solid var(--line-soft); }
.header-main__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 96px;
}

.brand { display: block; flex: none; }
.brand img { display: block; width: 300px; height: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-700);
  font-size: 14px;
}
.nav-toggle__bars {
  position: relative;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: .25s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: .25s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.primary-nav { flex: 1; }
.primary-nav__list { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.primary-nav__item { position: relative; }
.primary-nav__item--mega { position: static; }
.primary-nav__link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.primary-nav__link:hover,
.primary-nav__item:hover > .primary-nav__link,
.primary-nav__link.is-active { color: var(--brand-700); background: var(--brand-050); }

.nav-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.primary-nav__item:hover > .nav-panel,
.primary-nav__item:focus-within > .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-panel--mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 30px 32px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; }
.mega-col__title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.mega-col__title em {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-right: 8px;
  border-radius: 7px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.mega-col li a {
  display: block;
  padding: 5px 0 5px 12px;
  position: relative;
  color: var(--ink-500);
  font-size: 13px;
}
.mega-col li a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--brand-300, #9cc4e6);
}
.mega-col li a:hover { color: var(--brand-600); padding-left: 16px; }
.mega-col li a:hover::before { background: var(--accent-500); }

.nav-panel--drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 12px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.nav-panel--drop a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: 14px;
  white-space: nowrap;
}
.nav-panel--drop a:hover { background: var(--brand-050); color: var(--brand-700); }

/* --------------------------------------------------------------------------
   5. 轮播横幅
   -------------------------------------------------------------------------- */
.hero { padding: 26px 0 8px; }
.hero__slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  aspect-ratio: 1920 / 381;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 37, 64, .45);
  color: #fff;
  opacity: 0;
  transition: .25s var(--ease);
}
.hero__slider:hover .hero__arrow { opacity: 1; }
.hero__arrow:hover { background: var(--brand-700); }
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }

.hero__dots {
  position: absolute;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 26px; height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .55);
  transition: .25s var(--ease);
}
.hero__dot.is-active { width: 40px; background: var(--accent-500); }

/* --------------------------------------------------------------------------
   6. 服务卡片
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-card__media {
  position: relative;
  display: block;
  aspect-ratio: 253 / 150;
  overflow: hidden;
  background: var(--bg-soft);
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__badge {
  position: absolute;
  left: 14px; bottom: 12px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(10, 37, 64, .72);
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .02em;
}
.service-card__body { display: block; padding: 18px 20px 22px; }
.service-card__en {
  display: block;
  color: var(--brand-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.service-card__title {
  display: block;
  margin-top: 6px;
  color: var(--ink-900);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: .3s var(--ease);
}
.service-card:hover .service-card__cta { opacity: 1; transform: none; }
.service-card__link:hover .service-card__title { color: var(--brand-700); }

/* --------------------------------------------------------------------------
   7. 关于我们 / 选项卡
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.tabs__tab {
  position: relative;
  padding: 12px 22px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  color: var(--ink-500);
  font-size: 15px;
  font-weight: 600;
  transition: .2s var(--ease);
}
.tabs__tab:hover { color: var(--brand-600); background: var(--brand-050); }
.tabs__tab.is-active { color: var(--brand-700); }
.tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-500));
}

.tabs__panel { display: none; padding-top: 26px; }
.tabs__panel.is-active { display: block; animation: fadeUp .45s var(--ease); }

.panel {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
}
.panel__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}
.panel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel__title { font-size: 19px; font-weight: 700; color: var(--ink-900); line-height: 1.6; }
.panel__title a:hover { color: var(--brand-600); }
.panel__text {
  margin-top: 12px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.panel__list { margin-top: 18px; border-top: 1px dashed var(--line); }
.panel__list li { border-bottom: 1px dashed var(--line); }
.panel__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 4px;
  color: var(--ink-700);
  font-size: 14px;
}
.panel__list a::after {
  content: "›";
  color: var(--ink-300);
  transition: transform .25s var(--ease);
}
.panel__list a:hover { color: var(--brand-600); padding-left: 6px; }
.panel__list a:hover::after { color: var(--brand-500); }

/* 侧边卡片 */
.side-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.side-card + .side-card { margin-top: 20px; }
.side-card__title {
  margin-bottom: 18px;
  padding-left: 12px;
  position: relative;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
}
.side-card__title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-600), var(--accent-500));
}

.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.stat { text-align: center; }
.stat__num {
  display: block;
  color: var(--brand-700);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}
.stat__num small { font-size: 14px; font-weight: 600; margin-left: 2px; }
.stat__label { display: block; margin-top: 4px; color: var(--ink-300); font-size: 12px; }

.side-card--cta {
  background: linear-gradient(150deg, var(--brand-800), var(--brand-600) 70%, #1f86c9);
  border: 0;
  color: rgba(255, 255, 255, .86);
}
.side-card--cta .side-card__title { color: #fff; }
.side-card--cta .side-card__title::before { background: var(--accent-500); }
.side-card__text { margin-bottom: 18px; font-size: 14px; line-height: 1.9; }
.side-card__tel { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.side-card__tel strong { color: #fff; font-size: 18px; }

/* --------------------------------------------------------------------------
   8. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .68);
  padding: 56px 0 0;
  font-size: 14px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.footer-brand__logo {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
}
.footer-brand__en {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
  letter-spacing: .14em;
}
.footer-brand__desc { margin: 16px 0 20px; line-height: 1.9; }
.footer-brand__tel { color: #fff; font-size: 20px; font-weight: 700; }
.footer-brand__tel small { font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .5); margin-right: 6px; }

.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.footer-nav a { color: rgba(255, 255, 255, .68); }
.footer-nav a:hover { color: var(--accent-500); }

.footer-contact li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
  line-height: 1.8;
}
.footer-contact strong { display: block; color: #fff; font-weight: 600; }
.footer-contact span { color: rgba(255, 255, 255, .55); font-size: 13px; }

.footer-qr { display: flex; gap: 18px; }
.footer-qr__item { text-align: center; }
.footer-qr__item img {
  width: 108px; height: 108px;
  object-fit: contain;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: #fff;
}
.footer-qr__item span { display: block; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.footer-qr__friend { margin-top: 18px; font-size: 13px; }
.footer-qr__friend a { color: rgba(255, 255, 255, .7); }
.footer-qr__friend a:hover { color: var(--accent-500); }

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}
.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.site-footer__bar a { color: rgba(255, 255, 255, .6); }
.site-footer__bar a:hover { color: var(--accent-500); }
.site-footer__records { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-footer__records img { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   9. 右侧悬浮工具条
   -------------------------------------------------------------------------- */
.side-tools {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-tools__btn {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow);
  transition: .25s var(--ease);
}
.side-tools__btn:hover { background: var(--brand-500); transform: translateY(-3px); }
.side-tools__btn svg { width: 20px; height: 20px; }
.side-tools__btn--top { background: var(--brand-900); opacity: 0; visibility: hidden; }
.side-tools__btn--top.is-visible { opacity: 1; visibility: visible; }

.side-tools__qr {
  position: absolute;
  right: 60px; bottom: 0;
  width: 210px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .25s var(--ease);
}
.side-tools__item { position: relative; }
.side-tools__item:hover .side-tools__qr,
.side-tools__item:focus-within .side-tools__qr { opacity: 1; visibility: visible; transform: none; }
.side-tools__qr img { width: 84px; height: 84px; object-fit: contain; }
.side-tools__qr figcaption { font-size: 12px; color: var(--ink-500); text-align: center; margin-top: 4px; }

.side-tools__tip {
  position: absolute;
  right: 60px; top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--brand-900);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: .2s var(--ease);
}
.side-tools__item:hover .side-tools__tip { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   10. 弹窗（登录 / 注册 / 找回密码）
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  overflow-y: auto;
  padding: 5vh 16px;
}
.modal.is-open { display: block; }
.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 36, .58);
  backdrop-filter: blur(3px);
  animation: fade .25s var(--ease);
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  padding: 34px 36px 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: pop .3s var(--ease);
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-500);
  font-size: 20px;
  line-height: 1;
}
.modal__close:hover { background: var(--line); color: var(--ink-900); }
.modal__title { font-size: 22px; font-weight: 700; color: var(--ink-900); }
.modal__desc { margin-top: 6px; color: var(--ink-500); font-size: 14px; }

.form { margin-top: 24px; }
.form__row { margin-bottom: 16px; }
.form__row--inline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form__label { display: block; margin-bottom: 6px; color: var(--ink-700); font-size: 14px; font-weight: 600; }
.form__label i { color: #e53e3e; font-style: normal; }
.form__control {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-900);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form__control:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(43, 127, 199, .16);
}
textarea.form__control { height: auto; padding: 10px 14px; resize: vertical; }
.form__captcha { display: flex; align-items: center; gap: 10px; }
.form__captcha .form__control { width: 140px; }
.form__captcha img { height: 40px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.form__captcha a { color: var(--brand-600); font-size: 13px; }
.form__radio { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-500); font-size: 13px; }
.form__radio input { accent-color: var(--brand-600); }
.form__actions { margin-top: 24px; }
.form__actions .btn { width: 100%; }
.form__links {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.form__links a { color: var(--ink-500); }
.form__links a:hover { color: var(--brand-600); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .form__row--full { grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   11. 动画
   -------------------------------------------------------------------------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   12. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .brand img { width: 260px; }
  .primary-nav__link { padding: 12px 10px; font-size: 14px; }
}

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .about__side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .side-card + .side-card { margin-top: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  .header-main__inner { height: 76px; }
  .brand img { width: 210px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 8px 0 18px;
    background: #fff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav__link {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 10px 0 14px 14px;
    border-radius: 0;
    box-shadow: none;
  }
  .primary-nav__item.is-expanded .nav-panel { display: block; }
  .nav-panel--mega { padding: 10px 0 14px 14px; }
  .mega-grid { grid-template-columns: 1fr; gap: 18px; }
  .mega-col__title { margin-bottom: 6px; }
  .mega-col li a { padding: 4px 0 4px 12px; }
  .nav-panel--drop { min-width: 0; }
  .container,
  .container1700{
    padding: 0 16px;
  }
}

@media (max-width: 860px) {
  .section { padding: 52px 0; }
  .section-head__title { font-size: 26px; }
  .panel { grid-template-columns: 1fr; }
  .panel__media { aspect-ratio: 16 / 9; }
  .hero__slider { aspect-ratio: 16 / 9; }
}

@media (max-width: 700px) {
  .topbar__links { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .about__side { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .side-tools { right: 12px; bottom: 24px; }
  .modal__panel { padding: 28px 22px 30px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .service-grid { grid-template-columns: 1fr; }
  .brand img { width: 170px; }
  .stat-list { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
