/* ==========================================================================
   pages.css — Guide, Intro, Reservation extracted styles
   ========================================================================== */

/* ==========================================================================
   SHARED HERO SECTIONS
   ========================================================================== */

/* Guide Hero (directions, floor_plan, parking, certificate, facilities, phone_numbers, procedure) */
.guide-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, #fdfdfd 0%, #f1f4f9 100%);
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}
.guide-hero h2 {
  font-size: 3rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.guide-hero .accent-line {
  width: 40px;
  height: 3px;
  background: var(--main-brand);
  margin: 0 auto 25px;
}
.guide-hero p {
  font-size: 1.15rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Page Hero (kind_staff, voice, faq, reservation pages) */
.page-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, #fdfdfd, #f1f4f9);
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}
.page-hero h2 {
  font-size: 3rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 20px;
}
.page-hero .accent-line {
  width: 40px;
  height: 3px;
  background: var(--main-brand);
  margin: 0 auto 25px;
}
.page-hero p {
  font-size: 1.15rem;
  color: #666;
  line-height: 1.8;
}

/* Intro Hero — Standard variant (ethics, hi_intro, organization, partners, patient_rights) */
.intro-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, #fdfdfd 0%, #f7f8f9 100%);
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}
.intro-hero h2 {
  font-size: 3rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.intro-hero h1 {
  font-size: 3rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.intro-hero .accent-line {
  width: 40px;
  height: 3px;
  background: var(--main-brand);
  margin: 0 auto 25px;
}
.intro-hero p {
  font-size: 1.15rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Intro Hero — Chairman/Director/History/MissionVision variant (with ::before radial gradient) */
.intro-hero--greeting {
  position: relative;
  padding: 130px 0 80px;
  text-align: center;
  margin-bottom: 80px;
  background: #fdfdfd;
  border-bottom: 1px solid #eaeaea;
  overflow: hidden;
}
.intro-hero--greeting::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  height: 100%;
  background: radial-gradient(circle at 50% -20%, rgba(16, 43, 77, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.intro-hero--greeting h2 {
  font-family: 'GmarketSansBold';
  font-size: 2.8rem;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  position: relative;
}
.intro-hero--greeting h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--main-brand);
  margin: 25px auto 0;
}
.intro-hero--greeting p {
  font-size: 1.15rem;
  color: #666;
  font-weight: 400;
  letter-spacing: -0.5px;
}

/* Status Hero */
.status-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, #fdfdfd 0%, #f1f4f9 100%);
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}
.status-hero h2 { font-size: 3rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 20px; }
.status-hero .accent-line { width: 40px; height: 3px; background: var(--main-brand); margin: 0 auto 25px; }
.status-hero p { font-size: 1.15rem; color: #666; line-height: 1.6; }

/* Safety Policy Hero */
.sp-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, #fdfdfd 0%, #f1f4f9 100%);
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}
.sp-hero h2 { font-size: 3rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 20px; }
.sp-hero .accent-line { width: 40px; height: 3px; background: var(--main-brand); margin: 0 auto 25px; }
.sp-hero p { font-size: 1.15rem; color: #666; line-height: 1.8; }

/* Charter Hero */
.charter-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, #fdfdfd 0%, #f1f4f9 100%);
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}
.charter-hero h2 { font-size: 3rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 20px; }
.charter-hero .accent-line { width: 40px; height: 3px; background: var(--main-brand); margin: 0 auto 25px; }
.charter-hero p { font-size: 1.15rem; color: #666; line-height: 1.8; }

/* Emblem Hero */
.emblem-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, #fdfdfd 0%, #f1f4f9 100%);
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}
.emblem-hero h2 { font-size: 3rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 20px; }
.emblem-hero .accent-line { width: 40px; height: 3px; background: var(--main-brand); margin: 0 auto 25px; }
.emblem-hero p { font-size: 1.15rem; color: #666; line-height: 1.8; }

/* Reservation Hero */
.res-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, #fdfdfd 0%, #f1f4f9 100%);
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}
.res-hero h2 { font-size: 3rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 20px; }
.res-hero .accent-line { width: 40px; height: 3px; background: var(--main-brand); margin: 0 auto 25px; }
.res-hero p { font-size: 1.15rem; color: #666; line-height: 1.8; }


/* ==========================================================================
   SHARED COMPONENTS (used across multiple pages)
   ========================================================================== */

/* Section Title (used in many guide/intro/reservation pages) */
.section-title {
  font-size: 1.8rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 35px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--main-brand);
}

/* Info Box (shared across reservation & guide pages) */
.info-box {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 35px;
  margin-bottom: 25px;
}
.info-box h4 {
  font-size: 1.1rem;
  font-family: 'GmarketSansBold';
  color: var(--main-brand);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-box ul { list-style: none; }
.info-box ul li {
  font-size: .93rem;
  color: #555;
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid #eee;
  line-height: 1.7;
  position: relative;
  word-break: keep-all;
}
.info-box ul li:last-child { border-bottom: none; }
.info-box ul li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: calc(9px + 0.85em);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--main-brand);
}

/* Form Styles (kind_staff, voice) */
.form-group { margin-bottom: 25px; }
.form-label { display: block; font-size: .95rem; font-weight: 700; color: #333; margin-bottom: 8px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: .95rem;
  color: #333;
  transition: .3s;
  font-family: inherit;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--main-brand);
  box-shadow: 0 0 0 3px rgba(234, 84, 0, .08);
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--main-brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  font-family: inherit;
}
.submit-btn:hover { background: var(--main-dark); transform: translateY(-2px); }

/* 모바일 — 폼 입력칸 한 줄씩 + 컨테이너 여백 축소 (답답함 해소) */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group { margin-bottom: 18px; }
  .voice-form { padding: 26px 18px; border-radius: 16px; margin-bottom: 36px; }
}

/* 회원가입 — 비밀번호 안내 박스 */
.pw-guide {
  background: #f1f6fc;
  border: 1px solid #d4e3f5;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 0.86rem;
  color: #3a516b;
}
.pw-guide strong {
  display: block; margin-bottom: 8px;
  color: #1d6fc8; font-size: 0.9rem;
}
.pw-guide ul { margin: 0; padding-left: 18px; }
.pw-guide li { line-height: 1.75; word-break: keep-all; }
.pw-guide code {
  background: #e2ecf8; border-radius: 4px;
  padding: 1px 5px; font-size: 0.85em; color: #1d4e8c;
}
.pw-guide__ref {
  margin: 10px 0 0; padding-top: 8px;
  border-top: 1px dashed #cdddee;
  font-size: 0.8rem; color: #6b7c91;
}
@media (max-width: 768px) {
  .pw-guide { font-size: 0.82rem; padding: 14px 14px; }
}

