/* =============================================
   든든한내과 - Main Stylesheet
   Benchmarked from 해운대내과의원
   ============================================= */
/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  color: var(--body-text);
  background: var(--bg-page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Korean: prefer phrase-level breaks over mid-word splits */
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

/* ---- CSS variables (hospital palette + semantic aliases) ---- */
:root {
  --font-serif: 'Noto Serif KR', serif;
  --font-point: 'Gowun Batang', serif;

  /* Canonical palette */
  --primary: #006a70;
  --primary-dark: #004e55;
  --primary-deep: #003f46;
  --bg-page: #f8fbfb;
  --bg-section: #eef6f7;
  --bg-soft: #e6f2f3;
  --text-main: #1f2d33;
  --text-sub: #5d6d73;
  --text-muted: #8b9aa0;
  --border-soft: #d8e7ea;
  --accent: #c8a96a;
  --accent-soft: #f5efe2;

  /* Teal helpers (gradients, pills, hovers) */
  --primary-soft: #1a828a;
  --primary-light: #e8f4f5;
  --accent-warm: var(--accent);

  --primary-rgb: 0, 106, 112;
  --soft-rgb: 26, 130, 138;
  --text-main-rgb: 31, 45, 51;

  /* Legacy semantic names → same system */
  --text: var(--text-main);
  --text-secondary: var(--text-sub);
  --bg-alt: var(--bg-page);
  --border: var(--border-soft);
  --white: #ffffff;
  --body-text: var(--text);
  --dark: var(--text-main);
  --dark-2: var(--primary-dark);
  --gray-1: var(--text-main);
  --gray-2: var(--text-sub);
  --gray-3: var(--text-muted);
  --gray-4: #c5d0d3;
  --gray-5: var(--border-soft);
  --gray-6: var(--bg-soft);
  --gray-7: var(--bg-page);
  --primary-muted: var(--bg-soft);
  --surface-mint: var(--primary-light);

  --header-h: 72px;
  /* Mobile bottom quick bar — set in max-width media query */
  --quickbar-mobile-h: 0px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(var(--primary-rgb), 0.06);
  --shadow-md: 0 4px 20px rgba(var(--primary-rgb), 0.08);
  --shadow-lg: 0 12px 32px rgba(var(--primary-rgb), 0.1);
  --transition: .3s cubic-bezier(.4, 0, 0.2, 1);
}

body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, button, input, textarea, label {
  font-family: var(--font-serif);
}

/* =============================================
   HEADER / NAV
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.logo:hover .logo__name {
  color: var(--primary);
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.logo__name {
  font-size: clamp(18px, 2.15vw, 22px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--primary-dark);
  line-height: 1.15;
  white-space: nowrap;
}
.logo-sub-text {
  margin-top: 2px;
  font-size: clamp(10px, 1.32vw, 15px);
  font-weight: 500;
  letter-spacing: 0.19em;
  color: #6F8F95;
  line-height: 1.05;
  white-space: nowrap;
  display: block;
  text-align: center;
}
.logo-img {
  height: 40px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}
.logo-img--footer {
  height: 44px;
  max-width: min(240px, 55vw);
}

/* GNB */
.gnb { display: flex; align-items: center; gap: 4px; flex: 1; }
.gnb > li { position: relative; }
.gnb > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.gnb > li > a:hover { color: var(--primary); background: var(--primary-light); }
.gnb > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
body.page-home .logo__name {
  font-size: clamp(20px, 2.35vw, 24px);
}

/* Desktop GNB: slightly larger type & spacing (nav visible ≥1025 only) */
@media (min-width: 1025px) {
  #header .gnb {
    gap: 5px;
  }
  #header .gnb > li > a {
    font-size: 15px;
    font-weight: 600;
    padding: 8px 15px;
  }
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--gray-5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}
.dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.dropdown li a:hover { background: var(--primary-light); color: var(--primary); }

/* Header right */
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-reserve {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-reserve:hover { background: var(--primary-dark); transform: translateY(-1px); }
/* Subpages: 진료예약 is in the floating quick menu — hide duplicated header CTA */
body:not(.page-home) .header-right .btn-reserve {
  display: none;
}

/* Hamburger */
.btn-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  transition: background var(--transition);
}
.btn-menu:hover { background: var(--gray-6); }
.btn-menu span {
  display: block; width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.btn-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-menu.active span:nth-child(2) { opacity: 0; }
.btn-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-5);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-gnb-item > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-gnb-item > a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-sub {
  padding: 4px 0 8px 16px;
  display: none;
}
.mobile-sub.open { display: block; }
.mobile-sub li a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--gray-2);
  border-radius: 6px;
  transition: color var(--transition);
}
.mobile-sub li a:hover { color: var(--primary); }

/* =============================================
   QUICK SIDE MENU (RIGHT)
   ============================================= */
.quick-menu {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  /* Above sticky .sub-nav (900); below #header (1000) and .mobile-menu (999) */
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quick-menu a, .quick-menu button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 60px;
  padding: 10px 6px;
  background: #fff;
  border: 1px solid var(--gray-5);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  color: var(--gray-1);
  font-size: 10px;
  font-weight: 500;
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
}
.quick-menu a:hover, .quick-menu button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(-4px);
  box-shadow: var(--shadow-lg);
}
.quick-menu .q-phone {
  display: block;
  margin-top: -1px;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--gray-3);
  white-space: nowrap;
}
.quick-menu a:hover .q-phone {
  color: rgba(255, 255, 255, 0.86);
}
.quick-menu .q-phone-label {
  display: none;
}
.quick-menu .q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.quick-menu .q-svg {
  width: 22px;
  height: 22px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 1px 1px rgba(var(--primary-rgb), 0.08));
}
.quick-menu a:hover .q-svg,
.quick-menu button:hover .q-svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}
.quick-menu .q-top {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.quick-menu .q-top:hover { background: var(--primary-dark); }

/* Mobile: bottom fixed quick bar (horizontal) — desktop/tablet keep right rail above */
@media (max-width: 768px) {
  .quick-menu {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(var(--primary-rgb), 0.12);
    box-shadow: 0 -4px 24px rgba(var(--primary-rgb), 0.07);
    z-index: 950;
  }
  .quick-menu > a {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 56px;
    padding: 8px 4px 10px;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(var(--primary-rgb), 0.08);
    box-shadow: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    justify-content: center;
    gap: 5px;
  }
  .quick-menu > a:last-of-type {
    border-right: none;
  }
  .quick-menu > a .q-icon {
    width: 26px;
    height: 26px;
    font-size: 22px;
    line-height: 1;
  }
  .quick-menu > a .q-svg {
    width: 24px;
    height: 24px;
  }
  .quick-menu > a:hover,
  .quick-menu > a:active {
    transform: none;
    background: var(--primary-light);
    color: var(--primary-dark);
  }
  .quick-menu > a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    z-index: 2;
  }
  .quick-menu > a:hover .q-svg,
  .quick-menu > a:active .q-svg {
    filter: none;
  }
  /* TOP: small circular control above the bar, not in the row */
  .quick-menu .q-top {
    position: fixed;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(var(--quickbar-mobile-h) + 8px);
    left: auto;
    top: auto;
    transform: none;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: var(--shadow-md);
    font-size: 0;
    gap: 0;
    z-index: 951;
  }
  .quick-menu .q-top .q-icon {
    width: 22px;
    height: 22px;
  }
  .quick-menu .q-top .q-svg {
    width: 20px;
    height: 20px;
  }
  .quick-menu .q-top span:not(.q-icon) {
    display: none;
  }
  .quick-menu .q-top:hover {
    transform: none;
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
  }
  .quick-menu .q-top:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-bottom: 0;
  padding-top: env(safe-area-inset-top, 0px);
  overflow-x: hidden;
  overflow-y: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-color: #3a4245;
  background-image: url("../img/main/main-hero-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Neutral darkening only — no brand/teal tint on the photo */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(18, 22, 26, 0.72) 0%,
    rgba(18, 22, 26, 0.38) 54%,
    rgba(18, 22, 26, 0.14) 100%
  );
  z-index: 1;
}

/* ---- Homepage hero: 2-slide track (RTL advance) ---- */
.hero-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}
.hero-slider__viewport {
  overflow: hidden;
  width: 100%;
}
.hero-slider__track {
  display: flex;
  width: 200%;
  will-change: transform;
}
.hero-slide {
  flex: 0 0 50%;
  width: 50%;
  box-sizing: border-box;
}
/* Anchored to .hero (full viewport) so dots sit above scroll, not mid-content box */
.hero-slider__dots {
  position: absolute;
  left: calc(50% + clamp(14px, 1.35vw, 20px));
  bottom: clamp(96px, 12vh, 122px);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  pointer-events: none;
}
.hero-slider__dots .hero-slider__dot {
  pointer-events: auto;
}
.hero-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.hero-slider__dot:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.22);
}
.hero-slider__dot.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  transform: scale(1.12);
}
.hero-slider__dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

/* Slide 2 subcopy: 2 lines on desktop, natural wrap on mobile */
.hero-desc__space {
  display: none;
}
@media (max-width: 767px) {
  br.hero-desc__break-desktop {
    display: none;
  }
  .hero-desc__space {
    display: inline;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(16px, 3vh, 36px) 32px 0;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 1200px) {
  .hero-content {
    padding: 0 40px;
  }
}
.hero-label {
  display: inline-block;
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 600;
  letter-spacing: clamp(1px, 0.35vw, 2.5px);
  text-transform: uppercase;
  max-width: 100%;
  color: var(--accent-warm);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s .2s forwards;
}
body.page-home .hero .hero-label {
  color: #d8c6a3;
  padding-left: 0.65em;
}
.hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 20px;
  padding-top: 0.06em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s .4s forwards;
}
.hero-title em {
  display: block;
  color: #fff;
  font-style: normal;
}
.hero-title .hero-title-highlight {
  color: #7fd6d8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  max-width: min(42rem, 100%);
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s .6s forwards;
}
.hero-desc-mobile {
  display: none;
}
@media (max-width: 768px) {
  body.page-home .hero .hero-desc-desktop {
    display: none;
  }
  body.page-home .hero .hero-desc-mobile {
    display: block;
  }
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s .8s forwards;
}

/* Second hero slide (off-screen at load): no staggered fade — avoids flash on hidden panel */
#hero-slide-1 .hero-label,
#hero-slide-1 .hero-title,
#hero-slide-1 .hero-desc,
#hero-slide-1 .hero-actions {
  animation: none;
  opacity: 1;
  transform: none;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.28);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
/* Secondary / outline on light backgrounds */
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}
/* Hero: readable on photo — glass outline, not brand-tinted overlay */
.hero .btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.38);
  color: #fff;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.85);
  color: #fff;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: rgba(255,255,255,.5);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  animation: fadeUp .8s 1.2s forwards;
  opacity: 0;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
section { padding: 100px 0; }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (min-width: 1200px) {
  .section-inner {
    padding: 0 40px;
  }
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-title em {
  color: var(--primary);
  font-style: normal;
}
.section-desc {
  font-size: 16px;
  color: var(--gray-2);
  line-height: 1.8;
  max-width: min(48rem, 100%);
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* Homepage only: whisper-light text depth on major titles (not labels/body copy) */
body.page-home .hero-title {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.16),
    0 0 1px rgba(0, 0, 0, 0.08);
}
body.page-home .stats-headline {
  text-shadow: 0 0.5px 1px rgba(var(--text-main-rgb), 0.055);
}
/* Light / plain section backgrounds — barely-there separation */
body.page-home h2.section-title {
  text-shadow: 0 0.5px 1px rgba(var(--text-main-rgb), 0.042);
}
/* Patterned corners (bg-texture) — slightly more support, still minimal */
body.page-home .bg-texture h2.section-title {
  text-shadow: 0 0.5px 1.5px rgba(var(--text-main-rgb), 0.056);
}
/* White titles on brand gradient — photo-adjacent legibility without heaviness */
body.page-home .stats2-section .section-title {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.14),
    0 0 1px rgba(0, 0, 0, 0.07);
}
@media (max-width: 768px) {
  body.page-home .hero-title {
    text-shadow:
      0 0.5px 1px rgba(0, 0, 0, 0.11),
      0 0 1px rgba(0, 0, 0, 0.05);
  }
  body.page-home .stats-headline {
    text-shadow: 0 0.5px 0.5px rgba(var(--text-main-rgb), 0.034);
  }
  body.page-home h2.section-title {
    text-shadow: 0 0.5px 0.5px rgba(var(--text-main-rgb), 0.028);
  }
  body.page-home .bg-texture h2.section-title {
    text-shadow: 0 0.5px 1px rgba(var(--text-main-rgb), 0.038);
  }
  body.page-home .stats2-section .section-title {
    text-shadow:
      0 0.5px 1px rgba(0, 0, 0, 0.1),
      0 0 1px rgba(0, 0, 0, 0.05);
  }
}

/* Softer line endings where supported (reduces orphan fragments) */
@supports (text-wrap: pretty) {
  p,
  .section-title,
  .section-desc,
  .hero-desc,
  .stats-lede,
  .trust-text p,
  .doctor-heading,
  .specialty-cta-box__message,
  .equip-copy__text,
  .faq-a,
  .footer-tagline,
  .footer-business__line,
  .footer-business__addr,
  .treatment-intro,
  .case-cta__link,
  .location-info__value,
  .facility-gallery__caption {
    text-wrap: pretty;
  }
}

/* ---- Light-section wave texture (brand teal, ~3–4% — corner accent only) ---- */
.bg-texture {
  position: relative;
}
.bg-texture > * {
  position: relative;
  z-index: 1;
}
.bg-texture::after {
  content: '';
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  width: min(48vw, 400px);
  height: min(30vh, 240px);
  max-width: 400px;
  max-height: 240px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* Thin flowing lines; stroke-opacity in SVG ~0.03–0.045 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 260' fill='none'%3E%3Cpath d='M-30 168 Q90 148 200 172 T430 158' stroke='%23006a70' stroke-opacity='0.032' stroke-width='0.85'/%3E%3Cpath d='M-20 198 Q110 215 230 188 T420 200' stroke='%23006a70' stroke-opacity='0.026' stroke-width='0.75'/%3E%3Cpath d='M0 222 Q140 198 280 228 T400 212' stroke='%23006a70' stroke-opacity='0.022' stroke-width='0.65'/%3E%3C/svg%3E");
}
.bg-texture--br::after {
  right: -2%;
  bottom: 0;
  background-position: right bottom;
}
.bg-texture--bl::after {
  left: -2%;
  bottom: 0;
  background-position: left bottom;
  transform: scaleX(-1);
  transform-origin: left bottom;
}
@media (max-width: 768px) {
  .bg-texture::after {
    width: min(72vw, 300px);
    height: min(26vh, 180px);
    max-height: 200px;
  }
}

