/* ============================================================
   지혜간호학원 — 에르메스 오렌지 디자인 시스템 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:  linear-gradient(155deg, #3d1206 0%, #7d2510 40%, #c44020 75%, #e8541a 100%);
  --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; background: var(--grad-main);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--sh-orange);
}
.nav-logo-mark svg { width: 22px; height: 22px; fill: white; }
.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/upload_files/배경3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
/* 기존 그라디언트 오버레이 — 가독성 확보 */
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
 background: linear-gradient(
    90deg,
    rgba(255,252,249,.88) 0%,
    rgba(255,248,242,.78) 42%,
    rgba(255,244,236,.58) 72%,
    rgba(255,239,228,.42) 100%
  ),
  radial-gradient(
    ellipse at 18% 42%,
    rgba(255,255,255,.52) 0%,
    rgba(255,248,242,.18) 48%,
    transparent 72%
  ),
  radial-gradient(
    ellipse at 76% 22%,
    rgba(243,112,33,.05) 0%,
    transparent 52%
  );
}
.hero::after {
  content: '';
  position: absolute; width: 700px; height: 700px;
  right: -160px; top: -140px;
  background: radial-gradient(circle, rgba(248,158,110,.14) 0%, transparent 30%);
  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,248,242,.82); border: 1px solid rgba(243,112,33,.18);
  color: #7d2510; font-size: 12px; font-weight: 700;
  padding: 7px 16px; border-radius: var(--r-full); margin-bottom: 24px;
  backdrop-filter: blur(8px); letter-spacing: .3px;
  box-shadow: 0 6px 18px rgba(58,31,11,.06);
}
.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.8vw, 52px);
  font-weight: 700; color: var(--h-500);
  line-height: 1.2; letter-spacing: -.4px; margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(255,255,255,.55);
}
.hero h1 em { font-style: normal; color: #3A1F0B; }

.hero-desc {
  font-size: 16px; color: rgba(58,31,11,.78);
  line-height: 1.9; margin-bottom: 36px;
  font-weight: 500;
}

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

.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--h-500); color: white;
  padding: 15px 28px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 800;
  box-shadow: 0 10px 28px rgba(232,84,26,.30); transition: var(--tr);
  min-height: 50px;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--h-600); box-shadow: 0 14px 34px rgba(232,84,26,.38); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.80); color: #3A1F0B;
  padding: 15px 28px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 800;
  border: 1.5px solid rgba(243,112,33,.28); transition: var(--tr);
  box-shadow: 0 8px 22px rgba(58,31,11,.08);
  min-height: 50px;
}
.btn-outline:hover { background: white; border-color: rgba(243,112,33,.50); transform: translateY(-2px); }

/* Hero 통계 */
.hero-stats {
  display: flex; gap: 0;
  background: rgba(255,248,242,.84);
  border: 1px solid rgba(243,112,33,.12);
  border-radius: var(--r-xl); overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 38px rgba(58,31,11,.10);
}
.hero-stat {
  flex: 1; padding: 18px 12px; text-align: center;
  border-right: 1px solid rgba(243,112,33,.10);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-size: 22px; font-weight: 900; color: var(--h-500);
  line-height: 1; margin-bottom: 5px;
  font-family: var(--font-serif);
}
.hero-stat-label { font-size: 10px; color: rgba(58,31,11,.58); letter-spacing: .2px; font-weight: 600; }

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

.hero-card {
  background: rgba(255,248,242,.82);
  border: 1px solid rgba(243,112,33,.14);
  border-radius: var(--r-xl); padding: 20px 22px;
  backdrop-filter: blur(14px); transition: var(--tr-slow);
  box-shadow: 0 12px 34px rgba(58,31,11,.10);
}
.hero-card:hover { background: rgba(255,252,249,.92); transform: translateX(5px); box-shadow: 0 16px 42px rgba(58,31,11,.14); }
.hero-card-row { display: flex; align-items: center; gap: 15px; }
.hero-card-icon {
  width: 46px; height: 46px; border-radius: var(--r-lg);
  background: rgba(243,112,33,.10); display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
  color: var(--h-500);
}
.hero-card-title { font-size: 13.5px; font-weight: 800; color: #3A1F0B; margin-bottom: 4px; }
.hero-card-desc  { font-size: 11.5px; color: rgba(58,31,11,.62); line-height: 1.55; font-weight: 500; }
.hero-card-stat  {
  margin-left: auto; text-align: right; flex-shrink: 0;
  font-size: 24px; font-weight: 900; color: var(--h-500);
  font-family: var(--font-serif);
}
.hero-card-stat span { display: block; font-size: 9px; font-weight: 600; color: rgba(58,31,11,.50); 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); }
  .hero-visual .hero-card:last-child { grid-column: 1 / -1; }
}
@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(243,112,33,.10); }
  .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: 24px;
  margin-bottom: 24px;
}

