/* =====================================================================
   GUGU 마사지 — "미드나잇 글래스" 프리미엄 디자인 시스템
   Pretendard + 디자인 토큰 + 글래스모피즘 컴포넌트 오버레이
   ===================================================================== */

@font-face {
  font-family: "Pretendard";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/woff2/PretendardVariable.woff2") format("woff2-variations");
}

/* ------------------------------------------------------------------ */
/* 1. 디자인 토큰 — 프리미엄 팔레트 (미드나잇 블루 그라데이션 + 글로우) */
/* ------------------------------------------------------------------ */
:root {
  /* 미드나잇 블루 베이스 */
  --c-abyss:      #04060f;
  --c-midnight:   #070b1d;
  --c-navy:       #0c1230;
  --c-navy-2:     #131a3f;
  --c-navy-3:     #1b2454;

  /* 글래스 표면 */
  --glass-bg:      rgba(255, 255, 255, 0.055);
  --glass-bg-2:    rgba(255, 255, 255, 0.085);
  --glass-border:  rgba(255, 255, 255, 0.12);
  --glass-border-2:rgba(255, 255, 255, 0.22);
  --glass-blur:    18px;

  /* 골드 / 샴페인 액센트 (가장 화려한 럭셔리 포인트) */
  --gold:         #e8c97a;
  --gold-soft:    #d8b863;
  --gold-deep:    #b9933f;
  --champagne:    #f4e6c1;

  /* 글로우 블루 */
  --glow-blue:    #5b8cff;
  --glow-cyan:    #6fe3ff;

  /* 텍스트 */
  --t-hi:    #f6f8ff;
  --t-mid:   #c3cbe8;
  --t-lo:    #8b94bd;
  --t-faint: #5d668e;

  /* 그라데이션 토큰 */
  --grad-page:   radial-gradient(1200px 720px at 78% -8%, rgba(91,140,255,.18), transparent 60%),
                 radial-gradient(900px 600px at 10% 8%, rgba(232,201,122,.10), transparent 55%),
                 linear-gradient(180deg, var(--c-midnight) 0%, var(--c-navy) 42%, var(--c-abyss) 100%);
  --grad-gold:   linear-gradient(135deg, var(--champagne) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  --grad-glass:  linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.02));

  /* 그림자 / 글로우 */
  --shadow-card: 0 18px 48px -22px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.06);
  --shadow-lift: 0 28px 70px -28px rgba(0,0,0,.85), 0 0 0 1px var(--glass-border-2);
  --glow-gold:   0 0 0 1px rgba(232,201,122,.45), 0 14px 40px -12px rgba(232,201,122,.40);

  /* 형태 */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  /* 타이포 스케일 */
  --fs-hero: clamp(2.1rem, 5.2vw, 3.6rem);
  --fs-h1:   clamp(1.7rem, 3.8vw, 2.6rem);
  --fs-h2:   clamp(1.3rem, 2.6vw, 1.7rem);
  --fs-h3:   1.12rem;
  --fs-body: 1.02rem;
  --fs-sm:   0.9rem;

  /* 레이아웃 */
  --maxw: 1120px;
  --gap:  clamp(16px, 2.6vw, 28px);

  color-scheme: dark;
}

/* ------------------------------------------------------------------ */
/* 2. 리셋 / 베이스                                                    */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.78;
  letter-spacing: -0.01em;
  color: var(--t-mid);
  background: var(--c-midnight);
  background-image: var(--grad-page);
  background-attachment: fixed;
  min-height: 100vh;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--t-hi); line-height: 1.32; letter-spacing: -0.02em; font-weight: 760; }

::selection { background: rgba(232,201,122,.28); color: var(--champagne); }

/* 스킵 링크 (접근성) */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--gold); color: #1a1305; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--glow-cyan); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------------ */
/* 3. 레이아웃 유틸                                                    */
/* ------------------------------------------------------------------ */
.wrap { width: min(100% - 36px, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(40px, 7vw, 78px); }
.stack > * + * { margin-top: 1.05em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad-gold); display: inline-block; }
.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--t-lo); }
.center { text-align: center; }

