@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  /* 핵심 컬러 팔레트: 신뢰의 틸(Teal) & 따뜻한 오렌지(Orange) */
  --teal-900: #0c3b3d;
  --teal-800: #114c4f;
  --teal-700: #155e63;
  --teal-600: #1c767b;
  --teal-500: #268f95;
  --teal-100: #e6f3f4;
  --teal-50: #f2f9f9;

  --orange-700: #c85016;
  --orange-600: #e05d1f;
  --orange-500: #ea6a2a;
  --orange-400: #f48146;
  --orange-100: #fdece3;
  --orange-50: #fff6f0;

  --cream-bg: #faf7f2;
  --white: #ffffff;
  --gray-900: #191f24;
  --gray-800: #2c353d;
  --gray-700: #45505b;
  --gray-600: #626e7a;
  --gray-400: #9aa5b1;
  --gray-200: #e2e7ec;
  --gray-100: #f3f5f7;

  /* 가독성 배율 (어르신·보호자용 글자 크기 조절 기능 연동) */
  --font-scale: 1;

  --header-height: 86px;
  --max-width: 1280px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 14px rgba(17, 76, 79, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 76, 79, 0.10);
  --shadow-lg: 0 20px 48px rgba(17, 76, 79, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--font-scale));
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', '맑은 고딕', sans-serif;
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.75;
  letter-spacing: -0.02em;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  word-break: keep-all;
}

#home-view,
#subpage-view,
#admin-cms-view,
.site-footer {
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   1. 상단 고정 헤더 및 네비게이션 (번호 표기 배제 · 주야간/모바일 선명한 가독성)
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(21, 94, 99, 0.14);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.is-solid,
.site-header:hover,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.99);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고 디자인 */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.logo-symbol {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(234, 106, 42, 0.35);
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal-900);
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: var(--transition);
  white-space: nowrap;
}

.logo-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-700);
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}

.site-header.is-solid .logo-title,
.site-header:hover .logo-title,
.site-header.menu-open .logo-title {
  color: var(--teal-900);
}

.site-header.is-solid .logo-subtitle,
.site-header:hover .logo-subtitle,
.site-header.menu-open .logo-subtitle {
  color: var(--teal-700);
}

/* 메인 GNB 메뉴 (번호 없이 깨끗하고 정돈된 텍스트 메뉴) */
.gnb-nav {
  height: 100%;
  display: flex;
  align-items: center;
}

.gnb-list {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 8px;
}

.gnb-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.gnb-link {
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.gnb-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 22px;
  height: 4px;
  background: var(--orange-500);
  border-radius: 4px 4px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.gnb-item:hover .gnb-link::after,
.gnb-item.active .gnb-link::after {
  transform: scaleX(1);
}

.site-header.is-solid .gnb-link,
.site-header:hover .gnb-link,
.site-header.menu-open .gnb-link {
  color: var(--gray-900);
}

.gnb-item:hover .gnb-link,
.gnb-item.active .gnb-link {
  color: var(--orange-500) !important;
}

/* 드롭다운 하위 메뉴 */
.gnb-dropdown {
  position: absolute;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--teal-700);
  padding: 10px 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
  z-index: 1010;
}

.gnb-item:hover .gnb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.gnb-dropdown li a {
  display: block;
  padding: 11px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  border-radius: 8px;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.gnb-dropdown li a:hover,
.gnb-dropdown li a.active {
  background: var(--orange-50);
  color: var(--orange-600);
  font-weight: 700;
}

/* 헤더 우측 유틸 영역 (전화번호 배지 & 글자크기 조절) */
.header-utils {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.font-Controls {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 4px 6px;
  gap: 2px;
  transition: var(--transition);
  flex-shrink: 0;
}

.site-header.is-solid .font-Controls,
.site-header:hover .font-Controls,
.site-header.menu-open .font-Controls {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.font-btn {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  transition: var(--transition);
  white-space: nowrap;
}

.site-header.is-solid .font-btn,
.site-header:hover .font-btn,
.site-header.menu-open .font-btn {
  color: var(--gray-700);
}

.font-btn.active,
.font-btn:hover {
  background: var(--teal-700);
  color: var(--white) !important;
}

.header-call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-500);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 4px 14px rgba(234, 106, 42, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}

.header-call-btn:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: var(--teal-800);
  color: var(--white) !important;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(17, 76, 79, 0.25);
}

.site-header.is-solid .mobile-menu-toggle,
.site-header:hover .mobile-menu-toggle,
.site-header.menu-open .mobile-menu-toggle {
  background: var(--teal-800);
  color: var(--white) !important;
}

/* ==========================================
   2. 메인 비주얼 영역 (PC 100% Full-Screen 2장 슬라이드)
   ========================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  background: var(--teal-900);
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease-in-out, visibility 1.1s ease-in-out;
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  position: relative;
  min-height: 100vh;
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 7s ease-out;
  filter: brightness(1.03) contrast(1.02);
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 38, 40, 0.12) 0%,
      rgba(10, 38, 40, 0.0) 18%,
      rgba(10, 38, 40, 0.0) 76%,
      rgba(10, 38, 40, 0.42) 100%
    ),
    linear-gradient(
      90deg,
      rgba(12, 46, 48, 0.56) 0%,
      rgba(12, 46, 48, 0.34) 38%,
      rgba(12, 46, 48, 0.05) 62%,
      rgba(12, 46, 48, 0.0) 100%
    );
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-height) + 36px) 24px 136px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(234, 106, 42, 0.92);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.28;
  margin-bottom: 22px;
  text-shadow: 0 3px 18px rgba(8, 30, 32, 0.55), 0 1px 4px rgba(8, 30, 32, 0.45);
}

.hero-title .highlight {
  color: #ffb085;
  text-decoration: underline;
  text-decoration-color: rgba(234, 106, 42, 0.75);
  text-underline-offset: 8px;
}

.hero-desc {
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  color: rgba(255, 255, 255, 0.98);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(8, 30, 32, 0.52), 0 1px 3px rgba(8, 30, 32, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-500);
  color: var(--white);
  padding: 18px 32px;
  border-radius: 14px;
  font-size: 1.18rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(234, 106, 42, 0.4);
  transition: var(--transition);
}

.btn-primary-lg:hover {
  background: var(--orange-600);
  transform: translateY(-3px);
}

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 48, 50, 0.52);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 1.18rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-outline-lg:hover {
  background: var(--white);
  color: var(--teal-900);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* 슬라이드 하단 컨트롤 바 */
.hero-controls {
  position: absolute;
  bottom: 42px;
  left: 0;
  right: 0;
  z-index: 10;
}

.hero-controls-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide-indicators {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slide-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.slide-dot.active {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
  padding: 8px 22px;
  box-shadow: 0 4px 14px rgba(234, 106, 42, 0.45);
}

.slide-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slide-arrow-btn:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
}

.scroll-down-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  animation: bounceSlow 2s infinite;
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================
   3. 우측 퀵메뉴 (작고 심플한 플로팅 아이콘 버튼)
   ========================================== */
.floating-quick-menu {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 10px 8px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(12, 59, 61, 0.16);
  border: 1px solid rgba(21, 94, 99, 0.14);
}

.quick-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.quick-btn.kakao {
  background: #FEE500;
  color: #3C1E1E;
}

.quick-btn.notice {
  background: var(--teal-700);
  color: var(--white);
}

.quick-btn.inquiry {
  background: var(--orange-500);
  color: var(--white);
}

.quick-btn.top-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  width: 46px;
  height: 36px;
  border-radius: 18px;
  font-size: 0.75rem;
  font-weight: 800;
}

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

