/* ============================================================
   about.css ·「关于我们」页（/about/）独立样式表  v1.0
   ============================================================
   用途：本页唯一 CSS。不依赖旧站任何样式表
        （style.css / index.css / media.css / animate.css 均无需加载）。
   全文分 4 段：
     段 1 ~ 段 3  设计变量 / 基础重置 / 通用组件 / 全站外壳（头部导航 + 页脚 + 浮动件 + 二维码）
     段 4        本页专属版式（Hero、发展历程、企业文化、服务、联系我们…）
   约定：
     · 类名统一 by- 前缀，旧站没有同名类，与旧模板互不干扰
     · 所有全局重置都挂在 body.by-body 之下；本文件即使被旧页面误引用，
       也不会改变旧站布局（旧页 <body> 没有 by-body 类）
     · 断点：1080（抽屉菜单） / 768（移动端） / 600 / 480
     · 改完本文件后，把 index.html 里 href 末尾的 ?v= 换一个新值，避免老访客吃缓存
   ============================================================ */

/* ============================================================
   段 1 ~ 段 3：设计系统 + 全站外壳
   （变量 / reset / 容器 / 按钮 / 顶部栏 / 导航 / 9 项大菜单 / 抽屉 /
     页脚 / 浮动按钮 / 微信二维码 / 二维码大图弹窗 / 移动端底栏）
   ============================================================ */
/* ------------------------------------------------------------
   段 1　设计令牌（改配色只改这里）
   ------------------------------------------------------------ */

:root {
  --by-white: #ffffff;
  --by-cream: #faf7f0;
  --by-cream-2: #f3ecdf;
  --by-gold: #b08d4f;
  --by-gold-deep: #8c692f;
  --by-gold-light: #d8bc86;
  --by-gold-soft: #f4ebd9;
  --by-ink: #15130e;
  --by-ink-2: #2a2620;
  --by-text: #3d3931;
  --by-muted: #7b7569;
  --by-line: #e6decf;
  --by-line-soft: #f0eadd;
  --by-container: 1240px;
  --by-radius: 16px;
  --by-radius-lg: 24px;
  --by-shadow-sm: 0 8px 24px rgba(21, 19, 14, 0.06);
  --by-shadow: 0 20px 50px rgba(21, 19, 14, 0.09);
  --by-shadow-lg: 0 30px 80px rgba(21, 19, 14, 0.14);
  --by-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --by-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong",
    SimSun, Georgia, serif;
  --by-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ----------
   全局收敛：所有 reset 都必须挂在 body.by-body 之下。
   这样本文件即使用在旧模板页面上也不会改变旧站布局（旧站 <body> 没有 by-body）。
   注意：新增全局 reset 时，请沿用同样的作用域写法。 */
body.by-body *,
body.by-body *::before,
body.by-body *::after {
  box-sizing: border-box;
}

/* :has() 兜底：浏览器不支持时只是不生效，body.by-body 上的 overflow 依然生效 */
html:has(> body.by-body) {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body.by-body {
  margin: 0;
  background: var(--by-white);
  color: var(--by-text);
  font-family: var(--by-font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(body.by-body) img {
  display: block;
  max-width: 100%;
  border: 0;
}

:where(body.by-body) a {
  color: inherit;
  text-decoration: none;
}

:where(body.by-body) button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

body.by-body :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) {
  margin: 0;
}

body.by-body :where(ul, ol) {
  padding: 0;
  list-style: none;
}

body.by-body :where(h1, h2, h3, h4) {
  color: var(--by-ink);
  font-weight: 700;
  line-height: 1.28;
}

:where(body.by-body) svg {
  display: block;
}

body.by-body ::selection {
  background: var(--by-gold);
  color: #fff;
}

:where(body.by-body) :focus-visible {
  outline: 2px solid var(--by-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

body.by-body.nav-open {
  overflow: hidden;
}

/* ---------- skip link ---------- */
.by-skip {
  position: absolute;
  top: -70px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--by-ink);
  color: #fff;
  font-size: 13px;
  transition: top 0.2s var(--by-ease);
}

.by-skip:focus {
  top: 0;
  color: #fff;
}

/* ---------- layout ---------- */
.by-container {
  width: min(var(--by-container), calc(100% - 48px));
  margin-inline: auto;
}

.by-section {
  position: relative;
  padding: clamp(64px, 7.5vw, 110px) 0;
}

.by-section--cream {
  background: var(--by-cream);
}

.by-section--soft {
  background: linear-gradient(180deg, #fff 0%, var(--by-cream) 100%);
}

.by-section--dark {
  background: var(--by-ink);
  color: rgba(255, 255, 255, 0.72);
}

.by-section--dark h2,
.by-section--dark h3 {
  color: #fff;
}

.by-section--dark .by-lead {
  color: rgba(255, 255, 255, 0.62);
}

.by-center {
  margin-top: 34px;
  text-align: center;
}

/* ---------- typography ---------- */
.by-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--by-gold-deep);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.by-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--by-gold);
}

.by-eyebrow--center {
  justify-content: center;
}

.by-eyebrow--light {
  color: var(--by-gold-light);
}

.by-h2 {
  font-family: var(--by-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-wrap: balance;
}

.by-h3 {
  font-family: var(--by-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.by-lead {
  max-width: 780px;
  margin-top: 16px;
  color: var(--by-muted);
  font-size: 16px;
  line-height: 1.95;
}

.by-section-head {
  max-width: 820px;
}

.by-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.by-section-head--center .by-lead {
  margin-inline: auto;
}

/* ---------- buttons ---------- */
.by-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--by-ease), box-shadow 0.25s var(--by-ease),
    background 0.25s var(--by-ease), border-color 0.25s var(--by-ease),
    color 0.25s var(--by-ease);
}

.by-btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.by-btn:hover {
  transform: translateY(-1px);
}

.by-btn--gold {
  background: linear-gradient(135deg, #c9a55e 0%, #a9833f 100%);
  box-shadow: 0 12px 26px rgba(169, 131, 63, 0.26);
  color: #fff;
}

.by-btn--gold:hover {
  box-shadow: 0 16px 34px rgba(169, 131, 63, 0.34);
}

.by-btn--ghost {
  border-color: rgba(21, 19, 14, 0.18);
  background: transparent;
  color: var(--by-ink);
}

.by-btn--ghost:hover {
  border-color: var(--by-gold);
  background: rgba(176, 141, 79, 0.06);
  color: var(--by-gold-deep);
}

.by-btn--light {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.by-btn--light:hover {
  border-color: var(--by-gold-light);
  background: rgba(216, 188, 134, 0.12);
  color: var(--by-gold-light);
}

.by-btn--dark {
  background: var(--by-ink);
  color: #fff;
}

.by-btn--dark:hover {
  background: var(--by-ink-2);
}

.by-btn--outline {
  border-color: rgba(21, 19, 14, 0.32);
  color: var(--by-ink);
}

.by-btn--outline:hover {
  background: rgba(21, 19, 14, 0.06);
}

.by-btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

.by-btn--block {
  width: 100%;
}

/* ---------- reveal animation ---------- */
.by-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--by-ease), transform 0.8s var(--by-ease);
  will-change: opacity, transform;
}

.by-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.by-reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.by-reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.by-reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.by-reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .by-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   顶部工具栏 + 主导航
   ============================================================ */
.by-topbar {
  background: var(--by-ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.by-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 38px;
}

.by-topbar-note {
  position: relative;
  min-width: 0;
  padding-left: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.by-topbar-note::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--by-gold-light);
  box-shadow: 0 0 0 3px rgba(216, 188, 134, 0.16);
}

.by-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.by-topbar-links a {
  color: var(--by-gold-light);
  font-weight: 600;
}

.by-topbar-links a:hover {
  color: #fff;
}

.by-topbar-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.by-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s var(--by-ease);
}

.by-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(21, 19, 14, 0.08);
}

.by-navbar {
  border-bottom: 1px solid var(--by-line-soft);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.by-navbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 80px;
}

.by-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.by-brand img {
  width: auto;
  height: 46px;
}

.by-brand-tag {
  padding: 3px 9px;
  border: 1px solid var(--by-gold-light);
  border-radius: 999px;
  color: var(--by-gold-deep);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.by-nav {
  margin-left: auto;
}

.by-menu {
  display: flex;
  align-items: center;
  gap: 1px;
}

/* 让 mega 面板相对 .by-navbar-inner 定位，任何一项展开都不会溢出视口 */
.by-menu>li {
  position: static;
}

.by-menu>li>a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 8px;
  border-radius: 8px;
  color: var(--by-ink-2);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s var(--by-ease), background 0.2s var(--by-ease);
}

.by-menu>li>a:hover,
.by-menu>li.is-active>a {
  background: var(--by-gold-soft);
  color: var(--by-gold-deep);
}

.by-menu>li.is-active>a::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 3px;
  left: 8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--by-gold), var(--by-gold-light));
}