/* ---- Subtle brand typography (background, below content) ---- */
.has-brand-bg-scroll {
  position: relative;
  overflow: hidden;
}
/* Width-constrained .sub-content trapped the watermark; sections use full bleed */
.sub-content.has-brand-bg-scroll,
main.sub-content.has-brand-bg-scroll,
main.sub-content:has(> section.has-brand-bg-scroll),
.sub-content:has(> section.has-brand-bg-scroll) {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.sub-content__watermark-band {
  padding: 60px 32px;
}
.brand-bg-scroll {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-texture > .brand-bg-scroll {
  z-index: 0;
}
.has-brand-bg-scroll > :not(.brand-bg-scroll) {
  position: relative;
  z-index: 1;
}
.brand-bg-scroll__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: brand-bg-scroll-x 150s linear infinite;
  will-change: transform;
}
.brand-bg-scroll__text {
  flex-shrink: 0;
  padding-right: clamp(3.75rem, 9vw, 7.5rem);
  font-size: clamp(91px, calc(6.3vw + 52px), 136px);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  color: rgba(118, 118, 118, 0.05);
  font-family: "Noto Serif KR", serif;
}
@keyframes brand-bg-scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .brand-bg-scroll__track {
    animation-duration: 180s;
  }
  .brand-bg-scroll__text {
    font-size: clamp(51px, calc(4vw + 28px), 70px);
    padding-right: clamp(2.2rem, 6.25vw, 3.75rem);
    color: rgba(118, 118, 118, 0.04);
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-bg-scroll__track {
    animation: none;
    transform: translateX(-6%);
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* =============================================
   STATS (압도적 경험) — credibility showcase
   ============================================= */
.stats-section {
  position: relative;
  background: var(--bg-soft);
  padding: clamp(72px, 10vw, 112px) 0;
  box-shadow: inset 0 1px 0 rgba(var(--primary-rgb), 0.07);
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: var(--primary);
  opacity: 0.22;
  pointer-events: none;
}
.stats-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 0;
  padding-bottom: clamp(40px, 6vw, 56px);
}
.stats-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin: 0 0 20px;
  line-height: 1.4;
}
.stats-headline {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 28px;
}
.stats-lede {
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: min(48rem, 100%);
}
.stats-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 auto;
  max-width: 1080px;
  padding-top: clamp(36px, 5vw, 48px);
  border-top: 1px solid rgba(var(--primary-rgb), 0.12);
}
.stat-metric {
  text-align: center;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px) 8px;
  position: relative;
}
.stat-metric:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: clamp(24px, 4vw, 40px);
  bottom: clamp(32px, 5vw, 48px);
  width: 1px;
  background: rgba(var(--primary-rgb), 0.14);
}
.stat-metric__value {
  margin-bottom: 18px;
}
.stats-section .stat-num {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.08em;
  font-size: clamp(44px, 7.5vw, 76px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary-dark);
  margin: 0;
}
.stats-section .stat-unit {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0.92;
}
.stat-metric__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.stat-metric__mark {
  flex: 0 0 auto;
  width: clamp(20px, 4vw, 36px);
  height: 1px;
  background: var(--primary);
  opacity: 0.28;
}
.stat-metric__label-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary);
}
.stat-metric__note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--gray-3);
  margin: 0 auto;
  max-width: 22em;
}

/* =============================================
   TRUST BLOCKS (신뢰 3블럭)
   ============================================= */
.trust-section { background: #fff; }
.trust-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.trust-block:last-child { margin-bottom: 0; }
.trust-block.reverse { }
.trust-block.reverse .trust-photos { order: 2; }
.trust-block.reverse .trust-text { order: 1; }
.trust-photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 420px;
}
.trust-photo-main {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-5);
  display: flex; align-items: center; justify-content: center;
}
.trust-photo-sub {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-5);
  display: flex; align-items: center; justify-content: center;
}
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  color: var(--gray-3); font-size: 13px;
}
.photo-placeholder .pi { font-size: 32px; }
.trust-num {
  display: inline-block;
  width: 36px; height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.trust-text h3 {
  font-size: 26px; font-weight: 700;
  color: var(--dark); line-height: 1.4;
  margin-bottom: 16px;
}
.trust-text h3 em { color: var(--primary); font-style: normal; }

/* Trust 01: intentional mobile line break on title; body line break in p2 mobile-only */
.trust-title__br-mobile,
.trust-text__br-sm {
  display: none;
}

.trust-text p {
  font-size: 15px; color: var(--gray-2); line-height: 1.8;
  margin-bottom: 16px;
}
.trust-text__p {
  margin-bottom: 16px;
}
.trust-text__takeaway {
  font-size: clamp(15px, 1.35vw, 16px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.75;
  letter-spacing: -0.015em;
  margin-top: 4px;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .trust-title__br-mobile,
  .trust-text__br-sm {
    display: block;
  }
  /* Intentional line breaks only — inherit .trust-text h3 size (26px), do not shrink */
  .trust-text h3.trust-title--sm-break {
    line-height: 1.32;
    margin-bottom: 20px;
  }
  .trust-text__p {
    margin-bottom: 17px;
  }
  .trust-text__takeaway {
    margin-top: 6px;
    margin-bottom: 22px;
  }
  .trust-section .trust-tags {
    gap: 10px 12px;
    row-gap: 12px;
  }
  .trust-section .trust-tag {
    padding: 8px 14px;
  }
  /* Trust 02: a touch more air between copy/tags and photo grid on mobile */
  .trust-block--02.trust-block {
    gap: 48px;
  }
  .trust-block--02 .trust-tags {
    margin-bottom: 4px;
  }
}

.trust-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-tag {
  font-size: 12px; font-weight: 500;
  padding: 6px 12px;
  background: var(--bg-soft);
  border-radius: 20px;
  color: var(--text-secondary);
}

/* =============================================
   SPECIALTY / SIGNATURE CARE (통합 섹션)
   ============================================= */
.specialty-section {
  background: var(--bg-alt);
  padding-top: 0;
  padding-bottom: 0;
}
.specialty-section .specialty-signature {
  padding-top: 100px;
}
.specialty-section .specialty-cta-wrap {
  padding-bottom: 100px;
}
.specialty-cta-wrap {
  padding-top: 56px;
}
.specialty-cta-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.specialty-cta-box--closing {
  padding: clamp(40px, 6vw, 52px) clamp(32px, 5vw, 48px);
  box-shadow: 0 2px 24px rgba(var(--primary-rgb), 0.07);
}
.specialty-cta-box__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  width: 100%;
}
.specialty-cta-box__message {
  margin: 0;
  max-width: 28em;
  font-size: clamp(18px, 4.2vw, 20px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}
.specialty-cta-box__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.specialty-cta-box__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.62);
}
.specialty-cta-box__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}
@media (min-width: 769px) {
  .specialty-cta-box--closing {
    padding: clamp(44px, 5vw, 56px) clamp(40px, 5vw, 56px);
  }
  .specialty-cta-box--closing .specialty-cta-box__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 48px);
    text-align: left;
  }
  .specialty-cta-box--closing .specialty-cta-box__message {
    text-align: left;
    max-width: none;
    flex: 1;
    min-width: 0;
    font-size: clamp(20px, 2.15vw, 24px);
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.025em;
  }
}

/* =============================================
   SIGNATURE CARE — 분리형 레이아웃 (모바일: 글→이미지 / 데스크톱: 이미지→글)
   ============================================= */
.specialty-signature .care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
/* DOM 순서: 텍스트 블록 → 비주얼. 모바일 column = 글 위·이미지 아래 */
.specialty-signature .care-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.specialty-signature .care-item__text {
  text-align: center;
  padding: 0 4px;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}
.specialty-signature .care-item__text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.45;
}
.specialty-signature .care-item__text p {
  font-size: 14px;
  color: var(--gray-2);
  line-height: 1.75;
  margin: 0;
}
/* 아이콘 영역만 박스 — 본문과 분리 */
.specialty-signature .care-item__visual {
  height: 180px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--white) 55%, var(--bg-alt) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 48px;
  flex-shrink: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.specialty-signature .care-item__visual:hover {
  border-color: rgba(var(--primary-rgb), 0.18);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 769px) {
  /* column-reverse: 비주얼이 위, 본문이 아래 — 제목·본문은 가운데 정렬로 데스크톱 균형 */
  .specialty-signature .care-item {
    flex-direction: column-reverse;
    gap: 22px;
  }
  .specialty-signature .care-item__text {
    text-align: center;
    padding: 0 8px;
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .specialty-signature .care-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* =============================================
   STATS 2 (누적 수치)
   ============================================= */
.stats2-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
}
.stats2-section .section-tag { color: var(--accent-warm); }
.stats2-section .section-title { color: #fff; }
.stats2-section .section-header { margin-bottom: clamp(40px, 6vw, 52px); }
/* 두 항목 전용 — 그리드 박스 대신 중앙 정렬 쇼케이스 */
.stats2-showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  justify-items: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 8px 0 4px;
}
.stats2-stat {
  width: 100%;
  max-width: 380px;
  padding: 20px 32px 28px;
  text-align: center;
}
.stats2-stat__label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}
.stats2-stat__value {
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.stats2-stat__num {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.12em;
  font-size: clamp(46px, 8vw, 72px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.stats2-stat__unit {
  font-size: 0.38em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
}
.stats2-showcase__rule {
  width: 1px;
  align-self: stretch;
  min-height: 120px;
  margin: 12px 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 22%,
    rgba(255, 255, 255, 0.14) 78%,
    transparent 100%
  );
}
.stats2-footnote {
  margin: 28px auto 0;
  max-width: min(42rem, 100%);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.48);
}
@media (max-width: 640px) {
  .stats2-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    max-width: 420px;
    padding-top: 4px;
  }
  .stats2-showcase__rule {
    width: min(200px, 55vw);
    height: 1px;
    min-height: 0;
    margin: 8px auto;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.14) 20%,
      rgba(255, 255, 255, 0.14) 80%,
      transparent 100%
    );
  }
  .stats2-stat {
    padding: 16px 16px 20px;
    max-width: none;
  }
  .stats2-stat__label {
    margin-bottom: 14px;
  }
}

/* =============================================
   DOCTOR — minimal specialist profile
   ============================================= */
.doctor-section { background: #fff; }
section.doctor-section--detail {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(48px, 8vw, 88px);
}
.doctor-section--detail .doctor-profile {
  position: static;
}
.doctor-section .section-header.center {
  margin-bottom: clamp(44px, 6vw, 64px);
}
.doctor-section .section-desc.doctor-section__lead {
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(15px, 1.45vw, 17px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.55;
}
.doctor-layout-wrap {
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
/* Single (or primary) flex children must span the full 920px band — avoids shrink-to-content “narrow page” layout */
.doctor-layout-wrap > * {
  flex: 1 1 100%;
  min-width: 0;
}
.doctor-layout {
  display: grid;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: minmax(260px, 360px) minmax(280px, 420px);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  justify-content: center;
}
.doctor-profile {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  width: 100%;
}
.doctor-profile__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doctor-profile__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(165deg, #f2f7f8 0%, #e8f0f2 100%);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.06);
  outline: 1px solid rgba(var(--primary-rgb), 0.07);
  outline-offset: 0;
}
/* Main page #doctor only: PNG with transparency, full 2:3 portrait, no card frame */
#doctor .doctor-profile__photo {
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
  background: transparent;
  box-shadow: none;
  outline: none;
}
#doctor .doctor-profile__photo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 2 / 3;
  display: block;
}
.doctor-profile__photo-inner.photo-placeholder {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gray-3);
  font-size: 12px;
  gap: 10px;
}
.doctor-profile__placeholder-icon {
  font-size: clamp(40px, 11vw, 52px);
  line-height: 1;
  opacity: 0.82;
}
.doctor-profile__placeholder-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-3);
}
.doctor-info {
  min-width: 0;
  padding-top: 4px;
  width: 100%;
  max-width: 100%;
  justify-self: start;
}
.doctor-heading {
  margin: 0 0 36px;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.doctor-credentials {
  max-width: none;
}
.doctor-creds-block--primary {
  margin-bottom: 0;
}
.doctor-creds-block--primary .doctor-credentials__label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary-soft);
}
.doctor-creds-block--primary .doctor-key-creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doctor-key-creds {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doctor-key-creds li {
  margin: 0;
  padding: 0 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.62;
  border-left: 2px solid rgba(var(--primary-rgb), 0.4);
}
.doctor-key-creds li:last-child {
  padding-bottom: 0;
}
.doctor-key-creds li.doctor-creds-li--group-break,
.doctor-more-creds li.doctor-creds-li--group-break {
  margin-bottom: 12px;
}
.doctor-creds-block--secondary {
  margin-top: 28px;
}
.doctor-credentials__label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray-3);
}
.doctor-credentials__label--sub {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--primary-soft);
  opacity: 0.92;
}
.doctor-more-creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doctor-more-creds li {
  margin: 0;
  padding: 0 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: #7b868d;
  line-height: 1.62;
  border-left: 2px solid rgba(var(--primary-rgb), 0.28);
}
#doctor .doctor-heading {
  font-size: clamp(20px, 2.25vw, 25px);
  font-weight: 500;
}
#doctor .doctor-name-main {
  font-size: 1.25em;
  font-weight: 800;
}
#doctor .doctor-title-sub {
  font-size: 1em;
  font-weight: inherit;
}
#doctor .doctor-creds-block--primary .doctor-credentials__label,
#doctor .doctor-credentials__label,
#doctor .doctor-credentials__label--sub {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary-soft);
  line-height: 1.35;
  opacity: 1;
}
#doctor .doctor-credentials__label--sub {
  margin-bottom: 9px;
}
#doctor .doctor-credentials__label::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 3px;
  height: 1.05em;
  border-radius: 999px;
  background: var(--primary-soft);
}
#doctor .doctor-key-creds li,
#doctor .doctor-more-creds li {
  position: relative;
  padding-left: 18px;
  border-left: 0;
  font-size: 16px;
  line-height: 1.38;
}
#doctor .doctor-creds-block--primary .doctor-key-creds,
#doctor .doctor-more-creds {
  gap: 6px;
}
#doctor .doctor-key-creds li.doctor-creds-li--group-break,
#doctor .doctor-more-creds li.doctor-creds-li--group-break {
  margin-bottom: 6px;
}
#doctor .doctor-creds-block--secondary {
  margin-top: 23px;
}
#doctor .doctor-key-creds li::before,
#doctor .doctor-more-creds li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-soft);
  font-weight: 600;
}

/* =============================================
   EQUIPMENT — 프리미엄 쇼케이스 (라이트 톤 · 동심원 · 측면 프리뷰)
   ============================================= */