/* 마우스 호버 시 좌측 말풍선 툴팁 (평소엔 따뜻한 뷰를 가리지 않게 숨김) */
.quick-tooltip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--gray-900);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.quick-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--gray-900);
}

.quick-btn:hover .quick-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================
   4. 메인 페이지 스크롤 다운 콘텐츠 영역
   ========================================== */
.section {
  padding: 96px 0;
}

.section-cream {
  background-color: var(--cream-bg);
}

.section-teal-soft {
  background-color: var(--teal-50);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  color: var(--teal-900);
  line-height: 1.32;
  margin-bottom: 14px;
}

.section-title span {
  color: var(--orange-500);
}

.section-subtitle {
  font-size: 1.18rem;
  color: var(--gray-700);
  max-width: 720px;
  margin: 0 auto;
}

/* 핵심 메뉴 바로가기 아이콘 가로 배너 (메인 비주얼 하단 버튼들과 절대 겹치지 않도록 분리) */
.quick-shortcut-bar {
  margin-top: 0;
  padding: 52px 0 24px;
  position: relative;
  z-index: 20;
  background-color: var(--cream-bg);
  border-bottom: 1px solid #ede2d5;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.shortcut-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.shortcut-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-6px);
}

.shortcut-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--orange-50);
  color: var(--orange-500);
  transition: var(--transition);
}

.shortcut-card:nth-child(even) .shortcut-icon {
  background: var(--teal-100);
  color: var(--teal-700);
}

.shortcut-card:hover .shortcut-icon {
  background: var(--orange-500);
  color: var(--white);
}

.shortcut-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.shortcut-info p {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.45;
}

/* Brand Story 영역 */
.brand-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.brand-story-visual {
  position: relative;
}

.brand-main-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.brand-main-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.brand-floating-badge {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--teal-800);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--orange-500);
}

.brand-floating-badge strong {
  display: block;
  font-size: 1.35rem;
  color: #ffb48a;
  margin-bottom: 4px;
}

.brand-floating-badge span {
  font-size: 1rem;
  opacity: 0.95;
}

.brand-story-text .quote-line {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--teal-900);
  line-height: 1.38;
  margin-bottom: 22px;
}

.brand-story-text .quote-line em {
  font-style: normal;
  color: var(--orange-500);
}

.brand-story-text p {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 20px;
  line-height: 1.8;
}

.brand-promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 32px;
}

.promise-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.promise-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--teal-800);
  margin-top: 8px;
}

.promise-item span {
  font-size: 0.92rem;
  color: var(--gray-600);
}

/* 서비스 카드 그리드 */
.service-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}

.service-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--teal-800);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 12px;
}

.service-card-body p {
  font-size: 1.08rem;
  color: var(--gray-700);
  margin-bottom: 20px;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  background: var(--orange-50);
  color: var(--orange-600);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

/* 순서도 (Flowchart) & 인포그래픽 공통 스타일 */
.flowchart-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}

.flow-step-card {
  background: var(--white);
  border: 2px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.flow-step-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.flow-step-badge {
  display: inline-block;
  background: var(--teal-700);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.flow-step-card:nth-child(even) .flow-step-badge {
  background: var(--orange-500);
}

.flow-step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-800);
}

.flow-step-card h4 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.flow-step-card p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.55;
}

/* 메인 하단 공지사항 & 갤러리 프리뷰 */
.home-board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.board-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.board-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--teal-800);
}

.board-box-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--teal-900);
}

.more-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--orange-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.notice-mini-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  gap: 12px;
}

.notice-mini-list li:hover .notice-mini-title {
  color: var(--orange-600);
}

.notice-mini-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--gray-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-mini-date {
  font-size: 0.92rem;
  color: var(--gray-600);
  flex-shrink: 0;
}

.gallery-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-mini-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 165px;
  cursor: pointer;
}

.gallery-mini-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-mini-item:hover img {
  transform: scale(1.07);
}

.gallery-mini-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 20px 14px 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================
   5. 복잡한 행정절차 대행 강조 (Call To Action) 배너
   ========================================== */
.cta-agency-banner {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}

.cta-agency-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(234, 106, 42, 0.18);
  pointer-events: none;
}

.cta-text-group .cta-sub {
  display: inline-block;
  background: var(--orange-500);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.cta-text-group h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
}

.cta-text-group p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-contact-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.cta-phone-box {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 26px;
  text-align: right;
}

.cta-phone-box span {
  display: block;
  font-size: 0.92rem;
  color: #ffd0b5;
  font-weight: 700;
}