.by-caret {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
}

/* ---------- Mega 面板 ---------- */
.by-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: min(var(--panel-w, 920px), 100%);
  padding: 22px 24px 20px;
  border: 1px solid var(--by-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 64px rgba(21, 19, 14, 0.16), 0 4px 14px rgba(21, 19, 14, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s var(--by-ease), transform 0.2s var(--by-ease),
    visibility 0.2s;
  z-index: 10;
}

.by-sub::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
}

/* 桌面端：由 JS 悬停添加 is-open；键盘 Tab 时用 focus-within 保留面板，
   避免鼠标穿越间隙时闪断。移动端抽屉只用 is-open，不受焦点影响。 */
.by-menu>li.is-open>.by-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (min-width: 1081px) {
  .by-menu>li:focus-within>.by-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.by-sub-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
  gap: 16px 26px;
}

.by-sub-group {
  min-width: 0;
}

.by-sub-title {
  margin-bottom: 6px;
  padding: 0 10px 6px;
  border-bottom: 1px solid var(--by-line-soft);
  color: var(--by-gold-deep);
  font-family: var(--by-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.by-sub-title a {
  display: inline;
  padding: 0;
  color: inherit;
}

.by-sub-title a:hover {
  background: none;
  color: var(--by-gold);
}

.by-sub-list {
  display: grid;
  grid-template-columns: repeat(var(--list-cols, 1), minmax(0, 1fr));
  gap: 1px 4px;
}

.by-sub-list a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--by-text);
  font-size: 13.5px;
  line-height: 1.5;
  transition: background 0.18s var(--by-ease), color 0.18s var(--by-ease);
}

.by-sub-list a:hover {
  background: var(--by-gold-soft);
  color: var(--by-gold-deep);
}

.by-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  margin-left: auto;
}

.by-nav-tel {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: right;
}

.by-nav-tel span {
  color: var(--by-muted);
  font-size: 11px;
}

.by-nav-tel b {
  color: var(--by-ink);
  font-family: var(--by-font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.by-nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--by-line);
  border-radius: 12px;
}

.by-nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--by-ink);
  transition: transform 0.25s var(--by-ease), opacity 0.25s var(--by-ease);
}

.by-nav-close {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--by-line);
  border-radius: 10px;
  color: var(--by-ink);
}

.by-nav-close svg {
  width: 18px;
  height: 18px;
}

.by-nav-cta {
  display: none;
}

.by-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(21, 19, 14, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s var(--by-ease);
}

.by-nav-backdrop.is-open {
  display: block;
  opacity: 1;
}

