/* ==========================================================================
   Love Me Clinic (러브미의원) - Luxury Aesthetic Clinic Stylesheet
   Brand Keywords: 23년 무사고, 자연스러운 리프팅/안티에이징, 입소문 신뢰
   Color Palette: Rose Gold, Soft Blush, Warm Ivory, Champagne Gold, Deep Charcoal
   Target: 40~60 Demographic Accessibility (Comfortable readability, high contrast)
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Great+Vibes&family=Pinyon+Script&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Noto+Serif+KR:wght@400;600;700&display=swap');

:root {
  --primary-rose: #b9707b;
  --primary-rose-light: #d8969f;
  --primary-rose-dark: #914b55;
  --primary-gold: #c59b4b;
  --primary-gold-light: #e5be78;
  --bg-cream: #faf6f3;
  --bg-blush: #fdf5f4;
  --bg-white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.92);
  
  --text-main: #2b2326;
  --text-sub: #54494c;
  --text-muted: #7d7174;
  --text-white: #ffffff;
  
  --border-light: rgba(185, 112, 123, 0.15);
  --border-gold: rgba(197, 155, 75, 0.35);
  --shadow-sm: 0 4px 14px rgba(43, 35, 38, 0.04);
  --shadow-md: 0 10px 30px rgba(185, 112, 123, 0.1);
  --shadow-lg: 0 20px 45px rgba(43, 35, 38, 0.1);
  --shadow-gold: 0 10px 30px rgba(197, 155, 75, 0.2);

  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-serif: 'Noto Serif KR', 'Cormorant Garamond', serif;
  --font-en-serif: 'Cormorant Garamond', serif;
  --font-script: 'Great Vibes', 'Alex Brush', 'Pinyon Script', cursive;

  --header-height: 96px;
  --bottom-bar-height: 70px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  padding-bottom: 0;
}

main {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Senior Friendly Text Readability */
body, button, input, textarea, select {
  font-family: var(--font-base);
  font-size: 1rem;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 980px;
}

/* Typography Utility */
.serif-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.en-serif {
  font-family: var(--font-en-serif);
  letter-spacing: 0.05em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(185, 112, 123, 0.08);
  border: 1px solid rgba(185, 112, 123, 0.2);
  border-radius: var(--radius-pill);
  color: var(--primary-rose-dark);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-rose);
  border-radius: 50%;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto;
  word-break: keep-all;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-rose-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 6px 20px rgba(185, 112, 123, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(185, 112, 123, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary-rose);
  color: var(--primary-rose-dark);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b38634 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(197, 155, 75, 0.35);
}

/* ==========================================================================
   Header & Global Navigation (GNB)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(43, 35, 38, 0.08);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  padding: 0 32px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 32px;
}

.logo-img {
  height: 92px; /* 기존 48px 대비 약 2배 확대 */
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.site-header.scrolled .logo-img {
  height: 66px;
}

.logo-script {
  font-family: var(--font-script);
  font-size: 2.15rem;
  font-weight: 400;
  color: var(--primary-rose-dark);
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.site-header.scrolled .logo-script {
  font-size: 1.85rem;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 4px;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-rose);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-rose);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-rose-dark);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-blush);
  border: 1px solid var(--border-light);
}

.header-tel:hover {
  background: var(--primary-rose);
  color: #fff;
}

.btn-mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-blush);
}

.btn-mobile-menu span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 35, 38, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1002;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.btn-close-drawer {
  font-size: 2rem;
  color: var(--text-muted);
  line-height: 1;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-item .mobile-nav-link {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-drawer-contact {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Section 1: Hero Banner (First Impression)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  background-color: #f6e8e5;
  overflow: hidden;
}

/* Enlarged Surgery Theater Background */
.hero-surgery-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('KakaoTalk_20260912_001537121.jpg');
  background-size: cover;
  background-position: right 8% center;
  background-repeat: no-repeat;
  z-index: 1;
  filter: brightness(0.96) contrast(1.02);
  transform: scale(1.02);
  transition: transform 12s ease;
}

.hero-section:hover .hero-surgery-bg {
  transform: scale(1.05);
}

/* Luxury Soft Scrim Overlay for Crystal-Clear Text Legibility */
.hero-overlay-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(253, 247, 245, 0.98) 0%,
    rgba(253, 247, 245, 0.93) 44%,
    rgba(253, 247, 245, 0.45) 68%,
    rgba(253, 247, 245, 0.08) 100%
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

/* Accident-Free 23-Year Emblem */
.emblem-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%);
  border: 1.5px solid var(--primary-gold);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(197, 155, 75, 0.18);
  margin-bottom: 24px;
  max-width: 100%;
}

