/* ============================================================
   site-ext.css —— 生成器的扩展样式（覆盖模板主题 + 新增组件）
   由 sitegen 确定性生成。改这里的规则请改生成器，不要直接改本文件。
   ============================================================ */

:root {
  /* 调性：高端克制 → 主色（design_tokens: max_colors <= 2，只有主色 + 中性色） */
  --brand: #8A7860;
  --brand-hover: #75654F;
  --brand-soft: #F5F2EC;
}

/* ===== 待补充告警条（仅生成/审核阶段展示） ===== */
.tbd-bar { padding: 40px 0 8px; }
.tbd-inner {
  background: #FFF8E6;
  border: 1px solid #F2D48A;
  border-left: 4px solid #E8A317;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.tbd-title { font-size: 15px; font-weight: 600; color: #7A5600; margin: 0 0 10px; }
.tbd-note { font-size: 13px; color: #8A6A2A; margin: 0 0 16px; line-height: 1.7; }
.tbd-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tbd-list li {
  font-size: 12.5px; color: #7A5600;
  background: #FFFDF6; border: 1px solid #F2D48A;
  border-radius: 999px; padding: 5px 13px;
}

/* ===== 主营方向标签行（没有逐项说明时的降级形态） ===== */
/* 刻意做成标签行而不是卡片：卡片布局会诱使人给每张卡塞同一句套话，
   三张卡写着同一句话 —— 客户一眼识破是套壳，AI 引擎也拿不到增量信息。 */
.scope-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.scope-chips span {
  padding: 14px 26px; background: var(--surface);
  border-radius: var(--radius-md); font-size: 15px; color: var(--ink);
  font-weight: 500; box-shadow: var(--shadow-card);
  border-left: 3px solid var(--brand);
}

/* ===== 资质：没有年份/编号时，让称号自己当主文字 ===== */
.honor-title-only { font-size: 17px !important; color: var(--ink) !important; line-height: 1.5; }

/* ===== 页脚收录入口 ===== */
.footer-links { margin-top: 8px; }
.footer-links a { color: var(--muted); border-bottom: 1px solid var(--line); }
.footer-links a:hover { color: var(--brand); }

/* ===== 客户正式 logo（YWD 字标，2026-10-01 增补；2x 屏按 2 倍尺寸标定） ===== */
.brand-img { height: 34px; width: auto; }
.footer-logo { height: 34px; width: auto; }

/* ===== 沉浸式 Hero 大图轮播（2026-10-02 增补） ===== */
.hero-immersive {
  position: relative;
  padding: 150px 0 130px;
  background: #0B1B33;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-slide.active { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,18,36,.86) 0%, rgba(7,18,36,.58) 48%, rgba(7,18,36,.28) 100%),
    linear-gradient(180deg, rgba(7,18,36,.30) 0%, rgba(7,18,36,.15) 55%, rgba(7,18,36,.55) 100%);
}
.hero-immersive .hero-wrap {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 720px;
  margin: 0;
  color: #FFFFFF;
}
.hero-immersive .hero-eyebrow {
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}
.hero-immersive .hero-wrap h1 { color: #FFFFFF; }
.hero-immersive .hero-wrap h1 em { color: #E3D2B8; }
.hero-immersive .hero-sub,
.hero-immersive .hero-meta { color: rgba(255,255,255,.78); }
.hero-immersive .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,.55); }
.hero-immersive .btn-ghost:hover { border-color: #FFFFFF; }
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.hero-dots button {
  width: 30px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .3s ease;
}
.hero-dots button.active { background: #FFFFFF; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
@media (max-width: 760px) {
  .hero-immersive { padding: 110px 0 100px; }
}

/* ===== 创始人板块（2026-10-01 增补） ===== */
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.founder-info h3 { font-size: 24px; margin: 0 0 6px; }
.founder-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  margin-left: 10px;
}
.founder-bio { color: var(--muted); line-height: 1.9; margin: 0 0 18px; }
.founder-timeline { list-style: none; margin: 0; padding: 0; }
.founder-timeline li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
}
.founder-timeline li:last-child { border-bottom: none; }
.founder-timeline strong {
  flex: 0 0 3.2em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { max-width: 300px; }
}

/* ===== 关于我们：门店实景图（2026-10-03 自荣誉区移入） ===== */
.about-photo {
  margin: 30px auto 0;
  max-width: 760px;
}
.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.about-photo figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.6;
}

/* ===== 创始人证书墙（已打码：身份证号/出生日期已遮盖） ===== */
.founder-certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.founder-certs figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-card);
}
.founder-certs img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 8px;
}
.founder-certs figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.6;
}

/* ===== 产品卡实物图（客户素材，2026-10-01 增补） ===== */
.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  padding: 10px;
}

/* ===== 资质与荣誉：证书/门店实物图墙（客户素材，2026-10-01 增补） ===== */
.honor-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.honor-photos figure { margin: 0; }
.honor-photos img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
}
.honor-photos figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.6;
}
