/* ═══════════════════════════════════════════════════════
   송암공원 SK VIEW — style.css
   Design System: Dark Luxury #0B0B0B + Gold #C09B6A
   ═══════════════════════════════════════════════════════ */

/* ── RESET & ROOT VARS ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── 콘텐츠 보호 (프로덕션에서만 적용, body.protected 클래스 필요) ── */
body.protected {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
body.protected input,
body.protected textarea,
body.protected select { -webkit-user-select: text; user-select: text; }
body.protected img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.img-shield { cursor: default; }

:root {
  --dark:    #0B0B0B;
  --dark2:   #141414;
  --dark3:   #1E1E1E;
  --dark4:   #2A2A2A;
  --gold:    #C09B6A;
  --gold-lt: #D4B896;
  --gold-dk: #9A7A50;
  --cream:   #F5F3EF;
  --cream2:  #EAE7E1;
  --gray:    #888888;
  --gray-lt: #BBBBBB;
  --white:   #FFFFFF;

  --ff-ko: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-en: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);

  --hd-h: 80px;
}

/* ── BASE ──────────────────────────────────────────── */
html { font-size: 16px; }
body {
  font-family: var(--ff-ko);
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.mobile-mode { overflow-y: auto; overflow-x: hidden; }
a  { text-decoration: none; color: inherit; }
button { background: none; border: none; font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY HELPERS ─────────────────────────────── */
.label {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.label.wh { color: var(--gold-lt); }

h2 {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.02em;
}
h2.wh {
  color: var(--cream);
  text-shadow: 0 2px 16px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.35);
}
h3 { font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }

.gline {
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 22px 0;
  transform-origin: left;
}

/* ── CUSTOM CURSOR (PC only) ────────────────────────── */
#cursor { pointer-events: none; position: fixed; z-index: 9999; top: 0; left: 0; }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(192,155,106,.55);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), background .3s, border-color .3s, opacity .3s;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%,-50%);
  transition: background .3s;
}
#cursor.hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--gold);
  background: rgba(192,155,106,.08);
}
#cursor.light .cursor-ring { border-color: rgba(11,11,11,.3); }
#cursor.light .cursor-dot  { background: var(--dark3); }
@media (max-width: 1024px) { #cursor { display: none; } }

/* ── HEADER ─────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--hd-h);
  transition: background .4s;
}
#header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 24px; right: 24px;
  height: 1px;
  background: rgba(255,255,255,.1);
  transition: background .4s;
}
#header[data-theme="light"]::after { background: rgba(11,11,11,.1); }
#header.scrolled { background: rgba(11,11,11,.92); backdrop-filter: blur(12px); }
#header[data-theme="light"].scrolled { background: rgba(245,243,239,.94); }

.hd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 48px;
  max-width: 1600px;
  margin: 0 auto;
}

.logo { display: flex; align-items: center; cursor: pointer; line-height: 1; }
.logo small {
  font-size: 10px; font-weight: 400;
  letter-spacing: .18em; color: var(--gold);
  text-transform: uppercase;
}
.logo strong {
  font-family: var(--ff-en);
  font-size: 22px; font-weight: 500;
  letter-spacing: .06em; color: var(--cream);
  transition: color .3s;
}
#header[data-theme="light"] .logo strong { color: var(--dark); }
#header[data-theme="light"] .logo small  { color: var(--gold-dk); }

/* 로고 이미지 */
.logo-image {
  height: 38px;
  width: auto;
  object-fit: contain;
  /* 다크 배경: 흰색으로 */
  filter: brightness(0) invert(1);
  transition: filter .3s, opacity .3s;
}
.logo-image:hover { opacity: .8; }
/* 라이트 배경 섹션(s1, s3, s5): 컬러 원본 */
#header[data-theme="light"] .logo-image { filter: none; }

.logo-image--ft {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: .65;
}

.gnb { display: flex; align-items: center; gap: 36px; }
.gnb a {
  font-size: 13px; font-weight: 500;
  letter-spacing: .04em; color: rgba(245,243,239,.7);
  transition: color .3s; cursor: pointer;
  position: relative;
}
.gnb a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease-out);
}
.gnb a:hover, .gnb a.act { color: var(--gold); }
.gnb a:hover::after, .gnb a.act::after { width: 100%; }

/* 관심고객 CTA 버튼 강조 */
.gnb a.gnb-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 0 0 12px rgba(192,155,106,.35);
  transition: all .3s var(--ease-out);
}
.gnb a.gnb-cta::after { display: none; }
.gnb a.gnb-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  box-shadow: 0 0 20px rgba(192,155,106,.55);
  transform: translateY(-1px);
}
#header[data-theme="light"] .gnb a.gnb-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
}
#header[data-theme="light"] .gnb a.gnb-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
}

#header[data-theme="light"] .gnb a { color: rgba(11,11,11,.6); }
#header[data-theme="light"] .gnb a:hover,
#header[data-theme="light"] .gnb a.act { color: var(--dark); }

.hd-right { display: flex; align-items: center; gap: 24px; }
.hd-tel {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--ff-ko);
  font-size: 13px; font-weight: 600; color: var(--gold);
  transition: opacity .3s;
}
.hd-tel:hover { opacity: .75; }
.hd-tel i { font-size: 11px; }

.ham { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.ham span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream);
  transition: background .3s, transform .35s, opacity .3s;
  transform-origin: center;
}
#header[data-theme="light"] .ham span { background: var(--dark); }
.ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ────────────────────────────────────── */
.mmenu {
  position: fixed; inset: 0; z-index: 850;
  background: var(--dark2);
  transform: translateX(100%);
  transition: transform .5s var(--ease-expo);
}
.mmenu.open { transform: none; }
.mmenu-inner {
  display: flex; flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: calc(var(--hd-h) + 48px) 40px 48px;
}
.mmenu ul { display: flex; flex-direction: column; gap: 4px; }
.mmenu ul li a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 0; font-size: 28px; font-weight: 700;
  color: rgba(245,243,239,.5);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .3s; cursor: pointer;
}
.mmenu ul li a em {
  font-family: var(--ff-en); font-style: normal;
  font-size: 11px; font-weight: 300;
  letter-spacing: .15em; color: var(--gold);
}
.mmenu ul li a:hover { color: var(--cream); }
.mmenu-foot p { font-size: 11px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.mmenu-foot a { font-family: var(--ff-ko); font-size: 36px; font-weight: 600; color: var(--cream); }
.mmenu-foot small { display: block; margin-top: 10px; font-size: 12px; color: var(--gray); }

/* ── DOTS NAV ───────────────────────────────────────── */
.dots {
  position: fixed; right: 32px; top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex; flex-direction: column; gap: 10px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.dot.on { background: var(--gold); transform: scale(1.5); }
.dots.light .dot { background: rgba(11,11,11,.2); }
.dots.light .dot.on { background: var(--dark); }
@media (max-width: 768px) { .dots { display: none; } }

/* ── MAIN WRAP (fullpage) ───────────────────────────── */
#wrap {
  position: fixed; top: 0; left: 0; width: 100%;
  transition: transform .9s var(--ease-inout);
  will-change: transform;
}
body.mobile-mode #wrap { position: static; }

/* ── SECTION BASE ───────────────────────────────────── */
.sec {
  position: relative; width: 100vw; height: 100vh;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}
body.mobile-mode .sec { height: auto; min-height: 100svh; width: 100%; }

/* ── BUTTONS ────────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 20px 48px;
  background: var(--gold); color: var(--dark);
  font-size: 17px; font-weight: 700;
  letter-spacing: .06em;
  position: relative; overflow: hidden;
  transition: color .35s, transform .25s, box-shadow .35s; cursor: pointer;
  box-shadow: 0 4px 24px rgba(192,155,106,.35);
}
.btn-gold::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.0);
  transition: background .35s;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(192,155,106,.55);
}
.btn-gold:hover::after { background: rgba(255,255,255,.1); }
/* 화살표 아이콘 항상 표시 */
.btn-gold::before {
  content: '→';
  font-size: 18px; font-weight: 400;
  opacity: 1;
  transition: transform .3s;
  order: 1;
}
.btn-gold:hover::before { transform: translateX(4px); }

.btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 42px;
  border: 1px solid rgba(245,243,239,.55); color: var(--cream);
  font-size: 15px; font-weight: 500;
  letter-spacing: .06em;
  transition: border-color .3s, background .3s, transform .25s; cursor: pointer;
}
.btn-line:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(192,155,106,.08);
  transform: translateY(-3px);
}

/* ── FLOAT BTN ──────────────────────────────────────── */
.float-btn {
  position: fixed; right: 10px; bottom: 16px; z-index: 800;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity .3s;
  opacity: 0; pointer-events: none;
}
.float-btn.show { opacity: 1; pointer-events: auto; }

/* 회전 텍스트 링 */
.float-btn__ring {
  position: absolute; width: 100%; height: 100%;
  animation: floatSpin 12s linear infinite;
}
.float-btn:hover .float-btn__ring { animation-duration: 6s; }
.float-btn__text {
  font-size: 12px; fill: #fff; font-weight: 700; letter-spacing: 2px;
}
@keyframes floatSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* 가운데 골드 원 */
.float-btn__center {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  box-shadow: 0 8px 32px rgba(192,155,106,.35);
  transition: transform .3s, box-shadow .3s;
  animation: ctaGlow 2.5s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(192,155,106,.3), 0 0 0 0 rgba(192,155,106,0); }
  50% { box-shadow: 0 0 20px rgba(192,155,106,.5), 0 0 40px rgba(192,155,106,.25), 0 0 60px rgba(192,155,106,.1); }
}
.float-btn:hover .float-btn__center { transform: scale(1.08); animation: none; box-shadow: 0 12px 40px rgba(192,155,106,.5); }
.float-btn__center i { font-size: 16px; color: #fff; }
.float-btn__center span { font-size: 13px; font-weight: 800; text-align: center; line-height: 1.2; letter-spacing: .03em; color: #fff; }

/* ── TOAST ──────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 36px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 9000;
  background: var(--dark3);
  border: 1px solid rgba(192,155,106,.4);
  color: var(--cream); font-size: 14px;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s, transform .4s;
  white-space: nowrap;
}
.toast i { color: var(--gold); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════════════════
   S0 — HERO
   ═══════════════════════════════════════════════════════ */
.s0 { background: var(--dark); }

.s0-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1a14 0%, #0B0B0B 45%, #1a1208 100%);
  background-image: url('../assets/img/hero-bg.jpg');
  background-size: cover; background-position: center;
}
.s0-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 62% 50%, rgba(192,155,106,.07) 0%, transparent 70%);
}
.s0-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,11,11,.78) 0%, rgba(11,11,11,.45) 55%, rgba(11,11,11,.25) 100%);
}

.s0-body {
  position: relative; z-index: 2;
  padding: 0 80px; width: 100%; max-width: 1600px; margin: 0 auto;
}

.s0-body .eyebrow {
  font-family: var(--ff-en);
  font-size: 12px; letter-spacing: .25em;
  color: var(--gold-lt); text-transform: uppercase; margin-bottom: 28px;
}
.s0-body .eyebrow--lg {
  font-family: var(--ff-ko);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: none;
  color: rgba(255,255,255,.55);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  margin-top: 14px;
  margin-bottom: 6px;
}

