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

:root {
  /* Core Palette — Sage Green + Off-White */
  --navy:          #1A3028;   /* deep sage (dark elements: footer, hero card, CTA) */
  --navy-mid:      #243D35;
  --navy-light:    #2D5248;
  --gold:          #C4933F;
  --gold-bright:   #D4A44F;
  --gold-light:    #E8BC6A;
  --gold-pale:     #FDF6E8;
  --gold-ultra:    #FEFCF5;
  --teal:          #4A7C6F;   /* sage green — primary accent */
  --teal-mid:      #3D6B5F;
  --teal-light:    #E2F0EC;   /* light mint */
  --teal-pale:     #EFF7F5;   /* very pale mint */

  /* Sage-Tinted Backgrounds */
  --bg-white:      #ffffff;
  --bg-warm:       #F5F9F8;   /* very slight mint-white */
  --bg-cream:      #EDF4F1;   /* mint cream */
  --bg-light:      #F8FAFA;
  --bg-section:    #EEF5F3;   /* section mint tint */

  /* Text */
  --text-dark:     #1A3028;
  --text-body:     #2C3D38;
  --text-mid:      #4A5C56;
  --text-light:    #7A8F8A;
  --text-xlight:   #A8BAB6;

  /* Borders */
  --border:        #DDE9E6;
  --border-light:  #E8F0EE;
  --border-gold:   rgba(196,147,63,.2);

  /* Typography */
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:    'Playfair Display', Georgia, serif;

  /* Geometry */
  --radius:        14px;
  --radius-sm:     8px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  /* Shadows — sage-toned, soft */
  --shadow-xs:     0 1px 4px rgba(26,48,40,.05);
  --shadow-sm:     0 2px 12px rgba(26,48,40,.06), 0 1px 3px rgba(26,48,40,.04);
  --shadow:        0 4px 24px rgba(26,48,40,.08), 0 2px 6px rgba(26,48,40,.04);
  --shadow-md:     0 8px 40px rgba(26,48,40,.1), 0 3px 10px rgba(26,48,40,.06);
  --shadow-lg:     0 20px 70px rgba(26,48,40,.12), 0 6px 20px rgba(26,48,40,.07);
  --shadow-gold:   0 8px 32px rgba(196,147,63,.18), 0 2px 8px rgba(196,147,63,.1);

  --max-width:     1200px;
  --transition:    all .3s cubic-bezier(.4,0,.2,1);
  --transition-fast: all .18s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}
a { color: var(--navy); text-decoration: none; transition: var(--transition-fast); }
img { max-width: 100%; display: block; }

