/* =============================================
   서울퍼스트내과의원 — multipage.css
   ============================================= */

:root {
  --teal: #0d7377;
  --teal-light: #14a085;
  --navy: #0f2b3d;
  --accent: #e8734a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --font: 'Noto Sans KR', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== HEADER ===================== */
#mp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition);
}
#mp-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.12); }

.mp-header-top {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: 14px;
  padding: 7px 0;
  text-align: center;
  letter-spacing: .01em;
}
.mp-header-top a { color: rgba(255,255,255,.85); }
.mp-header-top .sep { margin: 0 10px; opacity: .4; }

.mp-header-main {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.mp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  max-width: 1600px;
  padding: 0 40px;
}

.mp-logo img {
  width: auto;
  height: 52px;
}

.mp-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.mp-nav-link:hover { color: var(--teal); background: var(--gray-100); }
.mp-nav-link.active { color: var(--teal); font-weight: 700; }

.mp-nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 17px;
  transition: background var(--transition), transform var(--transition);
}
.mp-nav-cta:hover { background: var(--teal-light); transform: translateY(-1px); color: var(--white); }
.mp-nav-cta.active { background: var(--teal-light); }

/* Hamburger */
.mp-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.mp-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mp-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mp-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mp-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
}
.page-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px;
  font-size: 13px;
  padding: 5px 16px;
  margin-bottom: 16px;
  letter-spacing: .03em;
}
.page-hero h1 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.page-hero-breadcrumb {
  font-size: 13px;
  opacity: .7;
}
.page-hero-breadcrumb a { opacity: .8; }
.page-hero-breadcrumb a:hover { opacity: 1; }
.page-hero-breadcrumb span { margin: 0 6px; }

/* ===================== SECTIONS ===================== */
.mp-section {
  padding: 72px 0;
}
.mp-section-alt {
  background: var(--gray-50);
}

.section-badge {
  display: inline-block;
  background: rgba(13,115,119,.1);
  color: var(--teal);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  margin-bottom: 14px;
  letter-spacing: .03em;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.text-accent { color: var(--teal); }
.section-desc {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  font-family: var(--font);
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,115,119,.3); }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }

/* ===================== HERO (index) ===================== */
.mp-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.mp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.mp-hero-bg.loaded { transform: scale(1); }
.mp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,43,61,.82) 0%, rgba(13,115,119,.55) 100%);
}
.mp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 0;
}
.hero-badge-pill {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 30px;
  font-size: 13px;
  padding: 6px 18px;
  margin-bottom: 22px;
  letter-spacing: .04em;
  font-weight: 500;
}
.mp-hero-title {
  font-size: clamp(30px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.mp-hero-accent { color: #4dd9dc; }
.mp-hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  opacity: .9;
  line-height: 1.8;
  margin-bottom: 28px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-pill {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  font-size: 13px;
  padding: 6px 14px;
}
.mp-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===================== QUICK BAR ===================== */
.quick-bar {
  background: var(--navy);
  padding: 0;
}
.quick-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: background var(--transition);
}
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: rgba(255,255,255,.08); }
.quick-icon { font-size: 22px; flex-shrink: 0; }
.quick-item strong { display: block; font-size: 14px; font-weight: 700; }
.quick-item p { font-size: 12px; opacity: .7; margin: 0; line-height: 1.4; }

/* ===================== FEATURE CARDS ===================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  font-size: 42px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===================== SERVICE CARDS (index) ===================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-top {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  padding: 28px;
  font-size: 48px;
}
.service-card-body {
  padding: 20px;
}
.service-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card-body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.service-card-link:hover { gap: 8px; }

/* ===================== DOCTOR MINI CARDS (index) ===================== */
.doctor-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.doctor-mini-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  gap: 0;
  transition: transform var(--transition);
}
.doctor-mini-card:hover { transform: translateY(-4px); }
.doctor-mini-photo {
  width: 130px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top;
}
.doctor-mini-body {
  padding: 24px 20px;
  flex: 1;
}
.doctor-mini-role {
  display: inline-block;
  background: rgba(13,115,119,.1);
  color: var(--teal);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  margin-bottom: 8px;
}
.doctor-mini-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.doctor-mini-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.doctor-mini-spec {
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 12px;
  color: var(--gray-700);
  padding: 3px 10px;
}
.doctor-mini-footer {
  text-align: center;
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 16px;
  opacity: .85;
  margin-bottom: 32px;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================== ABOUT PAGE ===================== */
.greeting-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.greeting-text h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 20px;
}
.greeting-text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 14px;
}
.greeting-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.greeting-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.strength-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.strength-icon { font-size: 32px; flex-shrink: 0; }
.strength-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.strength-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* Doctor full cards */
.doctor-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.doctor-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.doctor-full-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--white);
}
.doctor-full-photo {
  width: 110px;
  height: 130px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,.3);
  flex-shrink: 0;
}
.doctor-full-role {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border-radius: 20px;
  font-size: 12px;
  padding: 3px 12px;
  margin-bottom: 8px;
}
.doctor-full-name {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}
.doctor-full-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cert-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  font-size: 12px;
  padding: 3px 10px;
}
.doctor-full-body {
  padding: 28px;
}
.doctor-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  margin-top: 20px;
}
.doctor-section-title:first-child { margin-top: 0; }
.doctor-career-list li {
  font-size: 14px;
  color: var(--gray-700);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  padding-left: 16px;
  position: relative;
}
.doctor-career-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.doctor-career-list li:last-child { border-bottom: none; }
.award-list li {
  font-size: 14px;
  color: var(--gray-700);
  padding: 5px 0 5px 20px;
  position: relative;
}
.award-list li::before {
  content: '🏆';
  position: absolute;
  left: 0;
  font-size: 12px;
}

