/* ============================================================
   지혜간호학원 — 에르메스 오렌지 디자인 시스템 v5.0
   크림/오렌지 배경 · 에르메스 딥오렌지 포인트 · 모바일 퍼스트
   Hermès Orange: #E8541A / #D4470F / #F4793B / Cream: #FDF6EE
   ============================================================ */

/* ── 디자인 토큰 ── */
:root {
  /* === 에르메스 오렌지 팔레트 === */
  --h-950:  #3d1206;
  --h-900:  #5c1a08;
  --h-800:  #7d2510;
  --h-700:  #a33318;
  --h-600:  #c44020;
  --h-500:  #e8541a;   /* 에르메스 시그니처 오렌지 */
  --h-400:  #f4793b;
  --h-300:  #f89e6e;
  --h-200:  #fbc8a8;
  --h-100:  #fde5d4;
  --h-50:   #fff4ee;

  /* === 크림 / 웜 뉴트럴 === */
  --cream:      #fdf6ee;
  --cream-dark: #f7ead8;
  --warm-white: #fffcf9;
  --parchment:  #f0e6d3;

  /* === 골드 / 브론즈 (에르메스 패키징 참고) === */
  --gold:       #c9943a;
  --gold-light: #e8c97a;
  --gold-pale:  #fdf3dc;

  /* === 다크 브라운 (에르메스 텍스트/가죽) === */
  --brown-900: #1a0a04;
  --brown-800: #2d1508;
  --brown-700: #45200d;
  --brown-600: #5c2d12;
  --brown-500: #7a3d1a;

  /* === 뉴트럴 그레이 === */
  --white:     #ffffff;
  --gray-50:   #fafaf9;
  --gray-100:  #f5f0eb;
  --gray-200:  #e8e0d8;
  --gray-300:  #d0c4b8;
  --gray-400:  #a8978a;
  --gray-500:  #7a6a5e;
  --gray-600:  #564840;
  --gray-700:  #3d322c;
  --gray-800:  #281e18;
  --gray-900:  #16100c;

  /* === 텍스트 === */
  --text-h: #3A1F0B;   /* 딥브라운 — 제목 */
  --text-b:  rgba(58,31,11,.7);   /* 브라운 — 본문 */
  --text-s:  #5c4030;   /* 미디엄 브라운 — 서브 */
  --text-m:  #9c7a6a;   /* 라이트 브라운 — 보조 */
  --border:  #e8d8c8;
  --border-md: #d4c0a8;

  /* === 시맨틱 === */
  --teal:      #0d8f7a;
  --teal-pale: #e0f5f2;
  --success:   #2d7a4a;
  --warn:      #c44020;

  /* === 그라디언트 (에르메스 오렌지) === */
  --grad-hero:  #fff;
  --grad-main:  linear-gradient(135deg, #c44020, #e8541a);
  --grad-dark:  linear-gradient(135deg, #3d1206, #5c1a08);
  --grad-warm:  linear-gradient(135deg, #fff4ee, #fde5d4);
  --grad-cream: linear-gradient(180deg, #fdf6ee, #f7ead8);
  --grad-gold:  linear-gradient(135deg, #c9943a, #e8c97a);

  /* === 타이포그래피 === */
  --font-sans:  'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Noto Serif KR', 'Georgia', serif;

  /* === 그림자 (오렌지/브라운 tint) === */
  --sh-xs:    0 1px 3px rgba(61,18,6,.06);
  --sh-sm:    0 4px 12px rgba(61,18,6,.08);
  --sh-md:    0 8px 28px rgba(61,18,6,.10);
  --sh-lg:    0 16px 48px rgba(61,18,6,.12);
  --sh-xl:    0 24px 64px rgba(61,18,6,.14);
  --sh-orange:    0 6px 24px rgba(232,84,26,.28);
  --sh-orange-lg: 0 12px 40px rgba(232,84,26,.40);

  /* === 반경 === */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-3xl:  40px;
  --r-full: 9999px;

  /* === 전환 === */
  --tr:      all .22s cubic-bezier(.4,0,.2,1);
  --tr-slow: all .38s cubic-bezier(.4,0,.2,1);

  /* === 레거시 호환 === */
  --primary:    #e8541a;
  --blue:       #e8541a;
  --blue-pale:  #fff4ee;
  --blue-mid:   #f4793b;
  --navy:       #3d1206;
  --navy-60:    #7d2510;
  --navy-80:    #5c1a08;
  --off-white:  #fdf6ee;
  --bg-light:   #faf5f0;
  --text-main:  #2d1508;
  --text-sub:   #5c4030;
  --text-muted: #9c7a6a;
  --sh-blue:    var(--sh-orange);
  --sh-blue-lg: var(--sh-orange-lg);
  --grad-blue:  var(--grad-main);
  --grad-green: var(--grad-main);
  --sh-green:   var(--sh-orange);
  --sh-green-lg: var(--sh-orange-lg);
  --green-50:   #fff4ee;
  --green-100:  #fde5d4;
  --green-700:  #c44020;
  --green-800:  #a33318;
  --green-900:  #5c1a08;
  --green-600:  #e8541a;
  --green-500:  #f4793b;
}

/* ═══════════════════════════════
   RESET & BASE
═══════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-b);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ═══════════════════════════════
   LAYOUT
═══════════════════════════════ */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

@media (max-width: 768px) {
  .container  { padding: 0 16px; }
  .section    { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
}
@media (max-width: 480px) {
  .section    { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
}

/* ═══════════════════════════════
   NAVBAR — 에르메스 크림 클린
═══════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(253,246,238,.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,84,26,.12);
  transition: var(--tr);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(61,18,6,.09);
  border-bottom-color: transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1160px; margin: 0 auto; padding: 0 24px;
}

/* 로고 */
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  flex-shrink: 0; overflow: hidden;
  box-shadow: var(--sh-orange);
}
.nav-logo-mark img { width: 40px; height: 40px; object-fit: cover; border-radius: 12px; display: block; }
.nav-logo-name { font-size: 16px; font-weight: 800; color: var(--text-h); letter-spacing: -.3px; line-height: 1.2; }
.nav-logo-sub  { font-size: 10px; font-weight: 500; color: var(--text-m); letter-spacing: .2px; }

/* 데스크톱 링크 */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-full);
  font-size: 13.5px; font-weight: 500; color: var(--text-s); transition: var(--tr);
}
.nav-links a:hover { color: var(--h-600); background: var(--h-50); }
.nav-cta-btn {
  background: var(--h-500) !important;
  color: white !important;
  box-shadow: var(--sh-orange);
  padding: 9px 20px !important;
  font-weight: 700 !important;
  border-radius: var(--r-full) !important;
}
.nav-cta-btn:hover {
  background: var(--h-600) !important;
  box-shadow: var(--sh-orange-lg) !important;
  transform: translateY(-1px);
}

/* 햄버거 */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: 10px; border-radius: var(--r-md); background: transparent; transition: var(--tr);
  min-width: 44px; min-height: 44px; align-items: center;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-h); border-radius: 2px; transition: var(--tr); }
.nav-hamburger:hover { background: var(--h-50); }

/* 모바일 메뉴 */
.mobile-nav {
  display: none; flex-direction: column; background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  overflow: hidden; max-height: 0;
  transition: max-height .32s ease, opacity .28s ease; opacity: 0;
  position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
}
.mobile-nav.open { max-height: 480px; opacity: 1; }
.mobile-nav a {
  padding: 15px 22px; font-size: 15px; font-weight: 500;
  color: var(--text-b); border-bottom: 1px solid var(--gray-100); transition: var(--tr);
  min-height: 52px; display: flex; align-items: center;
}
.mobile-nav a:hover { background: var(--h-50); color: var(--h-600); }
.mobile-nav-cta {
  margin: 12px 16px 16px !important; border-radius: var(--r-lg) !important;
  background: var(--h-500) !important; color: white !important;
  text-align: center; font-weight: 700 !important;
  padding: 16px 22px !important; border-bottom: none !important;
  justify-content: center !important;
  box-shadow: var(--sh-orange);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav { display: flex; }
}

/* ═══════════════════════════════
   NOTICE BAR — 에르메스 딥브라운
═══════════════════════════════ */
.notice-bar {
  background: var(--brown-700); color: white;
  padding: 10px 0; margin-top: 68px; overflow: hidden;
}
.notice-bar-inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.notice-bar-tag {
  background: rgba(255,255,255,.18); font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: var(--r-full); letter-spacing: .5px;
  white-space: nowrap; color: white; flex-shrink: 0;
}
.notice-bar-text { font-size: 13px; font-weight: 400; line-height: 1.5; }

@media (max-width: 480px) {
  .notice-bar-text { font-size: 12px; }
}

/* ═══════════════════════════════
   HERO — 에르메스 오렌지 시그니처
═══════════════════════════════ */
.hero {
  background: var(--grad-hero);
  padding: 88px 0 108px; position: relative; overflow: hidden;
}
/* 강의실 배경 이미지 레이어 (opacity 70%) */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/static/hero-classroom.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
/* 기존 그라디언트 오버레이 — 가독성 확보 */
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  linear-gradient(
    145deg,
    rgba(255,248,242,.92) 0%,
    rgba(255,244,236,.88) 35%,
    rgba(255,239,228,.82) 70%,
    rgba(255,232,214,.76) 100%
  ),
  radial-gradient(
    ellipse at 75% 20%,
    rgba(243,112,33,.06) 0%,
    transparent 55%
  ),
  radial-gradient(
    ellipse at 20% 85%,
    rgba(255,190,140,.05) 0%,
    transparent 50%
  );
}
.hero::after {
  content: '';
  position: absolute; width: 700px; height: 700px;
  right: -160px; top: -140px;
  background: radial-gradient(circle, rgba(248,158,110,.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

/* 에르메스 가죽 텍스처 패턴 오버레이 */
.hero-texture {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.012) 0px,
    rgba(255,255,255,.012) 1px,
    transparent 1px,
    transparent 12px
  );
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}

/* Hero 텍스트 */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92); font-size: 12px; font-weight: 600;
  padding: 7px 16px; border-radius: var(--r-full); margin-bottom: 24px;
  backdrop-filter: blur(8px); letter-spacing: .3px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fbc8a8; animation: blink 2.2s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 700; color: white;
  line-height: 1.2; letter-spacing: -.4px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: #3a1f0b; }

.hero-desc {
  font-size: 16px; color: rgba(255,255,255,.72);
  line-height: 1.9; margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: white; color: var(--h-600);
  padding: 15px 28px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.18); transition: var(--tr);
  min-height: 50px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.24); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); color: white;
  padding: 15px 28px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.4); transition: var(--tr);
  min-height: 50px;
}
.btn-outline:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.75); transform: translateY(-2px); }