/* ── Lucide Icons ─────────────────────────────────────────────────────────── */
[data-lucide] {
  display: inline-block;
  width: 1em; height: 1em;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Condition card icons */
.condition-icon [data-lucide] { width: 1.9rem; height: 1.9rem; stroke-width: 1.5; }
.condition-card:hover .condition-icon [data-lucide] { stroke: #fff; }

/* Why section icons */
.why-icon [data-lucide] {
  width: 2.2rem; height: 2.2rem;
  stroke: var(--gold-bright); stroke-width: 1.5;
}

/* Trust bar icons */
.tbi-lucide { width: 1rem; height: 1rem; stroke: var(--teal); stroke-width: 2; flex-shrink: 0; }

/* Info list icons (consultation page) */
.info-icon { width: 1rem; height: 1rem; stroke: var(--teal); stroke-width: 2; margin-right: .4rem; }

/* Footer contact icon */
.footer-contact-link { display: inline-flex; align-items: center; gap: .4rem; }
.footer-contact-link [data-lucide] { stroke: rgba(255,255,255,.4); width: .9rem; height: .9rem; }
.footer-contact-link:hover [data-lucide] { stroke: var(--gold-bright); }

/* Conditions list page icons */
.condition-list-icon [data-lucide] { width: 1.4rem; height: 1.4rem; stroke: var(--teal); stroke-width: 1.75; }

/* ── Scroll Reveal ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-header .eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-pale);
  padding: .38rem 1.1rem; border-radius: 50px; margin-bottom: 1.1rem;
  border: 1px solid var(--border-gold);
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.65rem); font-weight: 800;
  color: var(--navy); margin-bottom: 1rem;
  line-height: 1.18; letter-spacing: -.02em;
}
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 3.5rem; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 2rem; border-radius: 50px;
  font-size: .9rem; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; border: 1.5px solid transparent;
  transition: var(--transition); white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 20px rgba(26,48,40,.2);
}
.btn-primary:hover {
  background: var(--navy-mid); color: #fff; border-color: var(--navy-mid);
  box-shadow: 0 8px 32px rgba(26,48,40,.28); transform: translateY(-2px);
}
.btn-accent {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 20px rgba(26,48,40,.18);
  position: relative; overflow: hidden;
}
.btn-accent::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(196,147,63,.18) 0%, transparent 60%);
  pointer-events: none;
}
.btn-accent:hover {
  background: var(--navy-mid); color: #fff; border-color: var(--navy-mid);
  box-shadow: 0 10px 36px rgba(26,48,40,.28); transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #fff; border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  box-shadow: 0 12px 40px rgba(196,147,63,.35); transform: translateY(-2px); color: #fff;
}
.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-navy {
  background: transparent; color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-mid); color: #fff; transform: translateY(-1px); }
.btn-kakao { background: #FEE500; color: #3A1D1D; border-color: #FEE500; }
.btn-kakao:hover { background: #f5d900; color: #3A1D1D; transform: translateY(-1px); }
.btn-lg { padding: 1.05rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .82rem; }
.btn-block { display: flex; width: 100%; }

/* ── Prose ────────────────────────────────────────────────────────────────── */
.prose h2 {
  font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700;
  color: var(--navy); margin: 2.5rem 0 .9rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-mid); margin: 1.75rem 0 .55rem; }
.prose p { margin-bottom: 1.1rem; color: var(--text-mid); line-height: 1.8; }
.prose ul { padding-left: 1.6rem; margin-bottom: 1.3rem; }
.prose ul li { margin-bottom: .55rem; color: var(--text-mid); }
.prose ul li::marker { color: var(--gold); }
.prose strong { color: var(--navy); font-weight: 700; }

/* ── Navbar — White Premium ───────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 12px rgba(26,48,40,.05);
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(26,48,40,.09);
}
.navbar.scrolled .nav-inner { height: 60px; }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 70px; transition: height .4s ease;
}
.logo {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 800;
  color: var(--navy); letter-spacing: .04em;
  display: flex; align-items: center;
}
.logo span { color: var(--gold-bright); }
.logo:hover { color: var(--navy); }

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links > li > a {
  display: block; padding: .5rem .9rem;
  font-size: .855rem; font-weight: 600; letter-spacing: .01em;
  color: var(--text-mid); border-radius: 8px;
  transition: var(--transition-fast);
}
.nav-links > li > a:hover { color: var(--navy); background: var(--bg-section); }

.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 230px; padding: .6rem; z-index: 200;
}
.dropdown-menu li a {
  display: block; padding: .65rem 1rem;
  font-size: .875rem; color: var(--text-mid); border-radius: 8px;
  transition: var(--transition-fast);
}
.dropdown-menu li a:hover { background: var(--bg-section); color: var(--navy); padding-left: 1.25rem; }
.dropdown:hover .dropdown-menu { display: block; }

.nav-cta { margin-left: .75rem; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--border);
  color: var(--navy); font-size: 1.1rem;
  width: 40px; height: 40px; border-radius: 8px;
  cursor: pointer; transition: var(--transition-fast);
}
.nav-toggle:hover { border-color: var(--navy); background: var(--bg-section); }

/* ── Sticky Mobile CTA ────────────────────────────────────────────────────── */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: .7rem 1rem; gap: .5rem; justify-content: center;
  box-shadow: 0 -4px 20px rgba(26,48,40,.08);
}
.sticky-cta .btn { flex: 1; max-width: 180px; font-size: .85rem; }

/* ── Flash messages ───────────────────────────────────────────────────────── */
.flash-messages { padding: 1rem 0; }
.alert { padding: .9rem 1.3rem; border-radius: var(--radius-sm); margin-bottom: .5rem; font-size: .9rem; font-weight: 500; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error, .alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ── Hero — White Premium ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  background: var(--bg-white);
  overflow: hidden;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(226,240,236,.85) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(196,147,63,.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 50% 50%, rgba(245,249,248,.6) 0%, transparent 100%);
}

/* Decorative gold arc lines */
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid; pointer-events: none; z-index: 0;
}
.hero-ring-1 { width: 700px; height: 700px; top: -300px; right: -200px; border-color: rgba(74,124,111,.12); }
.hero-ring-2 { width: 1000px; height: 1000px; top: -500px; right: -400px; border-color: rgba(74,124,111,.07); }
.hero-ring-3 { width: 350px; height: 350px; bottom: -150px; left: -80px; border-color: rgba(196,147,63,.09); }

