/* ============================================================
   HYDRIX — Light Glassmorphism
   Modern, Airy, Premium Design
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --bg: #f8f9fc;
  --bg-dark: #f0f2f8; /* Softened dark for sections if needed, mostly unused now */
  --bg-card: rgba(255, 255, 255, 0.5);
  --bg-card-hover: rgba(255, 255, 255, 0.8);
  --accent: #56b4e9;
  --accent-light: #7cc8f0;
  --text: #1a1b26;
  --text-muted: #646573;
  --text-light: #ffffff;
  --border: rgba(255, 255, 255, 0.4);
  --border-dark: rgba(0, 0, 0, 0.05);
  --container: 1320px;
  --section-pad: 24px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-weight: 300; color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15px; overflow-x: hidden; position: relative; }
body.no-scroll { overflow: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; position: relative; z-index: 10; }

/* --- Glassmorphism Utils & Blobs --- */
.glass { background: var(--bg-card); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(86, 180, 233, 0.05); }
.glass-panel { border-radius: 24px; overflow: hidden; }
.pill { border-radius: 50px; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); z-index: 0; opacity: 0.5; animation: float 10s ease-in-out infinite alternate; pointer-events: none; }
.blob-1 { top: -100px; left: -100px; width: 600px; height: 600px; background: rgba(86, 180, 233, 0.15); animation-delay: 0s; }
.blob-2 { top: 40%; right: -200px; width: 800px; height: 800px; background: rgba(124, 200, 240, 0.12); animation-delay: -3s; }
.blob-3 { bottom: 10%; left: 10%; width: 500px; height: 500px; background: rgba(220, 230, 255, 0.4); animation-delay: -5s; }

/* --- Typography --- */
.section-label { font-family: 'Outfit', sans-serif; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 20px; display: inline-flex; align-items: center; gap: 12px; }
.section-label::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--accent); transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.section-label.visible::before, [data-animate].visible + .section-label::before, .visible .section-label::before { width: 24px; }
.section-label:hover::before { width: 40px; }
.section-title { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.2; color: var(--text); margin-bottom: 20px; letter-spacing: -0.02em; }
.section-title em { font-style: normal; font-weight: 400; position: relative; display: inline; }
.section-title em::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 8px; background: rgba(86, 180, 233, 0.15); border-radius: 2px; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
[data-animate].visible + [data-animate].visible .section-title em::after, .section-title.visible em::after, .visible .section-title em::after { transform: scaleX(1); }
.section-title--light { color: var(--text); }
.section-desc { font-weight: 300; color: var(--text-muted); font-size: 16px; line-height: 1.7; max-width: 520px; }
.section-desc--light { color: var(--text-muted); }