.emblem-icon {
  width: 24px;
  height: 24px;
  fill: var(--primary-gold);
}

.emblem-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #8c6823;
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  word-break: keep-all;
}

.hero-title .highlight {
  color: var(--primary-rose-dark);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 12px;
  background: rgba(185, 112, 123, 0.16);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 34px;
  word-break: keep-all;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(185, 112, 123, 0.15);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-sub);
  font-weight: 600;
}

.hero-badge-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-rose);
  flex-shrink: 0;
}

/* Hero Floating Surgery Mastery Card */
.hero-surgery-badge-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 3;
}

.surgery-mastery-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(197, 155, 75, 0.45);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  max-width: 440px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(185, 112, 123, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.surgery-mastery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(197, 155, 75, 0.2);
}

.mastery-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mastery-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #27ae60;
  box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6);
  animation: pulseLiveDot 2s infinite;
}

@keyframes pulseLiveDot {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(39, 174, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
  }
}

.mastery-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #8c6823;
  letter-spacing: -0.01em;
}

.mastery-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
  word-break: keep-all;
}

.mastery-desc {
  font-size: 0.95rem;
  color: #4a3f42;
  line-height: 1.65;
  margin-bottom: 20px;
  word-break: keep-all;
  font-weight: 450;
}

.mastery-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(185, 112, 123, 0.18);
}

.mastery-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--primary-gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mastery-career-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
  padding: 6px 10px 6px 4px;
  margin: -6px -10px -6px -4px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.mastery-career-link:hover {
  background: rgba(185, 112, 123, 0.07);
}

.mastery-career-link:hover .mastery-avatar {
  transform: scale(1.06);
  border-color: var(--primary-rose);
  box-shadow: 0 6px 16px rgba(185, 112, 123, 0.25);
}

.mastery-doctor-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.mastery-doctor-info strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.mastery-doctor-info span {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 500;
}

.mastery-career-info .career-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease;
}

.mastery-career-info .career-title svg {
  color: var(--primary-rose);
  transition: transform 0.25s ease;
}

.mastery-career-link:hover .career-title {
  color: var(--primary-rose-dark);
}

.mastery-career-link:hover .career-title svg {
  transform: translateX(4px);
}

.mastery-career-info .career-sub {
  color: var(--primary-rose);
  font-weight: 500;
  transition: color 0.25s ease;
}

.mastery-career-link:hover .career-sub {
  color: var(--primary-rose-dark);
  text-decoration: underline;
}

/* ==========================================================================
   Section 2: Trust Numbers Counter
   ========================================================================== */
.counter-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.counter-card {
  background: var(--bg-cream);
  padding: 36px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
}

.counter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-rose);
  background: #ffffff;
}

.counter-card.featured {
  background: linear-gradient(145deg, #fffdf8 0%, #fff7ea 100%);
  border: 1.5px solid var(--primary-gold-light);
  box-shadow: var(--shadow-gold);
}

.counter-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-rose);
  background: rgba(185, 112, 123, 0.1);
  border-radius: 50%;
}

.counter-card.featured .counter-icon {
  color: var(--primary-gold);
  background: rgba(197, 155, 75, 0.15);
}

.counter-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.counter-num {
  font-family: var(--font-en-serif);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.counter-card.featured .counter-num {
  color: #8f6a1e;
}

.counter-unit {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-rose);
}