.s0-body h1 {
  font-family: var(--ff-en);
  font-size: clamp(52px, 8.5vw, 120px);
  font-weight: 300; line-height: 1.0; letter-spacing: -.01em;
  display: flex; flex-direction: column; gap: 0;
}
.s0-body h1 .t1 {
  font-family: var(--ff-ko); font-weight: 700;
  font-size: clamp(46px, 7.5vw, 108px);
  color: var(--cream); line-height: 1; display: block; overflow: hidden;
}
.s0-body h1 .t2 {
  font-family: var(--ff-en); font-weight: 300;
  font-size: clamp(52px, 8.5vw, 120px);
  color: var(--cream); line-height: 1; display: block; overflow: hidden;
}
.s0-body h1 .t2 em { font-style: italic; color: var(--gold); }

/* ── 히어로 브랜드 로고 (이미지) ──────────────────────── */
.hero-brand-logo {
  margin: 12px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-logo-img {
  display: block;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(0,0,0,.6));
}
.hero-logo-top {
  width: clamp(200px, 26vw, 340px);
}
.hero-logo-bot {
  width: clamp(220px, 26vw, 360px);
}

/* ── 후킹 단지소개 ──────────────────────── */
.s0-body--hook,
.s0-body--hook * {
  font-family: 'Pretendard', -apple-system, 'Noto Sans KR', sans-serif !important;
}
.s0-body--hook {
  text-align: left;
}
.hero-top-label {
  font-size: clamp(13px, 1.2vw, 17px);
  color: rgba(255,255,255,.65);
  letter-spacing: .06em;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
  margin-bottom: 12px;
}
.hero-hook {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.15;
  margin: 0;
}
.hero-hook-sub {
  display: block;
  font-size: clamp(22px, 2.8vw, 42px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.7);
}
.hero-hook-main {
  display: block;
  font-size: clamp(42px, 5.5vw, 82px);
  font-weight: 900;
  color: #FFD700;
  text-shadow: 0 0 40px rgba(255,215,0,.35), 0 4px 24px rgba(0,0,0,.6);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.hero-badges {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 40px;
  color: #fff;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.hero-badge i,
.hb-chk {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}
.hero-stats--hook {
  margin-top: 28px;
}
.hero-stats--hook .hstat b,
.hero-stats--hook .hstat span,
.hero-stats--hook .hstat p {
  font-family: 'Pretendard', sans-serif !important;
}

.s0-sub {
  margin-top: 4px;
  font-size: clamp(11px, .95vw, 13px);
  font-weight: 400;
  color: rgba(255,255,255,.5); letter-spacing: .04em;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero-tel {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  color: var(--gold); font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700; letter-spacing: .02em;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  transition: opacity .3s;
}
.hero-tel:hover { opacity: .75; }
.hero-tel i { font-size: .85em; }
.s0-btns { margin-top: 24px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Scroll indicator */
.scroll-ind {
  position: absolute; bottom: 48px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.si-bar {
  display: block; width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 100%);
  animation: siDown 2.2s var(--ease-inout) infinite;
}
.si-txt {
  font-family: var(--ff-en); font-size: 9px;
  letter-spacing: .28em; color: rgba(245,243,239,.4);
  text-transform: uppercase;
}
@keyframes siDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════════
   S1 — BRAND
   ═══════════════════════════════════════════════════════ */
.s1 {
  background: var(--dark); color: var(--cream);
  display: grid; grid-template-columns: 5fr 7fr;
  align-items: stretch; padding: 0;
  position: relative; overflow: hidden;
}

/* Ghost decorative number */
.s1-ghost {
  position: absolute; top: 50%; left: -2%; z-index: 0;
  transform: translateY(-50%);
  font-family: var(--ff-en); font-size: clamp(200px, 22vw, 360px);
  font-weight: 300; font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(192,155,106,.1);
  letter-spacing: -.04em; line-height: 1;
  pointer-events: none; user-select: none;
}

.s1-img { position: relative; overflow: hidden; height: 100%; z-index: 1; }
.s1-img-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2a1e 0%, #0f1f14 50%, #2a1a0a 100%);
  background-image: url('../assets/img/brand-building3.jpg');
  background-size: cover; background-position: center;
  transform-origin: center;
}
/* Gold corner frame on image */
.s1-img-frame {
  position: absolute; inset: 16px; z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(192,155,106,.12);
}
.s1-img-frame::before, .s1-img-frame::after {
  content: ''; position: absolute;
  width: 48px; height: 48px;
  border-color: var(--gold); border-style: solid;
}
.s1-img-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.s1-img-frame::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.img-badge {
  position: absolute; bottom: 32px; left: 32px; z-index: 3;
  font-family: var(--ff-en); font-size: 10px; letter-spacing: .25em;
  color: var(--cream); background: rgba(192,155,106,.9);
  padding: 8px 18px; text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.s1-txt {
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 80px 40px 72px; position: relative; z-index: 1;
}
.s1-txt .desc {
  font-size: clamp(14px, 1.0vw, 15px); line-height: 2.0;
  color: rgba(245,243,239,.5); margin-bottom: 28px;
}

/* ── S1 하이라이트 박스 ─────────────────────────── */
.s1-highlight {
  margin-bottom: 20px;
  padding: 16px 24px;
  background: rgba(192,155,106,.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}
.s1-highlight p {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.8;
  color: rgba(245,243,239,.65);
  margin: 0;
}
.s1-highlight strong {
  color: var(--cream);
  font-weight: 600;
}
.s1-highlight em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

/* ── S1 입지 카드 그리드 ──────────────────────────── */
.s1-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.s1-card {
  padding: 16px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(192,155,106,.1);
  border-radius: 6px;
  transition: border-color .3s, background .3s;
}
.s1-card:hover {
  border-color: rgba(192,155,106,.25);
  background: rgba(255,255,255,.05);
}
.s1-card-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(192,155,106,.1);
  border-radius: 8px;
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 12px;
}
.s1-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
  line-height: 1.3;
}
.s1-card p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245,243,239,.5);
  margin: 0;
}

/* Stats — premium card style */
.stats {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(192,155,106,.08);
  border-radius: 4px;
  overflow: hidden;
}
.stats hr {
  width: 1px; height: auto; background: rgba(192,155,106,.1);
  border: none; margin: 0; align-self: stretch;
}
.stat {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; padding: 24px 16px 20px;
  position: relative;
}
.stat::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}
.stat-num {
  display: flex; align-items: flex-end; gap: 3px;
  white-space: nowrap;
}
.stat b.cnt {
  font-family: var(--ff-en); font-size: clamp(32px, 2.8vw, 46px);
  font-weight: 300; color: var(--gold); line-height: 1;
}
.stat-unit { font-size: 12px; color: var(--gold-dk); font-weight: 600; padding-bottom: 4px; }
.stat p { font-size: 10px; color: rgba(245,243,239,.35); letter-spacing: .06em; margin-top: 8px; text-align: center; }

/* ═══════════════════════════════════════════════════════
   S2 — LOCATION
   ═══════════════════════════════════════════════════════ */
.s2 { background: var(--dark2); }
.s2-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a1520 0%, #0B0B0B 55%, #151005 100%);
  background-image: url('../assets/img/loc-aerial.jpg');
  background-size: cover; background-position: center;
}
.s2-veil {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11,11,11,.78) 0%,
    rgba(11,11,11,.62) 40%,
    rgba(11,11,11,.75) 100%
  );
}

