/* ==========================================================================
   효심케어노인복지센터 공식 스타일시트
   - 톤앤매너: 웜 틸 그린(#0f766e) & 소프트 아이보리(#fcfbf7)
   - 접근성: 16~18px 기본 글꼴, 고대비, 어르신 친화 UI
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --primary: #0f766e;
  --primary-hover: #115e59;
  --primary-dark: #042f2e;
  --primary-light: #ccfbf1;
  --primary-bg: #f0fdfa;
  --secondary: #d97706;
  --secondary-hover: #b45309;
  --secondary-light: #fef3c7;
  
  --bg-warm: #fcfbf7;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 118, 110, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --shadow-float: 0 20px 30px -10px rgba(15, 118, 110, 0.2);

  --font-base: 17px;
  --line-height-base: 1.68;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --header-height: 84px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 고대비 모드 */
body.high-contrast {
  --primary: #042f2e;
  --primary-hover: #000000;
  --primary-bg: #e6fffa;
  --secondary: #b45309;
  --bg-warm: #ffffff;
  --text-main: #000000;
  --text-muted: #111827;
  --border-color: #000000;
  --border-strong: #000000;
}

/* 큰 글자 모드 */
body.font-large {
  --font-base: 19px;
}
body.font-xlarge {
  --font-base: 21px;
}

/* 리셋 & 공통 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-base);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: var(--text-main);
  background-color: var(--bg-warm);
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 배지 & 칩 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
}
.badge-secondary {
  background-color: var(--secondary-light);
  color: var(--secondary);
}
.badge-white {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #134e4a 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #042f2e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}
.btn-secondary {
  background: linear-gradient(135deg, #f59e0b 0%, var(--secondary) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.btn-secondary:hover {
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}
.btn-outline-white {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: #ffffff;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #ffffff;
}
.btn-call {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  font-size: 1.15rem;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}
.btn-call:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5);
}

/* ==========================================================================
   탑 유틸리티 바 (접근성 컨트롤러)
   ========================================================================== */
.top-utility-bar {
  background-color: #0f172a;
  color: #cbd5e1;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1010;
}
.top-utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-utility-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}
.top-contact-item.highlight {
  color: #38bdf8;
  font-weight: 700;
}
.top-utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.font-resizer {
  display: flex;
  align-items: center;
  gap: 4px;
}
.font-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}
.font-btn.active, .font-btn:hover {
  background: var(--primary);
}
.contrast-toggle {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.contrast-toggle:hover {
  background: #f59e0b;
}

/* ==========================================================================
   헤더 (GNB)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}
.main-header.scrolled,
body.is-subpage .main-header,
body:has(.subpage-view.active) .main-header {
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-symbol {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border: 1.5px solid rgba(15, 118, 110, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.logo-area:hover .logo-symbol {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.22);
}
.logo-symbol-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.logo-symbol svg {
  width: 28px;
  height: 28px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.2;
  transition: color var(--transition-fast);
}
.logo-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  font-weight: 500;
}
.main-header.scrolled .logo-title,
body.is-subpage .main-header .logo-title,
body:has(.subpage-view.active) .main-header .logo-title {
  color: var(--primary-dark);
}
.main-header.scrolled .logo-sub,
body.is-subpage .main-header .logo-sub,
body:has(.subpage-view.active) .main-header .logo-sub {
  color: var(--text-muted);
}

/* 네비게이션 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.main-header.scrolled .nav-link,
body.is-subpage .main-header .nav-link,
body:has(.subpage-view.active) .main-header .nav-link {
  color: var(--text-main);
}
.nav-link:hover, .nav-item.active .nav-link {
  color: #2dd4bf;
  background: rgba(255, 255, 255, 0.1);
}
.main-header.scrolled .nav-link:hover,
.main-header.scrolled .nav-item.active .nav-link,
body.is-subpage .main-header .nav-link:hover,
body.is-subpage .main-header .nav-item.active .nav-link,
body:has(.subpage-view.active) .main-header .nav-link:hover,
body:has(.subpage-view.active) .main-header .nav-item.active .nav-link {
  color: var(--primary);
  background: var(--primary-bg);
}

/* 드롭다운 메뉴 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  pointer-events: none;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.dropdown-link:hover {
  background: var(--primary-bg);
  color: var(--primary);
  padding-left: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header-phone-label {
  font-size: 0.76rem;
  color: #fef08a;
  font-weight: 600;
}
.main-header.scrolled .header-phone-label,
body.is-subpage .main-header .header-phone-label,
body:has(.subpage-view.active) .main-header .header-phone-label {
  color: var(--secondary);
}
.header-phone-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.main-header.scrolled .header-phone-num,
body.is-subpage .main-header .header-phone-num,
body:has(.subpage-view.active) .main-header .header-phone-num {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.main-header.scrolled .mobile-menu-btn,
body.is-subpage .main-header .mobile-menu-btn,
body:has(.subpage-view.active) .main-header .mobile-menu-btn {
  color: var(--primary-dark);
  background: var(--primary-bg);
}

/* ==========================================================================
   풀스크린 슬라이더 (100vh)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background-color: var(--primary-dark);
}
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  overflow: hidden;
}
.slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* 슬라이드 배경 이미지 & 점점 작아지는(Zoom-out) 모션 */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}