.equip-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfdfe 0%, var(--bg-alt) 42%, #f3f8f9 100%);
  box-shadow: inset 0 1px 0 rgba(var(--primary-rgb), 0.06);
  padding: 100px 0 96px;
}
.equip-section__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
/* 공통 중심 · 동일 박스 — 정원 3개 (45% / 72.5% / 100% = 등간격 반경). Orbit paths sit in same wrapper as rings with identical W/H per tier. */
.equip-rings-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  width: min(680px, 86vw);
  aspect-ratio: 1;
  max-height: min(58vh, 620px);
  pointer-events: none;
}
.equip-bg-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.09);
  background: transparent;
}
.equip-bg-ring--1 {
  width: 45%;
  height: 45%;
}
.equip-bg-ring--2 {
  width: 72.5%;
  height: 72.5%;
  border-color: rgba(var(--primary-rgb), 0.075);
}
.equip-bg-ring--3 {
  width: 100%;
  height: 100%;
  border-color: rgba(var(--primary-rgb), 0.055);
}
/* Invisible orbit path: same dimensions + center as matching .equip-bg-ring; rotate wrapper so bead tracks ring stroke */
.equip-orbit-path {
  position: absolute;
  left: 50%;
  top: 50%;
  box-sizing: border-box;
  border: none;
  background: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  pointer-events: none;
}
.equip-orbit-path--outer {
  width: 100%;
  height: 100%;
  animation: equip-orbit-spin 185s linear infinite;
}
.equip-orbit-path--middle {
  width: 72.5%;
  height: 72.5%;
  animation: equip-orbit-spin 150s linear infinite reverse;
}
.equip-orbit-path--inner {
  width: 45%;
  height: 45%;
  animation: equip-orbit-spin 110s linear infinite;
}
/* Dot center on ring stroke: top of path box = outermost point of circle matching ring diameter */
.equip-bead {
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(var(--primary-rgb), 0.22);
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.1), 0 1px 6px rgba(var(--primary-rgb), 0.08);
}
@keyframes equip-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .equip-orbit-path--outer,
  .equip-orbit-path--middle,
  .equip-orbit-path--inner {
    animation: none;
  }
}
.equip-section__inner {
  position: relative;
  z-index: 1;
}
.equip-section .section-header {
  margin-bottom: clamp(32px, 5vw, 48px);
}
.equip-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: 'prev main next';
  align-items: center;
  gap: clamp(10px, 2.5vw, 24px);
  max-width: 1100px;
  margin: 0 auto;
}
.equip-nav--prev {
  grid-area: prev;
}
.equip-carousel {
  grid-area: main;
  min-width: 0;
  width: 100%;
}
.equip-nav--next {
  grid-area: next;
}
.equip-carousel__viewport {
  overflow: hidden;
  width: 100%;
  padding: 12px 0 20px;
  margin: 0 -4px;
}
.equip-carousel__track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.22, 1);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .equip-carousel__track {
    transition-duration: 0.01ms;
  }
}
.equip-slide {
  flex-shrink: 0;
  box-sizing: border-box;
  transition: opacity 0.45s ease, filter 0.45s ease;
}
.equip-slide--dim {
  opacity: 0.36;
  filter: blur(0.75px);
}
.equip-slide--dim .equip-slide__visual {
  transform: scale(0.64);
}
.equip-slide--center {
  opacity: 1;
  filter: none;
  z-index: 1;
}
.equip-slide--center .equip-slide__visual {
  transform: scale(1.06);
}
/* 카드형 박스 최소화 — 컷아웃이 공간에 놓인 느낌 */
.equip-slide__visual {
  position: relative;
  min-height: clamp(180px, 26vw, 260px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 4px 4px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.22, 1);
}
.equip-slide--center .equip-slide__visual {
  min-height: clamp(240px, 36vw, 380px);
}
/* 아주 옅은 바닥 라인 — 중앙 활성만 */
.equip-slide--center .equip-slide__visual::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 72%;
  max-width: 280px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.12), transparent);
  pointer-events: none;
}
.equip-slide__figure {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-height: min(440px, 46vw);
}
.equip-slide__img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}
.equip-slide--center .equip-slide__figure {
  max-height: min(460px, 48vw);
}
.equip-slide--center .equip-slide__img {
  max-height: min(420px, 44vh);
  filter: drop-shadow(0 16px 36px rgba(var(--primary-rgb), 0.14));
}
.equip-slide--dim .equip-slide__figure {
  max-height: min(220px, 34vw);
}
.equip-slide--dim .equip-slide__img {
  max-height: min(200px, 30vw);
  filter: drop-shadow(0 6px 14px rgba(var(--primary-rgb), 0.06));
}
.equip-slide__visual--photo {
  padding: 0;
  background: transparent;
}
.equip-copy {
  margin-top: clamp(26px, 4vw, 40px);
  min-height: 0;
  position: relative;
}
.equip-copy__category {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary-soft);
  line-height: 1.45;
}
.equip-copy-pane {
  display: none;
  text-align: center;
  max-width: min(44rem, 100%);
  margin: 0 auto;
  padding: 0 12px;
}
.equip-copy-pane.is-active {
  display: block;
  animation: equip-copy-in 0.4s ease;
}
@keyframes equip-copy-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .equip-copy-pane.is-active {
    animation: none;
  }
}
.equip-copy__title {
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.equip-copy__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-2);
  margin: 0;
}
.equip-copy__text + .equip-copy__text {
  margin-top: 0.85em;
}
.equip-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-5);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.equip-nav:hover {
  background: var(--primary-light);
  border-color: rgba(var(--primary-rgb), 0.22);
  color: var(--primary-dark);
}
.equip-nav:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.equip-carousel__meta {
  text-align: center;
  margin: 22px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gray-3);
}
@media (max-width: 640px) {
  .equip-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'main main'
      'prev next';
    gap: 16px 20px;
  }
  .equip-nav {
    width: 42px;
    height: 42px;
    justify-self: center;
  }
}

/* =============================================
   TREATMENT (진료항목) — segmented tab bar as visual hero
   ============================================= */
.treatment-section {
  position: relative;
  background: linear-gradient(180deg, #f5fafb 0%, var(--bg-alt) 45%, var(--bg-alt) 100%);
  border-top: 1px solid rgba(var(--primary-rgb), 0.07);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.06);
}
.treatment-section .section-header {
  margin-bottom: 22px;
}
.treatment-section .section-title {
  letter-spacing: -0.03em;
}

/* Unified segmented navigation band — primary focal point */
.treatment-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 36px;
  padding: 10px;
  background: linear-gradient(165deg, rgba(var(--primary-rgb), 0.11) 0%, rgba(var(--primary-rgb), 0.05) 55%, rgba(255, 255, 255, 0.55) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 6px 28px rgba(var(--primary-rgb), 0.09),
    0 1px 3px rgba(var(--primary-rgb), 0.05);
}

.tab-btn {
  position: relative;
  z-index: 0;
  flex: 1 1 min(128px, 100%);
  margin: 0;
  padding: 17px 16px 18px;
  min-height: 56px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: center;
  color: var(--text);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 2px rgba(var(--primary-rgb), 0.04);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
}
.tab-btn:hover:not(.active) {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(var(--primary-rgb), 0.22);
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.08);
}
.tab-btn.active {
  z-index: 1;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(165deg, var(--primary-soft) 0%, var(--primary) 42%, var(--primary-dark) 100%);
  box-shadow:
    0 4px 18px rgba(var(--primary-rgb), 0.32),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transform: translateY(-1px);
}
.tab-btn:focus-visible {
  outline: 2px solid var(--primary-soft);
  outline-offset: 3px;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Secondary: supporting copy + links below the tab system */
.treatment-body {
  padding: 4px 0 4px;
  margin: 0;
  max-width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.97;
}

.treatment-intro {
  margin: 0 0 20px;
  padding: 2px 0 2px 16px;
  max-width: 48rem;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 400;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 0;
  border-left: 2px solid rgba(var(--primary-rgb), 0.28);
  box-shadow: none;
}

.treatment-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 0;
  column-gap: 24px;
  row-gap: 0;
  padding-top: 0;
  border-top: 1px solid rgba(var(--primary-rgb), 0.06);
}

.treatment-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  padding: 14px 0 16px;
  min-height: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.055);
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  overflow: visible;
}
.treatment-item::before {
  display: none;
}
.treatment-item:hover {
  background: rgba(var(--primary-rgb), 0.025);
  border-color: rgba(var(--primary-rgb), 0.055);
  box-shadow: none;
  transform: none;
}
.treatment-item:hover .ti-title {
  color: var(--primary-soft);
}

.ti-icon {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 20px;
  line-height: 1;
  border-radius: 9px;
  background: rgba(var(--primary-rgb), 0.06);
  border: none;
  box-shadow: none;
  opacity: 0.92;
}
.ti-icon svg {
  display: block;
  flex-shrink: 0;
}
.ti-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gray-2);
  line-height: 1.35;
}
.ti-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-3);
  line-height: 1.45;
}

.treatment-footnote {
  margin-top: 16px;
  padding: 0 0 0 12px;
  max-width: 44rem;
  font-size: 12px;
  color: var(--gray-3);
  line-height: 1.6;
  background: transparent;
  border: none;
  border-radius: 0;
  border-left: 2px solid rgba(var(--primary-rgb), 0.15);
}

@media (max-width: 900px) {
  .treatment-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    margin-bottom: 28px;
  }
  .tab-btn {
    min-height: 52px;
    padding: 14px 12px 15px;
    font-size: 14px;
    border-radius: 11px;
  }
  .tab-btn.tab-btn--mobile-featured {
    grid-column: 1 / -1;
    min-height: 56px;
    padding: 16px 14px;
    font-size: 15px;
    font-weight: 700;
  }
  .tab-btn.active {
    transform: none;
  }
  .treatment-body {
    padding: 0 0 2px;
  }
  .treatment-intro {
    padding-left: 14px;
    font-size: 14px;
    margin-bottom: 18px;
  }
  .treatment-items {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

@media (min-width: 901px) {
  .treatment-items--clinic-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 초음파센터 소개 보조 */
.us-center-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.us-center-lead {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}
.us-center-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.us-center-list a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: background var(--transition), border-color var(--transition);
}
.us-center-list a:hover {
  background: #fff;
  border-color: var(--primary);
}
.us-center-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}
.us-probe-box {
  padding: 20px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.us-probe-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.us-probe-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* =============================================
   MEDICAL CASE (의학사례)
   ============================================= */
/* Soft brand-tinted band: lighter than --primary-light (facility), gentle separation from FAQ white */
.case-section {
  background: linear-gradient(
    180deg,
    #fcfdfe 0%,
    rgba(234, 243, 244, 0.42) 52%,
    #f3f8f9 100%
  );
  box-shadow: inset 0 1px 0 rgba(var(--primary-rgb), 0.05);
}
.case-cta {
  display: flex;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}
.case-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(var(--primary-rgb), 0.08);
  transition: border-color var(--transition), box-shadow var(--transition), color var(--transition), background var(--transition);
}
.case-cta__link:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  background: var(--primary-light);
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
}
.case-cta__link:focus-visible {
  outline: 2px solid var(--primary-soft);
  outline-offset: 3px;
}
.case-cta__text { flex: 1; text-align: center; }
.case-cta__arrow {
  flex-shrink: 0;
  font-size: 1.15em;
  opacity: 0.75;
  transition: transform 0.2s ease, opacity var(--transition);
}
.case-cta__link:hover .case-cta__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* =============================================
   FAQ
   ============================================= */
.faq-section { background: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--gray-5);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-size: 15px; font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: background var(--transition);
}
.faq-item.open .faq-q { background: var(--primary-light); color: var(--primary); }
.faq-q-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--gray-6);
  color: var(--primary);
  border-radius: 50%;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq-item.open .faq-q-num { background: var(--primary); color: #fff; }
.faq-q-arrow {
  margin-left: auto;
  font-size: 14px;
  transition: transform var(--transition);
  color: var(--gray-3);
}
.faq-item.open .faq-q-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  display: none;
  padding: 20px 24px 24px 68px;
  font-size: 14px; color: var(--gray-2); line-height: 1.8;
  background: #fff;
  border-top: 1px solid var(--gray-5);
}
.faq-item.open .faq-a { display: block; }

/* =============================================
   FACILITY — photo gallery (main + thumbnails)
   ============================================= */
.facility-section {
  background: var(--primary-light);
}
#facility.facility-section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
/* Internal page: same gallery as homepage, tighter vertical rhythm inside .sub-content */
section.facility-section--subpage {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(48px, 8vw, 88px);
}
.facility-gallery {
  max-width: 1080px;
  margin: 0 auto;
}
.facility-gallery__stage {
  margin: 0;
}
.facility-gallery__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-6);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.facility-gallery__main-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.38s cubic-bezier(0.25, 0.1, 0.22, 1);
}
.facility-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.94);
}
.facility-gallery__nav--prev {
  left: 16px;
}
.facility-gallery__nav--next {
  right: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .facility-gallery__main-img {
    transition: none;
  }
}
.facility-gallery__caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-2);
}
.facility-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.facility-gallery__thumb {
  flex: 0 0 auto;
  width: calc((100% - 7 * 10px) / 8);
  min-width: 72px;
  max-width: 120px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(var(--primary-rgb), 0.06);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    opacity var(--transition),
    transform 0.2s ease;
  opacity: 0.82;
}
.facility-gallery__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.facility-gallery__thumb:hover {
  opacity: 1;
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.12);
}
.facility-gallery__thumb:focus {
  outline: none;
}
.facility-gallery__thumb:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.facility-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.2);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .facility-gallery__thumb {
    width: calc((100% - 3 * 10px) / 4);
    max-width: none;
  }
}
@media (max-width: 600px) {
  .facility-gallery__thumbs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 6px;
    margin-top: 16px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .facility-gallery__thumb {
    width: 88px;
    min-width: 88px;
    scroll-snap-align: start;
  }
  .facility-gallery__nav {
    width: 38px;
    height: 38px;
  }
  .facility-gallery__nav--prev {
    left: 10px;
  }
  .facility-gallery__nav--next {
    right: 10px;
  }
}

/* =============================================
   LOCATION
   ============================================= */
.location-section { background: #fff; }
#location {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.location-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  gap: 48px 56px;
  align-items: start;
}
.location-map-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.location-map-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.location-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  border-radius: 8px;
  border: none;
  transition: filter var(--transition), opacity var(--transition), transform 0.15s ease;
  box-shadow: none;
}
.location-map-btn__text {
  white-space: nowrap;
}
.location-map-btn__mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-map-btn__mark--naver {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.location-map-btn--naver {
  background: #03c75a;
  color: #fff;
}
.location-map-btn--naver:hover {
  filter: brightness(0.95);
  opacity: 1;
}
.location-map-btn--naver:focus-visible {
  outline: 2px solid #027a48;
  outline-offset: 2px;
}
.location-map-btn--kakao {
  background: #fee500;
  color: #191919;
}
.location-map-btn__mark--kakao {
  opacity: 0.92;
}
.location-map-btn__kakao-svg {
  display: block;
}
.location-map-btn--kakao:hover {
  filter: brightness(0.97);
}
.location-map-btn--kakao:focus-visible {
  outline: 2px solid #c4a900;
  outline-offset: 2px;
}
.map-placeholder {
  height: 400px;
  background: var(--gray-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--gray-3);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}
.kakao-map {
  width: 100%;
  height: 100%;
}
.kakao-map__fallback {
  padding: 24px;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}
.location-info {
  padding: 0;
}
.location-info__row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
  align-items: start;
}
.location-info__row:first-child {
  padding-top: 0;
}
.location-info__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.location-info__icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
  color: var(--primary-soft);
  opacity: 0.88;
}
.location-info__svg {
  width: 18px;
  height: 18px;
  display: block;
}
.location-info__body {
  min-width: 0;
}
.location-info__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gray-2);
  margin-bottom: 5px;
}
.location-info__value {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
}
@media (max-width: 480px) {
  .location-map-actions {
    gap: 6px;
  }
  .location-map-btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark-2);
  color: rgba(255,255,255,.72);
  padding: 56px 0 40px;
}
.footer-upper {
  text-align: center;
  padding-bottom: 36px;
}
.footer-tagline {
  max-width: min(48rem, 100%);
  margin: 0 auto 28px;
  font-size: clamp(17px, 2.1vw, 20px);
  font-weight: 600;
  color: #fff;
  line-height: 1.75;
}
.footer-slogan-mobile,
.footer-info-mobile {
  display: none;
}
.footer-brand-centered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-clinic-name {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.footer-divider {
  border: none;
  height: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.12);
}
.footer-lower {
  text-align: center;
  padding: 28px 0 8px;
}
.footer-business {
  max-width: min(48rem, 100%);
  margin: 0 auto;
}
.footer-business__line,
.footer-business__addr {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.58);
  font-weight: 400;
}
.footer-business__line {
  margin-bottom: 6px;
}
.footer-business__sep {
  display: inline-block;
  margin: 0 0.35em;
  color: rgba(255,255,255,.28);
  font-weight: 300;
}
.footer-business__addr {
  color: rgba(255,255,255,.62);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 20px;
  padding-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  margin: 0;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}
.footer-links a { font-size: 12px; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* =============================================
   SUB PAGE COMMON (껍데기)
   ============================================= */
.sub-hero {
  height: 320px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  display: flex; align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}
.sub-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sub-hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  text-align: center;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.3); }
.sub-hero h1 {
  font-size: clamp(36px, 4.2vw, 46px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-align: center;
}
.sub-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  line-height: 1.55;
  max-width: min(44rem, 100%);
  margin-left: auto;
  margin-right: auto;
}
/* Category banner: keep title + tagline visually stable (no motion / no inherited reveal) */
.sub-hero h1,
.sub-hero p {
  animation: none;
  transition: none;
  transform: none;
}

