/* ==========================================================================
   DAL Hospital — main stylesheet
   Tokens from handoff/02-design-tokens.md
   ========================================================================== */

:root {
  --navy: #474559;
  --navy-soft: #5d5b73;
  --navy-darker: #36344a;
  --navy-100: #f4f4f7;
  --navy-200: #e6e6ec;
  --navy-300: #c9c9d4;

  --yellow: #FFD97D;
  --yellow-soft: #FFE6A8;
  --yellow-deep: #F0BE52;
  --yellow-100: #fff8e6;

  --ink: #2A2A2D;
  --bg: #ffffff;
  --bg-soft: #faf9f6;
  --bg-warm: #f6f3ec;
  --line: #e9e8ee;
  --line-soft: #f0eff4;
  --text: #2A2A2D;
  --text-2: #5a5965;
  --text-3: #8a8995;
  --text-4: #b6b5c1;

  --font-sans: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Gowun Dodum', 'Pretendard', sans-serif;
  --font-en: 'Inter', 'Pretendard', sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-pill: 999px;

  --shadow-card: 0 4px 24px rgba(71, 69, 89, 0.06);
  --shadow-hover: 0 8px 32px rgba(71, 69, 89, 0.12);
  --shadow-cta: 0 4px 16px rgba(240, 190, 82, 0.3);

  --header-h: 80px;
  --header-h-mobile: 56px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 100; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 1023px) { .container { padding: 0 32px; } }
@media (max-width: 767px) { .container { padding: 0 20px; } }

.section { padding: 110px 0; }
.section--compact { padding: 80px 0; }
.section--hero { padding: 120px 0 90px; }
@media (max-width: 1023px) {
  .section { padding: 80px 0; }
  .section--compact { padding: 60px 0; }
  .section--hero { padding: 80px 0 60px; }
}
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section--compact { padding: 48px 0; }
  .section--hero { padding: 64px 0 48px; }
}

.bg-soft { background: var(--bg-soft); }
.bg-warm { background: var(--bg-warm); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy-dark { background: linear-gradient(180deg, var(--navy-darker), var(--navy)); color: #fff; }
.bg-yellow { background: var(--yellow); }

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow--on-dark { color: var(--yellow); }
.eyebrow--center { justify-content: center; }

.h-hero {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 80px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.h-card {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.h-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.body-lg { font-size: 19px; line-height: 1.85; letter-spacing: -0.01em; color: var(--text-2); }
.body    { font-size: 16px; line-height: 1.8;  letter-spacing: -0.01em; color: var(--text-2); }
.body-sm { font-size: 14px; line-height: 1.7;  color: var(--text-3); }
.caption { font-size: 12px; line-height: 1.6;  color: var(--text-3); font-weight: 500; }
.on-dark, .on-dark .h-hero, .on-dark .h-display, .on-dark .h-section, .on-dark .h-card, .on-dark .h-title { color: #fff; }
.on-dark .body-lg, .on-dark .body { color: rgba(255,255,255,0.85); }
.on-dark .body-sm { color: rgba(255,255,255,0.65); }

@media (max-width: 1023px) {
  .h-hero { font-size: 56px; }
  .h-display { font-size: 48px; }
  .h-section { font-size: 36px; }
  .h-card { font-size: 20px; }
  .body-lg { font-size: 17px; }
  .body { font-size: 15px; }
}
@media (max-width: 767px) {
  .h-hero { font-size: 38px; }
  .h-display { font-size: 34px; }
  .h-section { font-size: 28px; }
  .h-card { font-size: 18px; }
  .body-lg { font-size: 16px; }
  .body { font-size: 15px; }
  .body-sm { font-size: 13px; }
}

.text-yellow { color: var(--yellow); }
.text-navy { color: var(--navy); }
.text-deep { color: var(--yellow-deep); }
.text-balance { text-wrap: balance; }
.highlight {
  position: relative;
  display: inline;
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-deep); box-shadow: var(--shadow-cta); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-darker); }

.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy-300); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy-100); }

.btn--dark-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn--dark-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--block { width: 100%; }

@media (max-width: 767px) {
  .btn--mobile-block { width: 100%; }
}

/* ==========================================================================
   Section title block
   ========================================================================== */