body.nav-open .by-navbar {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ============================================================
   页脚
   ============================================================ */
.by-footer {
  padding: 64px 0 0;
  background: #12100b;
  color: rgba(255, 255, 255, 0.62);
}

.by-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.by-footer-brand img {
  width: auto;
  height: 46px;
}

.by-footer-brand p {
  max-width: 330px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.9;
}

.by-footer-tel {
  display: inline-flex;
  flex-direction: column;
  margin-top: 22px;
  color: var(--by-gold-light);
  font-family: var(--by-font);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.by-footer-tel small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--by-font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.by-footer-col h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.by-footer-col ul li+li {
  margin-top: 10px;
}

.by-footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s var(--by-ease);
}

.by-footer-col a:hover {
  color: var(--by-gold-light);
}

.by-footer-addr>div {
  margin-bottom: 14px;
}

.by-footer-addr b {
  display: block;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}

.by-footer-addr span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.7;
}

.by-footer-addr a:hover {
  color: var(--by-gold-light);
}

.by-friendlinks {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.36);
  font-size: 12.5px;
  line-height: 2;
}

.by-friendlinks a {
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.46);
}

.by-friendlinks a:hover {
  color: var(--by-gold-light);
}

.by-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
}

.by-footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.by-footer-bottom a:hover {
  color: var(--by-gold-light);
}

/* ============================================================
   浮动工具 + 移动端底部操作条
   ============================================================ */
.by-fabs {
  position: fixed;
  left: 18px;
  bottom: 96px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.by-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--by-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--by-shadow-sm);
  color: var(--by-ink);
  transition: transform 0.25s var(--by-ease), background 0.25s var(--by-ease),
    border-color 0.25s var(--by-ease), color 0.25s var(--by-ease),
    opacity 0.25s var(--by-ease), visibility 0.25s var(--by-ease);
}

.by-fab:hover {
  border-color: var(--by-gold);
  background: var(--by-gold);
  color: #fff;
  transform: translateY(-2px);
}

.by-fab svg {
  width: 20px;
  height: 20px;
}

.by-fab--top {
  opacity: 0;
  visibility: hidden;
}

.by-fab--top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* 二维码弹窗贴着左侧按钮条向页面内（右边）展开，
   悬停按钮即淡入，不再需要点击 */
.by-wechat-pop {
  position: fixed;
  left: 74px;
  bottom: 96px;
  z-index: 91;
  width: 168px;
  padding: 12px;
  border: 1px solid var(--by-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--by-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity 0.22s var(--by-ease), transform 0.22s var(--by-ease),
    visibility 0.22s var(--by-ease);
}

/* 按钮与弹窗之间 10px 的空隙用不可见区块补上，
   鼠标从按钮移向二维码时不会因为穿过空隙而误关闭 */
.by-wechat-pop::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 12px;
}

.by-wechat-pop.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.by-wechat-pop img {
  width: 144px;
  height: 144px;
  margin-inline: auto;
  border-radius: 8px;
}

.by-wechat-pop p {
  margin-top: 6px;
  color: var(--by-muted);
  font-size: 12px;
  text-align: center;
}

/* ============================================================
   二维码放大预览（悬停浮层 + 点击大图弹窗）
   ============================================================ */

/* 桌面端悬停：贴在触发器的上方弹出 */
.by-qr-pop {
  position: absolute;
  right: 0;
  bottom: calc(100% + 16px);
  z-index: 20;
  width: 216px;
  padding: 14px 14px 13px;
  border: 1px solid var(--by-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--by-shadow);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.24s var(--by-ease), transform 0.24s var(--by-ease),
    visibility 0.24s var(--by-ease);
}

/* 触发器与浮层之间 16px 的空隙补上，鼠标下移时不会闪断 */
.by-qr-pop::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 18px;
}

.by-qr-pop img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.by-qr-pop b {
  display: block;
  margin-top: 10px;
  color: var(--by-ink);
  font-size: 13.5px;
  font-weight: 700;
}

