/* ============================================
   荆楚电力有限公司 官方形象网站
   极简 · 白底 · 藏蓝 · 克制
   ============================================ */

:root {
  /* 色板 */
  --c-white: #ffffff;
  --c-paper: #fafafa;
  --c-gray-50: #f5f5f5;
  --c-gray-100: #ececec;
  --c-gray-200: #d6d6d6;
  --c-gray-400: #9a9a9a;
  --c-gray-600: #6a6a6a;
  --c-gray-800: #2a2a2a;
  --c-black: #0a0a0a;
  --c-navy: #1a3766;
  --c-navy-deep: #122748;
  --c-navy-soft: #2a4a7f;

  /* 语义 */
  --bg: var(--c-white);
  --bg-soft: var(--c-paper);
  --text: var(--c-black);
  --text-strong: #050505;
  --text-muted: var(--c-gray-600);
  --text-faint: var(--c-gray-400);
  --line: rgba(10, 10, 10, 0.08);
  --line-soft: rgba(10, 10, 10, 0.05);
  --accent: var(--c-navy);

  /* 排版 */
  --font-cn: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", sans-serif;
  --font-en: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-num: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* 容器 */
  --container: 1240px;
  --container-narrow: 920px;
  --gutter: 32px;

  /* 节奏 */
  --space-section: 140px;
  --space-section-sm: 90px;

  /* 动效曲线 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-cn);
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

a:hover {
  opacity: 0.6;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

::selection {
  background: var(--c-navy);
  color: #fff;
}

/* ===== 排版工具 ===== */
.t-num {
  font-family: var(--font-num);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

.t-mono-display {
  font-family: var(--font-num);
  font-weight: 200;
  letter-spacing: -0.02em;
}

.t-tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.t-h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--text-strong);
}

.t-h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: var(--text-strong);
}

.t-h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

.t-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  font-weight: 300;
}

.t-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

.t-accent {
  color: var(--accent);
  font-weight: 500;
}

/* ===== 容器 ===== */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo img {
  display: block;
}

.logo-mark {
  height: 28px;
  width: auto;
}

.logo-main {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-navy);
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  position: relative;
  padding: 6px 0;
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--c-navy);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease-out);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 18px;
}

.nav-cta {
  padding: 10px 22px;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.nav-cta:hover {
  background: var(--c-navy-deep);
  opacity: 1;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 16px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.site-header.is-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.site-header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-toggle span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 112px 0 120px;
  position: relative;
  overflow: hidden;
}

/* 背景细线装饰 */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(26, 55, 102, 0.025) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGlow 14s var(--ease-in-out) infinite alternate;
}

@keyframes heroGlow {
  0%   { transform: translate(-52%, -50%) scale(1);   opacity: 0.8; }
  100% { transform: translate(-48%, -50%) scale(1.06); opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--c-navy);
  flex-shrink: 0;
  border-radius: 50%;
  animation: pulse 2.4s var(--ease-in-out) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.85); }
}

.hero-title {
  margin-bottom: 56px;
  max-width: 1100px;
  line-height: 1.15;
  font-weight: 300;
}

.hero-title-row {
  display: block;
  font-weight: 300;
}

.hero-title-accent {
  color: var(--c-navy);
  font-weight: 500;
}

.hero-sub {
  max-width: 640px;
  margin-bottom: 56px;
}

.hero-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 400;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--c-navy);
  color: var(--c-white);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.7s var(--ease-out);
}

.btn-primary:hover {
  background: var(--c-navy-deep);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -10px rgba(26, 55, 102, 0.5);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost .arrow {
  display: inline-block;
  margin-left: 12px;
  transition: transform 0.35s var(--ease-out);
}

.btn-ghost:hover {
  opacity: 1;
  color: var(--c-navy);
}

.btn-ghost:hover .arrow {
  transform: translateX(8px);
}

.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: 80px;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-family: var(--font-en);
  line-height: 2;
}

/* 右侧装饰印章（位于风机层之下） */
.hero-seal {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  z-index: 1;
  opacity: 0.06;
  pointer-events: none;
}