.sub-nav {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  box-shadow: 0 1px 0 rgba(var(--primary-rgb), 0.04);
}
.sub-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
}
.sub-nav-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-secondary);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
}
.sub-nav-item:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.1);
  transform: translateY(-1px);
}
.sub-nav-item.active {
  color: #fff;
  background: linear-gradient(165deg, var(--primary-soft) 0%, var(--primary) 42%, var(--primary-dark) 100%);
  border-color: transparent;
  font-weight: 600;
  box-shadow:
    0 2px 12px rgba(var(--primary-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: none;
}
.sub-nav-item.active:hover {
  color: #fff;
  background: linear-gradient(165deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  box-shadow:
    0 4px 16px rgba(var(--primary-rgb), 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
.sub-nav-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.sub-nav-item.active:focus-visible {
  outline-color: #fff;
}

.sub-content {
  max-width: 1280px; margin: 0 auto;
  padding: 60px 32px;
}
.content-placeholder {
  background: var(--gray-7);
  border: 2px dashed var(--gray-4);
  border-radius: var(--radius-lg);
  padding: 80px;
  text-align: center;
  color: var(--gray-3);
}
.content-placeholder .ph-icon { font-size: 48px; margin-bottom: 16px; }
.content-placeholder h2 { font-size: 20px; font-weight: 600; color: var(--gray-2); margin-bottom: 8px; }
.content-placeholder p { font-size: 14px; }

/* ---- Subpage: full-bleed detail (위내시경 등) ---- */
.sub-content--detail {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* =============================================
   위내시경 상세 (gastroscopy) — gs- 접두어
   ============================================= */
.gs-page {
  --gs-highlight: #c9a227;
  --gs-warn: #c94c4c;
}

.gs-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.gs-inner--narrow { max-width: 720px; }
.gs-inner--split {
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.gs-section {
  position: relative;
}

.gs-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-3);
  text-align: center;
  margin-bottom: 12px;
}
.gs-eyebrow--on-dark { color: rgba(255, 255, 255, 0.55); }

.gs-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.35;
}
.gs-title--hero {
  margin-bottom: 28px;
}
.gs-title--on-dark {
  color: #fff;
}
.gs-title__bracket { color: var(--text); font-weight: 600; }
.gs-title__main { color: var(--primary); font-weight: 800; }
.gs-title__mark {
  background: linear-gradient(transparent 58%, rgba(201, 162, 39, 0.35) 58%, rgba(201, 162, 39, 0.35) 88%, transparent 88%);
  padding: 0 0.06em;
}

/* --- Section 1 Intro --- */
.gs-intro {
  padding: clamp(56px, 8vw, 88px) 0 clamp(48px, 7vw, 72px);
  background: var(--white);
}
.gs-intro__accent {
  width: 2px;
  height: 36px;
  background: linear-gradient(180deg, var(--primary), var(--primary-soft));
  margin: 0 auto 20px;
  border-radius: 2px;
}
.gs-intro__icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.gs-intro__icon-ring {
  width: min(200px, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.gs-intro__stomach-svg,
.gs-intro__colon-svg,
.pp-intro__svg,
.tu-intro__svg,
.ca-intro__svg,
.ab-intro__svg,
.hu-intro__svg,
.nc-intro__svg,
.emp-intro__svg,
.phc-intro__svg {
  width: 70%;
  height: 70%;
  color: var(--primary);
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.gs-intro__stomach-svg {
  width: 74%;
  height: 74%;
}
.gs-intro__colon-svg {
  width: 74%;
  height: 74%;
}
.pp-intro__emph {
  color: var(--primary-dark);
  font-weight: 600;
}

/* =============================================
   용종절제술 (polypectomy) — pp- 접두어
   ============================================= */
.pp-page .pp-section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.pp-pair {
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-alt) 100%);
}
.pp-pair__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  max-width: 920px;
  margin: 0 auto;
}
.pp-type-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.pp-type-card__media {
  position: relative;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.pp-type-card__media > .gs-ph-img__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.pp-type-card__media--stomach {
  background:
    radial-gradient(circle at 55% 45%, rgba(255, 160, 80, 0.2) 0%, transparent 45%),
    linear-gradient(160deg, var(--primary-light) 0%, #d0e4e8 100%);
}
.pp-type-card__media--colon {
  background:
    radial-gradient(circle at 40% 50%, rgba(255, 120, 90, 0.15) 0%, transparent 40%),
    linear-gradient(145deg, #c5d8dd 0%, #e8f2f4 100%);
}
.pp-type-card__body {
  padding: clamp(22px, 4vw, 32px);
  background: linear-gradient(155deg, var(--primary-dark) 0%, var(--primary) 52%, #083a44 100%);
  color: rgba(255, 255, 255, 0.94);
}
.pp-type-card__subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #f0d78c;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.pp-type-card__body p {
  font-size: 15px;
  line-height: 1.82;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.pp-importance__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.pp-importance__media {
  min-height: 280px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(220, 100, 90, 0.18) 0%, transparent 55%),
    linear-gradient(165deg, #e8d8d5 0%, #d5e6ea 45%, #b8ccd2 100%);
}
.pp-importance__panel {
  padding: clamp(28px, 5vw, 44px);
  background: linear-gradient(165deg, #0a3a42 0%, var(--primary-dark) 35%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.94);
}
.pp-importance__title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: #f0d78c;
  margin-bottom: 18px;
  line-height: 1.35;
}
.pp-importance__panel p {
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}
.pp-importance__panel p + p {
  margin-top: 1em;
}
.pp-importance__panel strong {
  color: #fff;
  font-weight: 600;
}

.pp-sameday {
  background: var(--white);
  padding-bottom: clamp(56px, 9vw, 88px);
}
.pp-sameday__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
  margin-top: 8px;
}
.pp-sameday__hook {
  font-size: clamp(19px, 2.8vw, 22px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.4;
}
.pp-sameday__lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.pp-num-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}
.pp-num-list__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
}
.pp-num-list__n {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(var(--primary-rgb), 0.35);
  font-variant-numeric: tabular-nums;
}
.pp-num-list__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  padding-top: 2px;
}
.pp-sameday__photo .gs-ph-img {
  border-radius: var(--radius-lg);
}

.pp-precautions {
  background: var(--bg-soft);
  padding-top: clamp(48px, 7vw, 72px);
  padding-bottom: clamp(56px, 8vw, 88px);
}

/* 용종절제술 — responsive */
@media (max-width: 1024px) {
  .pp-type-card {
    grid-template-columns: 1fr;
  }
  .pp-type-card__media {
    min-height: 180px;
  }
  .pp-importance__inner {
    grid-template-columns: 1fr;
  }
  .pp-importance__media {
    min-height: 220px;
    order: 1;
  }
  .pp-importance__panel {
    order: 2;
  }
  .pp-sameday__grid {
    grid-template-columns: 1fr;
  }
  .pp-sameday__photo {
    order: 2;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .pp-sameday__copy {
    order: 1;
  }
}
@media (max-width: 768px) {
  .pp-num-list__item {
    grid-template-columns: 40px 1fr;
    gap: 10px 12px;
    padding: 14px 0;
  }
  .pp-num-list__n {
    font-size: 17px;
  }
  .pp-num-list__text {
    font-size: 14px;
  }
  .pp-sameday__lead {
    font-size: 14px;
  }
}

/* =============================================
   갑상선초음파 (thyroid ultrasound) — tu- 접두어
   ============================================= */
.tu-page .tu-section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.tu-importance {
  background: var(--bg-alt);
}
.tu-importance .pp-importance__inner {
  margin-top: 0;
}
.tu-importance__media {
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 42% at 50% 44%, rgba(255, 150, 100, 0.45) 0%, transparent 58%),
    linear-gradient(175deg, #0f2f38 0%, #1a4d5a 40%, var(--primary) 100%);
}
.tu-importance__media > .gs-ph-img__photo {
  min-height: 280px;
}

/* =============================================
   경동맥초음파 (carotid ultrasound) — ca- 접두어
   ============================================= */
.ca-page .ca-section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.ca-importance {
  background: var(--bg-alt);
}
.ca-importance .pp-importance__inner {
  margin-top: 0;
}
.ca-importance__media {
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 45% 40%, rgba(255, 95, 80, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 45% 38% at 72% 58%, rgba(190, 45, 52, 0.18) 0%, transparent 50%),
    linear-gradient(168deg, #1a0f12 0%, #3a1c20 36%, #143a42 70%, var(--primary) 100%);
}
.ca-importance__media > .gs-ph-img__photo {
  min-height: 280px;
}
.ca-strengths {
  background: var(--white);
  padding-bottom: clamp(56px, 9vw, 88px);
}
.ca-ph-patient {
  background:
    linear-gradient(168deg, rgba(95, 75, 70, 0.1) 0%, transparent 48%),
    linear-gradient(145deg, #d8e2e4 0%, #eef4f5 100%);
}
.ca-ph-equip {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 40%),
    linear-gradient(155deg, #c8d9dd 0%, #e8f2f4 100%);
}

/* =============================================
   복부초음파 (abdominal ultrasound) — ab- 접두어
   ============================================= */
.ab-page .ab-section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.ab-importance {
  background: var(--bg-alt);
}
.ab-importance .pp-importance__inner {
  margin-top: 0;
}
.ab-importance__media {
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 52% at 48% 40%, rgba(255, 130, 70, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 32% 28% at 52% 36%, rgba(210, 55, 45, 0.28) 0%, transparent 52%),
    linear-gradient(168deg, #0c2830 0%, #164a55 42%, var(--primary) 88%);
}
.ab-importance__media > .gs-ph-img__photo {
  min-height: 280px;
}
.ab-strengths {
  background: var(--white);
  padding-bottom: clamp(56px, 9vw, 88px);
}
.ab-ph-patient {
  background:
    linear-gradient(168deg, rgba(var(--primary-rgb), 0.06) 0%, transparent 46%),
    linear-gradient(145deg, var(--border-soft) 0%, var(--bg-section) 100%);
}
.ab-ph-equip {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 40%),
    linear-gradient(155deg, #c8d9dd 0%, #e8f2f4 100%);
}

/* =============================================
   심장초음파 (echocardiography) — hu- 접두어
   ============================================= */
.hu-page .hu-section {
  padding: clamp(48px, 7vw, 80px) 0;
}
.hu-importance {
  background: var(--bg-alt);
}
.hu-importance .pp-importance__inner {
  margin-top: 0;
}
.hu-importance__media {
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(230, 90, 95, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 40% 35% at 46% 48%, rgba(255, 160, 130, 0.2) 0%, transparent 52%),
    linear-gradient(168deg, #0f2a32 0%, #164a55 48%, var(--primary) 100%);
}
.hu-importance__media > .gs-ph-img__photo {
  min-height: 280px;
}
.hu-strengths {
  background: var(--white);
  padding-bottom: clamp(56px, 9vw, 88px);
}
.hu-ph-patient {
  background:
    linear-gradient(168deg, rgba(var(--primary-rgb), 0.07) 0%, transparent 46%),
    linear-gradient(145deg, #dce6e9 0%, #f2f8f9 100%);
}
.hu-ph-equip {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 40%),
    linear-gradient(155deg, #c8d9dd 0%, #e8f2f4 100%);
}

/* =============================================
   국가종합검진 (5대암) — nc- 접두어
   ============================================= */
.nc-page .nc-section {
  padding: clamp(48px, 7vw, 80px) 0;
}
/* Narrower pills + responsive type on small screens only — desktop uses same scale as other sub-nav */
@media (max-width: 1199px) {
  .sub-nav--checkup .sub-nav-inner {
    flex-wrap: wrap;
    gap: 8px 10px;
    justify-content: center;
  }
  .sub-nav--checkup .sub-nav-item {
    padding: 10px 14px;
    font-size: clamp(13px, 2.5vw, 15px);
  }
}
.nc-eligible {
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-page) 100%);
}
.nc-eligible__grid {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-sm);
}
.nc-eligible__row {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
}
.nc-eligible__row:last-child {
  border-bottom: none;
}
.nc-eligible__label {
  background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nc-eligible__desc {
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  padding: 16px 18px;
}
.nc-eligible__note {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
  color: #b54545;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.nc-table-section {
  background: var(--white);
}
.nc-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 28px;
}
.nc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -8px;
  padding: 0 8px;
}
.nc-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  background: var(--white);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.nc-table thead th {
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nc-table tbody th.nc-table__cat {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  width: 22%;
  padding: 14px 10px;
}
.nc-table td {
  padding: 14px 14px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  vertical-align: top;
  color: var(--text);
}
.nc-table tbody tr:first-child td {
  border-top: none;
}
.nc-cancer {
  background: var(--bg-alt);
}
.nc-cancer--alt {
  background: var(--white);
}
.nc-cancer .gs-title {
  margin-bottom: 12px;
}
.nc-cancer__title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 22px;
}
.nc-cancer__media {
  position: relative;
  max-width: 720px;
  margin: 0 auto 24px;
  border-radius: 999px;
  min-height: 180px;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  overflow: hidden;
  background: #0f2f38;
}
.nc-cancer__photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nc-cancer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.nc-cancer__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  min-width: 140px;
  max-width: 300px;
  flex: 1 1 200px;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: #fff;
  background: linear-gradient(165deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.22);
}
.nc-cancer .gs-checklist {
  max-width: 800px;
  margin: 0 auto;
}
.nc-prec {
  padding-bottom: clamp(56px, 9vw, 88px);
}

@media (max-width: 640px) {
  .nc-eligible__row {
    grid-template-columns: 1fr;
  }
  .nc-eligible__label {
    padding: 12px;
  }
  .nc-eligible__desc {
    border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  }
}

/* =============================================
   채용검진 — emp- 접두어
   ============================================= */
.emp-page .emp-section:not(.gs-intro) {
  padding: clamp(48px, 7vw, 80px) 0;
}
.emp-table-section {
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-page) 100%);
}
.emp-table-section .gs-title {
  margin-bottom: clamp(20px, 4vw, 32px);
}
.emp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -8px;
  padding: 0 8px;
}
.emp-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.65;
  background: var(--white);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.emp-table thead th {
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
}
.emp-table thead th:first-child {
  width: 28%;
}
.emp-table tbody th.emp-table__cat {
  color: #fff;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  padding: 18px 14px;
  font-size: 15px;
  line-height: 1.45;
}
.emp-table__cat--general {
  background: linear-gradient(165deg, #1e5a66 0%, var(--primary) 100%);
}
.emp-table__cat--civil {
  background: linear-gradient(165deg, #6a9da8 0%, #8eb8c2 100%);
  color: var(--primary-dark) !important;
}
.emp-table td {
  padding: 18px 20px;
  vertical-align: top;
  color: var(--text);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  background: var(--white);
}
.emp-table tbody tr:first-child td {
  border-top: none;
}
.emp-table__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.emp-table__list li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.65em;
}
.emp-table__list li:last-child {
  margin-bottom: 0;
}
.emp-table__list li::before {
  content: "–";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--primary-dark);
}
.emp-table__para {
  margin: 0;
  line-height: 1.75;
  color: var(--text-secondary);
}
.emp-table__note {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.emp-prec-last {
  padding-bottom: clamp(56px, 9vw, 88px);
}

@media (max-width: 720px) {
  .emp-table {
    min-width: 0;
  }
  .emp-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .emp-table tbody tr {
    display: block;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  }
  .emp-table tbody tr:last-child {
    border-bottom: none;
  }
  .emp-table tbody th.emp-table__cat,
  .emp-table tbody td {
    display: block;
    width: 100%;
    border-top: none;
  }
  .emp-table tbody th.emp-table__cat {
    border-radius: 0;
  }
  .emp-table tbody td {
    padding-top: 16px;
  }
}

/* =============================================
   개인종합검진 — phc- 접두어
   ============================================= */
.phc-process-section {
  background: linear-gradient(180deg, #f0f7f8 0%, var(--white) 100%);
}
.phc-process-section .gs-title {
  margin-bottom: clamp(24px, 4vw, 36px);
}
.phc-process {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phc-process__item {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 26px);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  box-shadow: 0 2px 16px rgba(var(--primary-rgb), 0.06);
  border-left: 4px solid var(--primary);
}
.phc-process__rail {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 100px;
}
.phc-process__step {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #9a7b2d;
  text-transform: uppercase;
}
.phc-process__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(165deg, var(--primary-light) 0%, #fff 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}
.phc-process__body {
  flex: 1;
  min-width: 0;
}
.phc-process__title {
  font-size: clamp(17px, 2.2vw, 19px);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 8px;
  line-height: 1.4;
}
.phc-process__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.phc-features-section {
  background: var(--white);
}
.phc-features-section .gs-title {
  margin-bottom: 16px;
}
.phc-features__lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
}
.phc-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  max-width: 960px;
  margin: 0 auto;
}
.phc-feature {
  position: relative;
  min-height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}
.phc-feature__bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0f3038;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  pointer-events: none;
}
.phc-feature__overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.phc-feature--equip .phc-feature__bg {
  background-image: url("../img/checkup/general/general1.png");
}
.phc-feature--custom .phc-feature__bg {
  background-image: url("../img/checkup/general/general2.png");
}
.phc-feature--staff .phc-feature__bg {
  background-image: url("../img/checkup/general/general3.png");
}
.phc-feature--care .phc-feature__bg {
  background-image: url("../img/checkup/general/general4.png");
}
.phc-feature__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
}
.phc-feature__title {
  margin: 0 0 8px;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.phc-feature__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.phc-features__note {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.phc-prec-last {
  padding-bottom: clamp(56px, 9vw, 88px);
}

@media (max-width: 720px) {
  .phc-features {
    grid-template-columns: 1fr;
  }
  .phc-process__item {
    flex-direction: column;
    align-items: stretch;
  }
  .phc-process__rail {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
  }
  .phc-process__step {
    min-width: 4.5em;
  }
}

.tu-process {
  background: var(--white);
}
.tu-process__flow {
  max-width: 680px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.tu-process__card {
  padding: clamp(22px, 4vw, 32px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.tu-process__card--1 {
  background: linear-gradient(168deg, var(--primary-dark) 0%, #0c4550 100%);
  color: #fff;
}
.tu-process__card--2 {
  background: linear-gradient(168deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: #fff;
}
.tu-process__card--3 {
  background: linear-gradient(168deg, #d8eaed 0%, var(--primary-light) 55%, #f2f9fa 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-sm);
}
.tu-process__step-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
}
.tu-process__card--3 .tu-process__step-label {
  color: var(--primary-dark);
  opacity: 0.75;
}
.tu-process__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.96);
}
.tu-process__card--3 .tu-process__text {
  color: var(--text-secondary);
}
.tu-process__chev {
  align-self: center;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  margin: 2px 0;
  flex-shrink: 0;
}
.tu-process__card--1 + .tu-process__chev {
  border-top: 14px solid #0c4550;
}
.tu-process__card--2 + .tu-process__chev {
  border-top: 14px solid var(--primary-soft);
}

.tu-strengths {
  background: var(--white);
  padding-bottom: clamp(56px, 9vw, 88px);
}
.tu-ph-neck {
  background:
    linear-gradient(165deg, rgba(var(--primary-rgb), 0.07) 0%, transparent 45%),
    linear-gradient(145deg, #e5eef1 0%, #f6fafb 100%);
}
.tu-ph-equip {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 40%),
    linear-gradient(155deg, #c8d9dd 0%, #e8f2f4 100%);
}

@media (max-width: 768px) {
  .tu-process__text {
    font-size: 14px;
  }
  .tu-process__card {
    text-align: left;
  }
}

.gs-intro__text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.85;
}
.gs-intro__text p + p { margin-top: 1.1em; }

/* --- Section 2 Diseases --- */
.gs-diseases {
  padding: clamp(56px, 8vw, 88px) 0;
  overflow: hidden;
}
.gs-diseases__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 140, 80, 0.06) 0%, transparent 55%),
    linear-gradient(165deg, #0a3038 0%, var(--primary) 45%, var(--primary-deep) 100%);
  z-index: 0;
}
.gs-diseases__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 20v80M20 60h80' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}
.gs-diseases > .gs-inner { position: relative; z-index: 1; }

.gs-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 18px;
  max-width: 960px;
  margin: 0 auto;
}
.gs-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Keep pill-like character, but reduce "button list" feel */
  flex: 0 1 220px;
  max-width: 240px;
  min-height: 80px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095) 0%, rgba(255, 255, 255, 0.07) 100%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: default;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .gs-pill:hover {
    transform: translateY(-2px);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.09) 100%);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
      0 11px 26px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }
}