.section-title { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.section-title--center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }
.section-title .lead { color: var(--text-2); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover { box-shadow: var(--shadow-card); border-color: var(--navy-300); }
.card__index {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--yellow-deep);
}
.card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--navy-100);
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.card--dark {
  background: var(--navy-soft);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
}
.card--dark .h-card { color: #fff; }
.card--dark .body-sm { color: rgba(255,255,255,0.7); }
.card--dark .card__tag { background: rgba(255,255,255,0.1); color: var(--yellow); }

/* Service card (home / services hub) */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--navy-300); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-card__icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow-100); color: var(--navy);
  border-radius: var(--r-md);
}
.service-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  background: var(--navy-100);
  border-radius: var(--r-pill);
  letter-spacing: -0.01em;
}
.chip--yellow { background: var(--yellow-100); color: var(--yellow-deep); }
.service-card__more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
}
.service-card__more::after { content: '→'; transition: transform .18s; }
.service-card:hover .service-card__more::after { transform: translateX(4px); }

/* ==========================================================================
   Grids
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--gap-lg { gap: 48px; }
.grid--gap-xl { gap: 80px; }

@media (max-width: 1023px) {
  .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--gap-xl { gap: 48px; }
}
@media (max-width: 767px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .grid { gap: 16px; }
  .grid--gap-lg, .grid--gap-xl { gap: 32px; }
}

.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.two-col--reverse { grid-template-columns: 1fr 1.1fr; }
.two-col--asym { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 1023px) {
  .two-col, .two-col--reverse, .two-col--asym { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 767px) {
  .two-col, .two-col--reverse, .two-col--asym { gap: 32px; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__topbar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.site-header__topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.site-header__hours { display: flex; gap: 18px; opacity: 0.9; }
.site-header__hours .sep { opacity: 0.4; }
.site-header__hours .closed { color: var(--yellow); }
.site-header__contact { display: flex; gap: 16px; align-items: center; font-family: var(--font-en); }
.site-header__contact a { opacity: 0.9; }
.site-header__contact a:hover { opacity: 1; }

.site-header__main {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 32px;
}
.site-header__logo img { height: 44px; width: auto; }
.site-header__nav { display: flex; gap: 4px; }
.site-header__nav-item {
  position: relative;
}
.site-header__nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 16px;
  font-size: 15px; font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: color .15s, background-color .15s;
}
.site-header__nav-link:hover,
.site-header__nav-item:hover > .site-header__nav-link,
.site-header__nav-item.is-active > .site-header__nav-link {
  color: var(--navy); font-weight: 600; background: var(--navy-100);
}
.site-header__nav-item.is-active > .site-header__nav-link { background: var(--yellow-100); }
.nav-chevron {
  width: 12px; height: 12px; flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--text-3);
}
.site-header__nav-item:hover .nav-chevron,
.site-header__nav-item:focus-within .nav-chevron { transform: rotate(180deg); color: var(--navy); }

/* gap between link and submenu + hover bridge to prevent gap-break */
.site-header__submenu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 60;
}
.site-header__submenu::before {
  content: '';
  position: absolute; top: -5px; left: 18px;
  width: 10px; height: 10px;
  background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.site-header__nav-item::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 6px;
}
.site-header__nav-item:hover .site-header__submenu,
.site-header__nav-item:focus-within .site-header__submenu { display: block; }
.site-header__submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 6px;
  color: var(--text-2);
  white-space: nowrap;
}
.site-header__submenu a:hover { background: var(--navy-100); color: var(--navy); }
.site-header__submenu-group { margin-top: 4px; }
.site-header__submenu-group:first-child { margin-top: 0; }
.site-header__submenu-group + .site-header__submenu-group { border-top: 1px solid var(--line); padding-top: 4px; }
.site-header__submenu-group-link {
  font-size: 11px !important; font-weight: 700 !important;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yellow-deep) !important; padding: 8px 14px 4px !important;
}
.site-header__submenu-group-link:hover { background: transparent !important; color: var(--navy) !important; }
.site-header__submenu-group ~ a { padding-left: 22px !important; }
.mobile-menu__sub-group {
  font-size: 12px !important; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--yellow-deep) !important;
  margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px;
}