.hero-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 滚动指示器 */
.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 80px;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 50px;
  background: var(--text-faint);
  display: inline-block;
  margin-top: 14px;
  animation: scrollLine 2.4s var(--ease-in-out) infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0);   transform-origin: top; }
  45%  { transform: scaleY(1);   transform-origin: top; }
  55%  { transform: scaleY(1);   transform-origin: bottom; }
  100% { transform: scaleY(0);   transform-origin: bottom; }
}

/* ===== 远景剪影：风机 + 冷却塔 ===== */
.scenery {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
}

/* 剪影色 */
.scenery {
  --sil: rgba(26, 55, 102, 0.18);
  --sil-deep: rgba(26, 55, 102, 0.22);
  --sil-light: rgba(26, 55, 102, 0.12);
}

/* ----- 远景剪影（独立 SVG，单图） ----- */
.scenery-img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* 铁塔剪影（用户提供的真实铁塔 PNG，左下角位置） */
.scenery-tower {
  position: absolute;
  left: 4%;
  bottom: 0;
  height: 560px;
  width: auto;
  display: block;
  pointer-events: none;
  z-index: 1;
}

/* 风景进入视口时整体淡入 */
.scenery {
  opacity: 0;
  animation: sceneIn 1.6s var(--ease-out) 0.3s forwards;
}

@keyframes sceneIn {
  to { opacity: 1; }
}

/* ===== Section ===== */
.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section-cta {
  padding-bottom: 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.section-head.center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.section-head .label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head .label-num {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--c-navy);
  font-weight: 500;
}

.section-head .label-text {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== 数据条 ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 60px 32px;
  position: relative;
  text-align: center;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}

.stats.in .stat::before,
.stat.in::before {
  transform: scaleX(1);
}

.stat + .stat::after {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 0;
  width: 1px;
  background: var(--line-soft);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s var(--ease-out) 0.2s;
}

.stat.in + .stat::after,
.stat.in::after {
  transform: scaleY(1);
}

.stat-num {
  font-family: var(--font-num);
  font-size: 64px;
  font-weight: 200;
  line-height: 1;
  color: var(--text-strong);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-num .unit {
  font-size: 20px;
  font-weight: 300;
  color: var(--c-navy);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-en);
}

/* ===== 服务 / 卡片 ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service {
  padding: 56px 48px;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: background 0.5s var(--ease-out);
}

.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  background: var(--line);
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
}

.service:hover::before {
  width: 100%;
  height: 100%;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out) 0.4s;
}

.service > * {
  position: relative;
  z-index: 1;
}

.service-num {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--c-navy);
  margin-bottom: 32px;
}

.service-title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--text-strong);
  transition: transform 0.5s var(--ease-out);
}

.service:hover .service-title {
  transform: translateX(4px);
}

.service-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  flex: 1;
}

.service-link {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-family: var(--font-en);
  position: relative;
  align-self: flex-start;
}

.service-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--c-navy);
  transition: width 0.4s var(--ease-out);
}

.service-link:hover::before {
  width: 100%;
}

.service-link .arrow {
  transition: transform 0.35s var(--ease-out);
}

.service-link:hover .arrow {
  transform: translateX(6px);
}

.service-link:hover {
  opacity: 1;
}

/* 卡片之间的"无 border"分隔 */
.services .service + .service {
  border-left: 1px solid var(--line-soft);
}

/* ===== 服务列表 (about 页使用) ===== */
.service-list {
  display: flex;
  flex-direction: column;
}

.service-list-row {
  display: grid;
  grid-template-columns: 80px 220px 1fr;
  gap: 60px;
  padding: 48px 0;
  align-items: start;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.4s var(--ease-out);
  position: relative;
}

.service-list-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--c-navy);
  transform: translateY(-50%);
  transition: width 0.5s var(--ease-out);
}

.service-list-row:hover::before {
  width: 24px;
}

.service-list-row:hover {
  padding-left: 24px;
}

.service-list-row:first-child {
  border-top: 1px solid var(--line-soft);
}

.service-list-num {
  font-family: var(--font-num);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--c-navy);
  padding-top: 4px;
}

.service-list-name {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

.service-list-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ===== About 区块 ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: auto 1fr;
  column-gap: 80px;
  row-gap: 32px;
  align-items: start;
}