/* --- Section 3 Candidates --- */
.gs-candidates {
  padding: clamp(56px, 8vw, 88px) 0;
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-page) 100%);
}
.gs-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  margin-bottom: 32px;
}
.gs-ph-img {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary-light) 0%, #dde8ea 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.gs-ph-img__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gs-ph-img--cand {
  aspect-ratio: 4 / 5;
  max-height: 420px;
  margin: 0 auto;
  width: 100%;
  background:
    linear-gradient(160deg, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
    linear-gradient(145deg, #d5e4e7 0%, #eef6f7 100%);
}
.gs-ph-img--endo {
  aspect-ratio: 5 / 4;
  min-height: 260px;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, transparent 45%),
    linear-gradient(160deg, #c8d9dd 0%, #e8f2f4 100%);
}
.gs-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gs-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.gs-checklist__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gs-checklist__icon svg { display: block; }
.gs-note {
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}
.gs-mark {
  background: linear-gradient(transparent 62%, rgba(201, 162, 39, 0.38) 62%);
  font-weight: 600;
  color: var(--primary-dark);
  padding: 0 2px;
}

/* --- Section 4 Interval --- */
.gs-interval__hero {
  position: relative;
  padding: clamp(48px, 8vw, 72px) 24px;
  background:
    linear-gradient(120deg, rgba(10, 48, 56, 0.92) 0%, rgba(var(--primary-rgb), 0.88) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cfilter id='b'%3E%3CfeGaussianBlur stdDeviation='40'/%3E%3C/filter%3E%3Ccircle cx='200' cy='200' r='120' fill='%23006a70' filter='url(%23b)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}
.gs-interval__hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.gs-interval__lead {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1em;
}
.gs-interval__lead:last-child { margin-bottom: 0; }
.gs-highlight {
  color: #f0d78c;
  font-weight: 700;
}

.gs-interval__split {
  padding: clamp(48px, 7vw, 72px) 0;
  background: var(--bg-alt);
}
.gs-interval__visual {
  display: flex;
  justify-content: center;
}
.gs-interval__illu {
  width: min(280px, 72vw);
  color: var(--primary);
}
.gs-interval__illu--photo {
  aspect-ratio: 200 / 220;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0f2f38;
  box-shadow: var(--shadow-md);
}
.gs-interval__illu--photo > .gs-ph-img__photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.gs-interval__svg { width: 100%; height: auto; display: block; }
.gs-interval__copy {
  background: var(--white);
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.gs-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--gs-highlight);
  margin-bottom: 16px;
}
.gs-interval__copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.gs-interval__copy p + p { margin-top: 1em; }

/* --- Section 5 Special --- */
.gs-special {
  padding: clamp(48px, 7vw, 72px) 0 0;
  background: var(--white);
}
.gs-special__banner {
  margin: 28px 0 0;
  padding: clamp(36px, 6vw, 52px) 24px;
  background:
    linear-gradient(90deg, rgba(10, 52, 60, 0.92) 0%, rgba(var(--primary-rgb), 0.85) 100%),
    linear-gradient(135deg, #0a3038 0%, var(--primary) 100%);
  text-align: center;
}
.gs-special__hook {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
}
.gs-special__hook em {
  font-style: normal;
  color: #f0d78c;
  font-weight: 800;
}
.gs-special__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1fr);
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
  padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 88px);
}
.gs-special__text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.gs-trust-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gs-trust-pills li {
  position: relative;
  padding: 14px 18px 14px 28px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
}
.gs-trust-pills li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

/* --- Section 6 Steps --- */
.gs-steps {
  padding: clamp(56px, 8vw, 88px) 0;
  background: linear-gradient(180deg, #f0f7f8 0%, var(--white) 100%);
}
.gs-step-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 8px 4px;
  max-width: 1100px;
  margin: 0 auto;
}
.gs-step {
  flex: 0 1 200px;
  text-align: center;
  padding: 8px 6px;
}
.gs-step__ring {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 3px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(var(--primary) 0deg 90deg, #d5e2e5 90deg 360deg) border-box;
  box-shadow: var(--shadow-sm);
}
.gs-step__ring::before {
  content: attr(data-step-text);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #2f5ea8;
}
.gs-step__ring::after {
  content: attr(data-step-name);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-dark);
}
.gs-step__ring[data-step="2"] {
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(var(--primary) 0deg 180deg, #d5e2e5 180deg 360deg) border-box;
}
.gs-step__ring[data-step="3"] {
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(var(--primary) 0deg 270deg, #d5e2e5 270deg 360deg) border-box;
}
.gs-step__ring[data-step="4"] {
  background: #fff;
  border: 3px solid var(--primary);
}
.gs-step__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.gs-step__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 220px;
  margin: 0 auto;
}
.gs-step__arrow {
  flex: 0 0 auto;
  align-self: center;
  padding: 0 2px;
  font-size: 18px;
  color: var(--primary-soft);
  opacity: 0.7;
  margin-top: 28px;
}

/* --- Sections 7 & 8 Precautions --- */
.gs-precautions {
  padding: clamp(48px, 7vw, 72px) 0;
}
.gs-precautions--fast {
  background: var(--bg-soft);
}
.gs-precautions--after {
  background: #f4f6f7;
}
.gs-caution-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e85a5a 0%, #c94c4c 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 56px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(201, 76, 76, 0.35);
}
.gs-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.gs-panel--alt {
  border-color: rgba(var(--primary-rgb), 0.1);
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.07);
}
.gs-panel__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
}
.gs-panel__list li:last-child { border-bottom: none; }
.gs-panel__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* 위내시경 — responsive */
@media (max-width: 1024px) {
  .gs-pill {
    max-width: calc(50% - 10px);
    flex: 0 1 320px;
  }
  .gs-split {
    grid-template-columns: 1fr;
  }
  .gs-split__visual {
    max-width: 400px;
    margin: 0 auto;
  }
  .gs-inner--split {
    grid-template-columns: 1fr;
  }
  .gs-interval__visual { order: 1; }
  .gs-interval__copy { order: 2; }
  .gs-special__grid {
    grid-template-columns: 1fr;
  }
  .gs-special__photo { order: 2; }
  .gs-special__text { order: 1; }
  .gs-step-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .gs-step {
    flex: 1 1 auto;
    max-width: 360px;
    margin: 0 auto;
  }
  .gs-step__arrow {
    transform: rotate(90deg);
    margin: 4px auto;
  }
}
@media (max-width: 768px) {
  .gs-inner { padding: 0 20px; }
  .gs-pill-grid { gap: 12px; }
  .gs-pill {
    max-width: 100%;
    flex: 1 1 100%;
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow:
      0 6px 14px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .gs-checklist__item {
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 14px;
  }
  .gs-interval__lead { font-size: 15px; }
  .gs-trust-pills li {
    border-radius: var(--radius);
    padding-left: 22px;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .gnb { display: none; }
  .btn-menu { display: flex; }
  .trust-block { grid-template-columns: 1fr; gap: 40px; }
  /* 스택 레이아웃: 항상 본문 → 이미지 순 (01·02·03 동일) */
  .trust-block .trust-text { order: 1; }
  .trust-block .trust-photos { order: 2; }
  .doctor-layout-wrap {
    max-width: none;
  }
  .doctor-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
  }
  .doctor-profile {
    position: static;
    width: 100%;
    max-width: min(340px, 88vw);
    margin: 0 auto;
  }
  .doctor-info {
    max-width: min(28rem, 100%);
    margin: 0 auto;
    text-align: center;
    padding-top: 0;
  }
  .doctor-heading {
    margin-bottom: 28px;
    font-size: clamp(24px, 6vw, 30px);
    text-align: center;
  }
  #doctor .doctor-heading {
    font-size: clamp(17px, 4.2vw, 21px);
  }
  .doctor-credentials {
    text-align: left;
  }
  .doctor-credentials__label,
  .doctor-credentials__label--sub {
    text-align: center;
  }
  .doctor-creds-block--secondary {
    margin-top: 24px;
  }
  #doctor .doctor-creds-block--secondary {
    margin-top: 23px;
  }
  .location-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --quickbar-mobile-h: calc(56px + env(safe-area-inset-bottom, 0px));
  }
  body {
    padding-bottom: var(--quickbar-mobile-h);
  }
  section { padding: 60px 0; }
  .section-inner { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .stats-metrics { grid-template-columns: 1fr; }
  .stat-metric:not(:first-child)::before { display: none; }
  .stat-metric:not(:first-child) {
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding-top: clamp(28px, 5vw, 40px);
  }
  .specialty-section .specialty-signature { padding-top: 60px; }
  .specialty-section .specialty-cta-wrap { padding-bottom: 60px; }
  .case-cta__link { font-size: 16px; padding: 18px 22px; }
  .sub-hero-inner {
    padding: 0 20px;
  }
  .sub-hero h1 {
    font-size: clamp(30px, 7vw, 36px);
  }
  .sub-nav-inner {
    padding: 14px 16px 18px;
    gap: 8px 10px;
    justify-content: center;
  }
  .sub-nav-item {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 13px;
    white-space: normal;
    max-width: 100%;
  }
  .sub-content { padding: 40px 20px; }
  .sub-content.sub-content--detail { padding: 0; }
  .content-placeholder { padding: 40px 24px; }
  .hero-content { padding: clamp(12px, 2.5vh, 28px) 20px 0; margin-top: 0; }
  .footer-upper { padding-bottom: 28px; }
  .footer-tagline { font-size: 16px; margin-bottom: 22px; }
  .footer-slogan-desktop,
  .footer-info-desktop {
    display: none;
  }
  .footer-slogan-mobile,
  .footer-info-mobile {
    display: inline;
  }
  .footer-brand-centered { gap: 12px 16px; }
  .footer-lower { padding: 22px 0 4px; }
  .footer-business__line,
  .footer-business__addr { font-size: 12px; }
  .footer-business__line {
    line-height: 1.75;
  }
  .logo-img { height: 36px; max-width: min(200px, 52vw); }
  .logo__name { font-size: 16px; }
  body.page-home .logo__name { font-size: 17px; }
  .logo-sub-text {
    margin-top: 1px;
    font-size: 11px;
    letter-spacing: 0.13em;
  }
  .logo-img--footer { height: 40px; max-width: min(220px, 70vw); }
}

/* =============================================
   Utility — screen-reader-only headings (e.g. clinic detail pages)
   ============================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   병원소개 > 든든한내과 — philosophy.html only
   Content sits in .doctor-layout-wrap (same 920px system as 의료진소개). No page-level narrow wrapper.
   ============================================= */