.by-qr-pop small {
  display: block;
  margin-top: 3px;
  color: var(--by-muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.by-qr-pop.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

/* 只有真正支持悬停、且是宽屏时才用浮层；触屏走点击弹窗 */
@media (min-width: 769px) and (hover: hover) {

  .by-contact-bar-qr:hover .by-qr-pop,
  .by-qr-trigger:focus-visible+.by-qr-pop {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

/* ---------- 二维码大图弹窗 ---------- */
.by-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(21, 19, 14, 0.66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--by-ease), visibility 0.26s var(--by-ease);
}

.by-qr-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.by-qr-modal-card {
  position: relative;
  width: min(320px, 78vw);
  padding: 16px 16px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(21, 19, 14, 0.3);
  text-align: center;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.28s var(--by-ease);
}

.by-qr-modal.is-open .by-qr-modal-card {
  transform: none;
}

.by-qr-modal-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.by-qr-modal-card b {
  display: block;
  margin-top: 14px;
  color: var(--by-ink);
  font-size: 15px;
  font-weight: 700;
}

.by-qr-modal-card small {
  display: block;
  margin-top: 4px;
  color: var(--by-muted);
  font-size: 12px;
  line-height: 1.6;
}

.by-qr-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--by-line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--by-shadow-sm);
  color: var(--by-ink);
  cursor: pointer;
  transition: background 0.2s var(--by-ease), color 0.2s var(--by-ease);
}

.by-qr-modal-close:hover {
  background: var(--by-ink);
  color: #fff;
}

.by-qr-modal-close svg {
  width: 15px;
  height: 15px;
}

/* 弹窗打开时锁定页面滚动 */
body.by-qr-lock {
  overflow: hidden;
}

.by-mobile-bar {
  display: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1500px) {
  .by-brand-tag {
    display: none;
  }
}

@media (max-width: 1400px) {
  .by-navbar-inner {
    gap: 16px;
  }

  .by-menu>li>a {
    padding: 12px 8px;
    font-size: 13px;
  }
}

@media (max-width: 1240px) {
  .by-nav-tel {
    display: none;
  }

  .by-menu>li>a {
    padding: 12px 7px;
    font-size: 13px;
  }

  .by-nav-actions {
    gap: 10px;
  }
}

@media (max-width: 1150px) {
  .by-menu>li>a {
    padding: 12px 6px;
    font-size: 12.5px;
    gap: 3px;
  }

  .by-brand img {
    height: 40px;
  }
}

@media (max-width: 1080px) {
  .by-topbar-note {
    font-size: 11.5px;
  }

  .by-nav-tel {
    display: none;
  }

  .by-nav-toggle {
    display: flex;
  }

  .by-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    width: min(420px, 88vw);
    margin: 0;
    padding: 76px 22px 96px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s var(--by-ease);
  }

  .by-nav.is-open {
    transform: none;
  }

  .by-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .by-menu>li>a {
    justify-content: space-between;
    padding: 13px 12px;
    font-size: 16px;
  }

  .by-menu>li.is-active>a::after {
    display: none;
  }

  .by-sub {
    position: static;
    display: none;
    width: auto;
    margin: 0 0 8px 12px;
    padding: 2px 0 2px 8px;
    border: 0;
    border-left: 2px solid var(--by-gold-soft);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .by-sub::before {
    display: none;
  }

  /* 抽屉内展开/收起完全由 JS 切换 is-open（不能带 :focus-within，
     否则点击后链接获得焦点，面板会一直保持展开无法收起） */
  .by-menu>li.is-open>.by-sub {
    display: block;
    transform: none;
  }

  /* 基准是 rotate(45deg)，展开时再加 180° 才是“向上”，直接写 180° 会变成拐角 */
  .by-menu>li.is-open>a .by-caret {
    transform: rotate(225deg);
  }

  .by-menu>li>a .by-caret {
    transition: transform 0.25s var(--by-ease);
  }

  .by-sub-grid {
    display: block;
  }

  .by-sub-group {
    margin-bottom: 10px;
  }

  .by-sub-title {
    padding: 4px 10px;
    border-bottom: 0;
    font-size: 12px;
  }

  .by-sub-list {
    display: block;
  }

  .by-sub-list a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .by-nav-close {
    display: flex;
  }

  .by-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .by-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .by-container {
    width: calc(100% - 32px);
  }

  .by-topbar-inner {
    height: 34px;
  }

  .by-topbar-note {
    max-width: 68%;
    font-size: 11px;
  }

  .by-topbar-hours {
    display: none;
  }

  .by-topbar-links {
    font-size: 11.5px;
  }

  .by-navbar-inner {
    height: 66px;
    gap: 12px;
  }

  .by-brand img {
    height: 40px;
  }

  .by-nav-actions .by-btn {
    display: none;
  }

  .by-section {
    padding: 56px 0;
  }

  .by-footer {
    padding-top: 48px;
  }

  .by-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 32px;
  }

  .by-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .by-fabs {
    display: none;
  }

  .by-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    display: flex;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--by-line);
    background: #fff;
    box-shadow: 0 -8px 24px rgba(21, 19, 14, 0.08);
  }

  .by-mobile-bar a,
  .by-mobile-bar button {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 58px;
    color: var(--by-ink-2);
    font-size: 12px;
  }

  .by-mobile-bar a.by-mobile-bar-main {
    flex: 1.3;
    background: linear-gradient(135deg, #c9a55e 0%, #a9833f 100%);
    color: #fff;
  }

  .by-mobile-bar svg {
    width: 18px;
    height: 18px;
  }

  body.by-body {
    padding-bottom: 58px;
  }
}


/* ============================================================
   段 4：本页专属版式（关于我们）
   以下选择器只在 /about/ 页面使用；做别的页面时，从这一段起替换即可。
   ============================================================ */

/* ---------- 锚点偏移（吸顶导航高度） ---------- */
.by-section[id],
.by-hero[id] {
  scroll-margin-top: 92px;
}

/* ---------- Hero ---------- */
.by-hero {
  position: relative;
  /* 底部留白 + 负外边距：让统计卡底边抬高一点，压在下一版块上，而不是与首屏底边重合 */
  padding-bottom: 26px;
  margin-bottom: -46px;
  background: radial-gradient(1100px 560px at 88% -12%,
      rgba(216, 188, 134, 0.32),
      transparent 62%),
    linear-gradient(180deg, #fbf8f2 0%, #f7f2e8 100%);
}

.by-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(21, 19, 14, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 19, 14, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.by-crumb {
  position: relative;
  padding-top: 18px;
  color: var(--by-muted);
  font-size: 12.5px;
}

.by-crumb a:hover {
  color: var(--by-gold-deep);
}

.by-crumb i {
  margin: 0 8px;
  color: var(--by-line);
  font-style: normal;
}

.by-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0 64px;
}

.by-hero-copy .by-eyebrow {
  margin-bottom: 22px;
}

.by-hero h1 {
  font-family: var(--by-serif);
  font-size: clamp(31px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.24;
  text-wrap: balance;
}

.by-hero h1 em {
  position: relative;
  color: var(--by-gold-deep);
  font-style: normal;
  white-space: nowrap;
}

.by-hero h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 9px;
  border-radius: 4px;
  background: linear-gradient(90deg,
      rgba(216, 188, 134, 0.6),
      rgba(216, 188, 134, 0));
  z-index: -1;
}

.by-hero-sub {
  max-width: 590px;
  margin-top: 22px;
  color: var(--by-text);
  font-size: 16.5px;
  line-height: 1.95;
}

.by-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.by-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(21, 19, 14, 0.08);
}

.by-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--by-muted);
  font-size: 13px;
}

.by-hero-trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--by-gold);
}

.by-hero-visual {
  position: relative;
}

