/* ==========================================================================
   한국캐디교육원 — Design tokens
   ========================================================================== */
:root {
  --forest-950: #0b241b;
  --forest-900: #0f2f23;
  --forest-800: #143a2c;
  --forest-700: #1c4d3a;
  --forest-600: #256349;
  --forest-500: #2f7a5a;
  --gold-600: #a9793a;
  --gold-500: #c49a52;
  --gold-400: #d6b876;
  --gold-300: #e8cd94;
  --gold-100: #f3e6cb;
  --cream-50: #faf7f0;
  --cream-100: #f4efe3;
  --ivory-200: #ece4d2;
  --ink-950: #16180f;
  --ink-800: #2b2d22;
  --ink-600: #55584a;
  --ink-400: #86886f;
  --line: rgba(22, 24, 15, 0.1);
  --line-soft: rgba(250, 247, 240, 0.16);
  --shadow-sm: 0 2px 10px rgba(15, 20, 12, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 20, 12, 0.1);
  --shadow-lg: 0 24px 64px rgba(11, 36, 27, 0.18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--cream-50);
  color: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-600);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold-500);
}

.section {
  padding: 96px 0;
  position: relative;
  scroll-margin-top: 84px;
}
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.28;
  color: var(--forest-950, var(--ink-950));
  margin-top: 14px;
}
.section-sub {
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink-600);
  line-height: 1.7;
}
.accent { color: var(--forest-600); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--forest-700);
  color: var(--cream-50);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--forest-600); box-shadow: var(--shadow-md); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--forest-950);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { filter: brightness(1.08); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--cream-50);
  border: 1.5px solid var(--line-soft);
}
.btn-ghost:hover { background: rgba(250, 247, 240, 0.1); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink-950);
}
.btn-outline:hover { border-color: var(--forest-600); color: var(--forest-700); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 31px; letter-spacing: 0.05em; color: var(--cream-50); transition: color 0.3s; }
.site-header.scrolled .brand { color: var(--forest-900); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(250, 247, 240, 0.88);
  transition: color 0.2s;
  position: relative;
}
.site-header.scrolled .nav-links a { color: var(--ink-800); }
.nav-links a:hover { color: var(--gold-400); }
.site-header.scrolled .nav-links a:hover { color: var(--forest-600); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-tel {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14.5px;
  color: var(--cream-50);
}
.site-header.scrolled .header-tel { color: var(--forest-800); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: var(--forest-950); flex-direction: column; align-items: flex-start;
    padding: 100px 32px 32px; gap: 26px; transform: translateX(100%);
    transition: transform 0.35s var(--ease); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--cream-100); font-size: 17px; }
  /* the mobile drawer is always dark, so its links must stay light even
     after .site-header picks up .scrolled (which darkens links for the
     regular light desktop header) — otherwise the text goes dark-on-dark
     and disappears once the page has been scrolled. */
  .site-header.scrolled .nav-links a { color: var(--cream-100); }
  .site-header.scrolled .nav-links a:hover { color: var(--gold-400); }
  .header-tel { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; width: 28px; z-index: 110;
  }
  .nav-toggle span { height: 2px; background: var(--cream-50); border-radius: 2px; transition: 0.3s; }
  .site-header.scrolled .nav-toggle span { background: var(--forest-900); }
  /* once open, the button sits on top of the dark drawer panel (not the
     light scrolled header bar), so it needs to stay light too. */
  .site-header.scrolled .nav-toggle.open span { background: var(--cream-50); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(11,36,27,0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 99; }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
}

/* ==========================================================================
   Hero — scroll-expand video
   ========================================================================== */
.hero-expand {
  position: relative;
  color: var(--cream-50);
  overflow-x: hidden;
  background: var(--forest-950);
}
.hero-expand-bg { position: absolute; inset: 0; z-index: 0; }
.hero-expand-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-expand-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,24,17,0.74) 0%, rgba(11,24,17,0.5) 40%, rgba(9,26,19,0.9) 100%);
}
.hero-expand-stage {
  position: relative; z-index: 1;
  min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 96px 20px 40px;
  text-align: center;
}
.hero-expand-media {
  position: relative;
  width: 300px; height: 400px;
  max-width: 95vw; max-height: 82vh;
  margin-top: 24px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.hero-expand-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  /* scaled up from the top-left corner so the bottom-right corner (source
     watermark) is pushed past the box edge and clipped by overflow:hidden */
  transform: scale(1.3);
  transform-origin: 0% 0%;
}
.hero-expand-media .media-overlay {
  position: absolute; inset: 0;
  background: rgba(6, 18, 12, 0.42);
}
.hero-expand-title {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 0 14px; justify-content: center;
  font-size: clamp(24px, 4.4vw, 48px);
  font-weight: 800; line-height: 1.3;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-expand-title .part { display: inline-block; will-change: transform; }
.hero-expand-title .part.gold { color: var(--gold-400); }
.hero-expand-hint {
  margin-top: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250,247,240,0.6);
  display: flex; align-items: center; gap: 8px;
  transition: opacity 0.2s;
}

