/* ============ RESET & BASE ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============ INLINE ICON SYSTEM (replaces xeicon ~200KB) ============ */
[class^="xi-"], [class*=" xi-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  font-style: normal;
}
.xi-angle-left {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 6l-6 6 6 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 6l-6 6 6 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.xi-angle-right {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.xi-angle-up {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 14l6-6 6 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 14l6-6 6 6' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.xi-call {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.2 0-2.5-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.4-5.1-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.4-1.1-.6-2.3-.6-3.6 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.4c0-.6-.4-1-1-1z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.2 0-2.5-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.4-5.1-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.4-1.1-.6-2.3-.6-3.6 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.4c0-.6-.4-1-1-1z'/%3E%3C/svg%3E");
}
.xi-calendar-check {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3Cpath d='M10.5 17.5l-3.2-3.2 1.4-1.4 1.8 1.8 4.8-4.8 1.4 1.4z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3Cpath d='M10.5 17.5l-3.2-3.2 1.4-1.4 1.8 1.8 4.8-4.8 1.4 1.4z'/%3E%3C/svg%3E");
}
.xi-external-link {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7M21 3l-9 9M19 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7M21 3l-9 9M19 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.xi-naver-square {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3v18h18V3H3zm12 14h-2.5l-3-5v5H7V7h2.5l3 5V7H15v10z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3v18h18V3H3zm12 14h-2.5l-3-5v5H7V7h2.5l3 5V7H15v10z'/%3E%3C/svg%3E");
}
.xi-youtube,
.xi-youtube-play {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M22 6c0-1.7-1.3-3-3-3H5C3.3 3 2 4.3 2 6v12c0 1.7 1.3 3 3 3h14c1.7 0 3-1.3 3-3V6zM10 16V8l6 4-6 4z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M22 6c0-1.7-1.3-3-3-3H5C3.3 3 2 4.3 2 6v12c0 1.7 1.3 3 3 3h14c1.7 0 3-1.3 3-3V6zM10 16V8l6 4-6 4z'/%3E%3C/svg%3E");
}
.xi-instagram {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 2H7C4.2 2 2 4.2 2 7v10c0 2.8 2.2 5 5 5h10c2.8 0 5-2.2 5-5V7c0-2.8-2.2-5-5-5zm3 15c0 1.7-1.3 3-3 3H7c-1.7 0-3-1.3-3-3V7c0-1.7 1.3-3 3-3h10c1.7 0 3 1.3 3 3v10z'/%3E%3Cpath d='M12 7c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 2H7C4.2 2 2 4.2 2 7v10c0 2.8 2.2 5 5 5h10c2.8 0 5-2.2 5-5V7c0-2.8-2.2-5-5-5zm3 15c0 1.7-1.3 3-3 3H7c-1.7 0-3-1.3-3-3V7c0-1.7 1.3-3 3-3h10c1.7 0 3 1.3 3 3v10z'/%3E%3Cpath d='M12 7c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.5'/%3E%3C/svg%3E");
}
.xi-blogger {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 13H8v-2h6v2zm2-4H8v-2h8v2zm0-4H8V6h8v2z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 13H8v-2h6v2zm2-4H8v-2h8v2zm0-4H8V6h8v2z'/%3E%3C/svg%3E");
}
.xi-kakaotalk {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.5 2 11c0 2.8 1.7 5.3 4.4 6.8-.2.7-.7 2.5-.8 2.9 0 0-.1.2.1.3.2.1.4 0 .4 0 .5-.1 3-2 3.6-2.4.7.1 1.5.2 2.3.2 5.5 0 10-3.5 10-8s-4.5-8-10-8z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.5 2 11c0 2.8 1.7 5.3 4.4 6.8-.2.7-.7 2.5-.8 2.9 0 0-.1.2.1.3.2.1.4 0 .4 0 .5-.1 3-2 3.6-2.4.7.1 1.5.2 2.3.2 5.5 0 10-3.5 10-8s-4.5-8-10-8z'/%3E%3C/svg%3E");
}
.xi-gift {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 12 20 22 4 22 4 12'/%3E%3Crect x='2' y='7' width='20' height='5'/%3E%3Cline x1='12' y1='22' x2='12' y2='7'/%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z'/%3E%3Cpath d='M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 12 20 22 4 22 4 12'/%3E%3Crect x='2' y='7' width='20' height='5'/%3E%3Cline x1='12' y1='22' x2='12' y2='7'/%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z'/%3E%3Cpath d='M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'/%3E%3C/svg%3E");
}

/* ===== GMarket Sans (메인 페이지 한글 제목용) ===== */
@font-face{font-family:'GmarketSans';src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'GmarketSans';src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');font-weight:700;font-style:normal;font-display:swap;}
/* 메인 페이지 본문 폰트 → Noto Sans SC 통일 (제목은 아래 GMarket Sans 유지) */
body.home { font-family: 'Noto Sans SC', sans-serif; }
/* 메인 페이지 섹션 제목(한글) → GMarket Sans; eyebrow 등 본문은 Noto Sans SC */
body.home main h2 { font-family: 'GmarketSans', 'Noto Sans SC', sans-serif; font-size: clamp(26px, 3vw, 38px); }
/* 모든 메인 섹션 제목을 About 섹션 제목(수술적 정교함…) 크기로 통일 */
body.home .tv-intro-title { font-size: clamp(26px, 3vw, 38px); }

:root {
  --color-primary: #0a0a0a;
  --color-primary-dark: #000000;
  --color-primary-light: #2a2a2a;
  --color-accent: #b8997f;
  --color-accent-dark: #8e7460;
  --color-text: #1a1a1a;
  --color-text-light: #737373;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f1;
  --color-bg-cream: #faf8f4;
  --color-border: #ebe7e0;
  --color-border-strong: #1a1a1a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-wide: 0.12em;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Noto Sans SC', "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow-xl {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 20px;
  font-weight: 800;
}
h3 { font-size: 20px; margin-bottom: 12px; font-weight: 700; }
h4 { font-size: 14px; margin-bottom: 16px; font-weight: 600; letter-spacing: var(--letter-spacing-wide); text-transform: uppercase; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
/* Tighten gap between categories section-head and the card grid */
.categories .section-head { margin-bottom: 36px; }
.section-desc {
  color: var(--color-text-light);
  font-size: 16px;
  margin-top: 12px;
}
.section-lead {
  margin-top: 16px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.65;
  letter-spacing: -0.02em;
}
.section-lead .lead-accent { color: var(--color-accent); font-weight: 700; }

/* ============ BUTTON ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent);
}
.btn-primary::after {
  content: '→';
  margin-left: 4px;
  transition: var(--transition);
}
.btn-primary:hover::after { transform: translateX(4px); }

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-full { width: 100%; }
.nav-cta::after { display: none; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  /* backdrop-filter 제거: 전체메뉴/사이트맵 패널이 헤더 backdrop-filter 컨테이닝블록에 갇혀 잘리는 문제 해결 (bg가 98% 불투명이라 시각차 거의 없음) */
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* ============ GLOBAL HEADER LOCK (detail-page safety guard) ============
   상세페이지에서 인라인 <style>이 body나 .container를 광범위하게 재정의해도
   메인 메뉴/유틸바/사이트맵 패널이 잘리지 않도록 폭·폰트·박스모델을 잠근다.
   상세페이지 본문은 그대로 자유로이 디자인하되, 헤더 영역만은 이 규칙이 우선한다. */
body .utility-bar > .container,
body .site-header > .container,
body .site-header .header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
body .utility-bar,
body .site-header,
body .full-sitemap {
  font-family: 'Noto Sans SC', "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
body .site-header *,
body .site-header *::before,
body .site-header *::after,
body .utility-bar *,
body .utility-bar *::before,
body .utility-bar *::after {
  box-sizing: border-box;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--color-primary);
  letter-spacing: var(--letter-spacing-tight);
}
.logo-mark {
  font-size: 24px;
  color: var(--color-accent);
}
.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logo-footer .logo-img {
  height: 40px;
  filter: brightness(0) invert(1) opacity(0.95);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-list .nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  transition: var(--transition);
  padding: 10px 18px;
  letter-spacing: -0.01em;
  display: inline-block;
}
.nav-list .nav-link:hover { color: var(--color-accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-cta {
  padding: 10px 22px 10px 18px;
  font-size: 13.5px;
  border-radius: 99px;
  background: #c47b6a;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 700;
  gap: 8px;
  box-shadow: 0 4px 12px -4px rgba(196,123,106,.45);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.nav-cta:hover {
  background: #b36a59;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -4px rgba(196,123,106,.6);
}
.nav-cta::before {
  content: '';
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='8' y1='3' x2='8' y2='7'/><line x1='16' y1='3' x2='16' y2='7'/><circle cx='8' cy='14.5' r='1' fill='%23000' stroke='none'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='8' y1='3' x2='8' y2='7'/><line x1='16' y1='3' x2='16' y2='7'/><circle cx='8' cy='14.5' r='1' fill='%23000' stroke='none'/></svg>") no-repeat center / contain;
}
.nav-cta::after { display: none; }

/* Dropdown */
.nav-item { position: relative; }
.dropdown,
.mega-menu {
  position: absolute;
  top: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}
.dropdown {
  left: 0;
  min-width: 240px;
  padding: 12px 0;
}
.mega-menu {
  left: 50%;
  transform: translate(-50%, 8px);
  width: 760px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item.has-mega:hover .mega-menu,
.nav-item.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown ul { padding: 0; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-text);
}
.dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.mega-col h4 {
  color: var(--color-primary);
  font-size: 13px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.mega-col li { margin-bottom: 4px; }
.mega-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--color-text);
}
.mega-col a:hover { color: var(--color-primary); }

/* Caret removed on desktop — mobile +/- accordion still works via @media override below */

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 햄버거 메뉴 상단 언어 스위처 */
.nav-lang { display: none; }
@media (max-width: 1024px) {
  .nav.is-open .nav-lang {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 4px 0 18px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-lang .flag-item {
    display: inline-flex;
    width: 42px;
    height: 30px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .nav-lang .flag-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .nav-lang .flag-item.is-active { opacity: 1; border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(196,123,106,0.35); }
  .nav-lang .flag-item:active, .nav-lang .flag-item:hover { opacity: 1; transform: translateY(-1px); }
}

/* ============ HERO (legacy) ============ */
.hero {
  padding: 80px 0 100px;
  background: var(--color-bg-cream);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 20px;
}
.hero-title .accent {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}
.hero-desc {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(30, 64, 175, 0.1);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}
.stat-label {
  font-size: 14px;
  color: var(--color-text-light);
}

.hero-visual {
  position: relative;
  height: 400px;
}
.hero-card {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}
.card-1 { top: 30px; left: 20%; animation-delay: 0s; }
.card-2 { top: 140px; right: 10%; animation-delay: 0.5s; width: 140px; height: 140px; font-size: 56px; }
.card-3 { bottom: 40px; left: 30%; animation-delay: 1s; width: 120px; height: 120px; font-size: 48px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ============ CATEGORY GRID (전문시술) ============ */
.category-section {
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.category-card {
  position: relative;
  min-height: 280px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.45s ease, background-position 0.45s ease;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.category-card:nth-child(3n) { border-right: none; }
.category-card:nth-last-child(-n+3) { border-bottom: none; }

.card-darkcircle { background-image: url('../images/category/darkcircle.jpg'); background-position: center 20%; }
.card-nose       { background-image: url('../images/category/nose.jpg');       background-position: center 30%; }
.card-antiaging  { background-image: url('../images/category/antiaging.jpg');  background-position: center 25%; }
.card-eyes       { background-image: url('../images/category/eyes.jpg');       background-position: center 25%; }
.card-fat        { background-image: url('../images/category/fat.jpg');        background-position: center 30%; }
.card-petit      { background-image: url('../images/category/petit.jpg');      background-position: center 25%; }

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  transition: background 0.35s ease;
}
.category-card:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
}
.category-card .card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-card .card-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}
.category-card .card-description {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  letter-spacing: -0.3px;
}
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { border-right: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
  .category-card:nth-child(3n) { border-right: 1px solid #e5e5e5; }
  .category-card:nth-last-child(-n+3) { border-bottom: 1px solid #e5e5e5; }
  .category-card:nth-child(2n) { border-right: none; }
  .category-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 640px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-card {
    padding: 32px 28px;
    min-height: 220px;
    border-right: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }
  .category-card:last-child { border-bottom: none !important; }
  .category-card .card-title { font-size: 20px; }
  .category-card .card-description { font-size: 13px; }
}

/* ===== 대표 수술 featured 레이아웃: 1 대형 + 3 ===== */
.category-grid.is-featured .category-card {
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
.category-grid.is-featured .card-feature {
  grid-column: 1 / -1;
  min-height: 360px;
  border-right: none;
}
.category-grid.is-featured .card-feature .card-title { font-size: clamp(28px, 3.6vw, 38px); }
.category-grid.is-featured .card-feature .card-description { font-size: 15px; max-width: 600px; }
.category-grid.is-featured .category-card:nth-child(n+2) { border-bottom: none; }
.category-grid.is-featured .category-card:last-child { border-right: none; }
@media (max-width: 1024px) {
  .category-grid.is-featured { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .category-grid.is-featured { grid-template-columns: 1fr; }
  .category-grid.is-featured .card-feature { grid-column: auto; min-height: 240px; }
}

/* ===== 시그니처 수술/시술: 디자인 배너 교체 + 텍스트/오버레이 제거 (메인 한정) ===== */
body.home .category-grid.is-featured .category-card::before { display: none; }
body.home .category-grid.is-featured .card-feature { aspect-ratio: 1600 / 500; min-height: 0; }
body.home .category-grid.is-featured .category-card:not(.card-feature) { aspect-ratio: 860 / 560; min-height: 0; }
body.home .category-grid.is-featured .category-card { transition: filter .3s ease; }
body.home .category-grid.is-featured .category-card:hover { filter: brightness(0.96); }
body.home .card-darkcircle { background-image: url('../images/category/zh/sig-eye.jpg'); background-position: center; }
body.home .card-antiaging  { background-image: url('../images/category/zh/sig-forehead.jpg'); background-position: center; }
body.home .card-nose       { background-image: url('../images/category/zh/sig-nose.jpg'); background-position: center; }
body.home .card-petit      { background-image: url('../images/category/zh/sig-skincare.jpg'); background-position: center; }

/* ============ SERVICES ============ */
.services { background: var(--color-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.service-card {
  background: #fff;
  padding: 48px 36px;
  transition: var(--transition);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: block;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  background: var(--color-bg-cream);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-size: 36px;
  margin-bottom: 20px;
  filter: grayscale(0.3);
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.card-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card:hover .card-link { color: var(--color-accent); gap: 12px; }

/* ============ ABOUT ============ */
/* Extra bottom padding so the overlapping footer (margin-top: -80px) doesn't cover content */
.about.section {
  padding-bottom: 200px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('images/doctor-about.webp');
  background-size: cover, cover;
  background-position: center center, -6cm 30%;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  color: #fff;
}
.about.section .eyebrow { color: var(--color-accent); }
.about.section h2 { color: #fff; }
.about.section .about-text > p { color: rgba(255, 255, 255, 0.85); }
.about.section .feature-list strong { color: #fff; }
.about.section .feature-list li p { color: rgba(255, 255, 255, 0.7); }
.about.section .feature-list .check {
  color: var(--color-accent);
  border-color: rgba(184, 153, 127, 0.6);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--color-text-light); font-size: 16px; margin-bottom: 32px; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-list li {
  display: flex;
  gap: 16px;
}
.check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.feature-list strong { display: block; margin-bottom: 4px; }
.feature-list p { margin-bottom: 0; font-size: 14px; }

.about-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}
.about-emoji {
  position: relative;
  font-size: 140px;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-field label span { color: #ef4444; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  transition: var(--transition);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}
.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-block {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}
.info-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.info-block strong { display: block; margin-bottom: 4px; }
.info-block p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 0;
}

/* ============ FOOTER (PSPS-style) ============ */
.site-footer {
  background: #000;
  color: #fff;
  padding: 60px 0;
  margin-top: -80px;
  position: relative;
  z-index: 1;
}
.site-footer * { color: #fff; }
.footer-flex {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-info-area { flex: 1 1 480px; min-width: 0; }
.footer-map-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  margin-top: 2cm;
}
.footer-logo-box { width: 180px; margin-top: 1cm; margin-bottom: 30px; transform: translateY(1cm); }
.footer-logo-box img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.footer-call {
  font-size: 44px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.footer-call a { color: #fff; }
.footer-time { margin-bottom: 36px; list-style: none; padding: 0; }
.footer-time li {
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.85);
}
.footer-time .day { min-width: 70px; display: inline-block; }
.footer-time .holiday {
  font-size: 13px;
  margin-top: 14px;
  margin-bottom: 0;
  opacity: 0.55;
}

.footer-gnb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.footer-gnb li {
  position: relative;
  margin: 6px 18px;
}
.footer-gnb li:first-of-type { margin-left: 0; }
.footer-gnb li a {
  font-size: 14px;
  padding-bottom: 2px;
  display: inline-block;
  letter-spacing: -0.01em;
}
.footer-gnb li:after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  transform: translate(-50%, -50%);
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.35);
}
.footer-gnb li:last-child:after { display: none; }

.footer-address { opacity: 0.55; }
.footer-address-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  text-align: left;
}
.footer-address-list li {
  display: block;
  margin: 4px 0;
  font-size: 12px;
  letter-spacing: -0.01em;
  line-height: 1.55;
}
.footer-address-list li.full-line {
  margin-bottom: 6px;
}
.footer-copyright {
  font-size: 12px;
  margin-top: 8px;
  letter-spacing: 0.02em;
  opacity: 0.9;
  text-align: left;
}

.footer-map-area .map-box {
  position: relative;
  width: 576px;
  max-width: 100%;
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.footer-map-area .kakao-map {
  width: 100%;
  height: 360px;
  background: #1a1a1a;
}
.footer-map-area .kakao-map.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(250, 225, 0, 0.18), transparent 60%),
    #1a1a1a;
}
.footer-map-area .kakao-map.is-fallback::after {
  content: '카카오맵 SDK 키가 설정되어야 지도가 표시됩니다.\A우측 상단의 “카카오맵에서 보기”로 위치를 확인하세요.';
  white-space: pre-line;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.footer-map-area .map-open-link {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: -0.01em;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.footer-map-area .map-open-link:hover {
  background: #fae100;
  color: #3a1d1d !important;
  transform: translateY(-1px);
}
.footer-map-area .map-open-link i { font-size: 13px; line-height: 1; }
.kakao-iw {
  position: relative;
  padding: 7px 14px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transform: translateY(-40px);
}
.kakao-iw::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  width: 0;
  height: 0;
}
.footer-sns {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
  transform: translateY(-0.5cm);
}
.footer-sns li a {
  width: 32px;
  height: 32px;
  font-size: 15px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-sns li a:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.footer-sns li a.sns-img {
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}
.footer-sns li a.sns-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-sns li a.sns-img:hover {
  background: transparent;
  border: 0;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-flex { gap: 40px; }
  .footer-map-area { width: 100%; align-items: stretch; }
  .footer-map-area .map-box { width: 100%; }
  .footer-map-area .kakao-map { height: 320px; }
  .footer-sns { justify-content: flex-end; }
}
@media (max-width: 768px) {
  .site-footer { padding: 50px 0 80px; }
  .footer-logo-box { width: 150px; margin-bottom: 22px; }
  .footer-call { font-size: 32px; margin-bottom: 22px; }
  .footer-time { margin-bottom: 24px; }
  .footer-time li { font-size: 13px; margin-bottom: 8px; }
  .footer-time .day { min-width: 60px; }
  .footer-time .holiday { font-size: 12px; }
  .footer-gnb li a { font-size: 13px; }
  .footer-gnb li { margin: 5px 12px; }
  .footer-gnb li:after { left: calc(100% + 12px); height: 10px; }
  .footer-address-list li { font-size: 11px; margin: 3px 10px; }
  .footer-address-list li:after { left: calc(100% + 10px); }
  .footer-copyright { font-size: 11px; }
  .footer-map-area .kakao-map { height: 260px; pointer-events: none; } /* 모바일: 지도 터치 비활성화 → 페이지 스크롤 가로채지 않음. 길찾기는 아래 '지도 크게 보기' 링크 */
  .footer-map-area .map-open-link { top: 10px; right: 10px; padding: 6px 10px; font-size: 11px; }
  .footer-sns li a { width: 30px; height: 30px; font-size: 14px; }
}

/* ============ TO TOP ============ */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 50;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ============ RESPONSIVE: TABLET ============ */
@media (max-width: 1280px) {
  .nav-list { gap: 0; }
  .nav-list .nav-link { font-size: 13px; padding: 10px 12px; }
  .mega-menu { width: 680px; }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
  .hero-visual { height: 350px; }
  .card-2 { width: 110px; height: 110px; font-size: 44px; }
  .card-3 { width: 100px; height: 100px; font-size: 40px; }
  /* On tablet, hide nav items behind hamburger to avoid overflow */
  .nav-list, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-100vh);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav.is-open .nav-list,
  .nav.is-open .nav-cta { display: flex; }
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  .nav-item { width: 100%; }
}

/* ============ RESPONSIVE: MOBILE ============ */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }

  /* Navigation collapses */
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 24px;
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-100vh);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-item { width: 100%; }
  .nav-list .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 16px;
    font-weight: 600;
  }
  .nav-cta { width: 100%; margin-top: 16px; }

  /* Dropdown becomes accordion */
  .has-dropdown > .nav-link::after,
  .has-mega > .nav-link::after {
    content: '+';
    border: 0;
    transform: none;
    width: auto;
    height: auto;
    margin: 0;
    font-size: 22px;
    font-weight: 300;
    opacity: 1;
    color: var(--color-text-light);
    transition: transform 0.2s ease;
  }
  .nav-item.is-open > .nav-link::after { content: '−'; }

  .dropdown,
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
    background: var(--color-bg-alt);
    border-radius: 0;
    width: auto;
    display: block;
    transition: max-height 0.35s ease;
  }
  .nav-item.is-open .dropdown,
  .nav-item.is-open .mega-menu {
    max-height: 1200px;
    padding: 8px 16px;
  }
  .dropdown a {
    padding: 10px 12px;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .dropdown li:last-child a { border-bottom: 0; }
  .mega-col { padding-top: 12px; }
  .mega-col:first-child { padding-top: 8px; }
  .mega-col h4 { font-size: 13px; }
  .mega-col a { padding: 8px 0; font-size: 14px; }

  /* Hero */
  .hero { padding: 48px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: space-around; gap: 16px; }
  .stat-num { font-size: 24px; }
  .hero-visual { height: 280px; order: -1; }
  .card-1 { top: 0; left: 10%; }
  .card-2 { top: 80px; right: 10%; width: 90px; height: 90px; font-size: 36px; }
  .card-3 { bottom: 0; left: 40%; width: 90px; height: 90px; font-size: 36px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .about-emoji { font-size: 100px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats { flex-direction: column; gap: 12px; align-items: flex-start; }
  .stat { flex-direction: row; gap: 8px; align-items: baseline; }
}

/* ============ FULL SITEMAP (HOVER MEGA PANEL) ============ */
.full-sitemap {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0;
  background: #c89084; /* 로고 살몬·더스티 로즈 */
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 50px rgba(165, 108, 96, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 999;
  isolation: isolate;
}
.full-sitemap .sitemap-inner {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px 12px;
  padding: 40px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.sitemap-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  position: relative;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.sitemap-col h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #fff;
}
.sitemap-col ul li { margin-bottom: 6px; }
.sitemap-col a {
  font-size: 11.5px;
  color: rgba(255,255,255,0.88);
  transition: var(--transition);
  display: inline-block;
  line-height: 1.4;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.sitemap-col a:hover {
  color: #fff;
  transform: translateX(3px);
}
/* Wide column for 시그니처 쁘띠 */
.sitemap-col-wide { grid-column: span 2; }
.sub-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sub-head {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin: 12px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
}
.sub-col > .sub-head:first-child { margin-top: 0; }

/* Show on desktop hover */
@media (min-width: 1025px) {
  .full-sitemap { display: block; }
  .site-header:hover .full-sitemap,
  .site-header:focus-within .full-sitemap {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  /* Disable individual dropdowns/mega when full sitemap takes over */
  .nav-item.has-dropdown:hover .dropdown,
  .nav-item.has-dropdown:focus-within .dropdown,
  .nav-item.has-mega:hover .mega-menu,
  .nav-item.has-mega:focus-within .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  /* Active state on nav link when sitemap is open */
  .site-header:hover .nav-link {
    color: var(--color-text);
  }
  .site-header:hover .nav-link:hover {
    color: var(--color-accent);
  }
}

/* ============ PSPS-STYLE ACCENTS ============ */
.italic-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}
.section-desc {
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* ============ UTILITY BAR ============ */
.utility-bar {
  background: #c47b6a;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.util-link {
  color: rgba(255,255,255,0.92);
  transition: color 0.2s;
}
.util-link:hover { color: #fff; }
.util-link strong { color: #fff7ed; font-weight: 700; margin-right: 4px; }
.lang-select { position: relative; }
.lang-btn {
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  padding: 4px 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.lang-btn:hover { color: #fff; }
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 200;
  min-width: 100px;
}
.lang-select:hover .lang-menu,
.lang-select:focus-within .lang-menu { opacity: 1; visibility: visible; }
.lang-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--color-text);
  font-size: 13px;
}
.lang-menu a:hover { background: var(--color-bg-alt); }

/* ============ HERO SLIDER ============ */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: 640px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-primary);
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: var(--color-primary);
}
.hero-slider .slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(184, 153, 127, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(0,0,0,0.4) 0%, transparent 100%);
  pointer-events: none;
}
.hero-slider .slide.is-active { opacity: 1; z-index: 1; }

/* Image slide — slide 1 uses CSS with WebP+PNG fallback; slide 2+ lazily applied via JS */
.slide-image {
  background-color: #efe4d2;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Slide 1 hero — 100% 100% 로 늘려 박스 오버레이 좌표 일치 */
.hero-slider .slide[data-slide="1"] {
  background-image: url('../images/banner/zh/slide1.jpg');
  background-size: 100% 100%;
}
/* Slide 3 — 클릭 전체 영역 */
.hero-slider .slide-link{cursor:pointer}
.hero-slider .slide-link-area{
  position:absolute;inset:0;z-index:4;
  display:block;text-indent:-9999px;overflow:hidden;
  background:transparent;
}
.hero-slider .slide-link .slide-cta{z-index:5}
.hero-slider .slide-image::before {
  background: none;
}
.slide-image .slide-inner {
  position: relative;
  height: 100%;
  display: block;
  padding: 0;
}
.slide-cta {
  display: flex;
  justify-content: center;
}
/* Slide 1 stats overlay (counter + live datetime) */
.slide1-stats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
/* 슬라이드1 6개 검은 박스 위에 흰색 숫자 1개씩 오버레이 */
.counter-boxes {
  position: absolute;
  left: 54.32%;
  top: 59.6%;
  width: 32.24%;
  height: 23.18%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.74%;
}
.counter-digit {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Chakra Petch', 'Courier New', monospace;
  font-weight: 600;
  font-size: clamp(28px, 5.6vw, 110px);
  letter-spacing: 0.02em;
  line-height: 1;
  background: transparent;
  transform: none;
}
.live-datetime {
  position: absolute;
  right: 13.44%;
  top: 94%;
  text-align: right;
  font-size: 12px;
  color: #1c2c4f;
  font-weight: 500;
  letter-spacing: 0;
}
@media (max-width: 768px) {
  .counter-boxes { left: 5.42%; top: 45%; width: 89.17%; height: 14.5%; gap: 0.56%; }
  .counter-digit { font-size: clamp(24px, 10vw, 56px); }
  .live-datetime { font-size: 10px; top: 60.5%; right: 6%; }
}

/* Slide 2: position CTA below the "가 필요합니다." text on the right */
.slide-image .slide-cta {
  position: absolute;
  left: calc(62% + 3cm);
  top: 62%;
  z-index: 5;
  display: block;
}
.slide-image .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1c1c1c;
  color: #fff;
  border: 1px solid #1c1c1c;
  border-radius: 99px;
  backdrop-filter: none;
  padding: 12px 26px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.35);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.slide-image .btn-white::after {
  content: '';
  width: 15px;
  height: 15px;
  display: inline-block;
  margin-left: 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7 L11 7 M7 3 L11 7 L7 11'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7 L11 7 M7 3 L11 7 L7 11'/></svg>") no-repeat center / contain;
  transform: none;
  transition: transform .2s ease;
}
.slide-image .btn-white:hover {
  background: #000;
  color: #fff;
  border-color: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(0,0,0,.5);
}
.slide-image .btn-white:hover::after { transform: translateX(3px); }

@media (max-width: 1024px) {
  .slide-image { background-size: cover; }
}
@media (max-width: 768px) {
  .slide-image { background-size: cover; }
  .slide-image .slide-cta {
    left: 8%;
    right: auto;
    top: 61%;
    bottom: auto;
  }
  .slide-image .btn-white { padding: 6px 14px; font-size: 8px; gap: 4px; }
  .slide-image .btn-white::after { width: 8px; height: 8px; margin-left: 1px; }
}
.slide-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.slide-text h1 {
  color: #fff;
  font-size: clamp(36px, 5.5vw, 64px);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.15;
}
.eyebrow.light {
  color: var(--color-accent);
  font-weight: 500;
}
.slide-desc {
  font-size: 17px;
  opacity: 0.8;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
  font-weight: 300;
}
.slide-visual {
  font-size: clamp(120px, 18vw, 220px);
  text-align: center;
  opacity: 0.4;
  filter: grayscale(1);
}
.btn-white {
  background: var(--color-accent);
  color: #fff;
  padding: 18px 40px;
  font-weight: 600;
  border: 1px solid var(--color-accent);
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-white::after {
  content: '→';
  margin-left: 8px;
  transition: var(--transition);
}
.btn-white:hover::after { transform: translateX(6px); }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  z-index: 5;
  backdrop-filter: blur(4px);
  transition: 0.2s;
}
.slider-btn:hover { background: rgba(255,255,255,0.4); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: 0.2s;
  cursor: pointer;
}
.slider-dots button.is-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* ============ QUICK CONSULT ============ */
.quick-consult {
  background: var(--color-bg-cream);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 0;
}
.consult-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.consult-head h2 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 800;
}
.consult-head p { color: var(--color-text-light); font-size: 14px; }
.consult-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}
.consult-tab {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 13px;
  background: #fff;
  color: var(--color-text-light);
  transition: var(--transition);
  font-weight: 500;
}
.consult-tab + .consult-tab { border-left: 0; }
.consult-tab.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.consult-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  gap: 0;
}
.consult-fields input,
.consult-fields select {
  padding: 16px 14px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font: inherit;
  font-size: 14px;
  background: #fff;
}
.consult-fields > * + * { border-left: 0; }
.consult-fields input:focus,
.consult-fields select:focus {
  outline: none;
  border-color: var(--color-accent);
  position: relative;
  z-index: 1;
}
.consult-fields .btn {
  padding: 16px 32px;
  border: 1px solid var(--color-primary);
}
.consent {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-light);
}
.consent input { accent-color: var(--color-accent); }

/* ============ SECTION ALT ============ */
.section-alt { background: var(--color-bg-alt); }
.section-more { text-align: center; margin-top: 40px; }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 12px 32px;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============ VIDEO GRID ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.video-grid-tv {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.video-card[data-youtube] { cursor: pointer; }

/* ============ MODEL STORY SLIDER (horizontal carousel) ============ */
.model-story-slider {
  position: relative;
  margin: 0 -8px;
}
.model-story-slider .model-story-track {
  display: flex;
  grid-template-columns: none;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 8px;
  padding: 4px 8px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 153, 127, 0.45) transparent;
}
.model-story-slider .model-story-track::-webkit-scrollbar { height: 6px; }
.model-story-slider .model-story-track::-webkit-scrollbar-track {
  background: rgba(184, 153, 127, 0.08);
  border-radius: 999px;
}
.model-story-slider .model-story-track::-webkit-scrollbar-thumb {
  background: rgba(184, 153, 127, 0.45);
  border-radius: 999px;
}
.model-story-slider .model-story-track::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}
.model-story-slider .model-story-track:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.model-story-slider .model-story-track > .video-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.model-story-slider .ms-nav {
  position: absolute;
  top: calc(50% - 36px); /* offset for title+meta below thumb */
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-cream);
  color: var(--color-accent);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 8px 22px rgba(184, 153, 127, 0.22),
    0 1px 2px rgba(26, 26, 26, 0.04);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  z-index: 2;
}
.model-story-slider .ms-nav:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
  box-shadow:
    0 12px 28px rgba(184, 153, 127, 0.38),
    0 2px 4px rgba(26, 26, 26, 0.06);
}
.model-story-slider .ms-nav:active {
  transform: translateY(-50%) scale(0.98);
}
.model-story-slider .ms-nav:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.model-story-slider .ms-nav:disabled,
.model-story-slider .ms-nav[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.model-story-slider .ms-prev { left: -20px; }
.model-story-slider .ms-next { right: -20px; }
.model-story-slider .ms-nav i { line-height: 1; }
.model-story-slider .video-card:hover { transform: none; }
.model-story-slider .video-card h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ TV PLAYER LAYOUT (main + sidebar) ============ */
/* andps-style: 좌측 브랜딩 + 우측(메인영상 + 하단 가로 썸네일 캐러셀) */
.tv-top {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: stretch;
  margin-bottom: 36px;
}
.tv-intro { padding-top: 6px; grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; }
.tv-main { grid-column: 1; grid-row: 1; }
.tv-intro .eyebrow-xl { display: block; margin-bottom: 18px; }
.tv-intro-title {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.tv-intro-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-light);
  margin-bottom: 26px;
}
.tv-intro-tags {
  font-size: 16px;
  line-height: 1.95;
  color: var(--color-text-light);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.tv-intro-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--color-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tv-intro-more:hover {
  background: #b36a59;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(196,123,106,0.6);
}
.tv-intro-more i { font-size: 14px; line-height: 1; }
.tv-stage { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.tv-main { display: flex; flex-direction: column; gap: 18px; }
.tv-main-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  position: relative;
}
.tv-main-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Facade: cheap placeholder that defers loading the heavy YouTube iframe until click */
.tv-main-facade {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.tv-main-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.tv-main-facade::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}
.tv-main-facade .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 24px;
  padding-left: 5px;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  z-index: 1;
}
.tv-main-facade:hover img { transform: scale(1.03); }
.tv-main-facade:hover::after { background: radial-gradient(circle at center, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.32) 100%); }
.tv-main-facade:hover .play-btn {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.08);
}
.tv-main-facade:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.tv-main-info { display: none; } /* 영상 아래 제목·카테고리·YouTube보기 버튼 숨김 (View more로 대체) */
.tv-main-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.tv-main-info p {
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  font-weight: 500;
}
.tv-main-external {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-accent);
  background: var(--color-bg-cream);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tv-main-external:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.tv-main-external i { font-size: 13px; line-height: 1; }

.tv-carousel { position: relative; }
.tv-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tv-carousel-viewport::-webkit-scrollbar { display: none; }
/* 화살표는 오버레이(절대배치) → 썸네일 트랙이 좌측 끝(영상과 동일선)에서 시작 */
.tv-arrow {
  position: absolute;
  top: 62px;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.96);
  color: var(--color-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.tv-prev { left: 6px; }
.tv-next { right: 6px; }
.tv-arrow:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); transform: translateY(-50%) scale(1.06); }

.tv-track { display: flex; gap: 14px; padding: 2px; }
.tv-playlist-item {
  flex: 0 0 220px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  cursor: pointer;
  padding: 0;
  border: 0;
  scroll-snap-align: start;
}
.tv-playlist-item .playlist-thumb { aspect-ratio: 16 / 9; border-radius: 10px; }
.tv-playlist-item .playlist-thumb img { transition: transform 0.4s ease; }
.tv-playlist-item:hover .playlist-thumb img { transform: scale(1.05); }
.tv-playlist-item.is-playing .playlist-thumb { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.tv-playlist-item.is-hidden { display: none; }

.playlist-thumb {
  aspect-ratio: 16 / 9;
  background: var(--color-primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.playlist-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.playlist-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at center, rgba(184, 153, 127, 0.18) 0%, transparent 70%),
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.22));
}
.playlist-thumb .play-btn {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  font-size: 13px;
  padding-left: 2px;
}
.tv-playlist-item.is-playing .playlist-thumb .play-btn {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.playlist-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.playlist-info h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.playlist-info p {
  font-size: 11px;
  color: var(--color-accent);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin: 0;
}

/* Real Shorts 가로 슬라이더 */
.tv-shorts { margin-top: 60px; }
.tv-shorts-eyebrow { display: block; margin-bottom: 20px; }
.tv-shorts-carousel { display: flex; align-items: center; gap: 10px; }
.tv-shorts-viewport {
  flex: 1; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none; -ms-overflow-style: none;
}
.tv-shorts-viewport::-webkit-scrollbar { display: none; }
.tv-shorts-track { display: flex; gap: 14px; padding: 2px; }
.tv-short {
  flex: 0 0 160px; width: 160px; aspect-ratio: 9 / 16;
  position: relative; border-radius: 14px; overflow: hidden;
  cursor: pointer; background: #000; display: block;
  scroll-snap-align: start;
}
.tv-short img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.tv-short::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45)); pointer-events: none; }
.tv-short:hover img { transform: scale(1.06); }
.tv-short-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.6);
  color: #fff; font-size: 15px; padding-left: 3px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center; z-index: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.tv-short:hover .tv-short-play { background: var(--color-accent); border-color: var(--color-accent); transform: translate(-50%, -50%) scale(1.1); }

@media (max-width: 900px) {
  .tv-top { grid-template-columns: 1fr; gap: 26px; margin-bottom: 28px; }
  .tv-intro, .tv-main { grid-column: auto; grid-row: auto; }
  .tv-intro { text-align: center; align-items: center; }
  .tv-intro-more { margin-top: 4px; }
  .tv-intro-title br { display: none; }
}
@media (max-width: 768px) {
  .tv-playlist-item { flex-basis: 200px; width: 200px; }
  .tv-arrow { display: none; } /* 모바일: 화살표 숨김 → 가로 스와이프 (세로 페이지 스크롤은 그대로 통과) */
  .tv-main-info h3 { font-size: 17px; }
  .tv-short { flex-basis: 140px; width: 140px; }
}
.video-card {
  cursor: pointer;
  transition: var(--transition);
}
.video-card:hover { transform: translateY(-6px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--color-primary);
}
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at center, rgba(184, 153, 127, 0.18) 0%, transparent 70%),
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.22));
  transition: var(--transition);
}
.video-thumb .play-btn,
.video-thumb .video-duration { z-index: 2; }
.video-card:hover .video-thumb::before {
  background:
    radial-gradient(circle at center, rgba(184, 153, 127, 0.35) 0%, transparent 70%),
    linear-gradient(135deg, rgba(0,0,0,0.12), rgba(0,0,0,0.42));
}
.play-btn {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.video-card:hover .play-btn {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
}
.video-duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 1;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  letter-spacing: 0.05em;
}
.video-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: 700;
}
.video-card p {
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ TV TABS ============ */
.tv-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.tv-tab {
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: var(--color-text-light);
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.tv-tab::before {
  content: '#';
  margin-right: 4px;
  opacity: 0.5;
}
.tv-tab.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.tv-tab.is-active::before { opacity: 1; color: var(--color-accent); }
.tv-tab:hover:not(.is-active) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.video-card.is-hidden { display: none; }

/* ============ SHORTS ============ */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.short-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  color: #fff;
  background: var(--color-primary);
}
.short-card:hover { transform: translateY(-6px); }
.short-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  transition: transform 0.5s ease;
}
.short-card:hover img { transform: scale(1.04); }
.short-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center top, rgba(184, 153, 127, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.39) 100%);
  transition: var(--transition);
}
.short-card:hover::before {
  background:
    radial-gradient(ellipse at center top, rgba(184, 153, 127, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.075) 30%, rgba(0,0,0,0.43) 100%);
}
.short-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  z-index: 2;
}
.short-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.15);
}
.short-card p {
  position: relative;
  z-index: 2;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.short-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ============ EVENTS ============ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.event-card {
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  display: block;
  border: 1px solid var(--color-border);
}
.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
}
.event-bg {
  aspect-ratio: 16 / 10;
  padding: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-primary) !important;
  position: relative;
}
.event-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 153, 127, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}
.event-bg > * { position: relative; z-index: 1; }
.event-bg h3 {
  color: #fff;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-tight);
}
.event-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 0;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  align-self: flex-start;
}
.event-card p {
  padding: 20px 24px;
  background: #fff;
  color: var(--color-text-light);
  font-size: 14px;
  border-top: 1px solid var(--color-border);
}