.branch-card-img { display: none; }

.branch-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  background: #fff;
  border: 1px solid rgba(232, 84, 26, .16);
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(85, 45, 22, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.branch-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 84, 26, .32);
  box-shadow: 0 24px 60px rgba(85, 45, 22, .14);
}

.branch-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 86px;
  background: linear-gradient(135deg, #fff3ea 0%, #fffaf5 20%, #ffffff 50%);
  z-index: 0;
}

.branch-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(232, 84, 26, .08);
  z-index: 0;
}

.branch-body {
  position: relative;
  z-index: 1;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.branch-region {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(232, 84, 26, .14);
  color: var(--h-600);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(232, 84, 26, .08);
}

.branch-name {
  margin-bottom: 12px;
  color: var(--text-h);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.branch-meta {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(120, 82, 60, .14);
}

.branch-meta span {
  color: var(--text-m);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.branch-desc {
  margin: 0 0 22px;
  color: var(--text-s);
  font-size: 13.5px;
  line-height: 1.85;
  word-break: keep-all;
  flex: 1;
}

.branch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff7f1;
  border: 1px solid rgba(232, 84, 26, .18);
  color: var(--h-600);
  font-size: 11px;
  font-weight: 800;
}

.branch-btns {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-branch {
  flex: 1;
  min-height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn-branch-fill {
  color: #fff;
  background: linear-gradient(135deg, #f15a24 0%, #e8541a 60%, #c94217 100%);
  box-shadow: 0 12px 24px rgba(232, 84, 26, .24);
}

.btn-branch-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(232, 84, 26, .32);
}

.btn-branch-ghost {
  color: var(--text-b);
  background: #fffaf5;
  border: 1px solid rgba(120, 82, 60, .24);
}

.btn-branch-ghost:hover {
  background: #fff3ea;
  color: var(--h-600);
  border-color: rgba(232, 84, 26, .28);
}

.branch-card-featured {
  border-color: rgba(232, 84, 26, .32);
  box-shadow: 0 20px 55px rgba(232, 84, 26, .13);
}

@media (max-width: 980px) {
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
 .branch-card {
  height: 320px;
  }
}

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

  .branch-card { min-height: auto; }

  .branch-body { padding: 26px 22px 22px; }

  .branch-name { font-size: 21px; }

  .branch-btns { flex-direction: column; }
}
/* ═══════════════════════════════
   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: 480px) {
   .str-grid { grid-template-columns: repeat(3, 1fr); }
    .str-grid .str-card:nth-child(4) {
    grid-column: 1 / 2;
    transform: translateX(50%);
    }

  .str-grid .str-card:nth-child(5) {
    grid-column: 2 / 3;
    transform: translateX(50%);
   }
  }
@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: var(--grad-hero); }

.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: rgba(255,255,255,.58); margin-bottom: 3px; }
.contact-ch-val   { font-size: 15.5px; font-weight: 700; color: white; }

/* 폼 박스 */
.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: #fde5d4; }
.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; }
}
/* ── 이널싱 바로가기 카드: 지점 카드와 분리 ── */
.branch-card-enursing {
  position: relative;
  overflow: hidden;
  background:  radial-gradient(circle at 88% 18%, rgba(70,127,215,.16) 0 58px, transparent 60px),
    radial-gradient(circle at 72% 42%, rgba(232,84,26,.06) 0 42px, transparent 44px),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #fff8f2 100%);
  border: 1.5px solid rgba(70,127,215,.28);
  box-shadow:0 18px 48px rgba(70,127,215,.14),
    0 8px 24px rgba(232,84,26,.08);
}

.branch-card-enursing:hover {
  transform: translateY(-8px);
  border-color: rgba(70,127,215,.48);
  box-shadow:0 24px 64px rgba(70,127,215,.20),
    0 12px 28px rgba(232,84,26,.10);
}

.branch-card-enursing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #467fd7 0%, #6aa5ff 55%, #e8541a 100%);
  z-index: 2;
}