.hero-expand-content {
  position: relative; z-index: 1;
  padding: 0 20px 90px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.hero-expand-content.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hero-sub {
  margin-top: 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(250, 247, 240, 0.86);
}
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 1;
  margin-top: 56px;
  border-top: 1px solid var(--line-soft);
}
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat { padding: 26px 20px; text-align: center; border-right: 1px solid var(--line-soft); }
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; color: var(--gold-400); }
.hero-stat .lbl { margin-top: 6px; font-size: 13px; color: rgba(250,247,240,0.78); }
@media (max-width: 720px) {
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat { border-bottom: 1px solid var(--line-soft); }
}

/* ==========================================================================
   About / Job intro
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(250,247,240,0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
}
.about-badge .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--forest-800); color: var(--gold-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-badge .tt { font-weight: 700; font-size: 14px; color: var(--ink-950); }
.about-badge .ds { font-size: 12.5px; color: var(--ink-600); margin-top: 2px; }

.about-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.32; margin-top: 14px; }
.about-title .hi { color: var(--forest-600); }
.about-copy { margin-top: 18px; font-size: 16px; color: var(--ink-600); line-height: 1.85; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Tracks */
.tracks-head { margin-top: 88px; text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.tracks-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.track-card {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.track-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.track-card.featured { background: var(--forest-900); color: var(--cream-50); }
.track-level { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-600); background: var(--gold-100); padding: 5px 12px; border-radius: 999px; }
.track-card.featured .track-level { color: var(--forest-950); background: var(--gold-400); }
.track-name { margin-top: 16px; font-size: 24px; font-weight: 800; }
.track-list { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.track-list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-600); }
.track-card.featured .track-list li { color: rgba(250,247,240,0.86); }
.track-list li i { color: var(--forest-600); flex-shrink: 0; margin-top: 2px; }
.track-card.featured .track-list li i { color: var(--gold-400); }
.track-reco {
  margin-top: 26px; padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--ink-400);
}
.track-card.featured .track-reco { border-top-color: var(--line-soft); color: rgba(250,247,240,0.65); }
.track-reco b { color: var(--forest-700); font-weight: 700; }
.track-card.featured .track-reco b { color: var(--gold-400); }