.slide-item.active .slide-bg {
  animation: heroZoomOut 7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroZoomOut {
  0% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1.0);
  }
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(4, 47, 46, 0.65) 0%,
    rgba(4, 47, 46, 0.25) 70px,
    rgba(0, 0, 0, 0) 130px
  );
  pointer-events: none;
}

.slide-content-box {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 860px;
  color: #ffffff;
  padding-top: 60px;
  transform: translateX(-60px);
  transition: transform 0.3s ease;
}
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 47, 46, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.slide-title {
  font-size: clamp(2.05rem, 4.2vw, 3.05rem);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 4px 20px rgba(0, 0, 0, 0.65);
}
.slide-desc {
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}
.slide-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.slide-btn-group .btn {
  padding: 13px 26px;
  font-size: 1.0rem;
  font-weight: 700;
  border-radius: 8px;
}

.slide-item.active .slide-tag {
  animation: fadeInDown 0.8s ease backwards;
}
.slide-item.active .slide-title {
  animation: fadeInUp 0.8s ease 0.15s backwards;
}
.slide-item.active .slide-desc {
  animation: fadeInUp 0.8s ease 0.3s backwards;
}
.slide-item.active .slide-btn-group {
  animation: fadeInUp 0.8s ease 0.45s backwards;
}

/* 슬라이더 컨트롤러 */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.slider-nav-btn:hover {
  background: #ffffff;
  color: var(--primary);
}
.slider-nav-btn.prev {
  left: 32px;
}
.slider-nav-btn.next {
  right: 32px;
}

.slider-pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.bullet.active {
  width: 44px;
  border-radius: 10px;
  background: #38bdf8;
}

/* ==========================================================================
   퀵 바로가기 4구 카드 (Quick Menu)
   ========================================================================== */
.quick-menu-section {
  position: relative;
  z-index: 20;
  margin-top: 0;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--bg-warm);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.quick-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, #14b8a6 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
  border-color: var(--primary-light);
}
.quick-card:hover::before {
  opacity: 1;
}
.quick-card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition-fast);
}
.quick-card:hover .quick-card-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}
.quick-card-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.quick-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}
.quick-card-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.quick-card-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}
.quick-card:hover .quick-card-arrow {
  gap: 10px;
}

/* ==========================================================================
   공통 섹션 타이틀
   ========================================================================== */
.section-padding {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px auto;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary);
  border: 1px solid var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.32;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ==========================================================================
   3대 핵심 서비스 쇼케이스
   ========================================================================== */
.services-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #99f6e4;
}
.service-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #e2e8f0;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
}
.service-badge-float {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 118, 110, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}
.service-body {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.service-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-features {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}
.service-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   장기요양등급 인정신청 원스톱 프로세스 (인포그래픽)
   ========================================================================== */
.process-section {
  background: #ffffff;
  position: relative;
}
.process-steps-wrap {
  position: relative;
  margin-top: 30px;
}
.process-line {
  position: absolute;
  top: 65px;
  left: 8%;
  width: 84%;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}
.process-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}
.process-step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.step-number-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.15);
  transition: var(--transition-fast);
}
.process-step-card:hover .step-number-circle {
  background: var(--primary);
  color: #ffffff;
}
.step-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   실시간 간편 등급상담 신청 배너
   ========================================================================== */