/* Hero 통계 */
.hero-stats {
  display: flex; gap: 0;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl); overflow: hidden;
  backdrop-filter: blur(12px);
}
.hero-stat {
  flex: 1; padding: 18px 12px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-size: 22px; font-weight: 900; color: white;
  line-height: 1; margin-bottom: 5px;
  font-family: var(--font-serif);
}
.hero-stat-label { font-size: 10px; color: rgba(255,255,255,.52); letter-spacing: .2px; }

/* Hero 우측 비주얼 카드 */
.hero-visual { display: flex; flex-direction: column; gap: 14px; }

.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-xl); padding: 20px 22px;
  backdrop-filter: blur(12px); transition: var(--tr-slow);
}
.hero-card:hover { background: rgba(255,255,255,.17); transform: translateX(5px); }
.hero-card-row { display: flex; align-items: center; gap: 15px; }
.hero-card-icon {
  width: 46px; height: 46px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.16); display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
}
.hero-card-title { font-size: 13.5px; font-weight: 700; color: white; margin-bottom: 4px; }
.hero-card-desc  { font-size: 11.5px; color: rgba(255,255,255,.62); line-height: 1.55; }
.hero-card-stat  {
  margin-left: auto; text-align: right; flex-shrink: 0;
  font-size: 24px; font-weight: 900; color: #fde5d4;
  font-family: var(--font-serif);
}
.hero-card-stat span { display: block; font-size: 9px; font-weight: 400; color: rgba(255,255,255,.5); font-family: var(--font-sans); }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .hero { padding: 64px 0 80px; }
  .hero h1 { font-size: clamp(28px, 7vw, 42px); }
  .hero-desc { font-size: 14.5px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { justify-content: center; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { min-width: 50%; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-stat:nth-child(2), .hero-stat:nth-child(4) { border-right: none; }
  .hero-visual { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════
   SECTION HEADER
═══════════════════════════════ */
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-eyebrow {
  display: inline-block; background: var(--h-50); color: var(--h-600);
  font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 16px; border-radius: var(--r-full);
  border: 1px solid rgba(232,84,26,.18); margin-bottom: 14px;
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700; color: var(--text-h); line-height: 1.28; margin-bottom: 14px;
}
.sec-desc { font-size: 15.5px; color: var(--text-s); line-height: 1.85; }

.sec-tag { display: inline-block; background: var(--h-50); color: var(--h-600);
  font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 16px; border-radius: var(--r-full);
  border: 1px solid rgba(232,84,26,.18); margin-bottom: 14px; }

/* ═══════════════════════════════
   BRANCH CARDS — 에르메스 크림 스타일
═══════════════════════════════ */
.branches { background: var(--cream); }

.branch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 22px;
}
.branch-grid-row2 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 780px; margin: 0 auto;
}

.branch-card {
  background: white; border-radius: var(--r-2xl);
  overflow: hidden; border: 1px solid rgba(232,84,26,.12);
  box-shadow: var(--sh-xs); transition: var(--tr-slow);
  display: flex; flex-direction: column;
}
.branch-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
  border-color: rgba(232,84,26,.28);
}

.branch-card-img {
  height: 130px; position: relative; overflow: hidden;
}
.branch-card-img-bg {
  position: absolute; inset: 0; transition: transform .5s ease;
}
.branch-card:hover .branch-card-img-bg { transform: scale(1.07); }

/* 각 지점 고유 그라디언트 — 에르메스 팔레트 */
.bc-mia     .branch-card-img-bg { background: linear-gradient(135deg, #3d1206, #c44020); }
.bc-cheong  .branch-card-img-bg { background: linear-gradient(135deg, #3d1206, #a33318 45%, #e8541a); }
.bc-busan   .branch-card-img-bg { background: linear-gradient(135deg, #5c1a08, #c44020 55%, #7d2510); }
.bc-suyu    .branch-card-img-bg { background: linear-gradient(135deg,rgba(255,248,242,.88) 0%, rgba(255,243,234,.74) 45%, rgba(255,232,216,.52) 100%); }
.bc-songnae .branch-card-img-bg { background: linear-gradient(135deg, #3d1206, #e8541a 55%, #c9943a); }

.branch-card-img-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='90' cy='25' r='40' fill='rgba(255,255,255,0.06)'/%3E%3Ccircle cx='25' cy='90' r='30' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") no-repeat right top;
}

.branch-card-img-inner {
  position: relative; z-index: 1; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px; height: 100%; justify-content: flex-end;
}
.branch-img-tag {
  display: inline-block; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.26); color: white;
  font-size: 10px; font-weight: 600; padding: 3px 11px;
  border-radius: var(--r-full); width: fit-content;
}
.branch-img-loc { font-size: 11px; color: rgba(255,255,255,.72); }

.branch-body {
  padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px;
}
.branch-region { font-size: 10px; font-weight: 600; color: var(--text-m); letter-spacing: .6px; text-transform: uppercase; }
.branch-name   { font-size: 17px; font-weight: 800; color: var(--text-h); line-height: 1.25; }
.branch-desc   { font-size: 13px; color: var(--text-s); line-height: 1.75; flex: 1; }

.branch-chips  { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 10px; font-weight: 600;
  background: var(--h-50); color: var(--h-600);
  padding: 3px 10px; border-radius: var(--r-full);
  border: 1px solid rgba(232,84,26,.16);
}

.branch-btns { display: flex; gap: 8px; margin-top: 2px; }
.btn-branch {
  flex: 1; text-align: center;
  padding: 11px 10px; border-radius: var(--r-lg);
  font-size: 12.5px; font-weight: 600; transition: var(--tr);
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.btn-branch-fill  { background: var(--h-500); color: white; box-shadow: var(--sh-orange); }
.btn-branch-fill:hover  { background: var(--h-600); box-shadow: var(--sh-orange-lg); transform: translateY(-1px); }
.btn-branch-ghost { background: var(--gray-100); color: var(--text-b); border: 1px solid var(--border-md); }
.btn-branch-ghost:hover { background: var(--h-50); color: var(--h-600); border-color: rgba(232,84,26,.22); }

@media (max-width: 980px)  { .branch-grid { grid-template-columns: repeat(2, 1fr); } .branch-grid-row2 { grid-template-columns: repeat(2, 1fr); max-width: 100%; } }
@media (max-width: 560px)  { .branch-grid, .branch-grid-row2 { grid-template-columns: 1fr; } }

/* ═══════════════════════════════
   STRENGTHS — 에르메스 크림 스타일
═══════════════════════════════ */
.strengths { background: white; }

.str-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.str-card {
  background: var(--cream); border: 1px solid rgba(232,84,26,.1);
  border-radius: var(--r-2xl); padding: 30px 20px;
  text-align: center; transition: var(--tr-slow);
  position: relative; overflow: hidden;
}
.str-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-main); transform: scaleX(0);
  transition: transform .3s ease; transform-origin: left;
}
.str-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(232,84,26,.25); background: white; }
.str-card:hover::after { transform: scaleX(1); }

.str-icon-wrap {
  width: 56px; height: 56px; background: var(--h-50);
  border-radius: var(--r-xl); display: flex; align-items: center;
  justify-content: center; font-size: 26px; margin: 0 auto 14px; transition: var(--tr);
}
.str-card:hover .str-icon-wrap { background: var(--h-500); }

.str-num   { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--h-500); line-height: 1; margin-bottom: 6px; }
.str-title { font-size: 13.5px; font-weight: 800; color: var(--text-h); margin-bottom: 8px; }
.str-desc  { font-size: 12px; color: var(--text-m); line-height: 1.7; }

@media (max-width: 1040px) { .str-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .str-grid { grid-template-columns: repeat(2, 1fr); } .str-card:last-child { grid-column: 1 / -1; max-width: 270px; margin: 0 auto; } }

/* ═══════════════════════════════
   PROCESS
═══════════════════════════════ */
.process { background: linear-gradient(135deg, #fff4ee, #fde5d4); }

.process-steps {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}

.process-step {
  background: white; border-radius: var(--r-xl); padding: 24px 14px;
  text-align: center; border: 1px solid rgba(232,84,26,.1);
  transition: var(--tr); box-shadow: var(--sh-xs); position: relative;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(232,84,26,.25); }

.process-icon-wrap {
  width: 50px; height: 50px; background: var(--h-50); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 auto 12px;
  border: 2px solid white; box-shadow: 0 0 0 2px rgba(232,84,26,.18);
}
.process-step-num   { font-size: 9px; font-weight: 700; color: var(--h-500); letter-spacing: .6px; margin-bottom: 4px; }
.process-step-title { font-size: 13.5px; font-weight: 800; color: var(--text-h); margin-bottom: 5px; }
.process-step-desc  { font-size: 11px; color: var(--text-m); line-height: 1.6; }

@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════
   REVIEWS
═══════════════════════════════ */
.reviews { background: var(--cream); }

.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.rev-card {
  background: white; border: 1px solid rgba(232,84,26,.1);
  border-radius: var(--r-2xl); padding: 28px 24px;
  position: relative; overflow: hidden; transition: var(--tr-slow);
}
.rev-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(232,84,26,.22); }
.rev-quote-mark {
  position: absolute; top: 12px; right: 18px;
  font-size: 72px; font-family: Georgia, serif;
  color: var(--h-50); line-height: 1; pointer-events: none;
}
.rev-stars   { font-size: 13px; color: #f59e0b; margin-bottom: 12px; letter-spacing: 2px; }
.rev-text    { font-size: 13.5px; color: var(--text-s); line-height: 1.85; margin-bottom: 20px; position: relative; z-index: 1; }
.rev-footer  { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--gray-100); padding-top: 16px; }
.rev-avatar  {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-main); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.rev-info    { flex: 1; }
.rev-name    { font-size: 13.5px; font-weight: 700; color: var(--text-h); }
.rev-branch  { font-size: 11.5px; color: var(--text-m); margin-top: 2px; }
.rev-badge   { background: var(--h-500); color: white; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); white-space: nowrap; }

@media (max-width: 960px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .rev-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════
   CONTACT SECTION (메인) — 에르메스 딥오렌지
═══════════════════════════════ */
.contact-sec { background: linear-gradient(155deg, #3d1206 0%, #7d2510 40%, #c44020 75%, #e8541a 100%); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 500px; gap: 60px; align-items: start;
}
.contact-eyebrow {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.92);
  font-size: 11px; font-weight: 700;
  padding: 5px 16px; border-radius: var(--r-full);
  margin-bottom: 18px; letter-spacing: .5px;
}
.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700; color: #fff; line-height: 1.28; margin-bottom: 16px;
}
.contact-title span { color: #45200d; }
.contact-body { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.88; margin-bottom: 32px; }

.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.contact-ch {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-xl); padding: 16px 20px; transition: var(--tr);
  min-height: 70px;
}
.contact-ch:hover { background: rgba(255,255,255,.18); transform: translateX(5px); }
.contact-ch-icon {
  width: 44px; height: 44px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.ch-phone  { background: rgba(255,220,180,.22); }
.ch-kakao  { background: rgba(250,204,21,.22); }
.ch-clock  { background: rgba(255,180,120,.2); }
.contact-ch-label { font-size: 11.5px; color: #fff; margin-bottom: 3px; }
.contact-ch-val   { font-size: 15.5px; font-weight: 700; color: #fff; }

/* 폼 박스 */
.form-box {
  background: white; border-radius: var(--r-2xl);
  padding: 36px 32px; box-shadow: var(--sh-xl);
}
.form-box-title { font-size: 19px; font-weight: 800; color: var(--text-h); margin-bottom: 4px; }
.form-box-sub   { font-size: 12.5px; color: var(--text-m); margin-bottom: 24px; }
.form-row { margin-bottom: 15px; }
.form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-b); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-lg);
  border: 1.5px solid var(--border-md); font-family: var(--font-sans);
  font-size: 14px; color: var(--text-h); background: var(--cream);
  transition: var(--tr); outline: none; -webkit-appearance: none;
  min-height: 50px;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--h-500); background: white;
  box-shadow: 0 0 0 3px rgba(232,84,26,.1);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-select   { cursor: pointer; }
.btn-submit {
  width: 100%; padding: 15px;
  background: var(--h-500); color: white;
  border-radius: var(--r-xl); font-size: 15px; font-weight: 700;
  box-shadow: var(--sh-orange); transition: var(--tr); margin-top: 6px;
  min-height: 52px;
}
.btn-submit:hover { background: var(--h-600); box-shadow: var(--sh-orange-lg); transform: translateY(-2px); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.form-note { font-size: 11.5px; color: var(--text-m); text-align: center; margin-top: 12px; line-height: 1.6; }

@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .form-box { padding: 28px 22px; } }

/* ═══════════════════════════════
   FOOTER — 에르메스 딥브라운
═══════════════════════════════ */
.footer { background: var(--brown-800); color: var(--gray-400); padding: 64px 0 28px; }

.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-mark {
  width: 38px; height: 38px; background: var(--grad-main);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
}
.footer-logo-mark svg { width: 20px; height: 20px; fill: white; }
.footer-logo-name { font-size: 16px; font-weight: 800; color: white; }
.footer-brand-desc { font-size: 13px; color: var(--gray-500); line-height: 1.85; margin-bottom: 20px; }
.footer-sns { display: flex; gap: 8px; }
.footer-sns-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr); color: var(--gray-400);
}
.footer-sns-btn:hover { background: var(--h-500); border-color: var(--h-500); color: white; }
.footer-col-title { font-size: 11px; font-weight: 700; color: white; letter-spacing: .6px; margin-bottom: 16px; text-transform: uppercase; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 13px; color: #fff; transition: var(--tr); }
.footer-links a:hover { color: var(--h-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: var(--gray-600); }
.footer-policies { display: flex; gap: 16px; }
.footer-policies a { font-size: 12px; color: var(--gray-600); transition: var(--tr); }
.footer-policies a:hover { color: var(--gray-300); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ═══════════════════════════════
   FLOATING CTA
═══════════════════════════════ */
.floating-cta { position: fixed; right: 18px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; z-index: 900; }
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md); transition: var(--tr);
  text-decoration: none; cursor: pointer; border: none;
}
.fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: var(--sh-lg); }
.fab-call  { background: var(--h-500); color: white; }
.fab-kakao { background: #fee500; color: #3c1e1e; }
.fab-totop { background: white; color: var(--h-500); border: 1.5px solid var(--border-md); font-size: 16px; opacity: .4; transition: opacity .3s, transform .22s; }

@media (max-width: 480px) {
  .floating-cta { right: 14px; bottom: 18px; }
  .fab { width: 48px; height: 48px; }
}

/* ═══════════════════════════════
   DETAIL HERO (지점 상세 페이지)
═══════════════════════════════ */
.detail-hero {
  padding: 100px 0 56px; position: relative; overflow: hidden; margin-top: 68px;
}
.detail-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 10%, rgba(255,200,140,.06) 0%, transparent 55%);
}
.detail-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.58);
  margin-bottom: 16px; position: relative; z-index: 1;
  flex-wrap: wrap;
}
.detail-breadcrumb a:hover { color: white; }
.detail-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.92); font-size: 12.5px; font-weight: 600;
  padding: 7px 16px; border-radius: var(--r-full);
  margin-bottom: 16px; backdrop-filter: blur(8px); position: relative; z-index: 1;
}
.detail-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 46px);
  color: white; font-weight: 700; margin-bottom: 14px;
  position: relative; z-index: 1; line-height: 1.22;
}
.detail-hero h1 span { color: #FF9000; }
.detail-hero-desc {
  font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.88;
  max-width: 600px; margin-bottom: 24px; position: relative; z-index: 1;
}
.detail-hero-info {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; position: relative; z-index: 1;
}
.detail-hero-info-item {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.9); font-size: 12.5px; font-weight: 500;
  padding: 8px 16px; border-radius: var(--r-full); backdrop-filter: blur(6px);
  min-height: 38px; display: flex; align-items: center;
}
.hero-btn-row { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; color: var(--h-600);
  padding: 13px 26px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.18); transition: var(--tr); position: relative; z-index: 1;
  min-height: 48px;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.24); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); color: white;
  padding: 13px 26px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.4); transition: var(--tr); position: relative; z-index: 1;
  min-height: 48px;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.75); transform: translateY(-2px); }