/* --- Animations --- */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
[data-animate].visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(30px) scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================ HEADER ============================================================ */
#main-header, .main-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 10px 20px 8px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); height: auto; display: flex; justify-content: center; transition: all 0.3s; pointer-events: none; overflow: visible; }
#main-header.scrolled, .main-header.scrolled { top: 0; }
.header-inner { max-width: var(--container); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: auto; }
.header-nav-row { display: flex; align-items: center; gap: 8px; overflow: visible; }
.header-logo { display: inline-flex; align-items: center; }
.header-logo img { display: block; height: 40px; width: auto; filter: invert(0); } /* Adjust based on logo color */
.header-nav { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.5); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 50px; padding: 7px; box-shadow: 0 4px 24px rgba(0,0,0,0.03); overflow: visible; }
.nav-list { display: flex; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a { display: block; font-family: 'Noto Sans KR', sans-serif; font-size: 15px; font-weight: 500; color: var(--text); padding: 10px 18px; border-radius: 40px; transition: all 0.2s; border: 1px solid transparent; letter-spacing: 0.02em; white-space: nowrap; }
.nav-item > a:hover { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); color: var(--accent); border-color: rgba(255,255,255,0.8); }
/* --- Nav Dropdown --- */
.nav-dropdown { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(10px) scale(0.98); min-width: 200px; background: rgba(255,255,255,0.96); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); border: 1px solid rgba(0,0,0,0.06); border-radius: 20px; padding: 12px; opacity: 0; visibility: hidden; transition: all 0.35s cubic-bezier(0.2, 1, 0.2, 1); box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(86,180,233,0.08); pointer-events: none; z-index: 1001; list-style: none; margin: 0; }
.nav-dropdown::before { content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.nav-item.dropdown-open .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); pointer-events: all; }
.nav-dropdown li { margin-bottom: 2px; }
.nav-dropdown li:last-child { margin-bottom: 0; }
.nav-dropdown li a { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font-size: 15px; font-weight: 400; color: var(--text); border-radius: 12px; transition: all 0.25s cubic-bezier(0.2, 1, 0.2, 1); white-space: nowrap; text-align: left; position: relative; overflow: hidden; letter-spacing: -0.01em; }
.nav-dropdown li a::after { content: '\ea6c'; font-family: 'remixicon'; font-size: 16px; font-weight: 300; color: var(--accent); opacity: 0; transform: translateX(-10px); transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1); }
.nav-dropdown li a:hover { color: var(--accent); background: linear-gradient(135deg, rgba(86,180,233,0.08), rgba(86,180,233,0.02)); transform: translateX(8px); padding-left: 24px; }
.nav-dropdown li a:hover::after { opacity: 1; transform: translateX(0); }
.header-cta-wrap { position: relative; display: none; padding-bottom: 12px; margin-bottom: -12px; }
.header-cta { background: var(--text); color: var(--bg); padding: 10px 24px; font-size: 14px; font-family: 'Outfit', sans-serif; font-weight: 400; border-radius: 50px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.header-cta::after { display: none; }
@media (hover: hover) { .header-cta-wrap:hover .header-cta::after { transform: rotate(180deg); } }
.header-cta:hover { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(86,180,233,0.3); }
.header-cta-dropdown { position: fixed; min-width: 160px; background: rgba(255,255,255,0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 16px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s cubic-bezier(0.2, 1, 0.2, 1), visibility 0.25s, transform 0.25s cubic-bezier(0.2, 1, 0.2, 1); box-shadow: 0 12px 32px rgba(0,0,0,0.1); pointer-events: none; z-index: 1001; }
.header-cta-dropdown::before { display: none; }
.header-cta-wrap.open .header-cta-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all; }
.cta-drop-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 14px; font-weight: 500; font-family: 'Outfit', sans-serif; color: var(--text); border-radius: 10px; transition: all 0.2s cubic-bezier(0.2, 1, 0.2, 1); white-space: nowrap; }
.cta-drop-item i { font-size: 20px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.2s; }
.cta-drop-item:hover { background: rgba(255,255,255,0.5); transform: translateX(4px); box-shadow: 0 4px 16px rgba(0,0,0,0.03); }
.cta-emblem { border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); transition: transform 0.2s; flex-shrink: 0; }
.cta-drop-item:hover .cta-emblem { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.cta-drop-item.cta-kakao:hover { color: #3c1e1e; }
.cta-drop-item.cta-naver:hover { color: #03c75a; }
.cta-drop-item.cta-phone:hover { color: var(--accent); }
.header-phone { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500; color: var(--text); }
.hamburger { display: none; }
.hamburger-line { display: block; width: 18px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }


/* ============================================================ MOBILE MENU ============================================================ */
.mobile-menu { position: fixed; top: 96px; right: 20px; left: auto; width: min(380px, calc(100vw - 40px)); height: auto; max-height: calc(100vh - 120px); background: rgba(255,255,255,0.88); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); z-index: 1002; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 0.35s cubic-bezier(0.2, 1, 0.2, 1), transform 0.35s cubic-bezier(0.2, 1, 0.2, 1), visibility 0s 0.35s; display: flex; flex-direction: column; align-items: stretch; padding: 24px; overflow-y: auto; border-radius: 20px; border-top: 2px solid var(--accent); box-shadow: 0 24px 80px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.04); }
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.35s cubic-bezier(0.2, 1, 0.2, 1), transform 0.35s cubic-bezier(0.2, 1, 0.2, 1), visibility 0s 0s; }
.main-header.scrolled ~ .mobile-menu { top: 84px; }
.mobile-menu-inner { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
.mobile-menu a { font-size: 17px; font-weight: 400; color: var(--text); transition: all 0.2s; font-family: 'Outfit', 'Noto Sans KR', sans-serif; letter-spacing: -0.02em; padding: 14px 20px; border-radius: 14px; display: block; text-align: left; width: 100%; min-height: 48px; }
.mobile-menu a:hover, .mobile-menu a:active { color: var(--accent); background: rgba(86,180,233,0.06); }
.mobile-nav-group { width: 100%; }
.mobile-nav-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 400; color: var(--text); font-family: 'Outfit', 'Noto Sans KR', sans-serif; letter-spacing: -0.02em; padding: 14px 20px; border-radius: 14px; transition: all 0.2s; cursor: pointer; background: none; border: none; }
.mobile-nav-toggle:hover { color: var(--accent); background: rgba(86,180,233,0.06); }
.mobile-nav-toggle i { font-size: 18px; transition: transform 0.3s; color: var(--text-muted); }
.mobile-nav-group.open .mobile-nav-toggle i { transform: rotate(180deg); color: var(--accent); }
.mobile-nav-group.open .mobile-nav-toggle { color: var(--accent); }
.mobile-nav-sub { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.mobile-nav-group.open .mobile-nav-sub { max-height: 400px; }
.mobile-nav-sub a { display: block; font-size: 15px; font-weight: 300; color: var(--text-muted); padding: 10px 20px 10px 36px; border-radius: 10px; transition: all 0.2s; position: relative; }
.mobile-nav-sub a::before { content: ''; position: absolute; left: 20px; top: 50%; width: 6px; height: 1px; background: var(--accent); opacity: 0.4; }
.mobile-nav-sub a:hover, .mobile-nav-sub a:active { color: var(--accent); background: rgba(86,180,233,0.06); }
.mobile-cta { background: var(--text) !important; color: #fff !important; padding: 14px 24px !important; font-size: 15px; font-weight: 500; border-radius: 50px; margin-top: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); text-align: center; display: block; }

/* ============================================================ HERO ============================================================ */
#hero { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); padding: 110px 20px 60px; overflow: hidden; }
.hero-showcase-wrapper { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0; display: block; position: relative; }
.hero-showcase-inner { position: relative; width: 100%; min-height: 480px; border-radius: 32px; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.06); display: flex; align-items: center; padding: 48px; }
.hero-bg-slider { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; background: var(--bg); }
.hero-bg-slider picture.slide-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; z-index: 0; }
.hero-bg-slider picture.slide-item:first-of-type { opacity: 1; z-index: 1; }
.hero-bg-slider picture.slide-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-overlay { display: none; }
/* Hero Slider Indicators */
.hero-indicators { position: absolute; bottom: 32px; right: 40px; z-index: 10; display: flex; align-items: center; gap: 8px; }
.hero-indicator { width: 24px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); position: relative; overflow: hidden; padding: 0; }
.hero-indicator.active { width: 48px; background: rgba(255,255,255,0.25); }
.hero-indicator-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: #fff; border-radius: 2px; }
.hero-indicator.active .hero-indicator-fill { animation: indicator-progress 4s linear forwards; }
@keyframes indicator-progress { from { width: 0; } to { width: 100%; } }

