/* ============================================================
   品陶轩 前台样式 · Aesop 风格
   暖米白底 + 墨褐黑字 + 克制橄榄金 + 衬线标题 + 大留白
   ============================================================ */
:root {
  --black: #33302A;         /* 主文字 墨褐黑 */
  --ink: #33302A;
  --gray: #7C7568;          /* 次要文字 */
  --line: #DED8CA;          /* 分隔线 */
  --line-soft: #E7E2D6;
  --accent: #7C6A44;        /* 橄榄金/棕 */
  --accent-soft: #A99A76;
  --bg: #F3F1E9;            /* 页面暖米白 */
  --bg-soft: #ECE8DC;       /* 次级底色 */
  --bg-panel: #FBFAF5;      /* 卡片 */
  --radius: 2px;            /* 极小圆角，趋近直角 */
  --maxw: 1180px;
  --serif: "Songti SC", "STSong", "Georgia", "Times New Roman", "KaiTi", serif;
  /* 兼容旧模板中引用的变量名 */
  --yellow: #7C6A44;
  --yellow-soft: #E7E0CE;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

h1, h2, h3, .kai {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.35;
}

a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,241,233,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; font-family: var(--serif); letter-spacing: 2px; }
.brand .logo-mark {
  width: 40px; height: 40px; object-fit: contain;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 16px; font-size: 14px; color: var(--ink); letter-spacing: 1px;
  border-bottom: 1px solid transparent; border-radius: 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); background: none; }
.btn-login {
  border: 1px solid var(--black); padding: 9px 20px; border-radius: var(--radius);
  font-size: 13px; margin-left: 14px; letter-spacing: 1px; transition: .25s;
}
.btn-login:hover { background: var(--black); color: var(--bg); }

/* ===== 通用按钮 ===== */
.btn {
  display: inline-block; padding: 13px 34px; border-radius: var(--radius);
  background: var(--black); color: var(--bg); font-size: 14px; border: 1px solid var(--black);
  cursor: pointer; transition: .25s; font-family: inherit; letter-spacing: 1px;
}
.btn:hover { background: transparent; color: var(--black); }
.btn-yellow { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-yellow:hover { background: transparent; color: var(--accent); }
.btn-ghost { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--bg); }

/* ===== Hero / 轮播 ===== */
.hero { position: relative; height: 560px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; height: 100%;
  display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
  opacity: 0; visibility: hidden; transform: scale(1.05);
  transition: opacity 1s ease, transform 6s ease, visibility 1s;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); pointer-events: auto; z-index: 1; }
.hero-slide::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(40,36,30,.6), rgba(40,36,30,.12)); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.hero h1 { font-size: 50px; color:#fff; margin-bottom: 18px; font-weight: 600; letter-spacing: 3px; }
.hero p { font-size: 17px; max-width: 540px; color: #f2efe6; line-height: 1.9; }
.hero .tag {
  display:inline-block; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6);
  padding: 5px 16px; border-radius: var(--radius); font-size: 12px; margin-bottom: 22px;
  letter-spacing: 2px; font-family: sans-serif;
}
/* 轮播控制：左右箭头 + 底部圆点指示器 */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(40,36,30,.35); color: #fff; font-size: 24px; line-height: 1;
  display: grid; place-items: center; transition: background .25s;
}
.hero-arrow:hover { background: rgba(40,36,30,.72); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }
.hero-nav {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.5); transition: width .3s, background .3s, border-radius .3s;
}
.hero-dot.active { width: 28px; border-radius: 6px; background: #fff; }

/* ===== 区块 ===== */
.section { padding: 38px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 50px; line-height: 1.25; }
.section-head .eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 2px; }
.section-head h2 { font-size: 32px; margin: 3px 0; font-weight: 600; line-height: 1.2; }
.section-head .bar { width: 40px; height: 1px; background: var(--accent); margin: 8px auto 0; }