.btn-back {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 13px 22px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 500;
  border: 1.5px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.78);
  transition: var(--tr); position: relative; z-index: 1;
  min-height: 48px;
}
.btn-back:hover { background: rgba(255,255,255,.16); color: white; }

@media (max-width: 580px) {
  .detail-hero { padding: 88px 0 48px; }
  .hero-btn-row { flex-direction: column; }
  .hero-btn-row a { text-align: center; justify-content: center; }
  .btn-hero-primary, .btn-hero-secondary, .btn-back { padding: 13px 20px; }
}

/* PASS BANNER */
.pass-banner {
  background: white; border: 1px solid rgba(232,84,26,.15);
  border-radius: var(--r-xl); padding: 20px 28px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: var(--sh-md); position: relative; overflow: hidden;
}
.pass-banner::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--grad-main);
}
.pass-banner-icon { font-size: 34px; flex-shrink: 0; }
.pass-banner-text { flex: 1; }
.pass-banner-title { font-size: 15.5px; font-weight: 800; color: var(--text-h); margin-bottom: 3px; }
.pass-banner-desc  { font-size: 13px; color: var(--text-m); }
.pass-banner-num   { font-size: 34px; font-weight: 900; font-family: var(--font-serif); color: var(--h-500); line-height: 1; text-align: right; flex-shrink: 0; }
.pass-banner-num span { display: block; font-size: 10px; font-weight: 500; color: var(--text-m); font-family: var(--font-sans); margin-top: 3px; }