/* ============ SELFIE (BENTO GRID) ============ */
.selfie-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: 10px;
  aspect-ratio: 6 / 3; /* 6열×3행 그리드의 셀이 정확히 정사각형이 되도록 강제 */
}
.selfie-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #f3eeed;
  cursor: pointer;
  transition: transform .4s cubic-bezier(.22,.61,.36,1),
              box-shadow .4s ease,
              filter .4s ease;
  filter: saturate(.92);
  box-shadow: 0 2px 8px -4px rgba(0,0,0,.12);
}
.selfie-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.selfie-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.32) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.selfie-item:hover {
  transform: translateY(-4px);
  filter: saturate(1.05);
  box-shadow: 0 18px 36px -12px rgba(196,123,106,.35);
  z-index: 2;
}
.selfie-item:hover img { transform: scale(1.06); }
.selfie-item:hover::after { opacity: 1; }

.selfie-item.span-2 {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: 18px;
}

.selfie-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,.92);
  color: #c47b6a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  border-radius: 999px;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: translateY(4px);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.selfie-item:hover .selfie-tag { transform: translateY(0); opacity: 1; }
.selfie-item.span-2 .selfie-tag { opacity: 1; transform: translateY(0); }

/* ============ FOOTER (ENHANCED) ============ */
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding: 60px 0 40px;
}
.footer-brand p {
  color: #9ca3af;
  font-size: 14px;
  margin: 12px 0 20px;
}
.sns-list {
  display: flex;
  gap: 10px;
}
.sns-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #374151;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: 0.2s;
}
.sns-link:hover { background: var(--color-primary); transform: translateY(-2px); }

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-item strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.info-item p {
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.7;
}
.big-num {
  color: #fbbf24 !important;
  font-size: 22px !important;
  font-weight: 700;
}
.info-item em { font-style: normal; color: #6b7280; font-size: 12px; }

.footer-links {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #1f2937;
  flex-wrap: wrap;
}
.footer-links a {
  color: #9ca3af;
  font-size: 13px;
  transition: 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-links a.strong { color: #fff; font-weight: 600; }

.footer-cert {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  font-size: 12px;
  color: #9ca3af;
}

.footer-meta {
  padding: 16px 0;
  border-top: 1px solid #1f2937;
  font-size: 13px;
  color: #9ca3af;
}
.footer-meta p {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-meta strong {
  color: #fff;
  font-weight: 600;
  margin-left: 4px;
}
.footer-meta .divider {
  width: 1px;
  height: 12px;
  background: #374151;
}

/* Override existing footer */
.site-footer { padding-top: 0; }

/* ============ VIDEO MODAL ============ */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 24px;
}
.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.video-modal-inner {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.video-modal-inner.is-shorts {
  max-width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  max-height: 90vh;
}
.video-modal-frame {
  width: 100%;
  height: 100%;
}
.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.video-modal-close:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .video-modal { padding: 12px; }
  .video-modal-close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
    font-size: 22px;
  }
}

/* ============ FLOATING CONSULT BAR ============ */
.floating-consult {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.96);
  color: #fff;
  z-index: 85;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
/* 푸터 위로 올라갔을 때 색상 반전: 배경 로고색 + 상담신청 버튼 검정 */
.floating-consult.is-over-footer {
  background: #c47b6a;
  border-top-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 -8px 40px rgba(196, 123, 106, 0.35);
}
.floating-consult.is-over-footer .floating-submit {
  background: #1c1c1c;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.45);
}
.floating-consult.is-over-footer .floating-submit:hover {
  background: #000;
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.55);
}
.floating-consult.is-over-footer .floating-toggle {
  background: #c47b6a;
  border-color: rgba(255, 255, 255, 0.3);
}
.floating-consult.is-collapsed {
  transform: translateY(calc(100% - 0px));
}
.floating-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}
.floating-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.floating-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.floating-fields {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 280px;
}
.floating-input {
  flex: 1;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e6e1de;
  color: #2a2320;
  font-size: 13px;
  border-radius: 0;
  min-width: 0;
  letter-spacing: -0.01em;
}
.floating-input-name { flex: 0.7; }
.floating-input::placeholder {
  color: #9a8f88;
}
.floating-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: #fff;
}
.floating-consent {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.floating-consent input {
  accent-color: var(--color-accent);
  width: 14px;
  height: 14px;
}
.floating-consent .consent-link {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  margin-left: 4px;
  font-size: 11px;
}
.floating-consent .consent-link:hover {
  color: #fff;
}
.floating-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #c47b6a;
  color: #fff;
  padding: 11px 24px 11px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 4px 12px -4px rgba(196,123,106,.45);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.floating-submit::before {
  content: '';
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='8' y1='3' x2='8' y2='7'/><line x1='16' y1='3' x2='16' y2='7'/><circle cx='8' cy='14.5' r='1' fill='%23000' stroke='none'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='8' y1='3' x2='8' y2='7'/><line x1='16' y1='3' x2='16' y2='7'/><circle cx='8' cy='14.5' r='1' fill='%23000' stroke='none'/></svg>") no-repeat center / contain;
}
.floating-submit:hover {
  background: #b36a59;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -4px rgba(196,123,106,.6);
}
.floating-toggle {
  position: absolute;
  top: -28px;
  right: 28px;
  width: 44px;
  height: 28px;
  background: rgba(15, 15, 15, 0.96);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: 0;
  cursor: pointer;
  font-size: 11px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.floating-toggle:hover { color: #fff; }
.floating-consult.is-collapsed .floating-toggle {
  transform: rotate(180deg);
}

/* Push body up to make room for the floating bar */
body {
  padding-bottom: 68px;
}

@media (max-width: 1280px) {
  .floating-inner { gap: 14px; padding: 12px 20px; }
  .floating-consent { font-size: 11px; }
  .floating-consent .consent-link { display: none; }
  .floating-submit { padding: 10px 18px 10px 16px; font-size: 12.5px; gap: 6px; }
  .floating-submit::before { width: 14px; height: 14px; }
}

@media (max-width: 1024px) {
  .floating-logo img { height: 30px; }
  .floating-fields { min-width: 200px; }
}

@media (max-width: 768px) {
  .floating-consult {
    bottom: 0; /* 하단 밀착 */
  }
  body { padding-bottom: 132px; }
  .floating-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
  }
  .floating-logo {
    border-right: 0;
    padding-right: 0;
  }
  .floating-fields { width: 100%; min-width: 0; }
  .floating-consent { font-size: 10px; }
  .floating-submit { flex: 1; }
  .floating-toggle { top: -24px; right: 12px; }
}

/* ============ FLOATING QUICK MENU (PSPS-style) ============ */
.quick-menu {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 90;
}
.quick-menu .quick-nav {
  display: flex;
  flex-direction: column;
  width: 76px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(40, 30, 24, 0.2);
  overflow: hidden;
}

/* 상단 전화번호 헤더 (탭하면 전화 연결) */
.quick-menu .qm-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 18px 6px;
  background: linear-gradient(160deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  text-align: center;
  transition: filter 0.25s ease;
}
.quick-menu .qm-call:hover { filter: brightness(1.07); }
.quick-menu .qm-call-ico {
  font-size: 19px;
  margin-bottom: 2px;
  opacity: 0.95;
}
.quick-menu .qm-call-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* 액션 행: 아이콘 + 라벨 (항상 노출) */
.quick-menu .list {
  position: relative;
  width: 100%;
  background: #fff;
  border-top: 1px solid #efe9e3;
  transition: background 0.25s ease;
}
.quick-menu .list > a,
.quick-menu .list > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 17px 4px;
  color: #4a423b;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.quick-menu .list .icon_area {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
}
.quick-menu .list i {
  font-size: 26px;
  line-height: 1;
  color: #6b6058;
  transition: color 0.25s ease;
  font-style: normal;
}
.quick-menu .list .text {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #4a423b;
  text-align: center;
  word-break: keep-all;
  transition: color 0.25s ease;
}
.quick-menu .list .brand-icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.quick-menu .list .label-tip { display: none; }

/* hover: 브랜드 틴트 + 강조 */
.quick-menu .list:hover { background: #f8f3ee; }
.quick-menu .list:hover i,
.quick-menu .list:hover .text { color: var(--color-accent-dark); }
.quick-menu .list.wechat:hover .brand-icon,
.quick-menu .list.line:hover .brand-icon,
.quick-menu .list.instagram:hover .brand-icon,
.quick-menu .list.bilibili:hover .brand-icon,
.quick-menu .list.youtube:hover .brand-icon { transform: scale(1.1); }

/* ---- WeChat / LINE: hover-reveal QR (PC), 모바일은 LINE=링크 / WeChat=탭 ---- */
/* position:static로 .quick-nav overflow:hidden 클립 회피(컨테이닝 블록을 .quick-menu로) */
.quick-menu .list.wechat,
.quick-menu .list.line { position: static; }
.quick-menu .list.wechat .qm-qr,
.quick-menu .list.line .qm-qr {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) scale(0.96);
  transform-origin: right center;
  width: 232px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(40, 30, 24, 0.28);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}
.quick-menu .list.wechat .qm-qr::after,
.quick-menu .list.line .qm-qr::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: #fff;
}
.quick-menu .list.wechat .qm-qr img,
.quick-menu .list.line .qm-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
/* PC(호버 가능 기기)에서만 마우스 오버 시 노출 */
@media (hover: hover) and (pointer: fine) {
  .quick-menu .list.wechat:hover .qm-qr,
  .quick-menu .list.line:hover .qm-qr {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}
/* WeChat은 링크가 없으므로 모바일 탭(포커스)으로도 QR 노출 */
.quick-menu .list.wechat:focus-within .qm-qr {
  visibility: visible;
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* TOP 버튼 (하단, 다크 톤으로 구분) */
.quick-menu .list.scroll_top {
  background: #2a2320;
  border-top: 0;
  display: none;
}
.quick-menu .list.scroll_top.is-visible { display: block; }
.quick-menu .list.scroll_top > button { gap: 3px; padding: 14px 4px; }
.quick-menu .list.scroll_top i { color: #fff; font-size: 18px; }
.quick-menu .list.scroll_top .text {
  display: block;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.quick-menu .list.scroll_top .label-tip { display: none; }

/* ============ RESPONSIVE ADDITIONS ============ */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .model-story-slider .model-story-track > .video-card { flex-basis: calc((100% - 24px) / 2); }
  .model-story-slider .ms-prev { left: -8px; }
  .model-story-slider .ms-next { right: -8px; }
  .video-grid-tv { grid-template-columns: repeat(3, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .shorts-grid { grid-template-columns: repeat(3, 1fr); }
  .selfie-grid { grid-template-columns: repeat(4, 1fr); aspect-ratio: 4 / 3; gap: 8px; }
  .selfie-item.span-2 { grid-column: auto; grid-row: auto; border-radius: 14px; }
  .selfie-item.span-2 .selfie-tag { opacity: 0; transform: translateY(4px); }
  .footer-top { grid-template-columns: 1fr; }
  .quick-menu { right: 12px; bottom: 90px; }
}

@media (max-width: 768px) {
  .video-grid-tv { grid-template-columns: repeat(2, 1fr); }
  .utility-bar { display: none; }
  .hero-slider { height: 480px; }
  .slide-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .slide-visual { font-size: 80px; }
  .slider-btn, .slider-dots { display: none; } /* 모바일: 컨트롤러 숨김 → 좌우 스와이프 */

  .consult-inner { grid-template-columns: 1fr; gap: 24px; }
  .consult-fields { grid-template-columns: 1fr 1fr; }
  .consult-fields .btn { grid-column: 1 / -1; }

  .video-grid { grid-template-columns: 1fr; }
  .model-story-slider .model-story-track > .video-card { flex-basis: 82%; }
  .model-story-slider .ms-nav { width: 40px; height: 40px; font-size: 18px; }
  .model-story-slider .ms-prev { left: 0; }
  .model-story-slider .ms-next { right: 0; }
  .events-grid { grid-template-columns: 1fr; }
  .shorts-grid { grid-template-columns: repeat(2, 1fr); }
  .selfie-grid { grid-template-columns: repeat(3, 1fr); aspect-ratio: 3 / 4; gap: 6px; }
  .tv-tabs { gap: 6px; }
  .tv-tab { padding: 8px 14px; font-size: 13px; }

  .footer-info { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-cert { flex-direction: column; gap: 8px; }

  /* Floating quick menu: compact connected panel above the consult bar */
  .quick-menu {
    right: 10px;
    bottom: 150px;
  }
  .quick-menu .quick-nav { width: 58px; border-radius: 13px; }
  .quick-menu .qm-call { padding: 9px 4px; }
  .quick-menu .qm-call-ico { font-size: 16px; }
  .quick-menu .qm-call-num { font-size: 11px; }
  .quick-menu .list > a,
  .quick-menu .list > button { padding: 12px 3px; gap: 5px; }
  .quick-menu .list .icon_area { height: 22px; }
  .quick-menu .list i { font-size: 20px; }
  .quick-menu .list .brand-icon { width: 22px; height: 22px; }
  .quick-menu .list .text { font-size: 10px; }
}

@media (max-width: 480px) {
  .selfie-grid { grid-template-columns: repeat(2, 1fr); aspect-ratio: 2 / 6; gap: 5px; }
  .consult-fields { grid-template-columns: 1fr; }
}

/* ============ AUTH MODAL (소셜 로그인) ============ */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-modal.is-open { display: flex; }
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 12, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: authFadeIn .2s ease;
}
.auth-modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  padding: 40px 36px 32px;
  box-shadow: 0 32px 80px -16px rgba(0,0,0,.32);
  animation: authSlideUp .35s cubic-bezier(.22,.61,.36,1);
}
@keyframes authFadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes authSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
}
.auth-modal-close:hover { background: #f3f3f3; color: #111; }

.auth-modal-head { text-align: center; margin-bottom: 28px; }
.auth-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: #c47b6a;
  margin: 0 0 12px;
}
.auth-modal-head h2 {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}
.auth-lead {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.auth-providers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(0,0,0,.2); }
.auth-btn:active { transform: translateY(0); }
.auth-btn-ic {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}
.auth-btn-kakao { background: #fee500; color: #181600; }
.auth-btn-kakao .auth-btn-ic { background: #181600; color: #fee500; }
.auth-btn-naver { background: #03c75a; color: #fff; }
.auth-btn-naver .auth-btn-ic { background: #fff; color: #03c75a; }
.auth-btn-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.auth-btn-google:hover { background: #f8f9fa; }
.auth-btn-google .auth-btn-ic {
  background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
  color: #fff;
}

.auth-consent {
  font-size: 11.5px;
  color: #888;
  line-height: 1.7;
  text-align: center;
  margin: 0 0 14px;
}
.auth-consent a { color: #555; text-decoration: underline; }
.auth-consent a:hover { color: #c47b6a; }
.auth-help {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.auth-help a { color: #c47b6a; font-weight: 700; }

/* 로그인 후 헤더 그리팅 */
.utility-right .auth-greeting { font-weight: 700; color: #c47b6a; }
.utility-right .auth-logout { cursor: pointer; }

@media (max-width: 640px) {
  .auth-modal { padding: 16px; }
  .auth-modal-panel { padding: 32px 24px 24px; border-radius: 14px; }
  .auth-modal-head h2 { font-size: 19px; }
  .auth-btn { height: 48px; font-size: 14px; }
}

/* ============ BEFORE/AFTER SLIDER (상세 페이지 하단) ============ */
.ba-section { background: #fff5f2; padding: 80px 0; border-top: 1px solid #f0e0db; }
.ba-wrap { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.ba-head { text-align: center; margin-bottom: 40px; }
.ba-tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.3em; color: #c47b6a; text-transform: uppercase; margin-bottom: 14px; }
.ba-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: #1c1c1c; line-height: 1.3; margin-bottom: 12px; }
.ba-title em { font-style: normal; color: #c47b6a; }
.ba-lead { font-size: 14px; font-weight: 300; color: #8a8a8a; line-height: 1.9; }
.ba-slider { position: relative; display: flex; align-items: center; gap: 14px; }
.ba-viewport { flex: 1; position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #ece0db; box-shadow: 0 10px 30px -12px rgba(0,0,0,0.12); }
.ba-stage { position: relative; width: 100%; aspect-ratio: 2 / 1; background: #f3ece9; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s ease; }
.ba-stage img.is-active { opacity: 1; }
.ba-badge { position: absolute; top: 14px; z-index: 3; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: rgba(0,0,0,0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 5px 12px; border-radius: 99px; }
.ba-badge-b { left: 14px; }
.ba-badge-a { right: 14px; }
.ba-nav { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #e2d2cc; background: #fff; color: #c47b6a; font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s; box-shadow: 0 4px 12px -4px rgba(0,0,0,0.15); }
.ba-nav:hover { background: #c47b6a; color: #fff; border-color: #c47b6a; transform: scale(1.05); }
.ba-meta { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.ba-meta:not(:has(.ba-angle-btn)) { display: none; margin-top: 0; }
.ba-angle-tabs { display: flex; gap: 6px; }
.ba-angle-tabs:empty { display: none; }
.ba-angle-btn { border: 1px solid #e2d2cc; background: #fff; color: #8a7a74; font-size: 12.5px; font-weight: 600; padding: 7px 16px; border-radius: 99px; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.ba-angle-btn:hover { border-color: #c47b6a; color: #c47b6a; }
.ba-angle-btn.is-active { background: #c47b6a; color: #fff; border-color: #c47b6a; }
.ba-counter strong { color: #c47b6a; }
.ba-footer { text-align: center; margin-top: 32px; }
.ba-more { display: inline-flex; align-items: center; gap: 8px; background: #1c1c1c; color: #fff; font-size: 13.5px; font-weight: 700; padding: 12px 26px; border-radius: 99px; text-decoration: none; transition: background 0.15s, transform 0.15s; }
.ba-more:hover { background: #000; transform: translateY(-1px); }
@media (max-width: 768px) {
  .ba-section { padding: 56px 0; }
  .ba-wrap { padding: 0 16px; }
  .ba-nav { width: 38px; height: 38px; font-size: 17px; }
  .ba-slider { gap: 8px; }
  .ba-meta { gap: 12px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============ PLEASURE DUAL SYSTEM CAROUSEL (상세페이지 하단) ============ */
.psys .section-head h2 em { font-style: normal; color: #c47b6a; }
.psys-carousel { position: relative; margin-top: 8px; }
.psys-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 36px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.psys-track::-webkit-scrollbar { display: none; }
.psys-track:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.psys-card {
  flex: 0 0 auto;
  width: calc(50% - 10px);
  scroll-snap-align: start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.psys-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.psys-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-bg-alt); }
.psys-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.psys-card:hover .psys-card-media img { transform: scale(1.05); }
.psys-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.psys-num { font-size: 13px; font-weight: 600; letter-spacing: var(--letter-spacing-wide); color: var(--color-accent); }
.psys-en { margin: 0; font-size: 11px; letter-spacing: var(--letter-spacing-wide); text-transform: uppercase; color: var(--color-text-light); }
.psys-card-title { margin: 2px 0 2px; font-size: 20px; color: var(--color-text); }
.psys-card-desc { margin: 0; font-size: 14px; line-height: 1.7; color: var(--color-text-light); }
.psys.section { padding-bottom: 96px; }
.psys-controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: -10px; padding-bottom: 6px; }
.psys-nav {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg); color: var(--color-text);
  font-size: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.psys-nav::before {
  content: "";
  position: relative;
  width: 8px; height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transition: transform 0.4s ease, left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.psys-prev::before { transform: rotate(-135deg); left: 2px; }
.psys-next::before { transform: rotate(45deg); left: -2px; }
.psys-nav:hover:not(:disabled) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.psys-prev:hover:not(:disabled)::before { left: -2px; }
.psys-next:hover:not(:disabled)::before { left: 2px; }
.psys-nav:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.psys-nav:disabled { opacity: 0.25; cursor: default; }
.psys-card-promise { border-color: var(--color-accent); }
.psys-card-promise .psys-card-body { background: var(--color-bg-cream); }
.psys-card-promise .psys-card-title { font-size: 18px; }

@media (max-width: 768px) {
  .psys-card { width: 80%; }
  .psys-card-body { padding: 20px 20px 24px; }
}
@media (min-width: 1024px) {
  .psys-card { width: calc(33.333% - 13.34px); }
}
@media (prefers-reduced-motion: reduce) {
  .psys-track { scroll-behavior: auto; }
  .psys-card, .psys-card-media img { transition: none; }
}

/* ===== psys 공통 섹션: export 전역 리셋(.X-page *{margin:0;padding:0})으로부터 여백/중앙정렬 복원 (특이도 0,2,0 으로 리셋 0,1,0 압도) ===== */
.psys.section{padding:60px 0 96px}
.psys .container{max-width:1200px;margin:0 auto;padding:0 20px}
.psys .section-head{max-width:720px;margin:0 auto 72px;text-align:center}
.psys .section-head h2{font-size:35px;margin-bottom:20px;font-family:'GmarketSans','Noto Sans SC',sans-serif}
.psys .section-head .eyebrow{margin-bottom:20px}
.psys .section-desc{margin-top:12px}
.psys .psys-carousel{margin-top:8px}
.psys .psys-track{padding:8px 4px 36px}
.psys .psys-card-body{padding:24px 24px 28px}
.psys .psys-card-title{margin:2px 0 2px}
.psys .psys-controls{margin-top:-10px;padding-bottom:6px}

/* 상세페이지: 미제공 이미지 슬롯의 '이미지 영역' 라벨 + 빈 이미지 숨김 */
span[class$="-img-label"]{display:none!important}

/* ===== ba-section(전후사진): export 전역 리셋(.X-page *) 복원(특이도 0,2,0) + 각도버튼 심플화 ===== */
.ba-section.ba-section{padding:80px 0}
.ba-section .ba-wrap{max-width:1080px;margin:0 auto;padding:0 40px}
.ba-section .ba-head{margin-bottom:40px}
.ba-section .ba-tag{margin-bottom:14px}
.ba-section .ba-title{margin-bottom:12px}
.ba-section .ba-lead{margin:0}
.ba-section .ba-meta{margin-top:22px}
.ba-section .ba-angle-tabs{gap:6px}
.ba-section .ba-angle-btn{border:none;background:none;color:#9a8a84;font-size:13px;font-weight:600;padding:6px 12px;border-radius:0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.ba-section .ba-angle-btn:hover{color:#c47b6a;border-color:transparent}
.ba-section .ba-angle-btn.is-active{background:none;color:#c47b6a;border-bottom-color:#c47b6a}
@media(max-width:880px){.ba-section.ba-section{padding:56px 0}.ba-section .ba-wrap{padding:0 16px}}

/* 메뉴 텍스트 + 플로팅 상담신청 버튼: Noto Sans SC (트라이얼) */
.nav, .nav a, .nav-link, .dropdown, .dropdown a, .full-sitemap, .full-sitemap a, .full-sitemap h4, .floating-submit{font-family:'Noto Sans SC',sans-serif !important;font-weight:350 !important}
.full-sitemap h4{font-weight:600 !important}
/* 탭형 상세(스킨부스터·레이저리프팅) hero: 전역 .hero-inner{display:grid} 누수 차단 */
.sb-page .hero-inner,.ll-page .hero-inner{display:block}
.lsk-page .hero-inner{display:block}
/* 국가 선택 국기 나열 (드롭다운 대체) */
.lang-flags{display:flex;align-items:center;gap:8px}
.flag-item{display:inline-flex;width:22px;height:15px;border-radius:2px;overflow:hidden;opacity:.5;filter:grayscale(55%);transition:opacity .18s,filter .18s,transform .18s;box-shadow:0 0 0 1px rgba(0,0,0,.1)}
.flag-item img{width:100%;height:100%;object-fit:cover;display:block}
.flag-item:hover{opacity:1;filter:none;transform:translateY(-1px)}
.flag-item.is-active{opacity:1;filter:none;box-shadow:0 0 0 1.5px #c47b6a}
.flag-item.is-soon,.flag-item.is-soon:hover{opacity:.3;filter:grayscale(100%);cursor:not-allowed;transform:none;box-shadow:0 0 0 1px rgba(0,0,0,.1)}


/* === MOBILE MENU OPTION3 BRANDED ACCORDION === */
/* PC(≥1025px) 메뉴는 그대로 유지. 햄버거가 뜨는 ≤1024px에서만 살몬·로즈 브랜드 풀스크린 아코디언 적용. */
@media (max-width: 1024px) {
  /* 고정 .nav가 backdrop-filter 컨테이닝블록에 갇혀 잘리는 문제 해제 (모바일 전용) */
  .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .nav {
    background: linear-gradient(165deg, #c89084 0%, #a86c60 100%);
    box-shadow: -14px 0 40px rgba(120, 80, 70, 0.20);
    padding: 4px 0 32px;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-list { width: 100%; flex-shrink: 0; }
  .nav-item { width: 100%; border: 0; flex-shrink: 0; }

  .nav-list .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 22px;
    font-size: 15.5px;
    font-weight: 700 !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  /* +/- 아코디언 마커 (흰색) */
  .has-dropdown > .nav-link::after,
  .has-mega > .nav-link::after {
    content: '+';
    border: 0;
    transform: none;
    width: auto;
    height: auto;
    margin: 0;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
  }
  .nav-item.is-open > .nav-link::after { content: '\2212'; }

  /* 하위 메뉴 아코디언 (살몬 위 들여쓰기) */
  .dropdown,
  .mega-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transition: max-height 0.34s ease;
  }
  .nav-item.is-open .dropdown,
  .nav-item.is-open .mega-menu {
    max-height: 720px;
    padding: 6px 0 10px;
  }
  .dropdown a {
    display: block;
    padding: 12px 22px 12px 34px;
    font-size: 13.5px;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 0;
  }
  .dropdown li:last-child a { border-bottom: 0; }

  /* CTA: 흰색 버튼 */
  .nav-cta {
    display: block;
    flex-shrink: 0;
    width: auto;
    margin: 22px 22px 0;
    padding: 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 700 !important;
    background: #fff !important;
    color: #a86c60 !important;
    border: 0;
  }
  .nav-cta::before { display: none; }
}


/* === FLOATING CONSULT MOBILE = REF-STYLE === */
@media (max-width: 768px) {
  .floating-consult {
    background: #0f0f0f;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .floating-consult.is-over-footer {
    background: #0f0f0f;
    border-top-color: rgba(255,255,255,0.1);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.35);
  }
  .floating-consult.is-over-footer .floating-submit { background: #c47b6a; }
  .floating-logo { display: none; }
  .floating-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 8px;
    padding: 10px 12px;
  }
  .floating-fields {
    flex: 1 1 auto;
    flex-direction: row;
    gap: 7px;
    width: auto;
    min-width: 0;
  }
  .floating-input {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
    background: #f1efed;
    border: 1px solid #e6e1de;
    color: #2a2320;
    border-radius: 8px;
  }
  .floating-input-name { flex: 0.72; }
  .floating-input::placeholder { color: #9a8f88; }
  .floating-input:focus { border-color: #c47b6a; background: #fff; }
  .floating-submit {
    flex: 0 0 auto;
    width: auto;
    height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    white-space: nowrap;
  }
  .floating-consent {
    order: 3;
    flex: 1 0 100%;
    font-size: 10.5px;
    color: rgba(255,255,255,0.72);
    white-space: normal;
    margin-top: 1px;
  }
  .floating-consent .consent-link { color: rgba(255,255,255,0.55); }
}


/* === FLOATING CONSULT: 레퍼런스 2행 레이아웃 (상담분야 드롭다운) === */
/* 상담분야 드롭다운 — 데스크톱 다크 바 스타일 (모바일은 아래 @media에서 라이트로 재정의) */
.floating-select {
  flex: 0.85;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239a8f88' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.floating-select option { color: #2a2320; background: #fff; }
@media (max-width: 768px) {
  .floating-fields { flex: 1 0 100%; }            /* 1행: 이름·연락처·상담분야 3필드 */
  .floating-select {
    display: block;
    flex: 1;
    min-width: 0;
    padding: 11px 26px 11px 10px;
    background-color: #f1efed;
    border: 1px solid #e6e1de;
    color: #2a2320;
    border-radius: 8px;
    font-size: 12.5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239a8f88' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
  }
  .floating-select:focus { outline: none; border-color: #c47b6a; background-color: #fff; }
  /* 2행: 동의(좌) + 상담신청 버튼(우) */
  .floating-consent { order: 2; flex: 1 1 auto; min-width: 0; align-items: flex-start; }
  .floating-consent .consent-link { display: none; }
  .floating-submit { order: 3; flex: 0 0 auto; }
}

/* === 전후사진: 모바일 화살표 제거 + 확대 + 카운터/스와이프 힌트 === */
.ba-hint { display: none; }
@keyframes baHintNudge { 0%, 100% { transform: translateX(0); opacity: 0.45; } 50% { transform: translateX(4px); opacity: 1; } }
@media (max-width: 768px) {
  .ba-slider .ba-nav { display: none; }
  .ba-slider { gap: 0; }
  .ba-section .ba-wrap { padding: 0 12px; }
  .ba-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #b08a7e; font-size: 12.5px; font-weight: 600; transition: opacity 0.4s ease; }
  .ba-hint.is-hidden { opacity: 0; pointer-events: none; }
  .ba-hint span { font-size: 17px; line-height: 1; animation: baHintNudge 1.4s ease-in-out infinite; }
  .ba-hint span:last-child { animation-delay: 0.7s; }
}

/* zh 플로팅 메신저 종류 선택 */
.floating-msgtype { flex: 0 0 auto; min-width: 84px; cursor: pointer; }


/* ============ 모바일 퀵메뉴 FAB (collapse to 1 button on mobile) ============ */
.qm-fab { display: none; }
@media (max-width: 768px) {
  .quick-menu .quick-nav {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
  }
  .quick-menu.qm-open .quick-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .qm-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: linear-gradient(160deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 26px rgba(40, 30, 24, 0.32);
  }
    .qm-fab-icon {
    width: 28px;
    height: 28px;
    background-color: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: opacity 0.2s ease;
  }
  .qm-fab-icon i { display: none; }
  .quick-menu.qm-open .qm-fab-icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' d='M6 6L18 18M18 6L6 18'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' d='M6 6L18 18M18 6L6 18'/%3E%3C/svg%3E");
  }
}

/* 중국 모바일: 예약 숨김 — 플로팅 퀵메뉴에서 预约 항목 모바일 미노출 */
@media (max-width: 768px) {
  .quick-menu .list.counsel { display: none; }
}

/* ===== 모바일 가로 오버플로 차단: 페이지·메뉴가 모바일 뷰포트 폭에 맞도록 (clip은 sticky 헤더에 안전) ===== */
@media (max-width: 1024px) {
  html, body { overflow-x: clip; }
}

/* ===== 상세페이지 히어로 이미지 슬롯: 모바일(≤880)에서 숨김 (인라인 스타일의 후순위 display:block가 미디어쿼리 숨김을 덮어써 모바일 메인비주얼에 이미지박스 노출+우측 절대배치로 가로 오버플로 유발하던 문제 해결) ===== */
@media (max-width: 880px) {
  .hero-img-slot,
  .hero-img,
  .hero-img-caption { display: none !important; }
}

/* ===== CJK(일본어/중국어) 상세페이지 줄바꿈 보정 =====
   상세페이지 인라인 <style>의 .X-page{word-break:keep-all}는 한국어용인데,
   띄어쓰기 없는 일본어/중국어에선 긴 문장이 안 끊겨 가로로 넘침 → normal로 복원(자연스러운 CJK 줄바꿈). */
[class$="-page"] { word-break: normal !important; }

/* ===== 상세페이지 프로세스 STEP 카드: 제목 1줄/2줄과 무관하게 이미지가 같은 높이에서 시작하도록 제목 영역을 2줄 높이로 고정(부족하면 늘어남) ===== */
[class$="-page"] .proc-title {
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 중국어 줄바꿈 가독성: 금칙처리 + (지원 브라우저)문절 단위, 히어로 제목 단어 잘림 방지 */
body{line-break:strict}
@supports (word-break: auto-phrase){body,[class$="-page"]{word-break:auto-phrase !important}}
[class*="hero-title"]{word-break:keep-all !important;overflow-wrap:break-word}