.cta-phone-box strong {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ==========================================
   6. 서브 페이지 전용 레이아웃 & 탭 구조
   ========================================== */
.subpage-hero {
  margin-top: var(--header-height);
  background: linear-gradient(125deg, var(--teal-900) 0%, var(--teal-700) 65%, #1d7a74 100%);
  padding: 64px 0 56px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange-500), var(--teal-500));
}

.subpage-category-label {
  display: inline-block;
  background: rgba(234, 106, 42, 0.9);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.subpage-hero h1 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.subpage-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}

/* 서브페이지 하위 메뉴 탭 바 (스크롤 시 화면을 가리지 않고 자연스럽게 위로 올라가도록 설정) */
.subpage-lnb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  top: auto;
  z-index: 100;
}

.subpage-lnb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.lnb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.lnb-tab-btn {
  padding: 18px 26px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-700);
  border-bottom: 4px solid transparent;
  transition: var(--transition);
}

.lnb-tab-btn:hover {
  color: var(--teal-800);
  background: var(--gray-100);
}

.lnb-tab-btn.active {
  color: var(--orange-600);
  border-bottom-color: var(--orange-500);
  background: var(--orange-50);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--gray-600);
  padding: 10px 0;
}

.breadcrumb strong {
  color: var(--teal-800);
  font-weight: 700;
}

.subpage-body {
  padding: 64px 0 96px;
  background: var(--white);
}

/* 서브페이지 내 가독성 높은 카드/테이블/인포그래픽 컴포넌트 */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.info-card {
  background: var(--cream-bg);
  border: 1px solid #eadfd3;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.info-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-card p,
.info-card li {
  font-size: 1.12rem;
  color: var(--gray-800);
  line-height: 1.75;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 등급표 및 수가표 */
.senior-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin: 24px 0;
}

.senior-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.senior-table th {
  background: var(--teal-800);
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
  padding: 18px 20px;
  text-align: center;
}

.senior-table td {
  padding: 18px 20px;
  font-size: 1.1rem;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
  background: var(--white);
}

.senior-table tr:nth-child(even) td {
  background: var(--teal-50);
}

.senior-table td.left {
  text-align: left;
}

.grade-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  background: var(--orange-100);
  color: var(--orange-700);
}

/* 오시는 길 지도 영역 (지도 가림 없이 하단 안내 바로 분리 배치) */
.location-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-canvas-area {
  position: relative;
  height: 460px;
  background: #eef4f4;
}

.map-overlay-card {
  position: relative;
  top: auto;
  left: auto;
  background: var(--cream-bg);
  padding: 26px 32px;
  border-top: 2px solid var(--gray-200);
  border-left: 6px solid var(--orange-500);
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.map-overlay-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 6px;
}

.map-overlay-card p {
  font-size: 1.08rem;
  color: var(--gray-800);
  margin-bottom: 0;
}

.map-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* 게시판 (공지사항 / 갤러리 / 상담문의 폼) */
.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  background: var(--gray-100);
  padding: 18px 24px;
  border-radius: var(--radius-md);
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--teal-800);
  color: var(--white);
  border-color: var(--teal-800);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 6px 14px;
  min-width: 280px;
}

.search-input-wrap input {
  width: 100%;
  padding: 6px;
  font-size: 1rem;
}

/* 갤러리 그리드 */
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-500);
}

.gallery-card-thumb {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.gallery-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-thumb img {
  transform: scale(1.06);
}

.gallery-card-body {
  padding: 22px 24px;
}

.gallery-card-body h4 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.gallery-card-body p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}

/* 상담문의 폼 스타일 */
.inquiry-form-card {
  background: var(--cream-bg);
  border: 2px solid #e6d8c8;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--teal-900);
}

.form-label .req {
  color: var(--orange-600);
  margin-left: 4px;
}

.form-control {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 1.1rem;
  color: var(--gray-900);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(234, 106, 42, 0.15);
}

/* ==========================================
   7. 푸터 (Footer) 단정한 정보 정렬
   ========================================== */