/* ------------------------------------------------------------------ */
/* 4. 글래스 컴포넌트 오버레이                                          */
/* ------------------------------------------------------------------ */
.glass {
  position: relative;
  background: var(--glass-bg);
  background-image: var(--grad-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  box-shadow: var(--shadow-card);
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 30%);
  mask: linear-gradient(180deg, #000, transparent 38%);
}
.card { padding: clamp(20px, 3vw, 30px); }

/* ------------------------------------------------------------------ */
/* 5. 헤더 / 네비 (드롭다운 멀티메뉴)                                   */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background:
    radial-gradient(ellipse 46% 180% at 8% -50%, rgba(232,201,122,.20), transparent 58%),
    radial-gradient(ellipse 42% 150% at 55% -40%, rgba(91,140,255,.16), transparent 62%),
    radial-gradient(ellipse 46% 170% at 96% -45%, rgba(56,90,180,.30), transparent 60%),
    linear-gradient(115deg, #0c1530 0%, #15244c 34%, #101d3e 58%, #0a1228 100%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 34px rgba(4,8,18,.55);
}
/* 최상단 골드 액센트 라인 — 은은히 흐르는 빛 */
.header-accent {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #6e5526 18%, var(--gold) 38%,
    var(--champagne) 50%, var(--gold) 62%, #6e5526 82%, transparent 100%);
  background-size: 200% 100%;
  animation: accent-flow 7s linear infinite;
}
@keyframes accent-flow { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.header-inner {
  width: min(100% - 36px, var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; gap: 20px; min-height: 66px;
}
.brand {
  font-size: 1.2rem; font-weight: 900; letter-spacing: .04em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 11px;
}
.brand-text {
  background: linear-gradient(120deg, var(--champagne) 0%, var(--gold-soft) 30%, var(--gold) 55%, var(--champagne) 80%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: .95rem; font-weight: 900; color: #1a1305;
  background: linear-gradient(135deg, var(--champagne), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 1px rgba(232,201,122,.5), 0 0 0 5px rgba(232,201,122,.08), 0 4px 14px rgba(232,201,122,.3);
}
.header-tagline {
  font-size: .78rem; color: var(--t-lo); letter-spacing: .14em; white-space: nowrap;
  border-left: 1px solid rgba(232,201,122,.22); padding-left: 18px;
}
.tag-gem { color: var(--gold); font-size: .55rem; vertical-align: 1px; }
.header-call {
  margin-left: auto; white-space: nowrap; font-weight: 800; color: #1a1305;
  background: linear-gradient(135deg, var(--champagne), var(--gold) 60%, var(--gold-deep));
  border-radius: var(--r-pill); padding: 10px 22px; font-size: .94rem;
  display: inline-flex; align-items: center; gap: 9px;
  box-shadow: inset 0 1px 0 rgba(255,248,224,.55), 0 6px 20px rgba(232,201,122,.26);
  transition: .15s;
}
.header-call:hover { filter: brightness(1.06); transform: translateY(-1px); }
.call-label {
  font-size: .7rem; font-weight: 700; opacity: .72; letter-spacing: .06em;
  border-right: 1px solid rgba(26,19,5,.3); padding-right: 9px;
}

/* 햄버거 */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 40px; padding: 0 10px; background: none;
  border: 1px solid var(--glass-border-2); border-radius: 9px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--gold); border-radius: 2px; transition: .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 메뉴 행 */
.main-nav { background: rgba(6,10,20,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--glass-border); }
.nav-inner { width: min(100% - 24px, var(--maxw)); margin-inline: auto; }
.nav-list { list-style: none; display: flex; flex-wrap: nowrap; justify-content: center; padding: 0; margin: 0; }
.nav-item { position: relative; }
.nav-item > a {
  position: relative; display: block; padding: 14px 15px; font-size: .93rem;
  letter-spacing: .02em; color: var(--t-hi); white-space: nowrap;
}
.nav-item > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 8px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--champagne), var(--gold-deep));
  transform: scaleX(0); transform-origin: center; transition: transform .22s ease;
}
.nav-item > a:hover::after, .nav-item.is-active > a::after { transform: scaleX(1); }
.nav-item.is-active > a { color: var(--gold); }
.nav-item > a:hover { color: var(--gold-soft); }
.sub-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 210px; max-height: 72vh; overflow-y: auto;
  background: var(--c-navy); border: 1px solid var(--glass-border-2);
  border-radius: 12px; list-style: none; padding: 10px 0; margin: 0;
  box-shadow: 0 18px 44px rgba(0,0,0,.6);
}
.nav-item.has-sub:hover .sub-menu, .nav-item.has-sub:focus-within .sub-menu { display: block; }
.sub-menu a { display: block; padding: 8px 20px; font-size: .88rem; color: var(--t-mid); white-space: nowrap; }
.sub-menu a:hover { color: var(--gold-soft); background: rgba(255,255,255,.05); }