.counter-card.featured .counter-unit {
  color: var(--primary-gold);
}

.counter-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.counter-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  word-break: keep-all;
}

/* ==========================================================================
   Section 3: Doctor's Philosophy & Heritage
   ========================================================================== */
.doctor-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%);
  position: relative;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

/* Dual Photo Frame */
.doctor-media-col {
  position: relative;
}

@media (min-width: 992px) {
  .doctor-media-col {
    position: sticky;
    top: 110px;
    align-self: start;
    margin-bottom: 35px;
  }
}

.doctor-photo-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #ffffff;
}

.doctor-main-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
}

.doctor-sub-photo-card {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 220px;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.doctor-surgery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surgery-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(43, 35, 38, 0.85);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
}

.doctor-info-col {
  padding-left: 20px;
}

.doctor-quote {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 24px;
  word-break: keep-all;
  position: relative;
}

.doctor-quote::before {
  content: '“';
  font-family: var(--font-en-serif);
  font-size: 4.5rem;
  color: rgba(185, 112, 123, 0.25);
  position: absolute;
  top: -36px;
  left: -20px;
  line-height: 1;
}

.doctor-body-text {
  font-size: 1.08rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 30px;
  word-break: keep-all;
}

.doctor-body-text p {
  margin-bottom: 16px;
}

/* 3 Core Principles */
.doctor-principles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.principle-num {
  font-family: var(--font-en-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-rose);
  background: var(--bg-blush);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.principle-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.principle-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Career Credentials List */
.doctor-credentials {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  scroll-margin-top: 110px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.doctor-credentials:target {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 4px rgba(197, 155, 75, 0.2), var(--shadow-md);
}

.credentials-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-rose-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.credentials-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  font-size: 0.92rem;
  color: var(--text-sub);
}

.credentials-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.credentials-list li::before {
  content: '•';
  color: var(--primary-rose);
  position: absolute;
  left: 2px;
  top: 0px;
  font-weight: bold;
  font-size: 1.1rem;
}

.credentials-list li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.credentials-list li .en-cred {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-en-serif);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* Signature */
.doctor-sign-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.doctor-sign-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.doctor-sign-name span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 8px;
}

.signature-handwriting {
  font-family: 'Cormorant Garamond', cursive;
  font-size: 2rem;
  color: var(--primary-rose-dark);
  font-style: italic;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Section 4: Special Clinics (4 Specialized Centers)
   ========================================================================== */
.clinic-section {
  padding: 120px 0;
  background: var(--bg-blush);
  position: relative;
}

.clinic-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.clinic-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.clinic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-rose);
}

.clinic-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clinic-header-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 12px 16px;
  transition: transform 0.6s ease;
}

.clinic-card:hover .clinic-header-img {
  transform: scale(1.05);
}

.clinic-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-rose-dark);
  border: 1px solid var(--border-light);
}

.clinic-card-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.clinic-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.clinic-name {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
}

.clinic-en-name {
  font-family: var(--font-en-serif);
  font-size: 1.05rem;
  color: var(--primary-rose);
  font-weight: 600;
}

.clinic-summary {
  font-size: 1.02rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
  word-break: keep-all;
}

.clinic-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.keyword-tag {
  padding: 4px 12px;
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-rose-dark);
  border: 1px solid rgba(185, 112, 123, 0.15);
}

.clinic-sub-programs {
  margin-bottom: 28px;
  padding: 16px;
  background: var(--bg-blush);
  border-radius: var(--radius-md);
  border: 1px solid rgba(185, 112, 123, 0.1);
}

.sub-programs-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.sub-programs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.sub-programs-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-programs-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--primary-rose);
  border-radius: 50%;
}