.by-hero-visual::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 64%;
  height: 64%;
  border: 1px solid var(--by-gold-light);
  border-radius: 28px;
  z-index: 0;
}

.by-hero-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  background: var(--by-cream-2);
  box-shadow: var(--by-shadow-lg);
}

.by-hero-photo img {
  width: 100%;
  height: clamp(340px, 44vw, 480px);
  object-fit: cover;
}

.by-hero-photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  pointer-events: none;
}

.by-hero-stamp {
  position: absolute;
  bottom: 28px;
  left: -22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--by-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--by-shadow);
}

.by-hero-stamp b {
  color: var(--by-gold-deep);
  font-family: var(--by-font);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.by-hero-stamp span {
  padding-left: 14px;
  border-left: 1px solid var(--by-line);
  color: var(--by-muted);
  font-size: 12px;
  line-height: 1.5;
}

.by-hero-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(21, 19, 14, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.by-hero-tag i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--by-gold-light);
}

.by-hero-stats {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

.by-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--by-line);
  border-radius: 18px;
  background: var(--by-line);
  box-shadow: 0 24px 60px rgba(21, 19, 14, 0.12);
}

.by-stat {
  padding: 26px 28px;
  background: #fff;
}

.by-stat b {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: var(--by-ink);
  font-family: var(--by-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.by-stat small {
  color: var(--by-gold-deep);
  font-family: var(--by-font);
  font-size: 14px;
  font-weight: 600;
}

.by-stat b>span {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.by-stat-label {
  display: block;
  margin-top: 8px;
  color: var(--by-muted);
  font-size: 13px;
}

/* ---------- 公司简介 ---------- */
.by-profile {
  padding-top: 118px;
}

.by-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 60px;
  align-items: center;
}

.by-media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--by-cream-2);
  box-shadow: var(--by-shadow);
}

.by-media img {
  width: 100%;
  min-height: 440px;
  height: 100%;
  object-fit: cover;
}

.by-media-cap {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.by-media-cap b {
  color: var(--by-ink);
  font-size: 14px;
}

.by-media-cap span {
  margin-top: 2px;
  color: var(--by-muted);
  font-size: 12px;
}

.by-profile-copy .by-h2 {
  margin-top: 16px;
}

.by-profile-copy .by-lead+.by-lead {
  margin-top: 14px;
  font-size: 14.5px;
}

.by-check {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.by-check li {
  display: flex;
  gap: 10px;
  color: var(--by-text);
  font-size: 14.5px;
  line-height: 1.7;
}

.by-check svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--by-gold-deep);
}

/* 选择器需带上 .by-profile，否则会被本文段 1 的
   `body.by-body :where(dl…)` 重置规则压掉 margin-top */
.by-profile .by-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 64px;
  border: 1px solid var(--by-line);
  border-radius: 16px;
  background: var(--by-line);
}

.by-fact {
  padding: 20px 22px;
  background: #fff;
}

.by-fact dt {
  color: var(--by-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.by-fact dd {
  margin-top: 6px;
  color: var(--by-ink);
  font-size: 16px;
  font-weight: 700;
}

/* ---------- 发展历程 ---------- */
.by-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.by-tl {
  position: relative;
  padding: 30px 26px 26px;
  overflow: hidden;
  border: 1px solid var(--by-line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.3s var(--by-ease), box-shadow 0.3s var(--by-ease),
    border-color 0.3s var(--by-ease);
}

/* 顶部装饰条：默认隐藏，悬停时自左向右展开（与服务卡片一致） */
.by-tl::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--by-gold), var(--by-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--by-ease);
}

.by-tl:hover {
  border-color: var(--by-gold-light);
  box-shadow: var(--by-shadow);
  transform: translateY(-4px);
}

.by-tl:hover::before {
  transform: scaleX(1);
}

.by-tl-year {
  color: var(--by-gold-deep);
  font-family: var(--by-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.by-tl h3 {
  margin-top: 10px;
  font-size: 18px;
}

.by-tl p {
  margin-top: 8px;
  color: var(--by-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 企业文化 ---------- */
.by-culture-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.by-culture-media {
  margin-top: 30px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--by-shadow);
}

.by-culture-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* 与上方导语拉开距离：导语 <p> 的 margin 被本文段 1 的
   `body.by-body :where(p…){margin:0}` 清零了，所以间距给到下面的卡片组 */
.by-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.by-value {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--by-line);
  border-radius: 16px;
  background: #fff;
}

.by-value-num {
  color: var(--by-gold);
  font-family: var(--by-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.by-value h3 {
  margin-top: 10px;
  font-size: 19px;
}

.by-value p {
  margin-top: 8px;
  color: var(--by-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.by-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.by-mv-item {
  padding: 22px;
  border-radius: 16px;
  background: var(--by-ink);
}

.by-mv-item h3 {
  color: var(--by-gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.by-mv-item p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 服务矩阵 ---------- */
.by-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.by-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 26px 24px;
  border: 1px solid var(--by-line);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.3s var(--by-ease), box-shadow 0.3s var(--by-ease),
    border-color 0.3s var(--by-ease);
}

.by-svc::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--by-gold), var(--by-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--by-ease);
}

.by-svc:hover {
  border-color: var(--by-gold-light);
  box-shadow: var(--by-shadow);
  transform: translateY(-4px);
}

.by-svc:hover::before {
  transform: scaleX(1);
}

.by-svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.by-svc-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--by-gold-soft);
  color: var(--by-gold-deep);
}

.by-svc-ico svg {
  width: 23px;
  height: 23px;
}

.by-svc-num {
  color: var(--by-line);
  font-family: var(--by-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.by-svc h3 {
  margin-top: 18px;
  font-size: 20px;
}

.by-svc p {
  flex: 1;
  margin-top: 8px;
  color: var(--by-muted);
  font-size: 14px;
  line-height: 1.8;
}

.by-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.by-svc-tags span {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--by-gold-soft);
  color: var(--by-gold-deep);
  font-size: 11.5px;
}

.by-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--by-gold-deep);
  font-size: 13.5px;
  font-weight: 600;
}

.by-svc-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--by-ease);
}

.by-svc-link:hover svg {
  transform: translateX(3px);
}

/* 服务模式 */
.by-mode {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: hidden;
  margin-top: 36px;
  padding: 30px 32px;
  border-radius: 18px;
  background: var(--by-ink);
}

.by-mode::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(216, 188, 134, 0.18),
      transparent 65%);
  pointer-events: none;
}

