/* ==========================================================================
   home-premium.css — 首页 V4「静奢极简」（Quiet Luxury）
   ---------------------------------------------------------------------------
   仅由三个语言首页（index.html / ar/index.html / zh/index.html）加载。
   设计参考：Linear / Vercel / Stripe —— 大留白、大字号、发丝线分栏、
   单一强调色、克制的悬停反馈。全部基于 theme-lovable.css 令牌。

   结构：
     pv4-hero      居中大标题 + 一句话副文 + 双 CTA + 四格数据条
     pv4-visual    产品实拍图框（白底图 mix-blend 融入奶油底）
     pv4-proof     发丝线小字信任条
     pv4-section   通用大间距区块（左对齐标题）
     pv4-grid      1px 发丝线分栏卡片（产品线 / 优势共用）
     pv4-industries 应用行业一行字（锚点 #applications）
     pv4-band      炭黑收尾 CTA 面板
   ========================================================================== */

/* ---------- Hero ---------- */
.pv4-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(72px, 9.5vw, 136px) 0 0;
}
/* 唯一装饰：顶部一枚极淡的暖色光晕，其余全留白 */
.pv4-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background: radial-gradient(52% 60% at 50% 12%, var(--accent-050), transparent 70%);
  pointer-events: none;
}
.pv4-hero__in { position: relative; max-width: 1080px; margin-inline: auto; }
.pv4-hero .eyebrow { color: var(--accent); }
.pv4-hero h1 {
  margin: 22px auto 24px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.028em;
  font-weight: 600;
  max-width: 20ch;
}
.pv4-hero h1 em { font-style: normal; color: var(--accent); }
.pv4-hero__sub {
  margin: 0 auto 38px;
  max-width: 64ch;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
}
.pv4-btnrow { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* 四格数据条：上下发丝线 + 竖向分栏线 */
.pv4-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  margin-top: clamp(56px, 7vw, 88px);
}
.pv4-stat { padding: clamp(20px, 2.6vw, 30px) 12px; }
.pv4-stat + .pv4-stat { border-inline-start: 1px solid var(--line); }
.pv4-stat b {
  display: block;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.pv4-stat span {
  display: block;
  margin-top: 7px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 产品实拍图框 ---------- */
.pv4-visual { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6.5vw, 88px); }
.pv4-visual__panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.pv4-visual__panel img {
  display: block;
  width: min(720px, 82%);
  height: auto;
  margin: clamp(20px, 3.4vw, 44px) auto clamp(12px, 2vw, 24px);
  mix-blend-mode: multiply;   /* 白底产品图融入奶油/纸白面板 */
}
.pv4-visual__cap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 15px clamp(18px, 3vw, 32px);
  font-size: .86rem;
  color: var(--muted);
}
.pv4-visual__cap b { color: var(--ink); font-weight: 600; }

/* 大图底下的小图行：罗列主营产品线（1 实拍 + 2 图标卡，或按素材混排） */
.pv4-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.pv4-thumb {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color .3s var(--ease, ease), transform .3s var(--ease, ease), box-shadow .3s var(--ease, ease);
}
.pv4-thumb:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.pv4-thumb__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: var(--bg-soft);
}
.pv4-thumb__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* 完整显示产品图，不再裁切 */
  mix-blend-mode: multiply;   /* 白底产品图融入浅色卡面 */
}
.pv4-thumb__media--icon svg {
  width: 46px;
  height: 46px;
  color: var(--brand);
  opacity: .85;
}
.pv4-thumb__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.pv4-thumb__label svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent);
  transition: transform .3s var(--ease, ease);
}
.pv4-thumb:hover .pv4-thumb__label svg { transform: translateX(3px); }
[dir="rtl"] .pv4-thumb__label svg { transform: scaleX(-1); }
[dir="rtl"] .pv4-thumb:hover .pv4-thumb__label svg { transform: scaleX(-1) translateX(3px); }
@media (max-width: 720px) {
  .pv4-thumbs { grid-template-columns: 1fr 1fr; }
  .pv4-thumb:nth-child(3) { grid-column: span 2; }
  .pv4-thumb__media { height: 140px; }
}