.philosophy-section--soft {
  background: var(--bg-alt);
}
.philosophy-section--closing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.philosophy-block {
  width: 100%;
  font-size: 16px;
  line-height: 1.88;
  color: var(--text-secondary);
}
.philosophy-block p {
  margin: 0 0 1.1em;
}
.philosophy-block p:last-child {
  margin-bottom: 0;
}
.philosophy-block strong {
  color: var(--text);
  font-weight: 600;
}
.philosophy-block--center {
  text-align: center;
}
.philosophy-intro {
  text-align: center;
  max-width: min(36rem, 100%);
  margin: 0 auto;
}
.philosophy-intro .philosophy-intro__group {
  margin: 0 0 clamp(1.5rem, 3.2vw, 2.25rem);
  letter-spacing: -0.01em;
}
.philosophy-intro .philosophy-intro__group:last-child {
  margin-bottom: 0;
}
.philosophy-pillar-wrap {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}
.philosophy-pillar {
  width: 100%;
  max-width: none;
  text-align: center;
}
/* Mission/Vision: same header rhythm as Core Values; full width of .doctor-layout-wrap */
.doctor-section .philosophy-pillar__header.section-header.center {
  margin-bottom: clamp(20px, 3vw, 28px);
}
.philosophy-pillar__header .section-title {
  margin-bottom: 0;
}
.philosophy-statement {
  font-size: clamp(21px, 2.9vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.38;
  text-align: center;
  max-width: min(48rem, 100%);
  margin: 0 auto clamp(26px, 3.5vw, 34px);
}
.philosophy-block--pillar {
  text-align: center;
  width: 100%;
  max-width: min(48rem, 100%);
  margin: 0 auto;
}
.philosophy-block--pillar p {
  margin-bottom: 1.05em;
}
.philosophy-bridge {
  padding: clamp(18px, 3vw, 24px) clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: rgba(var(--primary-rgb), 0.035);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}
.philosophy-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.75;
  margin: 0 0 10px;
  text-align: center;
}
.philosophy-headline {
  font-size: clamp(21px, 2.9vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.38;
  text-align: center;
  margin: 0 0 clamp(22px, 3vw, 28px);
}
.philosophy-figure {
  margin: 0 auto;
  width: 100%;
  max-width: min(720px, 100%);
}
.philosophy-figure__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  background: var(--gray-6);
}
.philosophy-figure__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.philosophy-figure__caption {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray-3);
  text-align: center;
}
.philosophy-values {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.philosophy-values__item {
  padding: clamp(22px, 3.5vw, 28px) 0;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}
.philosophy-values__item:first-child {
  padding-top: 0;
}
.philosophy-values__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.philosophy-values__h {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.45;
}
.philosophy-values__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.philosophy-values__list li {
  position: relative;
  padding-left: 1em;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 0.45em;
}
.philosophy-values__list li:last-child {
  margin-bottom: 0;
}
.philosophy-values__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.35);
}
.philosophy-values--balanced {
  width: 100%;
  max-width: none;
  margin: 0;
}
.philosophy-values--balanced .philosophy-values__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}
.philosophy-values__cluster {
  width: 100%;
  max-width: min(32rem, 100%);
  margin: 0 auto;
  text-align: left;
}
.philosophy-values--balanced .philosophy-values__h {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.philosophy-values--balanced .philosophy-values__list {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.philosophy-closing-box {
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4.5vw, 40px) clamp(24px, 4vw, 48px);
  background: linear-gradient(
    165deg,
    rgba(var(--primary-rgb), 0.14) 0%,
    rgba(var(--primary-rgb), 0.06) 48%,
    rgba(var(--primary-rgb), 0.1) 100%
  );
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.philosophy-closing-box__text {
  margin: 0;
  font-size: clamp(17px, 2.15vw, 20px);
  line-height: 1.75;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  text-align: center;
}
.philosophy-closing-line {
  width: 100%;
  max-width: min(34rem, 100%);
  margin: 0 auto;
  padding: clamp(8px, 1.5vw, 12px) 0;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--text-secondary);
  text-align: center;
}
.philosophy-closing-title {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(20px, 2.5vw, 28px);
}
.philosophy-closing-em {
  margin-top: 1.15em !important;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.85;
}
@media (min-width: 900px) {
  .philosophy-values:not(.philosophy-values--balanced) .philosophy-values__item {
    display: grid;
    grid-template-columns: minmax(0, 12rem) 1fr;
    gap: clamp(16px, 2.5vw, 24px);
    align-items: start;
    padding: clamp(26px, 3.5vw, 34px) 0;
  }
  .philosophy-values:not(.philosophy-values--balanced) .philosophy-values__h {
    margin-bottom: 0;
    font-size: 16px;
  }
}

/* =============================================
   내과 클리닉 질환 상세 (고혈압 등) — cd- 접두어
   ============================================= */
.cd-intro__svg {
  width: 55%;
  height: 55%;
  color: var(--primary);
  display: block;
  object-fit: contain;
  object-position: center;
}

.cd-section {
  position: relative;
}

.cd-section__title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(14px, 2.5vw, 20px);
  line-height: 1.35;
}

.cd-section__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  text-align: center;
  max-width: min(44rem, 100%);
  margin: 0 auto clamp(28px, 4vw, 40px);
}

/* —— 혈압 기준 표 —— */
.cd-bp {
  padding: clamp(48px, 7vw, 80px) 0;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 40%);
}

.cd-bp__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.cd-bp__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--white);
}

.cd-bp__table thead th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cd-bp__table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding: 14px 16px;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  background: var(--primary-light);
  width: 34%;
}

.cd-bp__table td {
  padding: 14px 16px;
  text-align: center;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
}

.cd-bp__table tbody tr:last-child th,
.cd-bp__table tbody tr:last-child td {
  border-bottom: none;
}

.cd-bp__note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray-3);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

/* —— 발생 원인 카드 —— */
.cd-causes {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--white);
}

.cd-cause-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  max-width: 960px;
  margin: 0 auto;
}

.cd-cause-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.cd-cause-card__media {
  position: relative;
  min-height: 200px;
  background: linear-gradient(145deg, var(--primary-light) 0%, #dde8ea 100%);
}

.cd-cause-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.cd-cause-card__media .cd-cause-card__img {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.cd-cause-card__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
  letter-spacing: 0.02em;
}

.cd-cause-card__ph span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
}

.cd-cause-card__body {
  padding: clamp(22px, 3.5vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #f6fafb 0%, var(--white) 100%);
}

.cd-cause-card__head {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.cd-cause-card__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

/* —— 위험인자 —— */
.cd-risk {
  position: relative;
  padding: clamp(52px, 8vw, 96px) 0;
  overflow: hidden;
}

.cd-risk__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 36, 48, 0.92) 0%, rgba(var(--primary-rgb), 0.88) 55%, rgba(10, 54, 64, 0.9) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(180, 60, 60, 0.12) 0%, transparent 55%);
  z-index: 0;
}

.cd-risk > .gs-inner {
  position: relative;
  z-index: 1;
}

.cd-risk__title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.cd-risk__lead {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  max-width: 38rem;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

.cd-risk__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.cd-risk__chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  padding: 9px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.14) 0%, transparent 44%),
    linear-gradient(165deg, rgba(var(--primary-rgb), 0.74) 0%, rgba(var(--primary-rgb), 0.88) 48%, rgba(8, 36, 48, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: default;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
}

.cd-risk__chip::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.065);
  pointer-events: none;
}

.cd-risk__chip.is-core {
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

@media (hover: hover) and (pointer: fine) {
  .cd-risk__chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
      0 11px 26px rgba(0, 0, 0, 0.21),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    filter: brightness(1.02);
  }
}

/* —— 전조증상 —— */
.cd-symptoms {
  padding: clamp(52px, 8vw, 88px) 0;
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-alt) 100%);
}

.cd-symptoms__split {
  align-items: stretch;
}

.cd-symptoms__figure {
  margin: 0;
  position: relative;
}

.cd-symptoms__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.cd-symptoms__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  height: 100%;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 45%),
    linear-gradient(145deg, #d5e4e7 0%, #eef6f7 100%);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
}

.cd-symptoms__ph span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
}

/* —— 예방법 —— */
.cd-prevent {
  padding: 0 0 clamp(56px, 9vw, 96px);
  background: var(--white);
}

.cd-prevent__hero {
  height: min(200px, 28vw);
  min-height: 120px;
  background:
    linear-gradient(90deg, rgba(10, 48, 56, 0.75) 0%, rgba(var(--primary-rgb), 0.55) 100%),
    linear-gradient(180deg, #dfe9ec 0%, #c5d6db 100%);
  background-size: cover;
  background-position: center;
}

.cd-prevent__inner {
  padding-top: clamp(36px, 5vw, 52px);
}

.cd-prevent__heading {
  margin-top: 0;
}

.cd-prevent__lead {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.cd-prevent__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.cd-prevent__card {
  padding: clamp(20px, 3vw, 26px);
  border-radius: var(--radius);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cd-prevent__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-soft);
}

.cd-prevent__card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  letter-spacing: -0.02em;
}

.cd-prevent__card-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .cd-cause-card {
    grid-template-columns: 1fr;
  }
  .cd-cause-card__media {
    min-height: 180px;
    aspect-ratio: 16 / 10;
  }
  .cd-prevent__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cd-risk__chip {
    width: 88px;
    height: 88px;
    font-size: 12px;
  }
  .cd-risk__chip::after { inset: 5px; }
}

@media (max-width: 768px) {
  .cd-bp__table {
    font-size: 14px;
  }
  .cd-bp__table thead th,
  .cd-bp__table tbody th,
  .cd-bp__table td {
    padding: 12px 10px;
  }
  .gs-split.cd-symptoms__split {
    grid-template-columns: 1fr;
  }
  .cd-symptoms__ph {
    min-height: 220px;
    aspect-ratio: 16 / 11;
  }
  .cd-prevent__grid {
    grid-template-columns: 1fr;
  }
  .cd-risk__chip {
    width: 76px;
    height: 76px;
    font-size: 11px;
    padding: 6px;
  }
  .cd-risk__chip::after { inset: 4px; }
}

/* =============================================
   당뇨 상세 — dm- (합병증·혈당 기준 등)
   ============================================= */
.dm-comp {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-alt) 100%);
}

.dm-comp__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  max-width: 960px;
  margin: 0 auto;
}

.dm-comp-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.dm-comp-card__media {
  position: relative;
  min-height: 160px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--primary-light) 0%, #dde8ea 100%);
}

.dm-comp-card__media .cd-cause-card__ph {
  position: absolute;
  inset: 0;
}

.dm-comp-card__media .cd-cause-card__img {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.dm-comp-card__bar {
  margin: 0;
  padding: 14px 18px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  background: linear-gradient(180deg, #e8f4f6 0%, var(--primary-light) 100%);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.dm-comp-card__body {
  flex: 1;
  padding: clamp(18px, 2.5vw, 22px) clamp(18px, 2.5vw, 24px);
  background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 52%, var(--primary-soft) 100%);
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  line-height: 1.8;
}

.dm-comp-card__body p {
  margin: 0;
}

.dm-glucose {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, #e8f2f4 0%, var(--bg-alt) 45%, var(--white) 100%);
}

.dm-glucose__table-wrap {
  margin-bottom: 16px;
}

.dm-glucose__table {
  min-width: 640px;
}

.dm-glucose__table tbody th {
  width: 28%;
}

.dm-glucose__note {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.dm-glucose__tips {
  max-width: 720px;
  margin: 0 auto;
}

.cd-prevent__hero--dm {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgba(10, 48, 56, 0.55) 0%, rgba(var(--primary-rgb), 0.4) 100%),
    linear-gradient(180deg, #e5eef0 0%, #c8d9dd 100%);
}

.dm-prevent__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 예방법 카드 배경 이미지 */
.dm-prevent__card {
  position: relative;
  overflow: hidden;
}

.dm-prevent__card-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  filter: none;
  pointer-events: none;
}

.dm-prevent__card-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.dm-prevent__card .cd-prevent__num,
.dm-prevent__card .cd-prevent__card-title,
.dm-prevent__card .cd-prevent__card-text {
  position: relative;
  z-index: 2;
}

.dm-prevent__card--1 .dm-prevent__card-bg { background-image: url("../img/internal-medicine/diabetes/diabetes7.png"); }
.dm-prevent__card--2 .dm-prevent__card-bg { background-image: url("../img/internal-medicine/diabetes/diabetes8.png"); }
.dm-prevent__card--3 .dm-prevent__card-bg { background-image: url("../img/internal-medicine/diabetes/diabetes9.png"); }
.dm-prevent__card--4 .dm-prevent__card-bg { background-image: url("../img/internal-medicine/diabetes/diabetes10.png"); }
.dm-prevent__card--5 .dm-prevent__card-bg { background-image: url("../img/internal-medicine/diabetes/diabetes11.png"); }
.dm-prevent__card--6 .dm-prevent__card-bg { background-image: url("../img/internal-medicine/diabetes/diabetes12.png"); }

@media (max-width: 768px) {
  .dm-comp__grid {
    grid-template-columns: 1fr;
  }
  .dm-glucose__table {
    min-width: 520px;
    font-size: 14px;
  }
}

/* =============================================
   간질환 상세 — lv- (검사·건강 수칙)
   ============================================= */
.lv-intro__svg {
  width: 55%;
  height: 55%;
  color: var(--primary);
}

.lv-tests {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-alt) 50%, var(--bg-section) 100%);
}

.lv-tests__split {
  align-items: stretch;
  margin-top: clamp(8px, 2vw, 16px);
}

.lv-tests__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-md);
  background: linear-gradient(145deg, var(--primary-light) 0%, #dde8ea 100%);
}

.lv-tests__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.lv-tests__visual:has(.lv-tests__photo) .lv-tests__ph {
  display: none;
}

.lv-tests__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
}

.lv-tests__ph span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
}

.lv-tests__copy {
  padding-top: 4px;
}

.lv-tests__subhead {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.lv-tests__subhead:not(:first-child) {
  margin-top: clamp(22px, 3vw, 28px);
}

.lv-tests__p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0;
}

.lv-tests__note {
  margin-top: clamp(18px, 2.5vw, 24px);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  border-radius: var(--radius);
}

.lv-rules {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--white);
}

.lv-rules__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 22px);
  max-width: 920px;
  margin: 0 auto;
}

.lv-rule-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  background: linear-gradient(180deg, #fbfdfe 0%, var(--bg-alt) 100%);
  box-shadow: var(--shadow-sm);
}

.lv-rule-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}

.lv-rule-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  letter-spacing: -0.02em;
}

.lv-rule-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .lv-rules__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lv-tests__visual {
    min-height: 220px;
    aspect-ratio: 16 / 11;
  }
}

/* =============================================
   위장질환 상세 — gc- (원인·종류)
   ============================================= */
.gc-intro__svg {
  width: 55%;
  height: 55%;
  color: var(--primary);
}

.gc-causes {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, #e8f2f4 0%, var(--bg-alt) 55%, var(--white) 100%);
}

.gc-causes__split {
  align-items: start;
  margin-top: clamp(8px, 2vw, 16px);
}

.gc-causes__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  box-shadow: var(--shadow-md);
  background: linear-gradient(145deg, var(--primary-light) 0%, #dde8ea 100%);
}

.gc-causes__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 300px;
}

.gc-causes__visual:has(.gc-causes__photo) .gc-causes__ph {
  display: none;
}

.gc-causes__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
}

.gc-causes__ph span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
}

.gc-causes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vw, 24px);
}

.gc-causes__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  padding-bottom: clamp(18px, 2.5vw, 22px);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.gc-causes__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.gc-causes__num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary);
  line-height: 1.6;
  padding-top: 3px;
}

.gc-causes__head {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.gc-causes__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.gc-types {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--white);
}

.gc-type-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 20px);
  max-width: 1000px;
  margin: 0 auto;
}

.gc-type-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  box-shadow: var(--shadow-md);
}