.by-mode-step {
  position: relative;
  padding-left: 20px;
}

.by-mode-step::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: rgba(216, 188, 134, 0.35);
}

.by-mode-step:first-child::before {
  display: none;
}

.by-mode-step small {
  color: var(--by-gold-light);
  font-family: var(--by-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.by-mode-step h4 {
  margin-top: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.by-mode-step p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.7;
}

.by-mode-note {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

/* ---------- 服务区域 ---------- */
.by-cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.by-region {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.by-region-item {
  padding: 20px 22px;
  border: 1px solid var(--by-line);
  border-radius: 14px;
  background: #fff;
}

.by-region-item>b {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--by-ink);
  font-size: 15.5px;
}

.by-region-item>b i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--by-gold);
  box-shadow: 0 0 0 4px rgba(176, 141, 79, 0.12);
}

.by-region-item p {
  margin-top: 7px;
  color: var(--by-muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.by-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.by-chip {
  padding: 4px 10px;
  border: 1px solid var(--by-line-soft);
  border-radius: 999px;
  background: var(--by-cream);
  color: var(--by-text);
  font-size: 12.5px;
  transition: background 0.2s var(--by-ease), border-color 0.2s var(--by-ease),
    color 0.2s var(--by-ease);
}

a.by-chip:hover {
  border-color: var(--by-gold);
  background: var(--by-gold);
  color: #fff;
}

.by-map {
  position: relative;
  height: 540px;
  overflow: hidden;
  border: 1px solid var(--by-line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fbf8f2, #f1e9da);
  box-shadow: var(--by-shadow);
}

.by-map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(176, 141, 79, 0.12) 1px,
      transparent 1px),
    linear-gradient(90deg, rgba(176, 141, 79, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 88%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 88%);
}

.by-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.by-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
}

.by-pin-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--by-gold-deep);
  box-shadow: 0 0 0 5px rgba(176, 141, 79, 0.18),
    0 0 0 10px rgba(176, 141, 79, 0.08);
}

.by-pin-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(176, 141, 79, 0.5);
  border-radius: 50%;
  animation: by-pulse 2.8s infinite;
}

@keyframes by-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }

  70% {
    opacity: 0;
    transform: scale(1.6);
  }

  100% {
    opacity: 0;
  }
}

.by-pin-label {
  display: flex;
  flex-direction: column;
  padding: 7px 11px;
  border: 1px solid var(--by-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--by-shadow-sm);
  color: var(--by-ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.by-pin-label small {
  margin-top: 1px;
  color: var(--by-muted);
  font-size: 11px;
  font-weight: 400;
}

.by-pin--minor .by-pin-dot {
  width: 8px;
  height: 8px;
  background: var(--by-gold);
}

.by-map-legend {
  position: absolute;
  bottom: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--by-muted);
  font-size: 11.5px;
}

.by-map-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--by-gold);
}

/* ---------- 高端财税 ---------- */
.by-premium {
  overflow: hidden;
}

.by-premium::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(216, 188, 134, 0.16),
      transparent 65%);
  pointer-events: none;
}

.by-premium-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.by-premium .by-h2 {
  margin-top: 16px;
}

.by-plist {
  display: grid;
  margin-top: 26px;
}

.by-plist li {
  display: flex;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.7;
}

.by-plist svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--by-gold-light);
}

.by-pmetrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.by-pmetric b {
  display: block;
  color: var(--by-gold-light);
  font-family: var(--by-font);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.by-pmetric span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

.by-premium-media {
  position: relative;
}

.by-premium-media img {
  width: 100%;
  height: 540px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.by-premium-media::after {
  content: "高端财税 · 专属洽谈与方案沟通";
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(21, 19, 14, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ---------- 数据表现 ---------- */
.by-table-wrap {
  overflow: hidden;
  margin-top: 40px;
  border: 1px solid var(--by-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--by-shadow-sm);
}

.by-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.by-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.by-table th {
  padding: 16px 22px;
  background: var(--by-cream-2);
  color: var(--by-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
}

.by-table th:nth-child(2) {
  color: var(--by-gold-deep);
}

.by-table td {
  padding: 15px 22px;
  border-top: 1px solid var(--by-line-soft);
  color: var(--by-text);
  font-size: 14px;
}

.by-table tbody tr:hover {
  background: #fcfaf5;
}

.by-table td:first-child {
  color: var(--by-ink);
  font-weight: 600;
}

.by-num {
  color: var(--by-gold-deep);
  font-family: var(--by-font);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.by-muted-cell {
  color: var(--by-muted);
}

.by-note {
  margin-top: 14px;
  color: var(--by-muted);
  font-size: 12px;
  line-height: 1.7;
}

.by-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.by-adv {
  display: flex;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--by-line);
  border-radius: 16px;
  background: #fff;
}

.by-adv-ico {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--by-gold-soft);
  color: var(--by-gold-deep);
}

.by-adv-ico svg {
  width: 21px;
  height: 21px;
}

.by-adv h3 {
  font-size: 16px;
}

.by-adv p {
  margin-top: 4px;
  color: var(--by-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- 团队风采 ---------- */
.by-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.by-team-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--by-cream-2);
  box-shadow: var(--by-shadow-sm);
}

.by-team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s var(--by-ease);
}

.by-team-card:hover img {
  transform: scale(1.04);
}

.by-team-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 44px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(21, 19, 14, 0.84));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.by-team-card figcaption small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 400;
}

.by-team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid var(--by-line);
  border-radius: 18px;
  background: var(--by-line);
}