/* ===================== SERVICES PAGE ===================== */
.endo-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.endo-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.endo-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.endo-item.featured { border-color: var(--teal); background: linear-gradient(135deg, rgba(13,115,119,.04) 0%, rgba(13,115,119,.01) 100%); }
.endo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
}
.endo-item-icon { font-size: 36px; margin-bottom: 14px; }
.endo-item h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.endo-item p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 14px; }
.endo-features { list-style: none; }
.endo-features li {
  font-size: 13px;
  color: var(--gray-700);
  padding: 4px 0;
}
.endo-features li::before { content: '✓ '; color: var(--teal); font-weight: 700; }
.endo-item-tag {
  display: inline-block;
  background: rgba(13,115,119,.1);
  color: var(--teal);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  margin-top: 14px;
}

.endo-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.endo-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 24px 20px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,.1);
}
.endo-info-item:last-child { border-right: none; }
.endo-info-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--teal-light);
  opacity: .6;
  line-height: 1;
  flex-shrink: 0;
}
.endo-info-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.endo-info-item p { font-size: 12px; opacity: .7; line-height: 1.5; margin: 0; }

/* Cancer cards */
.cancer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.cancer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition);
}
.cancer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cancer-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.cancer-icon { font-size: 36px; margin-bottom: 12px; }
.cancer-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cancer-sub { font-size: 12px; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.cancer-card p { font-size: 13px; color: var(--gray-600); line-height: 1.7; margin-bottom: 12px; }
.cancer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cancer-tag {
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 11px;
  padding: 3px 8px;
  color: var(--gray-600);
}

/* Chronic grid */
.chronic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.chronic-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition);
}
.chronic-card:hover { transform: translateY(-3px); }
.chronic-icon { font-size: 28px; flex-shrink: 0; }
.chronic-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.chronic-card p { font-size: 13px; color: var(--gray-600); }
.chronic-card ul { margin-top: 8px; }
.chronic-card ul li { font-size: 12px; color: var(--gray-600); padding: 2px 0 2px 12px; position: relative; }
.chronic-card ul li::before { content: '·'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ===================== CHECKUP PAGE ===================== */

/* 탭 버튼 — 모바일 전용, 데스크탑에서는 숨김 */
.age-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.age-tab {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 28px;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
  text-align: center;
}
.age-tab:hover { border-color: var(--teal); color: var(--teal); }
.age-tab.active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.age-tab-num { display: block; font-size: 18px; font-weight: 800; }
.age-tab-sub { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }

/* 패널: 모바일은 탭 방식, 데스크탑은 3열 나란히 */
.age-panel { display: none; }
.age-panel.active { display: block; animation: fadeIn .3s ease; }


@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===================== FACILITY / EQUIPMENT PAGE ===================== */
.facility-section { margin-bottom: 56px; }
.facility-section-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 800; color: var(--navy);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.facility-grid.two-col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .facility-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .facility-grid, .facility-grid.two-col { grid-template-columns: 1fr; } }
.facility-img-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--gray-100);
}
.facility-img-wrap img {
  width: 100%; height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.facility-img-wrap:hover img { transform: scale(1.04); }
.facility-img-caption {
  padding: 10px 14px;
  font-size: .82rem; color: var(--gray-500); font-weight: 500;
  background: var(--white);
}

/* 장비 카드 */
.equip-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.equip-card-img { width: 100%; display: block; max-height: 480px; object-fit: contain; background: var(--gray-50); padding: 24px; }
.equip-card-img.full-width { max-height: none; padding: 0; object-fit: cover; }
.equip-card-body { padding: 32px 36px; }
.equip-card-body h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.equip-card-body p { font-size: .9rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 18px; }
.equip-feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.equip-feature-tag {
  font-size: .8rem; font-weight: 700;
  background: rgba(13,115,119,.1); color: var(--teal);
  border-radius: 20px; padding: 5px 14px;
}

.age-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.age-panel-title h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.age-panel-title h3 em { font-style: normal; color: var(--teal); }
.age-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  margin-right: 10px;
}
.age-badge.navy { background: var(--navy); }
.age-badge.accent { background: var(--accent); }