.about-label {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.about-quote-col {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.about-body {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
}

.about-body p.about-lead-inline {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 620px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: stretch;
}

.about-quote {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 200;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 56px;
  color: var(--text-strong);
}

.about-quote .accent {
  color: var(--c-navy);
  font-weight: 600;
  position: relative;
}

.about-body p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-signature {
  margin-top: 48px;
  padding-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.about-signature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--c-navy);
  transition: width 0.7s var(--ease-out);
}

.about-signature.in::before {
  width: 80px;
}

.about-signature-mark {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.about-signature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.about-signature-name-img {
  display: block;
  height: 120px;
  width: auto;
  max-width: none;
}

.cta-seal {
  display: block;
  width: 200px;
  height: auto;
  max-width: none;
  margin: 0 auto;
}

.about-signature-en {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-family: var(--font-en);
  font-weight: 400;
}

/* ===== 资质 ===== */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.qual {
  padding: 56px 40px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: background 0.4s var(--ease-out);
}

.qual::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  background: var(--line);
  transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out);
}

.qual:hover::before {
  width: 100%;
  height: 100%;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out) 0.4s;
}

.qual:hover {
  background: rgba(26, 55, 102, 0.02);
}

.qual > * {
  position: relative;
  z-index: 1;
}

.qual-cat {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-navy);
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: var(--font-en);
}

.qual-name {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

.qual-grid .qual + .qual {
  border-left: 1px solid var(--line-soft);
}

/* ===== 客户 Logo 堆叠墙 ===== */
.client-wall {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.client-group-title {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-en);
  position: relative;
}

.client-group-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 1px;
  background: var(--c-navy);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.client-cell {
  background: #fff;
  padding: 22px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
  transition: background 0.35s var(--ease-out), transform 0.4s var(--ease-out);
  position: relative;
  cursor: default;
}

.client-cell:hover {
  background: rgba(26, 55, 102, 0.04);
  z-index: 2;
}

.client-cell:hover .client-mark {
  color: var(--c-navy);
}

.client-mark {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-navy);
  line-height: 1;
  margin-bottom: 10px;
  white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}

.client-name {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 400;
  line-height: 1;
}

/* 错位 + 灰度变化：制造"堆叠"感 */
.client-cell:nth-child(7n),
.client-cell:nth-child(11n),
.client-cell:nth-child(13n) {
  background: #fff;
}

.client-cell .client-mark {
  color: var(--c-navy);
  opacity: 1;
}

.client-wall-foot {
  margin-top: 56px;
  padding: 36px 40px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

.client-total {
  font-size: 48px;
  font-weight: 200;
  color: var(--c-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.client-wall-foot-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  letter-spacing: 0.04em;
}

/* ===== 联系 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-info-row {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
}

.contact-info-row::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-soft);
}

.contact-info-row::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-navy);
  transform: translateY(-50%);
  transition: width 0.4s var(--ease-out);
}

.contact-info-row:hover::after {
  width: 24px;
}

.contact-info-row:first-child {
  position: relative;
}

.contact-info-row:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-soft);
}

.contact-info-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-top: 4px;
  font-family: var(--font-en);
}

.contact-info-value {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-strong);
}

.form-row {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--font-en);
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-strong);
  transition: border-color 0.3s var(--ease-out);
  font-weight: 300;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-navy);
}

.form-textarea {
  min-height: 120px;
}

.form-actions {
  margin-top: 48px;
}

/* ===== Page Hero ===== */
.page-hero {
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-soft);
}

.page-hero-tag {
  margin-bottom: 32px;
}

.page-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  max-width: 800px;
  color: var(--text-strong);
}

