/* 폭스러닝센터 AI 연구소 공통 스타일 — 멀티페이지 · 3단 타이포 · 모션 시스템 */
@charset "UTF-8";

/* ── 폰트 ───────────────────────────────────── */
/* 제목용: Gmarket Sans — 자체 호스팅(한글 상용 2,350자 서브셋, woff2 우선) */
@font-face {
	font-family: "GmarketSans";
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/GmarketSansMedium.woff2") format("woff2"),
	     url("../fonts/GmarketSansMedium.woff") format("woff");
}
@font-face {
	font-family: "GmarketSans";
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/GmarketSansBold.woff2") format("woff2"),
	     url("../fonts/GmarketSansBold.woff") format("woff");
}

:root {
	/* 색 */
	--spot1: #20c5bc;
	--spot1-dark: #137e78;   /* 본문 대비 4.5:1 확보 (WCAG AA) */
	--spot2: #1d3661;
	--ink: #0e1b33;
	--c-blue: #3194db;
	--c-purple: #8e5bd4;
	--c-yellow: #f5a623;
	--c-red: #e8344e;
	--bg-soft: #f6f8fb;
	--line: #e3e8f0;
	--txt: #2b3445;
	--txt-soft: #414d5c;
	--grad-hero: linear-gradient(180deg, #15366D 0%, #1F1753 70.25%, #3B2057 100%);
	--grad-accent: linear-gradient(92deg, #20c5bc 0%, #3194db 100%);
	--grad-vision: linear-gradient(125deg, #0e5a68 0%, #146b8c 30%, #1f6fb0 55%, #5b5ec7 78%, #8e5bd4 100%);

	/* 타이포 3단 체계 */
	--font-display: "GmarketSans", "Pretendard Variable", sans-serif;   /* 제목 */
	--font-body: "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif; /* 본문 */
	--font-en: "Space Grotesk", "GmarketSans", sans-serif;              /* 숫자·영문 악센트 */

	/* 크기 스케일 (clamp) */
	--fs-hero: clamp(46px, 6.4vw, 84px);
	--fs-h2: clamp(30px, 3.6vw, 46px);
	--fs-h3: clamp(20px, 2.2vw, 25px);
	--fs-lead: clamp(16px, 1.5vw, 19px);
	--fs-body: 16.5px;
	--fs-overline: 13px;

	--header-h: 78px;
	--mn-p: clamp(72px, 9vw, 130px);
	--radius: 20px;
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── 기본 ───────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.7;
	letter-spacing: -0.01em;
	color: var(--txt);
	word-break: keep-all;
	background: #fff;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* 키보드 포커스 표시 (마우스 클릭 시에는 나타나지 않음) */
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
	outline: 3px solid var(--spot1);
	outline-offset: 3px;
	border-radius: 6px;
}
/* 어두운 배경 위에서는 흰색으로 대비 확보 */
:where(.hero, .page-hero, .cta-band, .slogan-band, .survey-modal, .slideshow, .video-modal, .foxsite-footer) :where(a, button, [tabindex]):focus-visible {
	outline-color: #fff;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.pc-only { display: inline; }

::selection { background: rgba(32, 197, 188, .25); }

/* 그라데이션 텍스트 악센트 */
.grad-txt {
	color: var(--spot1-dark);
}

/* ── 스크롤 진행바 ──────────────────────────── */
.scroll-progress {
	position: fixed;
	top: 0; left: 0;
	height: 3px;
	width: 0;
	background: var(--grad-accent);
	z-index: 200;
}

/* ── 헤더 (글래스) ──────────────────────────── */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	height: var(--header-h);
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 8px 30px rgba(14, 27, 51, .07);
}
.site-header .wrap {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.logo a { display: flex; align-items: center; gap: 9px; }
.logo a img.logo-img { height: clamp(30px, 3.6vw, 38px); width: auto; display: block; }
.logo-fox, .logo-ai {
	font-family: var(--font-en);
	font-size: 27px;
	font-weight: 700;
	letter-spacing: .02em;
}
.logo-fox { color: var(--ink); }
.logo-ai { color: var(--spot1); margin-left: -4px; }
.logo-sub {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--txt-soft);
	padding-left: 6px;
	letter-spacing: 0;
}
.site-gnb ul { display: flex; align-items: center; gap: 8px; }
.site-gnb a {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--ink);
	padding: 9px 16px;
	border-radius: 999px;
	white-space: nowrap;
	transition: color .2s, background .2s;
}
.site-gnb a:hover { color: var(--spot1-dark); background: rgba(32, 197, 188, .09); }
.site-gnb a[aria-current="page"] { color: var(--spot1-dark); background: rgba(32, 197, 188, .12); }
.site-gnb .gnb-cta {
	background: var(--ink);
	color: #fff;
	margin-left: 10px;
	padding: 11px 24px;
	border-radius: 12px;
}
.site-gnb .gnb-cta:hover { background: var(--spot1-dark); color: #fff; }
.btn-gnb-open { display: none; }

/* ── 버튼 ───────────────────────────────────── */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-body);
	font-size: 16.5px;
	font-weight: 700;
	padding: 15px 32px;
	border-radius: 14px;
	transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s;
}
.btn .arr { transition: transform .25s var(--ease-out); font-family: var(--font-en); }
.btn:hover .arr { transform: translateX(5px); }
.btn-fill { background: var(--spot1); color: #06251f; box-shadow: 0 10px 26px rgba(32, 197, 188, .35); }
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(32, 197, 188, .45); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--spot1-dark); transform: translateY(-2px); }

