/* =========================================================
   리부트아카데미 — 공용 스타일시트
   디자인 시스템: 블루 브랜드 / 흰 배경 / 스포티
   ========================================================= */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

/* ---------- 디자인 토큰 ---------- */
:root {
  /* Brand blue */
  --c-primary: #1d4ed8;
  --c-primary-strong: #1e3a8a;
  --c-primary-soft: #eff4ff;
  --c-accent: #38bdf8;
  --c-on-primary: #ffffff;

  /* Neutrals */
  --c-bg: #ffffff;
  --c-surface: #f6f8fc;
  --c-surface-2: #eef2f9;
  --c-fg: #0f172a;
  --c-fg-soft: #475569;
  --c-fg-muted: #64748b;
  --c-border: #e2e8f0;
  --c-border-strong: #cbd5e1;

  /* Feedback */
  --c-success: #16a34a;
  --c-danger: #dc2626;

  /* Type */
  --font-display: 'Barlow Condensed', 'Pretendard', sans-serif;
  --font-body: 'Pretendard', 'Barlow', system-ui, sans-serif;

  /* Spacing scale (4/8) */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-6: 1.5rem;   --sp-8: 2rem;    --sp-12: 3rem;   --sp-16: 4rem;
  --sp-20: 5rem;    --sp-24: 6rem;

  /* Radius & shadow */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow-md: 0 8px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 60px rgba(29,78,216,.16);

  /* Layout */
  --container: 1140px;
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 220ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--c-fg);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--c-primary); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 1000;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-6); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--surface { background: var(--c-surface); }
.section--ink { background: var(--c-primary-strong); color: #fff; }
.stack > * + * { margin-top: var(--sp-4); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--c-fg-soft); line-height: 1.7; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-primary);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-primary); }
.section--ink .eyebrow { color: var(--c-accent); }
.section--ink .eyebrow::before { background: var(--c-accent); }
.section-head { max-width: 640px; margin-bottom: var(--sp-12); }
.section-head .lead { margin-top: var(--sp-4); }
.text-center { text-align: center; }
.center-head { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.6rem; border-radius: var(--r-pill);
  border: 2px solid transparent; min-height: 48px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--c-primary); color: var(--c-on-primary); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--c-primary-strong); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-border-strong); }
.btn--ghost:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }
.btn--light { background: #fff; color: var(--c-primary-strong); }
.btn--light:hover { background: var(--c-surface-2); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.08rem; min-height: 56px; }
.btn .ico { width: 20px; height: 20px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h); background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; color: var(--c-fg); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand b { color: var(--c-primary); }
.brand__word { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--font-display); font-weight: 800; font-size: 1.42rem; letter-spacing: .04em; color: var(--c-fg); }
.brand__word small { font-family: var(--font-body); font-size: .56rem; font-weight: 600; letter-spacing: .42em; color: var(--c-primary); margin-top: 4px; padding-left: 3px; }
.nav__links { display: flex; align-items: center; gap: var(--sp-2); }
.nav__links a {
  padding: .55rem .85rem; border-radius: var(--r-sm); font-weight: 500; color: var(--c-fg-soft);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--c-primary); background: var(--c-primary-soft); }
.nav__links a[aria-current="page"] { color: var(--c-primary); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: var(--sp-3); }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm); background: #fff; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; color: var(--c-fg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--c-bg); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(56,189,248,.20), transparent 60%),
    radial-gradient(720px 420px at 8% 12%, rgba(29,78,216,.12), transparent 55%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-16); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { margin-top: var(--sp-4); font-size: clamp(1.9rem, 4.4vw, 3rem); }