.hero-spine-deco {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  z-index: 0; opacity: .05; pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 4rem; align-items: center;
  padding-top: 5rem; padding-bottom: 5rem;
  position: relative; z-index: 1;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-pale);
  padding: .4rem 1.1rem; border-radius: 50px; margin-bottom: 1.75rem;
  border: 1px solid var(--border-gold);
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 800; line-height: 1.08;
  color: var(--navy); margin-bottom: 1.5rem;
  letter-spacing: -.025em;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--gold-bright);
  -webkit-text-fill-color: var(--gold-bright);
  background: none;
}

.hero-sub {
  font-size: 1.075rem; color: var(--text-light);
  max-width: 480px; margin-bottom: 2.5rem; line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-divider {
  width: 48px; height: 2px; margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 2px;
}

.hero-stats {
  display: flex; gap: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-stat { text-align: left; }
.hero-stat-number {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 800;
  color: var(--navy); line-height: 1;
  display: flex; align-items: baseline; gap: .08rem;
}
.hero-stat-number .plus { font-size: 1.4rem; color: var(--gold-bright); }
.hero-stat-label { font-size: .76rem; color: var(--text-xlight); margin-top: .3rem; font-weight: 500; line-height: 1.4; }

/* Hero card — white with navy */
.hero-visual { position: relative; }
.hero-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(196,147,63,.07) 0%, transparent 50%);
  pointer-events: none;
}
.hero-card-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--teal), var(--gold-bright));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(196,147,63,.12); border: 1px solid rgba(196,147,63,.22);
  color: var(--gold-bright); padding: .5rem 1rem;
  border-radius: 50px; font-size: .78rem; font-weight: 700;
  margin-bottom: 1.6rem;
}
.trust-list { list-style: none; padding: 0; }
.trust-list li {
  padding: .78rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.4;
}
.trust-list li:last-child { border-bottom: none; }
.trust-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--teal), #5A9688);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 900; color: white; margin-top: .1rem;
}

/* ── Trust Bar ────────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
  padding: 1.1rem 0;
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0;
}
.trust-bar-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .42rem 1.4rem;
  font-size: .79rem; font-weight: 600; color: var(--text-light);
  border-right: 1px solid var(--border);
}
.trust-bar-item:last-child { border-right: none; }
.trust-bar-item strong { color: var(--navy); }
.trust-bar-item .tbi-icon { font-size: .95rem; }

/* ── Dr. Joy Section ──────────────────────────────────────────────────────── */
.drjoy-section {
  background: var(--bg-warm);
  padding: 7rem 0; position: relative; overflow: hidden;
}

.drjoy-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright) 30%, var(--teal) 70%, transparent);
  opacity: .35;
}
.drjoy-section::after {
  content: '';
  position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,147,63,.04) 0%, transparent 70%);
  pointer-events: none;
}

.drjoy-inner {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 5.5rem; align-items: center; position: relative; z-index: 1;
}

.drjoy-photo { position: relative; }
.drjoy-photo-frame {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy) 0%, #1A3028 60%, #243D35 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative; overflow: visible;
}
.drjoy-photo-inner {
  width: 100%; height: 100%;
  border-radius: calc(var(--radius-xl) - 1px);
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
}
.avatar-icon { font-size: 7rem; }
.drjoy-photo-inner p { font-size: .85rem; color: rgba(255,255,255,.3); }
.drjoy-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.drjoy-eyebrow-row {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: .75rem;
}
.drjoy-eyebrow-row .drjoy-eyebrow { margin-bottom: 0; }
.drjoy-status-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(74,124,111,.08);
  border: 1px solid rgba(74,124,111,.2);
  border-radius: 50px; padding: .3rem .9rem;
  font-size: .75rem; font-weight: 700; color: var(--teal);
  white-space: nowrap;
}
.drjoy-status-badge .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  animation: pulse-anim 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.3); }
}

.drjoy-float-cred {
  position: absolute; bottom: -1rem; left: 1.25rem; right: 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold-bright);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  display: flex; align-items: center; gap: .75rem;
  box-shadow: var(--shadow-sm);
}
.drjoy-float-cred .cred-icon { font-size: 1.5rem; flex-shrink: 0; }
.drjoy-float-cred .cred-text { font-size: .75rem; color: var(--navy); font-weight: 700; line-height: 1.4; }
.drjoy-float-cred .cred-sub { font-size: .7rem; color: var(--text-xlight); font-weight: 400; }

.drjoy-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .75rem;
  display: flex; align-items: center; gap: .6rem;
}
.drjoy-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--teal); border-radius: 1px; }