.site-footer {
  background: #102a2c;
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 48px;
  border-top: 5px solid var(--orange-500);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.footer-links a {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover {
  color: var(--orange-400);
}

.footer-partner-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-logo-badge {
  background: var(--white);
  padding: 10px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.footer-logo-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.footer-logo-badge img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-info-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: end;
}

.footer-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.footer-meta-list span strong {
  color: #ffffff;
  font-weight: 700;
  margin-right: 6px;
}

.footer-call-highlight {
  text-align: right;
}

.footer-call-highlight .label {
  font-size: 0.95rem;
  color: #ffb085;
  font-weight: 700;
}

.footer-call-highlight .tel {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  margin: 4px 0;
}

/* 모달 (공지 상세 / 갤러리 라이트박스 / 카카오톡 채널 안내) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 32, 34, 0.72);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalUp 0.25s ease-out;
}

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

.modal-header {
  padding: 24px 28px;
  background: var(--teal-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.modal-body {
  padding: 32px 28px;
  font-size: 1.12rem;
  line-height: 1.8;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 1100px) {
  .shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-story-grid,
  .home-board-grid,
  .info-card-grid,
  .footer-info-grid {
    grid-template-columns: 1fr;
  }
  .service-preview-grid,
  .gallery-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flowchart-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-agency-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }
  .cta-contact-group {
    align-items: center;
  }
  .footer-call-highlight {
    text-align: left;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }
  .site-header {
    height: 68px;
  }
  .header-inner {
    padding: 0 8px;
    gap: 4px;
  }
  .brand-logo {
    gap: 7px;
  }
  .logo-symbol {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .logo-symbol svg {
    width: 21px;
    height: 21px;
  }
  .logo-title {
    font-size: 18.5px !important;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--teal-900) !important;
  }
  .logo-subtitle {
    display: none;
  }
  .gnb-nav,
  .header-call-btn {
    display: none;
  }
  .header-utils {
    gap: 4px;
  }
  .font-Controls {
    padding: 2px;
    gap: 1px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
  }
  .font-btn {
    padding: 5px 4.5px;
    font-size: 10.5px !important;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--gray-800);
  }
  .mobile-menu-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--teal-800);
    color: var(--white) !important;
  }
  .mobile-menu-toggle svg {
    width: 22px;
    height: 22px;
  }
  .site-header.menu-open .gnb-nav {
    display: block;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 18px 20px 26px;
    border-bottom: 3px solid var(--orange-500);
  }
  .site-header.menu-open .gnb-list {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .site-header.menu-open .gnb-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header.menu-open .gnb-link {
    padding: 10px 0;
    font-size: 1.2rem;
    color: var(--teal-900);
  }
  .site-header.menu-open .gnb-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: var(--gray-100);
    width: 100%;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
  }

  /* 모바일 히어로 슬라이드 및 버튼 겹침 완전 방지 */
  .hero-section {
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .hero-slides {
    min-height: auto;
    height: auto;
  }
  .hero-slide.active {
    min-height: 520px;
    height: auto;
  }
  .hero-bg {
    background-position: 68% center;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 38, 40, 0.42) 0%,
      rgba(10, 38, 40, 0.56) 52%,
      rgba(10, 38, 40, 0.78) 100%
    );
  }
  .hero-content-wrap {
    padding: 92px 18px 28px;
    justify-content: flex-start;
  }
  .hero-badge {
    font-size: 0.84rem;
    padding: 6px 13px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(1.68rem, 6.2vw, 2.25rem);
    line-height: 1.32;
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.62;
    margin-bottom: 22px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .btn-primary-lg,
  .btn-outline-lg {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 1.02rem;
    border-radius: 12px;
  }
  .hero-controls {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    background: #0d3638;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 14px 0 16px;
  }
  .hero-controls-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
  }
  .slide-indicators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .slide-dot,
  .slide-dot.active {
    justify-content: center;
    text-align: center;
    padding: 9px 6px;
    font-size: 11.5px !important;
    letter-spacing: -0.04em;
    white-space: nowrap;
    width: 100%;
  }
  .scroll-down-hint {
    flex-direction: row;
    gap: 6px;
    font-size: 12px !important;
    animation: none;
  }
  .slide-arrow-btn {
    width: 36px;
    height: 36px;
  }
  .subpage-hero {
    padding: 42px 0 38px;
  }
  .subpage-lnb-bar {
    position: relative !important;
    top: auto !important;
  }
  .subpage-lnb-inner {
    padding: 0 14px;
    gap: 6px;
  }
  .lnb-tabs {
    width: 100%;
    gap: 4px;
  }
  .lnb-tab-btn {
    padding: 12px 14px;
    font-size: 0.98rem;
    flex: 1 1 auto;
    text-align: center;
  }
  .breadcrumb {
    font-size: 0.85rem;
    padding: 6px 0 10px;
  }
}

@media (max-width: 640px) {
  .shortcut-grid,
  .service-preview-grid,
  .gallery-full-grid,
  .flowchart-steps,
  .form-grid,
  .brand-promise-list {
    grid-template-columns: 1fr;
  }
  .quick-shortcut-bar {
    padding: 28px 0 20px;
  }
  .shortcut-card {
    padding: 20px 18px;
    gap: 16px;
  }
  .shortcut-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }
  .floating-quick-menu {
    right: 8px;
    bottom: 14px;
    top: auto;
    transform: none;
    padding: 7px 6px;
    gap: 7px;
  }
  .quick-btn {
    width: 40px;
    height: 40px;
  }
  .quick-btn.top-btn {
    width: 40px;
    height: 32px;
    font-size: 0.7rem;
  }
  .inquiry-form-card {
    padding: 24px 18px;
  }
}


/* =========================================================
   8. 타겟 사이트 벤치마킹 업그레이드 섹션 스타일
      (장기요양인정신청 4단계 / 서비스 안내 4종 / 자주 묻는 질문 FAQ)
   ========================================================= */

/* (1) 장기요양인정신청 4단계 박스 */
.recog-apply-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.recog-apply-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recog-apply-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.recog-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(17, 76, 79, 0.25);
}

.recog-apply-card:nth-child(even) .recog-step-num {
  background: var(--orange-500);
  box-shadow: 0 4px 12px rgba(234, 106, 42, 0.28);
}

.recog-icon-circle {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--cream-bg);
  border: 2px dashed #e0d4c4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--teal-800);
  transition: var(--transition);
}

.recog-apply-card:hover .recog-icon-circle {
  background: var(--orange-50);
  border-color: var(--orange-400);
  color: var(--orange-600);
}

.recog-apply-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--teal-900);
  line-height: 1.4;
  margin-bottom: 10px;
}

.recog-apply-card p {
  font-size: 1.02rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* (2) 서비스 안내 (식사도움 · 청결유지 · 외출동행 · 치매케어) 탭 & 슬라이더 */
.service-guide-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.service-tab-btn {
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 1.22rem;
  font-weight: 800;
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-tab-btn:hover {
  border-color: var(--orange-400);
  color: var(--orange-600);
}

.service-tab-btn.active {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
  box-shadow: 0 8px 22px rgba(234, 106, 42, 0.35);
  transform: translateY(-2px);
}

.service-showcase-wrap {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid #ebdfd3;
  overflow: hidden;
  padding: 52px 92px;
}

.service-slide-panel {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  animation: fadeSlideIn 0.35s ease-out;
}

.service-slide-panel.active {
  display: grid;
}

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

.service-slide-text .badge {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-800);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.service-slide-text h3 {
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  font-weight: 900;
  color: var(--teal-900);
  margin-bottom: 16px;
}

.service-slide-text .lead {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.65;
  margin-bottom: 22px;
  padding-left: 16px;
  border-left: 5px solid var(--orange-500);
}

.service-slide-text .detail-list {
  margin-bottom: 28px;
}

.service-slide-text .detail-list li {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 10px;
  position: relative;
  padding-left: 26px;
}

.service-slide-text .detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-slide-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--cream-bg);
}

.service-slide-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.service-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--teal-900);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 5;
}

.service-nav-arrow:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
}

.service-nav-arrow.prev {
  left: 20px;
}

.service-nav-arrow.next {
  right: 20px;
}