.s2-body {
  position: relative; z-index: 2;
  width: 100%; max-width: 1600px;
  padding: calc(var(--hd-h) + 20px) 80px 40px;
  margin: 0 auto; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.s2-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.s2-head h2 {
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0,0,0,.7), 0 1px 6px rgba(0,0,0,.5);
}
.s2-headline {
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.s2-headline em {
  font-style: normal;
  color: var(--gold);
}
.s2-sub {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(245,243,239,.6);
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.loc-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(245,243,239,.6);
  margin-bottom: 16px;
}
.loc-area {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

/* Tabs */
.tabs { display: flex; gap: 4px; margin-bottom: 20px; }
.tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px; font-size: 13px; font-weight: 500;
  color: rgba(245,243,239,.5);
  border: 1px solid rgba(255,255,255,.12);
  transition: all .3s; letter-spacing: .02em;
}
.tab i { font-size: 12px; }
.tab:hover { color: var(--cream); border-color: rgba(192,155,106,.4); }
.tab.on { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 700; }

/* Panels */
.panel { display: none; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.panel.on { display: grid; }

.panel-img { height: 300px; position: relative; overflow: hidden; }
.panel-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,11,.5) 0%, transparent 60%);
}
.pi0 { background: linear-gradient(135deg, #1a3020 0%, #0f2515 100%); }
.pi1 { background: linear-gradient(135deg, #151e30 0%, #0a1525 100%); }
.pi2 { background: linear-gradient(135deg, #2a1e15 0%, #1a1008 100%); }
.pi3 { background: linear-gradient(135deg, #201520 0%, #150a15 100%); }

.panel-info {
  display: flex; flex-direction: column; justify-content: center;
  padding: 8px 0 8px 12px;
}
.panel-info h3 { color: var(--cream); margin-bottom: 20px; }
.panel-info ul { display: flex; flex-direction: column; gap: 0; }
.panel-info li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: rgba(245,243,239,.75); line-height: 1.6;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.panel-info li:last-child { border-bottom: none; }
.panel-info li i {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(192,155,106,.2);
  border-radius: 50%;
  color: var(--gold); font-size: 12px;
  flex-shrink: 0;
}
.loc-info {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
  padding: 28px 32px;
  backdrop-filter: blur(8px);
}
.loc-info h3 {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(192,155,106,.15);
}
.loc-info ul { display: flex; flex-direction: column; gap: 0; }
.loc-info li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: rgba(245,243,239,.7); line-height: 1.6;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  flex-wrap: wrap;
}
.loc-info li > span { flex: 1; min-width: 0; }
.loc-info li:last-child { border-bottom: none; }
.loc-info li i {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(192,155,106,.2);
  border-radius: 50%;
  color: var(--gold); font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}
.loc-time {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(192,155,106,.10);
  border: 1px solid rgba(192,155,106,.22);
  border-radius: 6px;
  padding: 8px 16px;
  white-space: nowrap;
  align-self: center;
  margin-left: auto;
  flex-shrink: 0;
  line-height: 1.4;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   S3 — PREMIUM  (Dark Luxury)
   ═══════════════════════════════════════════════════════ */
.s3 { background: var(--dark); position: relative; }
.s3::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(192,155,106,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(192,155,106,.04) 0%, transparent 50%);
  pointer-events: none;
}
.s3::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: url('../assets/img/premium-bg.jpg') center/cover no-repeat;
  opacity: .08;
  pointer-events: none;
}
.s3-body {
  width: 100%; max-width: 1600px;
  padding: calc(var(--hd-h) + 20px) 80px 40px;
  margin: 0 auto; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.s3-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }

.pgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: pcard; }
.pcard {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s;
  counter-increment: pcard;
  backdrop-filter: blur(4px);
}
.pcard:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 30px rgba(192,155,106,.08);
  border-color: rgba(192,155,106,.25);
}

.pcard-img {
  position: relative; height: 220px; overflow: hidden;
}
.pcard-img > * { transition: transform .6s var(--ease-out); }
.pcard:hover .pcard-img > * { transform: scale(1.05); }
.pcard-img span {
  position: absolute; bottom: 14px; left: 16px; z-index: 2;
  font-family: var(--ff-en); font-size: 11px; font-weight: 400;
  letter-spacing: .15em; color: rgba(245,243,239,.6);
  text-transform: uppercase;
}
.pcard-img::before {
  content: counter(pcard, decimal-leading-zero);
  position: absolute; top: 14px; right: 16px; z-index: 2;
  font-family: var(--ff-en); font-size: 42px; font-weight: 300;
  color: rgba(255,255,255,.12); line-height: 1;
}
.pcard-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,11,.7) 0%, rgba(11,11,11,.1) 50%, transparent 100%);
}
.pc1 { background: url('../assets/img/premium-gym.jpg') center/cover no-repeat; }
.pc2 { background: url('../assets/img/premium-fitness.jpg') center/cover no-repeat; }
.pc3 { background: url('../assets/img/premium-cafe.jpg') center/cover no-repeat; }
.pc4 { background: url('../assets/img/premium-park.jpg') center/cover no-repeat; }

.pcard-body {
  padding: 24px 24px 28px;
  border-top: 2px solid var(--gold);
  position: relative;
}
.pcard-body h3 { color: var(--cream); margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.pcard-body p  { font-size: 13px; color: rgba(245,243,239,.45); line-height: 1.75; }
.pcard-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}
.pcard-list li {
  font-size: 13px;
  color: rgba(245,243,239,.55);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   S4 — COMMUNITY  (Map + Grid Split)
   ═══════════════════════════════════════════════════════ */
.s4 {
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
body.mobile-mode .s4 { height: auto; min-height: 0; }

.s4-inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: calc(var(--hd-h) + 20px) 80px 28px;
  display: flex; flex-direction: column;
  height: 100%;
  justify-content: center;
}

.s4-head { margin-bottom: 24px; }
.s4-head h2 { margin-top: 4px; margin-bottom: 8px; }
.s4-sub {
  font-size: 14px;
  color: rgba(245,243,239,.4);
  letter-spacing: .02em;
}

/* ── Split: Map Left + Cards Right ──── */
.s4-split {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 14px;
  flex: 1;
  min-height: 0;
}

/* ── Map Column ─────────────────────── */
.s4-map-col {
  display: flex; flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.s4-map {
  flex: 1;
  position: relative;
  min-height: 0;
}
.s4-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: brightness(.85) contrast(1.1) saturate(.8);
}
.s4-map--img {
  flex: none;
}
.s4-map--img img {
  width: 100%; height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}
.s4-map-disclaimer {
  padding: 12px 16px;
  background: rgba(11,11,11,.7);
  border-top: 1px solid rgba(255,255,255,.06);
}
.s4-map-disclaimer p {
  font-size: 9px;
  color: rgba(245,243,239,.35);
  line-height: 1.7;
  margin: 0;
}
.s4-map-info {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: rgba(11,11,11,.7);
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  color: rgba(245,243,239,.55);
}
.s4-map-info i {
  color: var(--gold);
  font-size: 13px;
}

/* 커스텀 마커 */
.s4-marker {
  position: absolute; z-index: 5;
  display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -100%);
  pointer-events: none;
}
.s4-marker i {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.s4-marker span {
  margin-top: 4px; padding: 2px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 600; white-space: nowrap;
  background: rgba(0,0,0,.75); color: #fff;
  backdrop-filter: blur(4px);
}
.s4-marker--apt i    { background: var(--gold); }
.s4-marker--center i { background: #A78BFA; }

/* 범례 */
.s4-map-legend {
  display: flex; gap: 16px; align-items: center;
}
.s4-legend {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(245,243,239,.7);
}
.s4-legend i { font-size: 10px; }
.s4-legend--apt i    { color: var(--gold); }
.s4-legend--center i { color: #A78BFA; }

/* ── Cards Grid (2×2) ───────────────── */
.s4-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

/* ── Card Base ──────────────────────── */
.s4-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  min-height: 140px;
}
.s4-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease-out);
}
.s4-card:hover .s4-card-bg { transform: scale(1.08); }

.s4-card-dim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,11,.92) 0%, rgba(11,11,11,.45) 55%, rgba(11,11,11,.2) 100%);
  transition: background .4s;
}
.s4-card:hover .s4-card-dim {
  background: linear-gradient(to top, rgba(11,11,11,.7) 0%, rgba(11,11,11,.12) 55%, rgba(11,11,11,.05) 100%);
}

.s4-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  z-index: 2;
}

/* Card Label */
.s4-card-label {
  position: absolute;
  top: 12px; left: 18px;
  font-family: var(--ff-en);
  font-size: 8px; font-weight: 500;
  letter-spacing: .2em;
  color: rgba(245,243,239,.55);
  text-transform: uppercase;
}

/* Card Content */
.s4-card-body h3 {
  font-family: var(--ff-ko);
  font-size: 15px; font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.5);
}
.s4-card-desc {
  font-size: 11px;
  color: rgba(245,243,239,.5);
  line-height: 1.5;
  margin-top: 4px;
}
.s4-card-list {
  list-style: disc;
  padding-left: 16px;
  margin: 4px 0 0;
}
.s4-card-list li {
  font-size: 11px;
  color: rgba(245,243,239,.8);
  line-height: 1.6;
}

/* Card Icon (hidden on desktop, visible on mobile) */
.s4-card-ico { display: none; }

/* Background images */
.cc1 { background-image: url('../assets/img/comm-fitness.jpg'); }
.cc2 { background-image: url('../assets/img/comm-cafe.jpg'); }
.cc3 { background-image: url('../assets/img/premium-landscape.jpg'); }
.cc4 { background-image: url('../assets/img/loc-nature.jpg'); }
.cc5 { background-image: url('../assets/img/comm-vr.jpg'); }
.cc6 { background-image: url('../assets/img/comm-cafe.jpg'); }

/* ── S4 Park Intro Override ────────── */
.s4--park {
  padding: 0;
}
.s4--park .s4-inner {
  justify-content: flex-start;
  padding-top: calc(var(--hd-h) + 20px);
  padding-bottom: 20px;
}

/* park map */
.s4-park-map {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.s4-park-map img {
  width: 100%;
  height: auto;
  max-height: 38vh;
  object-fit: contain;
  display: block;
}

/* zones wrapper — 2 col */
.s4-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* zone block */
.s4-zone {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 16px;
}
.s4-zone-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.zone-name {
  color: var(--gold);
}
.zone-en {
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 500;
  color: rgba(245,243,239,.4);
  letter-spacing: .06em;
  margin-left: 8px;
}
.s4-zone-head p {
  font-size: 12px;
  color: rgba(245,243,239,.55);
  margin: 0 0 10px;
  line-height: 1.4;
}

/* zone photos */
.s4-zone-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.s4-zone-photos--single {
  grid-template-columns: 1fr;
}
.s4-zone-photos figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.s4-zone-photos img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.s4-zone-photos figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}

/* zone table */
.s4-zone-tbl {
  width: 100%;
  border-collapse: collapse;
}
.s4-zone-tbl tr {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.s4-zone-tbl tr:last-child {
  border-bottom: none;
}
.s4-zone-tbl td {
  padding: 5px 4px;
  font-size: 12px;
  color: rgba(245,243,239,.75);
  vertical-align: top;
  line-height: 1.4;
}
.zt-n {
  width: 28px;
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
}
.zt-nm {
  width: 100px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* disclaimer — inside s4-zones grid, spans full width */
.s4-park-disclaimer {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.s4-park-disclaimer p {
  font-size: 9px;
  color: rgba(245,243,239,.3);
  line-height: 1.7;
  margin: 0;
}

/* ── S4B · 송암 문화 복지 센터 ─────────── */
.s4b {
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 0;
}
.s4b-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--hd-h) + 32px) 80px 48px;
}
.s4b-head { margin-bottom: 28px; }
.s4b-head h2 { margin-top: 4px; }

.s4b-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* image */
.s4b-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.s4b-img img {
  width: 100%;
  height: auto;
  display: block;
}
.s4b-img-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}

/* info */
.s4b-info {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 28px 24px;
}
.s4b-zone-head h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.s4b-zone-head p {
  font-size: 14px;
  color: rgba(245,243,239,.55);
  margin: 0 0 20px;
  line-height: 1.5;
}

/* table */
.s4b-tbl {
  width: 100%;
  border-collapse: collapse;
}
.s4b-tbl tr {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.s4b-tbl tr:last-child { border-bottom: none; }
.s4b-tbl td {
  padding: 10px 6px;
  font-size: 14px;
  color: rgba(245,243,239,.75);
  vertical-align: top;
  line-height: 1.5;
}
.s4b-tbl .zt-n {
  width: 28px;
  color: var(--gold);
  font-weight: 700;
  text-align: center;
}
.s4b-tbl .zt-nm {
  width: 130px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* disclaimer */
.s4b-disclaimer {
  max-width: 900px;
  margin: 16px auto 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.s4b-disclaimer p {
  font-size: 9px;
  color: rgba(245,243,239,.3);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   HOOK — 긴급 혜택 안내
   ═══════════════════════════════════════════════════════ */
.shook {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.shook-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 40px;
  text-align: center;
}

/* 배경 글로우 — 크고 부드럽게 */
.shook-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(192,155,106,.15) 0%, rgba(192,155,106,.05) 40%, transparent 70%);
  pointer-events: none;
  animation: shookGlow 4s ease-in-out infinite;
}
@keyframes shookGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; }
}

/* 긴급 뱃지 — 더 크고 강렬하게 */
.shook-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b6b;
  background: rgba(255,107,107,.1);
  border: 1.5px solid rgba(255,107,107,.35);
  border-radius: 30px;
  padding: 12px 30px;
  margin-bottom: 40px;
  animation: shookBadgeBounce 2s ease-in-out infinite;
}
.shook-pulse {
  width: 10px; height: 10px;
  background: #ff6b6b;
  border-radius: 50%;
  animation: shookPulse 1.2s ease-in-out infinite;
}
@keyframes shookPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,107,107,.6); }
  50% { opacity: .6; box-shadow: 0 0 0 12px rgba(255,107,107,0); }
}
@keyframes shookBadgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 메인 타이포 */
.shook-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 52px;
}
.shook-t1 {
  font-family: var(--ff-ko);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.shook-t2 {
  font-family: var(--ff-ko);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.shook-t2 em {
  font-style: normal;
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 혜택 카드 — 크고 빛나는 보더 */
.shook-cards {
  display: flex;
  gap: 24px;
  margin-bottom: 52px;
  width: 100%;
  max-width: 800px;
}
.shook-card {
  flex: 1;
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.shook-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, transparent 30%, rgba(192,155,106,.3) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: shookShimmer 3s ease-in-out infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity .4s;
}
.shook-card:hover::before { opacity: 1; }
.shook-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192,155,106,.4);
  box-shadow: 0 12px 40px rgba(192,155,106,.15);
}
@keyframes shookShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.shook-card--accent {
  background: linear-gradient(145deg, rgba(192,155,106,.12), rgba(192,155,106,.04));
  border-color: rgba(192,155,106,.3);
  animation: shookCardGlow 3s ease-in-out infinite;
}
@keyframes shookCardGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(192,155,106,.08); }
  50% { box-shadow: 0 0 40px rgba(192,155,106,.2); }
}
.shook-card-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.shook-card-sub {
  display: inline-block;
  font-size: 14px;
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 12px;
  animation: shookBadgeBounce 2.5s ease-in-out infinite;
}
.shook-card-main {
  font-family: var(--ff-ko);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.5;
}
.shook-card-main em {
  font-style: normal;
  font-size: 1.35em;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(192,155,106,.3);
  white-space: nowrap;
}
.shook-card-note {
  display: block;
  font-size: 12px;
  color: rgba(245,243,239,.45);
  margin-top: 14px;
}