/* ── 섹션 공통 ──────────────────────────────── */
main { padding-top: var(--header-h); }
.mn-section { padding: var(--mn-p) 0; overflow: hidden; position: relative; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { text-align: center; }
.overline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-en);
	font-size: var(--fs-overline);
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--spot1-dark);
	margin-bottom: 18px;
}
.overline::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--grad-accent);
}
.sec-head.center .overline::after {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--grad-accent);
}
.sec-tit {
	font-family: var(--font-display);
	font-size: var(--fs-h2);
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: -0.015em;
	color: var(--ink);
}
.sec-desc {
	margin-top: 20px;
	font-size: clamp(17px, 1.6vw, 20px);
	font-weight: 500;
	color: var(--txt-soft);
	line-height: 1.8;
}

/* ── 리빌 모션 ──────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
	transition-delay: var(--d, 0s);
}
.reveal.is-on { opacity: 1; transform: none; }

/* ── 메인 히어로 ────────────────────────────── */
.hero {
	position: relative;
	margin-top: calc(var(--header-h) * -1);
	padding-top: var(--header-h);
	background: var(--grad-hero);
	color: #fff;
	overflow: hidden;
}
/* 떠다니는 질문 (浮問) — 브랜드 시그니처, orb 대체 */
.qfield {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	will-change: transform;
}
.hero > .wrap { position: relative; z-index: 2; }
.qfield .q {
	position: absolute;
	font-family: var(--font-display);
	font-weight: 500;
	white-space: nowrap;
	color: rgba(255, 255, 255, .14);
	animation: q-drift 16s ease-in-out infinite;
	transition: opacity .8s ease;
}
.qfield .q.qt { color: rgba(32, 197, 188, .24); }
.qfield .q.qb { color: rgba(124, 198, 255, .2); }
.qfield .q.qbig { font-size: clamp(56px, 9vw, 140px); font-weight: 700; }
@keyframes q-drift {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-26px); }
}
.hero-cont {
	position: relative;
	display: flex;
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
	padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 100px);
}
.hero-txt { flex: 1.05; }
.hero-catch {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(18px, 2vw, 24px);
	color: rgba(255, 255, 255, .92);
	margin-bottom: 14px;
}
.hero-tit {
	font-family: var(--font-display);
	font-size: var(--fs-hero);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin-bottom: 26px;
}
.hero-tit .grad-txt {
	color: var(--spot1);
	-webkit-text-fill-color: var(--spot1);
}
/* 히어로 텍스트 순차 등장 */
.hero-rise {
	opacity: 0;
	transform: translateY(36px);
	animation: hero-rise 1s var(--ease-out) forwards;
	animation-delay: var(--d, 0s);
}
@keyframes hero-rise { to { opacity: 1; transform: none; } }
.hero-desc {
	font-size: clamp(17px, 1.8vw, 22px);
	font-weight: 500;
	color: rgba(255, 255, 255, .92);
	line-height: 1.85;
	margin-bottom: 24px;
}
.hero-btns { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-btns .btn-fill { box-shadow: none; }
.hero-btns .btn-fill:hover { box-shadow: none; }
.hero-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	padding-bottom: 3px;
	background-image: linear-gradient(rgba(32, 197, 188, .5), rgba(32, 197, 188, .5));
	background-size: 0% 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .35s var(--ease-out);
}
/* 밑줄 위치는 그대로 두고 손가락이 닿는 영역만 위아래로 확장 */
.hero-link::after { content: ""; position: absolute; inset: -13px -6px; }
.hero-link:hover { background-size: 100% 2px; }
.hero-link .arr { transition: transform .25s var(--ease-out); font-family: var(--font-en); }
.hero-link:hover .arr { transform: translateX(4px); }

