/* ============================================
   发丫红官网 · UI 增强样式（预览版 / 高级感版）
   原则：细线、留白、低饱和、慢动效、无重阴影
   ============================================ */

:root {
  --ui-wine: #5C1618;
  --ui-wine-deep: #4A1013;
  --ui-gold: #C0A062;
  --ui-gold-soft: rgba(192, 160, 98, 0.42);
  --ui-ivory: #FBF8F3;
  --ui-ink: #2B1B17;
  --ui-bar-h: 34px;
  --ui-ease: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ---------- ① 顶部公告条 ---------- */
.ui-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--ui-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--ui-wine) 0%, var(--ui-wine-deep) 100%);
  border-bottom: 1px solid var(--ui-gold-soft);
  transition: transform 0.6s var(--ui-ease);
}

html.ui-bar-off .ui-bar {
  transform: translateY(-100%);
}

.ui-bar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 44px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  color: rgba(246, 238, 221, 0.88);
  font-weight: 400;
  white-space: nowrap;
}

.ui-bar__sep {
  width: 1px;
  height: 9px;
  background: rgba(192, 160, 98, 0.55);
}

.ui-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(246, 238, 221, 0.5);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.35s var(--ui-ease);
}

.ui-bar__close:hover {
  color: rgba(246, 238, 221, 0.95);
}

/* 导航栏下移让位 */
body {
  padding-top: var(--ui-bar-h);
}

.navbar {
  top: var(--ui-bar-h) !important;
  transition: top 0.6s var(--ui-ease);
}

html.ui-bar-off .navbar {
  top: 0 !important;
}

html.ui-bar-off body {
  padding-top: 0;
}

/* ---------- ② Hero 极淡光晕 ---------- */
.ui-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  filter: blur(90px);
  animation: ui-glow-in 2.4s var(--ui-ease) 0.2s forwards;
}

@keyframes ui-glow-in {
  to { opacity: 1; }
}

.ui-glow--1 {
  width: 520px;
  height: 520px;
  top: -160px;
  right: 4%;
  background: radial-gradient(circle, rgba(232, 205, 148, 0.16) 0%, rgba(232, 205, 148, 0) 68%);
  animation-name: ui-glow-in, ui-drift-a;
  animation-duration: 2.4s, 22s;
  animation-delay: 0.2s, 0s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: var(--ui-ease), ease-in-out;
}

.ui-glow--2 {
  width: 420px;
  height: 420px;
  bottom: -200px;
  left: -60px;
  background: radial-gradient(circle, rgba(255, 245, 225, 0.1) 0%, rgba(255, 245, 225, 0) 70%);
  animation-name: ui-glow-in, ui-drift-b;
  animation-duration: 2.4s, 26s;
  animation-delay: 0.4s, 0s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: var(--ui-ease), ease-in-out;
}

@keyframes ui-drift-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-24px, 18px, 0); }
}

@keyframes ui-drift-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(20px, -16px, 0); }
}

/* ---------- ③ 标题逐字入场 ---------- */
.ui-split-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  filter: blur(3px);
  transition:
    opacity 0.75s var(--ui-ease),
    transform 0.75s var(--ui-ease),
    filter 0.75s var(--ui-ease);
}

.ui-split-in .ui-split-ch {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- ③ 图片渐显 ---------- */
img.ui-fade {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.8s var(--ui-ease),
    transform 0.8s var(--ui-ease);
}

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

/* ---------- ④ 回到顶部 ---------- */
.ui-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ui-gold-soft);
  border-radius: 50%;
  background: rgba(251, 248, 243, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ui-gold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.55s var(--ui-ease),
    transform 0.55s var(--ui-ease),
    background 0.4s var(--ui-ease),
    border-color 0.4s var(--ui-ease);
  z-index: 1002;
}

.ui-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ui-top:hover {
  background: rgba(92, 22, 24, 0.06);
  border-color: rgba(192, 160, 98, 0.75);
}

.ui-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(192, 160, 98, 0.55);
  stroke-width: 1;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}

.ui-top__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  stroke-width: 1.6;
}

/* ---------- ⑤ 手机底部悬浮条（无底色块，仅细线文字） ---------- */
.ui-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1002;
  display: none;
  align-items: stretch;
  background: rgba(251, 248, 243, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--ui-gold-soft);
}

.ui-dock a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 50px;
  color: var(--ui-wine);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: color 0.3s var(--ui-ease);
}

.ui-dock a:active,
.ui-dock a:hover {
  color: var(--ui-gold);
}

