/* ================================================
   GLOWPORT CLINIC — Common Stylesheet
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:wght@400;700&display=swap');

/* ---------- Variables ---------- */
:root {
  --dark:       #1a1a1a;
  --text:       #333;
  --mid:        #666;
  --light:      #999;
  --border:     #e5e5e5;
  --bg-warm:    #f8f5f0;
  --accent:     #6490B9;
  --sans:       'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --serif:      'Georgia', 'Times New Roman', serif;
  --header-h:   58px;
  --max-w:      1460px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100%;
}

.naver-map {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.naver-map-fallback {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: #eef1f3;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.naver-map-fallback img {
  width: 150px;
  height: auto;
  opacity: 0.82;
}

.naver-map-fallback p {
  margin: 0;
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
img { display: block; max-width: 100%; height: auto; }

.img-loading {
  background: #fff;
}

@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  padding: 0 52px;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(3px) saturate(110%);
  backdrop-filter: blur(3px) saturate(110%);
  border-bottom: 1px solid rgba(255,255,255,0.24);
  transition:
    background .28s ease,
    border-color .28s ease,
    backdrop-filter .28s ease,
    -webkit-backdrop-filter .28s ease,
    padding .28s ease;
}

/* Logo */
.logo { display: flex; align-items: center; justify-self: start; }
.logo-img {
  height: 30px;
  width: auto;
  display: block;
  transition: opacity .2s, height .25s ease;
}
.logo:hover .logo-img { opacity: 0.75; }

/* Main nav */
.site-nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 58px;
  transition: gap .25s ease;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
}
.nav-item::before {
  content: '';
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 18px;
}
.site-nav a {
  font-size: 15px; color: #444; letter-spacing: 0.01em;
  font-weight: 500;
  position: relative;
  transition: color .2s, font-size .25s ease;
}
.site-nav a::after {
  display: none;
}
.site-nav a:hover, .nav-item.active > a { color: #111; }
.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 150px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
}
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-sub a {
  display: block;
  padding: 6px 4px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #333;
  white-space: nowrap;
}
.nav-sub a::after {
  display: none;
}
.nav-sub a:hover {
  color: #000;
}

