/* ============================================================
   五量度 · about-office 页 Apple 流体视觉层（2026-11-02）
   依赖 home-apple.css 的 .ah 设计令牌与通用组件（body 同时挂 ah / ofpage）。
   区块：首屏 / 两处地址 / 办公与园区实景 / 到访与寄件 / 为什么选生物城 / 品牌识别 / FAQ
   ============================================================ */

/* ============ 首屏：竖版主图 + 玻璃地址卡 ============ */
.ofpage .ah-stage-photo { aspect-ratio: 3 / 4; border-radius: 28px; }
.ofpage .ah-stage-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ofpage .ah-glass { width: min(300px, 86%); }
.ofpage .ah-glass-addr { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ah-ink-2); }
.ofpage .ah-glass-addr b { color: var(--ah-ink); }
.ofpage .ah-badge-live { left: auto; right: 16px; }

/* ============ 两处地址卡片 ============ */
.of-addr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: 8px 0 4px; }
.of-addr-card {
  position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: 22px;
  background: #fff; border: 1px solid var(--ah-line); box-shadow: var(--ah-shadow-1); overflow: hidden;
  transition: transform .6s var(--ah-spring), box-shadow .5s, border-color .3s;
}
.of-addr-card:hover { transform: translateY(-5px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.3); }
.of-addr-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px 200px at 100% 0%, rgba(22,166,199,.10), transparent 68%);
}
.of-addr-tag { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ah-brand-deep); }
.of-addr-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--ah-brand); }
.of-addr-card h3 { position: relative; margin: 12px 0 4px; font-size: clamp(19px, 2vw, 24px); color: var(--ah-ink); letter-spacing: -.01em; }
.of-addr-line { position: relative; margin: 10px 0 0; font-size: 14.5px; line-height: 1.78; color: var(--ah-ink-2); }
.of-addr-line b { color: var(--ah-ink); }
.of-addr-note { position: relative; margin-top: 10px; font-size: 13px; color: var(--ah-ink-3); }
.of-addr-cta { position: relative; margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ============ 办公与园区实景：bento ============ */
.of-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.of-cell {
  position: relative; display: block; overflow: hidden; border-radius: 20px;
  background: #e7eef4; box-shadow: var(--ah-shadow-1);
  transition: transform .6s var(--ah-spring), box-shadow .5s;
}
.of-cell:hover { transform: translateY(-5px); box-shadow: var(--ah-shadow-2); }
.of-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ah-ease); }
.of-cell:hover img { transform: scale(1.05); }
.of-bento-wide { grid-column: 1 / -1; aspect-ratio: 16 / 8.2; }
.of-bento-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,38,.04) 0%, rgba(6,24,38,0) 38%, rgba(6,24,38,.66) 100%); }
.of-bento-wide .of-cell-cap {
  position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; color: #fff;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
}
.of-bento-wide .of-cell-cap b { font-size: 17px; letter-spacing: -.01em; }
.of-bento-wide .of-cell-cap span { font-size: 12.5px; color: rgba(255,255,255,.82); }
.of-bento-cell { aspect-ratio: 4 / 3; }
.of-bento-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,24,38,0) 52%, rgba(6,24,38,.58) 100%); }
.of-bento-cell .of-cell-cap { position: absolute; z-index: 2; left: 15px; right: 15px; bottom: 12px; color: #fff; font-size: 13.5px; font-weight: 600; }
.of-office-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 20px; padding: 16px 20px; border-radius: 16px;
  background: var(--ah-paper-2); border: 1px solid var(--ah-line-soft);
}
.of-office-note p { margin: 0; font-size: 13.5px; color: var(--ah-ink-2); }

/* ============ 到访与寄件 ============ */
.of-visit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.of-step {
  position: relative; padding: 22px 20px 20px; border-radius: 20px;
  background: #fff; border: 1px solid var(--ah-line); box-shadow: var(--ah-shadow-1);
  transition: transform .55s var(--ah-spring), box-shadow .45s, border-color .3s;
}
.of-step:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.3); }
.of-step-no {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(150deg, rgba(22,166,199,.16), rgba(22,166,199,.05)); color: var(--ah-brand-deep);
  font-weight: 800; font-size: 15px;
}
.of-step h4 { margin: 13px 0 0; font-size: 16px; color: var(--ah-ink); }
.of-step p { margin: 7px 0 0; font-size: 13px; color: var(--ah-ink-2); line-height: 1.72; }

