/* layouts/lp-intro.css — 랜딩 «프로그램 소개» 메뉴 순서 이야기 페이지 옷 (2026-11-17 · 틀 = /home-care.php · 손 lp-intro.js)
 *   사장님 «각 메뉴마다 어떤 일을 하는지 쭉 설명 · 메뉴 순서대로 스토리텔링 · 실 화면 인용 · 메뉴당 풀페이지(100vh) 2개까지».
 *   차례: 첫 장(.iv-op — 이야기 지도) → 메뉴 장(.iv-p — 글 | 실제 화면, 메뉴마다 1~2장) → 끝 장(.iv-end).
 *   PC(1180↑) = 왼쪽에 진짜 사이드바 꼴 길잡이(.iv-rail — 지금 장 메뉴가 켜짐 · 누르면 그 장으로) · 폰/태블릿 = 메뉴 띠(.iv-mbar · 누르면 메뉴 목록 판).
 *   실제 화면 = 체험용 기관(가짜 자료) 1920×1080 을 1600×900 으로 — 자르지 않는다(사장님 «잘라 키운 것은 알아볼 수가 없음»). 화면 위 번호 점(.iv-dot)과 글 목록 번호가 짝.
 *   글자: 연령층 높음 — 본문 #1e293b · 연한 글도 #475569 아래로 안 내림 · 폰 344px 에서 안 잘리게. */
.iv { --nav: var(--lp-nav-h, 74px); --rail: clamp(272px, 15.6vw, 308px); --ink: #0f172a; --tx: #1e293b; --mu: #475569; --ln: #e2e8f0; --bg: #f5f7f8;
	--c: #0d9488; --c2: #14b8a6; --cs: #ccfbf1; --ui: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
	font-family: var(--ui); color: var(--tx); background: var(--bg); padding-top: var(--nav); word-break: keep-all; overflow-wrap: anywhere; }
.iv *, .iv *::before, .iv *::after { box-sizing: border-box; }
/* 기본 여백 지우기는 :where 로 — 무게 0 이라 아래 칸마다 준 margin-top 이 이긴다(11-17 «붙어 있다» — 옛 .iv p 가 .iv-ba · .iv-pts 여백을 지웠다) */
:where(.iv) :where(h1, h2, h3, p, ol, ul, dl, dd, figure) { margin: 0; }
:where(.iv) :where(ol, ul) { padding: 0; list-style: none; }
.iv a { color: inherit; }

/* ── 첫 장: 이야기 지도 ─────────────────────────────── */
.iv-op { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - var(--nav)); min-height: calc(100svh - var(--nav)); display: flex; align-items: center;
	padding: clamp(36px, 6vh, 80px) clamp(16px, 5vw, 88px); background: #0b1f22; color: #fff; }