/* Header right */
.header-right { display: flex; align-items: center; justify-self: end; gap: 18px; }
.btn-consult {
  padding: 0;
  border: none; border-radius: 0;
  font-size: 15px; letter-spacing: 0.01em; color: #222;
  font-weight: 500;
  transition: all .25s ease, padding .25s ease, font-size .25s ease;
}
.btn-consult:hover { background: transparent; color: #111; opacity: .7; }

/* ===== TRANSPARENT HEADER (for pages with hero image) ===== */
.site-header.header-transparent {
  background: transparent !important;
  border-bottom-color: rgba(255,255,255,0.24) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background .3s, border-color .3s, backdrop-filter .3s, -webkit-backdrop-filter .3s;
  /* 슬라이드/페이지별 색상 — JS로 덮어씀 */
  --hc: rgba(255,255,255,0.9);
  --hc-hover: #fff;
  --hc-btn-border: rgba(255,255,255,0.7);
  --hc-logo: brightness(0) invert(1);
}
.site-header.header-transparent .logo-img { filter: var(--hc-logo); }
.site-header.header-transparent .site-nav a { color: var(--hc); }
.site-header.header-transparent .site-nav a:hover { color: var(--hc-hover); }
.site-header.header-transparent .nav-item.active > a { color: var(--hc-hover); }
.site-header.header-transparent .nav-sub a { color: #333; }
.site-header.header-transparent .nav-sub a:hover { color: #000; }
.site-header.header-transparent .btn-consult { border-color: transparent; color: var(--hc); background: transparent; }
.site-header.header-transparent .btn-consult:hover { background: transparent; color: var(--hc-hover); opacity: .75; }
.site-header.header-transparent .hamburger span { background: var(--hc); }

/* Scroll glass + compact header */
.site-header.header-scrolled {
  background: rgba(255, 255, 255, 0.78) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  padding: 0 48px;
}
.site-header.header-scrolled .logo-img { height: 28px; }
.site-header.header-scrolled .site-nav { gap: 52px; }
.site-header.header-scrolled .site-nav a { font-size: 14px; }
.site-header.header-scrolled .btn-consult {
  padding: 0;
  font-size: 14px;
}

/* ===== PAGE HERO (공통 서브페이지 배너) ===== */
.page-hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background-color: #fff;
  background-size: cover;
  background-position: center center;
}
.page-hero:not(.hero-bg-top) {
  clip-path: inset(18% 14% 18% 14%);
  transform: scale(1.04);
  transform-origin: center;
  animation: pageHeroMaskOpen 1.8s cubic-bezier(.16, 1, .3, 1) forwards;
  will-change: clip-path, transform;
}
@keyframes pageHeroMaskOpen {
  to {
    clip-path: inset(0);
    transform: scale(1);
  }
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: none;
}
.page-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.page-hero .hero-sub,
.page-hero .hero-title,
.page-hero .hero-tagline {
  display: none;
}
.page-hero .hero-sub {
  font-family: 'Montserrat', 'Pretendard', sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.page-hero .hero-title {
  font-family: 'Libre Caslon Text', 'Big Caslon', 'Caslon', serif;
  font-size: 68px;
  font-weight: 500;
  letter-spacing: 10px;
  margin-bottom: 14px;
}
.page-hero .hero-tagline {
  font-family: 'Montserrat', 'Pretendard', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 768px) {
  .page-hero { height: 340px; }
  .page-hero .hero-title { font-size: 38px; letter-spacing: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero:not(.hero-bg-top) {
    animation: none;
    clip-path: inset(0);
    transform: none;
  }
}
@media (max-width: 640px) {
  .page-hero-content { padding: 0 20px; }
  .page-hero .hero-sub { font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }
  .page-hero .hero-title { font-size: 30px; letter-spacing: 4px; margin-bottom: 10px; }
  .page-hero .hero-tagline { font-size: 13px; letter-spacing: 1px; }
}

/* ===== ABOUT FEATURE SUBTEXT (공통) ===== */
.about-feature-subtext { font-size: 20px; color: #888; margin-bottom: 40px; }

/* ===== FLOATING SIDE BANNER ===== */
.floating-banner {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 32px;
  padding: 16px 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.fb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
}
.fb-item:hover { opacity: 0.7; }
.fb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.fb-icon img { display: block; height: auto; max-width: none; }
.fb-icon svg { width: 20px; height: 20px; }
.fb-label {
  font-size: 11px;
  color: #555;
  font-weight: 500;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.fb-divider {
  width: 28px;
  height: 1px;
  background: #ddd;
  margin: 4px 0;
}
.fb-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px 6px;
  cursor: pointer;
  transition: opacity .2s;
}
.fb-top:hover { opacity: 0.7; }
.fb-top-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6490B9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-top-icon svg { width: 18px; height: 18px; }
.fb-top-label {
  font-size: 11px;
  font-weight: 700;
  color: #6490B9;
  letter-spacing: 0.5px;
}

/* 모바일: 하단 고정 가로 배치 */
@media (max-width: 768px) {
  .floating-banner {
    position: fixed;
    top: unset !important;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: space-around;
    border-radius: 18px 18px 0 0;
    padding: 8px 4px;
    gap: 0;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.10);
  }
  .fb-item { padding: 6px 4px; }
  .fb-icon img { max-height: 28px; }
  .fb-icon svg { width: 16px; height: 16px; }
  .fb-label { font-size: 9px; }
  .fb-divider { width: 1px; height: 24px; margin: 0 2px; }
  .fb-top { padding: 6px 4px; }
  .fb-top-icon { width: 30px; height: 30px; }
  .fb-top-icon svg { width: 14px; height: 14px; }
  .fb-top-label { font-size: 9px; }
}

body[data-header-theme="dark"] .page-hero-content {
  color: #222;
}

body[data-header-theme="dark"] .page-hero .hero-sub {
  color: rgba(34,34,34,0.7);
}

body[data-header-theme="dark"] .page-hero .hero-title {
  color: #222;
  text-shadow: none;
}

body[data-header-theme="dark"] .page-hero .hero-tagline {
  color: rgba(34,34,34,0.72);
}

/* ===== GLOBAL SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translate3d(-28px, 36px, 0);
}

[data-reveal="right"] {
  transform: translate3d(28px, 36px, 0);
}

[data-reveal="soft"] {
  transform: translate3d(0, 24px, 0);
}

[data-reveal="zoom"] {
  transform: translate3d(0, 36px, 0) scale(0.96);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .fnav-overlay,
  .fnav-item,
  .fnav-top,
  .fnav-bottom,
  .fnav-sub {
    transition: none !important;
    transform: none !important;
  }
}

/* ===== CART BADGE ===== */
.cart-count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #6490B9; color: #fff;
  border-radius: 999px; min-width: 24px; height: 24px;
  font-size: 17px; font-weight: 700;
  margin-left: 6px; vertical-align: middle;
  line-height: 1;
  padding: 0 4px;
}

.cart-count-badge.is-hidden {
  display: none;
}

/* ===== CART TOAST ===== */
.cart-toast {
  position: fixed; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a; color: #fff;
  padding: 14px 24px; border-radius: 8px;
  font-size: 17px; z-index: 9999;
  display: flex; align-items: center; gap: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: cartToastIn .3s ease;
}
@keyframes cartToastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cart-toast-link { color: #6490B9; font-weight: 600; text-decoration: underline; }

/* ================================================
   HERO
   ================================================ */
.hero {
  margin-top: var(--header-h);
  height: 400px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 10px;
}
.hero-sub {
  font-size: 17px; letter-spacing: 4px;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--serif);
  font-size: 58px; font-weight: 300; letter-spacing: 10px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.12);
}
.hero-tagline {
  font-size: 17px; letter-spacing: 2px;
  color: rgba(255,255,255,0.82);
}

/* Hero variants */
.hero-main {
  background: linear-gradient(185deg,
    #5b9dc8 0%, #87adc4 20%, #b8a8c8 40%,
    #cbb09a 65%, #dfc9a8 85%, #ecdab0 100%);
}
.hero-warm {
  background: linear-gradient(145deg,
    #aad4d8 0%, #8db8c8 18%, #c8b8d8 38%,
    #d4c0a4 60%, #e4caa0 80%, #eedab8 100%);
}
.hero-blue {
  background: linear-gradient(160deg,
    #a8cce0 0%, #90bdd8 20%, #b4ccd0 40%,
    #ccd0b8 65%, #ddd4a8 85%, #e8d4a0 100%);
}

/* ================================================
   SUB-NAV (TABS)
   ================================================ */
.sub-nav {
  display: flex; justify-content: center;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.sub-nav a {
  display: block; padding: 14px 36px;
  font-size: 17px; color: #999;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.sub-nav a:hover { color: #555; }
.sub-nav a.active { color: #222; border-bottom-color: #222; font-weight: 600; }

/* ================================================
   LAYOUT
   ================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section        { padding: 90px 0; }
.section-sm     { padding: 64px 0; }
.section-xs     { padding: 48px 0; }

.row {
  display: flex; align-items: flex-start; gap: 60px;
}
.col { flex: 1; }

/* ================================================
   TYPOGRAPHY
   ================================================ */
.label {
  font-size: 18px; letter-spacing: 3px;
  color: #000; text-transform: uppercase;
  margin-bottom: 12px; display: block;
}
.heading-lg {
  font-size: 30px; font-weight: 400; line-height: 1.35;
  color: #1a1a1a; margin-bottom: 20px;
}
.heading-md {
  font-size: 22px; font-weight: 400; line-height: 1.4;
  color: #1a1a1a; margin-bottom: 14px;
}
.heading-sm {
  font-size: 17px; font-weight: 600; line-height: 1.4;
  color: #1a1a1a; margin-bottom: 10px;
}
.body-text {
  font-size: 20px; color: #666; line-height: 1.9;
}
.more-btn {
  font-size: 17px; letter-spacing: 1px; color: #888;
  transition: color .2s;
}
.more-btn:hover { color: #333; }
.more-btn::after { content: ' ›'; }

/* ================================================
   IMAGE PLACEHOLDERS
   ================================================ */
.img-box {
  width: 100%;  
  display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 17px; letter-spacing: 1px;
  overflow: hidden; position: relative;
}
.img-box.ratio-4-3  { aspect-ratio: 4 / 3; }
.img-box.ratio-3-4  { aspect-ratio: 3 / 4; }
.img-box.ratio-16-9 { aspect-ratio: 16 / 9; }
.img-box.ratio-1-1  { aspect-ratio: 1 / 1; }
.img-box.ratio-5-3  { aspect-ratio: 5 / 3; }
.img-box.ratio-2-3  { aspect-ratio: 2 / 3; }
.max500 { max-width: 500px!important; }
.max500 .img-box.ratio-1-1 { max-width: 500px!important; max-height :500px!important;;}
/* Gradient skins */
.skin-blue   { background: #fff; }
.skin-gold   { background: #fff; }
.skin-pink   { background: #fff; }
.skin-sage   { background: #fff; }
.skin-cream  { background: #fff; }
.skin-dark   { background: #fff; }
.skin-purple { background: #fff; }
.skin-teal   { background: #fff; }

/* ================================================
   CARDS
   ================================================ */
.card { overflow: hidden; }
.card-body { padding: 16px 0; }
.card-cat  { font-size: 17px; letter-spacing: 2px; color: #bbb; text-transform: uppercase; margin-bottom: 6px; }
.card-name { font-size: 17px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.card-desc { font-size: 17px; color: #888; line-height: 1.8; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 40px; border-radius: 40px;
  font-size: 17px; letter-spacing: 1px;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn-dark  { background: #222; color: #fff; }
.btn-dark:hover  { background: #000; }
.btn-light { background: transparent; border: 1.5px solid #222; color: #222; }
.btn-light:hover { background: #222; color: #fff; }
.btn-full  { width: 100%; }

/* ================================================
   DIVIDER
   ================================================ */
.divider { height: 1px; background: var(--border); }
.divider-dark { height: 1px; background: #2a2a2a; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: #1a1a1a; color: #aaa;
  padding: 36px 80px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
}
.footer-logo { margin-bottom: 14px; }
.footer-logo .logo-img { height: 42px; width: auto; display: block; opacity: 0.85; }
.footer-info { font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.56); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.42); margin-top: 10px; }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.56); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.85); }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  transition: background .2s, opacity .2s;
  cursor: pointer;
}
.social-btn:hover { background: rgba(255,255,255,.2); opacity: 0.9; }
.social-btn img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

/* ================================================
   HAMBURGER — 3선 → X 변환
   ================================================ */
.hamburger { width: 22px; display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 0; }
.hamburger span { display: block; height: 1.5px; background: #444; border-radius: 2px; transition: transform .48s cubic-bezier(.22,1,.36,1), opacity .3s cubic-bezier(.22,1,.36,1), background .25s ease; }
.hamburger:hover span { background: #111; }

/* 투명 헤더일 때 */
.header-transparent .hamburger span { background: var(--hc); }

/* X 변환 */
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: #fff; }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: #fff; }

/* ================================================
   FULLSCREEN NAV
   ================================================ */

/* 헤더를 오버레이 위로 올리기 */
body.nav-open .site-header {
  z-index: 1200;
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
body.nav-open .site-header .logo,
body.nav-open .site-header .site-nav,
body.nav-open .site-header .btn-consult {
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s cubic-bezier(.22,1,.36,1);
}
body.nav-open .site-header .hamburger span { background: #fff; }

/* 오버레이 */
.fnav-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px) scale(0.992);
  transform-origin: top center;
  transition: opacity .58s cubic-bezier(.22,1,.36,1), transform .58s cubic-bezier(.22,1,.36,1);
}
.fnav-overlay.open {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fnav-overlay.closing {
  opacity: 0;
  transform: translateY(-8px) scale(0.995);
  transition-duration: .44s;
  pointer-events: none;
}

.fnav-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  height: 100%;
  padding: 0 max(48px, calc((100vw - 1100px) / 2));
}

/* 메뉴 항목 스태거 */
.fnav-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .62s cubic-bezier(.22,1,.36,1), transform .62s cubic-bezier(.22,1,.36,1);
}
.fnav-overlay.open .fnav-item:nth-child(1) { opacity:1; transform:none; transition-delay:.12s; }
.fnav-overlay.open .fnav-item:nth-child(2) { opacity:1; transform:none; transition-delay:.19s; }
.fnav-overlay.open .fnav-item:nth-child(3) { opacity:1; transform:none; transition-delay:.26s; }
.fnav-overlay.open .fnav-item:nth-child(4) { opacity:1; transform:none; transition-delay:.33s; }
.fnav-overlay.open .fnav-item:nth-child(5) { opacity:1; transform:none; transition-delay:.40s; }
.fnav-overlay.closing .fnav-item { opacity:0; transform:translateY(12px); transition:opacity .26s cubic-bezier(.4,0,.2,1), transform .26s cubic-bezier(.4,0,.2,1); transition-delay:0s !important; }

/* top/bottom */
.fnav-top, .fnav-bottom { opacity:0; transform: translateY(10px); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
.fnav-overlay.open .fnav-top    { opacity:1; transform:none; transition-delay:.08s; }
.fnav-overlay.open .fnav-bottom { opacity:1; transform:none; transition-delay:.36s; }
.fnav-overlay.closing .fnav-top,
.fnav-overlay.closing .fnav-bottom { opacity:0; transform: translateY(8px); transition-delay:0s; }

.fnav-top {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.fnav-logo {
  font-size: 17px; letter-spacing: 4px; font-weight: 700; color: #fff;
}
.fnav-reserve {
  font-size: 17px; letter-spacing: 2px; color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 18px; border-radius: 30px;
  transition: border-color .2s, color .2s;
}
.fnav-reserve:hover { color: #fff; border-color: rgba(255,255,255,.7); }

.fnav-menu {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  gap: 0;
}

.fnav-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.fnav-main-btn {
  width: 100%; display: flex; align-items: center; gap: 20px;
  padding: 22px 0;
  background: none; border: none; text-align: left; cursor: pointer;
  color: #fff;
  transition: opacity .28s ease;
}
.fnav-main-btn:hover { opacity: .7; }

.fnav-en {
  font-family: 'Montserrat', 'Pretendard', sans-serif;
  font-size: 28px; font-weight: 300; letter-spacing: 2px;
  color: #fff;
  min-width: 200px;
}
.fnav-ko {
  font-size: 17px; letter-spacing: 1.5px; color: rgba(255,255,255,.45);
}
.fnav-arrow {
  margin-left: auto; font-size: 20px; color: rgba(255,255,255,.35);
  transition: transform .42s cubic-bezier(.22,1,.36,1), color .25s ease;
  line-height: 1;
}
.fnav-item.open .fnav-arrow { transform: rotate(45deg); color: #6490B9; }

.fnav-sub {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .55s cubic-bezier(.22,1,.36,1), opacity .35s ease, transform .35s ease;
}
.fnav-item.open .fnav-sub { max-height: 160px; opacity: 1; transform: translateY(0); }

.fnav-sub-inner {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  padding: 12px 0 20px 0;
}

.fnav-sub-link {
  font-size: 17px; letter-spacing: 1px; color: rgba(255,255,255,.5);
  transition: color .2s;
  position: relative; padding-left: 14px;
}
.fnav-sub-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6490B9;
  transform: translateY(-50%);
}
.fnav-sub-link:hover { color: #fff; }

.fnav-bottom {
  height: 56px; flex-shrink: 0;
  display: flex; align-items: center; gap: 32px;
  font-size: 17px; color: rgba(255,255,255,.25);
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; padding: 0 24px; }
  .site-nav { gap: 24px; }
  .hero-title { font-size: 44px; }
  .container { padding: 0 24px; }
  .row { flex-direction: column; gap: 40px; }
  .sub-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sub-nav::-webkit-scrollbar { display: none; }
  .sub-nav a { flex: 0 0 auto; white-space: nowrap; padding: 14px 20px; }
}
@media (max-width: 640px) {
  .point-heading h2 { font-size: 22px; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 16px; }
  .site-nav { display: none; }
  .nav-sub { display: none; }
  .logo-img { height: 28px; }
  .header-right { gap: 10px; }
  .btn-consult { padding: 4px 14px; font-size: 14px; }
  .cart-count-badge { min-width: 22px; height: 22px; font-size: 17px; }
  .hero-title { font-size: 34px; letter-spacing: 6px; }
  .hero { height: 300px; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .sub-nav { padding: 0 16px; }
  .sub-nav a { padding: 13px 16px; font-size: 17px; }
  .site-footer { padding: 48px 24px 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .footer-right { align-items: flex-start; }
  .footer-links { justify-content: flex-start; gap: 12px; }
  .fnav-inner { padding: 0 20px; }
  .fnav-top {
    padding-right: 44px;
    box-sizing: border-box;
  }
  .fnav-reserve {
    margin-right: 6px;
    padding: 7px 14px;
    font-size: 14px;
    letter-spacing: 1px;
  }
  .fnav-main-btn { gap: 12px; padding: 18px 0; }
  .fnav-en { min-width: 140px; font-size: 22px; }
  .fnav-ko { font-size: 17px; letter-spacing: 1px; }
  .fnav-sub-inner { gap: 10px 16px; padding: 10px 0 16px; }
  .fnav-sub-link {
    padding-left: 12px;
    font-size: 15px;
  }
  .fnav-sub-link::before {
    width: 4px;
    height: 4px;
  }
  .fnav-bottom {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0;
  }
  .cart-toast {
    max-width: calc(100vw - 32px);
    white-space: normal;
    text-align: center;
    gap: 8px;
    flex-direction: column;
  }
}