.branch-card-enursing::after {
  content: "▶";
  position: absolute;
  right: 26px;
  top: 46px;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #467fd7, #1f63c7);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 16px 34px rgba(70,127,215,.28);
  opacity: .92;
}

.enursing-glow {
  position: absolute;
  right: -48px;
  top: -48px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(70,127,215,.10);
  pointer-events: none;
}

.enursing-body {
  position: relative;
  z-index: 3;
  padding: 30px 28px 28px;
}

.enursing-kicker {
width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  background: rgba(70,127,215,.10);
  border: 1px solid rgba(70,127,215,.22);
  color: #2f68bd;
}

.enursing-title {
  color: #164d9d;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.enursing-title span {
  font-size: .72em;
  font-weight: 850;
  color: #467fd7;
}

.enursing-desc {
  max-width: 78%;
  margin: 0 0 22px;
  color: #000;
  font-size: 13.5px;
  line-height: 1.85;
  word-break: keep-all;
}

.enursing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.enursing-chips span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(70,127,215,.20);
  color: #2f68bd;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(70,127,215,.08);
}

.enursing-btns {
  margin-top: auto;
}

.btn-enursing {
  width: 100%;
  min-height: 52px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #467fd7 0%, #2567c9 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(70,127,215,.28);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn-enursing:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(70,127,215,.36);
  background: linear-gradient(135deg, #3e78d3 0%, #1f5fc1 100%);
}

/* 이널싱 카드 내부에서는 기존 지점 버튼/칩 스타일 영향 최소화 */
.branch-card-enursing .branch-btns,
.branch-card-enursing .branch-chips,
.branch-card-enursing .branch-region,
.branch-card-enursing .branch-name,
.branch-card-enursing .branch-desc {
  all: unset;
}

@media (max-width: 560px) {
  .branch-card-enursing::after {
    right: 22px;
    top: 82px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 20px;
  }

  .enursing-body {
    padding: 28px 24px 24px;
  }

  .enursing-title {
    font-size: 27px;
  }

  .enursing-desc {
    max-width: 100%;
    padding-right: 52px;
  }
}
/* ═══════════════════════════════
   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(3, 1fr); gap: 20px; }
.curriculum-card {
  background: white; border: 1px solid rgba(232,84,26,.1);
  border-radius: var(--r-xl); padding: 22px 20px;
  position: relative; overflow: hidden; transition: var(--tr);
}
.curriculum-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(232,84,26,.24); }
.curriculum-step {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--h-500); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; margin-bottom: 12px;
}
.curriculum-title    { font-size: 14.5px; font-weight: 800; color: var(--text-h); margin-bottom: 6px; }
.curriculum-desc     { font-size: 13px; color: var(--text-s); line-height: 1.72; margin-bottom: 12px; }
.curriculum-duration {
  display: inline-block; background: var(--h-50); color: var(--h-600);
  font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: var(--r-full);
}
@media (max-width: 768px) { .curriculum-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .curriculum-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════
   TEACHERS GRID
═══════════════════════════════ */
.teachers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.teacher-card {
  background: white; border: 1px solid rgba(232,84,26,.1);
  border-radius: var(--r-xl); padding: 28px 20px; text-align: center; transition: var(--tr);
}
.teacher-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(232,84,26,.24); }
.teacher-avatar {
  width: 72px; height: 72px; 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);
}
.teacher-name    { font-size: 14.5px; font-weight: 800; color: var(--text-h); margin-bottom: 6px; }
.teacher-subject {
  display: inline-block; background: var(--h-50); color: var(--h-600);
  font-size: 11.5px; font-weight: 600; padding: 3px 12px;
  border-radius: var(--r-full); margin-bottom: 9px;
}
.teacher-career  { font-size: 12px; color: var(--text-m); line-height: 1.7; }
@media (max-width: 768px) { .teachers-grid { grid-template-columns: repeat(2, 1fr); } }
@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: 200px;
  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: var(--grad-hero); 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: white; line-height: 1.28; margin-bottom: 14px; margin-top: 10px;
}
.contact-info .contact-title span { color: #fde5d4; }
.contact-desc { font-size: 14.5px; color: rgba(255,255,255,.72); 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,.1); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-xl); padding: 15px 20px; transition: var(--tr);
  min-height: 68px;
}
.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: rgba(255,255,255,.58); }
.contact-channel-value { font-size: 15px; font-weight: 700; color: white; }
.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 {
  background: var(--grad-main); border-radius: var(--r-2xl);
  height: 250px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.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;
  }
}