/* CTA 버튼 — 더 크고 글로우 */
.shook-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 56px;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  border-radius: 50px;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(192,155,106,.25);
  animation: shookCtaPulse 2.5s ease-in-out infinite;
}
.shook-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(192,155,106,.45);
}
@keyframes shookCtaPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(192,155,106,.25); }
  50% { box-shadow: 0 6px 32px rgba(192,155,106,.4); }
}

/* ═══════════════════════════════════════════════════════
   IMAGE LIGHTBOX — 입지 이미지 확대
   ═══════════════════════════════════════════════════════ */
.img-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity .3s ease;
}
.img-lightbox.open { pointer-events: auto; opacity: 1; }

.img-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
}
.img-lb-wrap {
  position: relative; z-index: 1;
  max-width: 92vw; max-height: 90vh;
  transform: scale(.9);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.img-lightbox.open .img-lb-wrap { transform: scale(1); }

.img-lb-img {
  display: block;
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 60px rgba(0,0,0,.5);
}
.img-lb-close {
  position: absolute; top: -16px; right: -16px; z-index: 2;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border: none; border-radius: 50%;
  color: #fff; font-size: 24px; line-height: 40px;
  text-align: center; cursor: pointer;
  transition: background .2s;
}
.img-lb-close:hover { background: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════════════════
   S5 — CONTACT  (Premium Dark)
   ═══════════════════════════════════════════════════════ */
.s5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 0;
  background: var(--dark);
}

/* ── Left Panel ─────────────────────────── */
.s5-left {
  position: relative;
  overflow: hidden;
}

.s5-img {
  position: absolute; inset: 0;
  background: url('../assets/img/brand-building3.jpg') center/cover no-repeat;
}

.s5-dim {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,11,11,.96) 0%,
    rgba(11,11,11,.88) 40%,
    rgba(11,11,11,.75) 100%
  );
}

.s5-linfo {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px;
  z-index: 2;
}

.s5-linfo small {
  display: block;
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 18px;
}

.s5-linfo h2 {
  font-family: var(--ff-ko);
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.s5-orn {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
  transform-origin: left center;
}

.s5-tag {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(245,243,239,.65);
  margin-bottom: 40px;
  letter-spacing: .02em;
}

.s5-cards {
  display: flex;
  flex-direction: column;
}

.s5-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  transition: padding-left .3s var(--ease-out);
}
.s5-card:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.s5-card:hover { padding-left: 6px; }

.s5-card i {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(192,155,106,.35);
  background: rgba(192,155,106,.1);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  transition: border-color .3s, background .3s;
}
.s5-card:hover i {
  border-color: var(--gold);
  background: rgba(192,155,106,.08);
}

.s5-card small {
  display: block;
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(245,243,239,.5);
  margin-bottom: 3px;
}

.s5-card b {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
}

/* ── 분양안내 (데스크탑 좌측) ──────────────── */
.s5-sale {
  margin-top: 28px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(192,155,106,.1) 0%, rgba(192,155,106,.03) 100%);
  border: 1px solid rgba(192,155,106,.25);
  border-radius: 12px;
}
.s5-sale-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--gold);
  color: #0b0b0b;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 16px;
}
.s5-sale-badge i { font-size: 10px; }
.s5-sale-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s5-sale-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(245,243,239,.75);
}
.s5-sale-list li i {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192,155,106,.12);
  color: var(--gold);
  border-radius: 7px;
  font-size: 12px;
  flex-shrink: 0;
}
.s5-sale-list li b {
  color: var(--cream);
  font-weight: 600;
}

/* ── Right Panel ────────────────────────── */
.s5-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 65% 25%, rgba(192,155,106,.03) 0%, transparent 55%),
    var(--dark2);
  border-left: 1px solid rgba(255,255,255,.05);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.s5-right::-webkit-scrollbar { display: none; }

.s5-form-wrap {
  width: 100%;
  max-width: 440px;
  padding: 60px 52px;
}

/* ── Closing Banner (마무리 분양안내) ──────── */
/* 데스크탑: 왼쪽 패널에 정보 있으므로 숨김, 모바일 전용 */
.s5-closing { display: none; }

@media (max-width: 1024px) {
.s5-closing {
  margin-bottom: 36px;
  padding: 28px 28px 24px;
  background: linear-gradient(135deg, rgba(192,155,106,.12) 0%, rgba(192,155,106,.04) 100%);
  border: 1px solid rgba(192,155,106,.3);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.s5-closing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(192,155,106,.2));
}
.s5-closing-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--gold);
  color: #0b0b0b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.s5-closing-title {
  font-family: var(--ff-ko);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 20px;
}
.s5-closing-title em {
  font-style: normal;
  color: var(--gold);
}
.s5-closing-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s5-ci-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(245,243,239,.7);
}
.s5-ci-row i {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192,155,106,.12);
  color: var(--gold);
  border-radius: 6px;
  font-size: 12px;
  flex-shrink: 0;
}
.s5-ci-row b {
  color: var(--cream);
  font-weight: 600;
  margin-left: 2px;
}
} /* end @media 1024 for s5-closing */

/* ── Form Header ────────────────────────── */
.s5-fhead { margin-bottom: 36px; }

.s5-fhead h2 {
  font-family: var(--ff-ko);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.s5-fdesc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(245,243,239,.35);
}

/* ── Form ────────────────────────────────── */
#form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 22px;
}

/* Gold underline bar — center-out on focus */
.fg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transition: width .5s var(--ease-expo), left .5s var(--ease-expo);
  pointer-events: none;
  z-index: 1;
}
.fg:focus-within::after { width: 100%; left: 0; }

.fg label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(245,243,239,.4);
  letter-spacing: .07em;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-family: var(--ff-en);
}

.fg label .req { color: var(--gold); }

.fg input,
.fg select {
  font-family: var(--ff-ko);
  font-size: 15px;
  color: var(--cream);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 13px 0;
  outline: none;
  width: 100%;
  transition: border-color .4s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.fg input:focus,
.fg select:focus {
  border-bottom-color: rgba(192,155,106,.4);
}

.fg input::placeholder { color: rgba(245,243,239,.18); }

.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23C09B6A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 22px;
  cursor: pointer;
}
.fg select option {
  background: var(--dark2);
  color: var(--cream);
}

/* Textarea — boxed style */
.fg--ta::after { display: none; }
.fg textarea {
  font-family: var(--ff-ko);
  font-size: 15px;
  color: var(--cream);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 14px 16px;
  outline: none;
  width: 100%;
  resize: none;
  line-height: 1.7;
  transition: border-color .4s, background .4s;
  -webkit-appearance: none;
  appearance: none;
}
.fg textarea:focus {
  border-color: rgba(192,155,106,.4);
  background: rgba(255,255,255,.04);
}
.fg textarea::placeholder { color: rgba(245,243,239,.18); }

/* Checkbox */
.fg-chk { padding-top: 18px; }
.fg-chk::after { display: none; }
.fg-chk label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 12px; margin-bottom: 0;
  font-family: var(--ff-ko); text-transform: none; letter-spacing: 0;
}
.fg-chk input[type="checkbox"] { display: none; }
.chk {
  flex-shrink: 0; width: 18px; height: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 3px;
  margin-top: 1px;
  transition: background .3s, border-color .3s;
  position: relative;
}
.chk::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-55%) rotate(45deg) scale(0);
  width: 5px; height: 9px;
  border-right: 2px solid var(--dark);
  border-bottom: 2px solid var(--dark);
  transition: transform .25s var(--ease-expo);
}
.fg-chk input:checked ~ .chk {
  background: var(--gold); border-color: var(--gold);
}
.fg-chk input:checked ~ .chk::after {
  transform: translate(-50%,-55%) rotate(45deg) scale(1);
}
.fg-chk span:last-child {
  color: rgba(245,243,239,.4); line-height: 1.5;
}

/* Submit Button — Gold Gradient */
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 18px;
  margin-top: 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 100%);
  color: var(--dark);
  font-family: var(--ff-ko); font-size: 14px; font-weight: 700;
  letter-spacing: .08em;
  border: none; border-radius: 2px;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s, filter .35s;
  position: relative;
  overflow: hidden;
}
.btn-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-lt) 0%, #e0c8a2 50%, var(--gold) 100%);
  opacity: 0;
  transition: opacity .4s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,155,106,.22);
}
.btn-submit:hover::before { opacity: 1; }
.btn-submit span,
.btn-submit i {
  position: relative; z-index: 1;
}
.btn-submit i {
  font-size: 13px;
  transition: transform .3s var(--ease-out);
}
.btn-submit:hover i { transform: translateX(5px); }
.btn-submit:disabled {
  opacity: .55; cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: grayscale(.3);
}

/* Form Result */
.form-result {
  padding: 14px 16px; font-size: 13px; line-height: 1.6;
  border-left: 3px solid; border-radius: 2px; margin-bottom: 8px;
}
.form-result--success {
  background: rgba(80,160,100,.1);
  border-color: #50a064;
  color: #7dcf8f;
}
.form-result--error {
  background: rgba(200,60,60,.1);
  border-color: #c03c3c;
  color: #e07070;
}

/* ═══════════════════════════════════════════════════════
   SFP — 평형 안내 (Floor Plans)
   ═══════════════════════════════════════════════════════ */
.sfp {
  background: var(--dark);
  display: flex;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}

.sfp-inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 100px 80px 60px;
}

/* Head */
.sfp-head { margin-bottom: 36px; }
.sfp-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sfp-label-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.sfp-head h2 {
  font-family: var(--ff-ko);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sfp-tap-hint { display: none; }
.sfp-sub {
  font-size: 14px;
  color: rgba(245,243,239,.4);
  letter-spacing: .02em;
}

/* Tabs */
.sfp-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
}
.sfp-tab {
  padding: 11px 28px;
  font-family: var(--ff-ko);
  font-size: 14px;
  font-weight: 500;
  color: rgba(245,243,239,.5);
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  cursor: pointer;
  transition: all .3s;
  letter-spacing: .02em;
}
.sfp-tab:first-child { border-radius: 4px 0 0 4px; }
.sfp-tab:last-child  { border-radius: 0 4px 4px 0; }
.sfp-tab + .sfp-tab   { border-left: none; }
.sfp-tab.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 700;
}
.sfp-tab:not(.active):hover {
  background: rgba(255,255,255,.05);
  color: var(--cream);
}

/* Panel */
.sfp-panel {
  display: none;
  grid-template-columns: 55fr 45fr;
  gap: 52px;
  align-items: start;
}
.sfp-panel.active { display: grid; }