.drjoy-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  color: var(--navy); margin-bottom: .4rem; line-height: 1.15;
}
.drjoy-title {
  font-size: .875rem; color: var(--text-light); font-weight: 500;
  margin-bottom: 1.75rem; padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.drjoy-quote-wrap {
  position: relative; padding-left: 1.5rem; margin-bottom: 1.5rem;
}
.drjoy-quote-wrap::before {
  content: ''; position: absolute; left: 0; top: .2rem;
  width: 3px; height: calc(100% - .4rem);
  background: linear-gradient(to bottom, var(--gold-bright), var(--teal));
  border-radius: 2px;
}
.drjoy-message { font-size: 1.025rem; color: var(--text-mid); line-height: 1.85; margin-bottom: .9rem; }
.drjoy-signature {
  font-family: var(--font-serif); font-size: 1.35rem;
  font-style: italic; color: var(--navy);
  margin: 1rem 0 1.75rem;
}
.drjoy-credentials { display: flex; flex-wrap: wrap; gap: .5rem; }
.credential-tag {
  background: var(--bg-section); color: var(--text-mid);
  font-size: .75rem; font-weight: 600;
  padding: .35rem .9rem; border-radius: 50px;
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}
.credential-tag:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* About page profile block */
.drjoy-profile-block {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 2.5rem; margin-bottom: 2.5rem;
  border-left: 4px solid var(--gold-bright);
  box-shadow: var(--shadow-md);
}
.drjoy-profile-block h2 { font-family: var(--font-serif); color: #fff !important; border-bottom-color: rgba(196,147,63,.2) !important; }
.drjoy-profile-block .drjoy-profile-title { font-size: .875rem; color: var(--gold-bright); font-weight: 600; margin-bottom: 1.25rem; }
.drjoy-profile-block p { color: rgba(255,255,255,.78) !important; }
.drjoy-profile-block strong { color: var(--gold-light) !important; }

/* ── Process Section ──────────────────────────────────────────────────────── */
.process-section { background: var(--bg-white); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 2.2rem; left: calc(12.5% + 1.5rem); right: calc(12.5% + 1.5rem);
  height: 1px; background: var(--border); z-index: 0;
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 1.25rem;
  position: relative; z-index: 1;
}
.step-num-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-white); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.process-step:hover .step-num-wrap {
  background: var(--navy); border-color: var(--navy);
  box-shadow: var(--shadow-md); transform: scale(1.08);
}
.step-num {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 800;
  color: var(--gold-bright); line-height: 1;
}
.process-step:hover .step-num { color: #fff; }
.step-body h3 { font-size: .975rem; font-weight: 800; color: var(--navy); margin-bottom: .6rem; letter-spacing: -.01em; }
.step-body p { font-size: .875rem; color: var(--text-light); line-height: 1.65; }

/* ── Conditions Grid ──────────────────────────────────────────────────────── */
.conditions-section { background: var(--bg-section); }
.conditions-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem;
}
.condition-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: .75rem; padding: 1.6rem .9rem;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-mid);
  font-size: .835rem; font-weight: 600;
  transition: var(--transition); box-shadow: var(--shadow-xs); cursor: pointer;
}
.condition-card:hover {
  background: var(--navy); border-color: var(--navy);
  color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.condition-card:hover .condition-icon { transform: scale(1.12); }
.condition-icon { font-size: 2rem; display: block; transition: transform .3s ease; }
.condition-name { line-height: 1.3; }

/* ── Why Section — white with subtle bg ──────────────────────────────────── */
.why-section { background: var(--bg-warm); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem 1.75rem;
  position: relative; overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.why-card::before {
  content: attr(data-num);
  position: absolute; top: -.5rem; right: .5rem;
  font-family: var(--font-serif); font-size: 7rem; font-weight: 800;
  color: rgba(26,48,40,.03); line-height: 1;
  pointer-events: none; user-select: none;
}
.why-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--teal));
  transition: width .45s cubic-bezier(.4,0,.2,1);
}
.why-card:hover {
  transform: translateY(-5px); border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.why-card:hover::after { width: 100%; }
.why-icon { font-size: 2.25rem; margin-bottom: 1.25rem; }
.why-card h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: .7rem; }
.why-card p { font-size: .9rem; color: var(--text-light); line-height: 1.7; }

