/* ============================================================
   map.css — 오시는 길 페이지
   ============================================================ */

/* ── 히어로 ── */
.map-hero {
  position: relative;
  height: 380px;
  background: linear-gradient(135deg, #05306b 0%, #0a4fa8 55%, #1e90d8 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.map-hero::before {
  content: 'LOCATION';
  position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
  font-size: 180px; font-weight: 900; color: rgba(255,255,255,0.04);
  letter-spacing: -5px; white-space: nowrap; pointer-events: none;
}
.map-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,48,107,0.6) 0%, transparent 100%);
}
.map-hero-content { position: relative; z-index: 1; color: #fff; }
.map-hero-label {
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: rgba(255,255,255,0.6); margin-bottom: 16px;
}
.map-hero-content h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900;
  color: #fff; margin-bottom: 16px; line-height: 1.1;
}
.map-hero-desc {
  font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.8;
}

/* ── 본문 ── */
.map-page {  padding: 60px 0 80px; }
.map-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; gap: 32px; }

/* ── 섹션 공통 ── */
.map-section { width: 100%; }

/* ── 카카오 지도 ── */
.map-kakao-wrap {
  width: 100%; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  position: relative; height: 480px;
}
.map-kakao { width: 100%; height: 100%; position: absolute; inset: 0; border: none; }

/* ── 약도 이미지 ── */
.map-diagram-wrap {
  width: 100%; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08); background: #fff;
}
.map-diagram-img { width: 100%; height: auto; display: block; }

/* ── 정보 카드 그리드 ── */
.map-info-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 20px; }

.map-card {
  background: #f5f7fa; border: 1.5px solid #c8d2e0;
  border-radius: 14px; padding: 26px 28px; box-sizing: border-box;
}
.map-card-label {
  font-size: 13px; font-weight: 700; color: #445776;
  letter-spacing: 1px; margin: 0 0 14px;
  display: flex; align-items: center; gap: 7px;
}
.map-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; background: #445776;
  border-radius: 7px; font-size: 14px;
}

/* 오시는 길 */
.map-addr-main { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 6px; line-height: 1.45; }
.map-addr-sub  { font-size: 15px; color: #555; margin: 0 0 16px; }
.map-subway {
  background: #fff; border-left: 4px solid #445776;
  border-radius: 0 8px 8px 0; padding: 13px 16px;
  font-size: 15px; color: #333; line-height: 1.7;
}
.map-subway strong { color: #082d59; font-weight: 900; font-size: 16px; }

/* 진료시간 */
.map-table { width: 100%; border-collapse: collapse; }
.map-table tr { border-bottom: 1px solid #eee; }
.map-table tr:last-child { border-bottom: none; }
.map-table td { padding: 10px 0; font-size: 16px; }
.map-table td:first-child { color: #666; }
.map-table td:last-child { text-align: right; font-weight: 700; color: #111; }
.map-hl td:first-child { color: #445776; font-weight: 700; }
.map-hl td:last-child  { color: #082d59; font-size: 17px; }
.map-divider td { border-top: 2px solid #e8ecf4; padding-top: 12px; font-size: 14px; color: #999; }
.map-divider td:last-child { font-weight: 500; }

.map-note {
  margin-top: 14px; background: #082d59; border-radius: 8px;
  padding: 14px 16px; display: flex; align-items: center;
  justify-content: center; gap: 12px; flex-wrap: wrap;
}
.map-note span { font-size: 17px; font-weight: 900; color: #FFD84D; letter-spacing: 0.3px; }
.map-note-sep  { color: rgba(255,255,255,0.25) !important; font-size: 20px; font-weight: 300 !important; }

/* 전화 + 주차 */
.map-right { display: flex; flex-direction: column; gap: 16px; }
.map-right .map-card { flex: 1; }
.map-tel-card { background: #082d59 !important; border-color: #082d59 !important; }
.map-tel-card .map-card-label { color: rgba(255,255,255,0.7); }
.map-tel-card .map-icon { background: rgba(255,255,255,0.15); }
.map-tel { font-size: 36px!important; font-weight: 900; color: #fff; margin: 0; letter-spacing: 0.5px; }
.map-parking-badge {
  display: inline-block; background: #445776; color: #fff;
  font-size: 13px; font-weight: 700; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 10px;
}
.map-parking-txt { font-size: 15px; color: #444; line-height: 1.8; margin: 0; }

/* ── 반응형 ── */
@media (max-width: 900px) {
  .map-info-grid { grid-template-columns: 1fr 1fr; }
  .map-right { flex-direction: row; }
  .map-right .map-card { flex: 1; }
  .map-kakao-wrap { height: 360px; }
  .map-inner { padding: 0 20px; }
}
@media (max-width: 640px) {
  .map-page { padding: 32px 0 60px; }
  .map-inner { gap: 20px; padding: 0 16px; }
  .map-info-grid { grid-template-columns: 1fr; }
  .map-right { flex-direction: column; }
  .map-kakao-wrap { height: 280px; }
  .map-hero { height: 280px; }
  .map-addr-main { font-size: 16px; }
  .map-table td { font-size: 15px; }
  .map-tel { font-size: 28px!important; }
  .map-card { padding: 20px; }
}