.site-header__cta { display: flex; gap: 10px; align-items: center; }

.site-header__hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--navy);
}
.site-header__mobile-tel {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--navy);
}

@media (max-width: 1023px) {
  .site-header__topbar { display: none; }
  .site-header__nav, .site-header__cta { display: none; }
  .site-header__main { height: var(--header-h-mobile); }
  .site-header__logo img { height: 32px; }
  .site-header__hamburger, .site-header__mobile-tel { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 80;
  background: #fff;
  transform: translateX(-100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h-mobile);
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__head img { height: 28px; }
.mobile-menu__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.mobile-menu__body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }
.mobile-menu__group { border-bottom: 1px solid var(--line-soft); }
.mobile-menu__group > summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  font-size: 18px; font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.mobile-menu__group > summary::-webkit-details-marker { display: none; }
.mobile-menu__group[open] > summary::after { transform: rotate(180deg); }
.mobile-menu__group > summary::after { content: '⌄'; font-size: 20px; transition: transform .2s; }
.mobile-menu__sub { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 16px; }
.mobile-menu__sub a { padding: 12px 8px; color: var(--text-2); font-size: 15px; border-radius: 6px; }
.mobile-menu__sub a:hover, .mobile-menu__sub a:focus { background: var(--navy-100); color: var(--navy); }
.mobile-menu__solo a { display: block; padding: 18px 4px; font-size: 18px; font-weight: 600; color: var(--navy); }
.mobile-menu__foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #dcdbe5;
  padding: 80px 0 32px;
}
.site-footer a { color: inherit; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__brand img { height: 44px; filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer__tagline { margin-top: 24px; font-size: 14px; line-height: 1.75; color: #a8a6b8; }
.site-footer__heading {
  font-family: var(--font-en);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.site-footer__phone {
  font-family: var(--font-en);
  font-size: 26px; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
}
.site-footer__hours { margin-top: 14px; font-size: 13px; line-height: 1.8; color: #a8a6b8; }
.site-footer__hours .closed { color: var(--yellow); }
.site-footer__menu { display: grid; gap: 10px; font-size: 14px; color: #dcdbe5; }
.site-footer__menu a:hover { color: #fff; }
.site-footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7a788d;
}
.site-footer__bottom .links { display: flex; gap: 18px; }
.site-footer__bottom .links a:hover { color: #fff; }
@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 56px 0 24px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .site-footer__bottom { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* ==========================================================================
   Home hero — full-screen video
   ========================================================================== */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff;
  overflow: hidden;
}

/* Video layer */
.home-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--navy-darker);
}
.home-hero__video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.home-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,18,34,0.82) 0%, rgba(20,18,34,0.55) 55%, rgba(20,18,34,0.25) 100%),
    linear-gradient(to top,   rgba(20,18,34,0.70) 0%, transparent 40%);
}

/* Content */
.home-hero__inner {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; align-items: center;
  padding-top: 160px; padding-bottom: 60px;
  min-height: 0;
}
.home-hero__content { max-width: 680px; }

.home-hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.home-hero__eyebrow-line {
  display: block; width: 32px; height: 1px;
  background: var(--yellow); flex-shrink: 0;
}

.home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
}
.home-hero__title em {
  font-style: normal;
  color: var(--yellow);
}

.home-hero__lead {
  margin-top: 28px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
}

.home-hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 44px;
}
.btn--white-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn--white-ghost:hover {
  border-color: #fff; background: rgba(255,255,255,0.10);
}

/* Live badge */
.home-hero__badge {
  position: absolute; top: 120px; right: 0; z-index: 1;
  padding: 10px 18px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #fff;
}
.home-hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.10); }
}