.ui-dock a + a {
  border-left: 1px solid rgba(192, 160, 98, 0.22);
}

.ui-dock svg {
  width: 15px;
  height: 15px;
  stroke: rgba(92, 22, 24, 0.55);
  stroke-width: 1.4;
  fill: none;
  flex-shrink: 0;
}

/* ---------- ⑥ 产品图放大 ---------- */
.ui-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(40, 9, 10, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ui-ease);
}

.ui-lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.ui-lightbox img {
  max-width: min(92vw, 720px);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(192, 160, 98, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.97);
  transition: transform 0.6s var(--ui-ease);
}

.ui-lightbox.show img {
  transform: scale(1);
}

.ui-lightbox__close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(192, 160, 98, 0.35);
  border-radius: 50%;
  background: none;
  color: rgba(246, 238, 221, 0.75);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.35s var(--ui-ease), border-color 0.35s var(--ui-ease);
}

.ui-lightbox__close:hover {
  color: #F6EEDD;
  border-color: rgba(192, 160, 98, 0.7);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .ui-dock {
    display: flex;
  }

  .footer,
  .ui-page-end {
    padding-bottom: 50px;
  }

  .ui-top {
    right: 14px;
    bottom: 62px;
    width: 40px;
    height: 40px;
  }

  .ui-bar__inner {
    padding: 0 34px;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .ui-glow--1 {
    width: 320px;
    height: 320px;
    right: -80px;
  }

  .ui-glow--2 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ui-glow,
  .ui-split-ch,
  img.ui-fade {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ============================================
   ⑦ 阅读进度金线
   ============================================ */
.ui-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--ui-bar-h);
  z-index: 1000;
  height: 1px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(192, 160, 98, 0.7) 0%, rgba(232, 205, 148, 0.95) 100%);
  transition: top 0.6s var(--ui-ease);
}

html.ui-bar-off .ui-progress {
  top: 0;
}

/* ============================================
   ⑧ 右侧章节指示器（桌面）
   ============================================ */
.ui-dots {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 14px 0;
}

.ui-dots__item {
  position: relative;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}

.ui-dots__item i {
  display: block;
  width: 5px;
  height: 5px;
  margin: 1px;
  border-radius: 50%;
  background: rgba(92, 22, 24, 0.22);
  transition: all 0.45s var(--ui-ease);
}

.ui-dots__item:hover i {
  background: rgba(192, 160, 98, 0.85);
}

.ui-dots__item.is-active i {
  width: 7px;
  height: 7px;
  margin: 0;
  background: var(--ui-gold);
  box-shadow: 0 0 0 3px rgba(192, 160, 98, 0.16);
}

.ui-dots__name {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #6E1414;
  padding: 4px 9px;
  border-radius: 3px;
  background: rgba(250, 246, 238, 0.96);
  border: 1px solid rgba(201, 169, 97, 0.5);
  box-shadow: 0 6px 18px rgba(40, 8, 8, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ui-ease);
}

.ui-dots__item:hover .ui-dots__name,
.ui-dots__item.is-active .ui-dots__name {
  opacity: 1;
  font-weight: 500;
  transform: translateY(-50%) translateX(0);
}

/* ============================================
   ⑨ Hero 光标柔光（桌面指针设备）
   ============================================ */
.ui-spot {
  position: absolute;
  width: 420px;
  height: 420px;
  left: 0;
  top: 0;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 236, 200, 0.13) 0%, rgba(255, 236, 200, 0) 66%);
  transition: opacity 0.6s var(--ui-ease);
  will-change: transform;
}

.ui-spot.is-on {
  opacity: 1;
}

/* ============================================
   ⑩ 基础排版与交互细节微调（覆盖原样式）
   ============================================ */

/* 小标签：拉开字距 + 金色短细线 */
.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  opacity: 0.9;
}

.section-header__label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1, h2, .section-header__title {
  letter-spacing: 0.015em;
}

/* 导航链接：中心展开细线 */
.navbar__menu a {
  position: relative;
}

.navbar__menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 4px;
  height: 1px;
  background: var(--ui-gold);
  opacity: 0;
  transition: all 0.45s var(--ui-ease);
}

.navbar__menu a:hover::after {
  left: 8px;
  right: 8px;
  opacity: 0.75;
}

.navbar__menu a.active::after {
  left: 8px;
  right: 8px;
  opacity: 0.9;
}

/* 按钮：金色微光扫过 */
.btn {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.06em;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 245, 220, 0.22) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ui-ease);
  pointer-events: none;
}