@media (max-width: 800px) { .tracks-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Income
   ========================================================================== */
.income-section { background: var(--forest-950); color: var(--cream-50); }
.income-section .section-sub { color: rgba(250,247,240,0.72); }
.income-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.income-card {
  background: rgba(250,247,240,0.05);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.income-type { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-400); }
.income-level { margin-top: 10px; font-size: 13px; color: rgba(250,247,240,0.6); }
.income-range { margin-top: 14px; font-size: 21px; font-weight: 800; line-height: 1.35; }
.income-highlight {
  margin-top: 30px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  background: linear-gradient(120deg, rgba(196,154,82,0.16), rgba(196,154,82,0.04));
  border: 1px solid rgba(196,154,82,0.35);
  border-radius: var(--radius-md);
  padding: 26px 30px;
}
.income-highlight .hl-label { font-size: 13px; color: rgba(250,247,240,0.65); }
.income-highlight .hl-value { margin-top: 6px; font-size: 22px; font-weight: 800; color: var(--gold-400); }
.income-note { margin-top: 16px; font-size: 13px; color: rgba(250,247,240,0.5); }

@media (max-width: 900px) { .income-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .income-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Advantage grid (9 reasons)
   ========================================================================== */
.adv-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.adv-card:hover { border-color: var(--forest-500); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.adv-top { display: flex; align-items: flex-start; justify-content: space-between; }
.adv-num { font-family: inherit; font-size: 13px; font-weight: 800; color: var(--ivory-200); }
.adv-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--forest-800); color: var(--gold-400); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.adv-title { margin-top: 18px; font-size: 17px; font-weight: 800; line-height: 1.4; }
.adv-desc { margin-top: 10px; font-size: 14px; color: var(--ink-600); line-height: 1.7; }
.adv-tag { margin-top: 16px; display: inline-block; font-size: 12px; font-weight: 700; color: var(--forest-700); background: var(--ivory-200); padding: 5px 12px; border-radius: 999px; }

@media (max-width: 900px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Curriculum
   ========================================================================== */
.curriculum-section { background: var(--cream-100); }
.tab-switch {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  max-width: 100%;
  background: var(--cream-50);
  border: 1px solid var(--line);
  padding: 5px; border-radius: 999px;
  margin: 0 auto 44px;
}
@media (max-width: 480px) {
  .tab-switch button { padding: 10px 14px; font-size: 12.5px; }
}
.tab-switch button {
  padding: 11px 22px; border-radius: 999px; font-size: 14px; font-weight: 700;
  color: var(--ink-600); transition: 0.2s;
}
.tab-switch button.active { background: var(--forest-800); color: var(--cream-50); }

.curr-banner {
  background: var(--forest-800);
  color: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.curr-banner h3 { font-size: 22px; font-weight: 800; }
.curr-banner p { margin-top: 8px; font-size: 13.5px; color: rgba(250,247,240,0.82); max-width: 460px; line-height: 1.6; }
.curr-chips { display: flex; gap: 10px; }
.curr-chip { min-width: 78px; text-align: center; padding: 10px 14px; border: 1px solid var(--line-soft); border-radius: 12px; }
.curr-chip .v { font-size: 19px; font-weight: 800; }
.curr-chip .k { font-size: 10.5px; margin-top: 3px; color: rgba(250,247,240,0.7); }

.day-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.day-card { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.day-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--ivory-200); border-bottom: 1px solid var(--line); }
.day-num { width: 38px; height: 38px; border-radius: 50%; background: var(--forest-600); color: var(--cream-50); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.day-head .dtitle { font-weight: 800; font-size: 19px; }
.day-head .dtotal { font-size: 14px; color: var(--ink-400); margin-top: 2px; }
.day-body { padding: 18px 20px; }
.day-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 9px 0; }
.day-tag { font-size: 13.5px; font-weight: 800; padding: 4px 10px; border-radius: 6px; background: var(--gold-100); color: var(--gold-600); white-space: nowrap; }
.day-tag.ot { background: var(--forest-800); color: var(--cream-50); }
.day-item-title { font-size: 17px; color: var(--ink-800); margin-left: 10px; }
.day-item-main { display: flex; align-items: center; }
.day-item-hours { font-size: 15px; color: var(--ink-400); flex-shrink: 0; }
.day-task { margin-top: 12px; padding: 11px 15px; border: 1px dashed var(--gold-500); background: var(--gold-100); border-radius: 10px; font-size: 15.5px; color: var(--gold-600); }
.day-task b { font-weight: 800; }

@media (max-width: 800px) { .day-grid { grid-template-columns: 1fr; } }

.week-table { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.week-row { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 24px; border-bottom: 1px solid var(--line); }
.week-row:last-child { border-bottom: none; }
.week-badge { width: 48px; height: 48px; border-radius: 50%; background: var(--forest-100, var(--ivory-200)); color: var(--forest-700); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.week-items { display: flex; flex-direction: column; gap: 14px; }
.week-item:not(:last-child) { padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.week-item .wt { font-weight: 700; font-size: 14.5px; }
.week-item .wd { margin-top: 4px; font-size: 13px; color: var(--ink-600); line-height: 1.6; }
@media (max-width: 600px) { .week-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reviews — fan carousel
   ========================================================================== */
#reviews {
  background-image: linear-gradient(160deg, rgba(250,247,240,0.96), rgba(244,239,227,0.94)), url("images/fairway-dew-1.jpg");
  background-size: cover;
  background-position: center;
}
.review-fan {
  position: relative;
  max-width: 960px;
  width: 100%;
  margin: 56px auto 0;
  min-height: 460px;
  overflow-x: hidden;
}
.review-card {
  position: absolute;
  left: 50%; top: 50%;
  width: 260px; min-height: 340px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  cursor: default;
  user-select: none;
  /* static fallback fan spread in case JS/GSAP doesn't run */
  transform: translate(-50%, -50%);
}
.review-card:nth-child(1) { transform: translate(-50%,-50%) translate(-8.6rem, 3.4rem) rotate(-16deg) scale(0.84); z-index: 1; }
.review-card:nth-child(2) { transform: translate(-50%,-50%) translate(-4.3rem, 0.85rem) rotate(-8deg) scale(0.96); z-index: 2; }
.review-card:nth-child(3) { transform: translate(-50%,-50%) rotate(0deg) scale(1); z-index: 3; }
.review-card:nth-child(4) { transform: translate(-50%,-50%) translate(4.3rem, 0.85rem) rotate(8deg) scale(0.96); z-index: 2; }
.review-card:nth-child(5) { transform: translate(-50%,-50%) translate(8.6rem, 3.4rem) rotate(16deg) scale(0.84); z-index: 1; }
.review-card .quote-ic { font-size: 26px; color: var(--gold-500); }
.review-card .stars { margin-top: 10px; color: var(--gold-500); font-size: 12px; letter-spacing: 3px; }
.review-card .rv-text { margin-top: 14px; font-size: 13.5px; line-height: 1.75; color: var(--ink-800); flex: 1; }
.review-card .rv-name { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 700; color: var(--forest-700); }
.review-card .rv-name span { font-weight: 500; color: var(--ink-400); margin-left: 2px; }

@media (max-width: 480px) {
  .review-fan { min-height: 380px; }
  .review-card { width: 200px; min-height: 320px; padding: 20px 18px; }
  .review-card .rv-text { font-size: 12.5px; }
}

.review-nav {
  margin: 40px auto 0;
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.review-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest-950);
  color: var(--cream-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.review-arrow:hover { background: var(--forest-700); transform: scale(1.06); }
.review-dots { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--forest-950); }
.review-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(250,247,240,0.35); transition: all 0.25s var(--ease); cursor: pointer; }
.review-dot.active { width: 9px; height: 9px; background: var(--cream-50); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 24px 4px; text-align: left; font-size: 16px; font-weight: 700; color: var(--ink-950);
}
.faq-q i { color: var(--forest-600); transition: transform 0.25s var(--ease); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; font-size: 14.5px; color: var(--ink-600); line-height: 1.8; max-width: 760px; }
.faq-foot { margin-top: 28px; text-align: center; font-size: 13px; color: var(--ink-400); }

/* ==========================================================================
   Apply / Process / Contact
   ========================================================================== */
.apply-section { background: var(--cream-100); }
.process { margin-top: 72px; }
.process-title { font-size: 21px; font-weight: 800; text-align: center; }
.process-sub { margin-top: 8px; text-align: center; font-size: 14px; color: var(--ink-600); }
.steps { margin-top: 40px; display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step { display: flex; align-items: center; }
.step-node { display: flex; flex-direction: column; align-items: center; width: 150px; text-align: center; }
.step-circle { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--forest-300, var(--forest-500)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: var(--forest-700); background: var(--cream-50); }
.step.last .step-circle { background: var(--forest-700); border-color: var(--forest-700); color: var(--cream-50); }
.step-title { margin-top: 12px; font-weight: 700; font-size: 14.5px; }
.step-desc { margin-top: 4px; font-size: 12px; color: var(--ink-400); white-space: pre-line; line-height: 1.5; }
.step-line { width: 64px; height: 1.5px; background: var(--line); margin: 0 4px 46px; }
@media (max-width: 900px) {
  .steps { flex-direction: column; align-items: center; }
  .step { flex-direction: column; }
  .step-line { width: 1.5px; height: 30px; margin: 4px 0; }
}

.contact-bar {
  margin-top: 56px;
  background: linear-gradient(120deg, var(--forest-700), var(--forest-800));
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--cream-50);
}
.contact-items { display: flex; gap: 40px; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-item .ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(250,247,240,0.12); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-item .k { font-size: 12px; color: rgba(250,247,240,0.65); }
.contact-item .v { font-size: 16px; font-weight: 800; margin-top: 2px; }
.contact-item .v.small { font-size: 14px; font-weight: 600; }

/* Application form */
.form-wrap {
  margin-top: 88px;
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
}
.form-side {
  background: var(--forest-950);
  color: var(--cream-50);
  padding: 52px 44px;
  position: relative;
  background-image: linear-gradient(160deg, rgba(11,36,27,0.94), rgba(11,36,27,0.86)), url("images/fairway-dew-2.jpg");
  background-size: cover;
  background-position: center;
}
.form-side .eyebrow { color: var(--gold-400); }
.form-side h3 { margin-top: 16px; font-size: 26px; font-weight: 800; line-height: 1.4; }
.form-side p { margin-top: 16px; font-size: 14px; color: rgba(250,247,240,0.78); line-height: 1.8; }
.form-side-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-side-list li { display: flex; gap: 10px; font-size: 13.5px; color: rgba(250,247,240,0.85); }
.form-side-list i { color: var(--gold-400); }
.form-side-alt { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 12px; }

.form-main { padding: 52px 48px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; color: var(--ink-800); }
.field label .req { color: var(--gold-600); margin-left: 2px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink-950);
  background: var(--cream-50);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest-600);
}
.field textarea { resize: vertical; min-height: 96px; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex; align-items: center; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-600); transition: 0.2s;
}
.radio-pill input:checked + span { background: var(--forest-700); border-color: var(--forest-700); color: var(--cream-50); }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--ink-600); line-height: 1.7;
  background: var(--cream-100); border-radius: 10px; padding: 14px 16px; margin: 24px 0;
}
.consent input { margin-top: 3px; flex-shrink: 0; }
.consent a { color: var(--forest-700); text-decoration: underline; }
.form-msg { margin-top: 14px; font-size: 13.5px; display: none; padding: 12px 16px; border-radius: 10px; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e8f3ec; color: var(--forest-700); }
.form-msg.err { background: #fbeaea; color: #a13c3c; }

@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; }
  .form-side, .form-main { padding: 40px 28px; }
  .field-row { grid-template-columns: 1fr; }
}