.gc-type-card__media {
  position: relative;
  min-height: 140px;
  background: linear-gradient(160deg, #dfe9ec 0%, var(--primary-light) 100%);
}

.gc-type-card__media .cd-cause-card__ph {
  position: absolute;
  inset: 0;
}

.gc-type-card__media .cd-cause-card__img {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.gc-type-card__body {
  padding: clamp(22px, 3vw, 30px);
  background: linear-gradient(165deg, #062a32 0%, var(--primary-dark) 38%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.gc-type-card__title {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: #c9a227;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.gc-type-card__text {
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cd-prevent__hero--gc {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(8, 36, 44, 0.58) 0%, rgba(var(--primary-rgb), 0.42) 100%),
    linear-gradient(180deg, #d5e3e6 0%, #b8ccd1 100%);
}

.gc-prevent__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 예방법 카드 배경 이미지 */
.gc-prevent__card {
  position: relative;
  overflow: hidden;
}

.gc-prevent__card-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  filter: none;
  pointer-events: none;
}

.gc-prevent__card-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.gc-prevent__card .cd-prevent__num,
.gc-prevent__card .cd-prevent__card-title,
.gc-prevent__card .cd-prevent__card-text {
  position: relative;
  z-index: 2;
}

.gc-prevent__card--1 .gc-prevent__card-bg { background-image: url("../img/internal-medicine/gastrointestinal/gastrointestinal8.png"); }
.gc-prevent__card--2 .gc-prevent__card-bg { background-image: url("../img/internal-medicine/gastrointestinal/gastrointestinal9.png"); }
.gc-prevent__card--3 .gc-prevent__card-bg { background-image: url("../img/internal-medicine/gastrointestinal/gastrointestinal10.png"); }
.gc-prevent__card--4 .gc-prevent__card-bg { background-image: url("../img/internal-medicine/gastrointestinal/gastrointestinal11.png"); }
.gc-prevent__card--5 .gc-prevent__card-bg { background-image: url("../img/internal-medicine/gastrointestinal/gastrointestinal12.png"); }
.gc-prevent__card--6 .gc-prevent__card-bg { background-image: url("../img/internal-medicine/gastrointestinal/gastrointestinal13.png"); }

/* =============================================
   고지혈증 상세 — hl-
   ============================================= */
.hl-risk .cd-risk__bg {
  background:
    linear-gradient(115deg, rgba(8, 36, 48, 0.92) 0%, rgba(var(--primary-rgb), 0.88) 55%, rgba(10, 54, 64, 0.9) 100%),
    radial-gradient(ellipse 72% 58% at 50% 108%, rgba(110, 28, 36, 0.16) 0%, transparent 52%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(180, 60, 60, 0.12) 0%, transparent 55%);
}

.hl-risk__chips {
  max-width: 800px;
}

.hl-lipid__scroll .hl-lipid__table {
  min-width: 720px;
}

.hl-lipid__table tbody th {
  width: auto;
  min-width: 7.5rem;
  max-width: 12rem;
}

.cd-prevent__hero--hl {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #dfe9ec 0%, #c5d6db 100%);
}

.hl-prevent__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 예방법 카드 배경 이미지 */
.hl-prevent__card {
  position: relative;
  overflow: hidden;
}

.hl-prevent__card-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  filter: none;
  pointer-events: none;
}

.hl-prevent__card-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

/* 텍스트는 배경 위로 */
.hl-prevent__card .cd-prevent__num,
.hl-prevent__card .cd-prevent__card-title,
.hl-prevent__card .cd-prevent__card-text {
  position: relative;
  z-index: 2;
}

/* 카드별 배경 이미지 매칭 */
.hl-prevent__card--1 .hl-prevent__card-bg { background-image: url("../img/internal-medicine/dyslipidemia/dyslipidemia5.png"); }
.hl-prevent__card--2 .hl-prevent__card-bg { background-image: url("../img/internal-medicine/dyslipidemia/dyslipidemia6.png"); }
.hl-prevent__card--3 .hl-prevent__card-bg { background-image: url("../img/internal-medicine/dyslipidemia/dyslipidemia7.png"); }
.hl-prevent__card--4 .hl-prevent__card-bg { background-image: url("../img/internal-medicine/dyslipidemia/dyslipidemia8.png"); }
.hl-prevent__card--5 .hl-prevent__card-bg { background-image: url("../img/internal-medicine/dyslipidemia/dyslipidemia9.png"); }
.hl-prevent__card--6 .hl-prevent__card-bg { background-image: url("../img/internal-medicine/dyslipidemia/dyslipidemia10.png"); }

/* =============================================
   고혈압 상세 — hp-
   ============================================= */
.cd-prevent__hero--hp {
  position: relative;
  overflow: hidden;
}

.hp-prevent__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 예방법 카드 배경 이미지 */
.hp-prevent__card {
  position: relative;
  overflow: hidden;
}

.hp-prevent__card-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  filter: none;
  pointer-events: none;
}

.hp-prevent__card-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.hp-prevent__card .cd-prevent__num,
.hp-prevent__card .cd-prevent__card-title,
.hp-prevent__card .cd-prevent__card-text {
  position: relative;
  z-index: 2;
}

.hp-prevent__card--1 .hp-prevent__card-bg { background-image: url("../img/internal-medicine/hypertension/hypertension6.png"); }
.hp-prevent__card--2 .hp-prevent__card-bg { background-image: url("../img/internal-medicine/hypertension/hypertension7.png"); }
.hp-prevent__card--3 .hp-prevent__card-bg { background-image: url("../img/internal-medicine/hypertension/hypertension8.png"); }
.hp-prevent__card--4 .hp-prevent__card-bg { background-image: url("../img/internal-medicine/hypertension/hypertension9.png"); }
.hp-prevent__card--5 .hp-prevent__card-bg { background-image: url("../img/internal-medicine/hypertension/hypertension10.png"); }
.hp-prevent__card--6 .hp-prevent__card-bg { background-image: url("../img/internal-medicine/hypertension/hypertension11.png"); }

@media (max-width: 768px) {
  .hl-lipid__scroll .hl-lipid__table {
    min-width: 620px;
    font-size: 13px;
  }
  .hl-lipid__table thead th,
  .hl-lipid__table tbody th,
  .hl-lipid__table td {
    padding: 12px 10px;
  }
}

/* =============================================
   천식·알레르기비염 상세 — as-
   ============================================= */
.as-causes {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, #e8f2f4 0%, var(--bg-alt) 45%, var(--white) 100%);
}

.as-causes__split {
  align-items: stretch;
}

.as-causes__figure {
  margin: 0;
}

.as-causes__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 280px;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(160deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 45%),
    linear-gradient(145deg, #d5e4e7 0%, #eef6f7 100%);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
}

.as-causes__ph span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
}

.as-cause-list {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vw, 24px);
}

.as-cause-item {
  padding: clamp(20px, 3vw, 26px) clamp(22px, 3vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.as-cause-item__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-soft);
  margin-bottom: 8px;
}

.as-cause-item__title {
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.as-cause-item__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.as-symptoms {
  background: var(--white);
}

.as-manage {
  padding: clamp(40px, 6vw, 56px) 0 clamp(56px, 9vw, 96px);
  background: var(--bg-alt);
}

.as-manage .gs-special__banner {
  margin-top: 0;
}

.as-manage__banner {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.as-manage__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.as-manage__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: linear-gradient(160deg, #dfe9ec 0%, var(--primary-light) 100%);
}

.as-manage__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.as-manage__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
}

.as-manage__ph span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
}

.as-manage__panel {
  padding: clamp(28px, 4vw, 40px) clamp(26px, 4vw, 36px);
  background: linear-gradient(165deg, #062a32 0%, var(--primary-dark) 38%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.as-manage__panel p {
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}

.as-manage__panel p + p {
  margin-top: 1em;
}

@media (max-width: 900px) {
  .as-manage__split {
    grid-template-columns: 1fr;
  }
  .as-manage__media {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }
  .gc-type-card {
    grid-template-columns: 1fr;
  }
  .gc-type-card__media {
    min-height: 160px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .gc-causes__visual {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }
}

/* =============================================
   갑상선 상세 — thy-
   ============================================= */
.thy-selfcheck .cd-bp__note {
  margin-top: clamp(20px, 3vw, 28px);
}

.thy-prevent {
  padding: 0 0 clamp(56px, 9vw, 96px);
  background: var(--white);
}

.thy-prevent__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(172px, 28vw);
  padding: clamp(40px, 6vw, 56px) 24px;
  background:
    linear-gradient(100deg, rgba(8, 40, 48, 0.85) 0%, rgba(var(--primary-rgb), 0.72) 100%),
    linear-gradient(180deg, #dfe9ec 0%, #c5d6db 100%);
  background-size: cover;
  background-position: center;
}

.thy-prevent__title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.thy-prevent .cd-prevent__inner {
  padding-top: clamp(28px, 4vw, 44px);
}

/* 예방법 카드 배경 이미지 */
.thy-prevent__card {
  position: relative;
  overflow: hidden;
}

.thy-prevent__card-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  filter: none;
  pointer-events: none;
}

.thy-prevent__card-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.thy-prevent__card .cd-prevent__num,
.thy-prevent__card .cd-prevent__card-title,
.thy-prevent__card .cd-prevent__card-text {
  position: relative;
  z-index: 2;
}

.thy-prevent__card--1 .thy-prevent__card-bg { background-image: url("../img/internal-medicine/thyroiditis/thyroiditis8.png"); }
.thy-prevent__card--2 .thy-prevent__card-bg { background-image: url("../img/internal-medicine/thyroiditis/thyroiditis9.png"); }
.thy-prevent__card--3 .thy-prevent__card-bg { background-image: url("../img/internal-medicine/thyroiditis/thyroiditis10.png"); }
.thy-prevent__card--4 .thy-prevent__card-bg { background-image: url("../img/internal-medicine/thyroiditis/thyroiditis11.png"); }
.thy-prevent__card--5 .thy-prevent__card-bg { background-image: url("../img/internal-medicine/thyroiditis/thyroiditis12.png"); }
.thy-prevent__card--6 .thy-prevent__card-bg { background-image: url("../img/internal-medicine/thyroiditis/thyroiditis13.png"); }

/* =============================================
   영양수액 상세 — ns- (예방접종/영양수액)
   ============================================= */
.ns-types {
  position: relative;
  padding: clamp(52px, 8vw, 96px) 0;
  overflow: hidden;
}

.ns-types__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(6, 18, 22, 0.94) 0%, rgba(var(--primary-rgb), 0.88) 45%, rgba(8, 32, 40, 0.92) 100%),
    radial-gradient(ellipse 90% 70% at 50% 120%, rgba(60, 120, 140, 0.2) 0%, transparent 55%);
  z-index: 0;
}

.ns-types > .gs-inner {
  position: relative;
  z-index: 1;
}

.ns-types__title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.ns-types__lead {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(32px, 5vw, 44px);
}

.ns-types__rows {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}

.ns-types__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 28px);
}

.ns-types__item {
  flex: 0 1 140px;
  max-width: 160px;
  text-align: center;
  transition: transform 0.2s ease;
}

.ns-types__item:hover {
  transform: translateY(-3px);
}

.ns-types__circle {
  width: 112px;
  height: 112px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    linear-gradient(145deg, rgba(var(--primary-rgb), 0.5) 0%, rgba(6, 30, 36, 0.85) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.ns-types__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #e8c96b;
  margin: 0;
  letter-spacing: -0.02em;
}

.ns-process-section {
  padding: clamp(48px, 7vw, 88px) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-alt) 55%, var(--white) 100%);
}

.ns-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.ns-process__item {
  margin: 0;
  min-width: 0;
}

.ns-process-card {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: var(--shadow-md);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.ns-process-card__media {
  position: relative;
  min-height: 120px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--primary-light) 0%, #dde8ea 100%);
}

.ns-process-card__media .cd-cause-card__ph {
  position: absolute;
  inset: 0;
}

.ns-process-card__step {
  margin: 0;
  padding: 10px 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
}

.ns-process-card__label {
  margin: 0;
  flex: 1;
  padding: clamp(14px, 2vw, 18px) 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 52%, var(--primary-soft) 100%);
}