.hero .lead { margin-top: var(--sp-6); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.hero__stats { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-top: var(--sp-12); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem,3vw,2.4rem); color: var(--c-primary); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .9rem; color: var(--c-fg-muted); margin-top: .35rem; }
.hero__visual { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--c-primary-strong), var(--c-primary) 55%, var(--c-accent)); }
.hero__visual .court { position: absolute; inset: 0; }
.hero__badge {
  position: absolute; left: var(--sp-6); bottom: var(--sp-6); z-index: 2;
  background: rgba(255,255,255,.95); border-radius: var(--r-md); padding: .9rem 1.1rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .75rem; max-width: 80%;
}
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 4px rgba(22,163,74,.18); flex: none; }
.hero__badge b { font-weight: 700; }
.hero__badge span { font-size: .85rem; color: var(--c-fg-muted); display: block; }

/* ---------- Hero court rally animation ---------- */
/* doubles rally — fast 4-hit cross-court (BL → TR → BR → TL), 1.5s loop */
.court .shuttle { transform-box: view-box; transform-origin: 160px 205px; animation: shuttleRally 1.5s linear infinite; }
.court .shuttle circle { filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
.court .stroke-bl { transform-box: view-box; transform-origin: 112px 316px; animation: swingBL 1.5s ease-in-out infinite; }
.court .stroke-tr { transform-box: view-box; transform-origin: 210px 124px; animation: swingTR 1.5s ease-in-out infinite; }
.court .stroke-br { transform-box: view-box; transform-origin: 210px 316px; animation: swingBR 1.5s ease-in-out infinite; }
.court .stroke-tl { transform-box: view-box; transform-origin: 110px 124px; animation: swingTL 1.5s ease-in-out infinite; }

@keyframes shuttleRally {
  0%   { transform: translate(-40px, 64px); }   /* bottom-left */
  25%  { transform: translate(40px, -120px); }  /* top-right (cross) */
  50%  { transform: translate(40px, 64px); }    /* bottom-right */
  75%  { transform: translate(-40px, -120px); } /* top-left (cross) */
  100% { transform: translate(-40px, 64px); }   /* bottom-left */
}
@keyframes swingBL {  /* impact 0% / 100% */
  0%   { transform: rotate(-20deg); }
  18%  { transform: rotate(22deg); }
  82%  { transform: rotate(32deg); }
  100% { transform: rotate(-20deg); }
}
@keyframes swingTR {  /* impact 25% */
  0%   { transform: rotate(26deg); }
  12%  { transform: rotate(34deg); }
  25%  { transform: rotate(-18deg); }
  42%  { transform: rotate(26deg); }
  100% { transform: rotate(26deg); }
}
@keyframes swingBR {  /* impact 50% */
  0%   { transform: rotate(28deg); }
  38%  { transform: rotate(34deg); }
  50%  { transform: rotate(-18deg); }
  66%  { transform: rotate(28deg); }
  100% { transform: rotate(28deg); }
}
@keyframes swingTL {  /* impact 75% */
  0%   { transform: rotate(24deg); }
  62%  { transform: rotate(32deg); }
  75%  { transform: rotate(-18deg); }
  90%  { transform: rotate(24deg); }
  100% { transform: rotate(24deg); }
}
@media (prefers-reduced-motion: reduce) {
  .court .shuttle { animation: none; transform: translate(0, -28px); }
  .court .stroke-bl, .court .stroke-br, .court .stroke-tl, .court .stroke-tr { animation: none; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--sp-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: var(--sp-8); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-border-strong); }
.card__icon { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary); margin-bottom: var(--sp-4); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--c-fg-soft); }

/* feature list with checks */
.checks { display: grid; gap: var(--sp-3); }
.checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--c-fg-soft); }
.checks svg { width: 22px; height: 22px; color: var(--c-primary); flex: none; margin-top: 1px; }