/* ── Blog / Articles ──────────────────────────────────────────────────────── */
.blog-section { background: var(--bg-white); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.article-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column;
}
.article-card-stripe { height: 4px; background: linear-gradient(90deg, var(--teal), var(--gold-bright)); transition: height .25s ease; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.article-card:hover .article-card-stripe { height: 6px; }
.article-card-body { padding: 1.6rem 1.75rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.article-meta { margin-bottom: .75rem; }
.article-category {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-pale); padding: .28rem .75rem; border-radius: 50px;
}
.article-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: .75rem; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--teal); }
.article-excerpt { font-size: .885rem; color: var(--text-light); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.read-more {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .85rem; font-weight: 700; color: var(--teal);
  transition: var(--transition-fast); margin-top: auto;
}
.read-more:hover { color: var(--gold); gap: .65rem; }

.article-list-item {
  background: var(--bg-white); border-radius: var(--radius);
  padding: 1.75rem 2rem; border: 1px solid var(--border);
  display: flex; gap: 1.5rem; align-items: flex-start;
  transition: var(--transition); box-shadow: var(--shadow-xs);
}
.article-list-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.article-list-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.article-list-item p { font-size: .875rem; color: var(--text-light); }

/* ── CTA Section ──────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 120% at 50% 120%, rgba(74,124,111,.3) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(196,147,63,.07) 0%, transparent 50%);
}
.cta-inner { max-width: 620px; margin: 0 auto; padding: 2rem 0; position: relative; z-index: 1; }
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800;
  color: #fff; margin-bottom: 1.25rem; line-height: 1.15;
}
.cta-inner > p { color: rgba(255,255,255,.65); margin-bottom: 2.25rem; font-size: 1.075rem; line-height: 1.7; }
.cta-note { font-size: .8rem; color: rgba(255,255,255,.35); margin-top: 1.25rem !important; margin-bottom: 0 !important; }

/* CTA gold button for dark background */
.cta-section .btn-accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #fff; border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.cta-section .btn-accent::after { display: none; }
.cta-section .btn-accent:hover {
  box-shadow: 0 14px 45px rgba(196,147,63,.4); transform: translateY(-2px);
}

/* ── Page Hero ────────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, #243D35 100%);
  padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(196,147,63,.1); pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 50px; background: linear-gradient(to bottom, transparent, var(--bg-white));
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800;
  color: #fff; margin-bottom: .8rem; line-height: 1.15;
}
.page-hero p { color: rgba(255,255,255,.6); font-size: 1.05rem; }

/* ── Content Layout ───────────────────────────────────────────────────────── */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3.5rem; align-items: start; }
.main-content { min-width: 0; }
.article-sidebar { position: sticky; top: 88px; }
.sidebar-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  margin-bottom: 1.25rem; box-shadow: var(--shadow-sm);
}
.sidebar-card h4 {
  font-size: .78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--navy);
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 2px solid var(--gold-pale);
}
.sidebar-conditions { list-style: none; padding: 0; }
.sidebar-conditions li { border-bottom: 1px solid var(--border-light); padding: .5rem 0; }
.sidebar-conditions li:last-child { border-bottom: none; }
.sidebar-conditions li a { font-size: .875rem; color: var(--text-mid); display: block; transition: var(--transition-fast); }
.sidebar-conditions li a:hover { color: var(--teal); padding-left: .4rem; }

/* ── Disclaimer ───────────────────────────────────────────────────────────── */
.disclaimer-box {
  background: var(--gold-ultra); border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold-bright); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin-top: 2.5rem;
}
.disclaimer-box p { font-size: .875rem; color: var(--text-mid); margin: 0; }

/* ── Programs ─────────────────────────────────────────────────────────────── */
.programs-intro {
  max-width: 700px; margin: 0 auto 3.5rem;
  text-align: center; font-size: 1rem; color: var(--text-mid); line-height: 1.8;
  padding-bottom: 3.5rem; border-bottom: 1px solid var(--border);
}
.programs-list { display: flex; flex-direction: column; gap: 0; }
.program-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 2rem; padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.program-item:last-child { border-bottom: none; }
.program-item:hover { background: var(--bg-warm); border-radius: var(--radius); }
.program-item-num {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 800;
  color: var(--border); line-height: 1; padding-top: .3rem; flex-shrink: 0;
  transition: var(--transition);
}
.program-item:hover .program-item-num { color: var(--gold-bright); }
.program-item-header { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.program-item-body h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.program-type-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: 50px;
  background: var(--bg-section); color: var(--text-light); border: 1px solid var(--border);
}
.program-type-featured { background: var(--gold-pale); color: var(--gold); border-color: var(--border-gold); }
.program-type-specialist { background: var(--teal-pale); color: var(--teal); border-color: rgba(74,124,111,.2); }
.program-item-body > p { font-size: .975rem; color: var(--text-mid); line-height: 1.8; margin-bottom: .9rem; }
.program-features { list-style: none; padding: 0; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.program-features li {
  font-size: .9rem; color: var(--text-mid); padding-left: 1.3rem; position: relative;
}
.program-features li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright);
}
.program-ideal { font-size: .875rem; color: var(--text-light); font-style: italic; margin-bottom: 1.25rem !important; }
.programs-note { margin-top: 3.5rem; }
.programs-note-inner {
  background: var(--bg-warm); border: 1px solid var(--border);
  border-left: 4px solid var(--gold-bright);
  border-radius: var(--radius); padding: 1.5rem 2rem;
  font-size: .95rem; color: var(--text-mid); line-height: 1.75;
}
.programs-note-inner strong { color: var(--navy); }

