/* ============================================================
   AnK 세무회계 — 업종별 페이지 (소프트웨어·도소매·요식업)
   흐름: 네이비 히어로(+핵심 3가지) → 단계별 체크포인트 → 예시 → 이럴 땐 상담 → FAQ → 첫 상담 안내.
   body.ip-page 에서만 쓰는 ip-* 클래스라 다른 페이지에 영향 없음.
   ============================================================ */
.ip-page { background: var(--white); }
.ip-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.ip-page h1, .ip-page h2, .ip-page h3 { letter-spacing: -0.02em; }
.ip-h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.45; color: var(--navy); text-align: left; }
.ip-lead { margin: 0 0 40px; color: var(--text-muted); line-height: 1.85; max-width: 640px; }

/* ---- 히어로 (네이비, 좌: 제목 / 우: 핵심 3가지) ---- */
.ip-hero { background: var(--navy-deep); color: var(--white); padding: 56px 0 72px; }
.ip-crumb { font-size: 0.82rem; color: rgba(255,255,255,0.66); margin-bottom: 44px; }
.ip-crumb a { color: rgba(255,255,255,0.78); }
.ip-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: end; }
.ip-eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.ip-hero h1 { margin: 16px 0 0; font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 800; line-height: 1.35; color: var(--white); text-align: left; }
.ip-sub { margin: 22px 0 32px; color: rgba(255,255,255,0.72); line-height: 1.9; font-size: 1rem; max-width: 560px; }
.ip-glance { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 26px 26px 14px; }
.ip-glance-t { font-size: 0.85rem; font-weight: 700; color: var(--gold); letter-spacing: 0.04em; margin-bottom: 14px; }
.ip-glance ol { list-style: none; margin: 0; padding: 0; counter-reset: g; }
.ip-glance li { counter-increment: g; display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.9); }
.ip-glance li::before { content: counter(g); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 0.8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* ---- 고객 한마디 (선택) : 사람별 카드 ---- */
.ip-quotes { background: var(--ivory); padding: 44px 0 40px; }
.ip-quotes .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ip-quotes .q { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: 12px; padding: 34px 26px 22px; box-shadow: 0 4px 14px rgba(28,43,75,0.05); }
.ip-quotes .q::before { content: "“"; position: absolute; left: 22px; top: 6px; font-family: "Noto Serif KR", serif; font-size: 2.8rem; line-height: 1; color: var(--gold); }
.ip-quotes .q p { margin: 0 0 20px; flex: 1; color: var(--navy); line-height: 1.8; font-size: 0.97rem; font-weight: 600; }
.ip-quotes .q span { display: block; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.84rem; font-weight: 700; color: var(--gold-dark); }
.ip-quotes .note { margin: 18px 0 0; font-size: 0.78rem; color: var(--text-muted); text-align: center; }

/* ---- 단계별 체크포인트 ---- */
.ip-flow { padding: 88px 0 56px; }
.ip-stage { display: grid; grid-template-columns: 150px 1fr; gap: 32px; position: relative; padding-bottom: 36px; }
.ip-stage::before { content: ""; position: absolute; left: 75px; top: 38px; bottom: -2px; width: 1px; background: var(--line-sand); }
.ip-stage:last-child::before { display: none; }
.ip-stage-l span { position: relative; display: inline-block; width: 150px; text-align: center; padding: 8px 0; border-radius: 999px; background: var(--white); border: 1.5px solid var(--gold); color: var(--navy); font-weight: 700; font-size: 0.9rem; }
.ip-stage-r { background: var(--paper); border: 1px solid var(--border); border-radius: 14px; padding: 28px 30px 26px; }
.ip-stage-r h3 { margin: 0 0 10px; font-size: 1.28rem; font-weight: 800; color: var(--navy); text-align: left; }
.ip-stage-r p { margin: 0 0 16px; color: var(--text-muted); line-height: 1.9; font-size: 0.97rem; }
.ip-stage-r p strong { color: var(--navy); }
.ip-stage-r ul { list-style: none; margin: 0 0 18px; padding: 0; }
.ip-stage-r li { position: relative; padding: 4px 0 4px 24px; font-size: 0.93rem; color: var(--text); line-height: 1.7; }
.ip-stage-r li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 800; }
.ip-do { background: var(--gold-soft); border-radius: 10px; padding: 14px 18px; font-size: 0.92rem; line-height: 1.75; color: var(--navy); }
.ip-do b { display: block; color: var(--gold-dark); margin-bottom: 4px; }