@media (max-width: 580px) {
  .pass-banner { padding: 16px 20px; gap: 14px; flex-wrap: wrap; }
  .pass-banner-num { font-size: 28px; }
}

/* ═══════════════════════════════
   TAB NAVIGATION
═══════════════════════════════ */
.tab-nav {
  display: flex; gap: 0; overflow-x: auto;
  border-bottom: 2px solid var(--border); margin-bottom: 40px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 14px 18px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--text-m);
  border-bottom: 2.5px solid transparent; margin-bottom: -2px;
  background: transparent; cursor: pointer; transition: var(--tr); flex-shrink: 0;
  min-height: 48px; display: flex; align-items: center;
}
.tab-btn:hover  { color: var(--h-500); }
.tab-btn.active { color: var(--h-500); border-bottom-color: var(--h-500); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

@media (max-width: 560px) {
  .tab-btn { font-size: 12.5px; padding: 12px 14px; }
}

/* ═══════════════════════════════
   CURRICULUM GRID
═══════════════════════════════ */
.curriculum-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
  }

  .curriculum-track{
    background:#fff;
    border:1px solid rgba(232,84,26,.12);
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
  }

  .track-header{
    padding:24px;
    border-bottom:1px solid rgba(232,84,26,.08);
    background:linear-gradient(
      180deg,
      #fffaf5 0%,
      #ffffff 100%
    );
  }

  .track-badge{
    display:inline-block;
    padding:6px 14px;
    border-radius:999px;
    background:#fff3eb;
    color:#e8541a;
    font-size:12px;
    font-weight:700;
  }

  .track-header h3{
    margin-top:12px;
    font-size:22px;
    font-weight:800;
  }

  .timeline{
    padding:24px;
  }

  .timeline-item{
    position:relative;
    padding-left:48px;
    padding-bottom:24px;
  }

  .timeline-item::before{
    content:"";
    position:absolute;
    left:10px;
    top:6px;
    width:14px;
    height:14px;
    border-radius:50%;
    background:#e8541a;
  }

  .timeline-item::after{
    content:"";
    position:absolute;
    left:16px;
    top:20px;
    width:2px;
    height:100%;
    background:#f2d8cd;
  }

  .timeline-item:last-child::after{
    display:none;
  }

  .month{
    font-size:18px;
    font-weight:800;
    color:#2d1c16;
    margin-bottom:4px;
  }

  .content{
    font-size:14px;
    color:#666;
    line-height:1.7;
  }