.hero-img {
	flex: 1;
	max-width: 560px;
	position: relative;
}
.hero-img > figure {
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 34px 80px rgba(0, 0, 0, .45);
	border: 1px solid rgba(255, 255, 255, .18);
}
/* ── 활동 방향 4 (형광 하이라이트 + 인덱스) ───── */
.direction-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.direction-list li {
	position: relative;
	background: color-mix(in srgb, var(--card-c, var(--spot1)) 8%, #fff);
	border: 1px solid color-mix(in srgb, var(--card-c, var(--spot1)) 18%, var(--line));
	border-radius: 20px;
	padding: 34px 28px 30px;
	overflow: hidden;
}
.direction-list .dir-no {
	position: absolute;
	top: 4px; right: 16px;
	font-family: var(--font-en);
	font-size: 70px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px color-mix(in srgb, var(--card-c, var(--spot1)) 26%, transparent);
	margin: 0;
	pointer-events: none;
}
.dir-ico {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px; height: 56px;
	border-radius: 17px 17px 17px 5px;
	background: color-mix(in srgb, var(--card-c, var(--spot1)) 13%, #fff);
	color: var(--card-c, var(--spot1));
	margin-bottom: 24px;
	transition: transform .4s var(--ease-out);
}
.dir-ico svg { width: 30px; height: 30px; }
.direction-list h3 {
	display: inline-block;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: 800;
	color: var(--ink);
	margin-bottom: 12px;
	background-image: linear-gradient(color-mix(in srgb, var(--card-c, var(--spot1)) 34%, transparent), color-mix(in srgb, var(--card-c, var(--spot1)) 34%, transparent));
	background-size: 100% .3em;
	background-position: 0 84%;
	background-repeat: no-repeat;
}
.direction-list p { font-size: 16px; font-weight: 500; color: var(--txt-soft); line-height: 1.72; }
.direction-list li.c-teal { --card-c: var(--spot1); }
.direction-list li.c-blue { --card-c: var(--c-blue); }
.direction-list li.c-purple { --card-c: var(--c-purple); }
.direction-list li.c-yellow { --card-c: var(--c-yellow); }
.dir-dots { display: none; }
/* ── 특징 5 ─────────────────────────────────── */
.sec-feature { background: var(--bg-soft); }
.feature-flex {
	display: flex;
	gap: clamp(36px, 5vw, 72px);
	align-items: flex-start;
}
.feature-flex .sec-head { flex: 0 0 360px; margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 30px); }
.feature-list { flex: 1; }
.feature-list li {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 34px;
	margin-bottom: 14px;
}
.feature-list .num {
	font-family: var(--font-en);
	font-size: 30px;
	font-weight: 700;
	background: var(--grad-accent);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	flex-shrink: 0;
	width: 52px;
}
.feat-tx { display: flex; flex-direction: column; gap: 5px; }
.feature-list h3 {
	font-family: var(--font-display);
	font-size: clamp(17px, 1.8vw, 21px);
	font-weight: 700;
	color: var(--ink);
	line-height: 1.4;
}
.feature-list .feat-tx p {
	font-size: 14.5px;
	font-weight: 400;
	color: var(--txt-soft);
	line-height: 1.6;
}
.feature-photo { margin-top: 26px; }
.feature-photo img {
	border-radius: var(--radius);
	width: 100%;
	max-height: 300px;
	object-fit: cover;
}

/* ── 미리보기 카드 (메인 → 서브페이지) ──────── */
.explore-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 24px;
}
.explore-card {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 2.3;
	color: #fff;
}
.explore-grid .explore-card:first-child {
	grid-row: 1 / 3;
	aspect-ratio: auto;
}
.explore-card img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease-out);
}
.explore-card:hover img { transform: scale(1.07); }
.explore-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(185deg, rgba(14, 27, 51, 0) 30%, rgba(14, 27, 51, .88) 78%);
}
.explore-cont {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 30px 30px 28px;
	z-index: 1;
}
.explore-cont .overline { color: #7ce4dd; margin-bottom: 10px; }
.explore-cont .overline::before { background: var(--spot1); }
.explore-cont h3 {
	font-family: var(--font-display);
	font-size: clamp(21px, 2.2vw, 27px);
	font-weight: 700;
	margin-bottom: 8px;
}
.explore-cont p { font-size: 15px; color: rgba(255, 255, 255, .78); margin-bottom: 18px; }
.explore-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-en);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--spot1);
}
.explore-more .arr { transition: transform .3s var(--ease-out); }
.explore-card:hover .explore-more .arr { transform: translateX(6px); }

/* ── 학부모 FAQ ─────────────────────────────── */
.sec-faq { background: var(--bg-soft); }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	transition: border-color .25s, box-shadow .25s;
}
.faq-list details[open] {
	border-color: color-mix(in srgb, var(--spot1) 45%, transparent);
	box-shadow: 0 14px 34px rgba(14, 27, 51, .08);
}
.faq-list summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 26px;
	font-family: var(--font-display);
	font-size: clamp(16px, 1.7vw, 18.5px);
	font-weight: 500;
	color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-mark {
	position: relative;
	flex-shrink: 0;
	width: 22px; height: 22px;
}
.faq-mark::before, .faq-mark::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	width: 13px; height: 2px;
	border-radius: 2px;
	background: var(--spot1-dark);
	transform: translate(-50%, -50%);
	transition: transform .3s var(--ease-out), opacity .3s;
}
.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-mark::after { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 26px 24px; }
.faq-a p { color: var(--txt-soft); font-size: 15.5px; line-height: 1.78; }

/* ── 슬로건 밴드 ────────────────────────────── */
.slogan-band {
	position: relative;
	overflow: hidden;
	padding: clamp(70px, 9vw, 120px) 0;
	text-align: center;
	background: #0f2148;
}
.slogan-band::before {
	content: "";
	position: absolute;
	inset: -16px;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(17, 44, 92, .86) 0%, rgba(13, 33, 72, .88) 100%),
		image-set(url("../images/slogan-bg.webp") type("image/webp"), url("../images/slogan-bg.jpg") type("image/jpeg")) center/cover no-repeat;
	filter: blur(1.5px);
}
.slogan-band .wrap { position: relative; z-index: 1; }
.slogan-band q {
	quotes: "\201C" "\201D";
	font-family: var(--font-display);
	font-size: clamp(24px, 3.4vw, 42px);
	font-weight: 500;
	line-height: 1.5;
	color: #fff;
}
.slogan-band q strong { font-weight: 700; }