.clinic-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.btn-detail-modal {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  background: #ffffff;
  color: var(--primary-rose-dark);
  border: 1.5px solid var(--primary-rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-detail-modal:hover {
  background: var(--primary-rose);
  color: #ffffff;
  border-color: var(--primary-rose);
}

/* ==========================================================================
   Interactive Clinic Detail Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 35, 38, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 30px;
  background: linear-gradient(135deg, #fff7f6 0%, #fef3f1 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title-group h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-title-group p {
  font-size: 0.9rem;
  color: var(--primary-rose-dark);
  font-weight: 600;
}

.btn-close-modal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-muted);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-close-modal:hover {
  background: var(--primary-rose);
  color: #ffffff;
}

.modal-body {
  padding: 32px 30px;
}

.modal-section-block {
  margin-bottom: 28px;
}

.modal-section-block h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-rose-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-feature-item {
  padding: 16px 20px;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.modal-feature-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.modal-feature-item p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.modal-footer-cta {
  padding: 20px 30px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

/* ==========================================================================
   Section 5: Fast Consultation / Reservation & Clinic Location
   ========================================================================== */
.contact-section {
  padding: 120px 0 100px;
  background: #ffffff;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 50px;
  width: 100%;
  max-width: 100%;
}

/* Reservation Form Card */
.reservation-card {
  background: var(--bg-cream);
  padding: 44px 38px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.res-card-header {
  margin-bottom: 28px;
}

.res-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.res-card-desc {
  font-size: 1rem;
  color: var(--text-sub);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  word-break: keep-all;
}

.form-label .required {
  color: var(--primary-rose);
  margin-left: 3px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(185, 112, 123, 0.2);
  background: #ffffff;
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-rose);
  box-shadow: 0 0 0 4px rgba(185, 112, 123, 0.12);
}

.treatment-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.treatment-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1.5px solid rgba(185, 112, 123, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.treatment-chip input[type="checkbox"] {
  accent-color: var(--primary-rose);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.treatment-chip span {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.treatment-chip:has(input:checked) {
  border-color: var(--primary-rose);
  background: var(--bg-blush);
  color: var(--primary-rose-dark);
}

.privacy-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.privacy-check-wrap input[type="checkbox"] {
  accent-color: var(--primary-rose);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.privacy-check-wrap label {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.btn-submit-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 16px 20px;
  font-size: 1.08rem;
  white-space: normal !important;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.35;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-sub-notice {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Location & Info Card */
.location-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-box {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.info-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box-title svg {
  color: var(--primary-rose);
}

/* Clinic Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 10px 4px;
}

.hours-table .day-col {
  font-weight: 600;
  color: var(--text-main);
  width: 40%;
}

.hours-table .time-col {
  color: var(--text-sub);
  text-align: right;
  font-weight: 500;
}

.hours-table .highlight-day {
  color: var(--primary-rose-dark);
  font-weight: 700;
}

.hours-notice-pill {
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(185, 112, 123, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--primary-rose-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Location Details */
.location-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-sub);
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.location-item strong {
  color: var(--text-main);
  min-width: 75px;
}

.quick-map-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.btn-map {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-cream);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.btn-map:hover {
  background: var(--primary-rose);
  color: #ffffff;
  border-color: var(--primary-rose);
}

/* Real-time Kakao Consultation Card */
.kakao-direct-card {
  padding: 24px 28px;
  background: #fae100;
  border-radius: var(--radius-lg);
  color: #371d1e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(250, 225, 0, 0.35);
  transition: var(--transition-smooth);
}

.kakao-direct-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(250, 225, 0, 0.45);
}

.kakao-card-text h4 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
}

.kakao-card-text p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.kakao-icon-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #231c1e;
  color: #a4979a;
  padding: 60px 0 110px; /* Space for mobile floating bar */
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  height: 42px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #d1c5c7;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-info-grid {
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-info-grid p {
  margin-bottom: 4px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-non-covered-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #eedfe1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-non-covered-pill:hover {
  background: var(--primary-rose);
  color: #ffffff;
  border-color: var(--primary-rose);
  box-shadow: 0 4px 14px rgba(185, 112, 123, 0.35);
  transform: translateY(-2px);
}

.btn-non-covered-pill svg {
  color: var(--primary-gold-light);
  transition: transform 0.25s ease;
}

.btn-non-covered-pill:hover svg {
  color: #ffffff;
  transform: rotate(-10deg);
}

.footer-text-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s ease;
}

.footer-text-btn:hover {
  color: #ffffff;
}

.copyright {
  font-size: 0.82rem;
  color: #6e6365;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Non-Covered Modal Styles
   ========================================================================== */
.modal-container-wide {
  max-width: 860px;
}

.non-covered-notice {
  background: var(--bg-blush);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.non-covered-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.non-covered-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nc-tab {
  background: #f5eff0;
  color: var(--text-sub);
  border: 1px solid transparent;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nc-tab:hover {
  background: #ece3e4;
  color: var(--text-main);
}

.nc-tab.active {
  background: var(--primary-rose-dark);
  color: #ffffff;
  border-color: var(--primary-rose-dark);
}

.nc-search-box {
  position: relative;
  width: 100%;
}

.nc-search-box input {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nc-search-box input:focus {
  outline: none;
  border-color: var(--primary-rose);
  box-shadow: 0 0 0 3px rgba(185, 112, 123, 0.15);
}

.nc-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  display: none;
}

.nc-search-clear.visible {
  display: block;
}

.non-covered-table-wrap {
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.non-covered-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.non-covered-table thead {
  position: sticky;
  top: 0;
  background: #faf2f3;
  z-index: 2;
}

.non-covered-table th {
  padding: 12px 16px;
  font-weight: 700;
  color: var(--primary-rose-dark);
  border-bottom: 1.5px solid var(--border-light);
  font-size: 0.9rem;
}

.non-covered-table td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(185, 112, 123, 0.1);
  color: var(--text-main);
}

.non-covered-table tr:nth-child(even) td {
  background-color: #fdfaf9;
}

.non-covered-table tr:hover td {
  background-color: #fcf1f3;
}

.nc-category-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-rose-dark);
  background: rgba(185, 112, 123, 0.12);
  border-radius: 4px;
}

.nc-price {
  font-family: var(--font-base);
  font-weight: 700;
  color: #8c525a;
  text-align: right;
  white-space: nowrap;
}

.nc-empty-msg {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   KakaoTalk 1:1 Consultation Connect Modal
   ========================================================================== */
.kakao-modal-card {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

.kakao-modal-header {
  background: linear-gradient(135deg, #FFF9D2 0%, #FFF3B0 100%);
  border-bottom: 1px solid rgba(220, 180, 0, 0.25);
  padding: 16px 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kakao-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #381E1F;
  color: #FEE500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.kakao-badge svg {
  fill: #FEE500;
}

.kakao-modal-header h3 {
  font-size: 1.25rem;
  color: #191919;
  margin: 0;
  font-weight: 700;
  word-break: keep-all;
}

.kakao-modal-body {
  padding: 18px 20px 22px;
  overflow-y: auto;
  flex: 1;
}

.kakao-guide-compact {
  background: #FDF9F2;
  border: 1px solid #F1E5D1;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  text-align: left;
}

.kakao-guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 30, 31, 0.08);
  color: #381E1F;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.kakao-guide-pill svg {
  color: #2e7d32;
}

.kakao-guide-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #2D2325;
  margin: 0;
  word-break: keep-all;
}

.btn-kakao-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  background: #FEE500;
  color: #191919;
  border-radius: var(--radius-md);
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.btn-kakao-action:hover {
  background: #FADA0A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(254, 229, 0, 0.6);
  color: #000000;
}

.btn-kakao-action svg {
  fill: #191919;
  flex-shrink: 0;
}

.kakao-preview-wrap {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.kakao-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #FAF6F6;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-sub);
}

.btn-kakao-copy-again {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--primary-rose-dark);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-kakao-copy-again:hover {
  background: var(--bg-blush);
  border-color: var(--primary-rose);
}

.kakao-preview-text {
  padding: 10px 14px;
  margin: 0;
  font-family: inherit;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #333333;
  white-space: pre-wrap;
  word-break: break-word;
  background: #ffffff;
  max-height: 105px;
  overflow-y: auto;
}

.kakao-modal-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  line-height: 1.4;
  word-break: keep-all;
}

/* ==========================================================================
   Mobile Bottom Floating Bar (Senior/40~60 Friendly UX)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bottom-bar-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 999;
  padding: 10px 16px;
}

.bottom-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 100%;
  align-items: center;
}

.bottom-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-floating-tel {
  background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-rose-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(185, 112, 123, 0.35);
}

.btn-floating-kakao {
  background: #fae100;
  color: #371d1e;
  box-shadow: 0 4px 14px rgba(250, 225, 0, 0.3);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-msg {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(43, 35, 38, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.7rem;
  }
  
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .doctor-media-col {
    max-width: 480px;
    margin: 0 auto;
  }

  .doctor-info-col {
    padding-left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .site-header .header-inner {
    padding: 0 16px;
  }

  .logo-link {
    margin-right: 0;
    gap: 8px;
  }

  .logo-img {
    height: 62px;
  }

  .logo-script {
    font-size: 1.55rem;
    letter-spacing: 0.5px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .main-nav, .header-tel {
    display: none;
  }

  .btn-mobile-menu {
    display: flex;
  }

  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: var(--bottom-bar-height);
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    max-width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  .header-actions {
    flex-shrink: 0;
  }

  .emblem-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    gap: 8px;
    max-width: 95%;
  }

  .emblem-text {
    font-size: 0.78rem;
    line-height: 1.35;
    word-break: keep-all;
    text-align: center;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.35;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-badges-strip {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-surgery-bg {
    background-position: 75% 20%;
    opacity: 0.28;
  }

  .hero-overlay-scrim {
    background: linear-gradient(
      180deg,
      rgba(253, 247, 245, 0.96) 0%,
      rgba(253, 247, 245, 0.92) 50%,
      rgba(253, 247, 245, 0.98) 100%
    );
  }

  .hero-surgery-badge-wrap {
    justify-content: center;
    width: 100%;
  }

  .surgery-mastery-card {
    max-width: 100%;
    padding: 24px 20px;
    text-align: left;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .clinic-cards-grid {
    grid-template-columns: 1fr;
  }

  .doctor-sub-photo-card {
    width: 160px;
    height: 190px;
    bottom: -20px;
    right: 0;
  }

  .doctor-main-photo {
    height: 420px;
  }

  .credentials-list {
    grid-template-columns: 1fr;
  }

  .reservation-card {
    padding: 26px 16px;
    border-radius: var(--radius-md);
  }

  .treatment-checkbox-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .btn-submit-form {
    font-size: 1rem;
    padding: 14px 16px;
  }

  .res-card-title {
    font-size: 1.35rem;
  }

  .res-card-desc {
    font-size: 0.92rem;
  }

  .modal-overlay {
    padding: 16px 12px;
  }

  .kakao-modal-card {
    max-height: 90dvh;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 56px;
  }

  .logo-script {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
  }

  .hero-title {
    font-size: 1.55rem;
    line-height: 1.35;
  }

  .counter-grid {
    grid-template-columns: 1fr;
  }

  .counter-card {
    padding: 24px 16px;
  }

  .counter-num {
    font-size: 2.8rem;
  }

  .reservation-card {
    padding: 22px 14px;
  }

  .treatment-chip {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .btn-submit-form {
    font-size: 0.95rem;
    padding: 13px 10px;
    border-radius: var(--radius-md);
  }

  .form-sub-notice {
    font-size: 0.78rem;
  }

  .modal-overlay {
    padding: 12px 10px;
  }

  .kakao-modal-header {
    padding: 14px 16px;
  }

  .kakao-modal-header h3 {
    font-size: 1.15rem;
  }

  .kakao-modal-body {
    padding: 14px 16px 18px;
  }

  .kakao-guide-compact {
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .kakao-guide-text {
    font-size: 0.84rem;
  }

  .btn-kakao-action {
    padding: 13px 14px;
    font-size: 0.98rem;
    margin-bottom: 12px;
  }

  .kakao-preview-text {
    max-height: 90px;
    font-size: 0.8rem;
  }
}