/* KPI bar */
.home-hero__kpi-bar {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.home-hero__kpis {
  display: grid; grid-template-columns: repeat(4,1fr);
}
.home-hero__kpi {
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.home-hero__kpi:last-child { border-right: 0; }
.home-hero__kpi-label {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow);
}
.home-hero__kpi-value {
  margin-top: 6px; font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em;
}

/* Scroll hint */
.home-hero__scroll {
  position: absolute; right: 36px; bottom: 100px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.home-hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

@media (max-width: 1023px) {
  .home-hero__inner { padding-top: 130px; }
  .home-hero__badge { top: 100px; }
  .home-hero__scroll { display: none; }
}
@media (max-width: 767px) {
  .home-hero__inner { padding-top: 100px; padding-bottom: 48px; }
  .home-hero__badge { top: 80px; right: 0; font-size: 12px; }
  .home-hero__kpis { grid-template-columns: repeat(2,1fr); }
  .home-hero__kpi { padding: 16px 20px; }
  .home-hero__cta .btn { flex: 1 1 160px; justify-content: center; }
}

/* ==========================================================================
   Legacy home hero (light bg) — kept for reference, no longer used
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.hero--dark {
  background: linear-gradient(160deg, var(--navy-darker) 0%, var(--navy) 100%);
  color: #fff;
}
.hero--dark .h-hero, .hero--dark .h-display { color: #fff; }
.hero--dark .body-lg { color: rgba(255,255,255,0.78); }
.hero--basic {
  padding: 96px 0 64px;
  background: linear-gradient(160deg, var(--navy-darker) 0%, var(--navy) 100%);
  overflow: hidden;
}
.hero--basic::before,
.hero--basic::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero--basic::before {
  width: 560px; height: 560px;
  right: -140px; top: -200px;
  background: rgba(255, 217, 125, 0.07);
  border: 1px solid rgba(255, 217, 125, 0.12);
}
.hero--basic::after {
  width: 380px; height: 380px;
  right: 120px; top: -260px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hero--basic .hero__lead { max-width: 720px; }
.hero__inner { position: relative; z-index: 1; }
.hero__layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.hero__eyebrow { margin-bottom: 24px; }
.hero__title { margin-bottom: 24px; }
.hero__lead { font-size: 19px; line-height: 1.85; color: var(--text-2); max-width: 540px; }
.hero--dark .hero__lead { color: rgba(255,255,255,0.8); }
.hero__cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 56px;
  padding-top: 32px; border-top: 1px solid rgba(0,0,0,0.08);
}
.hero--dark .hero__kpis { border-top-color: rgba(255,255,255,0.12); }
.hero__kpi-label { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-3); text-transform: uppercase; }
.hero--dark .hero__kpi-label { color: var(--yellow); }
.hero__kpi-value { margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.hero--dark .hero__kpi-value { color: #fff; }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--yellow-soft) 0%, #f0d894 45%, #efe1c3 100%);
}
.hero__visual-moon {
  position: absolute; right: -120px; bottom: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}
.hero__visual-symbol {
  position: absolute; left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  width: 62%;
  opacity: 0.95;
}
.hero__visual-badge {
  position: absolute; right: 24px; top: 24px;
  padding: 10px 16px;
  background: #fff;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.hero__visual-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hero__visual-caption {
  position: absolute; left: 32px; bottom: 32px;
  background: rgba(71, 69, 89, 0.94);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--r-md);
  max-width: 320px;
}
.hero__visual-caption .label {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; color: var(--yellow);
}
.hero__visual-caption .body { color: #fff; margin-top: 8px; font-size: 17px; font-weight: 600; line-height: 1.5; }

@media (max-width: 1023px) {
  .hero { padding: 80px 0 60px; }
  .hero__layout { grid-template-columns: 1fr; gap: 48px; }
  .hero__kpis { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
}
@media (max-width: 767px) {
  .hero { padding: 56px 0 48px; }
  .hero__lead { font-size: 16px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 0; min-width: 0; }
  .hero__kpis { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero__visual { aspect-ratio: 4/3; }
  .hero__visual-moon { width: 280px; height: 280px; right: -80px; bottom: -80px; }
}

/* Tabs under hero */
.hero-tabs {
  display: flex; gap: 6px;
  margin-top: 48px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-tabs::-webkit-scrollbar { display: none; }
.hero-tabs a {
  padding: 10px 18px;
  font-size: 14px; font-weight: 600;
  color: var(--text-2);
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.hero-tabs a.is-active { background: var(--navy); color: #fff; }
.hero-tabs a:hover:not(.is-active) { background: var(--navy-100); color: var(--navy); }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--text-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--text-4); }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   Photo slot
   ========================================================================== */
.photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-warm);
}
.photo--1\:1 { aspect-ratio: 1 / 1; }
.photo--4\:3 { aspect-ratio: 4 / 3; }
.photo--4\:5 { aspect-ratio: 4 / 5; }
.photo--16\:9 { aspect-ratio: 16 / 9; }
.photo--3\:4 { aspect-ratio: 3 / 4; }
.photo--tone-cream { background: linear-gradient(160deg, var(--yellow-soft) 0%, var(--bg-warm) 100%); }
.photo--tone-navy { background: linear-gradient(160deg, var(--navy-soft) 0%, var(--navy-darker) 100%); color: rgba(255,255,255,0.65); }
.photo--tone-yellow { background: linear-gradient(160deg, var(--yellow) 0%, var(--yellow-deep) 100%); color: var(--navy); }
.photo__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
.photo__caption {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(255,255,255,0.85);
  color: var(--navy);
  border-radius: var(--r-pill);
}
.photo--tone-navy .photo__caption { background: rgba(255,255,255,0.12); color: #fff; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Process steps
   ========================================================================== */
.process { position: relative; }
.process__line {
  display: none;
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--navy-300) 0 6px, transparent 6px 12px);
}
.process__list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  position: relative;
}
.process__line { display: block; }
.process__item {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.process__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 16px; font-weight: 700;
  position: relative; z-index: 1;
}
.process__item.is-current .process__num { background: var(--yellow); border-color: var(--yellow); }
.process__title { font-size: 16px; font-weight: 700; color: var(--navy); }
.process__desc { font-size: 14px; line-height: 1.7; color: var(--text-3); }
@media (max-width: 767px) {
  .process__list { grid-template-columns: 1fr; gap: 12px; }
  .process__line { display: none; }
  .process__item { flex-direction: row; align-items: flex-start; gap: 16px; padding: 12px 0; }
  .process__num { width: 44px; height: 44px; font-size: 14px; flex-shrink: 0; }
  .process__item > div { flex: 1; }
}