/* ── 서브페이지 히어로 ──────────────────────── */
.page-hero {
	position: relative;
	margin-top: calc(var(--header-h) * -1);
	padding: calc(var(--header-h) + clamp(56px, 7vw, 90px)) 0 clamp(52px, 6vw, 80px);
	background: var(--grad-hero);
	color: #fff;
	overflow: hidden;
}
.page-hero::before { display: none; }
.page-hero .overline { color: #7ce4dd; }
.page-hero .overline::before { background: var(--spot1); }
.page-hero h1 {
	font-family: var(--font-display);
	font-size: clamp(34px, 4.6vw, 58px);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 16px;
}
.page-hero p {
	font-size: var(--fs-lead);
	color: rgba(255, 255, 255, .72);
	max-width: 760px;
}

/* ── PBL 스텝 ───────────────────────────────── */
.step-list {
	max-width: 1080px;
	margin: 0 auto;
	position: relative;
}
.step-list::before {
	content: "";
	position: absolute;
	left: 31px;
	top: 14px; bottom: 14px;
	width: 2px;
	background: linear-gradient(180deg, var(--spot1), var(--c-blue), var(--c-purple));
}
.step-list li {
	position: relative;
	padding: 0 0 20px 96px;
}
.step-list li:last-child { padding-bottom: 0; }
.step-dot {
	position: absolute;
	left: 10px; top: 0;
	width: 44px; height: 44px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-en);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--step-c, var(--spot1));
	box-shadow: 0 10px 22px color-mix(in srgb, var(--step-c, var(--spot1)) 45%, transparent);
}
.step-list li:nth-child(1) { --step-c: #1fb9b0; }
.step-list li:nth-child(2) { --step-c: #25a7c4; }
.step-list li:nth-child(3) { --step-c: #3194db; }
.step-list li:nth-child(4) { --step-c: #5e74d8; }
.step-list li:nth-child(5) { --step-c: #8e5bd4; }
.step-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 40px;
}
.step-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--step-c, var(--spot1)); margin-bottom: 8px; }
.step-card h3 {
	font-family: var(--font-display);
	font-size: clamp(19px, 2vw, 24px);
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 6px;
}
.step-card > p { color: var(--txt-soft); font-size: 15.5px; margin-bottom: 14px; }
.step-tag { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; font-family: var(--font-en); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--step-c, var(--spot1)); }
.step-tag::before { content: ""; width: 14px; height: 2px; background: var(--step-c, var(--spot1)); flex-shrink: 0; }

/* ── 4영역 카드 ─────────────────────────────── */
.sec-area { background: var(--bg-soft); }
.area-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.area-card {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
}
.area-card.c-teal { --card-c: var(--spot1); }
.area-card.c-blue { --card-c: var(--c-blue); }
.area-card.c-purple { --card-c: var(--c-purple); }
.area-card.c-yellow { --card-c: var(--c-yellow); }
.area-card figure { aspect-ratio: 4 / 3; overflow: hidden; }
.area-card figure img { width: 100%; height: 100%; object-fit: cover; }
.area-cont { padding: 26px 26px 30px; flex: 1; }
.area-cont h3 {
	font-family: var(--font-display);
	font-size: 23px;
	font-weight: 700;
	color: var(--card-c);
	margin-bottom: 6px;
}
.area-cont h3 .en {
	font-family: var(--font-en);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .16em;
	vertical-align: 3px;
	margin-left: 6px;
	opacity: .55;
}
.area-cont > p {
	font-size: 14.5px;
	color: var(--txt-soft);
	min-height: 44px;
	margin-bottom: 16px;
}
.area-cont ul li {
	position: relative;
	padding: 8px 0 8px 20px;
	font-size: 15.5px;
	font-weight: 500;
	color: var(--txt);
	border-bottom: 1px dashed var(--line);
}
.area-cont ul li:last-child { border-bottom: none; }
.area-cont ul li::before {
	content: "";
	position: absolute;
	left: 2px; top: 17px;
	width: 7px; height: 7px;
	border-radius: 2.5px;
	background: var(--card-c);
}

/* ── 14가지 활동 표 ─────────────────────────── */
.activity-table-area { overflow-x: auto; }
.activity-table {
	width: 100%;
	min-width: 880px;
	border-collapse: collapse;
	border-top: 3px solid var(--ink);
}
.activity-table th {
	background: var(--bg-soft);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	padding: 16px 12px;
	border-bottom: 1px solid var(--line);
	letter-spacing: .02em;
}
.activity-table td {
	padding: 16px 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
	font-size: 15px;
}
.activity-table tbody tr { transition: background .2s; }
.activity-table tbody tr:hover { background: rgba(32, 197, 188, .045); }
.activity-table .col-no { width: 58px; }
.activity-table .col-target { width: 168px; }
.activity-table .col-name { width: 225px; }
.activity-table .col-photo { width: 178px; }
.activity-table td.no {
	text-align: center;
	font-family: var(--font-en);
	font-weight: 700;
	color: var(--spot1-dark);
	font-size: 17px;
}
.activity-table td.target {
	text-align: center;
	color: var(--txt-soft);
	font-size: 14px;
}
.activity-table td.name {
	font-weight: 700;
	color: var(--ink);
	font-size: 15.5px;
}
.activity-table td.desc { color: var(--txt-soft); }
.activity-table td.photo img {
	width: 158px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
}

/* ── 포스터 ─────────────────────────────────── */
.poster-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.poster-list figure {
	aspect-ratio: 707 / 1000;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid var(--line);
	box-shadow: 0 10px 26px rgba(14, 27, 51, .08);
	transition: transform .35s var(--ease-out), box-shadow .35s;
}
.poster-list li:hover figure {
	transform: translateY(-8px) rotate(-1deg);
	box-shadow: 0 22px 44px rgba(14, 27, 51, .16);
}
.poster-list figure img { width: 100%; height: 100%; object-fit: cover; }
.poster-list p {
	margin-top: 14px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

/* ── 대회 ───────────────────────────────────── */
.comp-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.comp-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	transition: transform .35s var(--ease-out), box-shadow .35s;
}
.comp-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 46px rgba(14, 27, 51, .12);
}
.comp-card figure { width: 44%; min-height: 210px; overflow: hidden; }
.comp-card figure img { width: 100%; height: 100%; object-fit: cover; }
.comp-cont { flex: 1; padding: 32px 30px; }
.comp-view { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--spot1-dark); background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; }
.comp-view + .comp-view { margin-top: 8px; }
.comp-view .arr { transition: transform .25s var(--ease-out); }
.comp-view:hover .arr { transform: translateX(4px); }
.comp-target {
	display: inline-block;
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	color: #06251f;
	background: var(--spot1);
	border-radius: 999px;
	padding: 5px 16px;
	margin-bottom: 14px;
}
.comp-cont h3 {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 10px;
}
.comp-cont p { font-size: 15px; color: var(--txt-soft); }

