@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --accent: #3f5fe6;
  --svc-a: #eceef9;
  --svc-b: #aab8e6;
  --svc-c: #7189d0;
  --ink: #111;
  --muted: #555;
  --line: #e4e4e4;
  --dark: #1b1b1b;
  --wrap: 1180px;
}
body.p-about { --accent: #43b57a; --svc-a: #e6ece8; --svc-b: #a9dcc0; --svc-c: #7fd3b4; }
body.p-course, body.p-contact { --accent: #ff3d68; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Pretendard, system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.6; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }
.eyebrow { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.sec { padding: 120px 0; }
.sec-title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.4; }
.center { text-align: center; }

/* ---------- header ---------- */
.hd { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; }
.hd.solid { position: sticky; top: 0; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.hd-in { height: 90px; display: flex; align-items: center; justify-content: space-between; padding: 0 50px; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.logo img { height: 56px; width: auto; }
.gnb { display: flex; gap: 50px; font-size: 15px; font-weight: 500; }
.gnb a { position: relative; padding: 6px 0; transition: color .2s; }
.gnb a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.gnb a:hover::after, .gnb a[aria-current]::after { width: 100%; }
.menu-btn { display: none; background: none; border: 0; color: inherit; width: 40px; height: 40px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; margin: auto; content: ""; }
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 12px 34px; border-radius: 8px; font-size: 15px; font-weight: 500; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn-white { background: #fff; color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }

/* ---------- home hero ---------- */
.hero { position: relative; height: 1000px; max-height: 100vh; min-height: 620px; color: #fff; display: flex; align-items: center; background: #222 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero > .wrap { position: relative; }
.hero .sub { font-size: 24px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.35; font-weight: 700; max-width: 680px; margin-bottom: 64px; }

/* page hero (sub pages) */
.phero { position: relative; height: 500px; color: #fff; display: flex; align-items: flex-end; padding-bottom: 110px; background: #333 center/cover no-repeat; }
.phero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.phero > .wrap { position: relative; }
.phero h1 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; }
.crumb { display: flex; gap: 10px; font-size: 13px; margin-bottom: 110px; align-items: center; }
.crumb span::before { content: "›"; color: var(--accent); margin-right: 10px; font-size: 16px; }

/* ---------- home: welcome ---------- */
.welcome { position: relative; overflow: hidden; padding-top: 160px; }
.welcome::after { content: ""; position: absolute; right: -60px; top: 0; width: 420px; height: 420px; background: url(welcome-side.jpg) center/cover; opacity: .18; filter: grayscale(1); -webkit-mask: linear-gradient(to left, #000 30%, transparent); mask: linear-gradient(to left, #000 30%, transparent); }
.welcome h2 { font-size: clamp(22px, 3vw, 34px); line-height: 1.5; font-weight: 700; position: relative; z-index: 1; }
.welcome h2 small { font-size: .7em; font-weight: 500; }
.strip { display: flex; gap: 18px; margin-top: 90px; padding-left: max(16px, (100% - var(--wrap)) / 2); overflow-x: auto; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: 0 0 auto; height: 330px; width: auto; object-fit: cover; }

.band { position: relative; height: 320px; display: grid; place-items: center; color: #fff; text-align: center; font-size: 26px; line-height: 1.6; background: url(band-bg.jpg) center 40%/cover; margin-top: 110px; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(70,50,55,.75); }
.band p { position: relative; }

/* intro */
.intro { position: relative; }
.intro .lead { margin-top: 36px; font-size: 18px; line-height: 1.95; }
.intro-grid { position: relative; display: grid; grid-template-columns: 572fr 112fr 374fr; gap: 0; margin-top: 120px; font-size: 15px; }
.intro-grid figure:nth-child(1) { grid-column: 1; grid-row: 1; }
.intro-grid figure:nth-child(2) { grid-column: 3; grid-row: 1 / 3; align-self: start; margin-top: 230px; }
.intro-grid figure:nth-child(3) { grid-column: 1; grid-row: 2; width: 65%; margin: 70px 0 0 20%; }
.intro-grid figcaption { margin-top: 18px; line-height: 1.75; }
.intro-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.live { position: absolute; left: 0; bottom: -140px; font-family: "Arial Black", Pretendard, sans-serif; font-weight: 900; font-size: clamp(60px, 9vw, 130px); line-height: .85; color: #ff3d68; opacity: .07; pointer-events: none; z-index: -1; }

/* difference */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 80px; }
.diff-card { background: #f4f4f4; padding: 40px 60px 54px; min-height: 290px; display: flex; flex-direction: column; justify-content: center; gap: 28px; font-size: 17px; font-weight: 500; line-height: 1.75; transition: background .25s; }
.diff-card:hover { background: #ececf5; }
.diff-ic { width: 96px; height: 96px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); margin: 0 auto; }
.diff-ic svg { width: 50px; height: 50px; }

/* services */
.svc { position: relative; overflow: hidden; padding: 150px 0 140px; background: linear-gradient(130deg, var(--svc-a) 0%, var(--svc-b) 75%); }
.svc::before { content: ""; position: absolute; right: 0; top: 0; width: 22%; height: 60%; background: var(--svc-c); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%); }
.svc .wrap { position: relative; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 110px; max-width: 1090px; }
.svc-card { background: #fff; border-radius: 10px; padding: 26px 32px 30px; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.svc-card img { width: 40px; height: 40px; object-fit: contain; margin-bottom: 12px; }
.svc-card h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; color: #333; margin-bottom: 22px; }
.svc-card span { font-size: 13px; }

/* cta */
.cta { position: relative; color: #fff; padding: 160px 0 150px; background: url(cta-bg.jpg) center/cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.6); backdrop-filter: blur(3px); }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
.cta p { font-size: 20px; margin: 6px 0 70px; }

/* footer */
.ft { background: var(--dark); color: #bbb; font-size: 13px; }
.ft-nav { display: flex; gap: 60px; padding: 30px 50px; border-bottom: 1px solid #333; color: #ddd; }
.ft-body { display: grid; grid-template-columns: repeat(4, 216px) 1fr; padding: 40px 50px 60px; line-height: 1.9; }
.ft-body h4 { color: #ddd; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.ft-body .policy a { display: block; }
.ft-body .policy a:last-child { color: #fff; font-weight: 700; }
.ft-logo { justify-self: end; font-size: 26px; font-weight: 800; color: #888; }
.ft-copy { grid-column: 1 / -1; color: #555; font-size: 11px; margin-top: 30px; }

/* ---------- about ---------- */
.qa { padding: 110px 0 80px; }
.qa h2 { font-size: 26px; font-weight: 600; }
.bubbles { position: relative; height: 330px; max-width: 1060px; }
.bubble { position: absolute; background: #e5eae6; border-radius: 10px; padding: 26px 34px; font-size: 18px; line-height: 1.6; width: 46%; }
.bubble::after { content: ""; position: absolute; bottom: -18px; right: 120px; border: 18px solid transparent; border-top-color: #e5eae6; border-bottom: 0; transform: skewX(-25deg); }
.bubble.b1 { right: 0; top: 50px; }
.bubble.b2 { left: 11%; top: 220px; width: 40%; }
.answer h3 { font-size: 26px; font-weight: 600; margin: 80px 0 16px; }
.answer p { font-size: 18px; line-height: 1.95; }
.expert { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 120px 0 160px; }
.expert h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.5; font-weight: 700; }
.expert-pics { position: relative; width: 450px; height: 350px; flex: none; }
.expert-pics img { position: absolute; object-fit: cover; border-radius: 26px; }
.expert-pics .e1 { left: 0; top: 90px; width: 290px; height: 260px; }
.expert-pics .e2 { right: 0; top: 0; width: 230px; height: 230px; z-index: 1; border: 0; }
.expert-pics .e3 { right: 0; bottom: 30px; width: 90px; height: 90px; border-radius: 6px; filter: sepia(1) hue-rotate(60deg) saturate(1.5); opacity: .7; }
.why h2 { font-size: 28px; font-weight: 500; text-align: center; margin-bottom: 70px; }
.why-row { display: grid; grid-template-columns: 1fr 568px; align-items: center; gap: 40px; margin-bottom: 78px; }
.why-row h3 { font-size: 24px; line-height: 1.6; margin-bottom: 24px; }
.why-row p { font-size: 16px; line-height: 1.8; }
.why-row img { width: 100%; height: 262px; object-fit: cover; }
.loc { position: relative; margin: 100px 0 160px; overflow: hidden; }
.loc-box { display: grid; grid-template-columns: 518px 1fr; align-items: center; gap: 44px; background: #f8f8f8; margin-top: 60px; padding-right: 40px; }
.loc-box img { margin: -64px 0 32px 26px; border-radius: 16px; width: 518px; height: 380px; object-fit: cover; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.loc h2 { font-size: 30px; line-height: 1.5; font-weight: 700; margin-bottom: 50px; }
.loc h4 { font-size: 14px; }
.loc p { font-size: 14px; color: var(--muted); }
.watermark { position: absolute; right: -20px; bottom: -14px; font-family: "Arial Black", Pretendard, sans-serif; font-weight: 900; font-size: clamp(60px, 9vw, 128px); line-height: 1; color: var(--accent); opacity: .1; pointer-events: none; }

/* ---------- course ---------- */
.chead { background: #2a2a2a; color: #fff; padding: 40px 0 76px; }
.chead .crumb { margin-bottom: 70px; }
.chead-in { display: grid; grid-template-columns: 470px 1fr; gap: 118px; align-items: center; }
.chead-img { aspect-ratio: 470/342; background: conic-gradient(from 180deg at 50% 50%, #5bbde6 0 25%, #f9f7cc 25% 50%, #c4e7ec 50% 100%); }
.chead h1 { font-size: 40px; font-weight: 700; }
.chead .desc { font-size: 22px; margin: 6px 0 14px; }
.pill { display: inline-block; border: 1px solid var(--accent); color: var(--accent); border-radius: 99px; font-size: 13px; padding: 3px 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 40px 0 46px; }
.tags span { background: #ececec; color: #333; border-radius: 99px; font-size: 13px; padding: 4px 10px; }
.chead .btn { padding: 14px 60px; }
.reviews { background: linear-gradient(#ecebeb, #fff); padding: 60px 0; }
.reviews .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.reviews blockquote { background: #fff; border-radius: 12px; padding: 30px 40px; font-size: 15px; line-height: 1.7; min-height: 148px; }
.reviews blockquote::before { content: "💬"; display: block; font-size: 24px; margin-bottom: 8px; }
.cbody { width: min(764px, 100% - 32px); margin-inline: auto; padding: 50px 0 80px; }
.cbody h2 { font-size: 30px; font-weight: 700; margin: 60px 0 50px; }
.cbody .hl { color: var(--accent); font-size: 24px; font-weight: 700; line-height: 1.6; margin-bottom: 20px; }
.cbody > p { font-size: 16px; line-height: 2; }
.track { display: grid; grid-template-columns: 1fr 70px 176px; gap: 48px; margin-top: 70px; align-items: center; }
.track-main { background: #eeeced; border-radius: 12px; padding: 30px 40px 36px; text-align: center; }
.track-main b { display: inline-block; background: #222; color: #fff; border-radius: 99px; font-size: 14px; padding: 10px 26px; font-weight: 500; }
.circles { display: flex; justify-content: center; gap: 12px; margin: 20px 0 14px; }
.circles span { width: 120px; height: 120px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; text-align: center; line-height: 1.4; }
.track-main small { display: block; border-top: 1px solid #888; padding-top: 8px; font-size: 13px; margin: 0 20px; }
.track-plus { color: var(--accent); font-size: 40px; text-align: center; }
.track-side { background: #eeeced; border-radius: 12px; align-self: stretch; display: grid; place-items: center; font-size: 14px; font-weight: 500; text-align: center; line-height: 1.6; }
.feat { border: 1px solid var(--line); border-radius: 6px; padding: 18px 24px; list-style: none; font-size: 16px; }
.feat li { padding: 6px 0 6px 26px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: 14px; width: 11px; height: 11px; border: 1px solid #bbb; border-radius: 2px; }
.curri details { border: 1px solid #ddd; border-radius: 10px; margin-bottom: 14px; font-size: 15px; }
.curri summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 700; }
.curri summary::-webkit-details-marker { display: none; }
.curri summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.curri details[open] summary::after { transform: rotate(-135deg); }
.curri summary em { font-style: normal; font-size: 13px; background: #f2f2f2; border-radius: 4px; padding: 2px 6px; }
.curri ul { list-style: none; margin: 0 20px; padding: 14px 0 18px; border-top: 1px solid #eee; font-size: 14px; line-height: 2; color: #333; }
.curri ul li b { background: #666; color: #fff; font-weight: 400; font-size: 12px; padding: 1px 6px; border-radius: 2px; margin-right: 4px; }
.kit { margin-top: 70px; }
.kit img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.note { margin-top: 70px; font-size: 14px; line-height: 2; }
.note h3 { font-size: 15px; margin-bottom: 8px; }
.note ul { padding-left: 20px; }
.more { background: var(--accent); color: #fff; padding: 90px 0 110px; }
.more h2 { font-size: 30px; font-weight: 700; margin-bottom: 40px; }
.more .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.more a { background: #fff; color: var(--ink); border-radius: 14px; padding: 34px 40px; transition: transform .25s; }
.more a:hover { transform: translateY(-4px); }
.more h3 { font-size: 22px; }
.more p { font-size: 15px; color: #333; }
.more .tags { margin: 18px 0 0; }

/* ---------- contact ---------- */
.cform { padding: 100px 0 140px; }
.cform .notice { font-size: 15px; line-height: 2; padding-bottom: 50px; border-bottom: 1px solid var(--accent); margin-bottom: 60px; }
.q { margin-bottom: 44px; }
.q > label, .q > legend { display: block; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
fieldset.q { border: 0; }
.cform input[type=text], .cform input[type=tel], .cform input[type=email], .cform textarea { width: 100%; border: 1px solid #ddd; border-radius: 10px; padding: 12px 16px; font: inherit; font-size: 15px; transition: border-color .2s; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--accent); }
.cform .short { max-width: 568px; }
.cform textarea { height: 100px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(5, max-content); gap: 10px 50px; font-size: 14px; }
.checks label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--accent); }
.info { display: grid; grid-template-columns: 160px 274px; gap: 16px 0; align-items: center; margin-top: 90px; font-size: 15px; font-weight: 600; }
.cform .submit { text-align: center; margin-top: 80px; }
.cform .submit .btn { padding: 12px 50px; border-radius: 10px; }
.cform .submit .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-msg { margin-top: 20px; font-size: 15px; }
.form-msg.ok { color: #2a8a55; }
.form-msg.err { color: #d33; }
.form-msg a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- reveal animation ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hd-in { padding: 0 20px; height: 70px; }
  .menu-btn { display: block; }
  .gnb { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; color: var(--ink); box-shadow: 0 10px 20px rgba(0,0,0,.1); }
  .gnb a { padding: 16px 20px; border-top: 1px solid var(--line); }
  .gnb a::after { display: none; }
  .hd.open .gnb { display: flex; }
  .sec { padding: 80px 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-body { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ft-logo { justify-self: start; }
  .chead-in { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-row { grid-template-columns: 1fr 1fr; }
  .loc-box { grid-template-columns: 1fr; padding: 0 0 30px; }
  .loc-box img { margin: 0; width: 100%; height: auto; aspect-ratio: 4/3; }
  .loc-box > div { padding: 0 24px; }
  .checks { grid-template-columns: repeat(3, max-content); }
}
@media (max-width: 720px) {
  .logo img { height: 42px; }
  .hero { min-height: 560px; height: 90vh; }
  .hero .sub { font-size: 18px; }
  .hero h1 { margin-bottom: 40px; }
  .welcome { padding-top: 90px; }
  .welcome::after { width: 220px; height: 220px; }
  .strip { margin-top: 50px; }
  .strip img { height: 200px; }
  .band { height: 220px; font-size: 18px; margin-top: 70px; }
  .intro .lead { font-size: 15px; }
  .intro .lead br { display: none; }
  .intro-grid { display: flex; flex-direction: column; gap: 40px; margin-top: 60px; }
  .intro-grid figure:nth-child(3) { width: 100%; margin: 0; }
  .live { display: none; }
  .diff-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .diff-card { padding: 30px; min-height: 0; font-size: 15px; }
  .svc { padding: 90px 0; }
  .svc-grid { margin-top: 50px; gap: 12px; }
  .svc-card { padding: 20px; }
  .svc-card p { font-size: 13px; }
  .cta { padding: 100px 0; }
  .cta p { font-size: 16px; margin-bottom: 40px; }
  .ft-nav { gap: 20px; padding: 24px 20px; flex-wrap: wrap; }
  .ft-body { grid-template-columns: 1fr; padding: 30px 20px 40px; }
  .phero { height: 360px; padding-bottom: 60px; }
  .crumb { margin-bottom: 60px; }
  .bubbles { height: auto; display: grid; gap: 30px; margin-top: 40px; }
  .bubble, .bubble.b1, .bubble.b2 { position: relative; inset: auto; width: auto; font-size: 15px; }
  .bubble.b2 { margin-right: 15%; }
  .bubble.b1 { margin-left: 15%; }
  .answer p { font-size: 15px; }
  .answer p br { display: none; }
  .expert { flex-direction: column; align-items: flex-start; padding: 80px 0; }
  .expert-pics { width: 100%; max-width: 360px; height: 280px; }
  .expert-pics .e1 { width: 230px; height: 200px; top: 80px; }
  .expert-pics .e2 { width: 170px; height: 170px; }
  .why h2 { font-size: 20px; margin-bottom: 40px; }
  .why-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
  .why-row img { order: -1; height: 220px; }
  .why-row h3 { font-size: 19px; margin-bottom: 10px; }
  .why-row p { font-size: 14px; }
  .loc { margin: 40px 0 80px; }
  .loc h2 { font-size: 24px; margin-bottom: 24px; }
  .chead-in { grid-template-columns: 1fr; }
  .chead .desc { font-size: 17px; }
  .reviews .grid { grid-template-columns: 1fr; gap: 14px; }
  .reviews blockquote { min-height: 0; padding: 24px; }
  .cbody .hl { font-size: 19px; }
  .cbody > p { font-size: 14px; }
  .track { grid-template-columns: 1fr; gap: 16px; }
  .track-main { padding: 24px 12px; }
  .circles span { width: 84px; height: 84px; font-size: 13px; }
  .track-side { padding: 24px; }
  .feat { font-size: 14px; }
  .more .grid { grid-template-columns: 1fr; }
  .cform { padding: 60px 0 90px; }
  .checks { grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
  .info { grid-template-columns: 1fr; gap: 6px; margin-top: 50px; }
  .info input { margin-bottom: 12px; }
}