/* ---------- Program / pricing cards ---------- */
.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: var(--c-primary); box-shadow: var(--shadow-lg); position: relative; }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c-primary); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: .35rem .9rem; border-radius: var(--r-pill); }
.plan__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.plan__desc { color: var(--c-fg-muted); font-size: .95rem; margin-top: .25rem; }
.plan__price { margin: var(--sp-6) 0; font-family: var(--font-display); }
.plan__price b { font-size: 2.4rem; font-weight: 700; color: var(--c-fg); }
.plan__price span { color: var(--c-fg-muted); font-family: var(--font-body); font-size: .95rem; }
.plan .checks { margin-bottom: var(--sp-8); }
.plan .btn { margin-top: auto; }

/* ---------- Method / steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-6); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-6); align-items: start; }
.step__num { counter-increment: step; width: 64px; height: 64px; border-radius: var(--r-md); background: var(--c-primary-soft); color: var(--c-primary); font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; display: grid; place-items: center; }
.step__num::before { content: "0" counter(step); }

/* ---------- Coach ---------- */
.coach { display: grid; grid-template-columns: 320px 1fr; gap: var(--sp-12); align-items: center; }
.coach__photo { aspect-ratio: 4/5; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--c-primary), var(--c-primary-strong)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.coach__chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-6) 0; }
.chip { background: var(--c-surface-2); color: var(--c-fg-soft); padding: .4rem .9rem; border-radius: var(--r-pill); font-size: .88rem; font-weight: 500; }