.award-area {
	display: flex;
	gap: clamp(28px, 4vw, 52px);
	align-items: center;
	margin-top: 64px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(26px, 4vw, 48px);
}
.award-photo { flex: 1; max-width: 500px; }
.award-photo img { border-radius: 14px; }
.award-cont { flex: 1; }
.award-cont h3 {
	font-family: var(--font-display);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 22px;
}
.award-list li {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 15.5px;
}
.award-list li:last-child { border-bottom: none; }
.award-list strong {
	flex-shrink: 0;
	min-width: 225px;
	font-family: var(--font-en);
	font-weight: 700;
	color: var(--spot1-dark);
	letter-spacing: .01em;
}
.award-list span { font-weight: 500; }

.award-detail {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 24px;
	margin-top: 24px;
}
.award-detail article {
	background: var(--bg-soft);
	border-radius: var(--radius);
	padding: 34px;
}
.award-detail h4 {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	color: var(--ink);
	padding-bottom: 14px;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--spot1);
}
.award-detail dt {
	font-weight: 800;
	color: var(--spot1-dark);
	margin-bottom: 4px;
}
.award-detail dd {
	font-size: 15px;
	color: var(--txt-soft);
	margin-bottom: 18px;
}
.award-detail dd:last-child { margin-bottom: 0; }

/* ── 문의 페이지 ────────────────────────────── */
.target-banner {
	text-align: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 40px 28px;
	margin-bottom: 26px;
}
.target-banner h3 {
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--spot1-dark);
	margin-bottom: 12px;
}
.target-banner p { font-size: clamp(17px, 2vw, 21px); margin-bottom: 8px; color: var(--ink); }
.target-banner strong { font-weight: 800; }
.target-banner small { font-size: 14px; color: var(--txt-soft); }
.contact-merge {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 22px;
}
.contact-card {
	flex: 1 1 260px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 40px 26px;
	text-align: center;
	transition: transform .3s var(--ease-out), box-shadow .3s;
}
.contact-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(14, 27, 51, .1);
}
.ct-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px; height: 62px;
	border-radius: 18px;
	background: var(--grad-accent);
	color: #fff;
	margin-bottom: 18px;
}
.ct-ico svg { width: 26px; height: 26px; }
.contact-card h3 {
	font-size: 15px;
	font-weight: 600;
	color: var(--txt-soft);
	margin-bottom: 8px;
}
.contact-card p {
	font-family: var(--font-display);
	font-size: clamp(17px, 1.8vw, 19px);
	font-weight: 700;
	color: var(--ink);
	margin-top: 6px;
}
.contact-card p:first-of-type { margin-top: 0; }
.contact-card p a:hover { color: var(--spot1-dark); }

/* ── CTA 밴드 (페이지 하단 공통) ────────────── */
.cta-band {
	position: relative;
	background: var(--grad-hero);
	color: #fff;
	text-align: center;
	padding: clamp(64px, 8vw, 110px) 0;
	overflow: hidden;
}
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.6px);
	background-size: 32px 32px;
	-webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 80%);
	mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 80%);
}
.cta-band .overline {
	color: #7ce4dd;
	justify-content: center;
}
.cta-band .overline::before, .cta-band .overline::after { background: var(--spot1); }
.cta-band h2 {
	position: relative;
	font-family: var(--font-display);
	font-size: clamp(26px, 3.6vw, 44px);
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 18px;
}
.cta-band > .wrap > p {
	position: relative;
	color: rgba(255, 255, 255, .72);
	margin-bottom: 38px;
	font-size: var(--fs-lead);
}
.cta-btns {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

/* ── 푸터 ───────────────────────────────────── */
.foxsite-footer {
	background: #0b1322;
	color: rgba(255, 255, 255, .55);
	padding: 56px 0;
	font-size: 14px;
	line-height: 1.8;
}
.foxsite-footer .wrap {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
}
.foxsite-footer dl { margin-bottom: 14px; }
.foxsite-footer dt {
	font-weight: 700;
	color: rgba(255, 255, 255, .85);
	margin-top: 12px;
}
.foxsite-footer dt:first-child { margin-top: 0; }
.foxsite-footer address p { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foxsite-footer .copyright {
	margin-top: 20px;
	font-family: var(--font-en);
	font-size: 12px;
	letter-spacing: .06em;
	color: rgba(255, 255, 255, .35);
}
.foxsite-footer-logo { flex-shrink: 0; }
.footer-logo-img { height: 90px; width: auto; display: block; }
.foxsite-footer-logo .logo-fox { color: rgba(255, 255, 255, .9); font-size: 24px; }
.foxsite-footer-logo .logo-ai { font-size: 24px; }

/* ── 모션 줄이기 설정 존중 ──────────────────── */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
	.hero-rise { opacity: 1; transform: none; animation: none; }
}

/* ── 반응형: 태블릿 ─────────────────────────── */
@media (max-width: 1279px) {
	:root { --header-h: 64px; }
	.direction-list, .area-grid { grid-template-columns: repeat(2, 1fr); }
	.explore-grid { grid-template-columns: 1fr; }
	.explore-card { aspect-ratio: 16 / 8; }
	.explore-grid .explore-card:first-child { grid-row: auto; aspect-ratio: 16 / 8; }
	.poster-list { grid-template-columns: repeat(3, 1fr); }
	.feature-flex { flex-direction: column; }
	.feature-flex .sec-head { position: static; flex: none; }
	.award-area { flex-direction: column; align-items: stretch; }
	.award-photo { max-width: 100%; }
	.award-detail { grid-template-columns: 1fr; }
	.hero-cont { flex-direction: column; text-align: center; }
	.hero-btns { justify-content: center; }
	.hero-img { max-width: 640px; width: 100%; }
}

/* ── 반응형: 헤더 모바일 메뉴 ───────────────── */
@media (max-width: 1023px) {
	.logo-sub { display: none; }
	.btn-gnb-open {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px; height: 44px;
		padding: 10px;
		touch-action: manipulation;
		background: none;
		border: none;
		cursor: pointer;
	}
	.btn-gnb-open span {
		display: block;
		height: 2px;
		background: var(--ink);
		border-radius: 2px;
		transition: transform .3s var(--ease-out), opacity .2s;
	}
	body.gnb-opened .btn-gnb-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	body.gnb-opened .btn-gnb-open span:nth-child(2) { opacity: 0; }
	body.gnb-opened .btn-gnb-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.site-gnb {
		display: none;
		position: absolute;
		top: var(--header-h);
		left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px rgba(14, 27, 51, .1);
	}
	body.gnb-opened .site-gnb { display: block; }
	.site-gnb ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0; }
	.site-gnb li a { display: block; padding: 14px 28px; border-radius: 0; }
	.site-gnb .gnb-cta { margin: 12px 28px; text-align: center; border-radius: 12px; }
}