/* ═══════════════════════════════
   TEACHERS GRID
═══════════════════════════════ */
/* ── 강사 그리드 & 카드 v2 ── */
.teachers-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; align-items: stretch;
}
.teacher-card {
  background: white; border: 1.5px solid rgba(232,84,26,.1);
  border-radius: 20px; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
}
.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(232,84,26,.14);
  border-color: rgba(232,84,26,.3);
}
/* 상단 항상 표시 영역 */
.teacher-card-top { padding: 28px 22px 20px; text-align: center; flex: 1; }
/* teacher-card-top 없는 구조(미아점): 직계 자식에 패딩 */
.teacher-card > .teacher-avatar { margin-top: 28px; }
.teacher-card > .teacher-name,
.teacher-card > .teacher-subject,
.teacher-card > .teacher-career { padding: 0 22px; }
.teacher-card > .teacher-career { padding-bottom: 20px; flex: 1; }
.teacher-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--grad-main); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; margin: 0 auto 14px;
  box-shadow: var(--sh-orange); overflow: hidden;
}
.teacher-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teacher-name    { font-size: 15.5px; font-weight: 800; color: var(--text-h); margin-bottom: 8px; }
.teacher-subject {
  display: inline-block; color: var(--h-600);
  font-size: 11.5px; font-weight: 700; padding: 4px 13px;
  border-radius: var(--r-full); margin-bottom: 14px;
}
.teacher-career-brief {
  list-style: none; padding: 0; margin: 0; text-align: left;
}
.teacher-career-brief li {
  font-size: 12.5px; color: var(--text-m); line-height: 1.7;
  padding-left: 14px; position: relative;
}
.teacher-career-brief li::before {
  content: '·'; position: absolute; left: 3px; color: var(--h-400);
}
/* 구분선 */
.teacher-divider { height: 1px; background: rgba(232,84,26,.08); margin: 0; }
/* 더보기 버튼 */
.teacher-more-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 13px 0;
  background: var(--h-50); border: none; border-top: none;
  color: var(--h-600); font-size: 12.5px; font-weight: 800;
  cursor: pointer; transition: background .22s, color .22s;
}
.teacher-more-btn:hover,
.teacher-more-btn:focus-visible {
  background: var(--h-100); color: var(--h-700); outline: none;
}
.teacher-more-btn .arrow {
  display: inline-block; transition: transform .32s ease; font-size: 10px;
}
.teacher-card.expanded .teacher-more-btn .arrow { transform: rotate(180deg); }
/* 슬라이드 확장 영역 */
.teacher-detail {
  max-height: 0; overflow: hidden;
  transition: max-height .42s cubic-bezier(.4,0,.2,1);
}
.teacher-card.expanded .teacher-detail { max-height: 640px; }
.teacher-detail-inner {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(232,84,26,.08);
}
.teacher-detail-group { margin-bottom: 14px; }
.teacher-detail-group:last-child { margin-bottom: 0; }
.teacher-detail-label {
  font-size: 11.5px; font-weight: 800; color: var(--h-600);
  margin-bottom: 5px; letter-spacing: .02em;
}
.teacher-detail-items { list-style: none; padding: 0; margin: 0; }
.teacher-detail-items li {
  font-size: 12px; color: var(--text-m); line-height: 1.75;
  padding-left: 12px; position: relative;
}
.teacher-detail-items li::before {
  content: '–'; position: absolute; left: 0; color: var(--h-300);
}
/* 반응형 */
@media (max-width: 1024px) { .teachers-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .teachers-grid { grid-template-columns: 1fr; } }
.teacher-modal-open { overflow: hidden; }
.teacher-modal {
  position: fixed; inset: 0; z-index: 1200;
  display: none; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity .2s ease;
}
.teacher-modal.open { display: flex; opacity: 1; }
.teacher-modal-backdrop {
  position: absolute; inset: 0; background: rgba(17,24,39,.56);
}
.teacher-modal-panel {
  position: relative; z-index: 1; width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 40px)); overflow-y: auto;
  background: white; border: 1px solid rgba(232,84,26,.14);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  padding: 28px; -webkit-overflow-scrolling: touch;
}
.teacher-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border: 1px solid var(--border);
  border-radius: 50%; background: white; color: var(--text-h);
  font-size: 24px; line-height: 1; cursor: pointer; transition: var(--tr);
}
.teacher-modal-close:hover,
.teacher-modal-close:focus-visible {
  background: var(--h-50); color: var(--h-600); outline: none;
}
.teacher-modal-header {
  display: grid; grid-template-columns: 263px 1fr; gap: 24px;
  align-items: start; margin-bottom: 22px;
}
.teacher-modal-copy { padding-top: 8px; }
.teacher-modal-kicker {
  font-size: 12px; font-weight: 800; color: var(--h-600);
  margin-bottom: 8px;
}
.teacher-modal-avatar {
  width: 263px; height: 263px; max-width: 100%; border-radius: 20px;
  overflow: hidden; margin: 0;
  background: var(--grad-main); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 900; box-shadow: var(--sh-orange);
}
.teacher-modal-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.teacher-modal-name {
  font-size: 24px; font-weight: 900; color: var(--text-h);
  margin: 0 44px 6px 0; text-align: left;
}
.teacher-modal-subject {
  display: inline-flex; align-items: center;
  background: var(--h-50); color: var(--h-600);
  font-size: 12px; font-weight: 800; padding: 5px 12px;
  border-radius: var(--r-full); margin-bottom: 18px;
}
.teacher-modal-summary {
  color: var(--text-s); font-size: 14px; line-height: 1.85;
  margin-bottom: 0;
}
.teacher-modal-section-title {
  font-size: 13px; font-weight: 900; color: var(--text-h);
  margin-bottom: 9px;
}
.teacher-modal-list {
  display: grid; gap: 8px; margin: 0; padding: 0; list-style: none;
}
.teacher-modal-list li {
  position: relative; padding-left: 14px;
  color: var(--text-m); font-size: 13.5px; line-height: 1.7;
}
.teacher-modal-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--h-500);
}
@media (max-width: 768px) { .teachers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .teacher-modal-header { grid-template-columns: 1fr; gap: 16px; }
  .teacher-modal-copy { padding-top: 0; }
}
@media (max-width: 520px) {
  .teacher-avatar { width: 96px; height: 96px; }
  .teacher-modal { padding: 14px; align-items: flex-end; }
  .teacher-modal-panel {
    max-height: calc(100vh - 28px); border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: 24px 20px;
  }
  .teacher-modal-avatar { width: min(263px, 100%); height: min(263px, calc(100vw - 68px)); }
  .teacher-modal-name { font-size: 21px; }
}
@media (max-width: 380px) { .teachers-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════
   TUITION TABLE
═══════════════════════════════ */
.tuition-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tuition-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; min-width: 600px; }
.tuition-table th { background: var(--brown-700); color: white; padding: 14px 16px; font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; }
.tuition-table td { padding: 14px 16px; font-size: 13.5px; color: var(--text-b); border-top: 1px solid var(--gray-100); }
.tuition-table tbody tr:hover { background: var(--h-50); }
.tuition-table tbody tr:first-child td { border-top: none; }