/* FAQ Accordion (guide/faq, reservation/res_faq) */
.faq-item {
  border: 1px solid #eee;
  border-radius: 15px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: .3s;
}
.faq-item.open { border-color: var(--main-brand); box-shadow: 0 5px 20px rgba(234, 84, 0, .06); }
.faq-q {
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-q-text { display: flex; gap: 15px; align-items: center; }
.faq-q-badge {
  background: var(--main-brand);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-q-title { font-size: 1rem; font-weight: 700; color: #111; }
.faq-q-icon { font-size: .85rem; color: #aaa; transition: .3s; flex-shrink: 0; }
.faq-item.open .faq-q-icon { transform: rotate(180deg); color: var(--main-brand); }
.faq-a {
  display: none;
  padding: 18px 25px 22px 68px;
  font-size: .93rem;
  color: #555;
  line-height: 1.8;
  background: #fafafa;
  border-top: 1px solid #f5f5f5;
}
.faq-item.open .faq-a { display: block; }


/* ==========================================================================
   GUIDE — Directions
   ========================================================================== */

.map-container {
  height: 500px;
  background: #f0f0f0;
  border-radius: 20px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder { text-align: center; color: #888; }
.map-placeholder i { font-size: 4rem; margin-bottom: 20px; color: #ddd; }

.address-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 80px;
  display: flex;
  gap: 60px;
  align-items: center;
}
.addr-item { flex: 1; }
.addr-item h3 {
  font-size: 1.2rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.addr-item h3 i { color: var(--main-brand); }
.addr-item p { font-size: 1.1rem; color: #444; font-weight: 500; }

/* Transportation Tabs */
.trans-tabs { margin-bottom: 120px; }
.trans-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 50px;
}
.trans-link {
  background: #f8f9fa;
  padding: 25px;
  text-align: center;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}
.trans-link i { font-size: 1.8rem; display: block; margin-bottom: 15px; color: #ccc; }
.trans-link span { font-weight: 700; font-size: 1.05rem; color: #888; }
.trans-link:hover { background: #fff; border-color: #eee; }
.trans-link.active { background: #fff; border-color: var(--main-brand); }
.trans-link.active i { color: var(--main-brand); }
.trans-link.active span { color: #111; }

.trans-content { display: none; }
.trans-content.active { display: block; animation: fadeIn 0.5s ease-in-out; }

.trans-info-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 50px;
}
.trans-info-box h2 {
  font-size: 1.6rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 35px;
}
.trans-route {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
}
.trans-route:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.trans-route h4 {
  font-size: 1.2rem;
  font-family: 'GmarketSansBold';
  color: var(--main-brand);
  margin-bottom: 15px;
}
.trans-route p { font-size: 1rem; color: #666; line-height: 1.8; word-break: keep-all; }
.trans-route strong { color: #111; }

.bus-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-right: 8px;
}
.bus-green { background: #4caf50; }
.bus-blue { background: #2196f3; }


/* ==========================================================================
   GUIDE — Kind Staff
   ========================================================================== */

.kind-intro {
  background: linear-gradient(135deg, #fff5f0, #fff);
  border: 1px solid rgba(234, 84, 0, .2);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 60px;
}
.kind-intro i { font-size: 2.5rem; color: var(--main-brand); flex-shrink: 0; }
.kind-intro h3 { font-size: 1.2rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 10px; }
.kind-intro p { font-size: .95rem; color: #555; line-height: 1.8; }
.kind-form {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .04);
}

/* Voice Form */
.voice-form {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 25px;
  padding: 50px;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .04);
}


/* ==========================================================================
   GUIDE — Floor Plan
   ========================================================================== */

.floor-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}
.floor-tab-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-family: 'GmarketSansBold';
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  color: #888;
}
.floor-tab-btn.active {
  background: var(--main-brand);
  color: #fff;
  border-color: var(--main-brand);
  box-shadow: 0 5px 15px rgba(234, 84, 0, 0.2);
}

.floor-guide-wrap { display: none; animation: fadeIn 0.5s ease-in-out; }
.floor-guide-wrap.active { display: block; }

.floor-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 150px;
}
.floor-nav { display: flex; flex-direction: column; gap: 10px; }
.floor-item {
  padding: 15px 25px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.floor-item span:first-child { font-size: 1.2rem; font-family: 'GmarketSansBold'; color: #111; }
.floor-item span:last-child { font-size: 0.85rem; color: #888; }
.floor-item:hover { border-color: var(--main-brand); }
.floor-item.active {
  background: #fff;
  border-color: var(--main-brand);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.floor-item.active span:first-child { color: var(--main-brand); }

.floor-detail {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 50px;
  min-height: 400px;
  display: flex;
  gap: 50px;
}
.floor-img {
  flex: 1;
  background: #f9f9f9;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.floor-img i { font-size: 4rem; color: #eee; }
.floor-info { flex: 1; }
.floor-info h3 {
  font-size: 1.8rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  gap: 15px;
}
.floor-info h3 small { font-size: 1rem; color: #888; font-family: sans-serif; }

.dept-list { list-style: none; padding: 0; margin: 0; }
.dept-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 1.05rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dept-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--main-brand);
  border-radius: 50%;
}
.dept-list li:last-child { border-bottom: none; }


/* ==========================================================================
   GUIDE — Parking
   ========================================================================== */

.parking-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}
.parking-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}
.parking-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05); }
.parking-card i { font-size: 3rem; color: var(--main-brand); margin-bottom: 25px; }
.parking-card h3 { font-size: 1.4rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 15px; }
.parking-card p { color: #666; line-height: 1.6; }

.fee-info-box {
  background: #f8f9fa;
  border-radius: 30px;
  padding: 60px;
  margin-bottom: 120px;
}
.fee-info-box h2 {
  font-size: 2rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 40px;
  text-align: center;
}
.fee-table-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.fee-section h4 {
  font-size: 1.25rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--main-brand);
}
.fee-list { list-style: none; padding: 0; margin: 0; }
.fee-list li {
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fee-list li:last-child { border-bottom: none; }
.fee-list li span:first-child { color: #555; }
.fee-list li span:last-child { font-weight: 700; color: #111; }

.parking-notice { margin-top: 50px; padding: 30px; background: #fff; border-radius: 15px; border: 1px solid #eee; }
.parking-notice ul { list-style: none; padding: 0; margin: 0; }
.parking-notice li {
  position: relative;
  padding-left: 20px;
  color: #666;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.parking-notice li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--main-brand);
  font-weight: bold;
}


/* ==========================================================================
   GUIDE — Certificate
   ========================================================================== */

.tabs-container { margin-bottom: 100px; }
.tabs-nav {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #eee;
  margin-bottom: 60px;
}
.tab-link {
  padding: 20px 40px;
  font-size: 1.2rem;
  font-family: 'GmarketSansBold';
  color: #888;
  cursor: pointer;
  transition: 0.3s;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-link:hover { color: var(--main-brand); }
.tab-link.active { color: var(--main-brand); border-bottom-color: var(--main-brand); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s ease-in-out; }

.cert-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 60px;
}
.cert-box h2 {
  font-size: 1.8rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cert-box h2 i { color: var(--main-brand); }

.process-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
}
.process-item {
  flex: 1;
  text-align: center;
  font-weight: 700;
  color: #444;
  font-size: 1.1rem;
  word-break: keep-all;
}
.process-arrow { color: #ddd; font-size: 1.2rem; padding: 0 10px; }

.doc-table-wrap { overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.doc-table th, .doc-table td {
  padding: 20px;
  border: 1px solid #eee;
  font-size: 0.95rem;
  line-height: 1.6;
}
.doc-table th {
  background: #f8f9fa;
  font-family: 'GmarketSansBold';
  color: #111;
  text-align: center;
}
.doc-table td ul { list-style: none; padding: 0; margin: 0; }
.doc-table td li { position: relative; padding-left: 15px; margin-bottom: 8px; }
.doc-table td li::before { content: '\2022'; position: absolute; left: 0; color: var(--main-brand); }

.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fee-item {
  background: #fdf2e9;
  padding: 25px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fee-item strong { font-size: 1.1rem; color: #111; }
.fee-item span { font-weight: 700; color: var(--main-brand); }

.download-btns { display: flex; gap: 20px; margin-top: 30px; }
.btn-download {
  flex: 1;
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px 25px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: #444;
  transition: 0.3s;
}
.btn-download:hover {
  border-color: var(--main-brand);
  color: var(--main-brand);
  box-shadow: 0 5px 15px rgba(234, 84, 0, 0.08);
}
.btn-download i { font-size: 1.2rem; }


/* ==========================================================================
   GUIDE — Facilities
   ========================================================================== */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 120px;
}
.facility-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.facility-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05); }
.facility-img {
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.facility-img i { font-size: 3rem; color: #ddd; }
.facility-body { padding: 30px; flex: 1; }
.facility-body h3 { font-size: 1.3rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 15px; }
.facility-body p { font-size: 0.95rem; color: #666; line-height: 1.7; margin-bottom: 20px; }
.facility-meta {
  font-size: 0.85rem;
  color: #888;
  padding-top: 15px;
  border-top: 1px solid #f5f5f5;
  display: flex;
  justify-content: space-between;
}
.facility-meta i { margin-right: 5px; color: var(--main-brand); }


/* ==========================================================================
   GUIDE — Funeral
   ========================================================================== */

.funeral-section { margin-bottom: 120px; }

/* Funeral uses .intro-hero with #333 accent-line — handled via inline style or override */

/* Funeral facility grid (2-col with icon layout) */
.facility-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
}
.facility-icon {
  width: 80px;
  height: 80px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #555;
  flex-shrink: 0;
}
.facility-item h3 { font-size: 1.3rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 10px; }
.facility-item p { color: #666; line-height: 1.6; font-size: 0.95rem; }

.funeral-steps {
  background: #fdfdfd;
  padding: 80px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 120px;
}
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-box { text-align: center; position: relative; }
.step-num {
  width: 40px;
  height: 40px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 700;
  font-size: 1.1rem;
}
.step-box h4 { font-family: 'GmarketSansBold'; font-size: 1.15rem; color: #111; margin-bottom: 15px; }
.step-box p { font-size: 0.9rem; color: #666; line-height: 1.5; }

.contact-bar {
  background: #111;
  color: #fff;
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
}
.contact-bar h2 { font-size: 2rem; font-family: 'GmarketSansBold'; margin-bottom: 15px; }
.contact-bar p { color: #888; margin-bottom: 30px; }
.contact-num { font-size: 3rem; font-family: 'GmarketSansBold'; color: #fff; text-decoration: none; }


/* ==========================================================================
   GUIDE — Phone Numbers
   ========================================================================== */

.search-wrap { max-width: 800px; margin: 0 auto 80px; position: relative; }
.search-input {
  width: 100%;
  padding: 25px 30px 25px 70px;
  font-size: 1.15rem;
  border: 2px solid #eee;
  border-radius: 50px;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}
.search-input:focus {
  border-color: var(--main-brand);
  outline: none;
  box-shadow: 0 10px 30px rgba(234, 84, 0, 0.1);
}
.search-wrap i {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #ccc;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 120px;
}
.phone-category { margin-bottom: 100px; }
.phone-category h2 {
  font-size: 2rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.phone-category h2::after { content: ''; flex: 1; height: 1px; background: #eee; }

.phone-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}
.phone-card:hover { border-color: var(--main-brand); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); }

.phone-label {
  font-size: 1.15rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 5px;
  display: block;
}
.phone-desc { font-size: 0.9rem; color: #888; }

.phone-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--main-brand);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-num:hover { text-decoration: underline; }
.phone-num i { font-size: 1rem; }


/* ==========================================================================
   GUIDE — Procedure
   ========================================================================== */

.stepper-wrap { margin-bottom: 100px; }
.stepper-header {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.stepper-header h2 {
  font-size: 1.8rem;
  font-family: 'GmarketSansBold';
  color: #111;
  white-space: nowrap;
}
.stepper-header .line { flex: 1; height: 1px; background: #eee; }

.step-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}
.step-container::before {
  content: '';
  position: absolute;
  top: 85px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #f0f0f0;
  z-index: 1;
}
.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}
.step-icon {
  width: 90px;
  height: 90px;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: 0.3s;
  font-size: 1.8rem;
  color: #ccc;
}
.step-item:hover .step-icon {
  border-color: var(--main-brand);
  color: var(--main-brand);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(234, 84, 0, 0.1);
}
.step-content strong {
  display: block;
  font-size: 1.15rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 10px;
}
.step-content p { font-size: 0.95rem; color: #888; line-height: 1.5; word-break: keep-all; }

/* Procedure info-grid & time-table */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 120px;
}
.info-grid .info-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 20px;
}
.info-grid .info-box h3 {
  font-size: 1.4rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-grid .info-box h3 i { color: var(--main-brand); }

.time-table { width: 100%; border-collapse: collapse; }
.time-table th, .time-table td {
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 1rem;
}
.time-table th { text-align: left; color: #888; font-weight: 500; width: 100px; }
.time-table td { color: #444; font-weight: 600; }
.time-table tr:last-child th,
.time-table tr:last-child td { border-bottom: none; }

.notice-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  margin-top: 20px;
}
.notice-card p { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 0; }
.notice-card strong { color: var(--main-brand); }


/* ==========================================================================
   INTRO — Chairman / Director Greeting
   ========================================================================== */

.greeting-wrap {
  display: flex;
  gap: 100px;
  align-items: flex-start;
  margin-bottom: 120px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.greeting-img {
  flex: 0 0 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.greeting-img img { width: 100%; display: block; }
.greeting-text { flex: 1; padding-top: 20px; }
.greeting-quote {
  font-family: 'GmarketSansBold';
  font-size: 2.4rem;
  color: var(--main-brand);
  line-height: 1.45;
  margin-bottom: 45px;
  letter-spacing: -1.2px;
}
.greeting-body p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}
.greeting-sign { margin-top: 50px; text-align: right; font-size: 1.2rem; color: #333; }
.greeting-sign strong { font-family: 'GmarketSansBold'; font-size: 1.5rem; margin-left: 10px; }


/* ==========================================================================
   INTRO — Ethics
   ========================================================================== */

.ethics-wrap { margin-bottom: 120px; }
.ethics-intro {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 20px;
  border: 1px solid #eee;
}
.ethics-intro p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  word-break: keep-all;
  max-width: 900px;
  margin: 0 auto;
}
.ethics-list { display: flex; flex-direction: column; gap: 20px; }
.ethics-item {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 25px 35px;
  border-radius: 15px;
  transition: 0.3s;
}
.ethics-item:hover {
  border-color: var(--main-brand);
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.ethics-num {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: var(--main-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'GmarketSansBold';
  font-size: 1.2rem;
}
.ethics-text {
  font-size: 1.15rem;
  color: #333;
  font-weight: 500;
  line-height: 1.6;
  word-break: keep-all;
}


/* ==========================================================================
   INTRO — Hospital Introduction (hi_intro)
   ========================================================================== */

.status-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 100px;
}
.stat-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}
.stat-item:hover {
  transform: translateY(-10px);
  border-color: var(--main-brand);
  box-shadow: 0 15px 35px rgba(234, 84, 0, 0.08);
}
.stat-icon { font-size: 2rem; color: var(--main-brand); margin-bottom: 20px; }
.stat-value { font-size: 2.5rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 5px; }
.stat-value span { font-size: 1.1rem; color: #888; margin-left: 2px; }
.stat-label { font-size: 1rem; color: #666; font-weight: 500; }

.hi-section { margin-bottom: 120px; }
.hi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hi-image { border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); }
.hi-image img { width: 100%; display: block; }
.hi-content h2 {
  font-size: 2.2rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 30px;
  line-height: 1.3;
  word-break: keep-all;
}
.hi-content p { font-size: 1.1rem; color: #555; line-height: 1.8; word-break: keep-all; margin-bottom: 25px; }
.hi-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hi-feature-item {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #444;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hi-feature-item i { color: var(--main-brand); font-size: 0.8rem; }

.network-bar {
  background: #111;
  color: #fff;
  padding: 60px 0;
  border-radius: 30px;
  margin-bottom: 100px;
  text-align: center;
}
.network-bar h3 { font-size: 1.5rem; font-family: 'GmarketSansBold'; margin-bottom: 40px; }
.network-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.network-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  color: #ccc;
  transition: 0.3s;
}
.network-item:hover { background: var(--main-brand); color: #fff; }


/* ==========================================================================
   INTRO — History (Timeline)
   ========================================================================== */

.timeline-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  position: sticky;
  top: 80px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}
.timeline-nav a {
  padding: 10px 25px;
  border-radius: 30px;
  background: #f8f9fa;
  color: #555;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid #ddd;
  transition: 0.3s;
}
.timeline-nav a:hover,
.timeline-nav a.active {
  background: var(--main-brand);
  color: #fff;
  border-color: var(--main-brand);
  box-shadow: 0 5px 15px rgba(234, 84, 0, 0.2);
}

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 20px 0;
}
.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 150px;
  width: 2px;
  background: #e0e0e0;
}

.timeline-year-block {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
}
.timeline-year-label { width: 150px; padding-right: 40px; text-align: right; position: relative; }
.timeline-year-label h3 { font-family: 'GmarketSansBold'; font-size: 2.5rem; color: var(--main-brand); line-height: 1; margin: 0; }
.timeline-year-label::after {
  content: '';
  position: absolute;
  top: 10px;
  right: -8px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid var(--main-brand);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
}

.timeline-content { flex: 1; padding-left: 40px; padding-top: 5px; }
.timeline-event {
  display: flex;
  margin-bottom: 25px;
  background: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #f5f5f5;
  transition: 0.3s;
}
.timeline-event:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-color: #eee;
}
.timeline-month { width: 60px; font-weight: 700; font-size: 1.2rem; color: #111; flex-shrink: 0; }
.timeline-month span { font-size: 0.9rem; color: #888; font-weight: 400; }
.timeline-desc { flex: 1; }
.timeline-desc ul { list-style: none; padding: 0; margin: 0; }
.timeline-desc li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.5;
  word-break: keep-all;
}
.timeline-desc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: #ccc;
  border-radius: 50%;
}
.timeline-desc li:last-child { margin-bottom: 0; }


/* ==========================================================================
   INTRO — Mission & Vision
   ========================================================================== */

.mv-section { margin-bottom: 80px; }
.mv-title {
  font-family: 'GmarketSansBold';
  font-size: 2.2rem;
  color: var(--main-brand);
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: -1px;
}
.mv-title span { color: #111; }

.mv-block {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
}
.mv-block h3 { font-family: 'GmarketSansBold'; font-size: 1.8rem; color: #333; margin-bottom: 20px; }
.mv-block p { font-size: 1.25rem; font-weight: 500; color: #555; line-height: 1.6; word-break: keep-all; }

.core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.core-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}
.core-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--main-brand);
}
.core-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--main-brand);
  font-size: 1.8rem;
}
.core-card h4 { font-size: 1.2rem; font-weight: 700; color: #222; margin-bottom: 15px; }
.core-card p { font-size: 0.95rem; color: #666; line-height: 1.5; word-break: keep-all; }

.slogan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 30px; }
.slogan-item {
  background: #fff;
  border-left: 4px solid var(--main-brand);
  padding: 25px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  border-radius: 0 15px 15px 0;
}
.slogan-item.full { grid-column: 1 / -1; }
.slogan-item h4 { color: var(--main-brand); font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }
.slogan-item p { color: #555; font-size: 1rem; line-height: 1.6; }

.duty-list {
  list-style: none;
  padding: 30px 40px;
  margin: 0 auto;
  max-width: 800px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
}
.duty-list li {
  font-size: 1.1rem;
  color: #333;
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  align-items: center;
  gap: 15px;
}
.duty-list li:last-child { border-bottom: none; }
.duty-list li span {
  background: var(--main-dark);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}


/* ==========================================================================
   INTRO — Organization
   ========================================================================== */

.org-chart-container { padding-bottom: 120px; text-align: center; }
.org-level {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
}
.org-node {
  background: #fff;
  border: 2px solid #eee;
  padding: 25px 40px;
  border-radius: 12px;
  min-width: 220px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
}
.org-node:hover {
  border-color: var(--main-brand);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(234, 84, 0, 0.1);
}
.org-node strong { display: block; font-size: 1.25rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 8px; }
.org-node span { font-size: 0.95rem; color: #888; font-weight: 500; }

.org-node.chairman { background-color: var(--main-brand); border-color: var(--main-brand); }
.org-node.chairman strong, .org-node.chairman span { color: #fff; }
.org-node.director { border-width: 3px; border-color: #333; }
.org-node.director strong { color: #333; }

.org-level::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  width: 2px;
  height: 30px;
  background: #ddd;
}
.org-level.last::after { display: none; }

/* Org dept-grid (organization-specific) */
.org-chart-container .dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  position: relative;
}
.org-chart-container .dept-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: #ddd;
}
.org-chart-container .dept-grid .dept-item { position: relative; padding-top: 30px; }
.org-chart-container .dept-grid .dept-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 30px;
  background: #ddd;
}

.dept-card {
  background: #f8f9fa;
  border: 1px solid #eee;
  padding: 40px 20px;
  border-radius: 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.dept-card i { font-size: 1.5rem; color: var(--main-brand); }
.dept-card strong { font-size: 1.15rem; font-family: 'GmarketSansBold'; color: #111; }
.dept-card ul { text-align: left; width: 100%; padding-left: 10px; }
.dept-card li {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 8px;
  position: relative;
  padding-left: 12px;
}
.dept-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: #ccc;
  border-radius: 50%;
}


/* ==========================================================================
   INTRO — Partners
   ========================================================================== */

.partner-section { margin-bottom: 100px; }
.partner-section h2 {
  font-size: 1.8rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}
.partner-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--main-brand);
}

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  min-height: 180px;
}
.partner-card:hover {
  border-color: var(--main-brand);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.partner-logo-placeholder {
  width: 100px;
  height: 100px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.partner-logo-placeholder i { font-size: 2.5rem; color: #ddd; }
.partner-card strong { font-size: 1.1rem; color: #111; font-family: 'GmarketSansBold'; word-break: keep-all; }
.partner-card span { font-size: 0.85rem; color: #888; margin-top: 5px; }


/* ==========================================================================
   INTRO — Patient Rights
   ========================================================================== */

.rights-wrap { margin-bottom: 100px; }
.rights-intro {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px;
  background: #fdf2e9;
  border-radius: 20px;
}
.rights-intro p { font-size: 1.1rem; color: #444; line-height: 1.8; word-break: keep-all; }

.rights-section { margin-bottom: 60px; }
.rights-section h2 {
  font-size: 1.8rem;
  font-family: 'GmarketSansBold';
  color: var(--main-brand);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.rights-section h2::after { content: ''; flex: 1; height: 1px; background: #eee; }

.rights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.rights-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 15px;
  transition: 0.3s;
}
.rights-card:hover {
  border-color: var(--main-brand);
  box-shadow: 0 10px 30px rgba(234, 84, 0, 0.05);
  transform: translateY(-5px);
}
.rights-card h3 {
  font-size: 1.25rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rights-card h3 span { color: var(--main-brand); font-size: 0.9rem; }
.rights-card p { font-size: 1rem; color: #666; line-height: 1.7; word-break: keep-all; }


/* ==========================================================================
   INTRO — 11th Anniversary
   ========================================================================== */

.anniversary-hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}
.anniversary-hero::before {
  content: '11';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30rem;
  font-family: 'GmarketSansBold';
  color: rgba(255, 255, 255, 0.03);
  z-index: 0;
}
.anniversary-hero .container { position: relative; z-index: 1; }
.anniversary-tag {
  display: inline-block;
  background: var(--main-brand);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 30px;
}
.anniversary-hero h2 { font-size: 4rem; font-family: 'GmarketSansBold'; margin-bottom: 25px; line-height: 1.2; }
.anniversary-hero p { font-size: 1.25rem; color: #aaa; max-width: 800px; margin: 0 auto; line-height: 1.7; }

.history-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 150px; }
.history-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}
.history-card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1); }
.history-card-img { height: 300px; background-color: #f0f0f0; overflow: hidden; position: relative; }
.history-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.history-card:hover .history-card-img img { transform: scale(1.1); }
.history-card-year {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--main-brand);
  color: #fff;
  padding: 5px 15px;
  border-radius: 5px;
  font-family: 'GmarketSansBold';
  font-size: 1.1rem;
}
.history-card-body { padding: 40px; }
.history-card-body h3 {
  font-size: 1.5rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 20px;
  line-height: 1.4;
}
.history-card-body p { font-size: 1.05rem; color: #666; line-height: 1.8; word-break: keep-all; }

.history-card.wide { grid-column: span 2; flex-direction: row; }
.history-card.wide .history-card-img { flex: 1.2; height: auto; }
.history-card.wide .history-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ==========================================================================
   INTRO — Status
   ========================================================================== */

.stat-section { margin-bottom: 80px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.stat-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  transition: 0.3s;
}
.stat-card:hover {
  border-color: var(--main-brand);
  box-shadow: 0 10px 30px rgba(234, 84, 0, 0.08);
  transform: translateY(-5px);
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--main-brand);
  margin-bottom: 60px;
}
.status-table th, .status-table td { padding: 16px 20px; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.status-table th { background: #fafafa; font-weight: 700; color: #333; width: 200px; }
.status-table td { color: #555; }

/* Status facility-grid (3-col compact) */
.stat-section .facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-section .facility-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.stat-section .facility-card i { font-size: 1.5rem; color: var(--main-brand); flex-shrink: 0; margin-top: 3px; }
.stat-section .facility-card h4 { font-size: 1rem; font-weight: 700; color: #111; margin-bottom: 6px; }
.stat-section .facility-card p { font-size: 0.87rem; color: #666; line-height: 1.6; }


/* ==========================================================================
   INTRO — Safety Policy
   ========================================================================== */

.policy-doc {
  max-width: 860px;
  margin: 0 auto 80px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 25px;
  padding: 70px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  position: relative;
}
.policy-doc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--main-brand), #ff9a6c);
  border-radius: 25px 25px 0 0;
}
.policy-badge { text-align: center; margin-bottom: 40px; }
.policy-badge i { font-size: 3rem; color: var(--main-brand); }
.policy-badge h3 { font-size: 1.6rem; font-family: 'GmarketSansBold'; color: #111; margin-top: 15px; }
.policy-intro {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
  word-break: keep-all;
}
.policy-list { list-style: none; }
.policy-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #f5f5f5;
}
.policy-list li:last-child { border-bottom: none; }
.policy-num {
  width: 36px;
  height: 36px;
  background: var(--main-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}
.item-title { font-size: 1.05rem; font-weight: 700; color: #111; margin-bottom: 6px; }
.item-desc { font-size: 0.9rem; color: #666; line-height: 1.7; word-break: keep-all; }
.policy-date { text-align: right; margin-top: 40px; font-size: 0.9rem; color: #999; }
.policy-sign { text-align: center; margin-top: 30px; font-size: 1.1rem; font-weight: 700; color: #333; }


/* ==========================================================================
   INTRO — Charter (Social Charter & Customer Charter)
   ========================================================================== */

.charter-doc {
  max-width: 860px;
  margin: 0 auto 80px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 25px;
  padding: 70px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  position: relative;
}
.charter-doc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--main-brand), #ff9a6c);
  border-radius: 25px 25px 0 0;
}
.charter-badge { text-align: center; margin-bottom: 40px; }
.charter-badge i { font-size: 3rem; color: var(--main-brand); }
.charter-badge h3 { font-size: 1.6rem; font-family: 'GmarketSansBold'; color: #111; margin-top: 15px; }
.charter-intro {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
  word-break: keep-all;
}
.charter-list { list-style: none; }
.charter-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #f5f5f5;
}
.charter-list li:last-child { border-bottom: none; }
.charter-num {
  width: 36px;
  height: 36px;
  background: var(--main-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}
.charter-list li .item-text { flex: 1; }
.charter-list li .item-title { font-size: 1.05rem; font-weight: 700; color: #111; margin-bottom: 6px; }
.charter-list li .item-desc { font-size: 0.9rem; color: #666; line-height: 1.7; word-break: keep-all; }
.charter-date { text-align: right; margin-top: 40px; font-size: 0.9rem; color: #999; }
.charter-sign { text-align: center; margin-top: 30px; font-size: 1.1rem; font-weight: 700; color: #333; }


/* ==========================================================================
   INTRO — Emblem / Signature
   ========================================================================== */

.logo-showcase {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 25px;
  padding: 70px;
  text-align: center;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}
.logo-showcase img { max-width: 320px; height: auto; }
.logo-usage-row { display: flex; gap: 25px; margin-bottom: 50px; }
.logo-usage-box { flex: 1; border-radius: 20px; padding: 50px 30px; text-align: center; }
.logo-usage-box.white-bg { background: #f8f9fa; border: 1px solid #eee; }
.logo-usage-box.dark-bg { background: #1a1a1a; }
.logo-usage-box.brand-bg { background: var(--main-brand); }
.logo-usage-box span { display: block; font-size: 0.85rem; margin-top: 20px; color: #888; }
.logo-usage-box.dark-bg span,
.logo-usage-box.brand-bg span { color: rgba(255, 255, 255, 0.6); }
.logo-usage-box img { max-width: 200px; height: auto; }

.color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.color-swatch { border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); }
.color-swatch-top { height: 120px; }
.color-swatch-info { padding: 15px; background: #fff; border: 1px solid #eee; border-top: none; }
.color-swatch-name { font-size: 0.95rem; font-weight: 700; color: #111; margin-bottom: 4px; }
.color-swatch-code { font-size: 0.82rem; color: #888; font-family: monospace; }

.font-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 25px;
}
.font-box .font-name { font-size: 1rem; color: #888; margin-bottom: 15px; font-weight: 700; }
.font-box .font-sample { font-size: 2.5rem; color: #111; line-height: 1.3; }


/* ==========================================================================
   RESERVATION — Non-benefit
   ========================================================================== */

.nb-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--main-brand);
  margin-bottom: 50px;
}
.nb-table th, .nb-table td { padding: 14px 18px; border-bottom: 1px solid #eee; font-size: .92rem; }
.nb-table th { background: #fafafa; font-weight: 700; color: #333; text-align: center; }
.nb-table td { color: #555; text-align: center; }
.nb-table td:nth-child(2) { text-align: left; }


/* ==========================================================================
   RESERVATION — Online Reservation
   ========================================================================== */

.online-cta {
  background: linear-gradient(135deg, var(--main-brand), #cc4900);
  border-radius: 20px;
  padding: 60px;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}
.online-cta h3 { font-size: 2rem; font-family: 'GmarketSansBold'; margin-bottom: 15px; }
.online-cta p { font-size: 1rem; opacity: .9; margin-bottom: 30px; }
.online-btn {
  display: inline-block;
  padding: 18px 50px;
  background: #fff;
  color: var(--main-brand);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  transition: .3s;
}
.online-btn:hover { background: #f5f0ee; transform: translateY(-3px); }


/* ==========================================================================
   RESERVATION — First Visit
   ========================================================================== */

.cta-box {
  background: linear-gradient(135deg, var(--main-brand), #cc4900);
  border-radius: 20px;
  padding: 50px;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}
.cta-box h3 { font-size: 1.8rem; font-family: 'GmarketSansBold'; margin-bottom: 15px; }
.cta-box p { font-size: 1rem; opacity: .9; margin-bottom: 25px; }
.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: var(--main-brand);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  transition: .3s;
}
.cta-btn:hover { background: #f0f0f0; transform: translateY(-3px); }


/* ==========================================================================
   RESERVATION — Login CTA (checkup_history, res_history)
   ========================================================================== */

.login-cta {
  background: linear-gradient(135deg, var(--main-brand), #cc4900);
  border-radius: 20px;
  padding: 60px;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
}
.login-cta h3 { font-size: 1.8rem; font-family: 'GmarketSansBold'; margin-bottom: 15px; }
.login-cta p { font-size: 1rem; opacity: .9; margin-bottom: 25px; }
.login-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: var(--main-brand);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  margin: 5px;
}


/* ==========================================================================
   RESERVATION — Certificates
   ========================================================================== */

.cert-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--main-brand);
  margin-bottom: 50px;
}
.cert-table th, .cert-table td { padding: 15px 20px; border-bottom: 1px solid #eee; font-size: .95rem; text-align: left; }
.cert-table th { background: #fafafa; font-weight: 700; color: #333; width: 200px; }
.cert-table td { color: #555; }


/* ==========================================================================
   RESERVATION — Checkup (national_checkup)
   ========================================================================== */

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-bottom: 60px; }
.check-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 35px;
  transition: .3s;
}
.check-card:hover { border-color: var(--main-brand); box-shadow: 0 10px 30px rgba(234, 84, 0, .08); }
.check-card h4 {
  font-size: 1.1rem;
  font-family: 'GmarketSansBold';
  color: #111;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-card h4 i { color: var(--main-brand); }
.check-card p { font-size: .9rem; color: #666; line-height: 1.7; }


/* ==========================================================================
   RESERVATION — Checkup Reservation (checkup_res)
   ========================================================================== */

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 60px; }
.pkg-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: .3s;
}
.pkg-card:hover { border-color: var(--main-brand); box-shadow: 0 10px 30px rgba(234, 84, 0, .08); transform: translateY(-5px); }
.pkg-icon { font-size: 2.2rem; color: var(--main-brand); margin-bottom: 15px; }
.pkg-title { font-size: 1.05rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 10px; }
.pkg-desc { font-size: .88rem; color: #666; line-height: 1.6; }


/* ==========================================================================
   RESERVATION — Outpatient Reservation
   ========================================================================== */

.res-section { margin-bottom: 80px; }
/* 예약하기 허브 — 처음방문/재진 선택: 데스크탑 좌우, 모바일 위아래 */
.res-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 48px;
}
@media (max-width: 768px) {
  .res-choice-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 560px;
  }
}
.res-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 60px; }
.res-method-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  transition: 0.3s;
}
.res-method-card:hover {
  border-color: var(--main-brand);
  box-shadow: 0 10px 30px rgba(234, 84, 0, 0.08);
  transform: translateY(-5px);
}
.res-method-icon { font-size: 2.5rem; color: var(--main-brand); margin-bottom: 18px; }
.res-method-title { font-size: 1.1rem; font-family: 'GmarketSansBold'; color: #111; margin-bottom: 10px; }
.res-method-desc { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 20px; }
.res-method-btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--main-brand);
  color: #fff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.3s;
}
.res-method-btn:hover {
  background: var(--main-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(234, 84, 0, 0.3);
}


/* ==========================================================================
   SHARED ANIMATION
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   RESPONSIVE — Global Pages
   ========================================================================== */

@media (max-width: 1024px) {
  .address-box { flex-direction: column; gap: 30px; }
  .trans-nav { grid-template-columns: repeat(2, 1fr); }
  .floor-section { grid-template-columns: 1fr; }
  .floor-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .floor-item { padding: 10px 20px; }
  .floor-detail { flex-direction: column; padding: 30px; }
  .floor-img { height: 300px; }
  .parking-summary { grid-template-columns: 1fr; }
  .fee-table-grid { grid-template-columns: 1fr; }
  .fee-info-box { padding: 40px 30px; }
  .status-stats { grid-template-columns: repeat(2, 1fr); }
  .hi-grid { grid-template-columns: 1fr; gap: 40px; }
  .hi-content h2 { font-size: 1.8rem; }
  .history-card-grid { grid-template-columns: 1fr; }
  .history-card.wide { grid-column: span 1; flex-direction: column; }
  .history-card.wide .history-card-img { height: 300px; }
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .slogan-grid { grid-template-columns: 1fr; }
  .mv-block { padding: 30px 20px; }
  .org-chart-container .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .org-chart-container .dept-grid::before { display: none; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .step-container { flex-direction: column; padding: 0; }
  .step-container::before { display: none; }
  .step-item { display: flex; align-items: center; text-align: left; padding: 30px 0; border-bottom: 1px solid #eee; }
  .step-item:last-child { border-bottom: none; }
  .step-icon { margin: 0 30px 0 0; width: 70px; height: 70px; font-size: 1.4rem; }
  .info-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-section .facility-grid { grid-template-columns: 1fr 1fr; }
  .color-grid { grid-template-columns: 1fr 1fr; }
  .logo-usage-row { flex-direction: column; }
}

@media (max-width: 992px) {
  .greeting-wrap { flex-direction: column; gap: 40px; }
  .greeting-img { flex: none; width: 100%; max-width: 500px; margin: 0 auto; }
  .greeting-quote { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .tab-link { padding: 15px 20px; font-size: 1rem; }
  .process-flow { flex-direction: column; gap: 15px; }
  .process-arrow { transform: rotate(90deg); }
  .fee-grid { grid-template-columns: 1fr; }
  .download-btns { flex-direction: column; }
  .phone-grid { grid-template-columns: 1fr; }
  .phone-card {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .phone-label { font-size: 1.05rem; }
  .phone-num { font-size: 1.15rem; }
  .intro-hero h2 { font-size: 2.2rem; }
  .ethics-item { padding: 20px; gap: 15px; }
  .ethics-num { width: 35px; height: 35px; font-size: 1rem; }
  .ethics-text { font-size: 1rem; }
  .rights-grid { grid-template-columns: 1fr; }
  .rights-card { padding: 30px; }
  .anniversary-hero h2 { font-size: 2.5rem; }
  .history-card-body { padding: 30px; }
  .timeline-nav { flex-wrap: wrap; justify-content: flex-start; padding: 10px 20px; gap: 10px; }
  .timeline-nav a { padding: 8px 15px; font-size: 0.95rem; }
  .timeline-wrap::before { left: 20px; }
  .timeline-year-block { flex-direction: column; }
  .timeline-year-label { width: 100%; text-align: left; padding-right: 0; padding-left: 40px; margin-bottom: 20px; }
  .timeline-year-label h3 { font-size: 2rem; }
  .timeline-year-label::after { left: 11px; top: 7px; right: auto; }
  .timeline-content { padding-left: 40px; width: 100%; }
  .timeline-event { flex-direction: column; padding: 15px; }
  .timeline-month { margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 10px; width: 100%; }
  .check-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .res-method-grid { grid-template-columns: 1fr; }
  .res-hero h2 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .trans-nav { grid-template-columns: 1fr; }
  .trans-info-box { padding: 30px; }
  .org-chart-container .dept-grid { grid-template-columns: 1fr; }
  .org-node { min-width: 100%; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-section .facility-grid { grid-template-columns: 1fr; }
  .status-hero h2 { font-size: 2rem; }
  .color-grid { grid-template-columns: 1fr 1fr; }
  .emblem-hero h2 { font-size: 2rem; }
}

@media (max-width: 576px) {
  .core-grid { grid-template-columns: 1fr; }
  .duty-list { padding: 20px; }
  .duty-list li { font-size: 1rem; }
}

@media (max-width: 480px) {
  .partner-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   서브페이지 모바일 가독성 — 헌장·방침문서·일반 본문 시원하게
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 헌장(사회공헌·고객·환자권리 등) — 70px → 컴팩트 */
  .charter-doc, .policy-doc {
    padding: 32px 20px !important;
    margin: 0 auto 50px;
    border-radius: 18px;
  }
  .charter-badge, .policy-badge { margin-bottom: 22px !important; }
  .charter-badge i, .policy-badge i { font-size: 2.2rem !important; }
  .charter-badge h3, .policy-badge h3 { font-size: 1.25rem !important; margin-top: 10px; }
  .charter-intro, .policy-intro {
    font-size: 0.95rem !important;
    line-height: 1.85 !important;
    margin-bottom: 26px !important;
    padding-bottom: 22px !important;
    text-align: left !important;
  }

  /* ── 모바일: 번호 + 제목 위 중앙 / 설명 아래 ── */
  .charter-list li, .policy-list li {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 8px !important;
    padding: 18px 0 !important;
  }
  .charter-num, .policy-num {
    width: 30px !important; height: 30px !important;
    font-size: 0.82rem !important;
    margin-bottom: 2px;
  }
  /* item-text 컨테이너(div) — 가운데 정렬 */
  .charter-list li > div,
  .policy-list li > div,
  .charter-list li .item-text,
  .policy-list li .item-text { width: 100%; text-align: center; }
  .charter-list li .item-title, .policy-list li .item-title,
  .charter-list li > div .item-title, .policy-list li > div .item-title {
    font-size: 1rem !important; margin-bottom: 8px !important; line-height: 1.4 !important;
    color: var(--navy, #111);
  }
  .charter-list li .item-desc, .policy-list li .item-desc,
  .charter-list li > div .item-desc, .policy-list li > div .item-desc {
    font-size: 0.9rem !important; line-height: 1.8 !important;
    text-align: left;
  }
  .charter-date, .policy-date { font-size: 0.82rem; margin-top: 26px; }
  .charter-sign, .policy-sign { font-size: 0.98rem; margin-top: 22px; line-height: 1.5; }

  /* Standard content (Wagtail body 일반 페이지) — 본문 시원하게 */
  .standard-content { font-size: 1rem; line-height: 1.85; }
  .standard-content .block-heading h3 { font-size: 1.3rem; margin: 28px 0 14px; line-height: 1.4; }
  .standard-content > div { margin-bottom: 26px; }
  .standard-content .rich-text p,
  .standard-content p { margin-bottom: 14px; line-height: 1.85; word-break: keep-all; }
  .standard-content ul, .standard-content ol { padding-left: 22px; line-height: 1.85; }
  .standard-content li { margin-bottom: 8px; }

  /* Rights/Ethics 카드 본문 — 폰트/줄간격 */
  .rights-card, .ethics-item { line-height: 1.75; }
  .rights-card { padding: 24px 22px !important; }
  .rights-card h3 { font-size: 1.15rem !important; margin-bottom: 12px; }
  .rights-card p, .rights-card li { font-size: 0.92rem; line-height: 1.8; word-break: keep-all; }

  /* 인삿말(Greeting) 본문 */
  .greeting-text { padding: 0 !important; }
  .greeting-quote { font-size: 1.05rem !important; line-height: 1.7 !important; padding: 18px 18px !important; }
  .greeting-text p { font-size: 0.95rem; line-height: 1.85; word-break: keep-all; margin-bottom: 14px; }

  /* 미션·비전 본문 */
  .mv-card { padding: 24px 22px !important; }
  .mv-card h4 { font-size: 1.1rem !important; margin-bottom: 10px; }
  .mv-card p { font-size: 0.92rem; line-height: 1.8; word-break: keep-all; }

  /* 안전정책/고객헌장 등 .sp-* / .charter-* 종합 */
  [class*='-section'] p,
  [class*='-section'] li {
    word-break: keep-all;
    line-height: 1.8;
  }
  .container { padding-left: 22px !important; padding-right: 22px !important; }
}
@media (max-width: 480px) {
  .charter-doc, .policy-doc { padding: 28px 16px !important; }
  .charter-list li, .policy-list li { padding: 16px 0 !important; }
}

/* ── 전 페이지 제목(+브레드크럼) 섹션 — 배경 통일 + 컴팩트 패딩 ───────────── */
.page-hero, .res-hero, .guide-hero, .intro-hero, .status-hero, .sp-hero,
.charter-hero, .emblem-hero, .op-hero, .di-hero, .sw-hero, .spec-hero,
.faq-hero, .nc-hero, .pp-hero, .life-hero, .emg-hero, .adm-hero,
.disch-hero, .intl-hero, .sub-header-sec {
    background: radial-gradient(ellipse at 60% 40%, #fff8f4 0%, #f0f4fa 100%) !important;
    border-bottom: 1px solid #eee;
    padding: 60px 0 36px !important;
    margin-bottom: 40px !important;
    text-align: center;
}
/* 제목·언더라인 크기 축소 — 페이지 차지 비중 낮춤 */
.page-hero h2, .res-hero h2, .guide-hero h2, .intro-hero h2, .status-hero h2,
.sp-hero h2, .charter-hero h2, .emblem-hero h2, .op-hero h2, .di-hero h2,
.sw-hero h2, .spec-hero h2, .faq-hero h2, .nc-hero h2, .pp-hero h2,
.life-hero h2, .emg-hero h2, .adm-hero h2, .disch-hero h2, .intl-hero h2,
.sub-header-sec h2 {
    font-size: 2.2rem !important;
    margin-bottom: 14px !important;
    color: #111 !important;
}
.page-hero .accent-line, .res-hero .accent-line, .guide-hero .accent-line,
.intro-hero .accent-line, .status-hero .accent-line, .sp-hero .accent-line,
.charter-hero .accent-line, .emblem-hero .accent-line, .op-hero .accent-line,
.di-hero .accent-line, .sw-hero .accent-line, .spec-hero .accent-line,
.faq-hero .accent-line, .nc-hero .accent-line, .pp-hero .accent-line,
.life-hero .accent-line, .emg-hero .accent-line, .adm-hero .accent-line,
.disch-hero .accent-line, .intl-hero .accent-line {
    margin: 0 auto !important;
}
/* 기존 다크 히어로(응급·국제진료) — 잔여 효과 제거 */
.emg-hero::before, .intl-hero::before { display: none !important; }
.emg-hero p, .intl-hero p { color: #666 !important; }
@media (max-width: 768px) {
    .page-hero, .res-hero, .guide-hero, .intro-hero, .status-hero, .sp-hero,
    .charter-hero, .emblem-hero, .op-hero, .di-hero, .sw-hero, .spec-hero,
    .faq-hero, .nc-hero, .pp-hero, .life-hero, .emg-hero, .adm-hero,
    .disch-hero, .intl-hero, .sub-header-sec {
        padding: 40px 0 24px !important;
        margin-bottom: 28px !important;
    }
    .page-hero h2, .res-hero h2, .guide-hero h2, .intro-hero h2, .status-hero h2,
    .sp-hero h2, .charter-hero h2, .emblem-hero h2, .op-hero h2, .di-hero h2,
    .sw-hero h2, .spec-hero h2, .faq-hero h2, .nc-hero h2, .pp-hero h2,
    .life-hero h2, .emg-hero h2, .adm-hero h2, .disch-hero h2, .intl-hero h2,
    .sub-header-sec h2 {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
    }
}

/* ── 예약 방법 — 라벨/내용 위아래 분리 (모바일 단어 단위 줄바꿈 방지) ──────── */
.res-howto__row {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.res-howto__row:last-child { border-bottom: none; }
.res-howto__label {
  display: inline-block;
  background: var(--main-brand);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 20px;
  margin-bottom: 9px;
  white-space: nowrap;
}
.res-howto__desc {
  display: block;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  word-break: keep-all;
}
.res-howto__desc strong {
  color: var(--main-brand);
  font-size: 1.08em;
  white-space: nowrap;
}

/* 이메일 입력 위젯 — 아이디 + @ + 도메인 선택 */
.email-field {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.email-field .email-local { flex: 1 1 110px; min-width: 0; }
.email-field .email-domain { flex: 1 1 110px; min-width: 0; }
.email-field .email-domain-select { flex: 0 1 130px; min-width: 0; }
.email-field .email-at { color: #888; flex-shrink: 0; }
.email-field .email-domain[readonly] { background: #f5f6f8; color: #555; }
@media (max-width: 768px) {
  .email-field .email-domain-select { flex-basis: 100%; }
}