/* ── 반응형: 모바일 ─────────────────────────── */
@media (max-width: 767px) {
	body { font-size: 15.5px; }
	.pc-only { display: none; }

	.hero-cont { padding-top: 48px; }

	.direction-list {
		display: flex;
		grid-template-columns: none;
		gap: 28px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 28px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin: 0 -28px;
		padding: 4px 28px 10px;
	}
	.direction-list::-webkit-scrollbar { display: none; }
	.direction-list li { flex: 0 0 100%; scroll-snap-align: start; }
	/* 점은 작게 보이되 손가락이 닿는 영역은 44px 확보 */
	.dir-dots { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: -8px; }
	.dir-dots button { width: 30px; height: 44px; display: grid; place-items: center; background: none; border: none; padding: 0; cursor: pointer; touch-action: manipulation; }
	.dir-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: width .25s var(--ease-out), background .25s var(--ease-out), border-radius .25s var(--ease-out); }
	.dir-dots button.is-active::before { width: 22px; border-radius: 4px; background: var(--spot1); }
	.feature-list li { padding: 20px 22px; }
	.feature-list .num { width: 44px; font-size: 24px; }
	.explore-card { aspect-ratio: 4 / 3.6; }
	.explore-cont { padding: 24px 24px 22px; }

	.step-list::before { left: 25px; }
	.step-list li { padding-left: 70px; }
	.step-dot { left: 4px; width: 40px; height: 40px; font-size: 14px; }
	.step-card { padding: 22px 24px; }
	.step-card.has-photo { flex-direction: column; gap: 18px; }
	.step-photo { flex: none; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; }

	.area-grid { grid-template-columns: 1fr; }
	.area-cont > p { min-height: auto; }

	.comp-grid { grid-template-columns: 1fr; }
	.comp-card { flex-direction: column; }
	.comp-card figure { width: 100%; }
	.comp-card figure img { max-height: 220px; }

	.award-area { padding: 22px; }
	.award-list li { flex-direction: column; gap: 2px; }
	.award-list strong { min-width: auto; }

	.poster-list { grid-template-columns: repeat(2, 1fr); }

	.foxsite-footer .wrap { flex-direction: column; }

	.faq-list summary { padding: 18px 20px; font-size: 16px; }
	.faq-a { padding: 0 20px 20px; }

	/* 활동 표 → 카드형 변환 */
	.activity-table-area { overflow-x: visible; }
	.activity-table { min-width: 0; border-top: none; }
	.activity-table colgroup, .activity-table thead { display: none; }
	.activity-table, .activity-table tbody { display: block; }
	.activity-table tr {
		position: relative;
		display: flex;
		flex-direction: column;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		margin-bottom: 18px;
		overflow: hidden;
		box-shadow: 0 8px 22px rgba(14, 27, 51, .06);
	}
	.activity-table td { display: block; border-bottom: none; padding: 0 22px; }
	.activity-table td.photo { order: -1; padding: 0; }
	.activity-table td.photo img {
		width: 100%;
		aspect-ratio: 16 / 9;
		border-radius: 0;
	}
	.activity-table td.no {
		position: absolute;
		top: 12px; left: 12px;
		width: 38px; height: 38px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--spot1);
		color: #06251f;
		border-radius: 12px;
		font-size: 16px;
	}
	.activity-table td.target { padding-top: 18px; text-align: left; font-size: 13.5px; }
	.activity-table td.target br { display: none; }
	.activity-table td.name { font-size: 18px; padding-top: 2px; }
	.activity-table td.name br { display: none; }
	.activity-table td.desc { padding-bottom: 22px; }
}