.hero-content { position: relative; z-index: 10; width: 100%; max-width: 520px; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.05); padding: 40px 48px; border-radius: 28px; }
.hero-eyebrow { font-family: 'Outfit', sans-serif; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.hero-heading { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-weight: 200; font-size: clamp(32px, 4vw, 56px); line-height: 1.25; color: var(--text); margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-heading > span { display: block; overflow: hidden; padding-bottom: 4px; }
.hero-heading > span > .hero-accent { position: relative; font-weight: 500; }
.hero-heading > span > .hero-accent::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.8s; }
.hero-content.visible .hero-heading > span > .hero-accent::after, .visible .hero-heading > span > .hero-accent::after { transform: scaleX(1); }
.hero-heading > span:nth-child(2) .hero-accent::after { transition-delay: 1.1s; }
.hero-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-accent-shimmer 3s ease-in-out infinite;
  display: inline-block;
}
@keyframes hero-accent-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-subtitle { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 16px; font-weight: 300; color: var(--text); line-height: 1.6; margin-bottom: 36px; }
.hero-cta-row { display: flex; align-items: center; gap: 32px; }
.hero-phone { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 400; color: var(--text); transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.hero-phone:hover { color: var(--accent); }

/* ============================================================ TRUST ============================================================ */
#trust, .trust { background: transparent; padding: var(--section-pad) 0; position: relative; z-index: 10; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,0.4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 8px 32px rgba(86,180,233,0.05); }
.trust-item { text-align: center; padding: 32px 20px; position: relative; }
.trust-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(0,0,0,0.05); }
.trust-num { font-family: 'Outfit', sans-serif; font-size: 44px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 4px; display: inline-block; }
.trust-unit { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 300; color: var(--accent); }
.trust-label { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-top: 10px; display: block; }
.trust-icon { font-size: 32px; color: var(--accent); display: block; margin-bottom: 10px; }