.page-hero-sub {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.site-footer {
  padding-top: 48px;
  padding-bottom: 40px;
  background: var(--bg-soft);
  color: var(--text-muted);
  border-top: 1px solid var(--line-soft);
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-mark {
  height: 54px;
  width: auto;
  display: block;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.footer-logo-name {
  display: block;
  height: 22px;
  width: auto;
}

.footer-logo-en {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  font-family: var(--font-en);
}

.footer-tag {
  font-size: 13px;
  line-height: 1.8;
  max-width: 360px;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-strong);
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-family: var(--font-en);
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-col a:hover {
  color: var(--c-navy);
  opacity: 1;
}

/* ===== 社交媒体卡片（微信完整版 + 小红书/抖音简洁版） ===== */
.footer-col-social h4 {
  margin-bottom: 20px;
}

.footer-col-social {
  flex: 2;
  min-width: 320px;
  max-width: 420px;
}

/* 微信完整卡片 */
.wechat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  background: rgba(26, 55, 102, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  max-width: 360px;
}

.wechat-card:hover {
  background: rgba(26, 55, 102, 0.08);
  border-color: rgba(26, 55, 102, 0.2);
  transform: translateY(-1px);
  opacity: 1;
}

.wechat-card-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff;
  object-fit: contain;
  border: 1px solid var(--line-soft);
  padding: 2px;
}

.wechat-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wechat-card-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.wechat-card-verified {
  flex-shrink: 0;
  display: inline-block;
}

.wechat-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

.wechat-card-loc {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.wechat-card-hint {
  margin-top: 10px;
  margin-bottom: 24px;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* 小红书 + 抖音 两列并排 */
.social-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 360px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: rgba(26, 55, 102, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  min-width: 0;
}

.social-card:hover {
  background: rgba(26, 55, 102, 0.08);
  border-color: rgba(26, 55, 102, 0.2);
  transform: translateY(-1px);
  opacity: 1;
}

.social-card-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-navy);
  overflow: hidden;
}

.social-card-icon-xiaohongshu {
  background: #ff2442;
}

.social-card-icon-douyin {
  background: #000000;
}

.social-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-card-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-strong);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.social-card-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.3;
  font-family: var(--font-en);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: var(--text-muted);
  margin-left: 24px;
}

.footer-icp {
  font-family: var(--font-num);
  letter-spacing: 0.04em;
}

/* ===== 动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-in.in {
  opacity: 1;
  transform: translateY(0);
}

/* 逐字入场 */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
}

.char.in {
  opacity: 1;
  transform: translateY(0);
}

/* 错开（stagger） */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.55s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.65s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.75s; }

/* 数字滚动 */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in,
  .char,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