.quick-consult-banner {
  background: linear-gradient(135deg, #042f2e 0%, #0f766e 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 60px 0 0 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.consult-banner-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
}
.consult-banner-desc {
  font-size: 1.1rem;
  color: #ccfbf1;
  line-height: 1.65;
  margin-bottom: 24px;
}
.consult-banner-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.consult-form-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.consult-form-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition-fast);
  background-color: #ffffff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
.form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* ==========================================================================
   커뮤니티 프리뷰 섹션 (공지사항 & 갤러리 요약)
   ========================================================================== */
.community-preview-section {
  background: var(--bg-warm);
}
.community-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
}
.preview-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-light);
}
.preview-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.preview-more-link {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 공지사항 목록 */
.notice-preview-list {
  display: flex;
  flex-direction: column;
}
.notice-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: var(--transition-fast);
}
.notice-preview-item:hover {
  background-color: var(--primary-bg);
  padding-left: 10px;
}
.notice-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.notice-tag {
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}
.notice-tag.pinned {
  background: var(--secondary-light);
  color: var(--secondary);
}
.notice-item-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notice-item-date {
  font-size: 0.88rem;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 16px;
}

/* 갤러리 미니 그리드 */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-preview-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 140px;
  cursor: pointer;
}
.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-preview-item:hover img {
  transform: scale(1.1);
}
.gallery-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  color: #ffffff;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ==========================================================================
   서브페이지 공통 레이아웃 (SPA 서브 뷰)
   ========================================================================== */
.subpage-view {
  display: none;
  min-height: 80vh;
  padding-top: 130px;
  padding-bottom: 90px;
}
.subpage-view.active {
  display: block;
}

/* 서브 비주얼 배너 */
.sub-hero-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 60px 0;
  margin-top: calc(-130px + var(--header-height));
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}
.sub-hero-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.sub-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #ccfbf1;
  margin-bottom: 12px;
}
.sub-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.sub-desc {
  font-size: 1.12rem;
  color: #e2e8f0;
}

/* 서브페이지 내부 탭 메뉴 */
.sub-tab-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.sub-tab-btn {
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.sub-tab-btn:hover {
  color: var(--primary);
}
.sub-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* 서브페이지 카드 컨테이너 */
.content-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}
.content-box-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}
.content-box-title::before {
  content: '';
  width: 6px;
  height: 24px;
  background: var(--primary);
  border-radius: 3px;
  display: inline-block;
}

/* 인사말 페이지 스타일 */
.greeting-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.greeting-photo-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #ffffff;
  position: relative;
}
.greeting-photo-box img {
  width: 100%;
  height: auto;
  display: block;
}
.greeting-caption {
  position: static;
  width: 100%;
  background: #ffffff;
  color: var(--text-main);
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}
.greeting-caption-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 3px;
  margin-top: 4px;
}
.greeting-caption-role {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

.greeting-text-box {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-main);
}
.greeting-quote {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.45;
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 4px solid var(--secondary);
}

/* 오시는길 스타일 */
.directions-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}
.map-visual-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f1f5f9;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.map-visual-box iframe {
  width: 100%;
  height: 450px;
  min-height: 450px;
  border: none;
  display: block;
}