.btn:hover::before {
  left: 120%;
}

/* 卡片：金细边 + 轻抬升 */
.product-card,
.honor-card,
.feature-card,
.fact-item {
  border: 1px solid transparent;
  transition:
    transform 0.55s var(--ui-ease),
    border-color 0.55s var(--ui-ease),
    box-shadow 0.55s var(--ui-ease);
}

.product-card:hover,
.honor-card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 160, 98, 0.32);
  box-shadow: 0 18px 44px rgba(90, 30, 24, 0.09);
}

.product-card__visual {
  overflow: hidden;
}

.product-card__visual img {
  transition: transform 0.9s var(--ui-ease);
}

.product-card:hover .product-card__visual img {
  transform: scale(1.045);
}

/* 键盘焦点可见 */
a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--ui-gold);
  outline-offset: 3px;
}

@media (min-width: 1180px) {
  .ui-dots {
    display: flex;
  }
}

/* 手机端：细圆点指示器（不显示文字，避免遮挡内容） */
@media (max-width: 768px) {
  .ui-dots {
    display: flex;
    right: 7px;
    gap: 13px;
    padding: 8px 0;
  }

  .ui-dots__name {
    display: none;
  }
}

/* ============================================
   ⑪ 大牌版式：居中 logo + 左右分栏导航（仅桌面）
   ============================================ */
@media (min-width: 1024px) {
.navbar {
  height: 92px;
}

.navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  padding: 0 44px;
  max-width: 1360px;
  margin: 0 auto;
}

.navbar__logo {
  order: 2;
}

.navbar__logo-img {
  height: 46px;
  filter: drop-shadow(0 1px 2px rgba(150, 105, 30, 0.3));
}

.navbar--scrolled .navbar__logo-img {
  height: 38px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.navbar__menu--left {
  order: 1;
  right: calc(50% + var(--ui-logo-half, 56px) + 34px);
}

.navbar__menu--right {
  order: 3;
  left: calc(50% + var(--ui-logo-half, 56px) + 34px);
}

.navbar__menu a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 400;
  color: rgba(60, 18, 18, 0.82);
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: var(--ui-wine);
}

.navbar__toggle {
  order: 4;
  justify-self: end;
}
}

/* ============================================
   ⑫ 首屏与大标题：更疏朗、更克制
   ============================================ */
.hero__deco {
  display: none !important;
}

.hero {
  padding: 150px 0 130px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(246, 238, 221, 0.75);
}

.hero__tag i {
  display: none;
}

.hero__tag::before,
.hero__tag::after {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(192, 160, 98, 0.6);
}

.hero h1 {
  margin: 34px 0 26px;
  line-height: 1.18;
}

.hero__title-sub {
  font-size: 0.74rem !important;
  letter-spacing: 0.34em;
  opacity: 0.7;
  display: block;
  margin-bottom: 22px;
  font-weight: 400;
}

.hero h1 em {
  font-style: normal;
  font-size: clamp(3.2rem, 6.2vw, 5.6rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 1.06;
}

.hero__subtitle {
  font-size: 0.92rem;
  line-height: 2.15;
  letter-spacing: 0.03em;
  max-width: 34em;
  color: rgba(246, 238, 221, 0.78);
}

/* 按钮：胶囊弧形、细边、拉开字距 */
.btn {
  border-radius: 999px;
  padding: 15px 34px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  font-weight: 400;
}

/* 卡片：细边、微圆角、去重阴影 */
.product-card,
.honor-card,
.feature-card,
.fact-item,
.two-column__image,
.two-column__image img {
  border-radius: 2px;
}

.product-card,
.honor-card,
.feature-card {
  border: 1px solid rgba(122, 26, 26, 0.08);
  box-shadow: none;
}

.product-card:hover,
.honor-card:hover,
.feature-card:hover {
  border-color: rgba(192, 160, 98, 0.4);
  box-shadow: 0 16px 40px rgba(90, 30, 24, 0.07);
}

/* 区块留白 */
.section {
  padding: 118px 0;
}

.section-header {
  margin-bottom: 64px;
}

@media (max-width: 1024px) {
  .navbar__menu {
    gap: 24px;
  }
}

/* ---------- 叠加 logo：透明底，奶白字 + 柔投影，压在照片上 ---------- */
.two-column__image-logo {
  padding: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 1px 2px rgba(30, 4, 4, 0.55)) drop-shadow(0 4px 16px rgba(30, 4, 4, 0.5)) !important;
}