.ns-process__foot {
  margin: clamp(28px, 4vw, 40px) auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.ns-benefits__hero {
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: 920px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.ns-benefits__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(280px, 40vw);
  width: 100%;
  background:
    linear-gradient(160deg, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
    linear-gradient(145deg, #d5e4e7 0%, #eef6f7 100%);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-3);
}

.ns-benefits__ph span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(var(--primary-rgb), 0.25);
}

.ns-benefits__list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .ns-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ns-types__circle {
    width: 96px;
    height: 96px;
  }
  .ns-types__label {
    font-size: 12px;
  }
  .ns-process {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   국가 예방접종 상세 — vc-
   ============================================= */
.vc-trust__hero {
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: 920px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.vc-trust__ph {
  position: relative;
  min-height: min(280px, 42vw);
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
    linear-gradient(145deg, #d5e4e7 0%, #eef6f7 100%);
}

.vc-trust__photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc-trust__list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.vc-kinds {
  position: relative;
  padding: clamp(52px, 8vw, 96px) 0;
  overflow: hidden;
}

.vc-kinds__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, rgba(4, 14, 20, 0.96) 0%, rgba(var(--primary-rgb), 0.85) 50%, rgba(6, 28, 36, 0.94) 100%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(80, 140, 160, 0.18) 0%, transparent 55%);
  z-index: 0;
}

.vc-kinds > .gs-inner {
  position: relative;
  z-index: 1;
}

.vc-kinds__title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.vc-kinds__lead {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  max-width: 38rem;
  margin: 0 auto clamp(32px, 5vw, 44px);
}

.vc-kinds__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 4vw, 40px);
  max-width: 560px;
}

.vc-kinds__orb {
  flex: 0 0 auto;
  width: min(168px, 42vw);
  height: min(168px, 42vw);
  max-width: 200px;
  max-height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
  border: 3px solid rgba(255, 255, 255, 0.85);
  background:
    radial-gradient(circle at 30% 25%, rgba(120, 190, 205, 0.55) 0%, transparent 45%),
    linear-gradient(165deg, rgba(30, 100, 110, 0.95) 0%, rgba(6, 36, 44, 0.98) 100%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vc-kinds__orb:hover {
  transform: scale(1.03);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.vc-kinds__note {
  margin: clamp(28px, 4vw, 40px) auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =============================================
   PAGE HOME — desktop visual scale (≥1200px)
   Stronger typography & spacing; no layout zoom / no transform:scale()
   ============================================= */
@media (min-width: 1200px) {
  :root {
    --header-h: 84px;
  }

  /* Site-wide: desktop header + sticky category nav + quick rail (matches homepage scale) */
  #header .header-inner {
    max-width: 1400px;
    gap: 24px;
    padding: 0 40px;
  }
  #header .logo {
    gap: 12px;
  }
  #header .logo-img {
    height: 50px;
    max-width: min(275px, 38vw);
  }
  #header .logo__name {
    font-size: clamp(24px, 2.85vw, 30px);
  }
  #header .logo-sub-text {
    margin-top: 3px;
    font-size: clamp(13px, 1.55vw, 18px);
    letter-spacing: 0.15em;
  }
  #header .gnb {
    gap: 5px;
  }
  #header .gnb > li > a {
    font-size: 18px;
    font-weight: 600;
    padding: 8px 11px;
  }
  #header .btn-reserve {
    font-size: 15px;
    padding: 10px 22px;
    border-radius: 9px;
  }

  .sub-nav-inner {
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .sub-nav-item {
    font-size: 15px;
    padding: 11px 22px;
    min-height: 46px;
  }

  .quick-menu {
    gap: 8px;
  }
  .quick-menu a,
  .quick-menu button {
    width: 86px;
    padding: 16px 10px;
    font-size: 14px;
    gap: 6px;
    border-radius: 16px;
  }
  .quick-menu .q-phone-label {
    display: block;
    margin-top: 1px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--gray-2);
    white-space: nowrap;
  }
  .quick-menu > a[href^="tel:"]:hover .q-phone-label {
    color: rgba(255, 255, 255, 0.92);
  }
  .quick-menu .q-phone {
    margin-top: 0;
    font-size: 12px;
    letter-spacing: -0.04em;
  }
  .quick-menu .q-icon {
    width: 34px;
    height: 34px;
  }
  .quick-menu .q-svg {
    width: 31px;
    height: 31px;
  }

  body.page-home .hero-content {
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
  }
  body.page-home .hero-label {
    font-size: clamp(11px, 1.2vw, 13px);
    margin-bottom: 18px;
  }
  body.page-home .hero-title {
    font-size: clamp(42px, 6.2vw, 82px);
    line-height: 1.19;
    margin-bottom: 22px;
  }
  body.page-home .hero-desc {
    font-size: 20px;
    line-height: 1.82;
    max-width: min(50rem, 100%);
    margin-bottom: 38px;
  }

  body.page-home .section-inner {
    max-width: 1400px;
  }

  body.page-home .section-tag {
    font-size: 12px;
    letter-spacing: 2.2px;
    margin-bottom: 14px;
  }
  body.page-home h2.section-title {
    font-size: clamp(32px, 4.55vw, 52px);
    margin-bottom: 18px;
  }
  body.page-home .section-desc {
    font-size: 18px;
    line-height: 1.82;
  }

  body.page-home .stats-headline {
    font-size: clamp(37px, 5.85vw, 62px);
  }
  body.page-home .stats-lede {
    font-size: clamp(17px, 1.52vw, 19px);
  }
  body.page-home .stats-eyebrow {
    font-size: 12px;
  }
  body.page-home .stats-metrics {
    max-width: 1180px;
  }
  body.page-home .stat-metric {
    padding: clamp(24px, 3.4vw, 38px) clamp(18px, 2.8vw, 32px) 10px;
  }
  body.page-home .stat-metric__label-text {
    font-size: 14px;
  }
  body.page-home .stat-metric__note {
    font-size: 13px;
  }

  body.page-home .trust-text h3 {
    font-size: 30px;
    line-height: 1.38;
    margin-bottom: 18px;
  }
  body.page-home .trust-text p,
  body.page-home .trust-text__p {
    font-size: 17px;
    line-height: 1.82;
  }
  body.page-home .trust-text__takeaway {
    font-size: clamp(17px, 1.48vw, 19px);
  }
  body.page-home .trust-tag {
    font-size: 13px;
    padding: 8px 14px;
  }

  body.page-home .specialty-signature .care-item {
    gap: 24px;
  }
  body.page-home .specialty-signature .care-item__text h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }
  body.page-home .specialty-signature .care-item__text p {
    font-size: 16px;
    line-height: 1.78;
  }
  body.page-home .specialty-signature .care-item__visual {
    height: 200px;
    font-size: 54px;
  }
  body.page-home .specialty-cta-box--closing .specialty-cta-box__message {
    font-size: clamp(22px, 2.35vw, 26px);
  }
  body.page-home .specialty-cta-box__btn {
    font-size: 17px;
    padding: 14px 24px;
  }

  body.page-home .stats2-stat {
    padding: 24px 38px 32px;
  }
  body.page-home .stats2-stat__label {
    font-size: 13px;
  }

  body.page-home .treatment-section .section-header {
    margin-bottom: 20px;
  }
  body.page-home .treatment-tabs {
    margin-bottom: 32px;
  }
  body.page-home .tab-btn {
    font-size: 17px;
    padding: 21px 14px 22px;
    min-height: 68px;
  }
  body.page-home .treatment-intro {
    font-size: 17px;
    line-height: 1.76;
    margin-bottom: 22px;
    max-width: 52rem;
  }
  body.page-home .treatment-items {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    column-gap: 28px;
  }
  body.page-home .treatment-item {
    padding: 18px 0 22px;
    min-height: 98px;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    row-gap: 3px;
  }
  body.page-home .ti-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  body.page-home .ti-title {
    font-size: 16px;
  }
  body.page-home .ti-desc {
    font-size: 14px;
  }
  body.page-home .treatment-footnote {
    font-size: 13px;
    max-width: 46rem;
  }

  body.page-home #doctor .doctor-section__lead,
  body.page-home .doctor-section .section-desc.doctor-section__lead {
    font-size: clamp(17px, 1.58vw, 19px);
    line-height: 1.58;
  }
  body.page-home #doctor .doctor-heading {
    font-size: clamp(24px, 2.65vw, 31px);
  }
  body.page-home #doctor .doctor-key-creds li {
    font-size: 17px;
  }
  body.page-home #doctor .doctor-more-creds li {
    font-size: 17px;
  }
  body.page-home #doctor .doctor-credentials__label {
    font-size: 16px;
  }
  body.page-home #doctor .doctor-credentials__label--sub {
    font-size: 11px;
  }

  body.page-home #equipment .equip-copy__title {
    font-size: clamp(20px, 2.35vw, 25px);
  }
  body.page-home #equipment .equip-copy__text {
    font-size: 17px;
    line-height: 1.78;
  }
  body.page-home #equipment .equip-copy__category {
    font-size: 14px;
  }
  body.page-home #equipment .equip-carousel__meta {
    font-size: 13px;
  }

  body.page-home #facility .facility-gallery {
    max-width: 1200px;
  }
  body.page-home #facility .facility-gallery__caption {
    font-size: 15px;
    margin-top: 16px;
  }

  body.page-home #location .location-info__label {
    font-size: 13px;
  }
  body.page-home #location .location-info__value {
    font-size: 16px;
    line-height: 1.68;
  }
  body.page-home #location .location-map-btn {
    font-size: 13px;
    min-height: 38px;
    padding: 7px 14px;
  }

  body.page-home .faq-q {
    font-size: 17px;
    padding: 22px 26px;
  }
  body.page-home .faq-q-num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  body.page-home .faq-a {
    font-size: 16px;
    padding: 22px 26px 24px 72px;
  }
}

/* =============================================
   Subpages (non-home) — desktop body content scale (matches gastroscopy reference)
   Homepage uses body.page-home and is excluded. No zoom / transform:scale on layout.
   ============================================= */
@media (min-width: 1200px) {
  body:not(.page-home) .gs-inner {
    max-width: 1360px;
  }
  body:not(.page-home) .gs-inner--narrow {
    max-width: 840px;
  }
  body:not(.page-home) .gs-inner--split {
    max-width: 1360px;
  }
  body:not(.page-home) .gs-pill-grid {
    max-width: 1120px;
    gap: 16px 18px;
  }
  body:not(.page-home) .gs-step-flow {
    max-width: 1280px;
  }
  body:not(.page-home) .gs-interval__hero-inner {
    max-width: 840px;
  }

  body:not(.page-home) .gs-eyebrow {
    font-size: 13px;
    margin-bottom: 10px;
  }
  body:not(.page-home) .gs-title {
    font-size: clamp(31px, 5vw, 43px);
    margin-bottom: 34px;
  }
  body:not(.page-home) .gs-title--hero {
    margin-bottom: 24px;
  }
  body:not(.page-home) .gs-intro__text {
    font-size: 20px;
    line-height: 1.78;
  }
  body:not(.page-home) .gs-intro__icon-wrap {
    margin-bottom: 32px;
  }

  body:not(.page-home) .gs-pill {
    font-size: 17px;
    padding: 20px 24px;
    min-height: 97px;
  }
  body:not(.page-home) .gs-checklist__item {
    font-size: 19px;
    padding: 18px 22px;
    line-height: 1.68;
  }
  body:not(.page-home) .gs-note {
    font-size: 19px;
    line-height: 1.78;
  }

  body:not(.page-home) .gs-interval__lead {
    font-size: 20px;
    line-height: 1.78;
  }
  body:not(.page-home) .gs-interval__copy {
    padding: clamp(29px, 4.4vw, 44px);
  }
  body:not(.page-home) .gs-subtitle {
    font-size: 24px;
    margin-bottom: 14px;
  }
  body:not(.page-home) .gs-interval__copy p {
    font-size: 19px;
    line-height: 1.78;
  }

  body:not(.page-home) .gs-special__hook {
    font-size: clamp(21px, 3.05vw, 25px);
  }
  body:not(.page-home) .gs-special__text p {
    font-size: 19px;
    line-height: 1.78;
    margin-bottom: 20px;
  }
  body:not(.page-home) .gs-trust-pills li {
    font-size: 17px;
    padding: 18px 22px 18px 33px;
    line-height: 1.62;
  }

  body:not(.page-home) .gs-step {
    padding: 11px 10px;
  }
  body:not(.page-home) .gs-step__label {
    font-size: 16px;
    margin-bottom: 6px;
  }
  body:not(.page-home) .gs-step__desc {
    font-size: 16px;
    line-height: 1.72;
  }

  body:not(.page-home) .gs-panel__list li {
    font-size: 19px;
    padding: 22px 26px;
    line-height: 1.78;
  }

  /* Doctor / philosophy / facility layout (about/*, shared grid) */
  body:not(.page-home) h2.section-title,
  body:not(.page-home) .section-title {
    font-size: clamp(31px, 4.5vw, 48px);
  }
  body:not(.page-home) .section-desc {
    font-size: 18px;
    line-height: 1.78;
  }
  body:not(.page-home) .doctor-layout-wrap {
    max-width: min(1000px, 100%);
  }
  body:not(.page-home) .doctor-heading {
    font-size: clamp(31px, 3.5vw, 40px);
  }
  body:not(.page-home) .doctor-section .section-desc.doctor-section__lead {
    font-size: clamp(17px, 1.55vw, 19px);
    line-height: 1.68;
  }
  body:not(.page-home) .doctor-key-creds li,
  body:not(.page-home) .doctor-more-creds li {
    font-size: 17px;
  }
  body:not(.page-home) .philosophy-block {
    font-size: 18px;
    line-height: 1.82;
  }
  body:not(.page-home) .philosophy-statement,
  body:not(.page-home) .philosophy-headline {
    font-size: clamp(23px, 3.1vw, 31px);
  }
  body:not(.page-home) .facility-gallery__caption {
    font-size: 16px;
    line-height: 1.68;
  }

  /* 국가종합검진 nc- */
  body:not(.page-home) .nc-lead {
    font-size: 17px;
    line-height: 1.78;
  }
  body:not(.page-home) .nc-eligible__label {
    font-size: 17px;
    padding: 18px 14px;
  }
  body:not(.page-home) .nc-eligible__desc {
    font-size: 17px;
    line-height: 1.68;
    padding: 18px 20px;
  }
  body:not(.page-home) .nc-eligible__note {
    font-size: 16px;
  }
  body:not(.page-home) .nc-table {
    font-size: 15px;
    line-height: 1.65;
  }
  body:not(.page-home) .nc-table thead th {
    font-size: 15px;
    padding: 15px 13px;
  }
  body:not(.page-home) .nc-table tbody th.nc-table__cat {
    font-size: 16px;
    padding: 16px 12px;
  }
  body:not(.page-home) .nc-table td {
    padding: 16px 16px;
  }
  body:not(.page-home) .nc-cancer__title {
    font-size: clamp(23px, 3.4vw, 28px);
  }
  body:not(.page-home) .nc-cancer__badge {
    font-size: 15px;
    padding: 15px 20px;
    min-height: 76px;
  }

  /* 개인종합검진 phc- */
  body:not(.page-home) .phc-process__title {
    font-size: clamp(20px, 2.5vw, 22px);
  }
  body:not(.page-home) .phc-process__desc {
    font-size: 17px;
    line-height: 1.72;
  }
  body:not(.page-home) .phc-process__item {
    padding: clamp(20px, 3.2vw, 27px) clamp(20px, 3.2vw, 29px);
  }
  body:not(.page-home) .phc-features__lead {
    font-size: 17px;
    line-height: 1.78;
  }
  body:not(.page-home) .phc-feature__title {
    font-size: clamp(17px, 2.4vw, 19px);
  }
  body:not(.page-home) .phc-feature__hint {
    font-size: 14px;
  }
  body:not(.page-home) .phc-features__note {
    font-size: 14px;
    line-height: 1.65;
  }

  /* 채용검진 emp- */
  body:not(.page-home) .emp-table {
    font-size: 17px;
  }
  body:not(.page-home) .emp-table thead th {
    font-size: 15px;
    padding: 15px 17px;
  }
  body:not(.page-home) .emp-table tbody th.emp-table__cat {
    font-size: 17px;
    padding: 20px 16px;
  }
  body:not(.page-home) .emp-table td {
    padding: 20px 22px;
  }
  body:not(.page-home) .emp-table__note {
    font-size: 14px;
    line-height: 1.68;
  }

  /* 초음파 tu- process cards */
  body:not(.page-home) .tu-process__card {
    padding: clamp(25px, 4.5vw, 36px);
  }
  body:not(.page-home) .tu-process__step-label {
    font-size: 12px;
    margin-bottom: 13px;
  }
  body:not(.page-home) .tu-process__text {
    font-size: 17px;
    line-height: 1.78;
  }

  /* 용종절제 pp- */
  body:not(.page-home) .pp-type-card__subtitle {
    font-size: 19px;
  }
  body:not(.page-home) .pp-type-card__body p {
    font-size: 17px;
    line-height: 1.82;
  }
  body:not(.page-home) .pp-importance__title {
    font-size: clamp(23px, 3.3vw, 28px);
  }
  body:not(.page-home) .pp-importance__panel p {
    font-size: 17px;
    line-height: 1.82;
  }

  /* Stub placeholder pages */
  body:not(.page-home) .content-placeholder h2 {
    font-size: 22px;
  }
  body:not(.page-home) .content-placeholder p {
    font-size: 16px;
    line-height: 1.78;
  }

  /* nonbenefit/index.html embedded classes (override inline <style> via higher specificity) */
  body:not(.page-home) main .nonbenefit-intro,
  body:not(.page-home) .sub-content .nonbenefit-intro {
    font-size: 17px;
    line-height: 1.78;
  }
  body:not(.page-home) main .nonbenefit-note,
  body:not(.page-home) .sub-content .nonbenefit-note {
    font-size: 14px;
    line-height: 1.72;
  }
  body:not(.page-home) main .nonbenefit-table,
  body:not(.page-home) .sub-content .nonbenefit-table {
    font-size: 15px;
  }
  body:not(.page-home) main .nonbenefit-table thead th,
  body:not(.page-home) .sub-content .nonbenefit-table thead th {
    padding: 15px 17px;
    font-size: 15px;
  }
  body:not(.page-home) main .nonbenefit-table td,
  body:not(.page-home) .sub-content .nonbenefit-table td {
    padding: 14px 17px;
  }

  /* 내과 클리닉 cd- (clinic/*.html) */
  body:not(.page-home) .cd-section__title {
    font-size: clamp(26px, 3.6vw, 35px);
  }
  body:not(.page-home) .cd-section__lead {
    font-size: 17px;
    line-height: 1.78;
  }
  body:not(.page-home) .cd-bp__table {
    font-size: 16px;
  }
  body:not(.page-home) .cd-bp__table thead th,
  body:not(.page-home) .cd-bp__table tbody th,
  body:not(.page-home) .cd-bp__table td {
    padding: 16px 18px;
  }
  body:not(.page-home) .cd-bp__note {
    font-size: 14px;
    line-height: 1.68;
  }
  body:not(.page-home) .cd-cause-card__head {
    font-size: clamp(19px, 2.4vw, 22px);
  }
  body:not(.page-home) .cd-cause-card__text {
    font-size: 17px;
    line-height: 1.78;
  }
  body:not(.page-home) .cd-cause-card__body {
    padding: clamp(25px, 3.8vw, 36px);
  }
  body:not(.page-home) .cd-risk__title {
    font-size: clamp(26px, 3.6vw, 35px);
  }
  body:not(.page-home) .cd-risk__lead {
    font-size: 17px;
    line-height: 1.78;
  }
  body:not(.page-home) .cd-risk__chip {
    width: 102px;
    height: 102px;
    font-size: 14px;
    padding: 10px;
  }
  body:not(.page-home) .cd-prevent__card {
    padding: clamp(22px, 3.2vw, 29px);
  }
  body:not(.page-home) .cd-prevent__card-title {
    font-size: 17px;
  }
  body:not(.page-home) .cd-prevent__card-text {
    font-size: 15px;
    line-height: 1.78;
  }

  /* 장비소개 subpage carousel copy (about/equipment.html — not #equipment on homepage) */
  body:not(.page-home) .equip-copy__category {
    font-size: 14px;
  }
  body:not(.page-home) .equip-copy__title {
    font-size: clamp(21px, 2.45vw, 26px);
  }
  body:not(.page-home) .equip-copy__text {
    font-size: 17px;
    line-height: 1.78;
  }
  body:not(.page-home) .equip-carousel__meta {
    font-size: 14px;
  }
}