/* Legacy card style (kept for compatibility) */
.programs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.program-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden;
}
.program-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold-bright)); }
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.program-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.program-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem; }
.program-card p { font-size: .925rem; color: var(--text-mid); line-height: 1.7; }
.program-card .program-cta { margin-top: 1.5rem; }

/* ── Blog index ───────────────────────────────────────────────────────────── */
.blog-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.articles-list { display: flex; flex-direction: column; gap: 1.5rem; }
.category-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.category-card .cat-icon { font-size: 2.5rem; margin-bottom: .9rem; display: block; }
.category-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.category-card p { font-size: .875rem; color: var(--text-light); }
.category-card .cat-count { font-size: .78rem; color: var(--teal); font-weight: 700; margin-top: .75rem; display: block; }

/* ── Consultation ─────────────────────────────────────────────────────────── */
.consultation-layout { display: grid; grid-template-columns: 1fr 360px; gap: 3.5rem; align-items: start; }
.consultation-form { display: flex; flex-direction: column; gap: 0; }
.consultation-form .btn { margin-top: .5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  margin-bottom: 1.25rem; box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.info-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.info-card ul li { font-size: .9rem; color: var(--text-mid); }
.info-card p { font-size: .9rem; color: var(--text-mid); margin-bottom: .5rem; }
.info-card.disclaimer { background: var(--gold-ultra); border-color: var(--border-gold); }
.info-card.disclaimer p { font-size: .82rem; color: var(--text-light); margin: 0; }
.contact-link { color: var(--navy); font-weight: 600; }
.contact-link:hover { color: var(--teal); }

.consultation-grid { display: grid; grid-template-columns: 1fr 420px; gap: 3.5rem; align-items: start; }
.form-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .82rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .95rem; font-family: var(--font); color: var(--text-dark);
  transition: var(--transition); background: var(--bg-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74,124,111,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .8rem; color: var(--text-xlight); margin-top: .4rem; }

/* ── Related conditions ───────────────────────────────────────────────────── */
.related-conditions-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.related-conditions-list a {
  background: var(--bg-section); border: 1px solid var(--border);
  border-radius: 50px; padding: .35rem .9rem;
  font-size: .8rem; font-weight: 600; color: var(--text-mid);
  transition: var(--transition-fast);
}
.related-conditions-list a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── Dr. Joy Photo (fixed structure) ─────────────────────────────────────── */
.drjoy-photo-frame {
  width: 100%; aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, #1A3028 60%, #243D35 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}
.drjoy-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.drjoy-img-fallback {
  display: none; width: 100%; height: 100%;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
}
.drjoy-float-cred {
  position: absolute; bottom: -1.2rem; left: 1rem; right: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold-bright);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  display: flex; align-items: center; gap: .75rem;
  box-shadow: var(--shadow-sm); z-index: 2;
}
.cred-lucide { width: 1.5rem; height: 1.5rem; stroke: var(--gold-bright); flex-shrink: 0; stroke-width: 1.5; }
.cred-text { font-size: .75rem; color: var(--navy); font-weight: 700; line-height: 1.4; }
.cred-sub { font-size: .7rem; color: var(--text-xlight); font-weight: 400; }

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb-sep { opacity: .4; }

/* ── Core Content Block (condition detail) ────────────────────────────────── */
.core-content-block {
  background: linear-gradient(135deg, var(--navy) 0%, #1A3028 100%);
  border-radius: var(--radius-lg); padding: 2.5rem;
  margin-bottom: 2.5rem; border-left: 4px solid var(--gold-bright);
}
.core-content-block h2 { font-family: var(--font-serif); color: #fff !important; border-bottom-color: rgba(255,255,255,.1) !important; margin-top: 1rem; }
.core-content-block p { color: rgba(255,255,255,.75) !important; margin-bottom: 1.5rem; }

.label-badge {
  display: inline-block; font-size: .7rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-bright); background: rgba(196,147,63,.12);
  border: 1px solid rgba(196,147,63,.25);
  padding: .28rem .85rem; border-radius: 50px;
}

.articles-section-title {
  font-size: .78rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-light);
  margin-bottom: 1.5rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

/* ── Conditions List Page ─────────────────────────────────────────────────── */
.conditions-list { display: flex; flex-direction: column; gap: 0; }
.condition-list-item {
  display: grid; grid-template-columns: 52px 1fr 40px;
  align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--border);
  color: var(--text-body); transition: var(--transition);
}
.condition-list-item:first-child { border-top: 1px solid var(--border); }
.condition-list-item:hover { background: var(--bg-warm); border-radius: var(--radius); border-color: transparent; }
.condition-list-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--bg-section); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
}
.condition-list-item:hover .condition-list-icon { background: var(--navy); border-color: var(--navy); }
.condition-list-icon [data-lucide] { width: 1.3rem; height: 1.3rem; stroke: var(--teal); stroke-width: 1.75; }
.condition-list-item:hover .condition-list-icon [data-lucide] { stroke: #fff; }
.condition-list-text h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.condition-list-text p { font-size: .875rem; color: var(--text-light); }
.condition-list-arrow { display: flex; align-items: center; justify-content: center; }
.condition-list-arrow [data-lucide] { width: 1.1rem; height: 1.1rem; stroke: var(--border); stroke-width: 2; transition: var(--transition-fast); }
.condition-list-item:hover .condition-list-arrow [data-lucide] { stroke: var(--navy); transform: translateX(3px); }

/* ── Article page ─────────────────────────────────────────────────────────── */
.article-page-section { padding-top: 3rem; }
.article-header-meta {
  display: flex; align-items: center; gap: .75rem;
  margin-top: .75rem; flex-wrap: wrap;
}
.article-date { font-size: .82rem; color: rgba(255,255,255,.5); }
.article-header-dot { color: rgba(255,255,255,.3); }
.article-category-tag { font-size: .82rem; color: var(--gold-bright); font-weight: 600; }
.article-type-badge { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .65rem; border-radius: 50px; }
.article-type-badge.core { background: var(--gold-pale); color: var(--gold); }
.article-type-badge.traffic { background: var(--teal-pale); color: var(--teal); }

.inline-cta {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 2rem; margin-top: 3rem;
}
.inline-cta h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: .6rem; }
.inline-cta p { font-size: .95rem; color: var(--text-mid); margin-bottom: 1.25rem; }