/* 平板 (≤1024px) */
@media (max-width: 1024px) {
  :root {
    --space-section: 100px;
    --space-section-sm: 64px;
    --gutter: 24px;
  }

  .hero-seal {
    width: 180px;
    height: 180px;
    right: 4%;
    top: 58%;
    opacity: 0.06;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-grid,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 40px;
  }

  .about-label,
  .about-quote-col,
  .about-body {
    grid-column: 1;
    grid-row: auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat + .stat::after {
    display: none;
  }

  .stat:nth-child(2n)::after {
    content: "";
    display: block;
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 0;
    width: 1px;
    background: var(--line-soft);
  }

  .stat:nth-child(n + 3) {
    position: relative;
  }

  .stat:nth-child(n + 3)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line-soft);
  }

  .services,
  .qual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-list-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }

  .service-list-num,
  .service-list-name,
  .service-list-desc {
    grid-column: 1;
    grid-row: auto;
  }

  .service-list-name {
    margin-bottom: 4px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 手机 / 折叠屏外屏 (≤720px) */
@media (max-width: 720px) {
  :root {
    --space-section: 72px;
    --space-section-sm: 48px;
    --gutter: 20px;
  }

  /* Header - 汉堡菜单 */
  .nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    z-index: 201;
    position: relative;
  }

  /* 打开时关闭 header 自身的半透明 + 模糊，避免 backdrop-filter 破坏 fixed 定位 */
  .site-header.is-open {
    background: var(--c-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--line-soft);
  }

  /* 全屏覆盖菜单 */
  .site-header.is-open .nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--c-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 200;
    margin: 0;
    padding: 80px 24px 40px;
  }

  .site-header.is-open .nav a {
    font-size: 22px;
    color: var(--text);
  }

  .logo-main {
    height: 32px;
  }

  /* Hero */
  .hero {
    padding: 120px 0 80px;
    min-height: 88vh;
  }

  .hero-tag {
    margin-bottom: 32px;
    gap: 12px;
  }

  .hero-title {
    margin-bottom: 32px;
  }

  .hero-sub {
    margin-bottom: 36px;
    font-size: 15px;
    line-height: 1.8;
    max-width: 100%;
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-actions .btn {
    padding: 14px 28px;
    font-size: 13px;
  }

  .hero-meta,
  .hero-scroll {
    display: none;
  }

  .hero-seal {
    width: 110px;
    height: 110px;
    right: 3%;
    top: 72%;
    opacity: 0.05;
  }

  /* 移动端：剪影按比例缩小 */
  .scenery-tower {
    height: 220px;
    left: 2%;
  }

  /* Stats - 2 columns */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 36px 16px;
  }

  .stat-num {
    font-size: 44px;
    margin-bottom: 12px;
  }

  .stat-num .unit {
    font-size: 16px;
  }

  .stat-label {
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  /* About layout */
  .about-layout,
  .about-grid,
  .contact-grid {
    gap: 40px;
  }

  .about-quote-col {
    min-height: auto;
    justify-content: flex-start;
    gap: 24px;
  }

  .about-quote {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 32px;
  }

  .about-signature {
    margin-top: 24px;
    padding-top: 24px;
  }

  .about-signature-name-img {
    height: 80px;
  }

  .about-body p.about-lead-inline {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .about-body p {
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 18px;
  }

  /* Services & Qual - 1 column */
  .services,
  .qual-grid {
    grid-template-columns: 1fr;
  }

  .service {
    padding: 40px 28px;
    min-height: 0;
  }

  .qual {
    padding: 36px 28px;
    min-height: 0;
  }

  .service-num {
    margin-bottom: 20px;
  }

  .service-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .qual-name {
    font-size: 16px;
  }

  .services .service + .service,
  .qual-grid .qual + .qual {
    border-left: none;
    border-top: 1px solid var(--line-soft);
  }

  .section-head {
    margin-bottom: 48px;
  }

  /* Client grid - 4 columns */
  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .client-cell {
    padding: 16px 8px 14px;
    min-height: 84px;
  }

  .client-mark {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .client-name {
    font-size: 10px;
  }

  .client-wall {
    gap: 40px;
  }

  .client-group-title {
    font-size: 11px;
    letter-spacing: 0.24em;
    margin-bottom: 18px;
  }

  /* Footer - 1 column */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom a {
    margin-left: 0;
    margin-right: 16px;
  }

  /* Page hero */
  .page-hero {
    padding: 140px 0 60px;
  }

  .page-hero-title {
    font-size: clamp(28px, 8vw, 42px);
    margin-bottom: 24px;
  }

  .page-hero-sub {
    font-size: 15px;
  }

  /* Contact */
  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .contact-info-value {
    font-size: 16px;
  }

  /* Section CTA */
  .cta-seal {
    width: 140px;
  }

  .cta-seal-wrap {
    margin-top: 56px !important;
  }

  /* Wechat card footer */
  .footer-col-social {
    min-width: 0;
    max-width: 100%;
  }

  .wechat-card,
  .social-cards-grid {
    max-width: 100%;
  }
}

/* 标准手机 (≤480px) */
@media (max-width: 480px) {
  :root {
    --space-section: 56px;
    --space-section-sm: 40px;
    --gutter: 16px;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: 82vh;
  }

  .hero-title {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.2;
  }

  .hero-tag-dot {
    width: 5px;
    height: 5px;
  }

  .hero-tag {
    margin-bottom: 24px;
  }

  .hero-sub {
    margin-bottom: 32px;
    font-size: 14px;
  }

  .hero-actions .btn {
    padding: 13px 24px;
    font-size: 12px;
  }

  .hero-seal {
    width: 80px;
    height: 80px;
    right: 2%;
    top: 75%;
  }

  /* Stats - 1 column on small phones */
  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 28px 16px;
  }

  .stat-num {
    font-size: 40px;
  }

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

  .stat::after,
  .stat::before {
    display: none !important;
  }

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

  .stat:last-child {
    border-bottom: 1px solid var(--line-soft);
  }

  /* About */
  .about-quote {
    font-size: 24px;
    line-height: 1.45;
  }

  .about-signature-name-img {
    height: 60px;
  }

  .about-signature-mark {
    width: 48px;
    height: 48px;
  }

  .about-signature {
    margin-top: 20px;
    padding-top: 20px;
  }

  /* Services */
  .service {
    padding: 32px 20px;
  }

  .service-title {
    font-size: 18px;
  }

  .service-desc {
    font-size: 13px;
  }

  .qual {
    padding: 28px 20px;
  }

  .qual-name {
    font-size: 15px;
  }

  /* Client - 3 columns */
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-cell {
    padding: 12px 6px 10px;
    min-height: 72px;
  }

  .client-mark {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .client-name {
    font-size: 9px;
  }

  /* CTA seal */
  .cta-seal {
    width: 110px;
  }

  .cta-seal-wrap {
    margin-top: 40px !important;
  }

  /* Social cards - 1 column */
  .social-cards-grid {
    grid-template-columns: 1fr;
  }

  .wechat-card {
    padding: 12px 14px;
  }

  .wechat-card-avatar {
    width: 44px;
    height: 44px;
  }

  .wechat-card-name {
    font-size: 13px;
  }

  /* Section label */
  .section-head .label {
    margin-bottom: 16px;
    gap: 12px;
  }

  /* Hero actions stacked */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn-ghost {
    width: auto;
    padding: 8px 0;
  }

  /* Page hero */
  .page-hero {
    padding: 120px 0 48px;
  }

  .page-hero-tag {
    margin-bottom: 24px;
  }
}

/* 超小屏手机 (≤360px) */
@media (max-width: 360px) {
  :root {
    --gutter: 14px;
    --space-section: 48px;
  }

  .hero-title {
    font-size: 28px;
  }

  .stat-num {
    font-size: 36px;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-signature-name-img {
    height: 50px;
  }

  .cta-seal {
    width: 90px;
  }
}

/* 横屏手机/折叠屏 */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 90vh;
    padding: 100px 0 60px;
  }

  .hero-seal {
    display: none;
  }

  .scenery-tower {
    height: 140px;
  }
}

/* ===== 微信公众号二维码弹窗 ===== */
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.wechat-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.wechat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wechat-modal-dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 48px 56px 40px;
  max-width: 440px;
  width: calc(100% - 64px);
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line-soft);
}