.age-table-wrap { overflow-x: auto; }
.age-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.age-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.age-table th.male { background: #1e4a7a; }
.age-table th.female { background: #7a3060; }
.age-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
.age-table tr.row-alt td { background: var(--gray-50); }
.item-name { font-weight: 600; color: var(--navy); white-space: nowrap; }
.item-icon { margin-right: 6px; }
.highlight-text { color: var(--teal); font-weight: 600; }
.age-note {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 14px;
  line-height: 1.6;
}
.age-note-box {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(232,115,74,.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.75;
}
.age-note-box p { margin: 0; }

/* ===================== BOOKING PAGE ===================== */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.booking-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  position: sticky;
  top: 90px;
}
.booking-info-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.4;
}
.bl-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.bl-icon { width: 22px; height: 22px; stroke: rgba(255,255,255,.6); flex-shrink: 0; margin-top: 2px; }
.bl-label { display: block; font-size: 12px; opacity: .6; font-weight: 500; margin-bottom: 2px; }
.bl-text { font-size: 14px; line-height: 1.6; }
.bl-phone-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
}
.bl-phone-label { display: block; font-size: 13px; opacity: .6; margin-bottom: 6px; }
.bl-phone { display: block; font-size: 28px; font-weight: 900; color: #4dd9dc; letter-spacing: .02em; }

.booking-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 40px;
}
.booking-form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.booking-confirm-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff6e9;
  border: 1px solid #f3c98b;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
}
.booking-confirm-notice .bcn-icon { font-size: 20px; line-height: 1.5; flex-shrink: 0; }
.booking-confirm-notice .bcn-text { font-size: 13.5px; line-height: 1.65; color: #6b4a18; }
.booking-confirm-notice .bcn-text strong { display: block; color: #b5530e; margin-bottom: 3px; font-size: 14px; }
.booking-confirm-notice .bcn-text b { color: #b5530e; }

.mp-modal-sub { font-size: 13px !important; color: var(--gray-500) !important; margin-top: 4px !important; }
.mp-modal-icon-warn { color: #e8734a; }
.modal-hl { color: #d63a1e; }
.modal-warn-box {
  text-align: left;
  background: #fff4ee;
  border: 1.5px solid #f3b89a;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 6px 0 16px;
}
.modal-warn-box .mwb-line {
  font-size: 14.5px !important;
  color: #5a3417 !important;
  line-height: 1.6;
  margin: 0 0 10px !important;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.modal-warn-box .mwb-line:last-child { margin-bottom: 0 !important; }
.modal-warn-box .mwb-line b { color: #c0341a; }
.modal-warn-box .mwb-num {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: #e8734a; color: #fff;
  border-radius: 50%;
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-warn-box .mwb-alert {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px dashed #f3b89a;
  font-weight: 600;
  color: #c0341a !important;
}
.modal-tel { color: #0d7377; font-weight: 800; text-decoration: underline; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.form-label-sub { font-weight: 400; color: var(--gray-400); font-size: 12px; }
.svc-note { margin-top: 12px; padding: 11px 14px; background: #fff5e9; border: 1px solid #f5c98a; border-left: 4px solid #e8912e; border-radius: 8px; font-size: 13.5px; line-height: 1.6; color: #b5651d; font-weight: 600; }
.required { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,115,119,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.svc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.svc-btn {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  font-size: 13px;
  font-family: var(--font);
  color: var(--gray-700);
  padding: 7px 16px;
  cursor: pointer;
  transition: all var(--transition);
}
.svc-btn.selected,
.svc-btn.active { background: var(--teal); border-color: var(--teal); color: var(--white); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.form-check input { margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.form-check label { font-size: 13px; color: var(--gray-600); line-height: 1.5; }

.btn-submit {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--teal-light); transform: translateY(-2px); }
.form-note {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* ===================== LOCATION PAGE ===================== */
.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.location-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 420px;
}
.location-map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}
.map-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.map-btn.naver { background: #03c75a; color: var(--white); }
.map-btn.naver:hover { background: #02a94d; }
.map-btn.google { background: #4285f4; color: var(--white); }
.map-btn.google:hover { background: #3367d6; }
.map-btn.kakao { background: #fee500; color: #3a1d1d; }
.map-btn.kakao:hover { background: #f0d800; }

.location-info-cards { display: flex; flex-direction: column; gap: 16px; }
.loc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.loc-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(13,115,119,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.loc-card-icon svg { width: 20px; height: 20px; stroke: var(--teal); }
.loc-card-icon.subway { background: rgba(0,119,200,.1); }
.loc-card-icon.subway svg { stroke: #0077c8; }
.loc-card-icon.bus { background: rgba(232,115,74,.1); }
.loc-card-icon.bus svg { stroke: var(--accent); }
.loc-card-icon.parking { background: rgba(15,43,61,.1); }
.loc-card-icon.parking svg { stroke: var(--navy); }
.loc-card-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.loc-card-text { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.line-badge {
  display: inline-block;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  margin-right: 4px;
}
.line-badge.gjl { background: #77c4a8; color: var(--white); }
.bus-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bus-tag {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
}
.parking-highlights { display: block; margin-top: 6px; }
.parking-highlight { display: block; font-size: 13px; color: var(--gray-700); padding: 2px 0; }

/* ===================== MOBILE HOME ===================== */

/* 기본: 데스크탑에서 모바일 전용 블록 숨김 */
.mobile-home  { display: none; }
.desktop-only { display: block; } /* section은 block */

@media (max-width: 768px) {
  /* 데스크탑 전용 섹션 숨김 */
  .desktop-only { display: none !important; }
  /* 모바일 홈 표시 */
  .mobile-home  { display: block; background: #f4f7fa; }

  /* ── 강점 3줄 ── */
  .mh-strengths {
    background: #fff;
    padding: 20px 18px 8px;
    border-bottom: 1px solid #eaecf0;
  }
  .mh-strength-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
  }
  .mh-strength-item:last-child { border-bottom: none; }
  .mh-s-icon {
    font-size: 26px;
    width: 36px;
    flex-shrink: 0;
    text-align: center;
    margin-top: 2px;
  }
  .mh-strength-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f2b3d;
    margin-bottom: 2px;
  }
  .mh-strength-item span {
    font-size: 12px;
    color: #888;
  }

  /* ── 바로가기 버튼 3개 ── */
  .mh-nav-section {
    padding: 24px 18px 8px;
  }
  .mh-nav-label {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .mh-nav-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mh-nav-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    padding: 18px 16px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: relative;
    border: 1.5px solid transparent;
    transition: border-color .15s, transform .1s;
  }
  .mh-nav-card:active { transform: scale(.98); }
  .mh-nav-card:hover  { border-color: #0d7377; }
  .mh-nav-icon {
    font-size: 28px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8f8;
    border-radius: 12px;
    flex-shrink: 0;
  }
  .mh-nav-card strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f2b3d;
    margin-bottom: 3px;
  }
  .mh-nav-card > span:not(.mh-nav-arrow) {
    font-size: 12px;
    color: #888;
  }
  .mh-nav-arrow {
    position: absolute;
    right: 18px;
    font-size: 18px;
    color: #ccc;
  }
  /* 예약 버튼 강조 */
  .mh-nav-card-accent {
    background: #0d7377;
    border-color: #0d7377;
  }
  .mh-nav-card-accent .mh-nav-icon { background: rgba(255,255,255,.2); }
  .mh-nav-card-accent strong,
  .mh-nav-card-accent > span:not(.mh-nav-arrow) { color: #fff; }
  .mh-nav-card-accent .mh-nav-arrow { color: rgba(255,255,255,.5); }
  .mh-nav-card-accent:hover { border-color: #0a5a5d; }

  /* ── 정보 카드들 ── */
  .mh-info-section {
    padding: 20px 18px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mh-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
  }
  .mh-info-title {
    font-size: 13px;
    font-weight: 700;
    color: #0d7377;
    margin-bottom: 12px;
    letter-spacing: .02em;
  }
  .mh-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  .mh-hours-table td {
    padding: 6px 0;
    color: #333;
  }
  .mh-hours-table td:first-child {
    width: 80px;
    font-weight: 600;
    color: #0f2b3d;
  }
  .mh-closed td { color: #e74c3c !important; }
  .mh-hours-note {
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
  }
  .mh-addr {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .mh-map-btn {
    display: inline-block;
    padding: 8px 18px;
    background: #f0f8f8;
    color: #0d7377;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }
  .mh-call-card { text-align: center; }
  .mh-tel {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #0d7377;
    text-decoration: none;
    letter-spacing: -.5px;
    margin-top: 4px;
  }

  /* quick-bar 모바일에서 단순화 */
  .quick-bar { display: none; }
}

/* ===================== MOBILE SERVICES ===================== */
.mobile-svc { display: none; }

@media (max-width: 768px) {
  .mobile-svc {
    display: block;
    background: #f4f7fa;
    padding: 0 0 8px;
  }

  /* 그룹 단위 */
  .msvc-group {
    padding: 22px 18px 4px;
  }
  .msvc-group-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f2b3d;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e4e8ec;
  }
  .msvc-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* 카드 */
  .msvc-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .msvc-card-full { margin: 0; }

  .msvc-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  .msvc-icon {
    width: 44px;
    height: 44px;
    background: #f0f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .msvc-card-head strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f2b3d;
  }
  .msvc-badge {
    display: inline-block;
    background: #0d7377;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    margin-top: 3px;
  }
  .msvc-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  .msvc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .msvc-list li {
    font-size: 13px;
    color: #444;
  }

  /* 5대암 태그 행 */
  .msvc-cancer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 14px;
  }
  .msvc-cancer-row span {
    font-size: 13px;
    font-weight: 600;
    color: #0d7377;
    background: #f0f8f8;
    padding: 5px 12px;
    border-radius: 20px;
  }

  /* 버튼 행 */
  .msvc-btn-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }
  .msvc-detail-btn {
    display: inline-block;
    padding: 9px 18px;
    background: #f0f2f5;
    color: #0f2b3d;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }
  .msvc-book-btn {
    display: inline-block;
    padding: 9px 18px;
    background: #0d7377;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  /* 페이지 히어로(breadcrumb) 모바일에서 작게 */
  .page-hero { padding: 28px 0 22px; }
  .page-hero .page-hero-title { font-size: 24px; }
}

/* ===================== FOOTER ===================== */
.mp-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 48px 0 28px;
}
.mp-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.mp-footer-logo { height: 30px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .85; }
.mp-footer-addr { font-size: 13px; line-height: 1.9; margin-bottom: 12px; }
.mp-footer-copy { font-size: 12px; opacity: .4; }
.mp-footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.mp-footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.mp-footer-col a:hover { color: var(--white); }
.mp-footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 28px 0 20px; }
.mp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  opacity: .5;
}

/* ===================== FLOATING BUTTONS ===================== */
.mp-floating {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.mp-float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  background: none;
  text-decoration: none;
}
.mp-float-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.mp-float-btn.call { background: var(--teal); color: var(--white); }
.mp-float-btn.book { background: var(--accent); color: var(--white); }
.mp-float-btn.top { background: var(--navy); color: var(--white); font-size: 16px; }

/* ===================== MODAL ===================== */
.mp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.mp-modal-overlay.open { display: flex; }
.mp-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mp-modal-icon { font-size: 48px; margin-bottom: 16px; }
.mp-modal h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.mp-modal p { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cancer-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-full-grid { grid-template-columns: 1fr; }
  .mp-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mp-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 20px 40px;
    overflow-y: auto;
    z-index: 1050;
  }
  .mp-nav.open { display: flex; }
  .mp-nav-link { font-size: 20px; padding: 10px 20px; }
  .mp-menu-toggle { display: flex; }
  .mp-header-inner { height: 54px; padding: 0 18px; }
  .mp-logo img { width: auto; height: 32px; }
  .mp-hero-btns { display: none; }

  /* 모바일 히어로: 빈 공간 축소 */
  .mp-hero { min-height: auto; }
  .mp-hero-content { padding: 40px 0 48px; }

  .quick-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .quick-item { border-bottom: 1px solid rgba(255,255,255,.1); }

  .feature-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .doctor-mini-grid { grid-template-columns: 1fr; }
  .doctor-mini-photo { width: 100px; height: 120px; }

  .greeting-section { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .doctor-full-header { flex-direction: column; align-items: flex-start; }

  .endo-cards { grid-template-columns: 1fr; }
  .endo-info-bar { grid-template-columns: 1fr 1fr; }
  .cancer-grid { grid-template-columns: 1fr; }
  .chronic-grid { grid-template-columns: 1fr; }

  .booking-layout { grid-template-columns: 1fr; }
  .booking-info-card { position: static; }

  .location-grid { grid-template-columns: 1fr; }

  .mp-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .mp-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cta-btns { flex-direction: column; align-items: center; }
  .mp-hero-btns { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .age-tabs { flex-direction: column; align-items: stretch; }

  .mp-section { padding: 48px 0; }
  .page-hero { padding: 40px 0 32px; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .quick-bar-inner { grid-template-columns: 1fr; }
  .endo-info-bar { grid-template-columns: 1fr; }
  .mp-header-top { font-size: 11px; }
}

/* ===================== DROPDOWN NAV ===================== */
.mp-nav-item { position: relative; }
.mp-nav-item > .mp-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.nav-chevron {
  font-size: 9px;
  opacity: .6;
  transition: transform var(--transition);
  display: inline-block;
  line-height: 1;
}
.mp-nav-item:hover .nav-chevron { transform: rotate(180deg); }
.mp-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  min-width: 172px;
  padding: 8px 0;
  padding-top: 16px; /* 상단 여백을 gap 대신 내부 패딩으로 처리 — hover 단절 방지 */
  z-index: 200;
  border: 1px solid var(--gray-200);
  white-space: nowrap;
}
/* .mp-nav-item에 아래쪽 padding을 줘서 hover 영역을 드롭다운까지 연결 */
.mp-nav-item { position: relative; padding-bottom: 8px; }
.mp-nav-item:hover .mp-dropdown { display: block; animation: dropIn .2s ease; }
@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.mp-dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 15px;
  color: var(--gray-700);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.mp-dropdown a:hover { background: var(--gray-50); color: var(--teal); border-left-color: var(--teal); padding-left: 24px; }
.mp-dropdown a.active { color: var(--teal); font-weight: 600; border-left-color: var(--teal); background: var(--gray-50); }

/* ===================== SCHEDULE TABLE ===================== */
.schedule-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: 32px;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  background: var(--white);
}
.schedule-table thead th {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 600;
}
.schedule-table thead th.sat-col { background: #1a5e40; }
.schedule-table td {
  text-align: center;
  padding: 11px 8px;
  border: 1px solid var(--gray-100);
  font-size: 13px;
  vertical-align: middle;
}
.sched-doctor-row > td {
  background: rgba(15,43,61,.05);
  font-weight: 700;
  color: var(--navy);
  padding: 10px 16px;
  font-size: 14px;
  border-top: 2px solid var(--teal);
}
.sched-pill {
  display: inline-block;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  margin: 2px 1px;
}
.sched-pill.am  { background: rgba(13,115,119,.15); color: var(--teal); }
.sched-pill.pm  { background: rgba(15,43,61,.12); color: var(--navy); }
.sched-pill.off { background: var(--gray-100); color: var(--gray-400); text-decoration: line-through; }
.sched-pill.sat-only { background: rgba(26,94,64,.12); color: #1a5e40; }
.sched-cell-closed { color: var(--gray-300); font-size: 12px; }
.schedule-legend {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-600);
  flex-wrap: wrap;
  align-items: center;
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}

/* ===================== FACILITY & EQUIPMENT PAGE ===================== */
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.facility-photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.facility-photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.facility-photo-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.facility-photo-label {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}
.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.equip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.equip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.equip-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(13,115,119,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.equip-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.equip-card p  { font-size: 13px; color: var(--gray-600); line-height: 1.7; }
.equip-spec-tag {
  display: inline-block;
  background: rgba(13,115,119,.08);
  color: var(--teal);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  margin-top: 8px;
  margin-right: 4px;
}

/* ===================== NOTICE PAGE ===================== */
.notice-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  color: var(--gray-600);
  transition: all var(--transition);
}
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.filter-btn:hover:not(.active) { border-color: var(--teal); color: var(--teal); }
.notice-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.notice-table { width: 100%; border-collapse: collapse; }
.notice-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.notice-table thead th.title-col { text-align: left; }
.notice-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
  background: var(--white);
}
.notice-table td.title-col { text-align: left; }
.notice-table tr:hover td { background: var(--gray-50); }
.notice-num { color: var(--gray-400); font-size: 13px; }
.notice-tag {
  display: inline-block;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  margin-right: 6px;
  vertical-align: middle;
}
.notice-tag.type-notice { background: var(--accent); color: var(--white); }
.notice-tag.type-info   { background: var(--teal);   color: var(--white); }
.notice-tag.type-event  { background: #8b5cf6;        color: var(--white); }
.notice-title-text { color: var(--gray-700); font-weight: 500; }
.notice-title-text:hover { color: var(--teal); }
.notice-date { font-size: 13px; color: var(--gray-400); white-space: nowrap; }
.notice-pagination,
.health-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  font-family: var(--font);
}
.page-btn.active { background: var(--teal); border-color: var(--teal); color: var(--white); font-weight: 700; }
.page-btn:hover:not(.active) { border-color: var(--teal); color: var(--teal); }

/* ===================== BLOG PAGE ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 20px; }
.blog-tag {
  display: inline-block;
  background: rgba(13,115,119,.1);
  color: var(--teal);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.blog-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-body p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.blog-read-more { color: var(--teal); font-weight: 600; font-size: 13px; }
.blog-naver-box {
  background: linear-gradient(135deg, #00b840 0%, #03c75a 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(3,199,90,.25);
}
.blog-naver-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.blog-naver-box p  { font-size: 15px; opacity: .9; line-height: 1.6; }
.btn-naver { background: var(--white); color: #03c75a; border: 2px solid var(--white); white-space: nowrap; }
.btn-naver:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }

/* ===================== RESPONSIVE ADDITIONS ===================== */
@media (max-width: 1024px) {
  .facility-gallery { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mp-nav .mp-nav-item { text-align: center; }
  .mp-nav-item > .mp-nav-link { justify-content: center; }
  .nav-chevron { display: none; }
  .mp-dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: rgba(0,0,0,.04) !important;
    border-radius: var(--radius) !important;
    margin: 4px 20px 8px !important;
    padding: 4px 0 !important;
    display: block !important;
    animation: none !important;
  }
  .mp-dropdown a {
    font-size: 16px !important;
    padding: 8px 20px !important;
    border-left: none !important;
    color: var(--gray-600) !important;
  }
  .mp-dropdown a:hover { padding-left: 20px !important; }

  .facility-gallery { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-naver-box { flex-direction: column; text-align: center; padding: 28px 24px; }

  .notice-table thead th:nth-child(1),
  .notice-table td:nth-child(1) { display: none; }
}

@media (max-width: 480px) {
  .notice-table thead th:nth-child(3),
  .notice-table td:nth-child(3) { display: none; }
}

/* ===== 공지사항 게시판 ===== */
.notice-board-wrap { border-top: 2px solid var(--navy); }
.notice-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 8px;
  gap: 16px;
  cursor: pointer;
  transition: background .15s;
}
.notice-row:hover { background: var(--gray-50); }
.notice-row.pinned { background: rgba(13,115,119,.04); }
.notice-num {
  flex: 0 0 60px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 600;
}
.notice-num.pin-badge {
  color: var(--teal);
  font-size: 12px;
}
.notice-row-title { flex: 1; font-size: 16px; color: var(--gray-700); }
.notice-row-title .pin-label {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 8px;
  font-weight: 600;
  vertical-align: middle;
}
.notice-row-date { flex: 0 0 90px; text-align: right; font-size: 13px; color: var(--gray-400); }

/* 공지 모달 */
.notice-modal-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.notice-modal-backdrop.open { display: flex; }
.notice-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.notice-modal-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 22px; cursor: pointer; color: var(--gray-400); background: none; border: none;
}
.notice-modal h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.notice-modal .notice-modal-meta { font-size: 13px; color: var(--gray-400); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }
.notice-modal .notice-modal-body { font-size: 16px; color: var(--gray-600); line-height: 1.85; white-space: pre-line; }

/* ===== 건강소식 카드 ===== */
.health-list-wrap { display: flex; flex-direction: column; gap: 24px; }
.health-card {
  display: flex;
  gap: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
  background: #fff;
}
.health-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.health-card-img {
  flex: 0 0 200px;
  min-height: 140px;
  background-size: cover;
  background-position: center;
}
.health-card-img-empty { background: linear-gradient(135deg, var(--teal) 0%, #0a5a5d 100%); }
.health-card-body { flex: 1; padding: 20px 20px 20px 0; }
.health-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.health-tag {
  background: rgba(13,115,119,.1);
  color: var(--teal);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.health-date { font-size: 13px; color: var(--gray-400); }
.health-card-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.health-card-body p { font-size: 15px; color: var(--gray-500); line-height: 1.8; margin-bottom: 12px; }
.health-read-more { font-size: 14px; color: var(--teal); font-weight: 600; }
@media (max-width: 600px) {
  .health-card { flex-direction: column; }
  .health-card-img { flex: 0 0 160px; }
  .health-card-body { padding: 16px; }
}

/* ===== 블로그 연동 페이지 ===== */
.blog-hero-box {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a6b 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  margin-bottom: 48px;
}
.blog-hero-box h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.blog-hero-box p { font-size: 16px; opacity: .85; margin-bottom: 28px; }
.btn-naver {
  display: inline-block;
  background: #03c75a;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: opacity .2s;
}
.btn-naver:hover { opacity: .85; }