/* 포털 지도 앱 배지 버튼 공식 브랜드 컬러 */
.map-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.map-portal-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.btn-portal-google {
  background-color: #4285F4;
  color: #ffffff !important;
  border: 1px solid #3367d6;
}
.btn-portal-google:hover {
  background-color: #3367d6;
}
.btn-portal-naver {
  background-color: #03C75A;
  color: #ffffff !important;
  border: 1px solid #02b350;
}
.btn-portal-naver:hover {
  background-color: #02b350;
}
.btn-portal-kakao {
  background-color: #FEE500;
  color: #191919 !important;
  border: 1px solid #e6cf00;
}
.btn-portal-kakao:hover {
  background-color: #fada0a;
}
.directions-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-content-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.info-content-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 등급별 및 서브페이지 표 스타일 */
.custom-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.96rem;
}
.custom-table th, .custom-table td {
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.custom-table th {
  background-color: var(--primary-bg);
  color: var(--primary-dark);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}
.custom-table td.center {
  text-align: center;
}
.custom-table tbody tr:hover {
  background-color: #f8fafc;
}

/* 본인부담금 계산기 위젯 */
.calc-widget-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #fef3c7 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 2px solid #99f6e4;
  margin: 30px 0;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.calc-result-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.calc-result-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 10px 0;
}

/* 갤러리 전체 그리드 */
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.gallery-img-box {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}
.gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-img-box img {
  transform: scale(1.08);
}
.gallery-card-body {
  padding: 20px;
}
.gallery-card-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}
.gallery-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}
.gallery-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 게시판 스타일 (목록 & 검색) */
.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.board-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}
.board-search-input {
  border: none;
  outline: none;
  font-size: 0.96rem;
  padding: 4px;
}
.board-table {
  width: 100%;
  border-collapse: collapse;
}
.board-table th {
  background: var(--bg-subtle);
  border-top: 2px solid var(--primary-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 12px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}
.board-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.98rem;
}
.board-table tr:hover td {
  background: #f8fafc;
  cursor: pointer;
}
.board-table td.title {
  text-align: left;
  font-weight: 600;
}

/* 아코디언 (FAQ) */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: #ffffff;
  overflow: hidden;
}
.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
  transition: background var(--transition-fast);
}
.accordion-header:hover {
  background: var(--primary-bg);
}
.accordion-q {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}
.accordion-q-badge {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.3rem;
}
.accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  background: #fafaf9;
  border-top: 1px solid transparent;
}
.accordion-item.active .accordion-body {
  padding: 24px;
  max-height: 500px;
  border-top-color: var(--border-color);
}

/* ==========================================================================
   푸터 (법적 필수 표기사항)
   ========================================================================== */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 70px 0 100px 0;
  border-top: 1px solid #1e293b;
  position: relative;
}
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #1e293b;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: #38bdf8;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-company-info {
  font-size: 0.94rem;
  line-height: 1.85;
}
.footer-company-info p {
  margin-bottom: 4px;
}
.footer-bold {
  color: #f1f5f9;
  font-weight: 700;
}
.footer-right-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-call-box {
  background: #1e293b;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #334155;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-call-title {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 6px;
}
.footer-call-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.footer-cert-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.footer-badge-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.footer-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.footer-badge-card img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.footer-copyright {
  font-size: 0.85rem;
  color: #64748b;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
}

/* ==========================================================================
   우측 플로팅 퀵메뉴 (네이버 블로그, 빠른 문의하기, 전화상담, 맨 위로)
   - 평상시: 작은 아이콘만 깔끔하게 노출
   - 마우스 호버 시: 슬라이드 확장되며 텍스트 라벨 노출 (지금처럼 표시)
   ========================================================================== */
.quick-sidebar {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 10px 5px;
  border-radius: 26px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(15, 118, 110, 0.18);
  z-index: 990;
  width: 50px; /* 평상시: 작은 아이콘에 맞춘 슬림 너비 */
  overflow: hidden;
  transition: width 0.32s cubic-bezier(0.34, 1.25, 0.64, 1),
              padding 0.28s ease,
              box-shadow 0.28s ease;
}

/* 마우스 호버 시: 부드럽게 확장되며 라벨 노출 */
.quick-sidebar:hover {
  width: 76px;
  padding: 12px 6px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(15, 118, 110, 0.12);
}

.quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5px 2px;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
}

.quick-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.quick-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: transform 0.25s ease, margin-bottom 0.28s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.quick-btn:hover .quick-icon-wrap {
  transform: scale(1.1);
}

.naver-bg {
  background-color: #03c75a;
  box-shadow: 0 3px 8px rgba(3, 199, 90, 0.35);
}