/* ── 포스터 라이트박스 ───────────────────────── */
.poster-list figure { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 5vw, 56px); background: rgba(8, 16, 24, .93); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox .lb-img { max-width: min(92vw, 620px); max-height: 90vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); transform: scale(.96); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.lightbox.is-open .lb-img { transform: scale(1); }
.lb-close { position: absolute; top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 32px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.lb-close:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }
/* ── 향후 도전 대회 카드 ───────────────────────── */
.future-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 18px; }
.future-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; }
.future-area { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--spot1); background: rgba(32, 197, 188, .12); padding: 5px 12px; border-radius: 99px; margin-bottom: 15px; }
.future-area.c-create { color: #c98a12; background: rgba(245, 176, 39, .15); }
.future-card h3 { font-family: var(--font-display); font-size: 17.5px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 9px; }
.future-card p { font-size: 14px; color: var(--txt-soft); line-height: 1.65; }

/* ── PBL 단계 역량 블록 (라벨 + 설명) ─────────── */
.step-skill { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.step-skill .step-tag { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; font-family: var(--font-en); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--step-c, var(--spot1)); }
.step-tag::before { content: ""; width: 14px; height: 2px; background: var(--step-c, var(--spot1)); flex-shrink: 0; }
.step-skill > p { font-size: 13.5px; color: var(--txt-soft); line-height: 1.6; margin: 0; }
/* ── 강조: PBL 도입 + 단계 본문 형광밑줄 ─────── */
.page-hero .hl-pbl { color: #8ff0e6; font-weight: 800; }
.step-card p .hl { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 56%, color-mix(in srgb, var(--step-c, var(--spot1)) 32%, transparent) 56%); padding: 0 2px; border-radius: 2px; }
/* ── PBL 단계 사진 슬롯 (계획·조사·모델제작) ──── */
.step-card.has-photo { display: flex; align-items: center; gap: clamp(28px, 4.5vw, 48px); }
.step-card.has-photo .step-body { flex: 1; min-width: 0; }
.step-photo { flex: 0 0 clamp(220px, 36vw, 360px); aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.step-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ── 미래 비전 흐름 ───────────────────────────── */
.vision-sec { background: #fff; padding: var(--mn-p) 0; overflow: hidden; }
.vision-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.vision-head { text-align: left; }
.vision-head .overline { color: var(--spot1-dark); justify-content: flex-start; }
.vision-head .overline::before { background: var(--grad-accent); }
.vision-head .sec-tit { color: var(--ink); }
.vision-desc { margin-top: 22px; font-size: var(--fs-lead); color: var(--txt-soft); line-height: 1.85; }
.vision-flow { position: relative; width: 100%; height: clamp(320px, 40vw, 420px); overflow: hidden; }
.vision-flow::before, .vision-flow::after { content: ""; position: absolute; left: 0; right: 0; height: 34%; z-index: 2; pointer-events: none; }
.vision-flow::before { top: 0; background: linear-gradient(#fff, transparent); }
.vision-flow::after { bottom: 0; background: linear-gradient(transparent, #fff); }
.vision-hl { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100%; height: 78px; border: 1.5px solid var(--spot1); border-radius: 16px; pointer-events: none; z-index: 1; }
.vision-track { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.vision-track li { list-style: none; height: 78px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2.1vw, 26px); color: var(--ink); opacity: .3; padding: 0 20px; }
@media (prefers-reduced-motion: reduce) { .vision-track { transition: none; } }

@media (max-width: 860px) {
	.vision-grid { grid-template-columns: 1fr; gap: 28px; }
	.vision-head { text-align: center; }
	.vision-head .overline { justify-content: center; }
	.vision-flow { height: clamp(300px, 62vw, 360px); }
	.vision-hl { width: min(96%, 520px); }
}
/* ── 대회 준비 과정 슬라이드쇼 ──────────────────── */
.slideshow { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3vw, 28px); padding: clamp(16px, 4vw, 40px); background: rgba(8, 16, 24, .93); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.slideshow.is-open { opacity: 1; visibility: visible; }
.ss-stage { position: relative; max-width: 720px; width: 100%; text-align: center; }
.ss-img { width: 100%; max-height: 68vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); background: #0c1620; }
.ss-caption { margin-top: 20px; color: rgba(255, 255, 255, .88); font-size: 16px; font-weight: 500; line-height: 1.7; min-height: 1.7em; }
.ss-dots { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 18px; }
.ss-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .3); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.ss-dots button.is-active { background: var(--spot1); transform: scale(1.3); }
.ss-nav { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.ss-nav:hover { background: rgba(255, 255, 255, .18); }
.ss-prev:hover { transform: translateX(-3px); }
.ss-next:hover { transform: translateX(3px); }
.ss-close { position: absolute; top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 32px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; z-index: 2; }
.ss-close:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }
@media (max-width: 640px) {
	.slideshow { gap: 6px; }
	.ss-nav { width: 38px; height: 38px; font-size: 20px; }
}

/* ── 우리 아이에게 맞는 프로그램 찾기 설문 팝업 ──────────────────── */
.survey-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 5vw, 56px); background: rgba(8, 16, 24, .93); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.survey-modal.is-open { opacity: 1; visibility: visible; }
.survey-panel { position: relative; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; background: var(--grad-hero); border-radius: 24px; padding: clamp(32px, 6vw, 56px); color: #fff; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); transform: scale(.94) translateY(16px); transition: transform .4s var(--ease-out); }
.survey-modal.is-open .survey-panel { transform: scale(1) translateY(0); }
.survey-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.survey-close:hover { background: rgba(255, 255, 255, .18); }
.survey-prog { height: 4px; background: rgba(255, 255, 255, .12); border-radius: 99px; overflow: hidden; margin-bottom: clamp(28px, 5vw, 44px); }
.survey-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--spot1-dark), var(--spot1)); border-radius: 99px; transition: width .55s var(--ease-out); }
.survey-steps { position: relative; }
.survey-step { display: none; opacity: 0; transform: translateY(20px); transition: opacity .45s, transform .45s var(--ease-out); }
.survey-step.is-active { display: block; }
.survey-step.is-shown { opacity: 1; transform: none; }
.survey-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #7ce4dd; margin-bottom: 18px; }
.survey-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--spot1); }
.survey-step h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.6vw, 32px); line-height: 1.32; letter-spacing: -.02em; margin-bottom: 14px; }
.survey-sub { font-size: 15px; color: rgba(255, 255, 255, .62); line-height: 1.8; margin-bottom: 30px; max-width: 30em; }
.survey-qnum { display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: 13.5px; color: var(--spot1); letter-spacing: .1em; margin-bottom: 12px; }
.survey-opts { display: flex; flex-direction: column; gap: 12px; }
.survey-opt { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 19px 21px; font-family: inherit; transition: transform .25s var(--ease-out), border-color .25s, background .25s; }
.survey-opt:hover { transform: translateY(-3px); border-color: rgba(32, 197, 188, .55); background: rgba(32, 197, 188, .07); }
.survey-opt .tx b { display: block; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 3px; }
.survey-opt .tx em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .52); }
.survey-opt .arr { margin-left: auto; flex-shrink: 0; color: rgba(255, 255, 255, .28); font-size: 18px; transition: transform .25s, color .25s; }
.survey-opt:hover .arr { transform: translateX(4px); color: var(--spot1); }
.survey-opt .chk { margin-left: auto; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); color: transparent; font-size: 13px; line-height: 19px; text-align: center; transition: all .2s; }
.survey-opt.is-selected { border-color: var(--spot1); background: rgba(32, 197, 188, .12); }
.survey-opt.is-selected .chk { background: var(--spot1); border-color: var(--spot1); color: #06251f; }
.survey-opt:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.survey-opt:disabled:hover { transform: none; border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.survey-step h3 small { display: block; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .5); margin-top: 4px; }
.survey-next { margin-top: 20px; }
.survey-next[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.survey-result .survey-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(32, 197, 188, .13); color: #7ce4dd; font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 99px; margin-bottom: 20px; }
.survey-result h3 em { font-style: normal; color: var(--spot1); }
.survey-rdesc { font-size: 15px; color: rgba(255, 255, 255, .64); line-height: 1.85; margin-bottom: 16px; }
.survey-rfox { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-left: 3px solid var(--spot1); border-radius: 12px; padding: 16px 20px; font-size: 14.5px; color: rgba(255, 255, 255, .82); line-height: 1.72; margin-bottom: 28px; }
.survey-rbtns { display: flex; gap: 12px; flex-wrap: wrap; }
.survey-restart { display: block; margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .4); background: none; border: none; cursor: pointer; font-family: inherit; }
.survey-restart:hover { color: rgba(255, 255, 255, .7); }
@media (max-width: 560px) {
	.survey-opt .tx em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.survey-step, .survey-panel { transition: none !important; }
}

/* ── 관련 영상 팝업 ──────────────────── */
.video-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 5vw, 56px); background: rgba(8, 16, 24, .93); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-frame { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transform: scale(.96); transition: transform .35s var(--ease-out); }
.video-modal.is-open .video-frame { transform: scale(1); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 32px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; z-index: 2; }
.video-close:hover { background: rgba(255, 255, 255, .18); transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
	.video-frame { transition: none !important; }
}