/* Image */
.sfp-img {
  background: var(--dark3);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.sfp-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Info */
.sfp-info h3 {
  font-family: var(--ff-ko);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.sfp-info h3 small {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(192,155,106,.7);
  margin-left: 0;
  margin-top: 8px;
  letter-spacing: .06em;
}
.sfp-desc {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(245,243,239,.65);
  margin-bottom: 28px;
  font-weight: 400;
}
.sfp-desc strong {
  font-weight: 600;
  color: var(--gold);
}

/* Specs */
.sfp-specs { margin-bottom: 22px; }
.sfp-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sfp-spec span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(245,243,239,.5);
}
.sfp-spec b {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
}
.sfp-spec em {
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}

/* Features */
.sfp-features { margin-bottom: 24px; }
.sfp-feat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(245,243,239,.45);
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.sfp-feat-list { display: flex; gap: 8px; flex-wrap: wrap; }
.sfp-feat {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(192,155,106,.08);
  border: 1px solid rgba(192,155,106,.3);
  border-radius: 6px;
}

/* CTA */
.sfp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: var(--dark3);
  color: var(--cream);
  font-family: var(--ff-ko);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px;
  transition: background .3s, border-color .3s;
  cursor: pointer;
}
.sfp-cta:hover {
  background: var(--dark4);
  border-color: rgba(192,155,106,.3);
}

/* ═══════════════════════════════════════════════════════
   S6 — FOOTER
   ═══════════════════════════════════════════════════════ */
.s6 { background: var(--dark); align-items: flex-start; display: block; overflow-y: auto; }
footer {
  max-width: 1600px; margin: 0 auto; padding: 72px 80px 48px; width: 100%;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 80px; right: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,155,106,.25), transparent);
}

.ft-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; }
.ft-logo { display: flex; flex-direction: column; line-height: 1; }
.ft-logo small { font-size: 10px; font-weight: 400; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.ft-logo strong { font-family: var(--ff-en); font-size: 20px; font-weight: 500; letter-spacing: .06em; color: var(--cream); }

.ft-top nav { display: flex; gap: 28px; }
.ft-top nav a { font-size: 12px; color: rgba(245,243,239,.45); letter-spacing: .04em; cursor: pointer; transition: color .3s; }
.ft-top nav a:hover { color: var(--cream); }
.ft-tel { font-family: var(--ff-ko); font-size: 22px; font-weight: 600; color: var(--gold-lt); letter-spacing: .05em; transition: color .3s; }
.ft-tel:hover { color: var(--gold); }

.ft-hr { border: none; border-top: 1px solid rgba(255,255,255,.08); }
.ft-bot { display: flex; justify-content: space-between; align-items: flex-end; padding: 28px 0 0; }
.ft-info p { font-size: 12px; color: rgba(245,243,239,.38); line-height: 1.8; letter-spacing: .02em; }
.ft-info .ft-sm { font-size: 11px; margin-top: 4px; }
.ft-copy { font-family: var(--ff-en); font-size: 10px; letter-spacing: .1em; color: rgba(245,243,239,.2); text-transform: uppercase; white-space: nowrap; }
.ft-contact { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .03em; color: rgba(200,180,140,.7); }

/* ═══════════════════════════════════════════════════════
   OVERLAY PANEL SYSTEM
   ═══════════════════════════════════════════════════════ */
[data-fx] { visibility: hidden; }

.overlay-stage {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.overlay-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.06);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.overlay-panel.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* overlay 진행 dot */
.ov-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.ov-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background .3s, transform .3s;
  cursor: default;
}
.ov-dot.on { background: var(--gold); transform: scale(1.5); }

/* ── mask-up 스플릿 래퍼 ──────────────────────────────── */
.sp-w-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; }
.sp-w      { display: inline-block; }
/* 모바일: 들여쓰기 방지 */
@media (max-width: 768px) {
  .s0-p2 h2 .sp-w-wrap { display: inline !important; overflow: visible !important; }
  .s0-p2 h2 .sp-w      { display: inline !important; }
}

/* ── S0 hero 타이틀 ───────────────────────────────────── */
.s0-body h1 {
  font-family: var(--ff-en);
  font-size: clamp(52px, 8.5vw, 120px);
  font-weight: 300; line-height: 1.0; letter-spacing: -.01em;
  display: flex; flex-direction: column; gap: 0;
}
.s0-body h1 .t1 {
  font-family: var(--ff-ko); font-weight: 700;
  font-size: clamp(46px, 7.5vw, 108px);
  color: var(--cream); line-height: 1; display: block;
}
.s0-body h1 .t2 {
  font-family: var(--ff-en); font-weight: 300;
  font-size: clamp(52px, 8.5vw, 120px);
  color: var(--cream); line-height: 1; display: block;
}
.s0-body h1 .t2 em { font-style: italic; color: var(--gold); }

/* ── S0 overlay 특수 레이아웃 ─────────────────────────── */
.s0-panel { width: 100%; }

/* S0 첫 번째 패널 — 화면 전체 다크 오버레이 */
.s0-panel:not(.s0-p2)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11,11,11,.78) 0%,
    rgba(11,11,11,.55) 40%,
    rgba(11,11,11,.28) 70%,
    rgba(11,11,11,.12) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.s0-panel:not(.s0-p2) .s0-body { z-index: 2; }

/* S0 두 번째 패널 — 화면 전체 다크 오버레이 */
.s0-p2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11,11,11,.78) 0%,
    rgba(11,11,11,.55) 40%,
    rgba(11,11,11,.28) 70%,
    rgba(11,11,11,.12) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.s0-p2 .s0-body { padding-top: 0; z-index: 2; }

/* ── Hero Highlights (OVERVIEW 핵심 셀링포인트) ────── */
.hero-highlights {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,.06);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
  backdrop-filter: blur(4px);
}
.hh-icon {
  flex-shrink: 0;
  width: 22px;
  color: var(--gold);
  font-size: 13px;
  margin-top: 2px;
  text-align: center;
}
.hh-txt {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  letter-spacing: .01em;
}
.hh-txt em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.s0-btns--col {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-stats {
  display: flex;
  gap: 0;
  margin: 28px 0 36px;
}
.hero-stats .hstat {
  display: flex;
  flex-direction: column;
  padding-right: 36px;
  margin-right: 36px;
  border-right: 1px solid rgba(245,243,239,.15);
}
.hero-stats .hstat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hstat b {
  font-family: var(--ff-ko);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hstat span { font-size: 18px; color: var(--gold); font-weight: 700; margin-top: 4px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hstat p    { font-size: 13px; color: rgba(245,243,239,.75); letter-spacing: .04em; margin-top: 6px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* ═══════════════════════════════════════════════════════
   HORIZONTAL SLIDE SYSTEM
   ═══════════════════════════════════════════════════════ */
.hslide-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.mobile-mode .slide { height: auto; min-height: 100svh; }

/* hslide 진행 dot */
.hs-progress {
  position: absolute;
  bottom: 40px;
  right: 80px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hs-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(11,11,11,.25);
  transition: background .3s, transform .3s;
  cursor: default;
}
.hs-dot.on { background: var(--dark); transform: scale(1.5); }

/* ── S3 hslide 레이아웃 ───────────────────────────────── */
.s3-slide { background: transparent; }
.s3-body  {
  width: 100%; max-width: 1600px;
  padding: calc(var(--hd-h) + 40px) 80px 60px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .s3-body { padding: calc(var(--hd-h) + 20px) 16px 36px !important; }
}
@media (max-width: 480px) {
  .s3-body { padding: calc(var(--hd-h) + 16px) 12px 28px !important; }
}
.s3-head { margin-bottom: 40px; }
.s3-head h2 {
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.4);
}

.pgrid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  counter-reset: pcard 4;
}

/* ── pcard overlay variant (사진 위 텍스트) ── */
.pcard--ov { position: relative; min-height: 60vh; border-radius: 10px; }
.pcard--ov .pcard-img {
  position: absolute; inset: 0; height: 100% !important;
  border-radius: 10px;
}
.pcard--ov .pcard-img::after {
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 55%, transparent 100%);
}
.pcard--ov .pcard-over {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 24px 22px; z-index: 3;
}
.pcard--ov .pcard-over h3 {
  color: var(--cream); font-size: 16px; font-weight: 700; margin-bottom: 8px;
}
.pcard--ov .pcard-over p {
  font-size: 13px; color: rgba(245,243,239,.6); line-height: 1.7;
}

/* ── S3B Summary (편의시설 총정리) ── */
.s3b-summary {
  margin-top: 32px; padding: 28px 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; backdrop-filter: blur(8px);
}
.s3b-summary-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.s3b-summary-head i { font-size: 20px; color: var(--gold); }
.s3b-summary-head h3 { color: var(--cream); font-size: 18px; font-weight: 700; }
.s3b-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.s3b-list li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 14px; color: rgba(245,243,239,.65); line-height: 1.6;
}
.s3b-tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 12px; font-style: normal; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
}
.s3b-tag--shop { color: #4ECDC4; background: rgba(78,205,196,.12); border: 1px solid rgba(78,205,196,.25); }
.s3b-tag--med  { color: #FF6B6B; background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.25); }
.s3b-tag--cul  { color: #A78BFA; background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.25); }
.s3b-tag--park { color: #34D399; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.25); }

/* ── S2 overlay 레이아웃 ──────────────────────────────── */
.s2-panel { width: 100%; }
.s2-body  {
  position: relative; z-index: 2;
  width: 100%; max-width: 1600px;
  padding: calc(var(--hd-h) + 32px) 80px 48px;
  margin: 0 auto;
}
.s2-head  { margin-bottom: 28px; }

.s2-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.s2-card {
  background: rgba(11,11,11,.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.s2-card .loc-img {
  height: 200px;
}
.s2-card .loc-info {
  padding: 20px 24px 24px;
}
.s2-card .loc-info h3 { margin-bottom: 16px; }
.s2-card .loc-info ul { gap: 10px; }
.s2-card .loc-info li { font-size: 14px; }

.s2-content {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 36px;
  align-items: stretch;
}
.loc-img {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
}
.loc-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,11,.5) 0%, transparent 60%);
}
.li0 { background: url('../assets/img/loc-nature.jpg') center/cover no-repeat; }
.li1 { background: url('../assets/img/loc-transport-map.png') center/cover no-repeat; }
.li2 { background: url('../assets/img/loc-park-aerial.png') center/cover no-repeat; }
.li3 { background: url('../assets/img/site-plan.jpg') center/cover no-repeat; }

.s2-panel .loc-info {
  padding: 36px 40px;
  background: rgba(11,11,11,.78);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  backdrop-filter: blur(20px);
}
.s2-panel .loc-info h3 {
  color: var(--cream);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  margin-bottom: 20px;
  padding-top: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(192,155,106,.18);
  letter-spacing: -.01em;
}
.s2-panel .loc-info ul { display: flex; flex-direction: column; gap: 0; }
.s2-panel .loc-info li {
  display: flex; align-items: center; gap: 16px;
  font-size: 15px; color: rgba(245,243,239,.82); line-height: 1.55;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.s2-panel .loc-info li:last-child { border-bottom: none; }
.s2-panel .loc-info li i {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(192,155,106,.22);
  border-radius: 50%;
  background: rgba(192,155,106,.08);
  color: var(--gold); font-size: 13px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   S2B · 초품아 학세권
   ═══════════════════════════════════════════════════════ */
.s2b {
  background: #1a1a1e;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* 배경 장식 — 좌상단 원형 그라디언트 */
.s2b::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,155,106,.08) 0%, transparent 70%);
  pointer-events: none;
}
/* 배경 장식 — 우하단 원형 그라디언트 */
.s2b::after {
  content: '';
  position: absolute;
  bottom: -15%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(192,155,106,.06) 0%, transparent 70%);
  pointer-events: none;
}
body.mobile-mode .s2b {
  height: auto;
  min-height: 0;
}
.s2b-panel {
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start !important;
}
.s2b-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 64px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: var(--hd-h, 70px);
  box-sizing: border-box;
}

/* 헤더 */
.s2b-head {
  text-align: center;
  margin-bottom: 32px;
}
.s2b-head h2 {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.3;
}
.s2b .label {
  color: var(--gold);
  opacity: .7;
}
.s2b-em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.s2b-em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* 패널0: 지도 + 학교 테이블 2단 */
.s2b-content-map {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 28px;
  align-items: start;
}

/* 패널1: 차트 중앙 정렬 — 화면 꽉 차게 */
.s2b-inner--chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: var(--hd-h, 70px);
  padding-bottom: 40px;
  box-sizing: border-box;
}
.s2b-inner--chart .s2b-chart {
  max-width: min(90vw, 1100px);
  width: 100%;
}
.s2b-inner--chart .s2b-chart-sub {
  font-size: 15px;
  padding: 20px 32px;
}
.s2b-inner--chart .s2b-bars {
  gap: 48px;
  margin-top: 12px;
  margin-bottom: 32px;
}
.s2b-inner--chart .s2b-bar-label {
  font-size: 16px;
  padding: 10px 28px;
  margin-bottom: 24px;
}
.s2b-inner--chart .s2b-bar-wrap {
  height: 280px;
  gap: 28px;
  padding-top: 56px;
}
.s2b-inner--chart .s2b-bar {
  max-width: 120px;
}
.s2b-inner--chart .s2b-bar-tag {
  font-size: 14px;
  margin-top: 14px;
}
.s2b-inner--chart .s2b-bar-premium {
  font-size: 13px;
}
.s2b-inner--chart .s2b-bar-premium b {
  font-size: 16px;
  padding: 6px 14px;
}
.s2b-inner--chart .s2b-source {
  font-size: 12px;
}
.s2b-inner--chart .s2b-disclaimers {
  max-width: min(90vw, 1100px);
  width: 100%;
}