.inquiry-bg {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  box-shadow: 0 3px 8px rgba(15, 118, 110, 0.35);
}

.call-bg {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.35);
}

.top-bg {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
}

/* 텍스트 라벨: 평상시 숨김 (높이 0, 투명) */
.quick-btn-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  line-height: 1.25;
  word-break: keep-all;
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px) scale(0.92);
  transition: max-height 0.28s ease,
              opacity 0.24s ease,
              transform 0.25s ease,
              margin-top 0.24s ease;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  margin-top: 0;
}

/* 호버 시: 아이콘 아래에 라벨 부드럽게 노출 (지금처럼 표시) */
.quick-sidebar:hover .quick-icon-wrap {
  margin-bottom: 4px;
}

.quick-sidebar:hover .quick-btn-label {
  max-height: 32px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  white-space: normal;
  margin-top: 2px;
}

.quick-btn-blog .quick-btn-label {
  color: #03c75a;
}

.quick-btn-inquiry .quick-btn-label {
  color: #0f766e;
}

.quick-btn-call .quick-btn-label {
  color: #ea580c;
}

.quick-btn-top .quick-btn-label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}


/* ==========================================================================
   모달 팝업 & 라이트박스
   ========================================================================== */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.custom-modal-overlay.active {
  display: flex;
}
.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 32px;
  position: relative;
  animation: modalScale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}
.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}
.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.modal-meta {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.modal-content-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  white-space: pre-line;
}

/* 모바일 드로어 메뉴 */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #ffffff;
  z-index: 1050;
  transition: right 0.35s ease, visibility 0.35s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav-drawer.active {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}
.drawer-backdrop.active {
  display: block;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}
.drawer-menu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.drawer-category-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  padding: 8px 0;
  border-bottom: 2px solid var(--primary-light);
  margin-top: 10px;
}
.drawer-sub-link {
  display: block;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}
.drawer-sub-link:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

/* ==========================================================================
   애니메이션 키프레임
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes modalScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   유관기관 및 협력 네트워크 무한 롤링 슬라이더 (푸터 상단)
   ========================================================================== */
.partner-slider-section {
  background: #ffffff;
  padding: 22px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

/* 마키 트랙 & 무한 롤링 애니메이션 */
.partner-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.partner-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: partnerMarquee 22s linear infinite;
}
.partner-track:hover {
  animation-play-state: paused;
}
@keyframes partnerMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}
.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  cursor: pointer;
}
.partner-item:hover {
  transform: translateY(-3px) scale(1.03);
}
.partner-logo-img {
  height: 52px;
  width: auto;
  max-width: 186px;
  object-fit: contain;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  transition: box-shadow 0.2s ease;
}
.partner-item:hover .partner-logo-img {
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.15);
}