/* 골드 필 버튼 (푸터 전화 등 재사용) */
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--grad-gold); color: #1a1305; font-weight: 800; font-size: .92rem;
  box-shadow: var(--glow-gold); white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.06); }

/* ------------------------------------------------------------------ */
/* 6. 히어로                                                           */
/* ------------------------------------------------------------------ */
.hero { position: relative; padding-block: clamp(48px, 9vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: radial-gradient(680px 380px at 80% 0%, rgba(111,227,255,.16), transparent 62%);
}
.hero h1 { font-size: var(--fs-hero); font-weight: 840; }
.hero p.lead { font-size: clamp(1rem, 1.7vw, 1.18rem); color: var(--t-mid); max-width: 60ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  font-size: .84rem; color: var(--t-mid); font-weight: 600;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--glow-cyan); box-shadow: 0 0 8px var(--glow-cyan); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r-pill); font-weight: 800; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--grad-gold); color: #1a1305; box-shadow: var(--glow-gold); }
.btn-gold:hover { filter: brightness(1.07); }
.btn-ghost { background: var(--glass-bg); border-color: var(--glass-border-2); color: var(--t-hi); }
.btn-ghost:hover { background: var(--glass-bg-2); }

/* ------------------------------------------------------------------ */
/* 7. 지역 버튼 그리드 (자치구 / 행정동)                                */
/* ------------------------------------------------------------------ */
.area-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}
.area-btn {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 17px; border-radius: var(--r-sm);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--t-hi); font-weight: 700; font-size: .98rem;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.area-btn .sub { font-size: .76rem; color: var(--t-lo); font-weight: 500; display: block; margin-top: 2px; }
.area-btn .arw { color: var(--gold); opacity: .55; transition: opacity .16s, transform .16s; }
.area-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(232,201,122,.45);
  background: var(--glass-bg-2);
  box-shadow: 0 18px 38px -22px rgba(0,0,0,.8), 0 0 0 1px rgba(232,201,122,.25);
}
.area-btn:hover .arw { opacity: 1; transform: translateX(3px); }

/* 행정동 칩 (페이지 내부) */
.chip-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--t-mid); font-size: .9rem; font-weight: 600;
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: rgba(232,201,122,.5); color: var(--champagne); background: var(--glass-bg-2); }
.chip[aria-disabled="true"] { opacity: .85; cursor: default; }

/* ------------------------------------------------------------------ */
/* 8. 콘텐츠 본문 (구 페이지 / 가이드)                                  */
/* ------------------------------------------------------------------ */
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--fs-h2); margin-top: 2.1em; margin-bottom: .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-h3); margin-top: 1.5em; margin-bottom: .35em; color: var(--champagne); }
.prose p { margin-top: .85em; }
.prose ul { margin-top: .7em; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; margin-top: .5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad-gold);
}
.prose strong { color: var(--t-hi); font-weight: 700; }

/* 본문 옆/위 H1 */
.page-head h1 { font-size: var(--fs-h1); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--t-lo); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .5; }

/* 정보 카드 그리드 */
.info-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.info-card h3 { color: var(--champagne); font-size: 1.02rem; margin-bottom: 6px; }
.info-card p { font-size: .92rem; color: var(--t-mid); }

/* FAQ */
.faq details {
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  background: var(--glass-bg); padding: 4px 18px; margin-top: 12px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; color: var(--t-hi);
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 16px; color: var(--t-mid); font-size: .96rem; }

/* E-E-A-T 저자 박스 */
.author-box { display: grid; gap: 8px; font-size: .88rem; }
.author-box .row { display: flex; gap: 10px; }
.author-box .row .k { color: var(--gold); min-width: 96px; font-weight: 700; }
.author-box .row .v { color: var(--t-mid); }