/* ---------- Coach education banner ---------- */
.edu-banner { display: flex; align-items: center; gap: var(--sp-4); max-width: 780px; margin: 0 auto var(--sp-12); background: var(--c-primary-soft); border: 1px solid #d6e2fb; border-radius: var(--r-md); padding: var(--sp-4) var(--sp-6); }
.edu-banner svg { width: 30px; height: 30px; color: var(--c-primary); flex: none; }
.edu-banner p { color: var(--c-fg-soft); font-size: .98rem; line-height: 1.6; }
.edu-banner b { color: var(--c-primary-strong); font-weight: 700; }
@media (max-width: 600px) { .edu-banner { flex-direction: column; text-align: center; } }

/* ---------- Staff (coach grid) ---------- */
.staff-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--sp-4); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.staff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.staff-card__photo { aspect-ratio: 4/5; border-radius: var(--r-md); background: linear-gradient(160deg, #eaf1fb 0%, #d6e4f7 100%); position: relative; overflow: hidden; display: grid; place-items: center; margin-bottom: var(--sp-4); }
.staff-card__photo svg { width: 46%; height: 46%; color: rgba(29,78,216,.35); }
.staff-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #fff; }
.staff-card__photo svg.staff-illu { width: 100%; height: 100%; color: inherit; }
.coach__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; background: #fff; }

/* partners */
.partners { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); }
.partners figure { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); width: clamp(150px, 24vw, 210px); }
.partners img, .partners .partner-svg { width: 100%; height: clamp(76px, 11vw, 104px); object-fit: contain; opacity: .9; transition: opacity var(--dur) var(--ease); }
.partners img:hover, .partners figure:hover .partner-svg { opacity: 1; }
.partners figcaption { font-size: .82rem; color: var(--c-fg-muted); text-align: center; }
.staff-card__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.staff-card__name span { font-size: .9rem; color: var(--c-fg-muted); font-weight: 600; }
.staff-card__tag { display: inline-block; margin: .45rem 0 .65rem; background: var(--c-primary-soft); color: var(--c-primary); font-size: .76rem; font-weight: 700; letter-spacing: .01em; padding: .3rem .7rem; border-radius: var(--r-pill); }
.staff-card p { color: var(--c-fg-soft); font-size: .92rem; line-height: 1.6; }
.staff-card--lead .staff-card__photo { background: linear-gradient(160deg, #1e3a8a, #1d4ed8 60%, #38bdf8); }
.staff-card--lead .staff-card__tag { background: #1e3a8a; color: #fff; }
.staff-card--ops .staff-card__photo { background: linear-gradient(160deg, #0e7490, #06b6d4 60%, #38bdf8); }
.staff-card--ops .staff-card__tag { background: #ecfeff; color: #0e7490; }

/* ---------- Awards (대회 입상) ---------- */
.awards { max-width: 820px; margin: 0 auto; display: grid; gap: var(--sp-3); }
.award { display: flex; align-items: center; gap: var(--sp-5); background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-6); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.award:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.award__year { flex: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--c-primary); width: 56px; font-variant-numeric: tabular-nums; }
.award__body { flex: 1; }
.award__title { font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.award__who { font-size: .9rem; color: var(--c-fg-muted); margin-top: 2px; }
.award__ico { width: 30px; height: 30px; color: #f59e0b; flex: none; }
.awards-note { text-align: center; margin-top: var(--sp-6); font-size: .85rem; color: var(--c-fg-muted); }
@media (max-width: 560px) { .award { gap: var(--sp-4); padding: var(--sp-4); } .award__year { width: 44px; font-size: 1.05rem; } .award__ico { display: none; } }

/* award hero (coaches international title) */
.award-hero { max-width: 820px; margin: 0 auto var(--sp-8); display: flex; align-items: center; gap: var(--sp-5); background: linear-gradient(135deg, var(--c-primary-strong), var(--c-primary)); color: #fff; border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-8); box-shadow: var(--shadow-lg); }
.award-hero__ico { width: 44px; height: 44px; color: #ffd54a; flex: none; }
.award-hero__badge { display: inline-block; background: rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: .25rem .7rem; border-radius: var(--r-pill); margin-bottom: .45rem; }
.award-hero h3 { color: #fff; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.3; }
.award-hero p { color: rgba(255,255,255,.85); margin-top: .35rem; font-weight: 600; }

/* award groups (member placement lists) */
.award-groups { max-width: 900px; margin: 0 auto; display: grid; gap: var(--sp-4); }
.award-group { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-5) var(--sp-6); box-shadow: var(--shadow-sm); }
.award-group__head { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.award-group__head .award__year { width: auto; }
.award-group__head h3 { flex: 1 1 60%; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.award-group__count { font-size: .8rem; font-weight: 700; color: var(--c-primary); background: var(--c-primary-soft); padding: .25rem .6rem; border-radius: var(--r-pill); white-space: nowrap; }
.award-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: .5rem; }
.award-chip { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--c-fg-soft); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: .5rem .7rem; }
.award-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); flex: none; }

/* ---------- Location ---------- */
.loc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.loc-card__map { aspect-ratio: 4/3; background: var(--c-surface-2); position: relative; display: grid; place-items: center; color: var(--c-fg-muted); }
.loc-card__map svg { width: 48px; height: 48px; opacity: .5; }
.loc-card__body { padding: var(--sp-6) var(--sp-8) var(--sp-8); }
.loc-card__body h3 { margin-bottom: var(--sp-3); }
.loc-meta { display: grid; gap: .6rem; margin-top: var(--sp-4); }
.loc-meta li { display: flex; gap: .6rem; color: var(--c-fg-soft); align-items: flex-start; }
.loc-meta svg { width: 20px; height: 20px; color: var(--c-primary); flex: none; margin-top: 2px; }
.loc-card__map { position: relative; }
.loc-card__tag { position: absolute; left: var(--sp-4); top: var(--sp-4); z-index: 2; background: rgba(15,23,42,.82); color: #fff; font-size: .76rem; font-weight: 600; letter-spacing: .01em; padding: .4rem .8rem; border-radius: var(--r-pill); pointer-events: none; }
/* branch court photo */
.loc-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* naver map clickable card */
.loc-card__maplink { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; overflow: hidden; background: linear-gradient(150deg, #eef4ff 0%, #e2ecfb 55%, #dbeafe 100%); transition: filter var(--dur) var(--ease); }
.loc-card__maplink:hover { filter: brightness(.98) saturate(1.05); }
.loc-card__mapbg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; color: #b9cdee; }
.loc-card__pin { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; background: var(--c-primary); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(29,78,216,.32); }
.loc-card__pin svg { width: 28px; height: 28px; color: #fff; }
.loc-card__mapcta { position: absolute; z-index: 1; bottom: var(--sp-4); right: var(--sp-4); display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--c-primary-strong); font-weight: 700; font-size: .85rem; padding: .5rem .9rem; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.loc-card__mapcta .naver { width: 18px; height: 18px; border-radius: 4px; background: #03c75a; color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1; }

/* price box */
.price-box { margin-top: var(--sp-6); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-6) var(--sp-6); }
.price-box__head { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-fg-muted); padding-block: var(--sp-3); }
.price-list { display: grid; gap: .25rem; }
.price-list li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); padding: .55rem 0; border-top: 1px solid var(--c-border); }
.price-list li span { color: var(--c-fg-soft); }
.price-list li b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--c-fg); font-variant-numeric: tabular-nums; }
.price-list li b em { font-style: normal; font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--c-fg-muted); }
.price-list__hl { background: var(--c-primary-soft); margin: .15rem -0.6rem 0; padding-inline: .6rem; border-radius: var(--r-sm); border-top: none !important; }
.price-list__hl b { color: var(--c-primary); }
.price-note { margin-top: var(--sp-3); font-size: .82rem; color: var(--c-fg-muted); }
.value-line { margin-top: var(--sp-4); display: flex; gap: .55rem; align-items: flex-start; background: var(--c-primary-soft); border-radius: var(--r-sm); padding: .75rem .9rem; font-size: .9rem; line-height: 1.55; color: var(--c-fg-soft); }
.value-line svg { width: 20px; height: 20px; color: var(--c-primary); flex: none; margin-top: 1px; }
.value-line b { color: var(--c-primary-strong); font-weight: 700; }
.event-badge { display: inline-block; margin-left: .35rem; background: #fef3c7; color: #b45309; font-size: .66rem; font-weight: 700; letter-spacing: .02em; padding: .15rem .45rem; border-radius: var(--r-pill); vertical-align: middle; }

/* time grid (별내점) */
.time-grid { margin-top: var(--sp-6); display: grid; grid-template-columns: auto 1fr; gap: .4rem var(--sp-4); align-items: baseline; }
.time-grid span { color: var(--c-primary); font-weight: 700; font-size: .9rem; }
.time-grid b { font-variant-numeric: tabular-nums; color: var(--c-fg); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 20%, rgba(56,189,248,.35), transparent 60%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); flex-wrap: wrap; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: var(--sp-3); max-width: 46ch; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, var(--sp-12)); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-6); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .req { color: var(--c-danger); margin-left: 2px; }
.field .hint { font-size: .82rem; color: var(--c-fg-muted); }
.input, .select, .textarea {
  width: 100%; font: inherit; color: var(--c-fg); background: #fff;
  border: 1.5px solid var(--c-border-strong); border-radius: var(--r-sm);
  padding: .8rem .95rem; min-height: 48px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(29,78,216,.16); }
.textarea { min-height: 130px; resize: vertical; }
.field[data-invalid="true"] .input,
.field[data-invalid="true"] .select,
.field[data-invalid="true"] .textarea { border-color: var(--c-danger); }
.field__error { font-size: .82rem; color: var(--c-danger); min-height: 1.1em; }
.radio-row, .check-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pill-input { position: relative; }
.pill-input input { position: absolute; opacity: 0; pointer-events: none; }
.pill-input span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem; border: 1.5px solid var(--c-border-strong); border-radius: var(--r-pill); font-weight: 500; color: var(--c-fg-soft); transition: all var(--dur) var(--ease); }
.pill-input input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pill-input input:focus-visible + span { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.form-note { font-size: .85rem; color: var(--c-fg-muted); }
.form-error { display: none; margin-bottom: var(--sp-4); padding: .85rem 1rem; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--r-sm); color: var(--c-danger); font-weight: 500; font-size: .92rem; }
.form-error[data-show="true"] { display: block; }
.form-success {
  display: none; align-items: center; gap: .75rem; padding: 1rem 1.2rem;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: var(--r-md); color: #065f46; font-weight: 600;
}
.form-success svg { width: 24px; height: 24px; color: var(--c-success); flex: none; }
.form-success[data-show="true"] { display: flex; }

/* google form embed */
.form-card--embed { padding: var(--sp-4); }
.gform { width: 100%; min-height: 1100px; border: 0; border-radius: var(--r-md); background: #fff; }
@media (max-width: 760px) { .gform { min-height: 1300px; } }

/* ---------- Footer ---------- */
.footer { background: #0b1220; color: #cbd5e1; padding-block: var(--sp-16) var(--sp-8); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-12); }
.footer .brand { color: #fff; }
.footer .brand b { color: var(--c-accent); }
.footer p { color: #94a3b8; margin-top: var(--sp-4); max-width: 38ch; font-size: .95rem; }
.footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #64748b; margin-bottom: var(--sp-4); }
.footer__links { display: grid; gap: .6rem; }
.footer__links a { color: #cbd5e1; font-size: .95rem; }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #1e293b; margin-top: var(--sp-12); padding-top: var(--sp-6); display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-size: .85rem; color: #64748b; }
.social { display: flex; gap: var(--sp-2); }
.social a { width: 42px; height: 42px; border-radius: 50%; background: #1e293b; display: grid; place-items: center; transition: background var(--dur) var(--ease); }
.social a:hover { background: var(--c-primary); }
.social svg { width: 20px; height: 20px; color: #fff; }

/* ---------- Testimonials ---------- */
.quote-card { display: flex; flex-direction: column; }
.quote-card .stars { display: flex; gap: 2px; margin-bottom: var(--sp-4); }
.quote-card .stars svg { width: 20px; height: 20px; color: #f59e0b; }
.quote-card blockquote { font-size: 1.05rem; line-height: 1.7; color: var(--c-fg); }
.quote-card figcaption { margin-top: var(--sp-6); display: flex; flex-direction: column; }
.quote-card figcaption b { font-weight: 700; }
.quote-card figcaption span { font-size: .85rem; color: var(--c-fg-muted); }

/* ---------- Reviews marquee ---------- */
.marquee { overflow: hidden; padding-block: var(--sp-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; align-items: flex-start; gap: var(--sp-6); width: max-content; animation: marqueeScroll 90s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .quote-card { width: 340px; flex: none; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.marquee .quote-card blockquote { font-size: .98rem; line-height: 1.6; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .marquee .quote-card { width: 280px; } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee { overflow-x: auto; } }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: var(--sp-3); }
.faq__item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.faq__item[open] { border-color: var(--c-border-strong); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.15rem 1.4rem; font-weight: 600; font-size: 1.05rem; color: var(--c-fg);
  min-height: 56px; transition: color var(--dur) var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-primary); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--c-primary); border-radius: 2px; transition: transform var(--dur) var(--ease); }
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__body { padding: 0 1.4rem 1.3rem; }
.faq__body p { color: var(--c-fg-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero { background: var(--c-surface); border-bottom: 1px solid var(--c-border); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.crumb { font-size: .85rem; color: var(--c-fg-muted); margin-bottom: var(--sp-3); }
.crumb a:hover { color: var(--c-primary); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero .lead { margin-top: var(--sp-4); max-width: 60ch; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero__visual { max-width: 420px; }
  .coach { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-1);
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--c-border); padding: var(--sp-4) var(--sp-6);
    box-shadow: var(--shadow-md);
  }
  .nav[data-open="true"] .nav__links a { padding: .85rem 1rem; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 52px 1fr; gap: var(--sp-4); }
  .step__num { width: 52px; height: 52px; font-size: 1.4rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