/* ==========================================================================
   반응형 미디어 쿼리
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .header-right .header-phone-box {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-showcase-grid {
    grid-template-columns: 1fr;
  }
  .process-line {
    display: none;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .quick-consult-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .community-preview-grid {
    grid-template-columns: 1fr;
  }
  .greeting-wrap {
    grid-template-columns: 1fr;
  }
  .directions-grid {
    grid-template-columns: 1fr;
  }
  .full-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  /* 1. 모바일 화면 너비 100% 고정 및 좌우 흔들림/스크롤 원천 차단 */
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
  }
  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  section, .subpage-view, .content-box, form {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .btn {
    white-space: normal !important;
    word-break: keep-all !important;
    max-width: 100% !important;
  }

  /* 2. 전역 어절 단위 자연스러운 줄바꿈 */
  .subpage-view, .subpage-view *,
  .content-box, .content-box *,
  .sub-hero-banner, .sub-hero-banner * {
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    text-wrap: pretty;
  }

  /* 헤더 & 히어로 */
  .top-utility-bar {
    display: none;
  }
  .main-header {
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
  }
  .main-header .logo-title {
    color: var(--primary-dark);
  }
  .main-header .logo-sub {
    color: var(--text-muted);
  }
  .main-header .mobile-menu-btn {
    color: var(--primary-dark);
    background: var(--primary-bg);
  }
  .hero-slider-section {
    height: 78vh;
    min-height: 520px;
    max-height: 620px;
  }
  .slide-overlay {
    background: none !important;
  }
  /* 슬라이드 1번: 3명 인물(좌측 할아버지, 중앙 요양보호사, 우측 할머니) 모두 정중앙 완벽 노출 */
  .slide-item:first-child .slide-bg {
    background-position: 74% center !important;
    transform-origin: 74% center !important;
  }
  .slide-item:nth-child(2) .slide-bg {
    background-position: center center !important;
  }
  .slide-content-box {
    padding-top: 20px !important;
    padding-bottom: 110px !important;
    justify-content: flex-end !important;
    transform: none !important;
    text-align: center !important;
    align-items: center !important;
  }
  .slide-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8) !important;
  }
  .slide-desc {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.8) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .slide-btn-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 310px !important;
    margin: 0 auto !important;
  }
  .slide-btn-group .btn {
    width: 100% !important;
    padding: 8px 14px !important;
    font-size: 0.86rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .slide-btn-group .btn-outline-white {
    background: rgba(15, 23, 42, 0.75) !important;
    border: 2px solid #ffffff !important;
    backdrop-filter: blur(8px) !important;
  }
  .slider-pagination {
    display: none !important;
  }
  .slider-nav-btn {
    display: none !important;
  }

  /* 서브페이지 히어로 배너 & 브레드크럼 */
  .subpage-view {
    padding: 30px 0 50px 0;
  }
  .sub-hero-banner {
    padding: 24px 0 18px 0;
    margin-bottom: 16px;
  }
  .sub-breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }
  .sub-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
    line-height: 1.35;
  }
  .sub-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* 서브페이지 탭 메뉴 */
  .sub-tab-nav {
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--border-color);
    scrollbar-width: none;
  }
  .sub-tab-nav::-webkit-scrollbar {
    display: none;
  }
  .sub-tab-btn {
    padding: 10px 15px;
    font-size: 0.92rem;
    font-weight: 700;
  }

  /* 서브페이지 핵심 카드 컨테이너 (.content-box) 모바일 화면 맞춤 */
  .content-box {
    padding: 18px 14px !important;
    margin-bottom: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  }
  .content-box-title {
    font-size: 1.18rem !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
  }
  .content-box-title::before {
    width: 4px;
    height: 18px;
  }
  .content-box p {
    font-size: 0.93rem !important;
    line-height: 1.68 !important;
    margin-bottom: 10px !important;
  }

  /* 3. 서브페이지 하위메뉴 카드들 2열 2행 화면 맞춤 & 세로 늘어짐 해소 */
  /* (1) 장기요양 4단계 절차 카드 (Step 1~4) 2열 2행 */
  .grade-process-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .grade-step-card {
    padding: 12px 8px !important;
    border-radius: 10px !important;
  }
  .step-num-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
    margin: 0 auto 8px auto !important;
  }
  .grade-step-card h4 {
    font-size: 0.94rem !important;
    margin-bottom: 6px !important;
    line-height: 1.35 !important;
  }
  .grade-step-card p {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  /* (1-2) 요양보호사가 제공하는 서비스 내용 3개 카드 모바일 헤더 제목 및 본문 최적화 */
  .bath-process-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
  }
  .bath-card-item {
    border-radius: 12px !important;
    overflow: hidden !important;
    text-align: center !important;
  }
  .bath-card-header {
    width: 100% !important;
    height: auto !important;
    padding: 12px 14px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    display: block !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    box-sizing: border-box !important;
  }
  .bath-card-body {
    padding: 18px 14px !important;
  }
  .bath-emoji {
    font-size: 2.5rem !important;
    margin-bottom: 8px !important;
  }
  .bath-card-body p {
    font-size: 0.93rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
  }

  /* (2) 신청안내 4개 카드 (신청장소, 신청방법, 신청인, 제출서류) */
  .content-box div[style*="grid-template-columns:repeat(auto-fit, minmax(280px"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .content-box div[style*="grid-template-columns:repeat(auto-fit, minmax(280px"] > div {
    padding: 12px 14px !important;
    border-radius: 8px !important;
  }

  /* (3) 등급판정위원회 심의 4단계 (STEP 1~4) 2열 2행 */
  .content-box div[style*="grid-template-columns:repeat(4, 1fr)"],
  .content-box div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }
  .content-box div[style*="grid-template-columns:repeat(4, 1fr)"] > div,
  .content-box div[style*="grid-template-columns: repeat(4, 1fr)"] > div {
    padding: 12px 8px !important;
    border-radius: 8px !important;
  }
  .content-box div[style*="grid-template-columns:repeat(4, 1fr)"] h4,
  .content-box div[style*="grid-template-columns: repeat(4, 1fr)"] h4 {
    font-size: 0.94rem !important;
    margin-bottom: 6px !important;
  }

  /* (4) 감경 대상자 본인부담률 4개 카드 (15%, 9%, 6%, 0원) 2열 2행 */
  .content-box div[style*="grid-template-columns:repeat(auto-fit, minmax(220px"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
  }
  .content-box div[style*="grid-template-columns:repeat(auto-fit, minmax(220px"] > div {
    padding: 12px 6px !important;
    border-radius: 8px !important;
  }
  .content-box div[style*="grid-template-columns:repeat(auto-fit, minmax(220px"] div[style*="font-size:1.35rem"] {
    font-size: 1.15rem !important;
    margin: 2px 0 !important;
  }
  .content-box div[style*="grid-template-columns:repeat(auto-fit, minmax(220px"] p {
    font-size: 0.8rem !important;
    margin: 0 !important;
  }

  /* (5) 방문목욕 2개 안내 카드 (대상자, 요양보호사) */
  .content-box div[style*="grid-template-columns:1fr 1fr"],
  .content-box div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }
  .content-box div[style*="grid-template-columns:1fr 1fr"] > div,
  .content-box div[style*="grid-template-columns: 1fr 1fr"] > div {
    padding: 14px 14px !important;
  }

  /* (6) 방문목욕 4대 수칙 & 사진 레이아웃 */
  .content-box div[style*="grid-template-columns:1.2fr 0.8fr"],
  .content-box div[style*="grid-template-columns: 1.2fr 0.8fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 16px 14px !important;
  }

  /* (7) 서브페이지 내부 박스들의 큰 패딩 슬림화 */
  .content-box div[style*="padding:28px"],
  .content-box div[style*="padding:32px"],
  .content-box div[style*="padding:40px"],
  .content-box div[style*="padding:24px 28px"],
  .content-box div[style*="padding:20px 24px"] {
    padding: 14px 12px !important;
    margin-bottom: 16px !important;
    border-radius: 10px !important;
    line-height: 1.65 !important;
  }

  /* (8) 인사말 이미지 및 명패 모바일 화면 맞춤 */
  .greeting-wrap {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .greeting-photo-box {
    max-width: 100% !important;
    border-radius: 10px !important;
  }
  .greeting-photo-box img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
  }
  .greeting-caption {
    padding: 10px 14px !important;
  }
  .greeting-caption-name {
    font-size: 1.15rem !important;
    letter-spacing: 2px !important;
  }
  .greeting-quote {
    font-size: 1.1rem !important;
    line-height: 1.45 !important;
    padding-left: 10px !important;
    margin-bottom: 14px !important;
  }
  .greeting-text-box {
    font-size: 0.94rem !important;
    line-height: 1.72 !important;
  }

  /* (9) 오시는길 지도 높이 최적화 & 안내 카드 */
  .directions-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .map-visual-box iframe {
    height: 230px !important;
    min-height: 230px !important;
  }
  .directions-info-card {
    gap: 8px !important;
  }
  .info-item {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .info-icon {
    width: 36px !important;
    height: 36px !important;
  }
  .info-content-title {
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
  }
  .info-content-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  /* (10) 본인부담금 계산기 모바일 최적화 */
  .calc-widget-card {
    padding: 16px 12px !important;
    margin: 16px 0 !important;
    border-radius: 12px !important;
  }
  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .calc-result-box {
    padding: 16px 14px !important;
  }
  .calc-result-number {
    font-size: 1.75rem !important;
    margin: 4px 0 8px 0 !important;
  }

  /* (11) 표 (Table) 모바일 터치 스크롤 & 세로 뭉개짐 방지 */
  .custom-table-wrap {
    margin: 12px 0 20px 0 !important;
    border-radius: 8px !important;
  }
  .custom-table {
    min-width: 520px !important;
    font-size: 0.86rem !important;
  }
  .custom-table th, .custom-table td {
    padding: 9px 8px !important;
  }
  .board-table {
    min-width: 440px !important;
    font-size: 0.86rem !important;
  }
  .board-table th, .board-table td {
    padding: 10px 8px !important;
  }

  /* (12) 서브페이지 하단 무료대행 배너 */
  div[style*="linear-gradient(135deg, #0f766e"] {
    padding: 18px 14px !important;
    gap: 12px !important;
  }
  div[style*="linear-gradient(135deg, #0f766e"] h4 {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
  }
  div[style*="linear-gradient(135deg, #0f766e"] .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 11px !important;
  }

  /* 홈 화면 퀵메뉴 & 갤러리 그리드 */
  .quick-menu-section {
    margin-top: 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .full-gallery-grid {
    grid-template-columns: 1fr;
  }

  /* (13) 커뮤니티 프리뷰 (공지사항 & 어르신 케어 현장) 모바일 가로 넘침 방지 및 100% 맞춤 */
  .community-preview-section {
    padding: 30px 0 !important;
    overflow: hidden !important;
  }
  .community-preview-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .preview-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .preview-header {
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
  }
  .preview-title {
    font-size: 1.15rem !important;
  }
  .preview-more-link {
    font-size: 0.85rem !important;
  }
  .notice-preview-item {
    padding: 11px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .notice-item-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .notice-tag {
    font-size: 0.72rem !important;
    padding: 2px 6px !important;
    flex-shrink: 0 !important;
    border-radius: 4px !important;
  }
  .notice-item-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .notice-item-date {
    font-size: 0.78rem !important;
    color: var(--text-light) !important;
    flex-shrink: 0 !important;
    margin-left: 6px !important;
    white-space: nowrap !important;
  }
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .gallery-preview-item {
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 115px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .gallery-preview-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .gallery-preview-overlay {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 6px 8px !important;
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .gallery-preview-overlay span {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 파트너 로고 슬라이더 */
  .partner-slider-section {
    padding: 24px 0 18px;
  }
  .partner-logo-img {
    height: 40px;
  }
  .partner-track {
    gap: 14px;
    animation-duration: 20s;
  }

  /* 우측 퀵메뉴 모바일 최적화 (하단 우측 고정, 미니 아이콘) */
  .quick-sidebar {
    right: 14px !important;
    bottom: 24px !important;
    top: auto !important;
    transform: none !important;
    width: 44px !important;
    padding: 6px 3px !important;
    border-radius: 16px !important;
    gap: 5px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
  }
  .quick-sidebar:hover {
    width: 44px !important;
    padding: 6px 3px !important;
  }
  .quick-btn {
    width: 38px !important;
    padding: 2px !important;
    border-radius: 8px !important;
  }
  .quick-icon-wrap {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 0 !important;
  }
  .quick-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
  }
  .quick-btn-label {
    display: none !important;
  }

  /* 모바일 하단 플로팅 바 완전 삭제 & 바디 패딩 제거 */
  .mobile-floating-bar {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
}

/* 초소형 모바일 (iPhone SE, 360px 이하) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px !important;
  }
  .content-box {
    padding: 16px 12px !important;
    border-radius: 10px !important;
  }
  .sub-title {
    font-size: 1.28rem !important;
  }
  .content-box-title {
    font-size: 1.12rem !important;
  }
  .quick-card {
    padding: 16px 14px;
  }
  .footer-call-num {
    font-size: 1.45rem;
  }
  .preview-card {
    padding: 16px 12px !important;
  }
  .gallery-preview-grid {
    gap: 8px !important;
  }
  .gallery-preview-item {
    height: 105px !important;
  }
  .notice-item-title {
    font-size: 0.86rem !important;
  }
  .notice-item-date {
    font-size: 0.74rem !important;
  }
}