/* ---------- 信任条（一行小字） ---------- */
.pv4-proof {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.pv4-proof__in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  align-items: center;
  padding-block: 17px;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.pv4-proof__in span + span::before { content: "·"; margin-inline-end: 14px; color: var(--line-strong); }
[dir="rtl"] .pv4-proof__in { text-transform: none; letter-spacing: 0; }

/* ---------- 通用区块 ---------- */
.pv4-section { padding: clamp(84px, 9.5vw, 132px) 0; }
.pv4-section--tight { padding: clamp(56px, 6.5vw, 84px) 0; }
.pv4-head { max-width: 780px; margin-bottom: clamp(36px, 4.6vw, 60px); }
.pv4-head h2 {
  margin: 14px 0 0;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 600;
}

/* ---------- 发丝线分栏卡片（产品线 / 优势共用） ---------- */
.pv4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.pv4-card {
  background: var(--bg);
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .35s var(--ease, ease);
}
.pv4-card:hover { background: var(--bg-card); }
.pv4-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pv4-card__no {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
}
.pv4-card__top svg { width: 26px; height: 26px; color: var(--ink); opacity: .82; }
.pv4-card h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.pv4-card p { margin: 0; color: var(--muted); line-height: 1.68; font-size: .97rem; }
.pv4-card__link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--ink);
}
.pv4-card__link svg {
  width: 17px; height: 17px;
  transition: transform .3s var(--ease, ease);
}
.pv4-card__link:hover svg { transform: translateX(4px); }
[dir="rtl"] .pv4-card__link svg { transform: scaleX(-1); }
[dir="rtl"] .pv4-card__link:hover svg { transform: scaleX(-1) translateX(4px); }
.pv4-card--plain .pv4-card__link { margin-top: 0; padding-top: 0; }

/* ---------- 应用行业一行字（锚点 #applications） ---------- */
.pv4-industries { border-block: 1px solid var(--line); }
.pv4-industries__in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  align-items: baseline;
  padding-block: clamp(26px, 3.4vw, 40px);
}
.pv4-industries__label {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.pv4-industries__in span { font-size: clamp(1.02rem, 1.6vw, 1.28rem); font-weight: 600; letter-spacing: -.01em; }
.pv4-industries__in span + span::before { content: "·"; margin-inline: 14px; color: var(--line-strong); font-weight: 400; }

/* ---------- 炭黑收尾 CTA 面板 ---------- */
.pv4-band {
  background: var(--bg-dark);
  border-radius: 20px;
  padding: clamp(48px, 6.4vw, 92px) clamp(28px, 6vw, 96px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.pv4-band h2 {
  margin: 0 0 14px;
  color: #fcfbf8;
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 600;
  max-width: 24ch;
}
.pv4-band p { margin: 0; color: rgba(252,251,248,.62); max-width: 46ch; line-height: 1.7; }
.pv4-band .btn--light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: none;
}
.pv4-band .btn--light:hover { background: #fff; border-color: #fff; color: var(--brand-600); }
.pv4-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .pv4-grid { grid-template-columns: 1fr; }
  .pv4-band { flex-direction: column; align-items: flex-start; }
  .pv4-band__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 720px) {
  .pv4-stats { grid-template-columns: 1fr 1fr; }
  .pv4-stat:nth-child(3) { border-inline-start: 0; }
  .pv4-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pv4-visual__panel img { width: 92%; }
}

/* ---------- 中文排印微调 ---------- */
html[lang="zh-CN"] .pv4-hero h1 { letter-spacing: -.012em; line-height: 1.18; }
html[lang="zh-CN"] .pv4-hero__sub { line-height: 1.85; }
html[lang="zh-CN"] .pv4-head h2 { letter-spacing: -.008em; line-height: 1.3; }
html[lang="zh-CN"] .pv4-stat span,
html[lang="zh-CN"] .pv4-proof__in,
html[lang="zh-CN"] .pv4-industries__label { letter-spacing: .06em; text-transform: none; }
html[lang="zh-CN"] .pv4-card h3 { letter-spacing: 0; }

/* ==========================================================================
   V6：产品线 60/30/10 权重化布局
   空压机（60%）占大位，钻机与钻具按次级权重排布。
   ========================================================================== */
.pv4-grid--mix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line, rgba(15,42,67,.1));
  border: 1px solid var(--line, rgba(15,42,67,.1));
  border-radius: 14px;
  overflow: hidden;
}