/* ============ 为什么选择生物城 ============ */
.of-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.of-why-card {
  display: flex; align-items: flex-start; gap: 15px; padding: 22px 22px 20px; border-radius: 20px;
  background: #fff; border: 1px solid var(--ah-line); box-shadow: 0 1px 2px rgba(10,30,55,.03);
  transition: transform .55s var(--ah-spring), box-shadow .45s, border-color .3s;
}
.of-why-card:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.3); }
.of-why-ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(22,166,199,.14), rgba(22,166,199,.04)); color: var(--ah-brand-deep);
}
.of-why-ico svg { width: 21px; height: 21px; }
.of-why-card b { display: block; font-size: 15px; color: var(--ah-ink); }
.of-why-card > span:last-child { display: block; min-width: 0; }
.of-why-card p { margin: 5px 0 0; font-size: 13px; color: var(--ah-ink-2); line-height: 1.7; }

/* ============ 品牌识别（深色，logo 适配周边配色） ============ */
.of-brand {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.4vw, 52px); align-items: center; padding: clamp(28px, 3.6vw, 52px);
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--ah-brand-deep), #0a2438); color: #fff;
}
.of-brand::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 240px at 12% 0%, rgba(78,205,196,.30), transparent 60%),
              radial-gradient(360px 220px at 100% 100%, rgba(244,167,44,.18), transparent 60%);
}
.of-brand-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px; border-radius: 22px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* 品牌 mark 以白色托片承载，保留全彩配色：适配周边配色、不做简单图片装载 */
.of-brand-card img {
  width: auto; height: 104px; padding: 20px 24px; border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f2f8fb);
  box-shadow: 0 16px 38px rgba(3,20,34,.42), inset 0 0 0 1px rgba(11,42,64,.06);
}
.of-brand-card .of-brand-name { margin-top: 16px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.of-brand-card .of-brand-tag { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.78); }
.of-brand-side { position: relative; }
.of-brand-side .ah-kicker { color: rgba(255,255,255,.72); }
.of-brand-side .ah-kicker::before, .of-brand-side .ah-kicker::after { background: rgba(255,255,255,.5); }
.of-brand-side h2 { margin: 14px 0 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.22; color: #fff; }
.of-brand-side p { margin: 14px 0 0; font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.8; }
.of-brand-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.of-brand-chips span { font-size: 12.5px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; }

/* ============ 相关页面 ============ */
.of-sib { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 4px; }
.of-sib a {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--ah-line); box-shadow: 0 1px 2px rgba(10,30,55,.03);
  text-decoration: none; transition: transform .5s var(--ah-spring), box-shadow .4s, border-color .3s;
}
.of-sib a:hover { transform: translateY(-4px); box-shadow: var(--ah-shadow-2); border-color: rgba(22,166,199,.3); }
.of-sib b { font-size: 15px; color: var(--ah-ink); }
.of-sib span { font-size: 12.5px; color: var(--ah-brand-deep); }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .of-addr { grid-template-columns: minmax(0, 1fr); }
  .of-why { grid-template-columns: minmax(0, 1fr); }
  .of-brand { grid-template-columns: minmax(0, 1fr); }
  .of-sib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .of-visit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ofpage .ah-stage-photo { border-radius: 20px; }
  .of-visit { grid-template-columns: minmax(0, 1fr); }
  .of-bento { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .of-bento-wide { aspect-ratio: 16 / 10; }
  .of-sib { grid-template-columns: minmax(0, 1fr); }
  .of-office-note { flex-direction: column; align-items: flex-start; }
}

/* ============ 无障碍：减弱动效 ============ */
@media (prefers-reduced-motion: reduce) {
  .of-cell, .of-cell img, .of-addr-card, .of-step, .of-why-card, .of-sib a, .of-brand-card { transition-duration: .001ms !important; }
}