/* ------------------------------------------------------------------ */
/* 9. 예약 CTA 패널                                                    */
/* ------------------------------------------------------------------ */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(30px, 5vw, 56px);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px 220px at 50% -10%, rgba(232,201,122,.22), transparent 60%);
}
.cta-panel .phone {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 880; letter-spacing: .01em;
  display: inline-block; margin: 10px 0 4px;
}

/* 떠 있는 모바일 예약 바 */
.book-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 60; width: min(100% - 28px, 460px);
  display: flex; gap: 10px; padding: 10px; border-radius: var(--r-pill);
  background: rgba(7,11,29,.82); border: 1px solid var(--glass-border-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 22px 50px -20px rgba(0,0,0,.85);
}
.book-bar a { flex: 1; text-align: center; padding: 12px; border-radius: var(--r-pill); font-weight: 800; }
.book-bar .call { background: var(--grad-gold); color: #1a1305; }
.book-bar .info { background: var(--glass-bg); color: var(--t-hi); border: 1px solid var(--glass-border); }

/* ------------------------------------------------------------------ */
/* 10. 푸터                                                            */
/* ------------------------------------------------------------------ */
.site-footer {
  margin-top: clamp(40px, 7vw, 80px); padding-block: 46px 120px;
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, transparent, rgba(4,6,15,.6));
}
.footer-grid { display: grid; gap: 28px 36px; grid-template-columns: 1.7fr 1fr 1fr 1fr; }
.site-footer h4 { color: var(--t-hi); font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: var(--t-lo); font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: grid; gap: 9px; }
.footer-about .brand { font-size: 1.1rem; margin-bottom: 12px; }
.footer-contact {
  font-style: normal; display: grid; gap: 7px; margin-top: 14px;
  font-size: .84rem; color: var(--t-lo);
}
.footer-contact strong { color: var(--t-mid); font-weight: 700; margin-right: 6px; }
.footer-contact .nav-cta { margin-top: 8px; width: fit-content; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.fbtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-weight: 800; font-size: .95rem; letter-spacing: -.01em;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.fbtn-orange {
  background: linear-gradient(135deg, #ffb24d 0%, #ff7a1a 50%, #ff5e00 100%);
  color: #2a1500; box-shadow: 0 8px 24px -6px rgba(255,110,0,.55), inset 0 1px 0 rgba(255,255,255,.4);
}
.fbtn-green {
  background: linear-gradient(135deg, #c6ff4d 0%, #5cff2e 50%, #16e000 100%);
  color: #0a2200; box-shadow: 0 8px 24px -6px rgba(57,230,0,.55), inset 0 1px 0 rgba(255,255,255,.45);
}
.fbtn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.fbtn:active { transform: translateY(0); }
.footer-disclaimer {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--glass-border);
  font-size: .8rem; line-height: 1.7; color: var(--t-faint); max-width: 96ch;
}
.footer-bottom {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--glass-border);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .82rem; color: var(--t-faint);
}
.footer-bottom a { color: var(--t-lo); }
.footer-meta { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.footer-note { font-size: .84rem; color: var(--t-lo); max-width: 46ch; line-height: 1.7; }

/* ------------------------------------------------------------------ */
/* 10b. 목차 (TOC) — 사이드 내비게이션 + 스크롤스파이                   */
/* ------------------------------------------------------------------ */
.guide-title { margin-bottom: clamp(20px, 3vw, 30px); }

.toc-layout {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.toc-content { max-width: 74ch; }

.toc {
  position: sticky;
  top: 128px;
  align-self: start;
  padding: 20px 18px;
  background: var(--glass-bg);
  background-image: var(--grad-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}
.toc-head {
  font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; padding-left: 14px;
}
.toc-nav ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-nav li { margin: 0; }
.toc-nav a {
  display: block;
  position: relative;
  padding: 9px 10px 9px 14px;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--t-lo);
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.toc-nav a:hover { color: var(--t-hi); background: rgba(255,255,255,.04); }
.toc-nav a.is-active {
  color: var(--champagne);
  font-weight: 700;
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(232,201,122,.12), transparent);
}

/* ------------------------------------------------------------------ */
/* 11. 반응형                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
  /* 모바일·태블릿: 목차를 상단 가로 스크롤 칩 바로 전환 */
  .toc-layout { grid-template-columns: 1fr; gap: 22px; }
  .toc {
    position: sticky; top: 64px; z-index: 30;
    margin-inline: -2px;
    padding: 12px 12px 10px;
  }
  .toc-head { padding-left: 4px; margin-bottom: 8px; }
  .toc-nav ol {
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  .toc-nav li { flex: 0 0 auto; }
  .toc-nav a {
    white-space: nowrap;
    padding: 7px 14px;
    border: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    border-radius: var(--r-pill);
    font-size: .86rem;
  }
  .toc-nav a.is-active {
    border-color: var(--gold-deep);
    border-left-color: var(--gold-deep);
    background: var(--grad-gold);
    color: #1a1305;
  }
}
/* 헤더 네비 반응형 */
@media (max-width: 1180px) {
  .nav-item > a { padding: 14px 11px; font-size: .89rem; }
  .header-tagline { display: none; }
}
@media (max-width: 920px) {
  html { scroll-padding-top: 76px; }
  .toc { top: 70px; }
  .nav-toggle { display: flex; }
  .header-call .call-label { display: none; }
  .header-call { padding: 8px 17px; font-size: .88rem; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-navy); -webkit-backdrop-filter: none; backdrop-filter: none;
    border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
    max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .nav-inner { width: 100%; padding: 0; }
  .nav-list { flex-direction: column; }
  .nav-item > a { padding: 14px 22px; border-bottom: 1px solid var(--glass-border); font-size: .95rem; }
  .nav-item > a::after { display: none; }
  .nav-item.has-sub > a::after { content: " ▾"; color: var(--t-lo); font-size: .8em; }
  .sub-menu {
    position: static; display: none; transform: none; border: none; border-radius: 0;
    background: var(--c-abyss); box-shadow: none; max-height: none; min-width: 0;
  }
  .nav-item.sub-open .sub-menu { display: block; }
  .nav-item.has-sub:hover .sub-menu { display: none; }
  .nav-item.has-sub.sub-open:hover .sub-menu { display: block; }
  .sub-menu a { padding: 11px 38px; white-space: normal; }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .area-grid { grid-template-columns: repeat(auto-fill, minmax(46%, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ */
/* 12. 노선별 전체 역 아코디언                                          */
/* ------------------------------------------------------------------ */
.line-group {
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  padding: 14px 16px; margin-bottom: 12px; background: var(--glass-bg);
}
.line-group > summary {
  cursor: pointer; font-weight: 700; color: var(--t-hi); font-size: 1.02rem;
  list-style: none; display: flex; align-items: center; gap: 8px;
}
.line-group > summary::-webkit-details-marker { display: none; }
.line-group > summary::before { content: "▸"; color: var(--gold); transition: transform .15s ease; }
.line-group[open] > summary::before { transform: rotate(90deg); }
.line-group > summary .muted { font-weight: 500; font-size: .85rem; }

/* ------------------------------------------------------------------ */
/* 13. 코스별 요금표                                                    */
/* ------------------------------------------------------------------ */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px); margin-top: 24px; align-items: stretch;
}
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 9px;
  padding: clamp(22px, 3vw, 30px); text-align: center;
  background: var(--glass-bg); background-image: var(--grad-glass);
  border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
.price-card.featured { border-color: var(--gold-deep); box-shadow: var(--glow-gold); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-gold); color: #1a1305; font-weight: 800; font-size: .8rem;
  padding: 5px 16px; border-radius: var(--r-pill); box-shadow: var(--glow-gold); white-space: nowrap;
}
.price-card h3 { color: var(--t-hi); font-size: 1.1rem; }
.price-amt { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-top: 4px; }
.price-amt strong {
  font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 900; letter-spacing: -.02em;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-amt span { color: var(--t-lo); font-size: .95rem; }
.price-dur { color: var(--gold-soft); font-weight: 700; font-size: .9rem; }
.price-desc { color: var(--t-mid); font-size: .92rem; margin-bottom: 4px; }
.price-btn { margin-top: auto; width: 100%; justify-content: center; }
.price-note { margin-top: 18px; font-size: .85rem; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