.by-team-stat {
  padding: 24px 20px;
  background: #fff;
  text-align: center;
}

.by-team-stat b {
  color: var(--by-ink);
  font-family: var(--by-font);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.by-team-stat b small {
  margin-left: 2px;
  color: var(--by-gold-deep);
  font-family: var(--by-font);
  font-size: 13px;
}

.by-team-stat span {
  display: block;
  margin-top: 6px;
  color: var(--by-muted);
  font-size: 12.5px;
}

/* ---------- 办公环境 ---------- */
.by-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 16px;
  margin-top: 40px;
}

.by-gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--by-cream-2);
}

.by-gallery figure:first-child {
  grid-row: span 2;
}

.by-gallery figure:last-child {
  grid-column: span 2;
}

.by-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--by-ease);
}

.by-gallery figure:hover img {
  transform: scale(1.04);
}

.by-gallery figcaption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(21, 19, 14, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
}

/* ---------- 荣誉与锦旗 ---------- */
.by-honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.by-honor {
  overflow: hidden;
  border: 1px solid var(--by-line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.3s var(--by-ease), box-shadow 0.3s var(--by-ease),
    border-color 0.3s var(--by-ease);
}

.by-honor:hover {
  border-color: var(--by-gold-light);
  box-shadow: var(--by-shadow);
  transform: translateY(-3px);
}

.by-honor-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--by-cream);
}

.by-honor-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 0.6s var(--by-ease);
}

.by-honor:hover .by-honor-img img {
  transform: scale(1.04);
}

.by-honor>div:last-child {
  padding: 16px 18px;
}

.by-honor b {
  display: block;
  color: var(--by-ink);
  font-size: 14.5px;
}

.by-honor span {
  display: block;
  margin-top: 4px;
  color: var(--by-muted);
  font-size: 12px;
}

.by-honor-wall {
  position: relative;
  overflow: hidden;
  margin-top: 44px;
  border-radius: 22px;
  box-shadow: var(--by-shadow);
}

.by-honor-wall img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.by-honor-wall figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 28px 22px;
  background: linear-gradient(180deg, transparent, rgba(21, 19, 14, 0.82));
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.by-flags-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  margin-top: 52px;
}

.by-flags-figure {
  overflow: hidden;
  padding: 24px 24px 0;
  border-radius: 20px;
  /* 图片四周留白的底色：#f3ecdf（与页面米色底一致） */
  background: var(--by-cream-2);
  box-shadow: var(--by-shadow);
}

.by-flags-figure img {
  width: 100%;
  /* 按原图比例自适应，四周留白（24px）上下左右完全一致 */
  height: auto;
  border-radius: 10px;
}

.by-flags-figure figcaption {
  margin: 24px -24px 0;
  padding: 12px 24px;
  background: #fff;
  color: var(--by-muted);
  font-size: 12.5px;
}

.by-quotes {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.by-quote {
  position: relative;
  padding: 20px 22px 18px;
  border: 1px solid var(--by-line);
  border-radius: 14px;
  background: #fff;
}

.by-quote::before {
  content: "“";
  position: absolute;
  top: 4px;
  right: 16px;
  color: var(--by-gold-soft);
  font-family: var(--by-serif);
  font-size: 46px;
  line-height: 1;
}

.by-quote p {
  color: var(--by-text);
  font-size: 14px;
  line-height: 1.8;
}

.by-quote footer {
  margin-top: 10px;
  color: var(--by-muted);
  font-size: 12px;
}

/* ---------- 联系我们 ---------- */
.by-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}

.by-contact-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--by-line);
  border-radius: 20px;
  background: #fff;
}

.by-contact-card--main {
  border-color: var(--by-gold-light);
  box-shadow: 0 18px 50px rgba(176, 141, 79, 0.12);
}

.by-contact-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--by-gold-soft);
  color: var(--by-gold-deep);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.by-contact-card h3 {
  margin-top: 6px;
  font-size: 22px;
}

.by-contact-card>p {
  margin-top: 4px;
  color: var(--by-muted);
  font-size: 13.5px;
}

.by-contact-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--by-line-soft);
}

.by-contact-row svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--by-gold-deep);
}

.by-contact-row b {
  display: block;
  color: var(--by-ink);
  font-size: 14.5px;
  line-height: 1.6;
}

.by-contact-row span {
  display: block;
  margin-top: 3px;
  color: var(--by-muted);
  font-size: 12px;
}

.by-contact-row a:hover {
  color: var(--by-gold-deep);
}

.by-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 24px 30px;
  border-radius: 20px;
  background: var(--by-ink);
}

.by-contact-bar-l {
  display: flex;
  align-items: center;
  gap: 28px;
}

.by-contact-bar-tel {
  color: var(--by-gold-light);
  font-family: var(--by-font);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.by-contact-bar-tel small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--by-font);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.by-contact-bar-qr {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

/* 小二维码本身做成按钮：
   桌面端悬停弹出放大版，手机端点击弹出大图 */
.by-qr-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: zoom-in;
}

.by-qr-trigger img {
  width: 56px;
  height: 56px;
  padding: 3px;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.25s var(--by-ease), box-shadow 0.25s var(--by-ease);
}

.by-qr-trigger:hover img,
.by-qr-trigger:focus-visible img {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px rgba(216, 188, 134, 0.35);
}

.by-contact-map {
  position: relative;
  border: 1px solid var(--by-line);
  border-radius: 20px;
  background: #fff;
}