/* ==========================================================================
   Equipment row / table
   ========================================================================== */
.equipment {
  border-top: 1px solid var(--line);
}
.equipment__row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.equipment__category { font-size: 14px; font-weight: 600; color: var(--text-3); letter-spacing: -0.01em; }
.equipment__model { font-size: 17px; font-weight: 700; color: var(--navy); }
.equipment__maker { display: inline-block; margin-left: 12px; font-size: 13px; color: var(--text-3); font-weight: 500; }
@media (max-width: 767px) {
  .equipment__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .equipment__model { font-size: 16px; }
  .equipment__maker { margin-left: 0; display: block; margin-top: 4px; }
}

/* ==========================================================================
   Checklist (이런 분께 권해요 등)
   ========================================================================== */
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; line-height: 1.7; color: var(--text);
}
.checklist__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.checklist--dark li { color: rgba(255,255,255,0.9); }

/* CTA card on the side of checklist */
.cta-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255, 217, 125, 0.18);
}
.cta-card .label {
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; color: var(--yellow); text-transform: uppercase;
  position: relative;
}
.cta-card .title { font-size: 24px; font-weight: 700; line-height: 1.4; color: #fff; position: relative; }
.cta-card .body { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.75); position: relative; }
.cta-card .actions { display: flex; gap: 8px; margin-top: 8px; position: relative; flex-wrap: wrap; }

/* ==========================================================================
   Promise strip (home)
   ========================================================================== */
