/* ============================================================
   style-industry-home.css — 家装行业网站方案（独立布局：户型圆盘）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：户型圆盘 ---------- */
.ih-hero { position: relative; background: var(--white); padding: 178px 0 84px; overflow: hidden; }
.ih-hero::before { content: ""; position: absolute; right: -240px; top: -240px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%); pointer-events: none; }
.ih-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ih-hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .34em; color: var(--gray-600); margin-bottom: 24px; }
.ih-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.ih-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.ih-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.ih-plan { position: relative; justify-self: center; width: min(400px, 40vw); height: min(400px, 40vw); }
.ih-plan-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gray-300); animation: ihSpin 46s linear infinite; }
.ih-plan-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.ih-plan-ring.outer { inset: -8%; border-style: dashed; animation-direction: reverse; }
@keyframes ihSpin { to { transform: rotate(360deg); } }
.ih-plan-disc { position: absolute; inset: 18%; border-radius: 50%; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); }
.ih-plan-disc img { width: 100%; height: 100%; object-fit: cover; }
.ih-plan-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 50px rgba(27,27,27,.18); }
.ih-plan-tag { position: absolute; background: #fff; border: 1px solid var(--gray-300); border-radius: 999px; padding: 8px 16px; font-size: 12.5px; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.ih-plan-tag.t1 { left: -14px; top: 18%; }
.ih-plan-tag.t2 { right: -12px; top: 44%; }
.ih-plan-tag.t3 { left: 4%; bottom: 12%; }

/* ---------- 数据横条 ---------- */
.ih-bar { background: var(--ink); color: #fff; padding: 60px 0; overflow: hidden; position: relative; }
.ih-bar::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.ih-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; position: relative; z-index: 2; }
.ih-bar-item b { display: block; font-size: 32px; font-weight: 800; line-height: 1.2; }
.ih-bar-item span { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(255,255,255,.68); }

/* ---------- 数字模块 ---------- */
.ih-mod { background: var(--gray-50); overflow: hidden; position: relative; }
.ih-mod::before { content: ""; position: absolute; right: -160px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%); pointer-events: none; }
.ih-mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; position: relative; z-index: 2; }
.ih-mod-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 30px; display: flex; gap: 22px; transition: all var(--transition); }
.ih-mod-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ih-mod-num { font-size: 34px; font-weight: 800; color: var(--gray-300); line-height: 1; min-width: 56px; }
.ih-mod-card h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.ih-mod-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- 案例入口 ---------- */
.ih-case { background: var(--white); position: relative; overflow: hidden; }
.ih-case::after { content: ""; position: absolute; left: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed var(--gray-300); pointer-events: none; }
.ih-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.ih-case-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-50); transition: all var(--transition); }
.ih-case-card:hover { border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ih-case-media { aspect-ratio: 3/2; overflow: hidden; }
.ih-case-media img { width: 100%; height: 100%; object-fit: cover; }
.ih-case-card h3 { padding: 18px 22px 0; font-size: 16px; color: var(--ink); font-weight: 700; }
.ih-case-card p { padding: 8px 22px 22px; font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- CTA ---------- */
.ih-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.ih-sec-cta::before { content: ""; position: absolute; left: 50%; bottom: -260px; transform: translateX(-50%); width: 640px; height: 640px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.ih-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.ih-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.ih-sec-cta .cta-contact a { color: #fff; }
.ih-sec-cta .cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .ih-hero { padding-top: 148px; }
  .ih-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .ih-plan { width: min(340px, 72vw); height: min(340px, 72vw); }
  .ih-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ih-mod-grid { grid-template-columns: 1fr; }
  .ih-case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ih-hero { padding: 132px 0 56px; }
  .ih-bar-grid { grid-template-columns: 1fr 1fr; }
}