/* 裁剪层：只负责裁切和圆角，让说明条可以正常排在下面 */
.by-contact-map-frame {
  overflow: hidden;
  aspect-ratio: 1240 / 430;
  border-radius: 19px;
}

/* 与上方深色联系条拉开距离：
   .by-contact-map 是 <figure>，会被本文段 1 的
   `body.by-body :where(figure…){margin:0}`（权重 0,1,1）重置，
   单类名选择器压不过它，所以这里用两个类名（0,2,0）提高权重 */
.by-section--cream .by-contact-map {
  margin-top: 44px;
}

/* 地图不做完整展示，只取标记点周边的核心区域，让路名/地标看得更清楚。
   原图 1908×868：容器 1240×430 + cover 后图片按 0.65 绘制，
   再叠 scale(1.3) 后等效仍为 0.85×（缩小），所以放大后依旧清晰不发虚。
   object-position / transform-origin 都对准标记点（水平 44%、垂直 40%）。 */
.by-contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 40%;
  transform: scale(1.3);
  transform-origin: 44% 40%;
}

.by-contact-map figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--by-shadow-sm);
  color: var(--by-ink);
  font-size: 13px;
}

.by-contact-map figcaption small {
  display: block;
  margin-top: 2px;
  color: var(--by-muted);
  font-size: 11.5px;
}

/* ---------- 底部 CTA ---------- */
.by-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #c9a55e 0%, #b08d4f 55%, #9a773c 100%);
  color: #17150f;
}

.by-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 20%,
      rgba(255, 255, 255, 0.28),
      transparent 40%),
    radial-gradient(circle at 82% 80%,
      rgba(255, 255, 255, 0.18),
      transparent 45%);
  pointer-events: none;
}

.by-cta-inner {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(56px, 7vw, 88px) 0;
  text-align: center;
}

.by-cta h2 {
  color: #17150f;
  font-family: var(--by-serif);
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-wrap: balance;
}

.by-cta p {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(23, 21, 15, 0.72);
  font-size: 15.5px;
  line-height: 1.9;
}

.by-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.by-cta-note {
  color: rgba(23, 21, 15, 0.72);
  margin-top: 20px;
  font-size: 12.5px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {

  .by-hero-grid,
  .by-profile-grid,
  .by-culture-grid,
  .by-cover-grid,
  .by-premium-grid,
  .by-flags-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .by-hero-visual {
    max-width: 760px;
  }

  .by-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .by-svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .by-team-grid,
  .by-honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .by-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .by-map {
    height: 440px;
  }

  /* 中等宽度：改用 16:9，避免地图被压成细长条、路名过小 */
  .by-contact-map-frame {
    aspect-ratio: 16 / 9;
  }

  .by-premium-media img {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .by-hero-grid {
    padding-top: 24px;
  }

  .by-hero h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .by-hero-photo img {
    height: 300px;
  }

  .by-hero-stamp {
    bottom: 12px;
    left: 12px;
    padding: 12px 16px;
  }

  .by-hero-stamp b {
    font-size: 26px;
  }

  .by-hero {
    padding-bottom: 20px;
    margin-bottom: -36px;
  }

  .by-profile {
    padding-top: 96px;
  }

  .by-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .by-stat {
    padding: 20px;
  }

  .by-media img {
    min-height: 300px;
    height: 320px;
  }

  .by-timeline,
  .by-svc-grid,
  .by-team-grid,
  .by-honor-grid,
  .by-values,
  .by-mv,
  .by-adv-grid,
  .by-contact-grid,
  .by-mode,
  .by-pmetrics {
    grid-template-columns: 1fr;
  }

  .by-values {
    margin-top: 22px;
  }

  .by-mode-step {
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .by-mode-step:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .by-mode-step::before {
    display: none;
  }

  .by-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
  }

  .by-gallery figure:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .by-gallery figure:last-child {
    grid-column: auto;
  }

  .by-team-stats {
    grid-template-columns: 1fr 1fr;
  }

  .by-team-card img {
    height: 220px;
  }

  .by-contact-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .by-contact-bar-l {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .by-contact-map-frame {
    aspect-ratio: 3 / 2;
    border-radius: 19px 19px 0 0;
  }

  .by-contact-map img {
    transform: scale(1.5);
  }

  /* 窄屏说明条放到地图下方，不再遮挡地图 */
  .by-contact-map figcaption {
    position: static;
    padding: 12px 14px;
    border-radius: 0;
    border-top: 1px solid var(--by-line);
    background: #fff;
    box-shadow: none;
  }

  .by-section--cream .by-contact-map {
    margin-top: 28px;
  }

  .by-flags-figure {
    padding: 14px 14px 0;
  }

  .by-flags-figure figcaption {
    margin: 14px -14px 0;
    padding: 12px 14px;
  }

  .by-honor-wall img {
    height: 220px;
  }

  .by-cta-actions .by-btn {
    width: 100%;
  }

  .by-map {
    height: 380px;
  }
}

/* 手机上地图可用宽度只有 ~340px，横条会让路名挤成一团 →
   改成接近 4:3 的竖一点的画幅，并进一步放大，只保留标记点周围区域。
   4:3 画幅下 cover 以高度为准（0.295），叠 scale(2.6) 后等效 0.77 倍，
   可见范围约原图宽度的 22%（约 420px），路名比全览时大 4 倍多 */
@media (max-width: 600px) {

  .by-contact-map-frame {
    aspect-ratio: 4 / 3;
  }

  .by-contact-map img {
    transform: scale(2.6);
  }
}

@media (max-width: 480px) {

  .by-facts,
  .by-gallery,
  .by-team-grid,
  .by-honor-grid {
    grid-template-columns: 1fr;
  }

  .by-gallery {
    grid-template-rows: repeat(4, 180px);
  }

  .by-hero-trust {
    gap: 8px 14px;
  }

  .by-hero-trust span {
    font-size: 12px;
  }
}