.promise-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promise-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.promise-strip__item {
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.promise-strip__item + .promise-strip__item { border-left: 1px solid var(--line); }
.promise-strip__num {
  font-family: var(--font-en); font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em; color: var(--yellow-deep);
}
.promise-strip__title { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.promise-strip__desc { font-size: 14px; color: var(--text-3); line-height: 1.65; }
@media (max-width: 1023px) {
  .promise-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .promise-strip__item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .promise-strip__item:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .promise-strip__grid { grid-template-columns: 1fr; }
  .promise-strip__item { padding: 28px 20px; }
  .promise-strip__item + .promise-strip__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Specialty dark section (home)
   ========================================================================== */
.specialty-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.specialty-feature {
  background: linear-gradient(160deg, var(--navy-darker) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 48px;
  position: relative; overflow: hidden;
}
.specialty-feature::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 217, 125, 0.25), transparent 70%);
}
.specialty-feature__inner { position: relative; }
.specialty-feature .h-section { color: #fff; margin: 16px 0 16px; }
.specialty-feature .body { color: rgba(255,255,255,0.78); }
.specialty-feature__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.specialty-feature__chips .chip { background: rgba(255,255,255,0.1); color: #fff; }
.specialty-feature__cta { margin-top: 32px; }

.specialty-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.specialty-tile {
  background: var(--navy-soft);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background-color .18s;
}
.specialty-tile:hover { background: var(--navy-darker); }
.specialty-tile .h-card { color: #fff; font-size: 19px; }
.specialty-tile .body-sm { color: rgba(255,255,255,0.7); }

@media (max-width: 1023px) {
  .specialty-block { grid-template-columns: 1fr; }
  .specialty-feature { padding: 36px; }
}
@media (max-width: 767px) {
  .specialty-feature { padding: 28px; }
  .specialty-side { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 100%);
  border-radius: var(--r-xl);
  padding: 80px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 217, 125, 0.22), transparent 70%);
}
.cta-banner__title { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1.3; letter-spacing: -0.02em; color: #fff; }
.cta-banner__desc { margin-top: 12px; color: rgba(255,255,255,0.78); font-size: 16px; line-height: 1.7; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
@media (max-width: 1023px) {
  .cta-banner { grid-template-columns: 1fr; padding: 48px 32px; }
  .cta-banner__title { font-size: 32px; }
}
@media (max-width: 767px) {
  .cta-banner { padding: 36px 24px; border-radius: var(--r-lg); }
  .cta-banner__title { font-size: 26px; }
  .cta-banner__actions .btn { width: 100%; }
}

/* ==========================================================================
   Clinic block (심화내과 4 클리닉)
   ========================================================================== */
.clinic-block {
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.clinic-block__num {
  font-family: var(--font-en); font-size: 36px; font-weight: 600;
  color: var(--yellow-deep); letter-spacing: -0.02em; line-height: 1;
}
.clinic-block__title-row { display: flex; align-items: center; gap: 12px; }
.clinic-block__lead { margin-top: 16px; }
.clinic-block__tests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.clinic-block__conditions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.clinic-condition {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 15px; font-weight: 600;
  color: var(--navy);
}
@media (max-width: 1023px) {
  .clinic-block { grid-template-columns: 60px 1fr; }
  .clinic-block__conditions { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .clinic-block { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
}

/* ==========================================================================
   Doctor page — career timeline
   ========================================================================== */
.career-list { display: grid; gap: 8px; }
.career-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
}
.career-list li::before {
  content: '';
  margin-top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow-deep);
}

.group-list { display: grid; gap: 28px; }
.group-list__group h4 {
  font-family: var(--font-en); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow-deep); margin-bottom: 12px;
}
.group-list__items { display: grid; gap: 8px; font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* ==========================================================================
   Trust quote (yellow section)
   ========================================================================== */
.trust-quote {
  background: var(--yellow);
  padding: 100px 0;
}
.trust-quote__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.trust-quote__photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--yellow-deep), #d0a04a);
  position: relative; overflow: hidden;
}
.trust-quote__photo .photo__placeholder { color: rgba(0,0,0,0.4); }
.trust-quote__text { color: var(--navy); }
.trust-quote__text blockquote {
  font-family: var(--font-display); font-weight: 400;
  font-size: 40px; line-height: 1.4; letter-spacing: -0.02em;
  color: var(--navy); margin: 0;
}
.trust-quote__text p { margin-top: 28px; font-size: 17px; line-height: 1.85; color: var(--navy-darker); }
.trust-quote__sig { margin-top: 28px; font-weight: 700; color: var(--navy); }
@media (max-width: 1023px) {
  .trust-quote { padding: 64px 0; }
  .trust-quote__inner { grid-template-columns: 1fr; gap: 40px; }
  .trust-quote__text blockquote { font-size: 30px; }
  .trust-quote__photo { max-width: 320px; }
}
@media (max-width: 767px) {
  .trust-quote__text blockquote { font-size: 24px; }
}

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 70;
  background: var(--navy);
  padding: 10px 12px;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
}
.sticky-cta a { flex: 1; }
@media (max-width: 767px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
}

/* ==========================================================================
   Misc utilities
   ========================================================================== */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-48 { margin-bottom: 48px; }

.divider { height: 1px; background: var(--line); margin: 32px 0; border: 0; }

.signature {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.kpi-grid__item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.kpi-grid__num {
  font-family: var(--font-en);
  font-size: 32px; font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.kpi-grid__label { margin-top: 8px; font-size: 13px; color: var(--text-3); }
.on-dark .kpi-grid__item { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.on-dark .kpi-grid__num { color: var(--yellow); }
.on-dark .kpi-grid__label { color: rgba(255,255,255,0.65); }
@media (max-width: 1023px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .kpi-grid__num { font-size: 24px; }
}

/* ==========================================================================
   Location page — info cards
   ========================================================================== */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.info-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--yellow-100);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-card__label { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--yellow-deep); }
.info-card__value { font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.info-card__meta { font-size: 14px; color: var(--text-3); line-height: 1.7; }

/* Map placeholder */
.map-area {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #e9eef5 0%, #d6dbe5 100%);
}
.map-area__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: var(--navy);
}
.map-area__placeholder .label {
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3);
}

/* ==========================================================================
   Care guide page — 진료 안내 overview
   ========================================================================== */

/* Principle cards */
.guide-principle-card {
  padding: 32px 24px;
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.guide-principle-card__num {
  font-family: var(--font-en); font-size: 32px; font-weight: 800;
  color: var(--yellow); line-height: 1; letter-spacing: -0.04em;
}
.guide-principle-card__title {
  margin-top: 12px; font-size: 17px; font-weight: 700; color: var(--navy);
}
.guide-principle-card__body {
  margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--text-2);
}

/* Department list */
.guide-dept-list { display: flex; flex-direction: column; gap: 0; }
.guide-dept-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 20px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.guide-dept-item:first-child { border-top: 1px solid var(--line); }
.guide-dept-item__icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--r-md); background: var(--yellow-100);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.guide-dept-item__en {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow-deep);
}
.guide-dept-item__title {
  margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--navy);
}
.guide-dept-item__body {
  margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--text-2);
}
.guide-dept-item__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.guide-dept-item__action { flex-shrink: 0; }