/* Application modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(9, 20, 14, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.form-wrap.modal-card {
  position: relative;
  margin-top: 0;
  max-width: 980px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.show .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream-50);
  color: var(--ink-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: var(--ivory-200); transform: rotate(90deg); }
body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .modal-overlay { padding: 0; }
  .form-wrap.modal-card { max-height: 100dvh; height: 100dvh; border-radius: 0; }
}

/* Phone reveal popover */
.phone-popover {
  position: fixed; z-index: 300;
  background: var(--cream-50);
  color: var(--ink-950);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  width: 240px;
  opacity: 0; transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.phone-popover.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.phone-popover .lbl { font-size: 12px; color: var(--ink-400); font-weight: 700; letter-spacing: 0.06em; }
.phone-popover .num { margin-top: 6px; font-size: 22px; font-weight: 800; color: var(--forest-700); }
.phone-popover .row { margin-top: 14px; display: flex; gap: 8px; }
.phone-popover .row a, .phone-popover .row button {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 700;
  padding: 9px 8px; border-radius: 8px; border: 1px solid var(--line);
  color: var(--ink-800);
}
.phone-popover .row a.primary { background: var(--forest-700); border-color: var(--forest-700); color: var(--cream-50); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest-950); color: var(--ivory-200); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-soft); }
.footer-brand { font-size: 28px; font-weight: 800; color: var(--cream-50); letter-spacing: -0.01em; }
.footer-desc { margin-top: 16px; font-size: 13.5px; line-height: 1.8; color: rgba(236,228,210,0.7); max-width: 320px; }
.footer-kakao { margin-top: 22px; }
.footer-h { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: rgba(236,228,210,0.5); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(236,228,210,0.82); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-400); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; color: rgba(236,228,210,0.82); }
.footer-contact div b { display: block; color: rgba(236,228,210,0.5); font-weight: 600; font-size: 11.5px; margin-bottom: 3px; }
.footer-bottom { padding: 22px 0 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(236,228,210,0.5); }
.footer-bottom a { margin-left: 18px; color: rgba(236,228,210,0.6); }
.footer-bottom a:hover { color: var(--gold-400); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Floating Kakao button + reveal animation
   ========================================================================== */
.float-kakao {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: #FEE500; color: #191600;
  padding: 14px 18px; border-radius: 999px;
  font-weight: 800; font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
}
.float-kakao:hover { transform: translateY(-3px); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .about-badge { position: static; margin-top: 16px; }
}

@media (max-width: 640px) {
  .br-desktop { display: none; }
}
