/* ===== 产业布局页（03-产业布局.psd 还原） 依赖 style.css 的变量与公共组件 ===== */

/* 整页米白底（PSD 采样 251,248,245） */
body { background: #faf8f4; }

/* ---- 页头横幅（设计稿 y 92-492 → 400px 高） ---- */
.page-hero {
  position: relative; height: 400px;
  background: url('../images/industry/hero.webp') center / 100% 100% no-repeat;
}
/* 首屏渐变遮罩：PSD"首屏渐变遮罩"层，左缘压暗、约 52% 处消失（渲染采样反推） */
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 14, 10, .50) 0%, rgba(10, 14, 10, .30) 26%, rgba(10, 14, 10, 0) 52%);
}
/* PSD 标题 x=251：本页 hero 用 1420 容器（非共享 1320） */
.hero-inner {
  position: relative; z-index: 1;
  width: 1420px; max-width: 92%; margin: 0 auto;
  padding-top: 159px;
}
.hero-inner h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: 58px; line-height: 1; letter-spacing: 3.8px; color: #fff;
}
.hero-inner p { margin-top: 35px; font-size: 14px; letter-spacing: 1.8px; color: #f4efe6; }

/* ---- 三产流程条（设计稿 y 494-683，高 189） ---- */
.flow-row {
  width: 1320px; max-width: 92%; margin: 0 auto;
  height: 189px; padding: 52px 0 0;
  display: flex; align-items: flex-start; justify-content: center;
}
.flow-item { padding-top: 3px; }
/* 银色胶囊：官方切图 产业按钮.png（203×55，与 PSD 胶囊同尺寸），文字保留 HTML */
.flow-pill {
  display: flex; align-items: center; justify-content: center;
  width: 203px; height: 55px;
  background: url('../icons/产业按钮.png') center / 100% 100% no-repeat;
  font-family: var(--serif); font-weight: 600;
  font-size: 28px; letter-spacing: .7px; color: #795939;
}
.flow-sub { margin-top: 13px; text-align: center; font-size: 14px; line-height: 1; color: #706a62; }
.flow-arrow { display: flex; flex-direction: column; align-items: center; }
.flow-arrow--1 { margin-left: 38px; margin-right: 26px; }
.flow-arrow--2 { margin-left: 40px; margin-right: 33px; }
/* "促进/升级"：Guoshen Source Serif 500（用户确认，PSD TySh 记录的 Sans-W600 以用户指定为准） */
.fa-text { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 19px; letter-spacing: .8px; color: #795939; }
/* 长箭头：官方切图 产业箭头.png（198×30，细尾+三角头，与 PSD 同尺寸） */
.fa-shape {
  margin-top: 3px; width: 198px; height: 30px;
  background: url('../icons/产业箭头.png') center / 100% 100% no-repeat;
}

/* ---- 产业版块卡片（设计稿 692-2288，卡宽 1327 用 1320 容器近似） ---- */
.ind-cards { width: 1320px; max-width: 92%; margin: 9px auto 0; padding-bottom: 178px; }
.ind-card { position: relative; display: block; overflow: hidden; }
.ind-card img { width: 100%; height: 100%; object-fit: fill; transition: transform .5s ease; }
.ind-card:hover img { transform: scale(1.045); }

.ind-card--big { height: 322px; margin-bottom: 19px; }
/* 第3张大卡与窄卡间距 28px（同为企业链接 a 元素，需按序号取第3个） */
a.ind-card--big:nth-of-type(3) { margin-bottom: 28px; }
.ic-text { position: absolute; z-index: 1; color: #fff; }
.ind-card--big .ic-text { left: 58px; top: 102px; }
.ic-text h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: 50px; line-height: 1; letter-spacing: 0; color: #fbf8f5;
}
.ic-more { margin-top: 53px; display: inline-flex; align-items: center; gap: 31px;
  font-size: 14px; letter-spacing: .5px; color: #fff; }
/* 官方无 39px 描边圆切图：按官方按钮规格以 CSS 绘制（圆 + ↗ 箭头） */
.ic-more .disc {
  position: relative; width: 39px; height: 39px; flex: none;
  border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%;
  transition: background .25s;
}
.ic-more .disc::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 30px; height: 30px;
  background-color: #fff;
  -webkit-mask: url('../icons/ArrowUpRight_白色.svg') center / contain no-repeat;
  mask: url('../icons/ArrowUpRight_白色.svg') center / contain no-repeat;
}
.ind-card--big:hover .disc { background: rgba(255, 255, 255, .18); }

/* 窄条卡（设计稿高 176） */
.ind-card--slim { height: 176px; margin-bottom: 16px; }
.ind-card--slim:last-child { margin-bottom: 0; }
/* 图片压暗遮罩，保证白字可读（渲染采样反推） */
.ind-card--slim::after { content: ""; position: absolute; inset: 0; background: rgba(18, 11, 5, .42); }
.ind-card--slim .ic-text { left: 54px; top: 50%; transform: translateY(-50%); margin-top: -3px; }
.ind-card--slim .ic-text h2 {
  font-size: 36px; letter-spacing: .5px;
}
.ic-open {
  position: absolute; right: 51px; top: 50%; transform: translateY(-50%); z-index: 1;
  display: inline-flex; align-items: center; gap: 24px;
  font-size: 14px; color: #fff;
}
/* 官方有 Plus_白色.svg：描边圆为 CSS 绘制，加号用官方切图 */
.ic-open .disc {
  position: relative; width: 39px; height: 39px; flex: none;
  border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%;
  transition: background .25s;
}
.ic-open .disc::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px;
  background-color: #fff;
  -webkit-mask: url('../icons/Plus_白色.svg') center / contain no-repeat;
  mask: url('../icons/Plus_白色.svg') center / contain no-repeat;
}
.ind-card--slim:hover .disc { background: rgba(255, 255, 255, .18); }

/* ---- 三产展开面板（05-三产.psd 组08"拓市·三产"还原，容器 1320 与卡片同宽） ---- */
a.ind-card--slim[data-expand] { cursor: pointer; }
/* 展开时加号旋转 45° 变 × */
a.ind-card--slim[data-expand] .ic-open .disc { transition: background .25s, transform .3s; }
a.ind-card--slim[data-expand][aria-expanded="true"] .ic-open .disc { transform: rotate(45deg); }

/* 平滑展开：grid-rows 0fr→1fr */
.ind-expand { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s ease; }
.ind-expand.is-open { grid-template-rows: 1fr; }
.ie-clip { overflow: hidden; min-height: 0; }
.ie-body { padding: 56px 0 96px; }

/* 大标题 46px #282725（PSD StyleRun），下衬 1px 分隔线（渲染采样 #e2dacf） */
.ie-title {
  font-family: var(--serif); font-weight: 600;
  font-size: 46px; line-height: 1; letter-spacing: .7px; color: #282725;
}
.ie-head .ie-title { padding-bottom: 70px; border-bottom: 1px solid #e2dacf; }
.ie-heart { margin-top: 20px; display: flex; align-items: baseline; gap: 40px; }
.ie-heart-tag { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: .6px; color: #795939; }
.ie-heart-list { font-size: 16px; letter-spacing: .4px; color: #795939; }

/* 李言闻门店大图 + 图注 */
.ie-hero { margin-top: 74px; }
.ie-hero img, .ie-fig img, .ie-map img, .ie-grid3 img { display: block; width: 100%; height: auto; }
.ie-hero figcaption { margin-top: 13px; font-size: 12px; letter-spacing: .3px; color: #7a7063; }

/* 传习区 / 会客厅 两列图（649×407，缝 22） */
.ie-grid2 { margin-top: 39px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ie-fig figcaption { margin-top: 15px; font-size: 12px; letter-spacing: .3px; color: #7a7063; }

/* 杏林三父 · 李言闻：左画像+名，右文（画像 109×144 同 PSD，间距 19） */
.ie-brand { margin-top: 89px; display: flex; justify-content: space-between; gap: 60px; }
.ie-brand-name { flex: none; display: flex; align-items: center; gap: 19px; }
.ie-brand-pic { display: block; width: 109px; height: auto; flex: none; }
.ie-brand-title h4 { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1; letter-spacing: .35px; color: #282725; }
.ie-brand-title p { margin-top: 26px; font-size: 13px; letter-spacing: 0; color: #706a62; }
.ie-brand-text { width: 895px; max-width: 100%; font-size: 16px; line-height: 1.86; letter-spacing: .18px; color: #5a554e; }

/* 参养生活馆：左文（垂直居中）右地图 */
.ie-venue {
  margin-top: 92px; padding-top: 70px; border-top: 1px solid #e2dacf;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.ie-venue-info { max-width: 578px; }
.ie-sub { margin-top: 21px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1; letter-spacing: .3px; color: #282725; }
.ie-text { margin-top: 43px; font-size: 16px; line-height: 1.86; letter-spacing: .18px; color: #5a554e; }
.ie-map { width: 598px; max-width: 100%; flex: none; }
/* 图注已烘焙在 04.jpg 图内，无需 figcaption */

/* 生活馆三张效果图（426×266，缝 21） */
.ie-grid3 { margin-top: 85px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 21px; }

/* 渠道数据行：上下横线 + 列间竖线，数字 54px #896442 */
.ie-stats { margin-top: 40px; display: flex; border-top: 1px solid #e2dacf; border-bottom: 1px solid #e2dacf; }
.ie-stat { flex: 1; padding: 24px 0 26px; }
.ie-stat + .ie-stat { border-left: 1px solid #e2dacf; padding-left: 35px; }
.ie-stat strong {
  display: flex; align-items: baseline;
  font-family: var(--serif); font-weight: 600;
  font-size: 54px; line-height: 1; letter-spacing: -.35px; color: #896442;
}
.ie-stat strong i { font-style: normal; font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: 0; margin-left: 11px; }
.ie-stat span { display: block; margin-top: 21px; font-size: 13px; letter-spacing: .26px; color: #686057; }

/* 长白山参宴 */
.ie-banquet { margin-top: 125px; }
.ie-text--narrow { max-width: 624px; margin-top: 28px; }
.ie-grid2--feast { margin-top: 103px; gap: 23px; align-items: start; }

/* ---- 一产/二产展开面板（03-一产.psd 组06 / 04-二产.psd 组07 还原） ---- */
/* 二产整节底色 #f0ebe3（PSD 全画布采样），全宽出血；一产与页面同底色 */
html, body { overflow-x: clip; }
.ind-expand--erchan { margin-inline: calc(50% - 50vw); }
.ind-expand--erchan .ie-body { max-width: calc(1320px + 8vw); padding-inline: 4vw; margin-inline: auto; }
/* 一产/二产段落行距 lead 32.8（三产为 29.8） */
.ind-expand--yichan .ie-text, .ind-expand--erchan .ie-text { line-height: 2.05; }

/* 一产：标题直连大图（无分隔线） */
.ie-hero--gap50 { margin-top: 50px; }
#yichanPanel .ie-hero figcaption { margin-top: 18px; }

/* 一产：四列统计（无边框竖线，数字 43px） */
.ie-stats--plain { border-top: none; border-bottom: none; }
.ie-stats--sm .ie-stat strong { font-size: 43px; }
.ie-stats--sm .ie-stat strong i { font-size: 13px; margin-left: 9px; }
.ie-stats--sm .ie-stat span { margin-top: 24px; }
.ie-text--after-stats { margin-top: 90px; }

/* 一产：三零技术（左标题+图标列，右森林图+段落） */
.ie-zero { margin-top: 71px; display: flex; gap: 0; }
.ie-zero-left { width: 275px; flex: none; padding-top: 15px; display: flex; flex-direction: column; align-items: center; }
.ie-title--lg { font-size: 52px; }
.ie-zero-sub { margin-top: 33px; font-size: 26px; letter-spacing: .4px; color: #706a62; }
.ie-zero-list { margin-top: 64px; list-style: none; display: flex; flex-direction: column; gap: 62px; }
.ie-zero-list li { display: flex; flex-direction: column; align-items: center; gap: 23px; font-size: 18px; letter-spacing: 1.08px; color: #282725; }
/* 三零标识官方图标（75×75 同 PSD 图标层尺寸） */
.ie-zero-icon { display: block; width: 75px; height: 75px; }
.ie-zero-right { flex: 1; min-width: 0; }
.ie-zero-right img { display: block; width: 100%; height: auto; }
.ie-text--after-img { margin-top: 44px; }

/* 二产：标题下三卡（#faf8f3 卡片，细线改在卡片区上方） */
.ie-cards3 { margin-top: 50px; margin-inline: calc(50% - 50vw); }
.ie-cards3-grid { max-width: calc(1320px + 8vw); padding-inline: 4vw; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 27px; }
.ie-card3 {
  height: 151px; background: #ffffff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px;
  border-top: 2px solid #ad8963;
}
.ie-card3 h4 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: .36px; color: #282725; }
.ie-card3 p { margin-top: 13px; font-size: 14px; letter-spacing: 0; color: #706a62; }
.ie-text--after-cards { margin-top: 74px; }
.ie-hero--gap63 { margin-top: 63px; }
#erchanPanel .ie-hero figcaption { margin-top: 18px; }

/* 二产：小节标题 28px */
.ie-h4 { margin-top: 55px; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: .42px; color: #282725; }

/* 二产：三条路径（左竖线 #ad8963） */
.ie-props { margin-top: 35px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.ie-prop { border-left: 2px solid #ad8963; padding: 2px 20px 4px 22px; }
.ie-prop h5 { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1; letter-spacing: .29px; color: #282725; }
.ie-prop p { margin-top: 14px; font-size: 14px; letter-spacing: .28px; color: #706a62; }
.ie-text--after-props { margin-top: 41px; }
.ie-grid2--mt43 { margin-top: 43px; }

/* 二产：子公司图左文右 / 文左图右 */
.ie-split { margin-top: 108px; display: flex; align-items: center; gap: 76px; }
.ie-split > img { width: 622px; max-width: 47%; height: auto; display: block; flex: none; }
.ie-split--rev { margin-top: 134px; }
.ie-split-info { flex: 1; min-width: 0; }
.ie-eyebrow { font-size: 13px; letter-spacing: 2.08px; color: #795939; }
.ie-split-info .ie-h4 { margin-top: 25px; }
.ie-split-info .ie-text { margin-top: 42px; }

/* 二产：产品系标签芯片 */
.ie-chips { margin-top: 33px; display: flex; flex-wrap: wrap; gap: 23px; }
.ie-chips span {
  display: inline-flex; align-items: center;
  padding: 9px 15px; border: 1px solid #d2c4b0; border-radius: 3px;
  background: #f5f1ec; font-size: 14px; letter-spacing: 0; color: #795939;
}
.ie-chips--center { width: 622px; max-width: 47%; justify-content: center; }
.ie-chips--end { justify-content: flex-end; }

/* 自适应策略：本页主体（#ieZoom）窄屏不重排，由 industry.php 脚本锁定 1200px 布局整体 zoom 仅缩放；
   page-hero 由 footer.php 公共脚本处理 */
/* flow 行内容实际宽 ≈1283px 超过 1200 布局的 1104 容器：≤1430 视口按原设计整体收缩内容（缩放非重排） */
@media (max-width: 1430px) {
  .flow-row { transform: scale(.82); transform-origin: center top; }
}

/* 窄屏（footer 公共脚本对 #pageZoom 锁定 1200px 布局整体 zoom）下，vw 不参与 zoom 缩放，
   calc(50% - 50vw) 会把面板压窄而非全宽出血：按"视口=1200px"将 vw 固定为 px（600/96/48），
   使布局与 1200 宽桌面一致后整体等比缩放。阈值 1220 覆盖滚动条造成的 clientWidth/mq 偏差 */
@media (max-width: 1220px) {
  .ind-expand--erchan { margin-inline: calc(50% - 600px); }
  .ind-expand--erchan .ie-body { max-width: calc(1320px + 96px); padding-inline: 48px; }
  .ie-cards3 { margin-inline: calc(50% - 600px); }
  .ie-cards3-grid { max-width: calc(1320px + 96px); padding-inline: 48px; }
}
