/* ============ 企业主页 · 10 版式 × 10 配色 = 100 款 ============ */
.eh {
  background: var(--eh-bg);
  color: var(--eh-ink);
  font-family: var(--eh-font);
}
.eh .eh-hero { background-color: var(--eh-accent); color: #fff; }
.eh .eh-hero .mask { background: linear-gradient(180deg, rgba(6,20,26,.18), rgba(6,20,26,.82)); }
.eh .eh-brand h1 { color: inherit; }
.eh .eh-brand p { color: rgba(255,255,255,.76); }
.eh .eh-logo { color: var(--eh-accent); background: #fff; }
.eh .eh-badges span { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.82); }

/* 导航与内容通用 */
.eh .eh-nav { background: var(--eh-surface); border-bottom: 1px solid var(--eh-line); }
.eh .eh-nav-inner a { color: var(--eh-sub); }
.eh .eh-nav-inner a.is-active { background: var(--eh-accent); color: var(--eh-on-accent); }
.eh .eh-nav-inner a:hover { color: var(--eh-ink); }
.eh .eh-view-toggle { color: var(--eh-sub); border-color: var(--eh-line); }
.eh .eh-body { color: var(--eh-ink); }
.eh .eh-kicker { color: var(--eh-accent2); }
.eh .eh-section h2 { color: var(--eh-ink); }
.eh .eh-about-text { color: var(--eh-sub); }
.eh .eh-stat { background: var(--eh-surface); border: 1px solid var(--eh-line); border-radius: var(--eh-radius); }
.eh .eh-stat b { color: var(--eh-accent); }
.eh .eh-stat span { color: var(--eh-sub); }
.eh .eh-contact-card { background: var(--eh-surface); border: 1px solid var(--eh-line); border-radius: var(--eh-radius); }
.eh .eh-contact-row { border-color: var(--eh-line); color: var(--eh-ink); }
.eh .eh-contact-row .k { color: var(--eh-sub); }
.eh .eh-contact-row .v { color: var(--eh-ink); }
.eh .eh-staff-card { background: var(--eh-surface); border-color: var(--eh-line); border-radius: var(--eh-radius); color: var(--eh-ink); }
.eh .eh-staff-card span { color: var(--eh-sub); }
.eh .product-card { background: var(--eh-surface); border-color: var(--eh-line); border-radius: var(--eh-radius); }
.eh .product-card h3 { color: var(--eh-ink); }
.eh .product-body .small.muted, .eh .product-meta, .eh .product-ent { color: var(--eh-sub); }
.eh .product-meta { border-color: var(--eh-line); }
.eh .product-price { color: var(--eh-accent2); }
.eh .eh-expired { background: #FFF7E6; color: #8A6116; }

/* 通用 hero 组件 */
.eh .eh-hero { position: relative; overflow: hidden; color: #fff; }
.eh .eh-hero-inner { position: relative; z-index: 3; display: flex; align-items: flex-end; gap: 40px; }
.eh .eh-brand { position: relative; z-index: 2; }
.eh .eh-hero-side { position: relative; z-index: 2; margin-left: auto; text-align: right; }
.eh .eh-hero-side .est { display: block; font-size: 10px; letter-spacing: .24em; opacity: .7; text-transform: uppercase; }
.eh .eh-hero-side .ind { display: block; font-size: 13px; margin-top: 8px; opacity: .9; }
.eh .eh-hero-cta { display: inline-block; margin-top: 16px; padding: 9px 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: 12px; color: #fff; }
.eh .eh-hero-cta:hover { background: rgba(255,255,255,.12); }

/* 1. 经典官网 */
.eh-classic .eh-hero { min-height: 370px; }
.eh-classic .eh-mask { background: linear-gradient(180deg, rgba(6,20,26,.15), rgba(6,20,26,.85)); }

/* 2. 侧栏品牌 */
.eh-rail .eh-hero { min-height: 430px; background: var(--eh-accent); }
.eh-rail .eh-hero .bg { left: 33%; }
.eh-rail .eh-hero .mask { left: 33%; background: linear-gradient(90deg, rgba(6,20,26,.9), rgba(6,20,26,.35)); }
.eh-rail .eh-hero::after { content: ""; position: absolute; left: 33%; top: 0; bottom: 0; width: 4px; background: var(--eh-accent2); z-index: 2; }
.eh-rail .eh-hero-inner { width: 100%; max-width: none; min-height: 430px; padding: 0; display: flex; align-items: center; }
.eh-rail .eh-brand { width: 33%; padding-left: clamp(28px, 4.5vw, 88px); padding-right: 32px; flex-direction: column; align-items: flex-start; gap: 14px; }
.eh-rail .eh-brand h1 { font-size: 36px; line-height: 1.15; }
.eh-rail .eh-hero-side { display: none; }

/* 3. 双栏封面 */
.eh-split .eh-hero { min-height: 460px; background: var(--eh-surface); color: var(--eh-ink); border-bottom: 1px solid var(--eh-line); }
.eh-split .eh-hero .bg { left: 52%; }
.eh-split .eh-hero .mask { left: 52%; background: linear-gradient(90deg, var(--eh-surface) 0%, rgba(255,255,255,0) 34%); }
.eh-split .eh-hero-inner { width: 100%; max-width: none; min-height: 460px; padding-left: max(32px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; }
.eh-split .eh-brand { width: 48%; flex-direction: column; align-items: flex-start; gap: 16px; }
.eh-split .eh-brand h1 { color: var(--eh-ink); font-size: 42px; line-height: 1.16; }
.eh-split .eh-brand p { color: var(--eh-sub); }
.eh-split .eh-badges span { border-color: var(--eh-line); color: var(--eh-sub); }
.eh-split .eh-logo { box-shadow: 0 12px 30px rgba(20,30,35,.12); }
.eh-split .eh-hero-side { display: none; }

/* 4. 杂志叙事 */
.eh-editorial .eh-hero { min-height: 430px; background: var(--eh-surface); color: var(--eh-ink); text-align: center; border-bottom: 1px solid var(--eh-line); }
.eh-editorial .eh-hero .bg { opacity: .14; filter: grayscale(1); }
.eh-editorial .eh-hero .mask { background: linear-gradient(var(--eh-surface), rgba(255,255,255,.72)); }
.eh-editorial .eh-hero-inner { min-height: 430px; width: 100%; max-width: 900px; padding: 70px 24px 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.eh-editorial .eh-brand { flex-direction: column; align-items: center; gap: 16px; }
.eh-editorial .eh-brand h1 { color: var(--eh-ink); font-family: Georgia, "Songti SC", serif; font-size: 54px; font-weight: 600; letter-spacing: .02em; }
.eh-editorial .eh-brand p { color: var(--eh-sub); font-size: 14px; }
.eh-editorial .eh-badges span { border-color: var(--eh-line); color: var(--eh-sub); }
.eh-editorial .eh-logo { border-radius: 0; box-shadow: none; width: 56px; height: 56px; }
.eh-editorial .eh-hero-side { display: none; }
.eh-editorial .eh-hero::after { content: ""; position: absolute; left: 50%; bottom: 34px; width: 64px; height: 3px; background: var(--eh-accent); transform: translateX(-50%); }

/* 5. 极简留白 */
.eh-mono .eh-hero { min-height: 350px; background: var(--eh-bg); color: var(--eh-ink); border-bottom: 1px solid var(--eh-line); }
.eh-mono .eh-hero .bg, .eh-mono .eh-hero .mask { display: none; }
.eh-mono .eh-hero::after { content: attr(data-mark); position: absolute; right: 4%; top: -40px; font-size: 260px; line-height: 1; font-weight: 800; color: var(--eh-accent); opacity: .07; pointer-events: none; z-index: 0; }
.eh-mono .eh-hero-inner { min-height: 350px; align-items: center; width: min(1180px, calc(100% - 48px)); }
.eh-mono .eh-brand { flex-direction: row; align-items: center; gap: 16px; }
.eh-mono .eh-brand h1 { color: var(--eh-ink); font-size: 44px; font-weight: 600; letter-spacing: .08em; }
.eh-mono .eh-brand p { color: var(--eh-sub); letter-spacing: .04em; }
.eh-mono .eh-badges span { border-color: var(--eh-line); color: var(--eh-sub); }
.eh-mono .eh-logo { width: 58px; height: 58px; border-radius: 50%; box-shadow: none; border: 1px solid var(--eh-line); }
.eh-mono .eh-hero-side { display: none; }
.eh-mono .eh-nav-inner a { border-radius: 0; }
.eh-mono .eh-nav-inner a.is-active { background: transparent; color: var(--eh-accent); border-bottom: 2px solid var(--eh-accent); }

/* 6. 暗色高阶 */
.eh-noir .eh-hero { min-height: 450px; background: #0D0F11; }
.eh-noir .eh-hero .bg { opacity: .45; filter: saturate(.65); }
.eh-noir .eh-hero .mask { background: linear-gradient(180deg, rgba(6,8,10,.35), rgba(6,8,10,.92)); }
.eh-noir .eh-hero::after { content: ""; position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); bottom: 30px; width: 90px; height: 2px; background: var(--eh-accent2); z-index: 3; }
.eh-noir .eh-brand h1 { font-family: Georgia, "Songti SC", serif; font-weight: 600; letter-spacing: .03em; }
.eh-noir .eh-hero-side { display: block; }

/* 7. 叠层画报 */
.eh-portrait .eh-hero { min-height: 490px; background: var(--eh-accent); }
.eh-portrait .eh-hero .mask { background: linear-gradient(180deg, rgba(6,20,26,.08), rgba(6,20,26,.62)); }
.eh-portrait .eh-hero-inner { min-height: 490px; width: min(1180px, calc(100% - 48px)); padding-bottom: 44px; }
.eh-portrait .eh-brand { background: var(--eh-surface); color: var(--eh-ink); padding: 30px 34px 28px; border-radius: var(--eh-radius); box-shadow: 0 24px 50px rgba(0,0,0,.24); max-width: 760px; gap: 16px; }
.eh-portrait .eh-brand h1 { color: var(--eh-ink); font-size: 36px; }
.eh-portrait .eh-brand p { color: var(--eh-sub); }
.eh-portrait .eh-badges span { border-color: var(--eh-line); color: var(--eh-sub); }
.eh-portrait .eh-hero-side { display: none; }
.eh-portrait .eh-hero::before { content: ""; position: absolute; left: 8%; right: 8%; top: 26px; bottom: 90px; border: 1px solid rgba(255,255,255,.28); z-index: 1; pointer-events: none; }

/* 8. 斜切活力 */
.eh-edge .eh-hero { min-height: 430px; background: var(--eh-accent); }
.eh-edge .eh-hero .bg { left: 46%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.eh-edge .eh-hero .mask { left: 46%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(6,20,26,.2), rgba(6,20,26,.7)); }
.eh-edge .eh-hero::after { content: ""; position: absolute; left: 40%; top: 0; bottom: 0; width: 8%; background: var(--eh-accent2); transform: skewX(-12deg); z-index: 2; opacity: .9; }
.eh-edge .eh-hero-inner { min-height: 430px; width: min(1180px, calc(100% - 48px)); align-items: center; }
.eh-edge .eh-brand { width: 48%; padding-left: max(32px, calc((100vw - 1180px) / 2)); flex-direction: column; align-items: flex-start; gap: 14px; }
.eh-edge .eh-brand h1 { font-size: 40px; line-height: 1.1; }
.eh-edge .eh-hero-side { display: none; }

/* 9. 网格目录 */
.eh-bento .eh-hero { min-height: 450px; background: var(--eh-surface); color: var(--eh-ink); border-bottom: 1px solid var(--eh-line); }
.eh-bento .eh-hero .bg { left: 50%; }
.eh-bento .eh-hero .mask { left: 50%; background: linear-gradient(90deg, var(--eh-surface) 0%, rgba(255,255,255,0) 30%); }
.eh-bento .eh-hero-inner { min-height: 450px; width: 100%; max-width: none; padding-left: max(32px, calc((100vw - 1180px) / 2)); align-items: center; }
.eh-bento .eh-brand { width: 46%; background: var(--eh-accent); color: #fff; padding: 34px 32px; border-radius: var(--eh-radius); flex-direction: column; align-items: flex-start; gap: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.eh-bento .eh-brand h1 { color: #fff; font-size: 36px; }
.eh-bento .eh-brand p { color: rgba(255,255,255,.78); }
.eh-bento .eh-logo { color: var(--eh-accent); }
.eh-bento .eh-hero-side { display: none; }
.eh-bento .eh-stats { grid-template-columns: repeat(4, 1fr); }
.eh-bento .eh-stat { border-top: 3px solid var(--eh-accent); }

/* 10. 影像橱窗 */
.eh-gallery .eh-hero { min-height: 520px; background: #0E1418; }
.eh-gallery .eh-hero .mask { background: linear-gradient(180deg, rgba(6,20,26,.10), rgba(6,20,26,.88)); }
.eh-gallery .eh-hero-inner { min-height: 520px; width: min(1180px, calc(100% - 48px)); align-items: flex-end; padding-bottom: 40px; }
.eh-gallery .eh-brand { gap: 18px; }
.eh-gallery .eh-brand h1 { font-size: 42px; }
.eh-gallery .eh-hero::before { content: ""; position: absolute; right: 4%; top: 12%; width: 22%; height: 38%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); z-index: 1; }
.eh-gallery .eh-hero::after { content: ""; position: absolute; right: 28%; top: 26%; width: 14%; height: 24%; border: 1px solid rgba(255,255,255,.2); z-index: 1; }
.eh-gallery .eh-hero-side { display: none; }

/* 版式化内容区 */
.eh-editorial .eh-body, .eh-mono .eh-body { max-width: 1000px; }
.eh-editorial .eh-kicker, .eh-mono .eh-kicker { letter-spacing: .26em; }
.eh-editorial .eh-section h2, .eh-mono .eh-section h2 { font-family: Georgia, "Songti SC", serif; font-weight: 600; }
.eh-editorial .eh-section h2 { font-size: 32px; }
.eh-mono .eh-section h2 { font-size: 30px; letter-spacing: .04em; }
.eh-bento .eh-body { width: min(1240px, calc(100% - 48px)); }
.eh-bento .eh-section { background: var(--eh-surface); border: 1px solid var(--eh-line); border-radius: var(--eh-radius); padding: 26px; }
.eh-gallery .eh-section { border-top: 1px solid var(--eh-line); padding-top: 30px; }
.eh-noir .eh-section h2 { color: var(--eh-ink); }
.eh-noir .eh-body { color: var(--eh-ink); }

/* 移动形态强制 */
body.view-mobile .eh-hero-inner, body.view-mobile .eh-brand, body.view-mobile .eh-hero-side { width: 100%; }
body.view-mobile .eh-hero-side { display: none; }
body.view-mobile .eh-brand { flex-direction: row; align-items: center; padding: 0; background: transparent; box-shadow: none; }
body.view-mobile .eh-brand h1 { color: inherit; font-size: 22px; margin-left: 0; }
body.view-mobile .eh-brand p { color: rgba(255,255,255,.76); }
body.view-pc .eh-brand h1 { font-size: 38px; }

/* 响应式 */
@media (max-width: 1080px) {
  .eh-rail .eh-brand { width: 38%; padding-left: 28px; }
  .eh-rail .eh-hero .bg, .eh-rail .eh-hero .mask, .eh-rail .eh-hero::after { left: 38%; }
  .eh-split .eh-brand { width: 54%; }
  .eh-split .eh-hero .bg, .eh-split .eh-hero .mask { left: 58%; }
  .eh-bento .eh-brand { width: 50%; }
  .eh-bento .eh-hero .bg { left: 55%; }
}
@media (max-width: 820px) {
  .eh-rail .eh-hero, .eh-split .eh-hero, .eh-editorial .eh-hero, .eh-mono .eh-hero,
  .eh-noir .eh-hero, .eh-portrait .eh-hero, .eh-edge .eh-hero, .eh-bento .eh-hero, .eh-gallery .eh-hero { min-height: 300px; }
  .eh-rail .eh-hero .bg, .eh-rail .eh-hero .mask, .eh-rail .eh-hero::after,
  .eh-split .eh-hero .bg, .eh-split .eh-hero .mask,
  .eh-bento .eh-hero .bg, .eh-bento .eh-hero .mask { left: 0; width: 100%; }
  .eh-rail .eh-hero-inner, .eh-split .eh-hero-inner, .eh-bento .eh-hero-inner,
  .eh-edge .eh-hero-inner, .eh-gallery .eh-hero-inner { min-height: 300px; width: 100%; padding: 24px 18px; }
  .eh-rail .eh-brand, .eh-split .eh-brand, .eh-bento .eh-brand, .eh-edge .eh-brand { width: 100%; padding: 0; }
  .eh-rail .eh-brand h1, .eh-split .eh-brand h1, .eh-mono .eh-brand h1,
  .eh-edge .eh-brand h1, .eh-gallery .eh-brand h1, .eh-editorial .eh-brand h1 { font-size: 26px; }
  .eh-editorial .eh-hero-inner { min-height: 300px; padding: 36px 18px 26px; }
  .eh-portrait .eh-hero-inner { min-height: 300px; padding: 20px 16px 24px; }
  .eh-portrait .eh-brand { padding: 18px; }
  .eh-portrait .eh-brand h1 { font-size: 24px; }
  .eh-mono .eh-hero::after { font-size: 150px; top: 0; }
  .eh-gallery .eh-hero::before, .eh-gallery .eh-hero::after { display: none; }
}
@media (max-width: 560px) {
  .eh .eh-hero-inner, .eh .eh-nav-inner, .eh .eh-body { width: calc(100% - 32px); }
  .eh-bento .eh-section { padding: 18px; }
}

/* 预览形态：PC 强制宽版、手机强制 620 画布 */
body.view-pc.eh-rail .eh-hero-inner,
body.view-pc.eh-split .eh-hero-inner,
body.view-pc.eh-bento .eh-hero-inner,
body.view-pc.eh-edge .eh-hero-inner { width: 100%; max-width: none; }
body.view-pc.eh-gallery .eh-hero { min-height: 520px; }

body.view-mobile .eh-hero { max-width: 620px; margin: 0 auto; }
body.view-mobile.eh-rail .eh-hero, body.view-mobile.eh-split .eh-hero,
body.view-mobile.eh-editorial .eh-hero, body.view-mobile.eh-mono .eh-hero,
body.view-mobile.eh-noir .eh-hero, body.view-mobile.eh-portrait .eh-hero,
body.view-mobile.eh-edge .eh-hero, body.view-mobile.eh-bento .eh-hero,
body.view-mobile.eh-gallery .eh-hero { min-height: 280px; }
body.view-mobile.eh-rail .eh-hero .bg, body.view-mobile.eh-rail .eh-hero .mask,
body.view-mobile.eh-split .eh-hero .bg, body.view-mobile.eh-split .eh-hero .mask,
body.view-mobile.eh-bento .eh-hero .bg, body.view-mobile.eh-bento .eh-hero .mask { left: 0; width: 100%; clip-path: none; }
body.view-mobile.eh-rail .eh-hero::after, body.view-mobile.eh-split .eh-hero::after,
body.view-mobile.eh-edge .eh-hero::after { display: none; }
body.view-mobile.eh-rail .eh-hero-inner, body.view-mobile.eh-split .eh-hero-inner,
body.view-mobile.eh-editorial .eh-hero-inner, body.view-mobile.eh-mono .eh-hero-inner,
body.view-mobile.eh-noir .eh-hero-inner, body.view-mobile.eh-portrait .eh-hero-inner,
body.view-mobile.eh-edge .eh-hero-inner, body.view-mobile.eh-bento .eh-hero-inner,
body.view-mobile.eh-gallery .eh-hero-inner { width: 100%; max-width: 620px; min-height: 280px; padding: 26px 18px 24px; display: flex; align-items: flex-end; }
body.view-mobile.eh-rail .eh-brand, body.view-mobile.eh-split .eh-brand,
body.view-mobile.eh-bento .eh-brand, body.view-mobile.eh-edge .eh-brand,
body.view-mobile.eh-editorial .eh-brand, body.view-mobile.eh-mono .eh-brand { width: 100%; padding: 0; }
body.view-mobile.eh-portrait .eh-brand { padding: 18px; }
body.view-mobile.eh-bento .eh-brand { padding: 20px; }
body.view-mobile.eh-rail .eh-brand h1, body.view-mobile.eh-split .eh-brand h1,
body.view-mobile.eh-mono .eh-brand h1, body.view-mobile.eh-edge .eh-brand h1,
body.view-mobile.eh-gallery .eh-brand h1, body.view-mobile.eh-editorial .eh-brand h1 { font-size: 24px; }
body.view-mobile.eh-mono .eh-hero::after { font-size: 120px; top: 10px; }
body.view-mobile.eh-gallery .eh-hero::before, body.view-mobile.eh-gallery .eh-hero::after,
body.view-mobile.eh-edge .eh-hero::before { display: none; }
body.view-mobile .eh-hero-side { display: none; }