/* ── 오시는 길 지도 ──────────────────── */
.map-card { flex: 2 1 420px; display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-frame { position: relative; flex: 1 1 260px; min-height: 320px; display: block; overflow: hidden; }
.map-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease-out); }
.map-frame:hover img { transform: scale(1.04); }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); width: 34px; height: 34px; color: var(--spot1); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45)); pointer-events: none; }
.map-pin svg { width: 100%; height: 100%; }
.map-info { flex: 1 1 280px; padding: 32px 30px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.map-info p { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.map-info .btn { align-self: flex-start; }
@media (max-width: 640px) {
	.map-frame { min-height: 240px; }
}

/* ── 배우는 방법: 5단계 학습 여정 애니메이션 ──────── */
.flow-sec { padding-bottom: clamp(30px, 4vw, 48px); }
.flow-map { --node: 56px; position: relative; max-width: 860px; margin: 6px auto 0; padding: 0 6px; }
.flow-track { position: absolute; left: 10%; right: 10%; top: calc(var(--node) / 2); height: 4px; transform: translateY(-50%); background: var(--line); border-radius: 99px; overflow: hidden; }
.flow-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1fb9b0, #3194db, #8e5bd4); border-radius: 99px; transition: width .55s var(--ease-out); }
.flow-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; list-style: none; }
.flow-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow-node { width: var(--node); height: var(--node); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 700; font-size: 19px; color: var(--txt-soft); background: #fff; border: 2px solid var(--line); transition: color .4s, background .4s, border-color .4s, transform .4s var(--ease-out), box-shadow .4s; }
.flow-steps li b { margin-top: 13px; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; transition: color .35s; }
.flow-steps li em { font-style: normal; font-size: 12px; color: var(--txt-soft); margin-top: 3px; }
.flow-steps li.is-on .flow-node { color: #fff; background: var(--fc); border-color: var(--fc); transform: scale(1.1); box-shadow: 0 10px 24px color-mix(in srgb, var(--fc) 42%, transparent); }
.flow-steps li.is-on b { color: var(--fc); }
@media (max-width: 767px) {
	.flow-map { --node: 44px; }
	.flow-node { font-size: 15px; }
	.flow-steps { gap: 4px; }
	.flow-steps li b { font-size: 12.5px; margin-top: 9px; }
	.flow-steps li em { display: none; }
}
