/* 넥스트 IT 교육센터 */
:root {
  --navy: #0d2340; --navy-2: #14335c; --blue: #3f63c8; --blue-soft: #e9eefb;
  --red: #d93a2b; --yellow: #f0b429; --green: #2e9e5b;
  --ink: #16202e; --text: #3a4657; --muted: #6b7686; --line: #e3e7ee;
  --bg: #ffffff; --tint: #f5f7fb; --radius: 16px;
  --shadow: 0 1px 2px rgba(13, 35, 64, .06), 0 8px 24px rgba(13, 35, 64, .07);
  --shadow-lg: 0 2px 4px rgba(13, 35, 64, .08), 0 18px 40px rgba(13, 35, 64, .14);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ── 머리 메뉴 ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #fff; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 44px; height: 20px; flex: none; }
.brand__mark path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a { color: rgba(255, 255, 255, .86); font-size: 14.5px; font-weight: 600; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.nav__menu a:hover { color: #fff; background: rgba(255, 255, 255, .12); text-decoration: none; }
.nav__menu a.is-on { color: #fff; background: rgba(255, 255, 255, .16); }
.nav__menu .nav__sns { border: 1px solid rgba(255, 255, 255, .4); margin-left: 6px; }
.nav.is-stuck { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(13, 35, 64, .06); }
.nav.is-stuck .brand { color: var(--navy); }
.nav.is-stuck .nav__menu a { color: var(--text); }
.nav.is-stuck .nav__menu a:hover { background: var(--tint); color: var(--navy); }
.nav.is-stuck .nav__menu a.is-on { background: var(--blue-soft); color: var(--blue); }
.nav.is-stuck .nav__menu .nav__sns { border-color: var(--line); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 10px; }
.nav__toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; }
.nav.is-stuck .nav__toggle span { background: var(--navy); }

/* ── 첫 화면 ── */
.hero { position: relative; color: #fff; padding: 132px 0 0; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #26509a 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, #1b3f7a 0%, transparent 60%), linear-gradient(160deg, #0a1b33 0%, #0d2340 55%, #112d55 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero__code { position: absolute; right: -40px; bottom: 60px; margin: 0; font: 500 15px/1.9 Consolas, "D2Coding", monospace; color: rgba(160, 190, 255, .13); white-space: pre; transform: rotate(-4deg); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: center; min-height: 380px; }
.hero__eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .04em; color: #ffd98a; background: rgba(240, 180, 41, .14); border: 1px solid rgba(240, 180, 41, .35); padding: 5px 14px; border-radius: 999px; }
.hero__slides { display: grid; margin-top: 22px; }
.hero__slide { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; pointer-events: none; }
.hero__slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero__lead { font-size: clamp(17px, 2vw, 21px); color: rgba(255, 255, 255, .8); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; margin: 8px 0 12px; letter-spacing: -.03em; }
.hero__sub { font-size: clamp(16px, 1.8vw, 19px); color: rgba(255, 255, 255, .74); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__dots { display: flex; gap: 8px; margin-top: 28px; }
.hero__dots button { width: 28px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .28); transition: .3s; }
.hero__dots button.is-on { width: 48px; background: var(--yellow); }
.hero__card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); border-radius: 22px; padding: 30px 30px 28px; }
.hero__card-top { color: #ffd98a; font-weight: 700; }
.hero__card h2 { color: #fff; font-size: 26px; font-weight: 800; margin-top: 2px; }
.hero__card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .18); margin: 18px 0; }
.hero__card p { color: rgba(255, 255, 255, .84); }
.badge { display: flex; align-items: center; gap: 14px; margin-top: 18px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; }
.badge img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.badge strong { display: block; font-size: 16px; color: var(--navy); }
.badge span { font-size: 14px; color: var(--muted); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .18); }
.stats li { padding: 26px 20px 24px; text-align: center; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stats b i { font-style: normal; }
.stats b small { font-size: .48em; font-weight: 700; color: var(--blue); }
.stats span { font-size: 14.5px; color: var(--muted); }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 16px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(63, 99, 200, .35); }
.btn--primary:hover { background: #3557b8; }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--line { color: var(--navy); border: 1.5px solid #c9d1de; background: #fff; }
.link { color: var(--blue); font-weight: 700; padding: 6px 0; }
.link:hover { text-decoration: underline; }

/* ── 구역 공통 ── */
.sec { padding: 96px 0; }
.sec--tint { background: var(--tint); }
.sec--dark { background: linear-gradient(170deg, #0a1b33, #0d2340 60%, #112d55); color: rgba(255, 255, 255, .82); }
.sec--dark h2, .sec--dark h3, .sec--dark h4 { color: #fff; }
.sec__eyebrow { text-align: center; font-weight: 800; font-size: 13px; letter-spacing: .18em; color: var(--blue); }
.sec--dark .sec__eyebrow { color: var(--yellow); }
.sec__title { text-align: center; font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; margin-top: 8px; }
.sec__desc { max-width: 760px; margin: 16px auto 0; text-align: center; font-size: 17px; color: var(--muted); }
.sec--dark .sec__desc { color: rgba(255, 255, 255, .7); }
.sub { font-size: 22px; font-weight: 800; margin: 64px 0 20px; display: flex; align-items: center; gap: 10px; }
.sub::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); transform: rotate(45deg); flex: none; }
.sec--dark .sub::before { background: var(--yellow); }
.sub__desc { margin: -10px 0 20px; color: rgba(255, 255, 255, .7); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── 교육과정 ── */
.notice { display: flex; gap: 12px; align-items: center; max-width: 760px; margin: 28px auto 0; padding: 12px 18px; background: #fff7e6; border: 1px solid #f6dca0; border-radius: 12px; color: #6b4a00; font-size: 15px; }
.notice strong { flex: none; background: var(--yellow); color: #3d2a00; border-radius: 6px; padding: 1px 9px; font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s, opacity .6s; overflow: hidden; }
.card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--c); opacity: .09; transition: .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 40%, #fff); }
.card:hover::before { transform: scale(1.5); opacity: .13; }
.card__top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card__badge { background: var(--c); color: #fff; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.card__kind { color: var(--c); font-size: 13.5px; font-weight: 700; }
.card h3 { font-size: 19px; font-weight: 800; margin: 14px 0 12px; min-height: 2.6em; }
.card ul { flex: 1; display: grid; gap: 6px; align-content: start; margin-bottom: 14px; }
.card li { position: relative; padding-left: 18px; font-size: 15px; }
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.card .link { align-self: flex-start; color: var(--c); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

/* ── 교육일정 ── */
.tabs { display: flex; justify-content: center; gap: 6px; margin: 32px auto 20px; background: #e6eaf2; padding: 5px; border-radius: 14px; width: fit-content; }
.tab { padding: 9px 22px; border-radius: 10px; font-weight: 700; color: var(--muted); }
.tab.is-on { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.tablewrap { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
.sched th, .sched td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.sched thead th { background: var(--navy); color: #fff; font-size: 14.5px; font-weight: 700; border: 0; }
.sched tbody tr:last-child td { border-bottom: 0; }
.sched tbody tr:hover { background: #f8faff; }
.sched__date { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.st { display: inline-block; white-space: nowrap; font-size: 13px; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.st--now { background: #e3f6ea; color: #17733d; }
.st--soon { background: var(--blue-soft); color: var(--blue); }
.st--done { background: #eef0f4; color: #7a8494; }

/* ── 교육내용 ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.steps > li { position: relative; padding: 26px 22px 24px; border-left: 1px solid var(--line); }
.steps > li:first-child { border-left: 0; }
.steps > li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; }
.steps > li:nth-child(1)::after { background: #8dc63f; } .steps > li:nth-child(2)::after { background: #1aa5b8; }
.steps > li:nth-child(3)::after { background: var(--yellow); } .steps > li:nth-child(4)::after { background: #f0699a; }
.steps__no { font-weight: 800; font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.steps h4 { font-size: 21px; font-weight: 800; margin-top: 4px; }
.steps__tag { color: var(--blue); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.steps ul li { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.5; margin-top: 6px; }
.steps ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: #b9c2d0; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.spec__cat { font-size: 14px; color: var(--muted); margin-top: 12px; }
.spec h4 { font-size: 18px; font-weight: 800; margin: 2px 0 12px; }
.chip { display: inline-block; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.chip--blue { background: var(--blue-soft); color: var(--blue); } .chip--red { background: #fdeceb; color: var(--red); } .chip--green { background: #e3f6ea; color: #17733d; }

/* ── AI 교육 ── */
.charts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.charts figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 12px 12px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.charts img { width: 100%; border-radius: 8px; cursor: zoom-in; }
.charts figcaption { text-align: center; font-size: 14px; color: var(--text); margin-top: 8px; }
.charts figcaption b { display: block; color: var(--blue); font-size: 15.5px; }
.history { display: grid; gap: 10px; }
.history li { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 13px 18px; }
.history b { font-size: 22px; font-weight: 800; color: var(--yellow); font-variant-numeric: tabular-nums; }
.history div { display: grid; gap: 3px; }
.history span { color: #fff; font-weight: 600; }
.work th, .work td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); color: var(--text); }
.work thead th { background: var(--blue); color: #fff; border: 0; font-size: 14.5px; white-space: nowrap; }
.work tbody th { color: var(--navy); font-weight: 800; }
.work tbody tr:last-child > * { border-bottom: 0; }
.work__lv { color: var(--red); white-space: nowrap; letter-spacing: 2px; font-size: 17px; }
.work__lv i { font-style: normal; color: #d5dae3; }
.pill { display: inline-block; background: var(--blue-soft); color: var(--blue); font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 2px 11px; margin: 2px 4px 2px 0; white-space: nowrap; }

/* ── 연혁 · 실적 ── */
.record { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-top: 40px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 20px; box-shadow: var(--shadow); }
.panel h3 { font-size: 18px; font-weight: 800; }
.panel h3 small { font-weight: 600; color: var(--muted); font-size: 14px; }
.panel__note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.bars { display: flex; align-items: flex-end; gap: clamp(8px, 2vw, 22px); height: 230px; margin-top: 18px; padding-top: 26px; border-bottom: 2px solid var(--line); }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar span { display: block; width: min(46px, 100%); height: 0; background: linear-gradient(180deg, #5f82e6, var(--blue)); border-radius: 8px 8px 0 0; transition: height 1s cubic-bezier(.2, .8, .2, 1); }
.bars.is-in .bar span { height: var(--h); }
.bars--sat .bar span { background: linear-gradient(180deg, #ffd166, var(--yellow)); }
.bar em { font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--navy); margin-bottom: 5px; font-variant-numeric: tabular-nums; }
.bar b { position: absolute; bottom: -28px; font-size: 13.5px; color: var(--text); }
.bar small { position: absolute; bottom: -46px; font-size: 12px; color: var(--muted); }
.panel .bars { margin-bottom: 50px; }
.panel .bars--sat { margin-bottom: 32px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.timeline li { background: var(--tint); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.timeline li > b { display: inline-block; font-size: 24px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.timeline ul li { position: relative; padding-left: 14px; font-size: 14.5px; margin-top: 5px; line-height: 1.5; }
.timeline ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: #b9c2d0; }
.timeline__rate { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #cfd6e2; font-size: 14.5px; color: var(--ink); }
.timeline__rate strong { color: var(--red); font-size: 17px; }

/* ── 교직원 ── */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 26px; margin-top: 44px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px 28px; text-align: center; box-shadow: var(--shadow); }
.member__photo { position: relative; width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--navy)); display: grid; place-items: center; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line); }
.member__photo::before { content: attr(data-initial); color: #fff; font-size: 44px; font-weight: 800; }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 22px; font-weight: 800; }
.member__role { color: var(--blue); font-weight: 700; margin-top: 2px; }
.member__career { display: inline-block; margin: 10px 0 16px; padding: 3px 14px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 600; }
.member ul { text-align: left; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 7px; }
.member li { position: relative; padding-left: 16px; font-size: 15px; }
.member li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.team__note { max-width: 720px; margin: 36px auto 0; text-align: center; color: var(--muted); font-size: 15.5px; }

/* ── 취업지원 ── */
.bridge { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 44px; }
.bridge span { display: grid; place-items: center; font-weight: 800; color: #fff; border-radius: 50%; }
.bridge__side { width: 104px; height: 104px; background: #8a94a6; font-size: 18px; }
.bridge__side:last-child { background: #7a5ac8; }
.bridge__mid { width: 152px; height: 152px; background: linear-gradient(135deg, var(--blue), var(--navy)); font-size: 22px; box-shadow: 0 14px 32px rgba(63, 99, 200, .35); }
.bridge__line { width: clamp(24px, 8vw, 90px); height: 0 !important; border-top: 3px dashed #b9c2d0; border-radius: 0 !important; }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 10px 18px; text-align: center; font-weight: 700; color: var(--ink); font-size: 15.5px; line-height: 1.45; box-shadow: var(--shadow); }
.flow li span { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 10px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.flow li:not(:last-child)::after { content: "›"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #9aa5b8; z-index: 1; }
.fields { display: flex; flex-wrap: wrap; gap: 10px; }
.fields span { padding: 9px 20px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.fields .is-main { background: var(--navy); color: #fff; }
.fields__note { margin-top: 14px; color: var(--muted); }
.callout { margin-top: 40px; padding: 20px 24px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--ink); }
.callout a { font-weight: 800; white-space: nowrap; }

/* ── 활동 · 시설 ── */
.gallery, .rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.gallery__item, .rooms figure { position: relative; margin: 0; padding: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dfe4ec; aspect-ratio: 4 / 3; }
.gallery__item { cursor: zoom-in; }
.gallery__item img, .rooms img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rooms img { cursor: zoom-in; }
.gallery__item:hover img, .rooms figure:hover img { transform: scale(1.06); }
.gallery__item span, .rooms figcaption { position: absolute; inset: auto 0 0 0; padding: 34px 16px 12px; color: #fff; font-weight: 700; text-align: left; background: linear-gradient(transparent, rgba(8, 20, 40, .82)); pointer-events: none; }
.gallery__empty { text-align: center; margin-top: 26px; color: var(--muted); }

/* ── 센터소개 ── */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.why article { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 30px; box-shadow: var(--shadow); }
.why article.is-dark { background: linear-gradient(160deg, #0d2340, #17396b); border: 0; color: rgba(255, 255, 255, .86); }
.why h3 { font-size: 23px; font-weight: 800; margin-bottom: 18px; }
.why .is-dark h3 { color: #fff; }
.why q { color: var(--blue); quotes: "“" "”"; }
.why .is-dark q { color: var(--yellow); }
.why li { position: relative; padding-left: 30px; margin-top: 12px; }
.why li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 800; }
.why .is-dark li::before { background: rgba(240, 180, 41, .2); color: var(--yellow); }

/* ── 사업분야 ── */
.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.biz article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.biz__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c); color: #fff; font-weight: 800; font-size: 24px; }
.biz h3 { font-size: 20px; font-weight: 800; margin: 16px 0 10px; }
.biz li { position: relative; padding-left: 16px; margin-top: 6px; font-size: 15.5px; }
.biz li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #b9c2d0; }

/* ── 오시는 길 ── */
.loc { display: grid; grid-template-columns: .9fr 1.4fr; gap: 24px; margin-top: 44px; align-items: stretch; }
.loc__info { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 30px; box-shadow: var(--shadow); }
.loc__info h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.loc dl { display: grid; grid-template-columns: 70px 1fr; gap: 8px 0; margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.loc dt { font-weight: 700; color: var(--muted); } .loc dd { margin: 0; font-weight: 600; color: var(--ink); }
.loc__map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); min-height: 360px; background: #dfe4ec; }
.loc__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ── 바닥 ── */
.foot { background: #081527; color: rgba(255, 255, 255, .66); padding: 36px 0; font-size: 14.5px; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1.3fr auto; gap: 24px; align-items: center; }
.foot strong { color: #fff; font-size: 16px; }
.foot a { color: rgba(255, 255, 255, .86); }

/* ── 상세 창 ── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8, 20, 40, .62); backdrop-filter: blur(3px); animation: fade .2s; }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(820px, 100%); max-height: min(88vh, 900px); overflow: auto; background: #fff; border-radius: 22px; padding: 38px 38px 32px; box-shadow: var(--shadow-lg); animation: pop .25s; }
.modal__x { position: sticky; float: right; top: 0; width: 40px; height: 40px; margin: -14px -14px 0 0; border-radius: 50%; background: var(--tint); font-size: 24px; line-height: 1; }
.modal__kind { font-weight: 800; font-size: 14px; }
.modal__box h2 { font-size: 26px; font-weight: 800; margin: 4px 0 14px; }
.modal__box h3 { font-size: 17px; font-weight: 800; margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid var(--blue); }
.modal__intro { color: var(--text); }
.modal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.modal__grid > div { background: var(--tint); border-radius: 12px; padding: 16px 18px; }
.modal__grid h4 { font-size: 15px; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.modal__grid li { font-size: 14.5px; margin-top: 3px; }
.modal__proc { display: flex; flex-wrap: wrap; gap: 8px; counter-reset: p; }
.modal__proc li { counter-increment: p; background: var(--blue-soft); color: var(--navy); font-weight: 700; border-radius: 999px; padding: 7px 16px 7px 8px; font-size: 14.5px; }
.modal__proc li::before { content: counter(p); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12.5px; }
.modal__tel { margin-top: 28px; text-align: center; font-weight: 700; color: var(--ink); background: var(--tint); border-radius: 12px; padding: 14px; }
.modal--img { cursor: zoom-out; }
.modal--img img { max-width: min(1100px, 94vw); max-height: 88vh; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ── 좁은 화면 ── */
@media (max-width: 1180px) {
  .nav__toggle { display: block; }
  .nav__menu { position: absolute; left: 12px; right: 12px; top: 72px; display: none; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
  .nav__menu.is-open { display: grid; }
  .nav__menu a, .nav.is-stuck .nav__menu a { color: var(--text); text-align: center; padding: 12px 6px; }
  .nav__menu a:hover { background: var(--tint); color: var(--navy); }
  .nav__menu a.is-on { background: var(--blue-soft); color: var(--blue); }
  .nav__menu .nav__sns { margin: 0; border-color: var(--line); }
}
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 32px; }
  .hero__code { display: none; }
  .cards, .spec, .biz, .timeline { grid-template-columns: repeat(2, 1fr); }
  .charts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps > li:nth-child(3) { border-left: 0; } .steps > li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .record, .why, .loc { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); } .flow li:nth-child(3)::after { display: none; }
  .foot__in { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .hero { padding-top: 104px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .stats li:nth-child(3) { border-left: 0; } .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .spec, .biz, .timeline, .team, .steps { grid-template-columns: 1fr; }
  .steps > li { border-left: 0; } .steps > li + li { border-top: 1px solid var(--line); }
  .gallery, .rooms { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .flow { grid-template-columns: repeat(2, 1fr); } .flow li::after { display: none; }
  .nav__menu { grid-template-columns: repeat(2, 1fr); }
  .history li { grid-template-columns: 1fr; gap: 2px; }
  .bridge__side { width: 76px; height: 76px; font-size: 15px; } .bridge__mid { width: 116px; height: 116px; font-size: 18px; }
  .modal__box { padding: 28px 22px 24px; } .modal__grid { grid-template-columns: 1fr; }
  .card h3 { min-height: 0; }
  .work th, .work td, .sched th, .sched td { padding: 12px; font-size: 14.5px; }
  .work { min-width: 640px; } .sched { min-width: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