/* ---- 예시 ---- */
.ip-ex { background: var(--ivory); padding: 80px 0; }
.ip-ex table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); font-size: 0.95rem; border: 1px solid var(--line-card); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(28,43,75,0.06); }
.ip-ex th, .ip-ex td { padding: 16px 18px; text-align: center; vertical-align: middle; line-height: 1.6; border: 0; border-bottom: 1px solid #F0E9D8; }
.ip-ex tbody tr:last-child td { border-bottom: 0; }
.ip-ex th { background: var(--navy); color: var(--white); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; }
.ip-ex td { color: var(--text); }
.ip-ex td:first-child { font-weight: 700; color: var(--navy); background: var(--paper); white-space: nowrap; }
.ip-ex tbody tr:nth-child(even) td:not(.hl) { background: #FDFCF9; }
.ip-ex tbody tr:nth-child(even) td:first-child:not(.hl) { background: var(--ivory); }
.ip-ex .hl { background: var(--gold-soft); font-weight: 700; color: var(--navy); }
.ip-ex .note { margin: 16px 0 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; text-align: center; }

/* ---- 이럴 땐 상담 ---- */
.ip-when { padding: 80px 0 24px; }
.ip-when ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.ip-when li { position: relative; padding: 18px 20px 18px 52px; background: var(--paper); border: 1px solid var(--border); border-radius: 12px; line-height: 1.65; color: var(--text); font-size: 0.96rem; }
.ip-when li::before { content: "✓"; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: 0.78rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---- FAQ ---- */
.ip-faq { padding: 64px 0 80px; }
.ip-faq-list { max-width: 820px; }
.ip-q { border-top: 1px solid var(--border); }
.ip-q:last-child { border-bottom: 1px solid var(--border); }
.ip-q summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-weight: 700; color: var(--navy); font-size: 1.04rem; line-height: 1.55; position: relative; }
.ip-q summary::-webkit-details-marker { display: none; }
.ip-q summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 1.4rem; font-weight: 400; color: var(--gold-dark); }
.ip-q[open] summary::after { content: "–"; }
.ip-q p { margin: 0 0 22px; color: var(--text-muted); line-height: 1.9; font-size: 0.96rem; }
.ip-q p a { color: var(--gold-dark); text-decoration: underline; }

/* ---- 첫 상담 안내 + CTA ---- */
.ip-cta { background: var(--navy-deep); color: var(--white); padding: 76px 0; }
.ip-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ip-cta h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.5; color: var(--white); font-weight: 800; text-align: left; }
.ip-cta p { margin: 0 0 28px; color: rgba(255,255,255,0.7); line-height: 1.85; }
.ip-cta .tel { margin-top: 18px; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.ip-cta .tel a { color: var(--gold); font-weight: 700; }
.ip-cta .back { margin-top: 14px; font-size: 0.86rem; }
.ip-cta .back a { color: rgba(255,255,255,0.66); }
.ip-ask { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 26px 28px 18px; }
.ip-ask b { display: block; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--gold); margin-bottom: 12px; }
.ip-ask ul { list-style: none; margin: 0; padding: 0; }
.ip-ask li { padding: 11px 0 11px 22px; border-top: 1px solid rgba(255,255,255,0.1); position: relative; color: rgba(255,255,255,0.88); font-size: 0.95rem; line-height: 1.6; }
.ip-ask li::before { content: "·"; position: absolute; left: 6px; color: var(--gold); font-weight: 800; }

@media (max-width: 860px) {
  .ip-hero { padding: 40px 0 52px; }
  .ip-hero-grid, .ip-cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .ip-quotes .row, .ip-when ul { grid-template-columns: 1fr; }
  .ip-flow { padding: 60px 0 40px; }
  .ip-stage { grid-template-columns: 1fr; gap: 12px; padding-bottom: 24px; }
  .ip-stage::before { display: none; }
  .ip-stage-l span { width: auto; padding: 7px 18px; }
  .ip-stage-r { padding: 22px 20px; }
  .ip-ex { padding: 56px 0; overflow-x: auto; }
  .ip-ex td:first-child { white-space: normal; }
  .ip-cta { padding: 56px 0; }
}