/* ===== 网格 ===== */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(51,48,42,.1); border-color: var(--accent-soft); }
.card .thumb { aspect-ratio: 1/1; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb .ph { font-size: 56px; color: #cfc7b4; }
.card .body { padding: 22px; }
.card .body h3 { font-size: 18px; font-weight: 600; }
.card .body .meta { color: var(--gray); font-size: 13px; margin-top: 8px; letter-spacing: .5px; }
.price { color: var(--accent); font-weight: 600; font-family: var(--serif); }

/* ===== 产品展示：故宫文创风格（上下两页，图片位置固定） ===== */
.pm-page { background: #FAF6F0; position: relative; overflow: hidden; }
.pm-page + .pm-page { border-top: 1px solid #EDE4D6; }
.pm-stage { max-width: 1100px; margin: 0 auto; padding: 70px 30px 64px; position: relative; z-index: 2; min-height: 460px; }
.pm-slide { display: none; align-items: center; gap: 64px; }
.pm-slide.active { display: flex; }
/* 仅翻页切换时淡入，首屏首图立即显示，避免打开页面 1-3 秒空白 */
.pm-slide.pm-anim.active { animation: pmFadeIn .5s ease both; }

/* 上页：图片固定在右侧（文字左、图片右） */
.pm-page-top .pm-slide { flex-direction: row; }
/* 下页：图片固定在左侧（图片左、文字右） */
.pm-page-bottom .pm-slide { flex-direction: row-reverse; }

@keyframes pmFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- 产品图片 ---- */
.pm-img-wrap { flex: 0 0 44%; position: relative; }
.pm-img-wrap img { width: 100%; max-height: 440px; object-fit: contain; border-radius: var(--radius); filter: drop-shadow(0 8px 24px rgba(120,90,50,.13)); transition: transform .5s ease; }
.pm-slide.active .pm-img-wrap img:hover { transform: scale(1.03); }

/* ---- 文字区域 ---- */
.pm-info { flex: 1; }
.pm-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.pm-ornament { font-size: 24px; color: #B8860B; line-height: 1; user-select: none; }
.pm-title { font-size: 28px; font-weight: 700; color: #8B4513; font-family: var(--serif); margin: 0; letter-spacing: 2px; }
.pm-desc { font-size: 15px; color: #5D4E37; line-height: 2; margin: 0 0 28px; text-align: justify; white-space: pre-line; max-width: 520px; }

/* ---- 导航圆点 ---- */
.pm-dots { display: flex; gap: 16px; margin-bottom: 28px; }
.pm-dot { width: 28px; height: 28px; border-radius: 50%; background: none; border: 2px solid #D4C4A8; cursor: pointer; padding: 0; display: grid; place-items: center; transition: all .3s ease; font-size: 12px; color: #B0A090; }
.pm-dot:hover { border-color: #B8860B; color: #B8860B; }
.pm-dot.active { background: linear-gradient(135deg, #D4A84B, #B8860B); border-color: #B8860B; color: #fff; box-shadow: 0 2px 10px rgba(184,134,11,.35); }

/* ---- 操作按钮 ---- */
.pm-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pm-btn { display: inline-block; padding: 10px 32px; border: 2px solid #C4A86A; border-radius: var(--radius); background: transparent; color: #8B6914; font-size: 14px; letter-spacing: 2px; text-decoration: none; transition: all .3s ease; cursor: pointer; font-family: inherit; }
.pm-btn:hover { background: #C4A86A; color: #fff; box-shadow: 0 4px 14px rgba(196,168,106,.35); }

/* ---- 背景水印 ---- */
.pm-watermark { position: absolute; top: 50%; transform: translateY(-50%); font-size: 280px; color: rgba(200,180,150,.08); font-family: "Kaiti", "STKaiti", "KaiTi", serif; pointer-events: none; z-index: 1; user-select: none; line-height: 1; white-space: nowrap; }
.pm-watermark.pm-w-left { left: -20px; }
.pm-watermark.pm-w-right { right: -20px; }

/* ---- 筛选工具栏（保留在上方） ---- */
.pm-toolbar { background: #fff; padding: 18px 30px; border-bottom: 1px solid #EDE4D6; }
.pm-toolbar form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; max-width: 1100px; margin: 0 auto; }
.pm-toolbar input[type="text"] { min-width: 220px; padding: 8px 14px; border: 1px solid #DDD4C4; border-radius: var(--radius); background: #FDFAF5; font-size: 14px; outline: none; transition: border-color .3s; }
.pm-toolbar input[type="text"]:focus { border-color: #C4A86A; }
.pm-toolbar select { padding: 8px 14px; border: 1px solid #DDD4C4; border-radius: var(--radius); background: #FDFAF5; font-size: 14px; outline: none; cursor: pointer; }
.pm-toolbar .btn-ghost { border-color: #C4A86A; color: #8B6914; }
.pm-toolbar .btn-ghost:hover { background: #C4A86A; color: #fff; }

/* 响应式 */
@media (max-width: 768px) {
  .pm-stage { padding: 40px 18px 36px; min-height: auto; gap: 30px; }
  .pm-page-top .pm-slide, .pm-page-bottom .pm-slide { flex-direction: column !important; gap: 24px; text-align: center; }
  .pm-img-wrap { flex: none; width: 80%; max-width: 320px; margin: 0 auto; }
  .pm-title { font-size: 22px; }
  .pm-desc { font-size: 14px; max-width: none; text-align: left; }
  .pm-title-row { justify-content: center; }
  .pm-dots { justify-content: center; }
  .pm-actions { justify-content: center; }
  .pm-watermark { font-size: 140px; }
  .pm-toolbar form { justify-content: center; }
}

/* ===== 荣誉 ===== */
.honor-card { text-align: center; padding: 32px 20px; border:1px solid var(--line); border-radius: var(--radius); background:var(--bg-panel); transition:.3s; }
.honor-card:hover { border-color: var(--accent-soft); }
.honor-card .medal { font-size: 38px; opacity: .85; }
.honor-card h3 { font-size: 17px; margin-top: 14px; font-weight: 600; }
.honor-card .issuer { color: var(--gray); font-size: 13px; margin-top: 8px; }

/* ===== 人员 ===== */
.person { text-align: center; }
.person .avatar { width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 18px; background: var(--bg-soft);
  display:grid; place-items:center; overflow:hidden; border: 1px solid var(--accent-soft); }
.person .avatar img { width:100%; height:100%; object-fit:cover; }
.person h3 { font-size: 19px; font-weight: 600; }
.person .title { color: var(--accent); font-weight:600; font-size:13px; letter-spacing:1px; margin-top:4px; }
.person .bio { color: var(--gray); font-size: 14px; margin-top: 10px; }
.honors { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 10px; }
.honor-badge {
  display: inline-block; font-size: 12px; line-height: 1.5;
  padding: 2px 11px; border-radius: 999px; white-space: nowrap;
  color: #9a7438; background: #f5efe2; border: 1px solid #e6d9bf;
}
.award-list { margin-top: 8px; }
.award-line { font-size: 13px; line-height: 1.6; color: var(--gray); }
.award-line + .award-line { margin-top: 6px; }
.award-tag {
  display: inline-block; font-size: 11px; line-height: 1.5; vertical-align: 1px;
  padding: 1px 8px; margin-right: 7px; border-radius: 4px; white-space: nowrap;
  color: #6b6457; background: #efe9dc; border: 1px solid #ddd2bb;
}

/* ===== 人员介绍：悬停展开（同行右侧显示详情，其余照片隐藏） ===== */
.team-explorer { position: relative; }
.team-group { margin-bottom: 44px; }
.team-group:last-child { margin-bottom: 0; }
.team-group-title { font-size: 14px; letter-spacing: 3px; color: var(--gray); text-transform: uppercase; font-weight: 600; margin: 0 0 18px; }
.section-sub { color: var(--gray); font-size: 14px; margin-top: 8px; line-height: 1.6; }

.team-row { display: flex; align-items: flex-start; gap: 22px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.team-row::-webkit-scrollbar { height: 6px; }
.team-row::-webkit-scrollbar-thumb { background: var(--accent-soft); border-radius: 999px; }

.person-trigger { flex: 0 0 auto; width: 200px; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font-family: inherit; color: inherit; text-align: center; scroll-snap-align: start; transition: opacity .3s ease; }
.person-trigger .pt-photo { display: block; width: 200px; height: 260px; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); transition: border-color .3s ease, box-shadow .3s ease, transform .5s ease; }
.person-trigger .pt-photo img, .person-trigger .pt-photo .pt-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-trigger .pt-photo .pt-ph { display: grid; place-items: center; font-size: 46px; color: var(--gray); background: var(--bg-soft); }
.person-trigger:hover .pt-photo, .person-trigger:focus-visible .pt-photo, .person-trigger.active .pt-photo { border-color: var(--accent); box-shadow: 0 12px 30px rgba(51,48,42,.12); }
.person-trigger:hover .pt-photo img, .person-trigger.active .pt-photo img { transform: scale(1.05); }
.person-trigger .pt-meta { display: block; margin-top: 14px; }
.person-trigger .pt-name { display: block; font-size: 18px; font-weight: 600; }
.person-trigger .pt-title { display: block; color: var(--accent); font-size: 13px; letter-spacing: 1px; margin-top: 4px; }

/* 悬停某照片：同行其余照片直接隐藏，右侧展开详情 */
.team-row.hovering .person-trigger:not(.active) { display: none; }
.team-detail { display: none; flex: 1 1 auto; min-width: 0; padding-left: 40px; border-left: 1px solid var(--line); }
.team-row.hovering .team-detail { display: block; animation: detailIn .35s ease; }
@keyframes detailIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }

.team-detail .stage-info { text-align: left; }
.team-detail .stage-bio { color: var(--gray); font-size: 15px; line-height: 1.85; margin-top: 0; white-space: pre-line; }
.team-detail .stage-works { color: var(--ink); font-size: 14px; margin-top: 14px; font-style: italic; }
.team-detail .stage-block { margin-top: 22px; }
.team-detail .stage-label { font-size: 12px; letter-spacing: 2px; color: var(--gray); text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.team-detail .stage-honors { display: flex; flex-wrap: wrap; gap: 8px; }
.team-detail .stage-awards { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 640px) {
  .person-trigger, .person-trigger .pt-photo { width: 150px; }
  .person-trigger .pt-photo { height: 195px; }
  .team-row.hovering { flex-wrap: wrap; }
  .team-row.hovering .team-detail { flex-basis: 100%; padding-left: 0; border-left: 0; padding-top: 22px; }
}

/* ===== 新闻 ===== */
.news-item { display:flex; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); transition:.25s; }
.news-item:hover { padding-left: 8px; }
.news-item .date { color: var(--accent); font-size: 13px; white-space: nowrap; font-family: var(--serif); }
.news-item h3 { font-size: 18px; font-weight: 600; }
.news-item p { color: var(--gray); font-size: 14px; margin-top: 4px; }

/* ===== 页脚 ===== */
.site-footer { background: #2E2A24; color: #B8B0A1; padding: 68px 0 30px; }
.site-footer a { color: #B8B0A1; }
.site-footer a:hover { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.site-footer h4 { color:#F2EEE4; margin-bottom: 16px; font-family: var(--serif); font-weight: 600; letter-spacing: 1px; }
.site-footer .bottom { border-top: 1px solid #423d33; margin-top: 44px; padding-top: 22px; font-size: 12px; color:#877f70; text-align:center; letter-spacing:.5px; }

/* ===== 表单 ===== */
.field { margin-bottom: 20px; }
.field label { display:block; font-size: 13px; margin-bottom: 8px; font-weight: 600; letter-spacing:.5px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; background: var(--bg-panel); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }

/* ===== 联系块 ===== */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info-col { display: flex; flex-direction: column; gap: 4px; }

/* 右侧留言表单：缩短宽度 + 紧凑间距 */
.contact-form-col { display: flex; flex-direction: column; }
.contact-form { max-width: 70%; }
.contact-form .field { margin-bottom: 12px; }
.contact-form .field label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--gray); letter-spacing: .5px; }
.contact-form .field input,
.contact-form .field textarea,
.contact-form .field select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: var(--radius); font-family: inherit; font-size: 14px;
  background: var(--bg-panel); color: var(--ink); transition: border-color .2s;
}
.contact-form .field input:focus,
.contact-form .field textarea:focus,
.contact-form .field select:focus { outline: none; border-color: var(--accent); }
.contact-form .field textarea { min-height: 90px; resize: vertical; }
.contact-form .btn { margin-top: 2px; padding: 10px 28px; font-size: 13px; }
.flash-msg { padding: 7px 11px; border-radius: 6px; margin-bottom: 8px; font-size: 12px; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--accent-soft); box-shadow: 0 10px 30px rgba(51,48,42,.06); background: #e9e4d8; }
.map-box iframe { width: 100% !important; height: 380px; border: 0; display: block; }
/* 百度地图"自定义地图"生成的容器默认写死 697px×550px，强制改为自适应 */
.map-box #dituContent { width: 100% !important; height: 360px !important; border: 0 !important; border-radius: var(--radius); background: #e9e4d8; }

/* 后台入口：仅成员介绍页右上角，透明无文字无边框，仅内部人员知晓点击进入 */
.secret-admin { position: fixed; top: 0; right: 0; width: 46px; height: 46px; z-index: 9999; background: transparent; border: 0; display: block; cursor: pointer; }

/* ===== 面包屑 ===== */
.crumb { color: var(--gray); font-size: 13px; padding: 24px 0; letter-spacing:.5px; }
.crumb a:hover { color: var(--accent); }

/* ===== 工具条 ===== */
.toolbar { display:flex; gap: 12px; flex-wrap: wrap; align-items:center; margin-bottom: 32px; }
.toolbar input, .toolbar select { padding: 11px 15px; border:1px solid var(--line); border-radius: var(--radius); font-family: inherit; background: var(--bg-panel); }

/* ===== 首页增强：核心优势条 ===== */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}
.feature-strip .feat { padding: 42px 28px; text-align: center; border-right: 1px solid var(--line-soft); }
.feature-strip .feat:last-child { border-right: none; }
.feature-strip .feat .ic { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--accent); }
.feature-strip .feat .ic svg { width: 100%; height: 100%; display: block; }
.feature-strip .feat h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature-strip .feat p { color: var(--gray); font-size: 13.5px; line-height: 1.7; }

/* ===== 首页增强：公司简介双栏 + 数据面板 ===== */
.intro-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.intro-text { text-align: left; color: var(--gray); font-size: 16px; }
.intro-text p + p { margin-top: 18px; }
.stats-panel {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px;
}
.stats-panel .stat .num { font-family: var(--serif); font-size: 32px; font-weight: 800; color: var(--black); line-height: 1.1; }
.stats-panel .stat .lab { color: var(--gray); font-size: 13px; margin-top: 6px; letter-spacing: .5px; }
.stats-panel .stat.wide { grid-column: 1 / -1; }

/* ===== 首页增强：产品卡查看详情 ===== */
.card .body .more { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 13px; letter-spacing: 1px; }
.card:hover .body .more { text-decoration: underline; }

/* ===== 首页增强：CTA 召唤条 ===== */
.cta-band { background: var(--black); color: var(--bg); padding: 78px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 18%, rgba(124,106,68,.38), transparent 60%); }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.cta-band p { color: #cfc7b4; font-size: 16px; margin-bottom: 30px; }
.cta-band .phone { display: inline-block; margin-left: 18px; font-family: var(--serif); font-size: 18px; color: #fff; vertical-align: middle; }

/* ===== 首页增强：滚动揭示动画（无 JS 时自动显示） ===== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== 产品全屏视频展示（参考 nio.cn） ===== */
.ph-hero { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #15110d; }
.ph-hero .ph-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.ph-hero .ph-slide.active { opacity: 1; visibility: visible; }
.ph-hero .ph-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-hero .ph-slide.active .img-ken { animation: phKen 7s ease forwards; }
@keyframes phKen { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.ph-hero .ph-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.28) 100%); }
.ph-hero .ph-caption { position: absolute; left: 0; right: 0; bottom: 12%; padding: 0 8%; color: #fff; z-index: 2; text-align: left; }
.ph-hero .ph-name { font-family: var(--serif); font-size: clamp(30px,5vw,56px); margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.ph-hero .ph-desc { margin: 14px 0 22px; font-size: clamp(14px,1.6vw,18px); max-width: 640px; line-height: 1.7; color: rgba(255,255,255,.86); }
.ph-hero .ph-link { display: inline-block; padding: 11px 26px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; color: #fff; text-decoration: none; font-size: 14px; letter-spacing: 1px; transition: .3s; }
.ph-hero .ph-link:hover { background: #fff; color: #1a1714; }
.ph-hero .ph-dots { position: absolute; bottom: 130px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.img-hero .img-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.ph-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; }
.ph-dot.active { background: #fff; width: 26px; border-radius: 6px; }
.ph-hero .ph-scroll { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: 2px; z-index: 3; }

/* ===== 全屏图片轮播 ===== */
.img-hero { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #100d0a; }
.img-hero .img-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.img-hero .img-slide.active { opacity: 1; visibility: visible; }
.img-hero .img-slide img { width: 100%; height: 100%; object-fit: cover; }
.img-hero .img-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 42%); }
.img-hero .img-cap { position: absolute; left: 8%; bottom: 10%; color: #fff; z-index: 2; }
.img-hero .img-cap .t { font-family: var(--serif); font-size: clamp(22px,3vw,34px); text-shadow: 0 2px 14px rgba(0,0,0,.5); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; }
  .hero h1 { font-size: 34px; }
  .hero { height: 440px; }
  .section { padding: 28px 0; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip .feat:nth-child(2) { border-right: none; }
  .feature-strip .feat:nth-child(1), .feature-strip .feat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .intro-wrap { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid, .site-footer .cols { grid-template-columns: 1fr; }
  .map-box iframe { height: 300px; }
  .map-box #dituContent { height: 260px; }
  .ph-hero .ph-caption { bottom: 16%; padding: 0 6%; }
  .ph-hero .ph-scroll { display: none; }
  .img-hero .img-cap { left: 6%; bottom: 12%; }
}

/* ========== 联系渠道（联系我们页，联系方式下方，无背景色） ========== */
.contact-info-col { display: flex; flex-direction: column; gap: 4px; }
.contact-channels {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
.cc-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.cc-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: background .25s, transform .25s, border-color .25s;
  position: relative;
  z-index: 2;
}
.cc-item:hover .cc-icon-wrap {
  background: var(--accent-soft);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.cc-icon {
  width: 26px;
  height: 26px;
  fill: var(--black);
  transition: fill .25s;
}
.cc-item:hover .cc-icon { fill: var(--accent); }
/* 平台品牌色悬停 */
.cc-item[data-platform="wechat"]:hover .cc-icon-wrap { background: rgba(7,193,.12); border-color: rgba(7,193,.35); }
.cc-item[data-platform="douyin"]:hover .cc-icon-wrap { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.25); }
.cc-item[data-platform="weibo"]:hover .cc-icon-wrap { background: rgba(230,22,45,.08); border-color: rgba(230,22,45,.3); }
.cc-item[data-platform="xiaohongshu"]:hover .cc-icon-wrap { background: rgba(255,36,66,.08); border-color: rgba(255,36,66,.3); }

.cc-label {
  font-size: 12px;
  color: var(--gray);
  transition: color .25s;
  white-space: nowrap;
}
.cc-item:hover .cc-label { color: var(--accent); }

/* 二维码气泡 */
.cc-qrcode-popup {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 100;
  pointer-events: none;
  min-width: 140px;
}
.cc-qrcode-popup img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 6px;
  object-fit: contain;
}
.cc-qrcode-tip {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--gray);
  text-align: center;
}
/* 气泡小三角 */
.cc-qrcode-arrow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #fff;
  rotate: 45deg;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cc-item:hover .cc-qrcode-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
  .contact-channels { gap: 20px; }
  .cc-icon-wrap { width: 44px; height: 44px; }
  .cc-icon { width: 22px; height: 22px; }
  .cc-qrcode-popup img { width: 100px; height: 100px; }
  .contact-form { max-width: 100%; }
}