/* ---------- 产品网格：卡片等宽、整组居中 ---------- */
.products-grid--4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.products-grid--4 > .product-card {
  flex: 1 1 240px;
  max-width: 300px;
}

.products-grid--4 > .product-card[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .navbar,
  .navbar__inner {
    height: 68px;
  }

  .navbar__inner {
    padding: 0 20px;
    grid-template-columns: 1fr auto 1fr;
  }

  .navbar__logo {
    grid-column: 2;
    order: 0;
    justify-self: center;
  }

  .navbar__toggle {
    grid-column: 3;
    order: 0;
    justify-self: end;
  }

  .navbar__logo,
  .navbar__logo-img {
    height: 42px;
  }

  /* 手机端：深金渐变 logo，暖调投影，不用深色描边 */
  .navbar__logo-img {
    filter: drop-shadow(0 1px 2px rgba(150, 105, 30, 0.3));
  }

  .navbar--scrolled .navbar__logo-img {
    height: 34px;
  }

  .navbar__menu--right {
    display: none;
  }

  .navbar__menu {
    top: calc(var(--ui-bar-h) + 68px) !important;
  }

  html.ui-bar-off .navbar__menu {
    top: 68px !important;
  }

  .hero {
    padding: 96px 0 88px;
  }
}

/* ============================================
   ⑫ 打开页面：logo 描金入场
   ============================================ */
.ui-intro {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 48%, #FFFCF6 0%, #FBF7F0 46%, #F3ECE1 100%);
  transition: opacity 0.34s ease, visibility 0.34s ease;
}

.ui-intro__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 34px;
  animation: uiIntroGlow 0.9s ease-out both;
}

.ui-intro__inner img {
  width: 210px;
  max-width: 50vw;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  filter: blur(9px) drop-shadow(0 1px 2px rgba(150, 105, 30, 0.22));
  animation: uiIntroLogo 0.62s 0.04s cubic-bezier(0.16, 0.84, 0.34, 1) forwards;
}

@keyframes uiIntroLogo {
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0) drop-shadow(0 1px 2px rgba(150, 105, 30, 0.22)); }
}

/* 一条金色细线从中间向两端展开 */
.ui-intro__line {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 78%;
  height: 1px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, rgba(192, 160, 98, 0.85), transparent);
  animation: uiIntroLine 0.55s 0.18s cubic-bezier(0.16, 0.84, 0.34, 1) forwards;
}

@keyframes uiIntroLine {
  to { transform: translateX(-50%) scaleX(1); }
}

/* 一道金色微光斜掠而过 */
.ui-intro__sweep {
  position: absolute;
  top: -10%;
  left: -30%;
  width: 42%;
  height: 120%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 236, 186, 0.55) 46%, rgba(224, 186, 100, 0.32) 52%, transparent 100%);
  transform: skewX(-16deg) translateX(0);
  opacity: 0;
  animation: uiIntroSweep 0.7s 0.24s ease-out forwards;
  mix-blend-mode: screen;
}

@keyframes uiIntroSweep {
  0% { opacity: 0; transform: skewX(-16deg) translateX(0); }
  22% { opacity: 0.95; }
  100% { opacity: 0; transform: skewX(-16deg) translateX(280%); }
}

@keyframes uiIntroGlow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.ui-intro.is-done {
  opacity: 0;
  visibility: hidden;
}

/* ============================================
   ⑬ 联系页 · 微信找我们（不收集访客信息）
   ============================================ */
.ui-wechat {
  margin-top: 56px;
  padding: 40px 34px 34px;
  background: #fff;
  border: 1px solid rgba(122, 26, 26, 0.1);
  border-radius: 2px;
}

.ui-wechat__title {
  font-size: 1.32rem;
  color: var(--ui-wine);
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}

.ui-wechat__desc {
  font-size: 0.95rem;
  color: #7A6A5A;
  margin: 0 0 30px;
}

.ui-wechat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ui-wechat__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 18px 22px;
  background: #FBF8F3;
  border: 1px solid rgba(122, 26, 26, 0.1);
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ui-wechat__card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 160, 98, 0.7);
  box-shadow: 0 12px 28px rgba(122, 26, 26, 0.08);
}