/* 하단 4종 요약 미니 카드 */
.service-mini-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.service-mini-box {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.service-mini-box:hover,
.service-mini-box.active {
  border-color: var(--orange-500);
  background: var(--orange-50);
}

.service-mini-box strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 6px;
}

.service-mini-box p {
  font-size: 0.98rem;
  color: var(--gray-700);
  line-height: 1.5;
}

/* (3) 자주 묻는 질문 (FAQ) 아코디언 */
.faq-list-wrap {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--teal-700);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: var(--white);
  transition: var(--transition);
}

.faq-item.open .faq-question-btn {
  background: var(--teal-50);
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-q-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-800);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item.open .faq-q-badge {
  background: var(--orange-500);
}

.faq-q-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.4;
}

.faq-item.open .faq-q-title {
  color: var(--teal-900);
}

.faq-chevron {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--orange-500);
  color: var(--white);
}

.faq-answer-box {
  display: none;
  padding: 26px 32px 30px 82px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  font-size: 1.14rem;
  color: var(--gray-800);
  line-height: 1.85;
}

.faq-item.open .faq-answer-box {
  display: block;
}

.faq-grade-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.faq-grade-chip {
  background: var(--cream-bg);
  border: 1px solid #e5d8c7;
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.faq-grade-chip strong {
  display: block;
  color: var(--orange-600);
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.faq-grade-chip span {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--teal-900);
}

@media (max-width: 1100px) {
  .recog-apply-grid,
  .service-mini-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-slide-panel.active {
    grid-template-columns: 1fr;
  }
  .service-showcase-wrap {
    padding: 40px 80px;
  }
  .faq-grade-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .subpage-hero {
    padding: 42px 0 38px;
  }
  .subpage-lnb-bar {
    position: relative !important;
    top: auto !important;
  }
  .subpage-lnb-inner {
    padding: 0 14px;
    gap: 6px;
  }
  .lnb-tabs {
    width: 100%;
    gap: 4px;
  }
  .lnb-tab-btn {
    padding: 12px 14px;
    font-size: 0.98rem;
    flex: 1 1 auto;
    text-align: center;
  }
  .breadcrumb {
    font-size: 0.85rem;
    padding: 6px 0 10px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 56px 0;
  }
  .recog-apply-grid,
  .faq-grade-badges {
    grid-template-columns: 1fr;
  }
  .recog-apply-card {
    padding: 26px 20px 24px;
  }
  .recog-icon-circle {
    width: 84px;
    height: 84px;
    margin-bottom: 16px;
  }

  /* 메인 서비스 안내 모바일 보기 편한 100% 와이드 카드 레이아웃 */
  .service-guide-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
  }
  .service-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 12px;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .service-showcase-wrap {
    padding: 24px 18px 22px !important;
    border-radius: 18px;
  }
  .service-nav-arrow {
    top: 20px;
    transform: none;
    width: 36px;
    height: 36px;
  }
  .service-nav-arrow.prev {
    left: auto;
    right: 60px;
  }
  .service-nav-arrow.next {
    right: 18px;
  }
  .service-slide-panel.active {
    gap: 20px;
  }
  .service-slide-text .badge {
    font-size: 0.84rem;
    padding: 5px 12px;
    margin-bottom: 12px;
    max-width: calc(100% - 92px);
  }
  .service-slide-text h3 {
    font-size: 1.55rem;
    margin-bottom: 12px;
  }
  .service-slide-text .lead {
    font-size: 1.05rem;
    line-height: 1.55;
    padding-left: 12px;
    margin-bottom: 16px;
    word-break: keep-all;
  }
  .service-slide-text .lead br {
    display: none;
  }
  .service-slide-text .detail-list {
    margin-bottom: 20px;
  }
  .service-slide-text .detail-list li {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 10px;
    padding-left: 24px;
    word-break: keep-all;
  }
  .service-slide-text .btn-primary-lg {
    width: 100%;
    justify-content: center;
  }
  .service-slide-visual img {
    height: 210px;
  }
  .service-mini-4grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
  }
  .service-mini-box {
    padding: 14px 12px;
    border-radius: 12px;
  }
  .service-mini-box strong {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }
  .service-mini-box p {
    font-size: 0.88rem;
    line-height: 1.4;
    word-break: keep-all;
  }

  .faq-question-btn {
    padding: 18px 16px;
    gap: 12px;
  }
  .faq-q-title {
    font-size: 1.05rem;
  }
  .faq-answer-box {
    padding: 18px 16px 22px 16px;
    font-size: 1rem;
    line-height: 1.7;
  }
}


/* =========================================================
   9. 서브페이지 > 노인장기요양보험 3개 하위메뉴 전용 스타일 (첨부 PDF 완벽 구현)
   ========================================================= */
.ltci-doc-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.ltci-top-photo {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 42px;
  border: 1px solid var(--gray-200);
}

.ltci-top-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ltci-mid-photo {
  width: 100%;
  max-width: 720px;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 40px 0 32px;
  border: 1px solid var(--gray-200);
}

.ltci-mid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ltci-sec-block {
  margin-bottom: 52px;
}

.ltci-sec-title {
  font-size: clamp(1.55rem, 2.3vw, 1.95rem);
  font-weight: 800;
  color: var(--teal-800);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ltci-sec-title::before {
  content: '';
  width: 6px;
  height: 26px;
  border-radius: 4px;
  background: var(--orange-500);
  display: inline-block;
  flex-shrink: 0;
}

.ltci-sub-num-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 28px 0 12px;
}

.ltci-p {
  font-size: 1.12rem;
  color: var(--gray-800);
  line-height: 1.85;
  margin-bottom: 16px;
}

.ltci-highlight-red {
  color: #d9381e;
  font-weight: 700;
}

/* 등급 판정 기준 점수 바 다이어그램 */
.score-bar-container {
  margin: 28px 0 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.score-markers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--cream-bg);
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--gray-200);
}

.score-marker-item {
  text-align: right;
  padding-right: 12px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--gray-700);
  position: relative;
}

.score-boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  text-align: center;
}