.related-section { background: var(--bg-section); }
.related-title { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 2rem; }

/* ── Blog index extras ────────────────────────────────────────────────────── */
.article-date { font-size: .78rem; color: var(--text-xlight); margin-left: .5rem; }
.category-nav-section { background: var(--bg-warm); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.category-nav { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.cat-pill {
  display: inline-block; padding: .38rem 1rem;
  font-size: .8rem; font-weight: 600;
  color: var(--text-mid); background: var(--bg-white);
  border: 1px solid var(--border); border-radius: 50px;
  transition: var(--transition-fast);
}
.cat-pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 3rem;
}
.page-info { font-size: .875rem; color: var(--text-light); }
.empty-state {
  text-align: center; padding: 4rem 0; color: var(--text-light);
}
.empty-state [data-lucide] { width: 3rem; height: 3rem; stroke: var(--border); margin: 0 auto 1rem; }

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testimonials-section { background: var(--bg-section); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif); font-size: 5rem; line-height: 1;
  color: var(--gold-pale); position: absolute; top: 1rem; right: 1.5rem;
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--gold-bright); font-size: 1rem; letter-spacing: .1em; }
.testimonial-card blockquote {
  font-size: .95rem; color: var(--text-mid); line-height: 1.75;
  font-style: italic; flex: 1; border: none; padding: 0; margin: 0;
}
.testimonial-card blockquote em { font-style: normal; font-weight: 700; color: var(--navy); }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.testimonial-name { font-size: .9rem; font-weight: 700; color: var(--navy); }
.testimonial-info { font-size: .78rem; color: var(--text-xlight); margin-top: .1rem; }
.testimonials-note { text-align: center; font-size: .78rem; color: var(--text-xlight); margin-top: 2rem; }