/* 좌: 지도 */
.s2b-map {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  border: 1px solid rgba(192,155,106,.15);
}
.s2b-map { cursor: pointer; }
.s2b-map:hover .s2b-map-img { transform: scale(1.02); }
.s2b-map-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
/* 확대 힌트 */
.s2b-map-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: .8;
  transition: opacity .3s;
}
.s2b-map:hover .s2b-map-zoom { opacity: 1; }

/* ── 라이트박스 ─────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
  z-index: 2;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-body {
  max-width: 92vw;
  max-height: 90vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(.92);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.lightbox.active .lightbox-img {
  transform: scale(1);
}
.s2b-map-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(11,11,11,.75);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s2b-badge-logo {
  height: 28px;
  width: auto;
}

/* 우: 차트 */
.s2b-chart {
  background: linear-gradient(145deg, #1e1e24 0%, #232328 50%, #1a1a20 100%);
  border: 1px solid rgba(192,155,106,.15);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 12px 48px rgba(0,0,0,.4), 0 0 0 1px rgba(192,155,106,.05);
  position: relative;
  overflow: hidden;
}
.s2b-chart::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}
/* ── School Table ──────────────────────── */
.s2b-school-table {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(192,155,106,.1);
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 0;
}
.s2b-school-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s2b-school-title i { color: var(--gold); font-size: 14px; }
.s2b-school-list { display: flex; flex-direction: column; gap: 0; }
.s2b-school-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
}
.s2b-school-list li:last-child { border-bottom: none; }