.score-box {
  padding: 22px 10px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.score-box.g1 { background: #7c9fb8; }
.score-box.g2 { background: #8fafc7; }
.score-box.g3 { background: #a5c2d9; }
.score-box.g4 { background: #bbd4e8; color: var(--teal-900); }
.score-box.g5,
.score-box.g6 {
  padding: 0;
  background: var(--gray-100);
  color: var(--gray-800);
}

.score-box-split-top {
  width: 100%;
  background: #555b61;
  color: var(--white);
  padding: 10px 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.score-box-split-bottom {
  width: 100%;
  padding: 12px 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-800);
  background: #eef2f5;
}

/* 5개 원형 단계 다이어그램 (장기요양등급 판정 절차) */
.circle-steps-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 32px 0 44px;
}

.circle-step-item {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #e8f1ee;
  border: 2px solid #cbe0da;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.circle-step-item:hover {
  transform: translateY(-5px);
  border-color: var(--teal-600);
  box-shadow: var(--shadow-md);
}

.circle-step-item h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #469b82;
  margin-bottom: 10px;
}

.circle-step-item p {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.45;
  font-weight: 600;
}

.circle-step-arrow {
  color: var(--gray-400);
  font-size: 1.5rem;
  font-weight: 700;
}

/* 인정신청 -> 방문조사/의사소견서 -> 등급판정 -> 1~5등급/등급외 프로세스 다이어그램 */
.process-diagram-box {
  background: var(--cream-bg);
  border: 1px solid #e4d8c8;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 120px 1fr 1fr 120px;
  gap: 20px;
  align-items: center;
}

.proc-circle-start {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #53b89a;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.proc-col-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.proc-col-head {
  background: #767c82;
  color: var(--white);
  text-align: center;
  padding: 12px;
  font-size: 1.15rem;
  font-weight: 800;
}

.proc-col-body {
  padding: 20px 18px;
  font-size: 1.05rem;
  color: var(--gray-800);
  line-height: 1.7;
}

.proc-col-foot {
  background: #767c82;
  color: var(--white);
  text-align: center;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  border-top: 1px solid var(--gray-200);
}

.proc-end-circles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.proc-circle-end {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #53b89a;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}

.proc-circle-end.out {
  background: #767c82;
}

/* 신청자격 및 종류 4개 원형 아이콘 다이어그램 */
.review-icons-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 28px 0 32px;
  text-align: center;
}

.review-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.review-icon-circle {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 2px solid #e06d53;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7278;
  box-shadow: var(--shadow-sm);
}

.review-icon-item strong {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--gray-900);
}

@media (max-width: 960px) {
  .score-markers {
    display: none;
  }
  .score-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-diagram-box {
    grid-template-columns: 1fr;
  }
  .proc-end-circles {
    flex-direction: row;
    justify-content: center;
  }
  .review-icons-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .circle-step-arrow {
    display: none;
  }
}


/* =========================================================
   10. 푸터 관리자 로그인 버튼 & 관리자 대시보드 (CMS) 스타일
   ========================================================= */
.footer-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
}

.footer-admin-btn:hover {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
}

.footer-admin-btn.is-logged-in {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
}

/* 상단 고정 관리자 모드 알림 바 */
.admin-top-bar {
  display: none;
  background: linear-gradient(90deg, #102a2c, #155e63);
  color: var(--white);
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 2px solid var(--orange-500);
}

.admin-top-bar.active {
  display: block;
}

.admin-top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* CMS 대시보드 레이아웃 */
.cms-dashboard-wrap {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  background: var(--gray-100);
  padding: 48px 0 96px;
}

.cms-header-card {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.cms-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.cms-stat-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--teal-700);
}

.cms-stat-box:nth-child(even) {
  border-left-color: var(--orange-500);
}

.cms-stat-box span {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 700;
  margin-bottom: 6px;
}

.cms-stat-box strong {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--teal-900);
}

.cms-tabs-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cms-tab-btn {
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--white);
  color: var(--gray-700);
  font-size: 1.1rem;
  font-weight: 800;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}

.cms-tab-btn.active,
.cms-tab-btn:hover {
  background: var(--teal-800);
  color: var(--white);
  border-color: var(--teal-800);
}

.cms-panel-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.cms-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
}

.cms-panel-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-900);
}

.cms-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
}

.cms-action-btn.edit {
  background: var(--teal-100);
  color: var(--teal-900);
}

.cms-action-btn.edit:hover {
  background: var(--teal-700);
  color: var(--white);
}

.cms-action-btn.del {
  background: #fde8e8;
  color: #c81e1e;
}

.cms-action-btn.del:hover {
  background: #c81e1e;
  color: var(--white);
}

.cms-action-btn.add {
  background: var(--orange-500);
  color: var(--white);
  padding: 12px 22px;
  font-size: 1.02rem;
  border-radius: 10px;
}

.cms-action-btn.add:hover {
  background: var(--orange-600);
}

.cms-gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cms-gallery-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.cms-gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.cms-gallery-item-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 960px) {
  .cms-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cms-gallery-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .subpage-hero {
    padding: 42px 0 38px;
  }
  .subpage-lnb-bar {
    position: relative !important;
    top: auto !important;
  }
  .subpage-lnb-inner {
    padding: 0 14px;
    gap: 6px;
  }
  .lnb-tabs {
    width: 100%;
    gap: 4px;
  }
  .lnb-tab-btn {
    padding: 12px 14px;
    font-size: 0.98rem;
    flex: 1 1 auto;
    text-align: center;
  }
  .breadcrumb {
    font-size: 0.85rem;
    padding: 6px 0 10px;
  }
}

@media (max-width: 640px) {
  .cms-stats-grid,
  .cms-gallery-admin-grid {
    grid-template-columns: 1fr;
  }
  .cms-panel-card {
    padding: 20px 16px;
  }
}


/* 관리자 대시보드 온라인 문의 상세 내역 및 1줄 정렬 스타일 */
.cms-inquiry-table td {
  vertical-align: middle;
  padding: 16px 14px;
}