/* ═══════════════════════════════
   REVIEW CARDS (상세 페이지)
═══════════════════════════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: white; border: 1px solid rgba(232,84,26,.1);
  border-radius: var(--r-xl); padding: 24px 20px; position: relative; transition: var(--tr);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--sh-sm); }
.review-quote { position: absolute; top: 12px; right: 16px; font-size: 56px; color: var(--h-50); font-family: Georgia, serif; line-height: 1; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-main); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.review-info   { flex: 1; }
.review-name   { font-size: 13.5px; font-weight: 700; color: var(--text-h); }
.review-branch { font-size: 11.5px; color: var(--text-m); }
.review-pass   { background: var(--h-500); color: white; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-full); white-space: nowrap; }
.review-stars  { font-size: 13px; color: #f59e0b; margin-bottom: 9px; letter-spacing: 1.5px; }
.review-text   { font-size: 13px; color: var(--text-s); line-height: 1.8; }
@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════
   MAP BOX
═══════════════════════════════ */
.map-box {
  background: var(--h-50); border: 1px solid rgba(232,84,26,.12);
  border-radius: var(--r-xl); height: 250px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.map-content { text-align: center; padding: 20px; }
.map-icon    { font-size: 46px; margin-bottom: 10px; }
.map-address { font-size: 14.5px; font-weight: 700; color: var(--text-h); margin-bottom: 4px; }
.map-sub     { font-size: 12.5px; color: var(--text-m); }
.btn-map {
  display: inline-block; margin-top: 14px;
  background: var(--h-500); color: white;
  padding: 10px 22px; border-radius: var(--r-lg);
  font-size: 13.5px; font-weight: 600; transition: var(--tr);
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.btn-map:hover { background: var(--h-600); transform: translateY(-1px); }

/* ═══════════════════════════════
   NOTICE LIST
═══════════════════════════════ */
.notice-list { display: flex; flex-direction: column; gap: 3px; }
.notice-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-lg);
  background: var(--cream); border: 1px solid rgba(232,84,26,.08); transition: var(--tr);
  min-height: 52px;
}
.notice-item:hover { background: var(--h-50); border-color: rgba(232,84,26,.18); }
.notice-type { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); white-space: nowrap; flex-shrink: 0; }
.notice-type.new    { background: #fde5d4; color: #7d2510; }
.notice-type.event  { background: #fef3c7; color: #92400e; }
.notice-type.notice { background: var(--h-50); color: var(--h-600); }
.notice-title-txt   { font-size: 13.5px; color: var(--text-b); flex: 1; font-weight: 500; }
.notice-date        { font-size: 11.5px; color: var(--text-m); white-space: nowrap; flex-shrink: 0; }

@media (max-width: 480px) {
  .notice-item { flex-wrap: wrap; gap: 8px; }
  .notice-date { width: 100%; text-align: right; }
}

/* ═══════════════════════════════
   CONTACT SECTION (지점 상세)
═══════════════════════════════ */
.contact-section { background: linear-gradient(155deg, #F3F9FD 0%, #E4F2FA 40%, #CEE7F4 75%, #B8DBEE 100%); padding: 80px 0; }
.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .5px; padding: 5px 16px; border-radius: var(--r-full); margin-bottom: 10px;
}
.contact-info .contact-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700; color: #000; line-height: 1.28; margin-bottom: 14px; margin-top: 10px;
}
.contact-info .contact-title span { color: #E8541A; }
.contact-desc { font-size: 14.5px; color: #000; line-height: 1.88; margin-bottom: 28px; }
.contact-channels-detail { display: flex; flex-direction: column; gap: 11px; }
.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;

    background: rgba(255, 255, 255, .42);
    border: 1px solid rgba(255, 255, 255, .55);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: var(--r-xl);
    padding: 15px 20px;
    transition: var(--tr);
    min-height: 68px;
    box-shadow: 0 8px 24px rgba(80, 120, 160, .08);
}
.contact-channel:hover { background: rgba(255,255,255,.18); transform: translateX(5px); }
.contact-channel-icon { width: 42px; height: 42px; border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-channel-info { flex: 1; }
.contact-channel-label { font-size: 11.5px; color: #000; }
.contact-channel-value { font-size: 15px; font-weight: 700; color: #000; }
.contact-form-box { background: white; border-radius: var(--r-2xl); padding: 32px 28px; box-shadow: var(--sh-xl); }
.contact-form-title { font-size: 18px; font-weight: 800; color: var(--text-h); margin-bottom: 4px; }
.contact-form-sub   { font-size: 12.5px; color: var(--text-m); margin-bottom: 22px; }
.form-group { margin-bottom: 13px; }
.btn-form-submit {
  width: 100%; padding: 15px;
  background: var(--h-500); color: white;
  border-radius: var(--r-xl); font-size: 15px; font-weight: 700;
  box-shadow: var(--sh-orange); transition: var(--tr); margin-top: 6px;
  min-height: 52px;
}
.btn-form-submit:hover { background: var(--h-600); box-shadow: var(--sh-orange-lg); transform: translateY(-2px); }

@media (max-width: 1000px) {
  .contact-section .contact-grid-detail,
  .contact-section > .container > div[style*="grid-template-columns"] {
    display: block !important;
  }
  .contact-section > .container > div > .contact-info { margin-bottom: 32px; }
}
@media (max-width: 580px) {
  .contact-form-box { padding: 24px 18px; }
}

/* ═══════════════════════════════
   INFO 그리드
═══════════════════════════════ */
.info-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-stat-box {
  background: var(--cream); border-radius: var(--r-lg); padding: 14px 16px;
  border: 1px solid rgba(232,84,26,.08);
}
.info-stat-label { font-size: 11px; color: var(--text-m); margin-bottom: 4px; }
.info-stat-val   { font-size: 14px; font-weight: 700; color: var(--text-h); }
.branch-visual {
  border-radius: var(--r-2xl);
  height: 250px;
  position: relative; overflow: hidden;
}
/* ── 슬라이더 래퍼 ── */
.branch-slider {
  position: relative; width: 100%; height: 100%;
  border-radius: var(--r-2xl); overflow: hidden;
}
.branch-slider-track {
  display: flex; height: 100%;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.branch-slider-slide {
  min-width: 100%; height: 100%; flex-shrink: 0;
  position: relative;
}
.branch-slider-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: var(--r-2xl);
  pointer-events: none;
}
/* 좌우 화살표 */
.branch-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 34px; height: 34px;
  background: rgba(0,0,0,.38); border: none; border-radius: 50%;
  color: white; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.branch-slider-btn:hover { background: rgba(0,0,0,.65); }
.branch-slider-btn.prev { left: 10px; }
.branch-slider-btn.next { right: 10px; }
/* 슬라이드가 1장이면 버튼 숨김 */
.branch-slider[data-count="1"] .branch-slider-btn { display: none; }
/* 닷 인디케이터 */
.branch-slider-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.branch-slider-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: none; cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.branch-slider-dot.active { background: white; transform: scale(1.3); }
/* 슬라이드 1장이면 닷도 숨김 */
.branch-slider[data-count="1"] .branch-slider-dots { display: none; }
/* ── 기존 내부 텍스트 (하위 호환 유지) ── */
.branch-visual-inner { text-align: center; position: relative; z-index: 1; }
.branch-visual-icon  { font-size: 68px; margin-bottom: 12px; }
.branch-visual-name  { color: white; font-size: 17.5px; font-weight: 700; }
.branch-visual-loc   { color: rgba(255,255,255,.7); font-size: 12.5px; margin-top: 5px; }
.highlight-box {
  background: var(--h-50); border: 1px solid rgba(232,84,26,.14);
  border-radius: var(--r-lg); padding: 14px 18px;
  font-size: 13.5px; color: var(--h-600); font-weight: 600;
  margin-top: 16px; line-height: 1.7;
}
.transport-item {
  display: flex; gap: 14px; padding: 14px 16px; background: var(--cream);
  border-radius: var(--r-lg); border: 1px solid rgba(232,84,26,.08); margin-bottom: 8px;
  transition: var(--tr);
}
.transport-item:hover { background: var(--h-50); }
.transport-item-icon { font-size: 24px; flex-shrink: 0; }
.transport-item-title { font-size: 13.5px; font-weight: 700; color: var(--text-h); }
.transport-item-desc  { font-size: 13px; color: var(--text-m); margin-top: 3px; line-height: 1.6; }

@media (max-width: 768px) { .info-grid-2 { grid-template-columns: 1fr; gap: 24px; } }

/* ═══════════════════════════════
   INFO MINI STATS
═══════════════════════════════ */
.info-mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 16px; text-align: center;
}
.info-mini-stat {
  background: var(--cream); border-radius: var(--r-lg); padding: 15px 8px;
  border: 1px solid rgba(232,84,26,.08);
}
.info-mini-num { font-size: 20px; font-weight: 900; color: var(--h-500); line-height: 1.2; }
.info-mini-lbl { font-size: 11px; color: var(--text-m); margin-top: 5px; }

/* ═══════════════════════════════
   REVIEW FOOTER
═══════════════════════════════ */
.review-footer {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--gray-100); padding-top: 13px; margin-top: 13px;
}
.review-footer .review-avatar { flex-shrink: 0; }
.review-footer div { flex: 1; }

/* ═══════════════════════════════
   FADE-IN 애니메이션
═══════════════════════════════ */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════
   HELPER CLASSES
═══════════════════════════════ */
@media (max-width: 600px) { .hidden-mobile { display: none; } }
.bg-light     { background: var(--cream); }
.bg-blue-pale { background: var(--h-50); }

/* ═══════════════════════════════
   추가 모바일 최적화
═══════════════════════════════ */
@media (max-width: 480px) {
  .nav-logo-sub        { display: none; }
  .hero-stats          { display: none; }
  .branch-grid         { grid-template-columns: 1fr; }
  .branch-grid-row2    { grid-template-columns: 1fr; }
  .str-grid            { grid-template-columns: 1fr 1fr; }
  .process-steps       { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .teachers-grid       { grid-template-columns: repeat(2, 1fr); }
  .info-mini-stats     { gap: 7px; }
  .info-mini-num       { font-size: 17px; }
  .tuition-table th,
  .tuition-table td    { font-size: 12px; padding: 11px 10px; }
  .tab-btn             { font-size: 12px; padding: 11px 12px; }
  .pass-banner         { flex-direction: column; text-align: center; }
  .pass-banner-num     { font-size: 30px; }
  .sec-header          { margin-bottom: 36px; }
  .form-box            { padding: 24px 18px; }
}

/* touch 디바이스 탭 스크롤 힌트 */
@media (max-width: 600px) {
  .tab-nav::after {
    content: '';
    position: sticky; right: 0;
    width: 32px; flex-shrink: 0;
    background: linear-gradient(to right, transparent, white);
    pointer-events: none;
  }
}