.ui-wechat__qr {
  width: 158px;
  height: 158px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(122, 26, 26, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.ui-wechat__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ui-wechat__tel {
  width: 158px;
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(122, 26, 26, 0.06);
  color: var(--ui-wine);
}

.ui-wechat__tel svg {
  width: 74px;
  height: 74px;
}

.ui-wechat__name {
  margin-top: 18px;
  font-size: 1.06rem;
  font-weight: 600;
  color: #3C1212;
  letter-spacing: 0.04em;
}

.ui-wechat__telno {
  margin-top: 8px;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ui-wine);
  letter-spacing: 0.02em;
}

.ui-wechat__hint {
  margin-top: 6px;
  font-size: 0.82rem;
  color: #8B7A6A;
}

.ui-wechat__note {
  margin: 26px 0 0;
  font-size: 0.8rem;
  line-height: 1.9;
  color: #9A8979;
  text-align: center;
}

@media (max-width: 860px) {
  .ui-wechat { padding: 32px 22px 28px; }
  .ui-wechat__grid { grid-template-columns: 1fr; gap: 16px; }
  .ui-wechat__card { flex-direction: row; text-align: left; padding: 18px; gap: 18px; }
  .ui-wechat__qr,
  .ui-wechat__tel { width: 112px; height: 112px; flex: 0 0 112px; }
  .ui-wechat__tel svg { width: 52px; height: 52px; }
  .ui-wechat__name { margin-top: 0; }
  .ui-wechat__telno { margin-top: 4px; font-size: 1.1rem; }
  .ui-wechat__hint { margin-top: 3px; }
}

@media (max-width: 640px) {
  .ui-wechat__title { font-size: 1.18rem; }
}

/* 可放大图片的手型光标 */
.honor-card img,
.two-column__image img:not(.two-column__image-logo):not(.two-column__image-bg) {
  cursor: zoom-in;
}



/* ---------- 子页面顶部：标题与面包屑严格居中 ---------- */
@media (min-width: 769px) {
  .page-header {
    /* 标题整体下移，同时收窄底部留白 */
    padding: 146px 0 26px;
  }
}

.page-header > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-header h1 {
  width: auto;
  text-align: center;
  /* 字距会在末字后留一格空白，用半格缩进补偿，视觉上才真正居中 */
  text-indent: 5px;
}

.page-header h1::after {
  margin: 12px auto 0;
  text-indent: 0;
}

.page-header .breadcrumb {
  width: auto;
  text-align: center;
  text-indent: 2px;
}

@media (max-width: 768px) {
  .page-header h1 { text-indent: 3px; }
  .page-header .breadcrumb { text-indent: 1px; }
}

@media (max-width: 480px) {
  .page-header h1 { text-indent: 2px; }
}

/* 荣誉与认证：只有两张证书时改两列居中，避免右侧空出一格 */
@media (min-width: 861px) {
  .honor-photo-grid--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =============================================
   字体大小切换（公告条右侧 A- / A / A+）
   ============================================= */
.ui-bar__tools {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-font {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.ui-font__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.ui-font__btn:hover {
  color: #fff;
}

.ui-font__btn.is-on {
  color: var(--ui-wine, #7a1a1a);
  background: #fff;
}

/* 公告条关闭按钮：由 tools 容器接管定位 */
.ui-bar .ui-bar__close {
  position: static;
  transform: none;
}

@media (max-width: 600px) {
  /* 移动端隐藏字体切换：屏幕小、控件拥挤，老年客户用系统字体设置即可 */
  .ui-font {
    display: none;
  }
}

/* =============================================
   微信内打开提示条
   ============================================= */
.ui-wxtip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 44px 10px 16px;
  background: linear-gradient(180deg, #fdf6e3 0%, #f9ecd0 100%);
  color: #6b4a1f;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(192, 160, 98, 0.35);
  box-shadow: 0 2px 12px rgba(122, 26, 26, 0.06);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ui-wxtip.show {
  transform: translateY(0);
}

.ui-wxtip__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #2d8a3e;
  display: flex;
  align-items: center;
}

.ui-wxtip__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ui-wxtip__text {
  line-height: 1.5;
}

.ui-wxtip__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(107, 74, 31, 0.55);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.ui-wxtip__close:hover {
  background: rgba(107, 74, 31, 0.08);
  color: #6b4a1f;
}

/* 提示条显示时，把公告条整体往下挪，避免遮挡 */
html.ui-wxtip-on .ui-bar {
  top: 40px;
}

html.ui-wxtip-on body {
  padding-top: 40px;
}

@media (max-width: 600px) {
  html.ui-wxtip-on .ui-bar {
    top: 38px;
  }

  html.ui-wxtip-on body {
    padding-top: 38px;
  }
}