/* Specialty cards (dark grid) */
.guide-spec-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 24px; text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  transition: background 0.18s, border-color 0.18s;
}
.guide-spec-card:hover {
  background: rgba(255,255,255,0.10); border-color: rgba(255,217,125,0.4);
}
.guide-spec-card__icon {
  width: 48px; height: 48px;
  background: rgba(255,217,125,0.12); border-radius: 12px;
  color: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center;
}
.guide-spec-card__en {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,217,125,0.7);
  margin-top: 4px;
}
.guide-spec-card__title {
  font-size: 18px; font-weight: 700; color: #fff; margin-top: 2px;
}
.guide-spec-card__body { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.65); }
.guide-spec-card__cta {
  margin-top: auto; padding-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--yellow);
}

/* Care page differentiators grid */
.care-diff-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.care-diff-item {
  padding: 28px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
}
.care-diff-item__icon {
  width: 52px; height: 52px;
  background: rgba(255,217,125,0.12); border-radius: 12px;
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.care-diff-item__title {
  margin-top: 16px; font-size: 16px; font-weight: 700; color: #fff;
}
.care-diff-item__body {
  margin-top: 10px; font-size: 14px; line-height: 1.75;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 1023px) {
  .guide-dept-item { grid-template-columns: 56px 1fr; }
  .guide-dept-item__action { grid-column: 2; }
  .care-diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .guide-dept-item { grid-template-columns: 1fr; gap: 12px; }
  .guide-dept-item__action { grid-column: 1; }
  .care-diff-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   Specialty disease pages — spec-* components
   ========================================================================== */

/* Disease block */
.spec-disease { padding: 64px 0; border-top: 1px solid var(--line); }
.spec-disease:first-of-type { border-top: 0; }
.spec-disease__num {
  font-family: var(--font-en); font-size: 72px; font-weight: 800;
  color: var(--yellow); line-height: 1; letter-spacing: -0.04em;
}
.spec-disease__tag {
  display: block; margin-top: 10px;
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--yellow-deep);
}
.spec-disease__title {
  margin-top: 6px; font-size: 26px; font-weight: 700;
  color: var(--navy); letter-spacing: -0.02em;
}
.spec-disease__intro {
  margin-top: 16px; font-size: 15px; line-height: 1.8; color: var(--text-2);
}

/* Hospital differentiators list */
.spec-diff { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.spec-diff__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px;
  background: var(--bg-warm);
  border-radius: var(--r-md);
  border-left: 3px solid var(--yellow);
}
.spec-diff__icon { flex-shrink: 0; color: var(--navy); margin-top: 2px; }
.spec-diff__text { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.spec-diff__text strong { color: var(--navy); font-weight: 600; }

/* Diagnosis steps pills */
.diag-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.diag-steps__item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 100px; font-size: 13px; color: var(--text-2);
}
.diag-steps__num {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Treatment stages */
.treatment-block { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.treatment-block__item {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px 20px;
  padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  align-items: start;
}
.treatment-block__stage {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--yellow-deep); background: var(--yellow-100);
  padding: 4px 8px; border-radius: 6px; text-align: center;
  white-space: nowrap; margin-top: 2px;
}
.treatment-block__text { font-size: 13px; line-height: 1.7; color: var(--text-2); }

/* FAQ accordion */
.spec-faq { margin-top: 32px; }
.spec-faq details { border-bottom: 1px solid var(--line); }
.spec-faq details:first-child { border-top: 1px solid var(--line); }
.spec-faq summary {
  padding: 18px 0;
  font-size: 15px; font-weight: 600; color: var(--navy);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.spec-faq summary::-webkit-details-marker { display: none; }
.spec-faq summary::after {
  content: '+'; font-size: 20px; font-weight: 300;
  color: var(--yellow-deep); flex-shrink: 0; line-height: 1;
  transition: transform 0.2s;
}
.spec-faq details[open] > summary::after { transform: rotate(45deg); }
.spec-faq__body { padding: 0 0 18px; font-size: 14px; line-height: 1.85; color: var(--text-2); }

/* 6-step process */
.process__list--6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1023px) {
  .process__list--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .spec-disease__num { font-size: 52px; }
  .treatment-block__item { grid-template-columns: 1fr; }
  .process__list--6 { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   News / Cases page
   ========================================================================== */
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.18s;
}
.news-card:hover { box-shadow: var(--shadow-card); }
.news-card__thumb {
  display: block; aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg-soft);
}
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card__thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-300);
}
.news-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.chip--sm { padding: 2px 8px; font-size: 11px; }
.news-card__title { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.news-card__title a { color: inherit; }
.news-card__title a:hover { color: var(--yellow-deep); }
.news-card__excerpt { font-size: 14px; line-height: 1.7; color: var(--text-3); }
.news-pagination { display: flex; justify-content: center; gap: 8px; }
.news-pagination a, .news-pagination span {
  padding: 8px 14px; border-radius: 8px; font-size: 14px;
  border: 1px solid var(--line); color: var(--text-2);
}
.news-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-pagination a:hover { background: var(--navy-100); color: var(--navy); }
.news-empty {
  text-align: center; padding: 80px 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.news-empty__icon { color: var(--navy-300); }
.news-empty__text { font-size: 15px; line-height: 1.8; color: var(--text-3); }

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.fab {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fab__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 64px;
  padding: 12px 8px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(71, 69, 89, 0.28);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.fab__item:hover {
  background: var(--navy-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(71, 69, 89, 0.35);
}
.fab__item--kakao { background: #FEE500; color: #391B1B; }
.fab__item--kakao:hover { background: #f5d800; }
.fab__item--phone { background: var(--yellow); color: var(--navy); }
.fab__item--phone:hover { background: var(--yellow-deep); }
.fab__icon { display: flex; align-items: center; justify-content: center; }
.fab__label { font-size: 10px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }

@media (max-width: 767px) {
  .fab {
    right: 16px;
    top: auto;
    bottom: 80px;
    transform: none;
  }
  .fab__item { width: 56px; padding: 10px 6px; border-radius: 12px; }
  .fab__label { font-size: 9px; }
}