.cms-phone-pill {
  display: inline-block;
  white-space: nowrap;
  background: var(--orange-50);
  color: var(--orange-700);
  border: 1px solid var(--orange-100);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.cms-phone-pill:hover {
  background: var(--orange-500);
  color: var(--white);
}

.cms-inq-detail-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cms-inq-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cms-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.cms-meta-chip.area {
  background: var(--teal-50);
  color: var(--teal-800);
  border: 1px solid var(--teal-100);
}

.cms-meta-chip.grade {
  background: #f3f4f6;
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
}

.cms-inq-content-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal-700);
  padding: 11px 15px;
  border-radius: 8px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.6;
}

.cms-inq-memo-box {
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 0.92rem;
  color: var(--orange-700);
  font-weight: 600;
}

/* =========================================================
   11. 서브페이지 PC·모바일 표/카드/게시판 무스크롤(좌우 이동 없음) 최적화
   ========================================================= */
.visit-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 14px;
}

.visit-items-grid span {
  font-size: 1rem;
  color: var(--gray-800);
  line-height: 1.5;
}

.care-detail-list li strong {
  color: var(--teal-900);
  font-weight: 800;
}

.care-detail-list li strong::after {
  content: ' : ';
}

.inquiry-submit-btn {
  padding: 18px 48px;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .subpage-body {
    padding: 36px 0 68px;
  }

  .section-header {
    margin-bottom: 28px !important;
  }

  .section-title {
    font-size: 1.55rem;
    line-height: 1.35;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* 모든 서브페이지 표: 모바일에서 좌우 스크롤(min-width:640px) 완전 제거 */
  .senior-table-wrap {
    overflow-x: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    margin: 16px 0;
  }

  .senior-table {
    min-width: 0 !important;
    width: 100% !important;
  }

  /* 2열 기본 표(노인장기요양보험 안내 > 신청 자격 등) 모바일 화면 맞춤 */
  .senior-table:not(.mobile-card-table):not(.mobile-board-table) {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    display: table;
  }

  .senior-table:not(.mobile-card-table):not(.mobile-board-table) th {
    width: 96px !important;
    padding: 14px 10px;
    font-size: 0.95rem;
    word-break: keep-all;
  }

  .senior-table:not(.mobile-card-table):not(.mobile-board-table) td {
    padding: 14px 12px;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  /* 다열 정보 표(방문요양 지원혜택, 제도 비교표, 등급판정 기준표, 방문조사 52항목, 심의자료, 신청종류) -> 모바일 카드형 완벽 변환 */
  .senior-table.mobile-card-table,
  .senior-table.mobile-card-table tbody {
    display: block;
    width: 100%;
  }

  .senior-table.mobile-card-table thead {
    display: none;
  }

  .senior-table.mobile-card-table tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .senior-table.mobile-card-table tbody tr {
    display: block;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .senior-table.mobile-card-table tbody td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.98rem;
    line-height: 1.6;
    background: var(--white) !important;
    width: 100%;
    word-break: keep-all;
  }

  .senior-table.mobile-card-table tbody td:last-child {
    border-bottom: none;
  }

  .senior-table.mobile-card-table tbody td::before {
    content: attr(data-label);
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--teal-800);
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
  }

  /* 카드 상단 헤더 셀 (구분 / 등급 / 조사 영역 / 신청 종류) */
  .senior-table.mobile-card-table tbody td.mobile-card-head {
    background: var(--teal-800) !important;
    color: var(--white) !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: none;
  }

  .senior-table.mobile-card-table tbody td.mobile-card-head::before {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
    margin-bottom: 0;
  }

  .senior-table.mobile-card-table tbody td.mobile-card-head strong,
  .senior-table.mobile-card-table tbody td.mobile-card-head .ltci-highlight-red {
    color: var(--white) !important;
    font-size: 1.08rem;
  }

  .senior-table.mobile-card-table tbody td.mobile-card-head .grade-pill {
    background: var(--orange-500);
    color: var(--white);
    font-size: 0.92rem;
    padding: 4px 12px;
  }

  /* 방문조사 52개 항목 모바일 2열 깔끔 정렬 */
  .visit-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 10px;
    width: 100%;
  }

  .visit-items-grid span {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  /* 돌봄정보 (어르신 질환과 상태에 맞춘 세심한 돌봄 정보) 모바일 깔끔 정렬 */
  .info-card {
    padding: 22px 18px;
  }

  .info-card h3 {
    font-size: 1.22rem;
    line-height: 1.38;
    flex-wrap: wrap;
    gap: 8px;
  }

  .care-principle-card .care-card-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1.5px solid #e6dacb;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .care-detail-list li {
    padding-left: 26px;
    margin-bottom: 14px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .care-detail-list li:last-child {
    margin-bottom: 0;
  }

  .care-detail-list li strong {
    display: block;
    font-size: 1.04rem;
    color: var(--teal-900);
    margin-bottom: 3px;
  }

  .care-detail-list li strong::after {
    content: '';
  }

  /* 노인장기요양 절차 내 원형 다이어그램 & 아이콘 모바일 깔끔 정렬 */
  .ltci-top-photo,
  .ltci-mid-photo {
    height: 230px;
    margin-bottom: 28px;
  }

  .ltci-sec-title {
    font-size: 1.38rem;
    line-height: 1.35;
  }

  .ltci-p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .circle-steps-5 {
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 32px;
  }

  .circle-step-item {
    width: 100%;
    height: auto;
    border-radius: 16px;
    padding: 18px 20px;
  }

  .circle-step-item h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .process-diagram-box {
    padding: 22px 16px;
    gap: 14px;
  }

  .review-icons-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .review-icon-circle {
    width: 96px;
    height: 96px;
  }

  .review-icon-circle svg {
    width: 36px;
    height: 36px;
  }

  .review-icon-item strong {
    font-size: 0.98rem;
  }

  /* 공지사항 & 상담문의 게시판 모바일 카드형 리스트 (좌우 스크롤 없음) */
  .board-toolbar {
    padding: 14px;
    gap: 12px;
  }

  .filter-pills {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .filter-pill {
    text-align: center;
    padding: 9px 10px;
    font-size: 0.92rem;
  }

  .search-input-wrap {
    min-width: 0 !important;
    width: 100%;
  }

  .senior-table.mobile-board-table,
  .senior-table.mobile-board-table tbody {
    display: block;
    width: 100%;
  }

  .senior-table.mobile-board-table thead {
    display: none;
  }

  .senior-table.mobile-board-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .senior-table.mobile-board-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--white) !important;
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    padding: 15px 16px;
    box-shadow: var(--shadow-sm);
  }

  .senior-table.mobile-board-table tbody td {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .senior-table.mobile-board-table tbody td.board-col-badge {
    order: 1;
  }

  .senior-table.mobile-board-table tbody td.board-col-badge .grade-pill {
    font-size: 0.85rem;
    padding: 4px 11px;
  }

  .senior-table.mobile-board-table tbody td.board-col-date {
    order: 2;
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-left: auto;
  }

  .senior-table.mobile-board-table tbody td.board-col-meta {
    order: 3;
    font-size: 0.88rem;
    color: var(--gray-600);
  }

  .senior-table.mobile-board-table tbody td.board-col-meta::before {
    content: '· ' attr(data-label) ' ';
  }

  .senior-table.mobile-board-table tbody td.board-col-title {
    order: 4;
    width: 100%;
    font-size: 1.02rem;
    line-height: 1.5;
    color: var(--gray-900);
    padding-top: 10px !important;
    margin-top: 2px;
    border-top: 1px dashed var(--gray-200) !important;
    text-align: left !important;
    word-break: keep-all;
  }

  /* 상담문의 폼 모바일 버튼 및 여백 최적화 */
  .inquiry-form-card {
    padding: 22px 16px;
  }

  .form-control {
    padding: 13px 14px;
    font-size: 1rem;
  }

  .inquiry-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1.1rem;
  }

  /* =========================================================
     12. 모바일 메인(BRAND STORY / 장기요양인정신청 / 자주 묻는 질문 / CTA) 최적화
     ========================================================= */
  /* (1) BRAND STORY · 사랑재가노인복지센터 */
  .brand-story-grid {
    gap: 22px !important;
    margin-bottom: 36px !important;
  }

  .brand-main-img {
    border-width: 3px;
    border-radius: 18px;
  }

  .brand-main-img img {
    height: 220px;
  }

  .brand-floating-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 12px;
    padding: 15px 18px;
    border-radius: 14px;
    width: 100%;
    box-shadow: var(--shadow-sm);
  }

  .brand-floating-badge strong {
    font-size: 1.12rem;
    margin-bottom: 2px;
  }

  .brand-floating-badge span {
    font-size: 0.92rem;
  }

  .brand-story-text .quote-line {
    font-size: 1.48rem;
    line-height: 1.38;
    margin-bottom: 14px;
  }

  .brand-story-text p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .brand-promise-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0 22px;
  }

  .promise-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 2px 12px;
    text-align: left;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .promise-item svg {
    grid-row: 1 / span 2;
    margin: 0 !important;
    width: 34px;
    height: 34px;
    padding: 6px;
    background: var(--cream-bg);
    border-radius: 10px;
  }

  .promise-item strong {
    margin-top: 0;
    font-size: 1.02rem;
  }

  .promise-item span {
    font-size: 0.88rem;
  }

  .brand-story-btns {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
  }

  .brand-story-btns .btn-primary-lg {
    width: 100%;
    justify-content: center;
    padding: 13px 10px !important;
    font-size: 0.96rem !important;
    border-radius: 12px;
  }

  /* (2) 장기요양인정신청 4단계 (모바일 한눈에 들어오는 가로형 스텝 카드) */
  .recog-apply-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .recog-apply-card {
    padding: 18px 16px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
    text-align: left;
  }

  .recog-step-num {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    margin-bottom: 0;
    z-index: 2;
  }

  .recog-icon-circle {
    grid-row: 1 / span 2;
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }

  .recog-icon-circle svg {
    width: 28px;
    height: 28px;
  }

  .recog-apply-card h3 {
    font-size: 1.08rem;
    line-height: 1.38;
    margin-bottom: 2px;
    word-break: keep-all;
  }

  .recog-apply-card p {
    font-size: 0.93rem;
    line-height: 1.52;
    margin: 0;
    word-break: keep-all;
  }

  /* (3) 자주 묻는 질문 (FAQ) & 하단 무료 대행 CTA 배너 */
  .faq-list-wrap {
    gap: 10px;
  }

  .faq-question-btn {
    padding: 15px 14px;
    gap: 10px;
    align-items: center;
  }

  .faq-q-left {
    gap: 10px;
    align-items: center;
    flex: 1;
    min-width: 0;
  }

  .faq-q-badge {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .faq-q-title {
    font-size: 1rem;
    line-height: 1.4;
    word-break: keep-all;
  }

  .faq-chevron {
    width: 30px;
    height: 30px;
  }

  .faq-answer-box {
    padding: 16px 15px 18px 15px;
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .faq-grade-badges {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    margin-top: 12px;
  }

  .faq-grade-chip {
    padding: 10px 8px;
    border-radius: 10px;
  }

  .faq-grade-chip strong {
    font-size: 0.94rem;
    margin-bottom: 2px;
  }

  .faq-grade-chip span {
    font-size: 0.85rem;
  }

  /* 하단 무료 신청 대행 배너 모바일 정렬 */
  .cta-agency-banner {
    padding: 26px 18px;
    border-radius: 20px;
    gap: 18px;
    margin-top: 36px;
    text-align: center;
  }

  .cta-text-group h3 {
    font-size: 1.32rem;
    line-height: 1.38;
    margin-bottom: 8px;
  }

  .cta-text-group p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .cta-contact-group {
    width: 100%;
    align-items: stretch;
  }

  .cta-phone-box {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
  }

  .cta-phone-box strong {
    font-size: 1.65rem;
  }

  .cta-contact-group .btn-primary-lg {
    width: 100%;
    justify-content: center;
    padding: 14px 18px !important;
    font-size: 1.02rem !important;
  }
}

@media (max-width: 380px) {
  .logo-title {
    font-size: 17px !important;
  }
}
