/* ============================================================
   style-industry-education.css — 教育行业网站方案（独立布局：书本圆环）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：书本圆环 ---------- */
.ie-hero { position: relative; background: var(--white); padding: 178px 0 84px; overflow: hidden; }
.ie-hero::before { content: ""; position: absolute; left: -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; }
.ie-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ie-hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .34em; color: var(--gray-600); margin-bottom: 24px; }
.ie-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.ie-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.ie-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.ie-book { position: relative; justify-self: center; width: min(400px, 40vw); height: min(400px, 40vw); }
.ie-book-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gray-300); animation: ieSpin 46s linear infinite; }
.ie-book-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.ie-book-ring.outer { inset: -8%; border-style: dashed; animation-direction: reverse; }
@keyframes ieSpin { to { transform: rotate(360deg); } }
.ie-book-disc { position: absolute; inset: 18%; border-radius: 50%; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); }
.ie-book-disc img { width: 100%; height: 100%; object-fit: cover; }
.ie-book-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 50px rgba(27,27,27,.18); }
.ie-book-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); }
.ie-book-tag.t1 { left: -14px; top: 18%; }
.ie-book-tag.t2 { right: -12px; top: 44%; }
.ie-book-tag.t3 { left: 4%; bottom: 12%; }

/* ---------- 课程卡片 ---------- */
.ie-course { background: var(--gray-50); overflow: hidden; position: relative; }
.ie-course::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; }
.ie-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.ie-course-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.ie-course-card:hover { border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ie-course-media { aspect-ratio: 3/2; overflow: hidden; }
.ie-course-media img { width: 100%; height: 100%; object-fit: cover; }
.ie-course-card h3 { padding: 18px 22px 0; font-size: 16.5px; color: var(--ink); font-weight: 700; }
.ie-course-card p { padding: 8px 22px 20px; font-size: 13px; color: var(--ink-mute); line-height: 1.8; }
.ie-course-tag { display: inline-block; margin: 16px 0 0 22px; font-size: 12px; color: var(--ink); border: 1px solid var(--gray-300); padding: 4px 12px; border-radius: 999px; background: #fff; }

/* ---------- 招生对比 ---------- */
.ie-compare { background: var(--white); position: relative; overflow: hidden; }
.ie-compare::after { content: ""; position: absolute; left: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed var(--gray-300); pointer-events: none; }
.ie-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; position: relative; z-index: 2; }
.ie-compare-col { border-radius: var(--radius-lg); padding: 34px 30px; }
.ie-compare-col.a { background: var(--gray-50); border: 1px solid var(--gray-200); }
.ie-compare-col.b { background: var(--ink); }
.ie-compare-col h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.ie-compare-col.a h3 { color: var(--ink); }
.ie-compare-col.b h3 { color: #fff; }
.ie-compare-col li { display: flex; gap: 10px; font-size: 14px; line-height: 1.8; padding: 6px 0; }
.ie-compare-col.a li { color: var(--ink-mute); }
.ie-compare-col.b li { color: #E4E4DF; }
.ie-compare-col li::before { content: "—"; flex-shrink: 0; }

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

/* ---------- CTA ---------- */
.ie-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.ie-sec-cta::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%); pointer-events: none; }
.ie-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.ie-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.ie-sec-cta .cta-contact a { color: #fff; }
.ie-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) {
  .ie-hero { padding-top: 148px; }
  .ie-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .ie-book { width: min(340px, 72vw); height: min(340px, 72vw); }
  .ie-course-grid { grid-template-columns: repeat(2, 1fr); }
  .ie-compare-grid { grid-template-columns: 1fr; }
  .ie-case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ie-hero { padding: 132px 0 56px; }
  .ie-course-grid { grid-template-columns: 1fr; }
}
