/* Dragon Gym Taekwondo Phuket — 스타일
 * 토큰: 브랜드 금색/검정/적색. 밝은 섹션은 종이색(--paper) 배경, 히어로·페이스북·푸터는 어두운 배경.
 * 모서리는 각지게(브루탈리즘 계열), 큰 디스플레이 서체(Bebas Neue / Kanit).
 */
:root {
  --black: #0b0b0c;
  --ink: #141416;
  --ink-2: #1f1f23;
  --paper: #f7f4ec;
  --paper-2: #efeadd;
  --white: #ffffff;
  --gold: #f4b400;
  --gold-2: #ffcf3f;
  --red: #d7262b;
  --red-2: #ff4a4f;
  --fg: #141416;
  --fg-muted: #5a5a60;
  --line: rgba(20, 20, 22, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  /* 프로그램 색상 — data.js programs.color 와 1:1 */
  --p-kids: #f7a4c3;
  --p-basic: #7fc8ff;
  --p-acro: #ffb86b;
  --p-athlete: #9be28a;
  --font-display: 'Bebas Neue', 'Kanit', Impact, sans-serif;
  --font-body: 'Source Sans 3', 'Noto Sans Thai', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-thai: 'Noto Sans Thai', 'Source Sans 3', sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html[lang="th"] { --font-display: 'Kanit', 'Bebas Neue', sans-serif; --font-body: 'Noto Sans Thai', 'Source Sans 3', sans-serif; }
/* 한국어: 큰 제목만 Black Han Sans, 버튼·탭 같은 작은 표시 텍스트는 Noto Sans KR 굵게 */
html[lang="ko"] { --font-display: 'Noto Sans KR', 'Source Sans 3', sans-serif; --font-body: 'Noto Sans KR', 'Source Sans 3', sans-serif; }
html[lang="ko"] .hero__title, html[lang="ko"] .h2, html[lang="ko"] .h3 { font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif; }
html[lang="ko"] .btn, html[lang="ko"] .tab, html[lang="ko"] .kicker, html[lang="ko"] .card h3, html[lang="ko"] .value h3, html[lang="ko"] .branch__name, html[lang="ko"] .footer h4, html[lang="ko"] .footer__tag { font-weight: 700; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--fg);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker {
  font-family: var(--font-display); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); font-size: 15px; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ''; width: 28px; height: 3px; background: var(--gold); }
.h2 { font-family: var(--font-display); font-size: clamp(40px, 6.4vw, 76px); letter-spacing: 0.01em; text-transform: uppercase; }
html:not([lang="en"]) .h2 { text-transform: none; font-size: clamp(32px, 5vw, 56px); line-height: 1.2; }
.h3 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 14px; }
html:not([lang="en"]) .h3 { text-transform: none; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-muted); max-width: 640px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 2px solid transparent; cursor: pointer;
  font-family: var(--font-display); font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s;
  will-change: transform; position: relative;
}
html:not([lang="en"]) .btn { font-family: var(--font-display); font-size: 17px; letter-spacing: 0; text-transform: none; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--black); box-shadow: 6px 6px 0 var(--black); }
.btn--gold:hover { background: var(--gold-2); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--black); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--ghost-dark { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--ghost-dark:hover { background: var(--fg); color: var(--paper); }
.fb .btn--ghost-dark { color: var(--white); border-color: var(--white); }
.fb .btn--ghost-dark:hover { background: var(--white); color: var(--black); }
.btn--fb { background: #1877f2; color: #fff; }
.btn--fb:hover { background: #0f5fcc; }
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05a847; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* ---------- 커서 / 진행바 ---------- */
.cursor { position: fixed; inset: 0 auto auto 0; pointer-events: none; z-index: 9999; display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor { display: block; }
  .cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor__dot { width: 8px; height: 8px; background: var(--gold); mix-blend-mode: difference; }
  .cursor__ring { width: 36px; height: 36px; border: 2px solid var(--gold); opacity: .6; transition: width .25s, height .25s, opacity .25s, background .25s; }
  body.is-hovering .cursor__ring { width: 56px; height: 56px; opacity: .9; background: rgba(244, 180, 0, .12); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- 내비 ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav__inner { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.is-solid { background: rgba(11, 11, 12, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.nav__brand img { width: 44px; height: 44px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); letter-spacing: .06em; }
.nav__brand-text strong { font-size: 22px; font-weight: 400; }
.nav__brand-text small { font-size: 11px; color: var(--gold); letter-spacing: .2em; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  color: #fff; text-decoration: none; padding: 10px 12px; font-weight: 600; font-size: 15px; position: relative;
  opacity: .85; transition: opacity .2s;
}
.nav__links a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line-dark); }
.lang button { background: transparent; border: 0; color: #fff; padding: 6px 10px; min-height: 36px; cursor: pointer; font-weight: 600; font-size: 13px; opacity: .55; transition: opacity .2s, background .2s; font-family: var(--font-body); }
.lang button + button { border-left: 1px solid var(--line-dark); }
.lang button:hover { opacity: .9; }
.lang button[aria-pressed="true"] { opacity: 1; color: var(--black); background: var(--gold); }
.burger { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  /* 닫힌 상태는 visibility 로 숨긴다 (translateY(-110%) 는 패널 하단이 내비 위로 삐져나왔다) */
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; background: var(--black); flex-direction: column; padding: 16px var(--gutter) 28px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: transform .3s var(--ease), opacity .25s, visibility 0s .3s; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
  .nav__links a { font-size: 20px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .nav__links a::after { display: none; }
  .burger { display: flex; }
  .nav__actions .btn { display: none; }
  .nav { background: rgba(11, 11, 12, .92); }
}

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 100svh; background: var(--black); color: #fff; display: grid; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 80px; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__strokes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stroke { position: absolute; background: var(--gold); opacity: .9; transform-origin: left center; }
.stroke--1 { width: 52vw; height: 22vh; right: -14vw; top: 18%; transform: rotate(-14deg); clip-path: polygon(0 40%, 8% 10%, 30% 0, 60% 18%, 100% 2%, 96% 60%, 70% 100%, 35% 80%, 10% 95%); }
.stroke--2 { width: 55vw; height: 14vh; right: -14vw; bottom: 18%; background: var(--red); transform: rotate(-12deg); clip-path: polygon(0 60%, 15% 20%, 45% 0, 70% 30%, 100% 10%, 92% 70%, 60% 100%, 30% 70%); opacity: .85; }
.stroke--3 { width: 38vw; height: 8vh; left: 48%; top: 8%; background: #fff; opacity: .08; transform: rotate(-14deg); clip-path: polygon(0 50%, 20% 0, 100% 30%, 85% 100%); }
.hero__dragon { position: absolute; right: -6vw; top: 10%; width: clamp(360px, 48vw, 760px); opacity: .14; z-index: 0; filter: grayscale(1) contrast(1.2); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.hero__kicker { font-family: var(--font-display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-size: clamp(14px, 1.4vw, 18px); margin-bottom: 18px; }
html:not([lang="en"]) .hero__kicker { letter-spacing: 0; text-transform: none; font-family: var(--font-display); }
.hero__title { font-family: var(--font-display); font-size: clamp(64px, 12.5vw, 176px); line-height: .88; text-transform: uppercase; letter-spacing: .01em; }
html:not([lang="en"]) .hero__title { font-size: clamp(48px, 9vw, 128px); line-height: 1.05; }
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; }
.hero__line--gold { color: var(--gold); }
.hero__line--outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.hero__thai { font-family: var(--font-thai); font-size: clamp(18px, 2.2vw, 26px); margin: 14px 0 0; color: rgba(255,255,255,.8); }
html[lang="th"] .hero__thai { display: none; }
.hero__lead { max-width: 560px; margin: 22px 0 32px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 32px; width: fit-content; }
.stats li { display: flex; flex-direction: column; border-left: 2px solid var(--gold); padding-left: 14px; }
.stats strong { font-family: 'Bebas Neue', var(--font-display); font-size: clamp(36px, 4.5vw, 56px); line-height: 1; }
.stats span { font-size: 14px; color: rgba(255,255,255,.72); }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 24px; z-index: 1; color: #fff; text-decoration: none; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; opacity: .7; }
.hero__scroll i { width: 48px; height: 1px; background: #fff; position: relative; overflow: hidden; display: block; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { to { transform: translateX(100%); } }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; width: 100%; }
  .hero__dragon { right: -30vw; opacity: .1; }
  .hero__scroll { display: none; }
  /* 모바일: 텍스트가 전폭이라 붓터치를 화면 모서리 밖으로 밀어 글자와 겹치지 않게 한다 */
  .stroke--1 { width: 70vw; height: 10vh; right: -40vw; top: 4%; opacity: .7; }
  .stroke--2 { width: 70vw; height: 9vh; right: -35vw; bottom: 4%; opacity: .7; }
}

/* ---------- 마퀴 ---------- */
.marquee { background: var(--gold); color: var(--black); overflow: hidden; padding: 14px 0; border-top: 3px solid var(--black); border-bottom: 3px solid var(--black); }
.marquee__track { display: flex; gap: 48px; width: max-content; font-family: var(--font-display); font-size: 26px; letter-spacing: .1em; text-transform: uppercase; animation: marquee 40s linear infinite; }
.marquee__track span { display: flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee__track span::after { content: '★'; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 소개 ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text p { font-size: 18px; }
.about__side { display: flex; flex-direction: column; gap: 28px; }
.champion { margin: 0; background: var(--black); color: var(--white); border: 2px solid var(--black); box-shadow: 8px 8px 0 var(--gold); }
.champion__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.champion__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.champion:hover .champion__media img { transform: scale(1.04); }
.champion__badge { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; align-items: center; background: var(--gold); color: var(--black); border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black); padding: 6px 12px; transform: rotate(4deg); line-height: 1.1; }
.champion__badge b { font-family: var(--font-display); font-size: 22px; letter-spacing: .12em; }
.champion__badge small { font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.champion__cap { padding: 18px 22px 20px; border-top: 4px solid var(--red); }
.champion__label { margin: 0 0 4px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.champion__name { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .03em; margin: 0 0 4px; }
.champion__desc { margin: 0; color: rgba(255, 255, 255, .75); font-size: 15px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: var(--white); border: 2px solid var(--black); padding: 24px 20px; box-shadow: 6px 6px 0 var(--black); transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--gold); }
.value svg { width: 36px; height: 36px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.value h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
html:not([lang="en"]) .value h3 { text-transform: none; }
.value p { margin: 0; color: var(--fg-muted); font-size: 15px; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- 코치진·대표선수 ---------- */
.team { background: var(--black); color: #fff; }
.team .kicker { color: var(--gold); } .team .kicker::before { background: var(--red); }
.team .lead { color: rgba(255,255,255,.72); }
.team__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.coach { background: var(--ink); border: 2px solid var(--gold); box-shadow: 10px 10px 0 var(--red); }
.coach__photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 4; width: 100%; background: #eee; }
.coach__photo img { object-position: 50% 50%; }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.coach:hover .coach__photo img { transform: scale(1.04); }
.coach__badge { position: absolute; right: 14px; top: 14px; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--black); border: 2px solid var(--black); display: grid; place-content: center; text-align: center; line-height: .9; box-shadow: 3px 3px 0 var(--black); }
.coach__badge b { font-family: 'Bebas Neue', var(--font-display); font-size: 30px; }
.coach__badge small { font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.coach__who { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-dark); }
.coach__person { margin: 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.coach__person strong { font-size: 15.5px; color: #fff; }
.coach__person span { font-size: 12.5px; color: rgba(255,255,255,.65); }
.coach__person--left { border-right: 1px solid var(--line-dark); }
.coach__person--left strong::before { content: '◀ '; color: var(--gold); font-size: 11px; }
.coach__person--right { text-align: right; background: rgba(244,180,0,.08); }
.coach__person--right strong { color: var(--gold-2); }
.coach__person--right strong::after { content: ' ▶'; color: var(--gold); font-size: 11px; }
.coach__body { padding: clamp(18px, 3vw, 28px); }
.coach__role { color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 4px; }
.coach__name { font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px); margin-bottom: 18px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--red)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line-dark); }
.timeline__item::before { content: ''; position: absolute; left: 0; top: 15px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--gold); }
.timeline__item.is-now::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(215,38,43,.25); }
.timeline__year { font-family: 'Bebas Neue', var(--font-display); font-size: 21px; letter-spacing: .04em; color: var(--gold); line-height: 1.2; }
.timeline__year small { display: inline-block; margin-left: 6px; font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--red-2); letter-spacing: .06em; }
.timeline__text { font-size: 15.5px; color: rgba(255,255,255,.88); min-width: 0; overflow-wrap: anywhere; }
.athletes__title { color: #fff; margin-bottom: 16px; }
.mentor { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; background: linear-gradient(120deg, #1d1d22, #121215); border: 2px solid var(--gold); box-shadow: 8px 8px 0 var(--red); padding: 18px; position: relative; }
.staff { display: grid; gap: 22px; margin-bottom: 34px; }
.mentor::before { content: attr(data-tag); position: absolute; top: -12px; right: 14px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 3px 8px; border: 2px solid var(--black); }
.mentor__photo img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); box-shadow: 0 0 0 3px var(--black); display: block; }
.mentor__role { margin: 0 0 4px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.mentor__name { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 28px); font-family: var(--font-display); color: #fff; }
.mentor__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mentor__items li { position: relative; padding-left: 16px; font-size: 14.5px; color: rgba(255,255,255,.88); line-height: 1.5; }
.mentor__items li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
@media (max-width: 600px) { .mentor { grid-template-columns: 1fr; justify-items: start; } .mentor__photo img { width: 96px; height: 96px; } }
.athletes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.athlete { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: #1636a0; background: linear-gradient(110deg, #1739a8, #0f2a80); border: 2px solid var(--gold); padding: 12px 16px 12px 12px; transition: transform .3s var(--ease), box-shadow .3s; box-shadow: 5px 5px 0 rgba(244,180,0,.35); }
.athlete:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--gold); }
.athlete__photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--black); background: #fff; display: block; transform: scale(1); }
.athlete--gold .athlete__photo img { border-color: var(--gold); box-shadow: 0 0 0 3px var(--black); }
.athlete__name { margin: 0 0 6px; color: var(--gold-2); font-size: 20px; font-weight: 700; font-family: var(--font-body); }
.athlete__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.athlete__items li { font-size: 14.5px; color: #fff; padding-left: 14px; position: relative; line-height: 1.45; }
.athlete__items li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 960px) { .team__grid { grid-template-columns: 1fr; } }
/* 승단 심사위원진 */
.judges { margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 32px); background: linear-gradient(135deg, rgba(244,180,0,.12), rgba(215,38,43,.10)); border: 2px solid var(--gold); position: relative; }
.judges__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.judges__seal { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; border: 2px solid var(--black); box-shadow: 3px 3px 0 var(--black); }
.judges__seal svg { width: 30px; height: 30px; fill: var(--black); }
.judges__title { margin: 0 0 4px; color: #fff; }
.judges__lead { margin: 0; color: rgba(255,255,255,.7); font-size: 15px; }
.judges__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.judge { text-align: center; background: var(--ink); border: 2px solid var(--line-dark); padding: 22px 16px 18px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.judge:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 10px 0 -4px var(--gold); }
.judge__photo img { width: 128px; height: 128px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); box-shadow: 0 0 0 3px var(--black), 0 0 0 6px rgba(244,180,0,.35); display: block; }
.judge__name { margin: 0 0 4px; font-size: 19px; color: #fff; font-weight: 700; }
.judge__role { margin: 0 0 6px; color: var(--gold); font-size: 14px; font-weight: 600; }
.judge__note { margin: 0; color: rgba(255,255,255,.6); font-size: 13px; }
@media (max-width: 720px) { .judges__list { grid-template-columns: 1fr; } .judge { display: grid; grid-template-columns: 88px 1fr; text-align: left; align-items: center; gap: 0 14px; padding: 14px; } .judge__photo { grid-row: span 3; } .judge__photo img { width: 88px; height: 88px; margin: 0; } }
@media (max-width: 600px) { .timeline__item { grid-template-columns: 1fr; gap: 0; } .athlete { grid-template-columns: 72px 1fr; } .athlete__photo img { width: 72px; height: 72px; } }

/* ---------- 프로그램 ---------- */
.programs { background: var(--paper-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.card { background: var(--white); border: 2px solid var(--black); padding: 28px 22px 24px; position: relative; display: flex; flex-direction: column; gap: 12px; transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 8px 8px 0 var(--black); overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 8px; background: var(--c); }
.card--kids { --c: var(--p-kids); } .card--basic { --c: var(--p-basic); } .card--acro { --c: var(--p-acro); } .card--athlete { --c: var(--p-athlete); }
.card__tag { align-self: flex-start; background: var(--black); color: var(--gold); font-family: var(--font-display); letter-spacing: .1em; padding: 4px 10px; font-size: 15px; }
.card h3 { font-family: var(--font-display); font-size: 28px; letter-spacing: .03em; text-transform: uppercase; }
html:not([lang="en"]) .card h3 { text-transform: none; font-size: 24px; }
.card p { color: var(--fg-muted); font-size: 15.5px; flex: 1; margin: 0; }
.card__link { font-weight: 700; text-decoration: none; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.card__link::after { content: '→'; transition: transform .25s; }
.card__link:hover::after { transform: translateX(4px); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- 지점 + 지도 ---------- */
.branches { background: var(--paper); }
.branches__layout { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.branch-list { display: flex; flex-direction: column; gap: 12px; }
.branch { text-align: left; background: var(--white); border: 2px solid var(--black); padding: 18px 18px 16px; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s; box-shadow: 5px 5px 0 var(--black); position: relative; }
.branch:hover { transform: translate(-2px, -2px); }
.branch.is-active { background: var(--black); color: #fff; box-shadow: 5px 5px 0 var(--gold); }
.branch__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.branch__name { font-family: var(--font-display); font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
html:not([lang="en"]) .branch__name { text-transform: none; font-size: 20px; }
.branch__badge { background: var(--gold); color: var(--black); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; }
.branch__addr { font-size: 14px; margin: 0 0 8px; opacity: .8; }
.branch__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; }
.branch__meta .open { color: #1b8f3a; font-weight: 700; } .branch.is-active .branch__meta .open { color: var(--p-athlete); }
.branch__meta .closed { color: var(--red); font-weight: 700; } .branch.is-active .branch__meta .closed { color: var(--red-2); }
.branch__rating { font-weight: 700; color: var(--gold); }
.branch.is-active .branch__rating { color: var(--gold-2); }
.branch__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.branch__actions a { font-size: 13px; font-weight: 700; text-decoration: none; border: 1.5px solid currentColor; padding: 5px 10px; transition: background .2s, color .2s; }
.branch__actions a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.map-stack { display: grid; gap: 14px; }
.map-overview { height: 300px; border: 2px solid var(--black); background: #ddd; z-index: 0; }
/* aspect-ratio + min-height 는 최소 폭(533px)을 만들어 좁은 화면에서 가로 넘침을 일으키므로 높이를 직접 준다 */
.map-detail { border: 2px solid var(--black); background: #e8e8e8; height: clamp(300px, 36vw, 520px); min-width: 0; }
.map-detail iframe { width: 100%; height: 100%; border: 0; display: block; }
.leaflet-container { font-family: var(--font-body); }
.dg-marker { width: 34px; height: 34px; background: var(--gold); border: 2px solid var(--black); display: grid; place-items: center; font-family: var(--font-display); font-size: 16px; color: var(--black); box-shadow: 3px 3px 0 var(--black); cursor: pointer; transition: transform .2s; transform: rotate(45deg); }
.dg-marker span { transform: rotate(-45deg); }
.dg-marker.is-active { background: var(--red); color: #fff; transform: rotate(45deg) scale(1.2); }
.leaflet-popup-content-wrapper { border-radius: 0; border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black); }
.leaflet-popup-content { margin: 10px 14px; font-weight: 600; }
.leaflet-popup-tip { border: 0; }
/* 좁은 화면: 지점 카드를 가로 스크롤. min-width:0 이 없으면 그리드 칸이 내용폭으로 늘어나 페이지가 가로로 넘친다 */
@media (max-width: 900px) { .branches__layout { grid-template-columns: 1fr; } .branch-list { flex-direction: row; overflow-x: auto; min-width: 0; width: 100%; padding-bottom: 8px; scroll-snap-type: x mandatory; } .branch { min-width: 300px; scroll-snap-align: start; } }

/* ---------- 시간표 ---------- */
.schedule { background: var(--black); color: #fff; }
.schedule .kicker { color: var(--gold); } .schedule .kicker::before { background: var(--red); }
.schedule .lead { color: rgba(255,255,255,.72); }
.sched { background: var(--ink); border: 2px solid var(--line-dark); padding: clamp(16px, 3vw, 32px); }
.sched__branches, .sched__days { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tab { background: transparent; border: 2px solid var(--line-dark); color: #fff; padding: 8px 14px; cursor: pointer; font-family: var(--font-display); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; min-height: 44px; }
html:not([lang="en"]) .tab { font-family: var(--font-display); text-transform: none; font-size: 16px; letter-spacing: 0; }
.tab:hover { border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--gold); color: var(--black); border-color: var(--gold); }
.tab--day { min-width: 58px; position: relative; }
.tab--day.is-today::after { content: ''; position: absolute; right: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red-2); }
.tab--day[aria-selected="true"].is-today::after { background: var(--red); }
.tab--day.is-off { opacity: .45; }
.sched__status { font-size: 14px; color: var(--gold-2); min-height: 22px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.sched__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p-athlete); box-shadow: 0 0 0 0 rgba(155,226,138,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(155,226,138,0); } 100% { box-shadow: 0 0 0 0 rgba(155,226,138,0); } }
.sched__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; background: var(--ink-2); border-left: 6px solid var(--c, var(--gold)); transition: transform .25s var(--ease), background .25s; }
.slot:hover { transform: translateX(4px); background: #26262b; }
.slot--kids { --c: var(--p-kids); } .slot--basic { --c: var(--p-basic); } .slot--acro { --c: var(--p-acro); } .slot--athlete { --c: var(--p-athlete); }
.slot__time { font-family: 'Bebas Neue', var(--font-display); font-size: 22px; letter-spacing: .05em; white-space: nowrap; }
.slot__name { font-weight: 700; font-size: 17px; }
.slot__note { color: rgba(255,255,255,.6); font-size: 13.5px; margin-left: 8px; font-weight: 500; }
.slot__state { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 4px 8px; }
.slot.is-now { background: rgba(155,226,138,.12); outline: 2px solid var(--p-athlete); }
.slot.is-now .slot__state { background: var(--p-athlete); color: var(--black); }
.slot.is-next .slot__state { background: var(--gold); color: var(--black); }
.slot.is-past { opacity: .5; }
.sched__empty { padding: 28px; text-align: center; color: rgba(255,255,255,.6); background: var(--ink-2); }
.sched__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; background: var(--c); display: inline-block; }
.sched__note { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 16px 0 0; }
.sched-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.sched-poster { margin: 0; position: sticky; top: calc(var(--nav-h) + 16px); }
.sched-poster__btn { display: block; width: 100%; padding: 0; border: 3px solid var(--gold); background: #000; cursor: zoom-in; box-shadow: 8px 8px 0 var(--red); transition: transform .3s var(--ease), box-shadow .3s; }
.sched-poster__btn:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 11px 11px 0 var(--red); }
.sched-poster__btn img { width: 100%; height: auto; display: block; }
.sched-poster figcaption { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.6); text-align: center; }
@media (max-width: 1000px) { .sched-wrap { grid-template-columns: 1fr; } .sched-poster { position: static; max-width: 520px; margin-inline: auto; } }
@media (max-width: 600px) { .slot { grid-template-columns: 1fr; gap: 4px; } .slot__state { justify-self: start; } }

/* ---------- 페이스북 ---------- */
.fb { background: var(--ink); color: #fff; }
.fb .kicker { color: #4e9bff; } .fb .kicker::before { background: #4e9bff; }
.fb .lead { color: rgba(255,255,255,.72); }
.fb__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.fb__grid { display: grid; grid-template-columns: 500px 1fr; gap: 32px; align-items: start; }
/* 최신 게시물 피드 (페이스북 카드 스타일, 3열 메이슨리) */
.feed-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.feed-head .h3 { margin: 0; }
.feed-head__updated { color: rgba(255,255,255,.5); font-size: 13px; }
.feed { columns: 3 320px; column-gap: 16px; }
.post { break-inside: avoid; margin: 0 0 16px; background: #fff; color: #1c1e21; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.25); display: flex; flex-direction: column; font-family: 'Segoe UI', var(--font-body); }
.post__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.post__head img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd; background: #fff; }
.post__head div { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.post__head strong { font-size: 15px; font-family: var(--font-thai); font-weight: 600; }
.post__head small { color: #65676b; font-size: 13px; }
.post__fb { color: #1877f2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.post__fb:hover { background: #f0f2f5; }
.post__fb svg { width: 18px; height: 18px; fill: currentColor; }
.post__text { margin: 0 14px 10px; padding: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; font-family: var(--font-thai), 'Segoe UI', sans-serif; }
.post__text a { color: #1877f2; }
.post__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post__toggle { align-self: flex-start; margin: -4px 14px 12px; padding: 0; border: 0; background: none; color: #65676b; font-weight: 600; cursor: pointer; font-size: 14px; }
.post__toggle:hover { text-decoration: underline; }
.post__photos { display: grid; gap: 2px; background: #fff; }
.post__photos--2 { grid-template-columns: 1fr 1fr; }
.post__photos--3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.post__photos--3 .post__ph:first-child { grid-column: 1 / -1; }
.post__ph { position: relative; padding: 0; border: 0; background: #e4e6eb; cursor: zoom-in; display: block; overflow: hidden; }
.post__photos--1 .post__ph img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.post__photos--2 .post__ph, .post__photos--3 .post__ph:not(:first-child) { aspect-ratio: 1; }
.post__photos--3 .post__ph:first-child { aspect-ratio: 4 / 3; }
.post__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.post__ph:hover img { transform: scale(1.04); }
.post__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 700; font-family: 'Segoe UI', sans-serif; }
.post__video { position: relative; aspect-ratio: 9 / 16; max-height: 640px; background: #000; margin-inline: auto; width: 100%; }
.post__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.post__link { padding: 10px 14px 12px; color: #65676b; font-weight: 600; font-size: 14px; text-decoration: none; border-top: 1px solid #e4e6eb; }
.post__link:hover { color: #1877f2; }
.feed-more { margin-top: 8px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--black); background: var(--gold); font-size: 30px; line-height: 1; cursor: pointer; z-index: 1; }
.lightbox__nav--prev { left: -18px; } .lightbox__nav--next { right: -18px; }
.lightbox__caption a { color: var(--gold-2); }
@media (max-width: 600px) { .lightbox__nav--prev { left: 4px; } .lightbox__nav--next { right: 4px; } }
.fb__page { min-height: 130px; background: #fff; border: 2px solid var(--line-dark); }
.fb__page iframe { width: 100%; height: 130px; border: 0; display: block; }
.fb__posts { display: grid; gap: 14px; margin-top: 14px; }
.fb__posts .fb-post { background: #fff; border: 2px solid var(--line-dark); min-height: 200px; }
.fb__posts .fb-post > span, .fb__posts .fb-post iframe { max-width: 100% !important; }
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.reel { position: relative; aspect-ratio: 9 / 16; background: var(--ink-2); border: 2px solid var(--line-dark); overflow: hidden; }
.reel iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel__facade { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #1b1b1f, #0b0b0c); cursor: pointer; border: 0; color: #fff; width: 100%; }
.reel__facade::before { content: ''; position: absolute; inset: 0; background: url('assets/logo.png') center / 60% no-repeat; opacity: .08; }
.reel__play { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform .25s var(--ease); }
.reel__facade:hover .reel__play { transform: scale(1.12); }
.reel__play svg { width: 22px; height: 22px; fill: var(--black); margin-left: 3px; }
.reel__label { position: absolute; bottom: 10px; left: 10px; right: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
@media (max-width: 1000px) { .fb__grid { grid-template-columns: 1fr; } .fb__page { max-width: 500px; } }
.btn--ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.btn--ig:hover { filter: brightness(1.08); }
.ig { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.ig__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.ig__head .h3 { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.ig__mark svg { width: 26px; height: 26px; fill: none; stroke: #ee2a7b; stroke-width: 2; }
.ig__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ig__item { background: #fff; border: 2px solid var(--line-dark); height: 700px; overflow: hidden; }
.ig__item iframe { width: 100%; height: 100%; border: 0; display: block; }
.ig__item > a { display: grid; place-items: center; height: 100%; color: var(--black); }
@media (max-width: 900px) { .ig__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ig__grid { grid-template-columns: 1fr; } }

/* ---------- 체험 문의 ---------- */
.trial { background: var(--gold); color: var(--black); }
.trial .kicker { color: var(--black); } .trial .kicker::before { background: var(--black); }
.trial .lead { color: rgba(0,0,0,.72); }
.trial__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.bring ul { display: grid; gap: 8px; }
.bring li { padding-left: 26px; position: relative; font-weight: 500; }
.bring li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; background: var(--black); transform: rotate(45deg); }
.trial__phones { margin-top: 28px; display: grid; gap: 8px; }
.trial__phones a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.trial__phones a small { font-weight: 500; opacity: .7; font-size: 13px; }
.trial__phones svg { width: 18px; height: 18px; fill: currentColor; }
.form { background: var(--white); border: 2px solid var(--black); padding: clamp(20px, 3vw, 32px); box-shadow: 10px 10px 0 var(--black); display: grid; gap: 16px; }
.form__row { display: grid; gap: 6px; }
.form__row--2 { grid-template-columns: 1fr 1fr; gap: 14px; }
.form__row--2 > div { display: grid; gap: 6px; }
.form label { font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
html:not([lang="en"]) .form label { text-transform: none; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 2px solid var(--black); background: var(--paper); min-height: 48px; width: 100%; border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; background: #fff; }
.form input[aria-invalid="true"] { border-color: var(--red); }
.form__error { color: var(--red); font-weight: 700; margin: 0; }
.form__out { border-top: 2px dashed var(--line); padding-top: 18px; display: grid; gap: 12px; }
.form__out textarea { font-size: 15px; }
.form__send { display: flex; flex-wrap: wrap; gap: 10px; }
.form__send .btn { flex: 1 1 160px; font-size: 17px; }
.form__toast { margin: 0; min-height: 20px; font-weight: 600; color: #1b8f3a; }
@media (max-width: 860px) { .trial__grid { grid-template-columns: 1fr; } }
/* 채팅 문의 패널 */
.contact { background: var(--white); border: 2px solid var(--black); padding: clamp(20px, 3vw, 32px); box-shadow: 10px 10px 0 var(--black); }
.contact__hint { color: var(--fg-muted); font-size: 15.5px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.chat { display: flex; flex-direction: column; text-decoration: none; border: 2px solid var(--black); background: #fff; transition: transform .25s var(--ease), box-shadow .25s; box-shadow: 5px 5px 0 var(--c); --c: #06c755; }
.chat--wa { --c: #25d366; }
.chat:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--c); }
.chat img { width: 100%; height: auto; padding: 10px; }
.chat__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px; background: var(--c); color: #fff; font-weight: 700; font-size: 17px; border-top: 2px solid var(--black); }
.chat__btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.chat-row { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 2px solid var(--black); color: #1877f2; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.chat-row:hover { background: #1877f2; color: #fff; }
.chat-row svg { width: 20px; height: 20px; fill: currentColor; }
/* 휴대폰에서는 QR 대신 큰 버튼만 */
@media (max-width: 600px) { .contact__grid { grid-template-columns: 1fr; gap: 10px; } .chat img { display: none; } .chat__btn { border-top: 0; min-height: 60px; font-size: 18px; } }
@media (max-width: 480px) { .form__row--2 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 2px solid var(--black); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 18px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 30px; color: var(--red); transition: transform .3s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 20px 18px; margin: 0; color: var(--fg-muted); }

/* ---------- 푸터 ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.8); padding: 64px 0 88px; } /* 하단 여백은 LINE 플로팅 버튼 자리 */
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 72px; margin-bottom: 14px; }
.footer__brand strong { color: #fff; font-size: 18px; }
.footer__tag { color: var(--gold); font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; font-size: 18px; }
html:not([lang="en"]) .footer__tag { text-transform: none; }
.footer h4 { font-family: var(--font-display); color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: 18px; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a, .footer .linklike { color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; }
.footer a:hover, .footer .linklike:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.totop { color: var(--gold); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- 플로팅 LINE / 라이트박스 ---------- */
.fabs { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab { background: #06c755; color: #fff; border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black); padding: 10px 16px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: 'Bebas Neue', var(--font-display); font-size: 18px; letter-spacing: .08em; text-decoration: none; transition: transform .25s var(--ease); }
.fab:hover { transform: translate(-2px, -2px); }
.fab svg { width: 22px; height: 22px; fill: currentColor; }
.fab--wa { background: #25d366; }
@media (max-width: 560px) { .fab span { display: none; } .fab { padding: 12px; } }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.85); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__panel { position: relative; max-width: min(92vw, 720px); max-height: 92vh; display: grid; gap: 10px; }
.lightbox__panel img { max-height: 82vh; width: auto; max-width: 100%; margin-inline: auto; border: 3px solid var(--gold); background: #fff; }
.lightbox__caption { color: #fff; text-align: center; margin: 0; font-weight: 600; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--black); background: var(--gold); font-size: 28px; line-height: 1; cursor: pointer; z-index: 1; }

/* ---------- 스크롤 리빌 ---------- */
[data-reveal], [data-reveal-group] > * { opacity: 0; transform: translateY(28px); }
.no-motion [data-reveal], .no-motion [data-reveal-group] > *, .is-revealed { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