/* Badge */
.sch-badge {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 11px; font-weight: 700;
  color: #fff;
}
.sch-elem { background: #D4813A; }
.sch-mid  { background: #3A8DD4; }
.sch-high { background: #3AB87A; }
.sch-univ { background: #9A6DD4; }

/* School name */
.sch-name {
  font-weight: 600;
  flex-shrink: 0;
  min-width: 90px;
}
.sch-name--elem { color: #E8A85C; }
.sch-name--mid  { color: #6BB8E8; }
.sch-name--high { color: #6BE8A8; }
.sch-name--univ { color: #B89AE8; }

/* Detail */
.sch-detail {
  color: rgba(245,243,239,.55);
  font-size: 12.5px;
  line-height: 1.5;
}
.sch-detail em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.s2b-chart-title {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
.s2b-chart-sub {
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
  background: rgba(192,155,106,.08);
  border: 1px solid rgba(192,155,106,.15);
  padding: 12px 16px;
  border-radius: 4px;
  background: rgba(192,155,106,.05);
}
.s2b-chart-sub em {
  font-style: normal;
  color: var(--gold);
  font-weight: 700;
}
.s2b-chart-sub strong {
  color: #fff;
}

/* 바 차트 */
.s2b-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.s2b-bar-group {
  text-align: center;
}
.s2b-bar-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 7px 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  display: inline-block;
  border-radius: 3px;
  letter-spacing: .06em;
}
.s2b-bar-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  height: 180px;
  padding-top: 48px;   /* 프리미엄 텍스트 공간 확보 */
  position: relative;
}
.s2b-bar {
  flex: 1;
  max-width: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.s2b-bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height 1s var(--ease-expo);
  position: relative;
}
/* 일반: 어두운 회색 */
.s2b-bar--normal .s2b-bar-fill {
  background: rgba(255,255,255,.15);
}
/* 초품아: 강렬한 빨강-주홍 그라디언트 */
.s2b-bar--school .s2b-bar-fill {
  background: linear-gradient(to top, #c0392b, #e74c3c);
  box-shadow: 0 0 20px rgba(231,76,60,.4), 0 0 40px rgba(231,76,60,.15);
}
/* 하단 라벨 */
.s2b-bar-tag {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin-top: 10px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
}
.s2b-bar--school .s2b-bar-tag {
  color: #e74c3c;
  font-weight: 700;
}
/* 상단 프리미엄 라벨 — 바 위에 고정 배치 */
.s2b-bar-premium {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1.35;
  white-space: nowrap;
  padding-bottom: 8px;
  font-size: 11px;
  color: #e74c3c;
  font-weight: 600;
}
.s2b-bar-premium::before {
  content: '▲';
  display: block;
  font-size: 8px;
  color: #e74c3c;
  margin-bottom: 2px;
}
.s2b-bar-premium b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  padding: 5px 12px;
  border-radius: 4px;
  margin-top: 2px;
  box-shadow: 0 2px 12px rgba(231,76,60,.3);
}

/* 출처 */
.s2b-source {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  text-align: center;
}

/* 면책 */
.s2b-disclaimers {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.s2b-disclaimers p {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* ── 1280px ──────────────────────────────────────────── */
@media (max-width: 1280px) {
  .hd-inner    { padding: 0 36px; }
  .gnb         { gap: 26px; }
  .s0-body     { padding: 0 36px; }
  .s1-txt      { padding: 60px 60px 60px 52px; }
  .s2-body     { padding: calc(var(--hd-h) + 24px) 56px 40px; }
  .s3-body     { padding: calc(var(--hd-h) + 32px) 56px 52px; }
  .s4-inner    { padding: calc(var(--hd-h) + 16px) 48px 24px; }
  footer       { padding: 72px 56px 48px; }
  .hs-progress { right: 56px; }
  .loc-img     { min-height: 280px; }
  .s5-linfo    { padding: 52px; }
  .s5-form-wrap { padding: 52px 44px; }
}

/* ── 1024px ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --hd-h: 68px; }
  .gnb        { display: none; }
  .hd-tel span { display: none; }
  .ham        { display: flex; }

  .s1 { grid-template-columns: 1fr; }
  .s1-ghost { font-size: 180px; top: 0; left: auto; right: -10px; transform: translateY(0); }
  .s1-img { height: 45vh; }
  .s1-img-inner { position: relative; height: 100%; }
  .s1-txt { padding: 52px 48px; }

  .sfp-panel.active { grid-template-columns: 1fr; gap: 28px; }
  .sfp-inner { padding: 52px 48px; }

  .s5 { grid-template-columns: 1fr; }
  .s5-left { display: none; }
  .s5-right { align-items: flex-start; border-left: none; }
  .s5-form-wrap { max-width: 520px; padding: 52px 48px; }

  .s2-dual    { gap: 16px; }
  .s2-card .loc-img { height: 180px; }
  .s2-content { grid-template-columns: 1fr; }
  .loc-img    { height: 220px; }
  .pgrid      { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pgrid-2    { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pcard-img  { height: 200px; }
}

/* ── 768px (모바일 모드 진입점) ──────────────────────── */
@media (max-width: 768px) {
  :root { --hd-h: 60px; }
  html  { font-size: 15px; }

  /* 헤더 */
  .hd-inner { padding: 0 20px; }
  .hd-tel   { display: none; }
  .ham      { display: flex; }

  /* 모바일 메뉴 */
  .mmenu-inner { padding: calc(var(--hd-h) + 40px) 28px 40px; }
  .mmenu ul li a { font-size: 24px; padding: 16px 0; }
  .mmenu-foot a  { font-size: 32px; }
  .mmenu-foot p  { margin-bottom: 6px; }

  /* dots 숨김 */
  .dots { display: none; }

  /* scroll indicator 숨김 */
  .scroll-ind { display: none; }

  /* 플로팅 버튼 */
  .float-btn { right: 6px; bottom: 12px; width: 100px; height: 100px; }
  .float-btn__center { width: 60px; height: 60px; }
  .float-btn__center i { font-size: 13px; }
  .float-btn__center span { font-size: 11px; }
  .float-btn__text { font-size: 10px; }

  /* ── S0 Hero ──────────────────────────── */
  .s0 { align-items: flex-start; }
  .s0-body {
    padding: 0 24px;
    padding-top: calc(var(--hd-h) + 32px);
    display: flex; flex-direction: column; justify-content: flex-start;
    text-align: left;
    max-width: 100%;
    width: 100%;
  }
  .s0-body .eyebrow--lg { font-size: clamp(10px, 2.8vw, 12px); margin-bottom: 6px; letter-spacing: .12em; }
  .hero-logo-top { width: clamp(150px, 42vw, 240px); }
  .hero-logo-bot { width: clamp(170px, 42vw, 250px); }
  .s0-sub { margin-top: 4px; font-size: 11px; }
  .s0-btns {
    margin-top: 36px; flex-direction: row; gap: 12px;
    align-self: flex-start;
  }
  .btn-gold, .btn-line {
    justify-content: center; padding: 14px 24px; font-size: 12px;
  }

  /* Hero highlights 모바일 */
  .hero-highlights { margin: 24px 0 0; gap: 10px; }
  .hero-highlights li {
    padding: 12px 14px; gap: 12px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(6px);
  }
  .hh-icon { width: 22px; font-size: 15px; margin-top: 1px; }
  .hh-txt { font-size: 13.5px; line-height: 1.55; }

  .s0-btns--col { flex-direction: row; gap: 10px; margin-top: 20px; }

  /* Hero 2번째 패널 통계 */
  .hero-stats {
    flex-wrap: wrap; gap: 0;
    margin: 28px 0 0;
  }
  .hero-stats .hstat {
    width: 50%; padding: 0; margin: 0;
    border-right: none; border-bottom: 1px solid rgba(245,243,239,.12);
    padding-bottom: 24px; margin-bottom: 24px;
  }
  .hero-stats .hstat:nth-child(odd)  { padding-right: 20px; border-right: 1px solid rgba(245,243,239,.12); }
  .hero-stats .hstat:nth-child(even) { padding-left: 20px; }
  .hero-stats .hstat:nth-child(3),
  .hero-stats .hstat:nth-child(4)    { border-bottom: none; margin-bottom: 0; padding-bottom: 0; padding-top: 0; }
  .hstat b    { font-size: clamp(26px, 7vw, 36px); }
  .ov-progress { bottom: 20px; }

  /* ── S1 Brand ─────────────────────────── */
  body.mobile-mode .s1 { min-height: auto; }
  .s1 { grid-template-columns: 1fr; }
  .s1-ghost { font-size: 120px; top: 0; left: auto; right: 8px; transform: translateY(0); }
  .s1-img {
    height: 52vw; min-height: 200px;
    position: relative;
  }
  .s1-img-inner { position: absolute; inset: 0; }
  .s1-img-frame { inset: 12px; }
  .s1-img-frame::before, .s1-img-frame::after { width: 28px; height: 28px; }
  .img-badge    { bottom: 16px; left: 16px; font-size: 10px; padding: 5px 12px; }
  .s1-txt { padding: 28px 24px 36px; }
  .s1-txt .label { margin-bottom: 10px; }
  .s1-img { height: 56vw; }
  .s1-highlight { padding: 16px 18px; margin-bottom: 20px; }
  .s1-highlight p { font-size: 13px; line-height: 1.7; }
  .s1-cards { gap: 10px; margin-bottom: 28px; }
  .s1-card { padding: 16px 14px; }
  .s1-card-icon { width: 32px; height: 32px; font-size: 13px; margin-bottom: 10px; }
  .s1-card h4 { font-size: 13px; margin-bottom: 4px; }
  .s1-card p { font-size: 11px; }
  .stats {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: stretch; gap: 0;
    border-radius: 4px;
  }
  .stats hr { width: 1px; height: auto; margin: 0; align-self: stretch; }
  .stat { padding: 16px 10px 14px; }
  .stat::before { left: 15%; right: 15%; }
  .stat b.cnt { font-size: clamp(20px, 5vw, 30px); }

  /* ── S2 Location (dual card) ──────────── */
  .s2-dual { grid-template-columns: 1fr; gap: 16px; }
  .s2-card .loc-img { height: 44vw; min-height: 160px; }
  .s2-card .loc-info { padding: 16px 20px 20px; }

  /* ── S2 Location (overlay 스택) ──────── */
  .s2-body {
    padding: calc(var(--hd-h) + 20px) 24px 36px;
    justify-content: flex-start;
  }
  .s2-head { margin-bottom: 20px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .s2-headline { font-size: 24px; }
  .s2-sub { margin-top: 10px; font-size: 13.5px; line-height: 1.6; }
  .loc-desc { font-size: 13px; line-height: 1.65; }
  .s2-content { grid-template-columns: 1fr; gap: 16px; }
  .loc-img { height: 52vw; min-height: 180px; border-radius: 0; }
  .loc-info { padding: 20px; border-radius: 4px; }
  .loc-info h3 { margin-bottom: 8px; padding-bottom: 12px; font-size: 16px; }
  .loc-info li  { font-size: 13px; gap: 10px; padding: 11px 0; }
  .loc-info li i { width: 26px; height: 26px; font-size: 10px; }
  .loc-time { font-size: 12px; padding: 16px 12px; border-radius: 5px; }

  /* hslide 스택 시 슬라이드 구분 */
  body.mobile-mode .s3-slide { border-bottom: 1px solid rgba(255,255,255,.06); }
  body.mobile-mode .s3-slide:last-child { border-bottom: none; }
  body.mobile-mode .hs-progress { display: none; }

  /* overlay 모바일 스택 */
  body.mobile-mode .overlay-stage  { position: relative; width: 100%; }
  body.mobile-mode .overlay-panel  {
    position: relative; inset: auto;
    opacity: 1; transform: none; pointer-events: auto;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  body.mobile-mode .overlay-panel:last-child { border-bottom: none; }
  body.mobile-mode .s0-panel { min-height: 100svh; display: flex; align-items: center; }
  body.mobile-mode .s0-panel[data-step="0"] .s0-body {
    padding-top: 0;
  }
  body.mobile-mode .s0 { height: auto; position: relative; }
  body.mobile-mode .s2-bg,
  body.mobile-mode .s2-veil {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }

  /* ── 모바일 히어로: 공통 배경 숨기고, 패널 개별 배경 적용 ── */
  body.mobile-mode .s0-bg,
  body.mobile-mode .s0-veil { display: none; }

  body.mobile-mode .s0-panel {
    position: relative;
    overflow: hidden;
  }
  body.mobile-mode .s0-panel::before {
    content: '';
    position: absolute; inset: 0;
    background: #8aafc8 url('../assets/img/hero-bg-m.png') center bottom / cover no-repeat !important;
    z-index: 0;
  }
  body.mobile-mode .s0-panel::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(11,11,11,.45) !important;
    z-index: 1;
  }
  body.mobile-mode .s0-panel[data-step="1"]::after {
    background: rgba(11,11,11,.6) !important;
  }
  body.mobile-mode .s0-panel .s0-body {
    position: relative;
    z-index: 2;
  }
  /* 패널 경계선 제거 */
  body.mobile-mode .s0 .overlay-panel { border-bottom: none; }

  /* 2번 패널: 초기 상태 숨김 (GSAP으로 애니메이션) */
  body.mobile-mode .s0-panel[data-step="1"] .s0-body {
    opacity: 0;
    transform: translateY(60px);
  }
  body.mobile-mode .s2 { height: auto; }
  body.mobile-mode .s2-panel { min-height: 100svh; }

  /* ── S2B 초품아 학세권 ────────────────── */
  body.mobile-mode .s2b { height: auto; }
  body.mobile-mode .s2b .overlay-panel { border-bottom: none; }
  .s2b-inner { padding: 48px 20px; min-height: 0; display: block; }
  .s2b-inner--chart { min-height: 0; display: block; }
  .s2b-head { margin-bottom: 28px; }
  .s2b-head h2 { font-size: 22px; line-height: 1.4; }
  .s2b-content-map { grid-template-columns: 1fr; gap: 24px; }
  .s2b-map-badge { bottom: 10px; left: 10px; padding: 6px 10px; }
  .s2b-badge-logo { height: 20px; }
  .s2b-school-table { padding: 18px 16px; margin-bottom: 20px; }
  .s2b-school-title { font-size: 15px; margin-bottom: 12px; }
  .s2b-school-list li { gap: 8px; padding: 10px 0; font-size: 13px; }
  .sch-badge { width: 24px; height: 24px; font-size: 10px; }
  .sch-name { min-width: 80px; font-size: 13px; }
  .sch-detail { font-size: 11.5px; }
  .s2b-chart { padding: 28px 20px; }
  .s2b-chart-title { font-size: 22px; margin-bottom: 14px; }
  .s2b-chart-sub { font-size: 14px; padding: 14px 16px; line-height: 1.8; }
  .s2b-bars { gap: 20px; margin-top: 24px; }
  .s2b-bar-group { }
  .s2b-bar-label { font-size: 14px; padding: 8px 24px; }
  .s2b-bar-wrap { height: 200px; gap: 16px; padding-top: 44px; }
  .s2b-bar { flex: 1; max-width: 72px; }
  .s2b-bar-premium { font-size: 11px; }
  .s2b-bar-premium b { font-size: 12px; padding: 4px 10px; }
  .s2b-bar-tag { font-size: 11px; margin-top: 8px; }
  .s2b-source { font-size: 11px; margin-top: 16px; }
  .s2b-disclaimers { margin-top: 24px; }

  /* ── S3 Premium (hslide 스택) ─────────── */
  body.mobile-mode .hslide-track {
    position: relative; flex-direction: column; transform: none !important; width: 100%;
  }
  body.mobile-mode .slide { width: 100vw; flex: none; }
  body.mobile-mode .slide { height: auto; min-height: 0; }

  .s3-body { padding: calc(var(--hd-h) + 20px) 16px 36px; }
  .s3-head { margin-bottom: 20px; }
  .s3-head h2 { font-size: clamp(22px, 5vw, 32px); }
  .pgrid   { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pgrid-2 { grid-template-columns: 1fr; gap: 14px; }
  .pcard-img { height: 42vw; min-height: 150px; }
  .pcard-img span { font-size: 9px; bottom: 8px; left: 10px; }
  .pcard-img::before { font-size: 24px; top: 8px; right: 10px; }
  .pcard-body { padding: 10px 10px 12px; }
  .pcard-body h3 { font-size: 13px; margin-bottom: 4px; }
  .pcard-body p  { font-size: 11px; line-height: 1.5; }
  .pcard-list li { font-size: 11px; line-height: 1.6; }
  .pcard-list { padding-left: 14px; }

  /* overlay card mobile */
  .pgrid-2 { grid-template-columns: 1fr; gap: 14px; }
  .pcard--ov { min-height: 52vw; border-radius: 8px; }
  .pcard--ov .pcard-over { padding: 14px 16px 16px; }
  .pcard--ov .pcard-over h3 { font-size: 15px; margin-bottom: 6px; }
  .pcard--ov .pcard-over p  { font-size: 12px; line-height: 1.6; }

  /* summary mobile */
  .s3b-summary { margin-top: 20px; padding: 18px 16px; border-radius: 10px; }
  .s3b-summary-head { gap: 8px; margin-bottom: 14px; }
  .s3b-summary-head i { font-size: 16px; }
  .s3b-summary-head h3 { font-size: 15px; }
  .s3b-list { gap: 10px; }
  .s3b-list li { font-size: 12px; gap: 8px; }
  .s3b-tag { font-size: 10px; padding: 2px 8px; }
  .hs-progress { right: 24px; bottom: 20px; }

  /* ── S4 Community ─────────────────────── */
  .s4-inner { padding: calc(var(--hd-h) + 20px) 20px 28px; }
  .s4-head { margin-bottom: 20px; }
  .s4-head h2 { font-size: clamp(22px, 5vw, 32px); }
  .s4-sub { font-size: 13px; }
  .s4-split { grid-template-columns: 1fr; gap: 14px; }
  .s4-map-col { min-height: 360px; order: 2; }
  .s4-grid   { order: 1; }

  /* ── S4 모바일 리디자인 (Behance 2026 트렌드) ── */
  .s4-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .s4-card {
    position: relative;
    border-radius: 14px;
    min-height: 38vw !important;
    border: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
  }
  .s4-card-bg { display: block; }
  .s4-card-dim {
    display: block;
    background: linear-gradient(to top, rgba(11,11,11,.95) 10%, rgba(11,11,11,.75) 60%, rgba(11,11,11,.5) 100%) !important;
  }
  .s4-card-body {
    position: absolute; inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px 16px;
    z-index: 2;
  }
  .s4-card-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    font-size: 17px;
    margin-bottom: auto;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
  }
  /* 카테고리별 아이콘 색상 */
  [data-accent="sports"]  .s4-card-ico { background: rgba(192,155,106,.25); color: #e2c48a; border-color: rgba(192,155,106,.35); }
  [data-accent="culture"] .s4-card-ico { background: rgba(167,139,250,.25); color: #c4b5fd; border-color: rgba(167,139,250,.35); }
  [data-accent="living"]  .s4-card-ico { background: rgba(78,205,196,.25);  color: #7ee8de; border-color: rgba(78,205,196,.35); }
  [data-accent="park"]    .s4-card-ico { background: rgba(52,211,153,.25);  color: #6ee7b7; border-color: rgba(52,211,153,.35); }
  .s4-card::before { display: none; }
  .s4-card-label {
    position: static;
    display: block;
    font-size: 8px;
    color: rgba(245,243,239,.4);
    letter-spacing: .15em;
    margin-bottom: 2px;
  }
  .s4-card-body h3 {
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
    margin-bottom: 4px;
    text-align: left;
  }
  .s4-card-list { padding-left: 16px; margin-top: 0; }
  .s4-card-list li { font-size: 11px; line-height: 1.6; text-align: left; color: rgba(255,255,255,.85); }
  .s4-card-list li { font-size: 12px; color: rgba(245,243,239,.7); line-height: 1.7; }
  .s4-card-desc { font-size: 10px; }

  /* 지도 카드 스타일 통일 */
  .s4-map-col {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
  }
  .s4-map { border-radius: 14px 14px 0 0; }
  .s4-map-info { padding: 10px 16px; font-size: 11px; }

  /* ── S4 Park Intro (모바일) ────────────── */
  .s4--park .s4-inner {
    padding: calc(var(--hd-h) + 20px) 16px 32px;
  }
  .s4-park-map {
    max-width: 100%;
    margin-bottom: 24px;
    border-radius: 10px;
  }
  .s4-zones {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .s4-zone {
    padding: 16px;
    border-radius: 10px;
  }
  .s4-zone-head h3 { font-size: 16px; }
  .zone-en { font-size: 10px; }
  .s4-zone-head p { font-size: 12px; margin-bottom: 12px; }
  .s4-zone-photos { gap: 8px; }
  .s4-zone-tbl td { font-size: 12px; padding: 7px 4px; }
  .zt-nm { width: 80px; }
  .s4-park-disclaimer { margin-top: 20px; }

  /* ── S4B 문화 복지 센터 (모바일) ──────── */
  .s4b-inner { padding: calc(var(--hd-h) + 20px) 16px 32px; }
  .s4b-head { margin-bottom: 20px; }
  .s4b-head h2 { font-size: clamp(22px, 5vw, 32px); }
  .s4b-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .s4b-img { border-radius: 10px; }
  .s4b-info { padding: 16px; border-radius: 10px; }
  .s4b-zone-head h3 { font-size: 17px; }
  .s4b-zone-head p { font-size: 12px; margin-bottom: 14px; }
  .s4b-tbl td { font-size: 12px; padding: 8px 4px; }
  .s4b-tbl .zt-nm { width: 110px; }

  /* ── SFP 평형안내 (2x2 그리드) ─────────── */
  .sfp-inner { padding: calc(var(--hd-h) + 24px) 16px 40px; }
  .sfp-head { margin-bottom: 20px; }
  .sfp-label { font-size: 11px; margin-bottom: 10px; gap: 10px; }
  .sfp-label-line { width: 28px; }
  .sfp-head h2 { font-size: clamp(24px, 6vw, 34px); }
  .sfp-sub { font-size: 13px; }
  .sfp-tabs { display: none !important; }
  .sfp-body { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
  .sfp-panel { display: block !important; }
  .sfp-panel.active { display: block !important; }
  .sfp-img { border-radius: 6px; margin-bottom: 10px; }
  .sfp-info h3 { font-size: 14px; margin-bottom: 6px; }
  .sfp-info h3 small { font-size: 11px; }
  .sfp-panel {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
  }
  .sfp-desc { display: none; }
  .sfp-specs { margin-bottom: 0; }
  .sfp-spec { display: none; padding: 6px 0; }
  .sfp-spec:last-child { display: flex; border: none; }
  .sfp-spec span { font-size: 10px; min-width: 50px; }
  .sfp-spec b { font-size: 12px; }
  .sfp-spec em { font-size: 13px; }
  .sfp-features { display: none; }
  .sfp-cta { display: none; }
  .sfp-panel { cursor: pointer; }
  .sfp-tap-hint {
    display: inline-block;
    font-size: 15px; font-weight: 600;
    color: var(--gold);
    background: rgba(201,171,113,.15);
    border: 1.5px solid rgba(201,171,113,.45);
    border-radius: 24px;
    padding: 6px 18px;
    margin-left: 10px;
    vertical-align: middle;
    animation: sfpHintPulse 1.8s ease-in-out infinite;
  }
  @keyframes sfpHintPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
  }

  /* ── SFP 모달 (플로팅 상세) ──────────── */
  .sfp-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: flex-end; justify-content: center;
    pointer-events: none; opacity: 0;
    transition: opacity .3s ease;
  }
  .sfp-modal.open { pointer-events: auto; opacity: 1; }

  .sfp-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
  }

  .sfp-modal-sheet {
    position: relative; z-index: 1;
    width: 100%; max-height: 90vh;
    background: var(--dark2, #1a1a1a);
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
  }
  .sfp-modal.open .sfp-modal-sheet { transform: translateY(0); }

  .sfp-modal-close {
    position: sticky; top: 0; float: right; z-index: 2;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border: none; border-radius: 50%;
    color: var(--cream, #f5f3ef); font-size: 22px; line-height: 36px;
    text-align: center; cursor: pointer;
  }

  .sfp-modal-content .sfp-panel {
    background: none; border: none; padding: 0; cursor: default;
  }
  .sfp-modal-content .sfp-img { margin-bottom: 16px; }
  .sfp-modal-content .sfp-info h3 { font-size: clamp(22px, 5vw, 30px); margin-bottom: 10px; }
  .sfp-modal-content .sfp-info h3 small { font-size: 14px; }
  .sfp-modal-content .sfp-desc { display: block; font-size: 13px; margin-bottom: 18px; line-height: 1.8; color: rgba(245,243,239,.7); }
  .sfp-modal-content .sfp-specs { display: block; margin-bottom: 18px; }
  .sfp-modal-content .sfp-spec { display: flex; padding: 10px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .sfp-modal-content .sfp-spec:last-child { border-bottom: none; }
  .sfp-modal-content .sfp-spec span { font-size: 12px; min-width: 70px; }
  .sfp-modal-content .sfp-spec b { font-size: 13px; }
  .sfp-modal-content .sfp-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; align-items: center; }
  .sfp-modal-content .sfp-cta { display: block; padding: 15px; font-size: 14px; text-align: center; }

  /* ── HOOK 긴급혜택 ────────────────────── */
  .shook-inner { padding: calc(var(--hd-h) + 28px) 16px 48px; min-height: 100svh; }
  .shook-glow { width: 420px; height: 420px; }
  .shook-badge { font-size: 15px; padding: 10px 24px; margin-bottom: 28px; }
  .shook-t1 { font-size: clamp(26px, 8vw, 40px); }
  .shook-t2 { font-size: clamp(32px, 10vw, 50px); }
  .shook-title { margin-bottom: 28px; }
  .shook-cards { flex-direction: column; gap: 16px; margin-bottom: 32px; }
  .shook-card { padding: 32px 24px; border-radius: 18px; }
  .shook-card-label { font-size: 12px; }
  .shook-card-sub { font-size: 13px; }
  .shook-card-main { font-size: clamp(20px, 6vw, 28px); }
  .shook-card-main em { font-size: 1.3em; }
  .shook-cta { padding: 18px 36px; font-size: 16px; width: 100%; justify-content: center; border-radius: 16px; }

  /* ── S5 Contact ────────────────────────── */
  .s5 { grid-template-columns: 1fr; }
  .s5-left { display: none; }
  .s5-right { min-height: 100svh; align-items: flex-start; border-left: none; }
  .s5-form-wrap { max-width: none; padding: calc(var(--hd-h) + 32px) 28px 48px; }
  .s5-fhead h2 { font-size: clamp(22px, 5.5vw, 32px); }
  .fg input, .fg select { font-size: 16px; padding: 13px 0; }
  .fg textarea { font-size: 16px; }
  .btn-submit { padding: 16px; }

  /* ── S6 Footer ─────────────────────────── */
  body.mobile-mode .s6 { height: auto; min-height: 0; }
  footer { padding: 44px 24px 32px; }
  .ft-top { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 18px; }
  .ft-top nav { display: none; }
  .ft-tel { font-size: 20px; }
  .ft-bot { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 0 0; }
  .ft-copy { font-size: 9px; }
  .ft-info p { font-size: 11px; line-height: 1.7; }

  /* 토스트 */
  .toast { font-size: 13px; padding: 12px 20px; white-space: normal; text-align: center; }

  /* 라이트 섹션 헤더: 모바일에서 스크롤 시 배경 보강 */
  #header[data-theme="light"] { background: rgba(245,243,239,.95); backdrop-filter: blur(8px); }

  /* 로고 크기 축소 */
  .logo-image { height: 30px; }
  .logo-image--ft { height: 24px; }
}

/* ── 480px ───────────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --hd-h: 56px; }

  .s0-body h1 .t1 { font-size: clamp(32px, 9vw, 46px); }
  .s0-body h1 .t2 { font-size: clamp(38px, 10.5vw, 56px); }
  .s0-btns { margin-top: 28px; }
  .btn-gold, .btn-line { padding: 14px 24px; font-size: 12px; }

  .stats { gap: 0; }
  .stats hr { margin: 0; }
  .stat { padding: 14px 6px 12px; }
  .stat-unit { font-size: 10px; }
  .stat b.cnt { font-size: clamp(16px, 4.2vw, 24px); }
  .stat p { font-size: 9px; }

  .s1-ghost { font-size: 90px; right: 4px; }
  .s1-img { height: 56vw; }
  .s1-txt { padding: 28px 20px 36px; }

  .s3-body { padding: calc(var(--hd-h) + 16px) 12px 28px; }
  .pgrid { gap: 8px; }
  .pcard-img { height: 40vw; min-height: 130px; }

  .s4-inner { padding: calc(var(--hd-h) + 16px) 16px 24px; }
  .s4-grid { gap: 6px; }
  .s4-card { min-height: 36vw !important; }
  .s4-card-body { padding: 10px 12px; }
  .s4-card-ico { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; margin-bottom: 5px; }
  .s4-card-body h3 { font-size: 12px; }
  .s4-card-list li { font-size: 10px; }
  .s4-map-col { min-height: 300px; }

  .s5-form-wrap { padding: calc(var(--hd-h) + 20px) 22px 40px; }

  .mmenu-inner { padding: calc(var(--hd-h) + 32px) 24px 36px; }
  .mmenu ul li a { font-size: 22px; }
  .mmenu-foot a  { font-size: 28px; }

  footer { padding: 44px 20px 32px; }

  .hero-stats .hstat { padding-right: 12px; }
  .hstat b { font-size: clamp(24px, 6.5vw, 32px); }
}

/* ── Safe Area (노치 대응) ───────────────────────────── */
@supports (padding: max(0px)) {
  .float-btn { bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px)); }
  .toast     { bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px)); }
  body.mobile-mode .mmenu-inner {
    padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 32px));
  }
}