.pv4-grid--mix .pv4-card {
  background: var(--bg, #f6f8fb);
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .25s ease;
}
.pv4-grid--mix .pv4-card:hover { background: #fff; }

/* 主营：跨两列，视觉权重最高 */
.pv4-grid--mix .pv4-card--lead {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #fff 0%, var(--bg, #f6f8fb) 100%);
  padding: 38px 34px 32px;
}
.pv4-grid--mix .pv4-card--lead h3 { font-size: clamp(21px, 2.4vw, 28px); }
.pv4-grid--mix .pv4-card--lead p { max-width: 62ch; }

.pv4-grid--mix .pv4-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pv4-grid--mix .pv4-card__no {
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--ink-3, #7a8fa4);
  font-weight: 600;
}
.pv4-grid--mix .pv4-card__share {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-left: auto;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--ink-3, #7a8fa4);
}
.pv4-grid--mix .pv4-card__share b {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent, #d9822b);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.pv4-grid--mix .pv4-card__top svg {
  width: 26px; height: 26px;
  color: var(--ink, #0f2a43);
  opacity: .55;
  flex: none;
}

.pv4-grid--mix .pv4-card h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.015em;
  margin: 2px 0 0;
}
.pv4-grid--mix .pv4-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-2, #3d5a75);
}

.pv4-grid--mix .pv4-card__specs {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.pv4-grid--mix .pv4-card__specs li {
  font-size: 11.5px;
  letter-spacing: .01em;
  color: var(--ink-2, #3d5a75);
  border: 1px solid var(--line, rgba(15,42,67,.12));
  border-radius: 20px;
  padding: 4px 11px;
  background: rgba(255,255,255,.6);
}

.pv4-grid--mix .pv4-card__link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #0f2a43);
}
.pv4-grid--mix .pv4-card__link svg { width: 15px; height: 15px; transition: transform .22s ease; }
.pv4-grid--mix .pv4-card:hover .pv4-card__link svg { transform: translateX(3px); }
[dir="rtl"] .pv4-grid--mix .pv4-card__link svg { transform: scaleX(-1); }
[dir="rtl"] .pv4-grid--mix .pv4-card:hover .pv4-card__link svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .pv4-grid--mix .pv4-card__share { margin-left: 0; margin-right: auto; }

/* 标题下方的说明段 */
.pv4-head__sub {
  margin: 10px auto 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2, #3d5a75);
}

@media (max-width: 860px) {
  .pv4-grid--mix { grid-template-columns: 1fr; }
  .pv4-grid--mix .pv4-card--lead { padding: 30px 22px 26px; }
  .pv4-grid--mix .pv4-card { padding: 26px 22px 22px; }
}

/* ==========================================================================
   11. Brand logo strip (Atlas Copco · Jinke · HJG)
   ========================================================================== */
.pv4-brands {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.pv4-brands__in {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  justify-content: center;
  align-items: center;
  padding-block: 22px;
}
.pv4-brands__label {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted, #6F85A0);
  font-weight: 600;
}
.pv4-brands__logo {
  height: 34px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform .25s ease;
}
.pv4-brands__logo:hover {
  transform: translateY(-2px);
}
html[lang="zh-CN"] .pv4-brands__label { letter-spacing: .06em; text-transform: none; }
html[dir="rtl"] .pv4-brands__in { direction: rtl; }
@media (max-width: 720px) {
  .pv4-brands__in { gap: 14px 28px; padding-block: 18px; }
  .pv4-brands__logo { height: 26px; max-width: 140px; }
}