/* ============================================================ ABOUT ============================================================ */
#about, .about { background: transparent; padding: var(--section-pad) 0; position: relative; z-index: 10; }
.about-grid { display: grid; grid-template-columns: 45% 1fr; gap: 48px; align-items: stretch; }
.about-left { position: relative; display: flex; flex-direction: column; }
.about-image-wrap { position: relative; overflow: visible; flex: 1; display: flex; flex-direction: column; }
.about-image-wrap img { width: 100%; flex: 1; min-height: 0; object-fit: cover; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 24px 48px rgba(0,0,0,0.06); }
.about-stats { position: absolute; bottom: -40px; right: -40px; background: rgba(255,255,255,0.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); padding: 32px 48px; border-radius: 24px; box-shadow: 0 16px 40px rgba(86,180,233,0.08); display: flex; gap: 40px; }
.about-stat { text-align: center; }
.about-stat-num { display: block; font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 300; color: var(--accent); line-height: 1.2; }
.about-stat-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.about-right { display: flex; flex-direction: column; justify-content: center; }
.about-pillar { position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.about-pillar:last-of-type { border-bottom: none; margin-bottom: 0; }
.pillar-num { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 200; color: rgba(86,180,233,0.2); position: absolute; left: 0; top: 12px; line-height: 1; }
.pillar-title { font-size: 18px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.pillar-desc { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.7; }

/* ============================================================ TREATMENTS ============================================================ */
#treatments, .treatments { background: transparent; padding: var(--section-pad) 0; position: relative; z-index: 10; }
.treatments-panel { background: rgba(255,255,255,0.4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 28px; padding: 36px; }
.treatments-header { margin-bottom: 40px; }
.treatments-header .section-title { margin-bottom: 0; }
.treat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.treat-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; display: flex; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.treat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.12); }
.treat-img { position: absolute; inset: 0; }
.treat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.treat-card:hover .treat-img img { transform: scale(1.08); }
.treat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 24px; z-index: 2; }
.treat-tag { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.75); margin-bottom: 6px; letter-spacing: 0.02em; }
.treat-num { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: 4px; transition: transform 0.3s ease, color 0.3s; }
.treat-card:hover .treat-num { transform: translateX(4px); color: #fff; }
.treat-overlay h3 { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 24px; font-weight: 500; color: #fff; letter-spacing: -0.01em; line-height: 1.3; display: inline-block; padding-bottom: 6px; position: relative; transition: text-shadow 0.3s; }
.treat-overlay h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40%; height: 2px; background: var(--accent); transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.treat-card:hover .treat-overlay h3::after { width: 100%; }
.treat-card:hover .treat-overlay h3 { text-shadow: 0 0 20px rgba(86, 180, 233, 0.4); }
.treat-arrow { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; transition: all 0.3s; opacity: 0; transform: translate(-4px, 4px); }
.treat-card:hover .treat-arrow { opacity: 1; transform: translate(0, 0); background: var(--accent); }

/* ============================================================ STATEMENT ============================================================ */
#statement, .statement { background: transparent; padding: 24px 0; position: relative; overflow: hidden; text-align: center; }
.statement-quote { font-family: 'Outfit', sans-serif; font-size: 180px; color: rgba(86,180,233,0.1); position: absolute; top: 30px; left: 50%; transform: translateX(-50%); line-height: 1; pointer-events: none; }
.statement-text { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-weight: 300; font-size: clamp(22px, 3vw, 40px); color: var(--text); line-height: 1.4; max-width: 800px; margin: 0 auto 36px; position: relative; z-index: 1; letter-spacing: -0.02em; }
.statement-text strong { font-weight: 500; background: linear-gradient(135deg, var(--accent), var(--accent-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.statement-line { width: 80px; height: 1px; background: var(--accent); margin: 0 auto 32px; }
#statement .btn-primary, .statement .btn-primary { position: relative; z-index: 1; }

/* ============================================================ DOCTOR ============================================================ */
#doctor, .doctor { background: transparent; padding: var(--section-pad) 0; position: relative; z-index: 10; }
.doctor-inner { display: grid; grid-template-columns: 45% 55%; gap: 0; align-items: stretch; background: rgba(255,255,255,0.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 28px; box-shadow: 0 16px 48px rgba(0,0,0,0.06); overflow: hidden; }
.doctor-image { position: relative; }
.doctor-image img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: top center; }
.doctor-image-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 32px 32px; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); }
.doctor-image-overlay .section-label { color: rgba(255,255,255,0.9); margin-bottom: 8px; }
.doctor-image-overlay .section-label::before { background: #fff; }
.doctor-image-overlay .name-display { color: #fff; font-size: 36px; margin-bottom: 4px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.doctor-image-overlay .doctor-role { color: rgba(255,255,255,0.8); margin-bottom: 0; }
.doctor-content { padding: 32px; }
.doctor-role { font-family: 'Outfit', sans-serif; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.name-display { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 42px; font-weight: 400; color: var(--accent); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 20px; }
.doctor-quote { font-size: 15px; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }
.doctor-credentials { background: transparent; padding: 0; margin-bottom: 0; }
.doctor-credentials .doctor-quote { margin-bottom: 0; font-size: 15px; }
.cred-divider { height: 1px; background: linear-gradient(to right, rgba(86,180,233,0.2), rgba(86,180,233,0.05)); margin: 20px 0; }
.cred-group { padding: 0; }
.cred-title { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.cred-title i { font-size: 16px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(86,180,233,0.1); color: var(--accent); }
.cred-list-wrap { /* desktop: always visible */ }
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.cred-list li { font-size: 13px; font-weight: 400; color: var(--text); padding: 5px 0 5px 10px; position: relative; border-left: 2px solid rgba(86,180,233,0.15); transition: all 0.2s; }
.cred-list li:hover { border-left-color: var(--accent); color: var(--accent); }

/* ============================================================ REVIEWS ============================================================ */
#reviews, .reviews { background: transparent; padding: var(--section-pad) 0; position: relative; z-index: 10; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.review-card { background: rgba(255,255,255,0.4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 20px; padding: 28px 24px; transition: transform 0.3s; position: relative; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(86,180,233,0.06); background: rgba(255,255,255,0.6); }
.review-stars { margin-bottom: 24px; display: flex; gap: 4px; }
.review-stars i { color: #f5b041; font-size: 16px; }
.review-text { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.review-author { font-size: 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 20px; }
.review-name { font-weight: 600; font-family: 'Outfit', sans-serif; color: var(--text); }
.review-treatment { font-size: 12px; font-family: 'Outfit', sans-serif; font-weight: 500; color: var(--accent); background: rgba(86,180,233,0.1); padding: 4px 12px; border-radius: 40px; }
.review-aggregate { display: flex; justify-content: center; gap: 64px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 24px; margin-top: 24px; }
.aggregate-item { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.aggregate-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.aggregate-value { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 300; color: var(--accent); }

/* ============================================================ FAQ ============================================================ */
#faq, .faq { background: transparent; padding: var(--section-pad) 0; position: relative; z-index: 10; }
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.faq-description { font-size: 15px; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-top: 20px; }
.faq-list { border-top: 1px solid rgba(0,0,0,0.05); }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.05); }
.faq-question { width: 100%; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 500; color: var(--text); text-align: left; cursor: pointer; transition: color 0.2s; min-height: 44px; }
.faq-question:hover { color: var(--accent); }
.faq-icon { font-size: 24px; transition: transform 0.35s; flex-shrink: 0; margin-left: 16px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(86,180,233,0.05); border-radius: 50%; color: var(--accent); }
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 0 32px 0; font-size: 15px; font-weight: 300; color: var(--text-muted); line-height: 1.8; }

/* ============================================================ CONSULTATION ============================================================ */
#consultation, .consultation { background: transparent; padding: var(--section-pad) 0; position: relative; z-index: 10; }
.consultation-inner { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,0.4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 32px; overflow: hidden; box-shadow: 0 16px 48px rgba(86,180,233,0.05); }
.consultation-info { position: relative; min-height: 700px; padding: 60px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at top right, rgba(86,180,233,0.1), transparent); }
.consultation-overlay { display: none; } /* Removing dark overlay */
.consultation-bg { display: none; }
.consultation-overlay-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; }
.consultation-overlay-content h2 { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-weight: 300; font-size: clamp(26px, 3vw, 40px); color: var(--text); margin-bottom: 16px; letter-spacing: -0.02em; }
.consultation-overlay-content h2 em { font-style: normal; font-weight: 400; background: linear-gradient(135deg, var(--accent), var(--accent-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.consultation-overlay-content p { font-size: 16px; font-weight: 300; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; }
.consultation-phone { font-family: 'Outfit', sans-serif; font-size: clamp(32px, 3vw, 48px); font-weight: 300; color: var(--accent); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 16px; transition: color 0.2s; }
.consultation-phone i { color: var(--text); }
.consultation-channels { display: flex; gap: 16px; margin-top: 32px; }
.channel-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-size: 15px; font-weight: 500; font-family: 'Outfit', sans-serif; border-radius: 50px; transition: all 0.2s; box-shadow: 0 4px 16px rgba(0,0,0,0.04); background: rgba(255,255,255,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.8); color: var(--text); }
.channel-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); background: #fff; }
.channel-btn i { font-size: 20px; transition: color 0.2s; color: var(--text-muted); }
.channel-kakao:hover { border-color: #fae100; color: #3c1e1e; }
.channel-kakao:hover i { color: #fae100; filter: drop-shadow(0 2px 4px rgba(250,225,0,0.3)); }
.channel-naver:hover { border-color: #03c75a; color: #03c75a; }
.channel-naver:hover i { color: #03c75a; filter: drop-shadow(0 2px 4px rgba(3,199,90,0.3)); }

.consultation-form-wrap { background: rgba(255,255,255,0.7); padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.form-title { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 28px; font-weight: 300; color: var(--text); margin-bottom: 40px; letter-spacing: -0.01em; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 14px 16px; color: var(--text); font-size: 15px; font-weight: 400; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(0,0,0,0.2); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(86,180,233,0.1); }
.form-group select option { background: #fff; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-error { color: #e55; font-size: 13px; font-family: 'Outfit', sans-serif; margin-top: 6px; }
.required { color: var(--accent); }
fieldset.form-radio-group { border: none; margin-bottom: 32px; }
fieldset.form-radio-group legend { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.radio-options { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); cursor: pointer; background: #fff; padding: 12px 20px; border-radius: 50px; border: 1px solid rgba(0,0,0,0.08); transition: all 0.2s; }
.radio-label:hover { border-color: var(--accent); background: rgba(86,180,233,0.02); }
.radio-label input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.checkbox-label { font-size: 14px; color: var(--text-muted); line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.form-note { margin-top: 24px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ============================================================ LOCATION ============================================================ */
#location, .location { background: transparent; padding: var(--section-pad) 0; position: relative; z-index: 10; }
.location-grid { display: grid; grid-template-columns: 320px 1fr 320px; gap: 40px; margin-top: 24px; }
.location-contact { display: flex; flex-direction: column; gap: 24px; background: rgba(255,255,255,0.4); backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.location-info-item { display: flex; gap: 16px; padding: 0; border: none; }
.location-info-item i { font-size: 24px; color: var(--accent); margin-top: 2px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(86,180,233,0.1); border-radius: 50%; flex-shrink: 0; }
.location-info-item strong { display: block; font-family: 'Outfit', sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.location-info-item a, .location-info-item p { font-size: 15px; font-weight: 400; color: var(--text); line-height: 1.6; }
.location-social { display: flex; gap: 12px; margin-top: 16px; }
.location-social a { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text); transition: all 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.location-social a:hover { color: #fff; background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(86,180,233,0.3); }
.location-map { overflow: hidden; height: 494px; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 16px 48px rgba(0,0,0,0.05); }
.location-map iframe, .location-map img { width: 100%; height: 100%; object-fit: contain; border: none; background: #f0f2f8; }
.location-hours { background: rgba(255,255,255,0.4); backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.location-hours h3 { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 18px; font-weight: 400; color: var(--text); margin-bottom: 20px; letter-spacing: -0.01em; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 14px 0; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.hours-table td:first-child { color: var(--text-muted); font-weight: 300; }
.hours-table td:last-child { text-align: right; font-weight: 500; font-family: 'Outfit', sans-serif; color: var(--text); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-closed td { color: var(--accent) !important; font-weight: 500; }

/* ============================================================ FOOTER ============================================================ */
.main-footer { background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 32px 0 32px; color: var(--text-muted); border-top: 1px solid var(--border); position: relative; z-index: 10; }
.footer-top { margin-bottom: 48px; display: flex; flex-direction: row; align-items: center; gap: 60px; }
.footer-logo { margin-bottom: 0; flex-shrink: 0; }
.footer-logo img { height: 80px; width: auto; filter: invert(0); }
.footer-columns { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 48px; flex: 1; }
.footer-col { display: flex; flex-direction: column; flex: 1; min-width: 110px; }
.footer-col h4 { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); font-weight: 600; margin-bottom: 20px; text-align: left; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { display: inline-block; font-size: 14px; font-weight: 300; color: var(--text-muted); padding: 2px 0; transition: all 0.2s; text-align: left; }
.footer-col li a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.05); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 300; max-width: 900px; margin: 0 auto; width: 100%; }
.footer-legal { display: flex; gap: 32px; }
.footer-legal a { color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }
.footer-copyright { font-size: 13px; font-family: 'Outfit', sans-serif; color: var(--text-muted); }

/* ============================================================ BUTTONS ============================================================ */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 14px 32px; font-size: 15px; font-family: 'Outfit', sans-serif; font-weight: 400; border-radius: 50px; transition: all 0.2s; border: none; box-shadow: 0 8px 24px rgba(86,180,233,0.2); }
.btn-primary::after { content: '\ea6c'; font-family: 'remixicon'; font-size: 16px; font-weight: 300; transition: transform 0.2s; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(86,180,233,0.4); }
.btn-primary:hover::after { transform: translateX(4px) translateY(-4px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); color: var(--text); padding: 14px 32px; font-size: 15px; font-family: 'Outfit', sans-serif; font-weight: 400; border-radius: 50px; transition: all 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.8); box-shadow: 0 8px 24px rgba(0,0,0,0.05); color: var(--accent); transform: translateY(-2px); border-color: #fff; }
.btn-outline-light { display: inline-flex; background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.3); color: var(--text-light); padding: 14px 32px; font-size: 15px; font-family: 'Outfit', sans-serif; font-weight: 400; border-radius: 50px; transition: all 0.2s; }
.btn-outline-light:hover { background: rgba(255,255,255,0.25); color: #fff; }
.btn-submit { width: 100%; background: var(--accent); color: #fff; padding: 16px; font-size: 15px; font-family: 'Outfit', sans-serif; font-weight: 500; border-radius: 50px; border: none; transition: all 0.2s; position: relative; box-shadow: 0 8px 24px rgba(86,180,233,0.2); }
.btn-submit:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(86,180,233,0.4); }
.btn-text { display: inline-block; }
.btn-spinner, .btn-check { display: none; }
.btn-submit.loading .btn-text { visibility: hidden; }
.btn-submit.loading .btn-spinner { display: block; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
.btn-submit.success { background: #2a8c4a; box-shadow: 0 8px 24px rgba(42,140,74,0.3); }
.btn-submit.success .btn-text { visibility: hidden; }
.btn-submit.success .btn-check { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; color: #fff; font-size: 24px; }

/* ============================================================ FLOATING CONTACT WIDGET ============================================================ */
.floating-contact { position: fixed; bottom: 32px; right: 32px; z-index: 900; }
.floating-trigger { width: 60px; height: 60px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 8px 32px rgba(86,180,233,0.35); transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1); position: relative; z-index: 2; }
.floating-trigger:hover { background: var(--accent-light); transform: scale(1.08); box-shadow: 0 12px 40px rgba(86,180,233,0.45); }
.floating-panel { position: absolute; bottom: calc(100% + 14px); right: 0; width: 280px; background: rgba(255,255,255,0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.5); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.04); padding: 28px 24px 20px; opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.95); transform-origin: bottom right; pointer-events: none; transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.floating-panel::after { content: ''; position: absolute; bottom: -14px; right: 0; width: 60px; height: 14px; }
.floating-panel-header { text-align: center; margin-bottom: 20px; }
.floating-panel-eyebrow { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.floating-panel-title { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--text); margin-bottom: 6px; }
.floating-panel-phone { font-size: 20px; font-weight: 700; color: var(--accent); letter-spacing: 0.5px; }
.floating-panel-buttons { display: flex; gap: 8px; }
.floating-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; font-size: 11px; font-weight: 600; transition: all 0.25s ease; text-align: center; background: rgba(0,0,0,0.02); color: var(--text-muted); border: 1px solid transparent; }
.floating-emblem { border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.floating-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.05); }
.floating-btn:hover .floating-emblem { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.floating-btn-kakao:hover { color: #3c1e1e; }
.floating-btn-naver:hover { color: #03c75a; }
.floating-btn-phone:hover { color: var(--accent); }
@media (hover: hover) {
  .floating-contact:hover .floating-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: all; }
}
.floating-contact.open .floating-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: all; }

/* ============================================================ MOBILE BOTTOM BAR ============================================================ */
.mobile-bottom-bar { display: none; position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 900; background: rgba(255,255,255,0.85); backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: 50px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); padding: 8px; justify-content: space-around; }
.mobile-bar-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; gap: 4px; color: var(--text-muted); font-size: 11px; font-weight: 500; transition: all 0.2s; padding: 8px; border-radius: 40px; }
.mobile-bar-btn i { font-size: 20px; transition: color 0.2s; }
.mobile-bar-btn:hover, .mobile-bar-btn.active { color: var(--accent); background: rgba(86,180,233,0.08); }

/* ============================================================ DESKTOP 1025px+ ============================================================ */
@media (min-width: 1025px) {
  #main-header, .main-header { top: 12px; padding: 0 40px; overflow: visible; height: auto; }
  #main-header.scrolled, .main-header.scrolled { top: 4px; }
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    max-width: 1060px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    padding: 14px 40px 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  }
  .header-nav-row { display: flex; align-items: center; gap: 12px; }
  .header-logo { text-align: center; }
  .header-logo img { height: 56px; }
  .header-nav { 
    display: flex !important; 
    background: rgba(255, 255, 255, 0.55); 
    backdrop-filter: none; 
    -webkit-backdrop-filter: none; 
    border: 1px solid rgba(255, 255, 255, 0.8); 
    border-radius: 50px; 
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.04); 
    padding: 6px 16px; 
  }
  .nav-list { gap: 16px; }
  .nav-item a { padding: 12px 24px; font-size: 16px; letter-spacing: 0.04em; }
  .header-cta-wrap { display: inline-flex !important; position: static; flex-shrink: 0; }
  .hamburger { display: none !important; }
  #hero { padding-top: 190px; }
}

/* ============================================================ RESPONSIVE 1024px ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 16px; }
  .container { padding: 0 32px; }
  #main-header, .main-header { top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 0; margin: 0; padding: 8px 20px 6px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  #main-header.scrolled, .main-header.scrolled { top: 0; }
  .header-inner { z-index: 1003; }
  .header-nav { padding: 4px; }
  .nav-item > a { font-size: 13px; padding: 8px 12px; }
  .nav-dropdown { min-width: 140px; padding: 8px; border-radius: 14px; top: calc(100% + 4px); }
  .nav-item.dropdown-open .nav-dropdown { transform: translateX(-50%) translateY(0) scale(1); }
  .nav-dropdown li a { padding: 10px 14px; font-size: 13px; }
  .mobile-menu { display: none !important; }
  #hero { padding: 130px 32px 40px; margin-top: 0; min-height: auto; }
  .hero-showcase-inner { min-height: auto; aspect-ratio: 1282/528; padding: 0; flex-direction: column; justify-content: flex-end; align-items: stretch; border-radius: 20px; }
  .hero-indicators { bottom: 20px; right: 50%; transform: translateX(50%); }
  .hero-bg-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.95) 100%); }
  .hero-content { max-width: 100%; margin: auto 0 0; padding: 40px 32px; border-radius: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { right: 20px; bottom: -20px; }
  .doctor-inner { grid-template-columns: 1fr; gap: 0; }
  .doctor-content { padding: 24px; }
  .doctor-image img { height: 420px; min-height: auto; }
  .treat-grid { grid-template-columns: repeat(2, 1fr); }
  .treat-card { aspect-ratio: 3 / 2; }
  .treatments-panel { padding: 32px; }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .location-grid > :first-child { grid-column: 1 / -1; }
}

/* ============================================================ RESPONSIVE 768px ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 16px; }
  .container { padding: 0 20px; }
  #main-header, .main-header { padding: 6px 12px 4px; }
  .header-logo img { height: 44px; }
  .header-nav { padding: 3px; gap: 2px; }
  .nav-item > a { font-size: 12px; padding: 6px 8px; }
  .nav-dropdown { min-width: 120px; padding: 6px; border-radius: 12px; }
  .nav-dropdown li a { padding: 8px 12px; font-size: 12px; }
  #hero { padding-top: 150px; }
  .hero-inner { padding: 0 20px; }

  /* Trust: 2x2 grid — hide dividers on right-edge (even) items */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .trust-item:nth-child(even)::after { display: none; }
  .trust-num { font-size: 48px; }
  .trust-item { padding: 32px 16px; }

  /* About: prevent stats overlay from overflowing parent */
  .about-grid { gap: 32px; }
  .about-stats { right: 0; bottom: -24px; padding: 24px 32px; }
  .about-image-wrap { margin-bottom: 48px; }

  /* Treatments */
  .treat-grid { grid-template-columns: 1fr 1fr; }
  .treat-card { aspect-ratio: 3 / 2; }
  .treatments-panel { padding: 24px; border-radius: 24px; }
  .treatments-header { margin-bottom: 24px; }

  /* Doctor */
  .doctor-credentials { padding: 0; }
  .cred-list { grid-template-columns: 1fr; }
  .doctor-image img { height: 420px; }

  /* Doctor credentials accordion (mobile only) */
  .cred-group { border-bottom: 1px solid rgba(0,0,0,0.05); }
  .cred-group:last-child { border-bottom: none; }
  .cred-title { cursor: pointer; padding: 16px 0; margin-bottom: 0; display: flex; align-items: center; justify-content: space-between; }
  .cred-title::after { content: '\ea13'; font-family: 'remixicon'; font-size: 20px; font-weight: 400; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(86,180,233,0.05); border-radius: 50%; }
  .cred-group.cred-open .cred-title::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
  .cred-list-wrap { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .cred-group.cred-open .cred-list-wrap { max-height: 500px; }
  .cred-list { padding-bottom: 16px; }
  .cred-divider { display: none; }

  /* Reviews */
  .review-grid { grid-template-columns: 1fr; }
  .review-aggregate { gap: 32px; flex-wrap: wrap; }

  /* FAQ */
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-question { padding: 20px 0; font-size: 16px; }

  /* Consultation: stack to 1 column */
  .consultation-inner { grid-template-columns: 1fr; }
  .consultation-info { min-height: auto; padding: 40px 24px; }
  .consultation-form-wrap { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* Form inputs: 16px prevents iOS auto-zoom */
  .form-group input, .form-group textarea { font-size: 16px; padding: 16px; min-height: 48px; }
  .radio-options { gap: 12px; }
  .radio-label { min-height: 48px; padding: 12px 16px; font-size: 14px; }

  /* Location: 1 column, reduce map height */
  .location-grid { grid-template-columns: 1fr; }
  .location-map { height: 390px; }

  /* Footer */
  .footer-top { flex-direction: column; align-items: center; margin-bottom: 32px; gap: 24px; }
  .footer-logo { text-align: center; }
  .footer-logo img { height: 72px; }
  .footer-columns { display: flex; flex-wrap: nowrap; gap: 0; width: 100%; }
  .footer-col { flex: 1; min-width: 0; text-align: center; }
  .footer-col h4 { font-size: 11px; margin-bottom: 8px; text-align: center; }
  .footer-col li a { font-size: 11px; }
  .footer-col ul { gap: 4px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; max-width: 100%; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 24px; }

  .floating-contact { display: block; bottom: 60px; right: 16px; z-index: 901; }
  .floating-trigger { width: 52px; height: 52px; font-size: 22px; }
  .floating-panel { width: 260px; padding: 22px 18px 16px; right: 0; }
  .floating-panel-title { font-size: 15px; }
  .floating-panel-phone { font-size: 18px; }
  .floating-btn { padding: 12px 6px; font-size: 10px; }
  .floating-btn i { font-size: 20px; }
  .mobile-bottom-bar { display: flex; padding-bottom: max(8px, env(safe-area-inset-bottom)); }

  .main-footer { padding-bottom: 40px; }

  /* Hero CTA stacking */
  .hero-cta-row { flex-direction: column; gap: 16px; }
  .btn-primary { width: 100%; justify-content: center; }

  /* Statement */
  .statement-quote { font-size: 120px; }
  #statement, .statement { padding: 16px 0; }

  /* nav-dropdown: keep visible for click-toggle; base styles already handle hidden state via opacity/visibility */
  .name-display { font-size: 40px; }

  /* Reduce blur for mobile performance */
  .glass { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

  /* Prevent blobs from causing horizontal overflow + reduce GPU load */
  .blob { opacity: 0.2; animation-duration: 20s; }
  .blob-1 { left: -200px; width: 350px; height: 350px; filter: blur(80px); }
  .blob-2 { right: -250px; width: 400px; height: 400px; filter: blur(80px); }
  .blob-3 { width: 300px; height: 300px; filter: blur(80px); }

  /* Scroll margin for anchor links under fixed header */
  section[id] { scroll-margin-top: 80px; }

  /* Hero accent: reduce GPU-intensive effects */
  .hero-accent { filter: none; transform: none; }
}

/* ============================================================ RESPONSIVE 480px ============================================================ */
@media (max-width: 480px) {
  :root { --section-pad: 12px; }
  .container { padding: 0 16px; }
  .hero-showcase-inner { border-radius: 12px; padding: 0; aspect-ratio: 1282/528; }
  .hero-content { padding: 32px 20px; margin: auto 0 0; border-radius: 20px; }
  .hero-heading { font-size: 36px; }
  .hero-subtitle { font-size: 16px; margin-bottom: 32px; }
  #hero { padding: 120px 20px 40px; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-num { font-size: 36px; }
  .trust-unit { font-size: 16px; }
  .trust-item { padding: 24px 12px; }
  #trust, .trust { margin-top: -30px; }

  /* About: stats full width inside parent */
  .about-stats { padding: 20px; gap: 20px; right: 0; left: 0; bottom: -40px; width: auto; margin: 0; justify-content: center; }
  .about-stat-num { font-size: 28px; }
  .about-image-wrap { margin-bottom: 56px; }
  .about-image-wrap img { height: 300px; }

  /* Treatments: single column on small screens */
  .treat-grid { grid-template-columns: 1fr; }
  .treat-card { aspect-ratio: 16 / 9; }

  /* Doctor: further reduce image height */
  .doctor-image img { height: 300px; }
  .doctor-image-overlay .name-display { font-size: 32px; }
  .doctor-image-overlay { padding: 40px 24px 24px; }
  .doctor-content { padding: 20px; }

  /* Consultation */
  .consultation-phone { font-size: 28px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .consultation-channels { flex-direction: column; }
  .consultation-info { padding: 32px 20px; }
  .consultation-form-wrap { padding: 32px 20px; }

  /* Location */
  .location-map { height: 338px; }
  .location-contact { padding: 24px; }
  .location-hours { padding: 24px; }
  .hours-table td { font-size: 14px; padding: 12px 0; }

  /* Footer: compact row */
  .footer-top { gap: 16px; margin-bottom: 20px; }
  .footer-logo img { height: 60px; }
  .footer-col h4 { font-size: 10px; margin-bottom: 6px; }
  .footer-col li a { font-size: 10px; }
  .footer-col ul { gap: 3px; }
  .footer-col li a { font-size: 11px; text-align: center; }
  .footer-col ul { gap: 4px; align-items: center; }
  .main-footer { padding: 16px 0 24px; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .statement-quote { font-size: 72px; }

  /* FAQ: better touch targets */
  .faq-question { padding: 18px 0; font-size: 15px; }
  .faq-icon { width: 36px; height: 36px; font-size: 20px; }

  /* Review aggregate */
  .review-aggregate { gap: 20px; }
  .aggregate-value { font-size: 24px; }

  /* Mobile menu: full width */
  .mobile-menu { right: 16px; left: 16px; width: auto; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); }

  /* Mobile bottom bar: safe area */
  .mobile-bottom-bar { bottom: max(8px, env(safe-area-inset-bottom)); left: 12px; right: 12px; }

  /* Blobs: further reduce for performance */
  .blob { opacity: 0.15; }
  .blob-1 { width: 250px; height: 250px; left: -120px; }
  .blob-2 { width: 300px; height: 300px; right: -150px; }
  .blob-3 { width: 200px; height: 200px; }
}

/* ============================================================
   CATEGORY PAGES — Page Hero & Treatment Detail Sections
   ============================================================ */

/* Page Hero */
.page-hero { padding-top: 210px; padding-bottom: 32px; text-align: center; }
.page-hero-inner { max-width: 600px; margin: 0 auto; }
.page-hero-title { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: clamp(28px, 4vw, 40px); font-weight: 600; color: var(--text); line-height: 1.2; margin-top: 12px; margin-bottom: 14px; }
.page-hero-desc { font-size: 15px; color: var(--text-muted); line-height: 1.8; font-weight: 300; }

/* Treatment Detail Section */
.treat-detail { padding: 40px 0; }
.treat-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.treat-detail-num { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; color: var(--accent); opacity: 0.6; display: block; margin-bottom: 8px; }
.treat-detail-title { font-family: 'Outfit', 'Noto Sans KR', sans-serif; font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; color: var(--text); margin-bottom: 14px; line-height: 1.3; }
.treat-detail-desc { font-size: 15px; color: var(--text-muted); line-height: 1.8; font-weight: 300; margin-bottom: 24px; }
.treat-detail-image { overflow: hidden; border-radius: 24px; aspect-ratio: 4/3; }
.treat-detail-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1); }
.treat-detail-image:hover img { transform: scale(1.03); }

/* Reverse layout (image left, text right) */
.treat-detail-reverse .treat-detail-inner { direction: rtl; }
.treat-detail-reverse .treat-detail-inner > * { direction: ltr; }

/* Scroll margin for fixed header */
.treat-detail[id] { scroll-margin-top: 220px; }

/* Single Treatment Page — Image Section */
.treat-single { padding: 0 0 60px; }
.treat-single-inner { max-width: 900px; margin: 0 auto; }
.treat-single-image { overflow: hidden; border-radius: 24px; }
.treat-single-image img { width: 100%; height: auto; display: block; }

/* Responsive */
@media (max-width: 768px) {
  .page-hero { padding-top: 140px; padding-bottom: 24px; }
  .treat-detail { padding: 24px 0; }
  .treat-detail-inner { grid-template-columns: 1fr; gap: 24px; }
  .treat-detail-reverse .treat-detail-inner { direction: ltr; }
  .treat-detail-image { aspect-ratio: 16/10; border-radius: 16px; }
  .treat-single { padding: 0 0 40px; }
  .treat-single-image { border-radius: 16px; }
}

/* ============================================================ REDUCED MOTION ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .hero-accent { animation: none; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .section-title em::after { transform: scaleX(1); transition: none; }
}

/* ============================================================ UTILITY ============================================================ */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