/* ── Location ─────────────────────────────────────────────────────────────── */
.location-section { background: var(--bg-white); }
.location-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.eyebrow-inline {
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .75rem;
}
.location-content h2 {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 800;
  color: var(--navy); line-height: 1.2; margin-bottom: 2rem;
}
.location-content h2 span { color: var(--teal); }
.location-details { display: flex; flex-direction: column; gap: 1.4rem; }
.location-item { display: flex; align-items: flex-start; gap: 1rem; }
.loc-icon { width: 1.25rem; height: 1.25rem; stroke: var(--gold-bright); stroke-width: 1.75; flex-shrink: 0; margin-top: .2rem; }
.location-item strong { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: .2rem; }
.location-item p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; margin: 0; }
.location-item a { color: var(--teal); font-weight: 600; }
.map-placeholder {
  background: var(--bg-section); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 3rem 2rem;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: .5rem;
  min-height: 280px; box-shadow: var(--shadow-sm);
}
.map-icon { width: 3rem; height: 3rem; stroke: var(--teal); stroke-width: 1.5; margin-bottom: .5rem; }
.map-label { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.map-sublabel { font-size: .875rem; color: var(--text-light); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-section { background: var(--bg-warm); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.faq-col { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; background: transparent; border: none; cursor: pointer;
  font-size: .975rem; font-weight: 700; color: var(--navy);
  text-align: left; transition: var(--transition-fast);
}
.faq-q:hover { color: var(--teal); }
.faq-icon { width: 1rem; height: 1rem; stroke: var(--text-light); flex-shrink: 0; transition: transform .3s ease; }
.faq-item.open .faq-q { color: var(--teal); }
.faq-item.open .faq-icon { transform: rotate(45deg); stroke: var(--teal); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.25rem; }
.faq-a p { font-size: .9rem; color: var(--text-mid); line-height: 1.75; margin: 0; }

/* ── Floating Contact Button ──────────────────────────────────────────────── */
.float-contact {
  position: fixed; right: 1.5rem; bottom: 2rem; z-index: 990;
  display: flex; flex-direction: column; gap: .6rem; align-items: flex-end;
  opacity: 0; transform: translateX(20px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.float-contact.visible { opacity: 1; transform: none; pointer-events: all; }
.float-btn {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1.2rem .7rem .9rem;
  border-radius: 50px; font-size: .82rem; font-weight: 700;
  box-shadow: var(--shadow-md); transition: var(--transition);
  white-space: nowrap; cursor: pointer; text-decoration: none;
}
.float-btn:hover { transform: translateX(-4px) scale(1.03); box-shadow: var(--shadow-lg); }
.float-btn-phone { background: var(--navy); color: #fff; }
.float-btn-kakao { background: #FEE500; color: #3A1D1D; }
.float-btn-whatsapp { background: #25D366; color: #fff; }
.float-label { font-size: .8rem; }

@media (max-width: 768px) {
  .float-contact { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .location-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.65); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding: 5rem 0 3.5rem;
  border-top: 1px solid rgba(196,147,63,.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.65; margin-bottom: .4rem; }
.footer-disclaimer { font-size: .76rem !important; color: rgba(255,255,255,.22) !important; margin-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.07); padding-top: .85rem; line-height: 1.6; }
.footer-links h4, .footer-contact h4 {
  font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 1.4rem;
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: .45rem; }
.footer-links ul li a { font-size: .875rem; color: rgba(255,255,255,.4); transition: var(--transition-fast); }
.footer-links ul li a:hover { color: var(--gold-bright); padding-left: .4rem; }
.footer-contact p { font-size: .875rem; margin-bottom: .5rem; }
.footer-contact a { color: rgba(255,255,255,.45); }
.footer-contact a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 1.5rem 0; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.22); text-align: center; }

/* ── Admin ────────────────────────────────────────────────────────────────── */
.admin-wrapper { max-width: 960px; margin: 3rem auto; padding: 0 1.5rem; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; }
.admin-header h1 { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--navy); color: #fff; padding: .75rem 1rem; font-size: .78rem; font-weight: 700; text-align: left; letter-spacing: .06em; text-transform: uppercase; }
.admin-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--border-light); font-size: .9rem; vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg-section); }
.badge { display: inline-block; padding: .22rem .65rem; border-radius: 50px; font-size: .72rem; font-weight: 700; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-draft { background: var(--bg-section); color: var(--text-light); }
.badge-core { background: var(--gold-pale); color: #7c5a0a; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .conditions-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .drjoy-inner { grid-template-columns: 1fr; gap: 2rem; }
  .drjoy-photo { max-width: 300px; margin: 0 auto; }
  .drjoy-float-badge { right: -.5rem; }
  .content-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .consultation-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .blog-index-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .hero { min-height: auto; padding: 4.5rem 0 5rem; }
  .hero-stats { gap: 1.5rem; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem; z-index: 999;
    max-height: calc(100vh - 70px); overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { color: var(--text-body); padding: .9rem .5rem; border-bottom: 1px solid var(--border-light); border-radius: 0; }
  .dropdown-menu { position: static; border: none; box-shadow: none; background: var(--bg-section); border-radius: 8px; padding: .25rem .5rem; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .sticky-cta { display: flex; }
  main { padding-bottom: 72px; }
  .conditions-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .blog-index-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 0 2.5rem; }
}

@media (max-width: 520px) {
  .container { padding: 0 1.1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .process-steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.85rem; }
  .drjoy-content h2 { font-size: 1.8rem; }
}