.iv-op::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(60% 70% at 85% 30%, rgba(20, 184, 166, .30), transparent 70%), radial-gradient(50% 60% at 10% 90%, rgba(56, 189, 248, .16), transparent 70%); }
.iv-op::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(80% 80% at 60% 40%, #000, transparent 80%); mask-image: radial-gradient(80% 80% at 60% 40%, #000, transparent 80%); }
.iv-op__in { width: 100%; max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.iv-op__eb { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: rgba(20, 184, 166, .16); border: 1px solid rgba(94, 234, 212, .35);
	color: #99f6e4; font-size: 14.5px; font-weight: 800; }
.iv-op__eb i { font-size: 8px; color: #2dd4bf; }
.iv-op h1 { margin-top: 18px; font-size: clamp(34px, 4.2vw, 66px); line-height: 1.16; font-weight: 850; letter-spacing: -.035em; }
.iv-op h1 em { font-style: normal; background: linear-gradient(92deg, #5eead4, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.iv-op__sub { margin-top: 18px; max-width: 34em; font-size: clamp(16.5px, 1.25vw, 20px); line-height: 1.7; color: #cbd5e1; font-weight: 500; }
.iv-op__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.iv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: 14px; font: inherit; font-size: 17px; font-weight: 800;
	text-decoration: none; cursor: pointer; border: 0; transition: transform .15s, box-shadow .15s, background-color .15s; }
.iv-btn--pr { background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; box-shadow: 0 12px 30px -12px rgba(20, 184, 166, .8); }
.iv-btn--pr:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(20, 184, 166, .9); }
.iv-btn--gh { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.iv-btn--gh:hover { background: rgba(255, 255, 255, .14); }
.iv-op__map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.iv-act { padding: 16px 16px 12px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .11); }
.iv-act__t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 16px; font-weight: 850; color: #fff; }
.iv-act__t small { flex: none; padding: 2px 9px; border-radius: 999px; background: rgba(94, 234, 212, .12); font-size: 12.5px; font-weight: 750; color: #99f6e4; }
.iv-act__d { margin-top: 3px; font-size: 13.5px; color: #94a3b8; font-weight: 600; line-height: 1.45; }
.iv-act ul { margin-top: 10px; display: grid; gap: 2px; }
.iv-act a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; text-decoration: none; color: #e2e8f0; font-size: 15px; font-weight: 700; transition: background-color .15s; }
.iv-act a:hover { background: rgba(255, 255, 255, .08); }
.iv-act a b { flex: none; width: 26px; font-size: 12.5px; font-weight: 800; color: #5eead4; font-variant-numeric: tabular-nums; }
.iv-act a i { flex: none; width: 18px; font-size: 14px; color: #94a3b8; text-align: center; }
.iv-act a span { min-width: 0; }
.iv-act--wide { grid-column: 1 / -1; }
.iv-act--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.iv-op__down { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	color: #99f6e4; text-decoration: none; border: 1px solid rgba(255, 255, 255, .2); animation: ivBob 2.2s ease-in-out infinite; }
@keyframes ivBob { 50% { transform: translate(-50%, 6px); } }

/* ── 왼쪽 길잡이(PC) — 진짜 사이드바 꼴 ─────────────── */
.iv-rail { display: none; }
.iv-mbar { display: none; }
@media (min-width: 1180px) {
	.iv-body { padding-left: var(--rail); }
	/* 11-18 사장님 «좌측 메뉴를 조금 더 크게 — 너비 · 폰트 비율 맞춰» = 폭 252 → 272 ~ 308px(창 폭을 따라) · 메뉴 이름 14.5 → 16.5 · 설명 12 → 13.5 · 아이콘 30 → 34 (모두 1.13 ~ 1.2배) */
	.iv-rail { display: flex; flex-direction: column; position: fixed; z-index: 50; top: var(--nav); left: 0; bottom: 0; width: var(--rail); padding: 16px 12px 16px;
		background: #fff; border-right: 1px solid var(--ln); transform: translateX(-100%); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
	.iv.is-rail .iv-rail { transform: none; }
	.iv-rail__hd { display: flex; align-items: center; gap: 10px; padding: 4px 10px 13px; margin-bottom: 7px; border-bottom: 1px solid #f1f5f9; }
	.iv-rail__hd img { width: 30px; height: 30px; }
	.iv-rail__hd b { font-size: 18.5px; font-weight: 850; color: var(--ink); letter-spacing: -.02em; }
	.iv-rail__hd span { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--cs); color: #0f766e; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
	.iv-rail__ls { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; display: flex; flex-direction: column; gap: 1px; }
	.iv-rail__sep { height: 1px; margin: 4px 12px; background: #eef2f6; flex: none; }
	.iv-rail a { position: relative; flex: none; display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 12px; text-decoration: none; color: var(--tx); transition: background-color .15s, box-shadow .2s; }
	.iv-rail a:hover { background: #f8fafc; }
	.iv-rail a > i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 15.5px; color: #475569; background: #f1f5f9; transition: background-color .2s, color .2s; }
	.iv-rail a > span { min-width: 0; display: flex; flex-direction: column; }
	.iv-rail a b { font-size: 16.5px; font-weight: 750; line-height: 1.25; }
	.iv-rail a small { font-size: 13.5px; font-weight: 600; color: #64748b; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	/* 메뉴가 열여덟 줄 이상(요양원 · 주야간보호)이면 줄을 조금 좁혀 키 큰 화면에 다 들어가게 */
	.iv-rail--tight a { padding: 4px 12px; }
	.iv-rail--tight a > i { width: 32px; height: 32px; font-size: 14.5px; }
	.iv-rail--tight a b, .iv-rail--tight a small { line-height: 1.22; }
	.iv-rail--tight .iv-rail__sep { margin: 3px 12px; }
	.iv-rail a.is-done > i { color: #0d9488; }
	.iv-rail a.is-on { background: #f0fdfa; }
	.iv-rail a.is-on::before { content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c2); }
	.iv-rail a.is-on > i { background: var(--c2); color: #fff; }
	.iv-rail a.is-on b { color: #0f766e; font-weight: 850; }
	.iv-rail__ft { flex: none; margin-top: 8px; padding: 11px 12px; border-radius: 12px; background: #f8fafc; font-size: 14px; font-weight: 700; color: var(--mu); line-height: 1.5; }
	.iv-rail__bar { height: 6px; margin-top: 7px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
	.iv-rail__bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, #14b8a6, #0ea5e9); transition: width .3s; }

	/* 들어오자마자 안내(11-18 · PC 만 · 손 lp-intro.js ⑥) — 길잡이를 화면에 꺼내 밝히고(.iv.is-guide) 그 옆에 풀이 카드 · 커서가 메뉴를 차례로 가리킨다.
	   어둠은 위 메뉴(z 1000)까지 덮고 길잡이만 그 위로 — 길잡이 메뉴는 안내 중에도 눌린다(누르면 닫히고 그 장으로) */
	.iv-gd { position: fixed; inset: 0; z-index: 1900; opacity: 0; transition: opacity .28s ease; }
	.iv-gd.is-on { opacity: 1; }
	.iv-gd__dim { position: absolute; inset: 0; background: rgba(4, 14, 18, .68); }
	.iv.is-guide .iv-rail { transform: none; z-index: 1901; box-shadow: 0 0 0 3px #2dd4bf, 0 0 0 10px rgba(45, 212, 191, .26), 30px 0 70px -24px rgba(0, 0, 0, .6); animation: ivGdGlow 1.8s ease-in-out infinite; }
	@keyframes ivGdGlow { 50% { box-shadow: 0 0 0 3px #2dd4bf, 0 0 0 18px rgba(45, 212, 191, .1), 30px 0 70px -24px rgba(0, 0, 0, .6); } }
	.iv.is-guide .iv-rail a.is-hint { background: #ccfbf1; box-shadow: inset 0 0 0 2px #14b8a6; }
	.iv.is-guide .iv-rail a.is-hint > i { background: var(--c2); color: #fff; }
	.iv.is-guide .iv-rail a.is-hint b { color: #0f766e; }
	.iv-gd__card { position: absolute; left: calc(var(--rail) + 34px); top: clamp(104px, 21vh, 250px); width: min(500px, 100vw - var(--rail) - 68px); padding: 28px 28px 22px; border-radius: 22px;
		background: #fff; color: var(--tx); box-shadow: 0 34px 90px -24px rgba(0, 0, 0, .65); transform: translateX(-14px); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
	.iv-gd.is-on .iv-gd__card { transform: none; }
	.iv-gd__card::before { content: ''; position: absolute; left: -9px; top: 48px; width: 20px; height: 20px; border-radius: 4px; background: #fff; transform: rotate(45deg); }
	.iv-gd__eb { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: var(--cs); color: #0f766e; font-size: 14px; font-weight: 800; }
	.iv-gd__eb i { font-size: 8px; color: #14b8a6; }
	.iv-gd__t { margin-top: 14px; font-size: 26px; line-height: 1.32; font-weight: 850; letter-spacing: -.03em; color: var(--ink); }
	.iv-gd__d { margin-top: 10px; font-size: 17px; line-height: 1.6; font-weight: 500; color: #334155; }
	.iv-gd__ls { margin-top: 16px; display: grid; gap: 8px; }
	.iv-gd__ls li { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border-radius: 14px; background: #f1f5f9; font-size: 16.5px; line-height: 1.5; font-weight: 650; color: var(--tx); }
	.iv-gd__ls li b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; font-size: 14px; font-weight: 800; }
	.iv-gd__bt { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
	.iv-gd__go { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 20px; border: 0; border-radius: 14px; font: inherit; font-size: 17.5px; font-weight: 800; color: #fff; cursor: pointer;
		background: linear-gradient(135deg, #14b8a6, #0d9488); box-shadow: 0 12px 28px -12px rgba(13, 148, 136, .9); transition: transform .15s; }
	.iv-gd__go:hover { transform: translateY(-1px); }
	.iv-gd__x { flex: none; min-height: 54px; padding: 0 22px; border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; font: inherit; font-size: 17px; font-weight: 750; color: #334155; cursor: pointer; }
	.iv-gd__x:hover { background: #f8fafc; }
	.iv-gd__go:focus-visible, .iv-gd__x:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 2px; }
	.iv-gd__no { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 650; color: #475569; cursor: pointer; }
	.iv-gd__no input { width: 18px; height: 18px; margin: 0; accent-color: #0d9488; cursor: pointer; }
	.iv-gd__ptr { position: fixed; z-index: 1902; left: var(--px, -40px); top: var(--py, -40px); width: 22px; height: 29px; pointer-events: none; opacity: 0;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M2 1.5v19.2l5-4.6 3.3 7.6 3.1-1.4-3.3-7.4h6.9z' fill='%230f172a' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 0 / contain;
		filter: drop-shadow(0 2px 3px rgba(15, 23, 42, .4)); transition: left .7s cubic-bezier(.4, .1, .2, 1), top .7s cubic-bezier(.4, .1, .2, 1), opacity .3s; }
	.iv-gd__ptr.is-on { opacity: 1; }
}
/* 낮은 창(키 1040 아래) — 길잡이 줄을 조금 좁혀 메뉴가 되도록 한눈에(넘치는 만큼만 길잡이 안에서 스크롤) */
@media (min-width: 1180px) and (max-height: 1040px) {
	.iv-rail { padding-top: 12px; padding-bottom: 12px; }
	.iv-rail__hd { padding-bottom: 10px; margin-bottom: 5px; }
	.iv-rail a { padding: 4px 12px; }
	.iv-rail a > i { width: 32px; height: 32px; font-size: 14.5px; }
	.iv-rail a b, .iv-rail a small { line-height: 1.2; }
	.iv-rail--tight a { padding: 2px 12px; }
	.iv-rail--tight a > i { width: 30px; height: 30px; font-size: 14px; }
	.iv-rail__ft { margin-top: 6px; padding: 8px 12px; }
	.iv-gd__card { padding: 22px 24px 18px; }
	.iv-gd__t { font-size: 23.5px; }
	.iv-gd__ls { margin-top: 12px; }
	.iv-gd__bt { margin-top: 16px; }
}

/* ── 폰 · 태블릿 메뉴 띠 ─────────────────────────────── */
@media (max-width: 1179.98px) {
	.iv-mbar { display: flex; position: sticky; z-index: 40; top: var(--nav); align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px;
		background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ln);
		transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
	.iv.is-rail .iv-mbar { transform: none; opacity: 1; pointer-events: auto; }
	.iv-mbar__b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
	.iv-mbar__b i.iv-mbar__ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--c2); color: #fff; font-size: 15px; }
	.iv-mbar__b span { min-width: 0; display: flex; flex-direction: column; }
	.iv-mbar__b small { font-size: 12.5px; font-weight: 800; color: #0f766e; }
	.iv-mbar__b b { font-size: 16px; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.iv-mbar__b .fa-chevron-down { flex: none; margin-left: auto; color: #64748b; font-size: 14px; }
	.iv-mbar__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
	.iv-mbar__bar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, #14b8a6, #0ea5e9); transition: width .3s; }
}
.iv-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; }
.iv-sheet[hidden] { display: none; }
.iv-sheet__dim { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); }
.iv-sheet__p { position: relative; width: min(100%, 520px); max-height: min(78vh, 680px); display: flex; flex-direction: column; border-radius: 22px 22px 0 0; background: #fff; padding: 12px 12px calc(14px + env(safe-area-inset-bottom)); }
.iv-sheet__hd { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 10px; font-size: 17px; font-weight: 850; color: var(--ink); }
.iv-sheet__hd button { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #f1f5f9; color: #334155; font-size: 17px; cursor: pointer; }
.iv-sheet__ls { overflow-y: auto; display: grid; gap: 2px; }
.iv-sheet__ls a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--tx); }
.iv-sheet__ls a > i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #f1f5f9; color: #475569; font-size: 15px; }
.iv-sheet__ls a b { font-size: 16px; font-weight: 800; }
.iv-sheet__ls a small { display: block; font-size: 13px; font-weight: 600; color: #64748b; }
.iv-sheet__ls a.is-on { background: #f0fdfa; }
.iv-sheet__ls a.is-on > i { background: var(--c2); color: #fff; }

/* ── 메뉴 장 ─────────────────────────────────────── */
.iv-p { position: relative; min-height: calc(100vh - var(--nav)); min-height: calc(100svh - var(--nav)); display: flex; align-items: center;
	padding: clamp(40px, 7vh, 88px) clamp(16px, 3.6vw, 64px); border-bottom: 1px solid #e8edf1; scroll-margin-top: var(--nav); }
.iv-p:nth-of-type(even) { background: #fff; }
.iv-p__in { width: 100%; max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.5fr); gap: clamp(28px, 3.6vw, 64px); align-items: center; }
.iv-p--flip .iv-p__in { grid-template-columns: minmax(0, 1.5fr) minmax(340px, .9fr); }
.iv-p--flip .iv-p__tx { order: 2; }
.iv-eb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 16.5px; font-weight: 850; color: #0f766e; }
.iv-eb__no { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 30px; padding: 0 9px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.iv-eb__no i { width: auto; margin-right: 6px; font-size: 13px; color: #5eead4; }
.iv-eb__act { padding: 4px 10px; border-radius: 999px; background: var(--cs); color: #115e59; font-size: 13px; font-weight: 800; }
.iv-eb__pg { color: var(--mu); font-size: 13.5px; font-weight: 700; }
.iv-h { margin-top: 16px; font-size: clamp(30px, 2.75vw, 50px); line-height: 1.22; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.iv-h em { font-style: normal; color: #0d9488; }
.iv-sub { margin-top: 14px; font-size: clamp(17.5px, 1.2vw, 20.5px); line-height: 1.65; color: #1e293b; font-weight: 600; }
.iv-pts { margin-top: 24px; display: grid; gap: 8px; }
.iv-pts li { position: relative; display: flex; align-items: flex-start; gap: 13px; padding: 13px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--ln); cursor: pointer;
	transition: border-color .2s, box-shadow .2s, background-color .2s; }
.iv-p:nth-of-type(even) .iv-pts li { background: #f8fafc; }
.iv-pts li:hover { border-color: #99f6e4; }
.iv-pts li:focus-visible { outline: 3px solid rgba(20, 184, 166, .45); outline-offset: 2px; }
.iv-pts li > b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e2e8f0; color: #334155; font-size: 15px; font-weight: 850; transition: background-color .2s, color .2s; }
.iv-pts li > span { min-width: 0; flex: 1; display: grid; grid-template-rows: auto 0fr; transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1); }
.iv-pts li strong { font-size: clamp(17.5px, 1.2vw, 20px); font-weight: 800; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.iv-pts li small { display: block; min-height: 0; overflow: hidden; font-size: clamp(15.5px, 1.02vw, 17px); font-weight: 600; color: #334155; line-height: 1.65; opacity: 0; transition: opacity .3s; }
.iv-pts li.is-on { border-color: var(--c2); background: #fff; box-shadow: 0 0 0 1px var(--c2), 0 14px 30px -18px rgba(13, 148, 136, .65); }
.iv-pts li.is-on > b { background: var(--c2); color: #fff; }
.iv-pts li.is-on > span { grid-template-rows: auto 1fr; }
.iv-pts li.is-on small { opacity: 1; padding-top: 4px; }
.iv-ba { position: relative; margin-top: 18px; display: grid; gap: 0; padding: 4px 0; border-radius: 14px; background: #0f172a; color: #e2e8f0; }
.iv-ba__r { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: start; gap: 10px; padding: 10px 16px; }
.iv-ba__r + .iv-ba__r { border-top: 1px dashed rgba(148, 163, 184, .28); }
.iv-ba dt { justify-self: start; padding: 3px 9px; border-radius: 8px; font-size: 13px; font-weight: 850; line-height: 1.5; white-space: nowrap; }
.iv-ba dd { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.55; padding-top: 1px; }
.iv-ba__r--b dt { background: rgba(248, 113, 113, .18); color: #fca5a5; }
.iv-ba__r--b dd { color: #cbd5e1; font-weight: 600; }
.iv-ba__r--a dt { background: rgba(45, 212, 191, .2); color: #5eead4; }
.iv-ba__r--a dd { color: #fff; font-weight: 800; }
.iv-nx { margin-top: 16px; }
.iv-nx__d { padding-left: 14px; border-left: 3px solid #99f6e4; font-size: 16.5px; font-weight: 700; line-height: 1.6; color: #334155; }
.iv-nx__go { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #f0fdfa; border: 1px solid #99f6e4;
	color: #0f766e; font-size: 16px; font-weight: 800; text-decoration: none; transition: background-color .15s; }
.iv-nx__go b { color: #0f172a; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-nx__go i { margin-left: 2px; font-size: 13px; transition: transform .15s; }
.iv-nx__go:hover { background: #ccfbf1; }
.iv-nx__go:hover i { transform: translateY(2px); }

/* 실제 화면 — 브라우저 창 */
.iv-sc { position: relative; min-width: 0; }
.iv-win { position: relative; container-type: inline-size; border-radius: 16px; background: #fff; border: 1px solid #dbe3ea; overflow: hidden;
	box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .45), 0 12px 28px -18px rgba(15, 23, 42, .3); }
.iv-win__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.iv-win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.iv-win__bar i:nth-child(1) { background: #fca5a5; } .iv-win__bar i:nth-child(2) { background: #fcd34d; } .iv-win__bar i:nth-child(3) { background: #86efac; }
.iv-win__bar span { flex: 1; min-width: 0; max-width: 420px; margin-left: 10px; padding: 4px 12px; border-radius: 8px; background: #fff; color: #475569; font-size: 12.5px; font-weight: 650;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-win__bar span::before { content: '\f023'; font-family: 'Font Awesome 7 Pro'; font-weight: 900; margin-right: 6px; font-size: 10px; color: #94a3b8; }
.iv-win__img { position: relative; aspect-ratio: 16 / 9; background: #f8fafc; overflow: hidden; }
/* 재생기 — 장면(.iv-pl__f)이 겹쳐 있고 지금 장면만 보인다 · 무대(.iv-pl__st)를 그 자리(--ox --oy)로 키운다(--z) · 커서(.iv-cur)가 그 자리로 가서 누른다 */
.iv-pl__st { position: absolute; inset: 0; transform-origin: var(--ox, 50%) var(--oy, 50%); transform: scale(var(--z, 1)); transition: transform 1.15s cubic-bezier(.33, .7, .2, 1); will-change: transform; }
.iv-pl__f { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s ease; }
.iv-pl__f.is-on { opacity: 1; }
.iv-dot { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: grid; place-items: center; width: 3.1%; aspect-ratio: 1; min-width: 20px; transform: translate(-50%, -50%) scale(.3);
	border-radius: 50%; background: var(--c2); color: #fff; font-size: clamp(10px, 1.5cqw, 15px); font-weight: 850; border: 2px solid #fff; box-shadow: 0 4px 12px -3px rgba(13, 148, 136, .9);
	opacity: 0; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.iv-dot::after { content: ''; position: absolute; inset: -45%; border-radius: 50%; border: 2px solid rgba(20, 184, 166, .7); opacity: 0; }
.iv-dot.is-on { opacity: 1; transform: translate(-50%, -50%); }
.iv-win.is-play .iv-dot.is-on::after { animation: ivRing 1.6s ease-out infinite; }
@keyframes ivRing { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
.iv-cur { position: absolute; left: var(--cx, 55%); top: var(--cy, 60%); z-index: 3; width: 2.4%; min-width: 16px; aspect-ratio: 20 / 26; pointer-events: none; opacity: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M2 1.5v19.2l5-4.6 3.3 7.6 3.1-1.4-3.3-7.4h6.9z' fill='%230f172a' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 0 / contain;
	filter: drop-shadow(0 2px 3px rgba(15, 23, 42, .35)); transition: left .95s cubic-bezier(.4, .1, .2, 1), top .95s cubic-bezier(.4, .1, .2, 1), opacity .3s; }
.iv-win.is-play .iv-cur { opacity: 1; }
.iv-cur.is-click { animation: ivClick .45s ease; }
@keyframes ivClick { 40% { transform: scale(.78); } }
/* 재생 띠 — 지금 장면 이름(크게) · 멈춤 · 걸음 막대 · 크게 보기 */
.iv-pl__bar { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; background: #0f172a; color: #fff; }
.iv-pl__pp { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 14px; cursor: pointer; }
.iv-pl__pp:hover { background: rgba(255, 255, 255, .2); }
.iv-pl__cap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-size: clamp(15.5px, 1.05vw, 18px); font-weight: 800; line-height: 1.35; }
.iv-pl__cap b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c2); color: #fff; font-size: 14.5px; font-weight: 850; }
.iv-pl__cap span { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.iv-pl__pips { flex: none; display: flex; gap: 5px; }
.iv-pl__pips i { position: relative; width: 34px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.iv-pl__pips i.is-done { background: rgba(94, 234, 212, .75); }
.iv-pl__pips i.is-on::after { content: ''; position: absolute; inset: 0; background: #5eead4; transform-origin: 0 50%; transform: scaleX(0); animation: ivPip var(--dur, 5.5s) linear forwards; }
.iv-win.is-pause .iv-pl__pips i.is-on::after { animation-play-state: paused; }
@keyframes ivPip { to { transform: none; } }
.iv-zoom { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 14.5px; font-weight: 750; cursor: pointer; }
.iv-zoom:hover { background: rgba(255, 255, 255, .2); }
.iv-cap { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--mu); }
.iv-cap i { color: #94a3b8; }

/* 사진 전 대체 그림 — 메뉴 아이콘 + 할 수 있는 것 셋 */
.iv-win__ph { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 4%; overflow: hidden;
	background: radial-gradient(70% 90% at 80% 10%, rgba(20, 184, 166, .16), transparent 70%), linear-gradient(160deg, #f8fafc, #eef6f5); }
.iv-win__ph::before { content: ''; position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px); background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%); }
.iv-ph { position: relative; width: min(100%, 460px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.iv-ph__ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; font-size: 26px; box-shadow: 0 16px 30px -14px rgba(13, 148, 136, .8); }
.iv-ph > b { margin-top: 14px; font-size: clamp(18px, 1.5vw, 24px); font-weight: 850; color: var(--ink); }
.iv-ph > small { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--mu); }
.iv-ph ol { margin-top: 16px; width: 100%; display: grid; gap: 7px; text-align: left; }
.iv-ph li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--ln); font-size: 14.5px; font-weight: 700; color: var(--tx); box-shadow: 0 6px 16px -12px rgba(15, 23, 42, .3); }
.iv-ph li b { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--c2); color: #fff; font-size: 12px; }
@media (max-width: 640px) {
	.iv-win__ph { aspect-ratio: auto; padding: 22px 14px; }
	.iv-ph__ic { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
	.iv-ph li { font-size: 14px; padding: 8px 10px; }
}

/* 들어올 때 */
.iv-p .iv-p__tx > *, .iv-p .iv-sc { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.iv-p .iv-sc { transform: translateY(26px) scale(.985); }
.iv-p.is-in .iv-p__tx > *, .iv-p.is-in .iv-sc { opacity: 1; transform: none; }
.iv-p.is-in .iv-p__tx > :nth-child(2) { transition-delay: .06s; } .iv-p.is-in .iv-p__tx > :nth-child(3) { transition-delay: .12s; }
.iv-p.is-in .iv-p__tx > :nth-child(4) { transition-delay: .18s; } .iv-p.is-in .iv-p__tx > :nth-child(n+5) { transition-delay: .24s; }
.iv-p.is-in .iv-sc { transition-delay: .1s; }

/* 크게 보기 */
.iv-lb { position: fixed; inset: 0; z-index: 2100; display: flex; flex-direction: column; background: rgba(2, 6, 23, .94); }
.iv-lb[hidden] { display: none; }
.iv-lb__hd { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: #e2e8f0; font-size: 15px; font-weight: 750; }
.iv-lb__hd span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-lb__hd button { flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; }
.iv-lb__bd { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; padding: 0 12px 16px; }
.iv-lb__bd img { display: block; width: min(1600px, 100%); height: auto; border-radius: 10px; }
.iv-lb.is-big .iv-lb__bd { place-items: start; }
.iv-lb.is-big .iv-lb__bd img { width: 1600px; max-width: none; }
.iv-lb__tip { flex: none; padding: 0 14px 14px; text-align: center; color: #94a3b8; font-size: 13.5px; font-weight: 650; }

/* ── 끝 장 ───────────────────────────────────────── */
.iv-end { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - var(--nav)); min-height: calc(100svh - var(--nav)); display: flex; align-items: center; justify-content: center;
	padding: clamp(48px, 9vh, 110px) clamp(16px, 5vw, 80px); background: #0b1f22; color: #fff; text-align: center; }
.iv-end::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 0%, rgba(20, 184, 166, .32), transparent 70%), radial-gradient(40% 50% at 50% 110%, rgba(56, 189, 248, .18), transparent 70%); }
.iv-end__in { max-width: 860px; }
.iv-end h2 { font-size: clamp(30px, 3.4vw, 54px); line-height: 1.22; font-weight: 850; letter-spacing: -.03em; }
.iv-end h2 em { font-style: normal; color: #5eead4; }
.iv-end p { margin-top: 16px; font-size: clamp(16.5px, 1.2vw, 20px); line-height: 1.7; color: #cbd5e1; }
.iv-end__chain { margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 780px; }
.iv-end__chain a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
	color: #e2e8f0; text-decoration: none; font-size: 14.5px; font-weight: 700; }
.iv-end__chain a:hover { background: rgba(255, 255, 255, .13); }
.iv-end__chain i { color: #5eead4; font-size: 13px; }
.iv-end .iv-op__cta { justify-content: center; margin-top: 34px; }

/* ── 반응 ─────────────────────────────────────────── */
@media (max-width: 1400px) and (min-width: 1180px) {
	.iv-p__in { grid-template-columns: minmax(340px, 1fr) minmax(0, 1.42fr); gap: 32px; }
	.iv-p--flip .iv-p__in { grid-template-columns: minmax(0, 1.42fr) minmax(340px, 1fr); }
	.iv-p { padding-left: 28px; padding-right: 28px; }
}
/* 낮은 화면(노트북 768 · 800 · 864) — 한 장이 한 화면에 들게 글 · 간격을 줄인다 */
@media (min-width: 1180px) and (max-height: 900px) {
	.iv-p { padding-top: 28px; padding-bottom: 28px; }
	.iv-h { margin-top: 10px; font-size: clamp(27px, 2.2vw, 38px); }
	.iv-sub { margin-top: 8px; font-size: 16px; line-height: 1.6; }
	.iv-pts { margin-top: 14px; gap: 6px; }
	.iv-pts li { padding: 9px 13px; }
	.iv-pts li strong { font-size: 16.5px; }
	.iv-pts li small { font-size: 15px; line-height: 1.55; }
	.iv-pts li > b { width: 26px; height: 26px; font-size: 13.5px; }
	.iv-pl__bar { min-height: 48px; padding: 5px 10px; }
	.iv-ba { margin-top: 12px; }
	.iv-ba__r { padding: 7px 14px; }
	.iv-ba dd { font-size: 15.5px; }
	.iv-nx { margin-top: 10px; }
	.iv-nx__d { font-size: 15.5px; }
	.iv-nx__go { margin-top: 8px; min-height: 36px; }
}
@media (max-width: 1179.98px) {
	.iv-op__in { grid-template-columns: 1fr; }
	.iv-p { min-height: 0; padding: 48px 20px 56px; align-items: flex-start; scroll-margin-top: calc(var(--nav) + 52px); }
	.iv-end { scroll-margin-top: calc(var(--nav) + 52px); }
	.iv-p__in, .iv-p--flip .iv-p__in { grid-template-columns: 1fr; gap: 26px; max-width: 860px; }
	.iv-p--flip .iv-p__tx { order: 0; }
}
@media (max-width: 640px) {
	.iv-op { padding: 36px 16px 76px; align-items: flex-start; }
	.iv-op h1 { font-size: 31px; }
	.iv-op__sub { font-size: 16.5px; }
	.iv-op__cta .iv-btn { flex: 1 1 100%; }
	.iv-op__map { grid-template-columns: 1fr; gap: 10px; }
	.iv-act--wide ul { grid-template-columns: 1fr; }
	.iv-p { padding: 36px 16px 44px; }
	.iv-h { font-size: 27px; margin-top: 12px; }
	.iv-sub { font-size: 17px; }
	.iv-pts li { padding: 12px 12px; gap: 10px; }
	.iv-pts li strong { font-size: 17px; }
	.iv-pts li small { font-size: 15.5px; }
	.iv-pl__bar { gap: 8px; min-height: 50px; padding: 6px 8px; }
	.iv-pl__cap { font-size: 15px; gap: 8px; }
	.iv-pl__cap b { width: 24px; height: 24px; font-size: 13px; }
	.iv-pl__pips i { width: 14px; }
	.iv-pl__pp { width: 34px; height: 34px; }
	.iv-zoom span { display: none; }
	.iv-zoom { width: 36px; padding: 0; justify-content: center; }
	.iv-ba__r { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 9px 12px; }
	.iv-ba dd { font-size: 15px; }
	.iv-nx__d { font-size: 15px; }
	.iv-win { border-radius: 12px; }
	.iv-win__bar { height: 28px; padding: 0 10px; gap: 5px; }
	.iv-win__bar i { width: 8px; height: 8px; }
	.iv-win__bar span { font-size: 11px; padding: 2px 8px; margin-left: 6px; }
	.iv-end { padding: 56px 16px; }
	.iv-end__chain a { font-size: 13.5px; padding: 7px 11px; }
	.iv-end .iv-op__cta .iv-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.iv-p .iv-p__tx > *, .iv-p .iv-sc, .iv-dot, .iv-rail, .iv-mbar, .iv-gd, .iv-gd__card, .iv-gd__ptr { transition: none !important; }
	.iv.is-guide .iv-rail { animation: none !important; }
	.iv-op__down, .iv-dot::after, .iv-cur { animation: none !important; }
	.iv-pl__st, .iv-pl__f, .iv-cur, .iv-pts li > span { transition: none !important; }
}