.wechat-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 32px;
  height: 32px;
  font-size: 24px;
  font-weight: 200;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
}

.wechat-modal-close:hover {
  color: var(--text-strong);
}

.wechat-modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: center;
}

.wechat-modal-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-strong);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.wechat-modal-sub {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.wechat-modal-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line-soft);
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
}

.wechat-modal-qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wechat-modal-foot {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: 0;
}

@media (max-width: 640px) {
  .wechat-modal-dialog {
    padding: 40px 28px 32px;
  }
  .wechat-modal-qr-wrap {
    width: 200px;
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wechat-modal,
  .wechat-modal-backdrop,
  .wechat-modal-dialog {
    transition: none;
  }
}

/* ===== Phone Modal ===== */
.phone-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.phone-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.phone-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.phone-modal-dialog {
  position: relative;
  background: #fff;
  width: min(520px, calc(100% - 40px));
  padding: 56px 56px 48px;
  border: 1px solid var(--line-soft);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.45s var(--ease-out);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.25);
}

.phone-modal.is-open .phone-modal-dialog {
  transform: translateY(0) scale(1);
}

.phone-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  font-size: 22px;
  color: var(--text-muted);
  line-height: 1;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.phone-modal-close:hover {
  color: var(--c-navy);
  transform: rotate(90deg);
}

.phone-modal-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.phone-modal-title {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-strong);
  margin-bottom: 8px;
  line-height: 1.2;
}

.phone-modal-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  letter-spacing: 0.04em;
}

.phone-modal-list {
  display: flex;
  flex-direction: column;
}

.phone-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
  transition: padding 0.3s var(--ease-out);
}

.phone-modal-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  background: var(--line-soft);
}

.phone-modal-row:hover {
  padding-left: 8px;
}

.phone-modal-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-en);
  flex-shrink: 0;
}

.phone-modal-num {
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 300;
  color: var(--c-navy);
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  transition: color 0.3s var(--ease-out);
}

.phone-modal-num:hover {
  color: var(--c-navy-deep);
  opacity: 1;
}

.phone-modal-num .ext {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.phone-modal-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-modal-mail {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease-out);
}

.phone-modal-mail:hover {
  color: var(--c-navy);
  opacity: 1;
}

.phone-modal-more {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-family: var(--font-en);
  margin-top: 4px;
  align-self: flex-start;
}

@media (max-width: 720px) {
  .phone-modal-dialog {
    padding: 48px 28px 36px;
  }

  .phone-modal-title {
    font-size: 26px;
  }

  .phone-modal-num {
    font-size: 20px;
  }

  .phone-modal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
