/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100vw; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ============ HEADER (참조 사이트 imweb 동일: 스크롤 시 상단 고정) ============ */
/* 참조 PC 헤더 설정 (header_center_colgroup):
   left 1125 / right 1125 / height 109 / background #fff / font Raleway,SUITE */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 0;
  width: 100%;
  font-family: 'Raleway', 'SUITE', 'Pretendard', -apple-system, sans-serif;
}

/* ⚠️ PC에서 모바일 전용 프로필 영역 숨김 (JavaScript가 .main-nav 안에 동적 삽입) */
.mobile-profile-area {
  display: none;
}

/* ⚠️ PC 모드 안전망 (≥ 992px): 모바일 전용 요소 강제 숨김 (캐시/상태 충돌 방지) */
@media (min-width: 992px) {
  .menu-toggle { display: none !important; }
  .mobile-profile-area { display: none !important; }
  .navbar-toggle.close.slide-close { display: none !important; }
  .nav-overlay { opacity: 0 !important; visibility: hidden !important; }
  .main-nav {
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
}
/* PC 헤더 (>= 992px) — 참조 imweb 데스크탑 inline-header 구조 */
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  height: 109px;  /* 참조 데스크탑 헤더 높이 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* 로고 영역 */
.logo-area {
  display: flex; align-items: center;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 220px;
  height: 78px;
  font-size: 28px;
  font-weight: 900;
  color: #ff1493;
  letter-spacing: 0;
  text-decoration: none;
  line-height: 1;
  font-family: 'Pretendard', -apple-system, sans-serif;
}

/* 메인 메뉴 */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-list > li.dropdown {
  position: relative;
  height: 109px;
  display: flex;
  align-items: center;
}
.nav-list > li.dropdown > .nav-link {
  display: block;
  padding: 0 25px;
  font-size: 17px;
  font-weight: 700;
  color: #212121;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 109px;
  white-space: nowrap;
  letter-spacing: 0;
}
/* PC: plain_name은 인라인 텍스트로, toggle-btn은 숨김 (toggle-btn은 모바일 전용) */
.nav-list > li.dropdown > .nav-link > .plain_name {
  display: inline;
  font: inherit;
  color: inherit;
}
.nav-list > li.dropdown > .nav-link > .toggle-btn,
.nav-list > li.dropdown > .nav-link > ._toggle_btn {
  display: none;
}
/* 참조 imweb PC 메뉴 hover: 부드럽게 흐려지는 회색 (rgba(33,33,33,0.5)) */
.nav-list > li.dropdown > .nav-link:hover {
  color: rgba(33, 33, 33, 0.5);
}
/* 참조 imweb PC active: 색상은 동일 검정, font-weight bold 만 (참조 .viewport-nav a.active CSS와 동일) */
.nav-list > li.dropdown.active > .nav-link {
  color: #212121;
  font-weight: 700;
}
.nav-list > li.dropdown.active > .nav-link:hover {
  color: rgba(33, 33, 33, 0.5);
}

/* 현재 페이지 (공지사항.current) — active와 동일 처리 */
.nav-list > li.dropdown.current > .nav-link {
  color: #212121;
  font-weight: 700;
}
.nav-list > li.dropdown.current > .nav-link:hover {
  color: rgba(33, 33, 33, 0.5);
}

/* 공지사항 호버 → 4개 서브메뉴 드롭다운 (PC) — 참조 dropdown-menu 매칭 */
/* 참조 CSS: font 13px / color #212121 / padding 10px 20px / bg #fff / box-shadow 0 6px 12px rgba(0,0,0,0.175) / border-radius 3px */
.nav-list > li.dropdown.has-sub > .dropdown-menu.sub-list {
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  transform: translateY(-8px);
  background: #fff;
  min-width: 200px;
  padding: 0;
  border-radius: 3px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 200;
}
.nav-list > li.dropdown.has-sub:hover > .dropdown-menu.sub-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* PC 드롭다운 항목 — 참조 padding 10px 20px / font 13px / color #212121 */
.dropdown-menu.sub-list > li > a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 400;
  color: #212121;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0;
  transition: color 0.15s;
}
.dropdown-menu.sub-list > li > a:hover {
  color: rgba(33, 33, 33, 0.5);
  background: transparent;
}

/* 햄버거 메뉴 토글 (모바일) — 참조 imweb inline_menu_btn 구조 (아이콘 + MENU 텍스트 세로) */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  gap: 0;
  transition: border 0.2s;
}
.menu-toggle span:not(.label) {
  display: block;
  width: 22px;
  height: 2px;
  background: #212121;
  border-radius: 1px;
  margin-bottom: 5px;
  transition: transform 0.3s, opacity 0.2s, background 0.2s;
}
.menu-toggle span:not(.label):nth-of-type(3) {
  margin-bottom: 7px;
}
.menu-toggle .label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #212121;
  line-height: 1;
  transition: opacity 0.2s;
}
/* 참조 imweb: 드로어 열려도 햄버거는 그대로 유지 (X 변환 없음) */
/* 닫기는 별도 X 버튼(.slide-close)이 담당 */

/* ============ 별도 X 닫기 버튼 (참조 10:38:22 스크린샷: 드로어 우측 외부, 큰 X) ============ */
.navbar-toggle.close.slide-close {
  display: none;
  position: fixed;
  top: 18px;
  left: 296px;                     /* 드로어(280px) + 16px 여백 */
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 140;                    /* 드로어보다 위 */
  padding: 0;
  align-items: center;
  justify-content: center;
}
.navbar-toggle.close.slide-close.active {
  display: flex;
}
/* X 아이콘 (참조 스크린샷: 회색 굵은 X) */
.navbar-toggle.close.slide-close .slide-close-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
}
.navbar-toggle.close.slide-close .slide-close-icon::before,
.navbar-toggle.close.slide-close .slide-close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #888;                /* 참조 스크린샷의 회색 X */
  border-radius: 1px;
}
.navbar-toggle.close.slide-close .slide-close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}
.navbar-toggle.close.slide-close .slide-close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* 좁은 화면 (드로어가 화면 80%를 넘는 경우) */
@media (max-width: 380px) {
  .navbar-toggle.close.slide-close {
    left: auto;
    right: 8px;
  }
  .navbar-toggle.close.slide-close .slide-close-icon::before,
  .navbar-toggle.close.slide-close .slide-close-icon::after {
    background: #fff;              /* 어두운 백드롭 위라 흰색 */
  }
}

/* 모바일 메뉴 열렸을 때 dim overlay (헤더 영역 제외) */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 90;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* 모바일 sub-list 화살표 */
.nav-list > li.dropdown.has-sub > .nav-link {
  position: relative;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #e8f0fe 0%, #f4f7fb 100%);
  padding: 90px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: rgba(26, 115, 232, 0.08);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 250px; height: 250px;
  background: rgba(26, 115, 232, 0.06);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-sub {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 48px; font-weight: 800;
  line-height: 1.25;
  color: #111;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: 18px; color: #555;
  margin-bottom: 36px;
}
.cta-button {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1a73e8;
  color: #fff;
  padding: 18px 36px;
  font-size: 22px; font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.35);
  transition: all 0.25s;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 115, 232, 0.45);
}
.cta-icon { font-size: 24px; }
.hero-badges {
  display: flex; justify-content: center;
  gap: 12px; margin-top: 32px;
  flex-wrap: wrap;
}
.badge {
  background: #fff;
  color: #333;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ============ SECTION COMMON ============ */
.section { padding: 90px 20px; }
.section-light { background: #fff; }
.section-gray { background: #f7f9fc; }
.section-blue { background: linear-gradient(135deg, #1a73e8 0%, #4c8df6 100%); }

.section-tag {
  text-align: center;
  font-size: 13px; font-weight: 700;
  color: #1a73e8;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-tag.white { color: rgba(255,255,255,0.85); }
.section-title {
  text-align: center;
  font-size: 36px; font-weight: 800;
  color: #111;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.section-title.white { color: #fff; }
.section-desc {
  text-align: center;
  font-size: 17px; color: #666;
  margin-bottom: 56px;
}
.section-desc.white { color: rgba(255,255,255,0.9); }

/* ============ CARD GRIDS ============ */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-6 { grid-template-columns: repeat(6, 1fr); }

/* INFO CARD */
.info-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s;
  display: block;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  border-color: #1a73e8;
}
.info-card-img {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: #e8f0fe;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 18px;
}
.info-card h3 {
  font-size: 18px; font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.info-card p {
  font-size: 14px; color: #666;
  line-height: 1.65;
  margin-bottom: 16px;
}
.more-link {
  font-size: 14px; font-weight: 600;
  color: #1a73e8;
}

/* FEATURE BOX */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-box {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.25s;
}
.feature-box:hover { transform: translateY(-6px); }
.feature-icon {
  font-size: 48px;
  margin-bottom: 18px;
}
.feature-box h3 {
  font-size: 18px; font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.feature-box p {
  font-size: 14px; color: #666;
}

/* PROMISE LIST */
.promise-list {
  display: grid; gap: 16px;
  max-width: 900px; margin: 0 auto;
}
.promise-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: 28px 32px;
  transition: all 0.25s;
}
.promise-item:hover {
  border-color: #1a73e8;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.08);
}
.promise-num {
  font-size: 36px; font-weight: 800;
  color: #1a73e8;
  letter-spacing: -1px;
}
.promise-content h3 {
  font-size: 19px; font-weight: 700;
  margin-bottom: 6px;
}
.promise-content p {
  font-size: 14px; color: #666;
}
.promise-icon {
  font-size: 40px;
}

/* STEP GRID */
.step-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  max-width: 1100px; margin: 0 auto;
}
.step-card {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  position: relative;
}
.step-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: #1a73e8;
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px;
}
.step-icon {
  font-size: 56px;
  margin: 18px 0 16px;
}
.step-card h3 {
  font-size: 19px; font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px; color: #666;
}
.step-arrow {
  font-size: 36px;
  color: #fff;
  opacity: 0.8;
}

/* PRODUCT CARD */
.product-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #1a73e8;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}
.product-img {
  width: 80px; height: 80px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: #f4f7fb;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.product-card h4 {
  font-size: 14px; font-weight: 600;
  color: #333;
}

/* REVIEW CARD */
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.25s;
}
.review-card:hover { transform: translateY(-4px); }
.review-stars {
  color: #ffb800;
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 15px; color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 80px;
}
.review-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.review-author strong {
  display: block;
  font-size: 14px; font-weight: 700;
  color: #222;
}
.review-author span {
  font-size: 13px; color: #888;
}

/* CHECKPOINT */
.checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.checkpoint-item {
  background: #fff;
  border: 2px solid #e8f0fe;
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.25s;
}
.checkpoint-item:hover {
  border-color: #1a73e8;
  background: #f8fbff;
}
.checkpoint-num {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  text-align: center;
  line-height: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}
.checkpoint-item h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.checkpoint-item p {
  font-size: 14px; color: #666;
}

/* FAQ */
.faq-list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px;
  font-size: 16px; font-weight: 600;
  color: #222;
  text-align: left;
  transition: background 0.2s;
}
.faq-q:hover { background: #f7f9fc; }
.faq-toggle {
  font-size: 22px; color: #1a73e8;
  font-weight: 300;
  transition: transform 0.25s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 28px 22px;
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

/* NEWS LIST */
.news-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 2px solid #222;
}
.news-list li {
  border-bottom: 1px solid #eee;
  transition: background 0.15s;
}
.news-list li:hover { background: #f7f9fc; }
.news-list a {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 12px;
  font-size: 15px;
}
.news-cat {
  color: #1a73e8;
  font-weight: 700;
  font-size: 14px;
}
.news-title {
  color: #333;
  font-weight: 500;
}
.news-date {
  color: #999;
  font-size: 13px;
}
.news-more {
  text-align: center;
  margin-top: 40px;
}
.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid #1a73e8;
  border-radius: 999px;
  color: #1a73e8;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: #1a73e8;
  color: #fff;
}

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  background: #1a73e8;
  color: #fff;
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.4);
  font-size: 11px; font-weight: 600;
  text-align: center;
  line-height: 1.2;
  animation: pulse 2s infinite;
}
.float-icon { font-size: 20px; margin-bottom: 2px; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* FOOTER */
.site-footer {
  background: #1d2330;
  color: #b5bdc9;
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a3142;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px; font-weight: 700;
  margin-bottom: 18px;
}
.footer-col p {
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.7;
}
.footer-phone {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 800;
  margin-bottom: 10px !important;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.sns-icons {
  display: flex; gap: 12px;
}
.sns-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #2a3142;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
}
.sns-icons a:hover { background: #1a73e8; }
.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #6c7689;
}

/* ============ RESPONSIVE (참조 imweb: 991/767 기준 - PC 헤더는 991까지 109px 그대로 유지) ============ */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .checkpoint-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .step-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }

  /* 태블릿: 헤더 높이는 그대로 유지 (109px), nav 좌우 패딩만 살짝 축소 */
  .header-inner { padding: 0 22px; }
  .nav-list > li.dropdown > .nav-link {
    padding: 0 18px;
  }
}

/* ---- ≤ 991px : 모바일 헤더 — 참조 imweb inline-inside 3컬럼 구조 1:1 매칭 ---- */
@media (max-width: 991px) {
  /* 참조 imweb header_center_colgroup 정확한 설정:
     left_width: 77 / center_width: auto / right_width: 77
     height: 80 / border_width: 1 / border_color: #e7e7e7 / bg: #ffffff
     좌측 inline-col-group-left  : 77px (MOBILE_SLIDE_MENU 햄버거)
     중앙 inline-col-group-center: 자동 폭, 로고 가운데 정렬
     우측 inline-col-group-right : 77px (login_btn 예약 공간) */
  /* 모바일 헤더는 회색 보더 (참조 mobile inline-section border #e7e7e7) */
  .site-header {
    border-bottom: 1px solid #e7e7e7;   /* PC의 핑크 라인을 덮어쓰기 */
  }
  .header-inner {
    height: 80px;                    /* 참조 정확한 모바일 헤더 높이 */
    padding: 0;
    display: grid;
    grid-template-columns: 77px 1fr 77px;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #e7e7e7;
    max-width: 100%;
    background: #ffffff;
  }
  /* 좌측 (LEFT — inline-col-group-left, 77px) — 햄버거 메뉴 */
  .menu-toggle {
    position: static;
    transform: none;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    margin: 0;
    display: flex;
  }
  /* 중앙 (CENTER — inline-col-group-center) — 로고 */
  .logo-area {
    grid-column: 2;
    justify-self: center;
    align-self: center;
    flex: 0 0 auto;
    margin: 0;
    text-align: center;
  }
  .brand-logo {
    width: 158px;
    height: 54px;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #ff1493;
    text-align: center;
    letter-spacing: 0;
    line-height: 1;
  }
  /* 우측 (RIGHT — inline-col-group-right, 77px) — login_btn 예약 영역 */
  .header-inner::after {
    content: '';
    grid-column: 3;
    justify-self: center;
    align-self: center;
    width: 44px;
    height: 44px;
    /* 참조 사이트의 login_btn 영역과 동일한 빈 공간 */
  }

  /* 모바일: 좌측 슬라이드 드로어 (참조 10:38:22 스크린샷 1:1 매칭) */
  /* 참조: 드로어가 헤더 위까지 덮음 (top:0, full height) */
  .main-nav {
    position: fixed;
    top: 0;                          /* 헤더 위까지 덮음 */
    left: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: #fff;
    padding: 0 0 24px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 2px 0 12px rgba(0,0,0,0.1);
    z-index: 130;                    /* 헤더(120)보다 위 */
    grid-column: 1 / -1;
    grid-row: 1;
    /* ⚠️ PC의 flex 레이아웃 해제 — profile-area와 ul이 세로로 쌓이도록 */
    display: none;
    flex: none;
    justify-content: initial;
  }
  .main-nav.open {
    display: block;
    transform: translateX(0);
  }
  /* ul도 가로 폭 100%로 명시 */
  .main-nav > .nav-list {
    width: 100%;
    display: block;
  }

  /* 드로어 최상단 — 프로필 영역 (참조 10:38:22: 검정 배경 + 흰 텍스트 + "로그인" 텍스트 링크) */
  .mobile-profile-area {
    display: block;
    width: 100%;                     /* 드로어 전체 폭 차지 */
    box-sizing: border-box;
    background: #2b2b2b;
    padding: 22px 20px;
    margin: 0;
  }
  .mobile-profile-area .profile-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .mobile-profile-area .profile-msg {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
  }
  /* 로그인 버튼 — 박스 없이 단순 흰색 텍스트 (참조 스크린샷 동일) */
  .mobile-profile-area .profile-login-btn {
    flex-shrink: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  .mobile-profile-area .profile-login-btn:hover {
    opacity: 0.8;
  }

  /* nav-overlay는 fixed라 grid 영향 없음 */
  .nav-overlay {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  /* 헤더는 항상 위에 떠 있어야 함 */
  .site-header { z-index: 120; }

  /* ====== 모바일 메뉴 리스트 — 참조 .viewport-nav.mobile .depth-01 1:1 매칭 ====== */
  /* 참조 CSS:
     - li.depth-01: border-top: 1px solid #f3f3f3 (마지막은 border-bottom도)
     - li.depth-01 > a: font-size: 14px, color: rgba(33,33,33,0.89)
     - li li a (depth-02): font-size: 13px, color: rgba(33,33,33,0.89)
     - a.active-real: background: #f5f5f5, color: #111 */
  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
    margin: 0;
  }
  /* depth-01 — 메인 메뉴 항목 */
  .nav-list > li.dropdown {
    height: auto;
    width: 100%;
    border-top: 1px solid #f3f3f3;
    display: block;
  }
  .nav-list > li.dropdown:last-child {
    border-bottom: 1px solid #f3f3f3;
  }
  .nav-list > li.dropdown > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.4;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(33, 33, 33, 0.89);
    letter-spacing: 0;
    position: relative;
    transition: background 0.15s;
  }
  /* ⚠️ 모바일에서 hover 시 핑크 색상 + 이상한 효과 차단 (PC base의 hover 무력화) */
  .nav-list > li.dropdown > .nav-link:hover,
  .nav-list > li.dropdown.active > .nav-link:hover,
  .nav-list > li.dropdown > .nav-link.active-real:hover {
    color: rgba(33, 33, 33, 0.89);   /* PC :hover의 #ff1493 차단 */
    background: #fafafa;
  }
  /* 현재 페이지 활성 메뉴 (참조 .active.active-real) — 회색 배경 + 검은 글자 */
  .nav-list > li.dropdown.active > .nav-link,
  .nav-list > li.dropdown > .nav-link.active-real {
    background: #f5f5f5;
    color: #111;
    font-weight: 600;
  }
  /* active 메뉴 hover 시에도 회색 배경 유지 */
  .nav-list > li.dropdown.active > .nav-link:hover,
  .nav-list > li.dropdown > .nav-link.active-real:hover {
    background: #f5f5f5;
    color: #111;
  }

  /* 공지사항 has-sub: 아코디언 접힘/펼침 (참조 .has_child) */
  .nav-list > li.dropdown.has-sub > .dropdown-menu.sub-list {
    position: static !important;     /* PC absolute 강제 차단 */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;      /* PC hover의 translateX/Y 차단 */
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
    list-style: none;
    left: auto;                      /* PC absolute 좌표 무력화 */
    top: auto;
  }
  /* ⚠️ PC의 :hover 시 sub-list 자동 펼침 효과 차단 (모바일은 .expanded 클래스로만) */
  .nav-list > li.dropdown.has-sub:hover > .dropdown-menu.sub-list {
    max-height: 0;                   /* hover로는 안 열림 */
    transform: none !important;
  }
  .nav-list > li.dropdown.has-sub.expanded > .dropdown-menu.sub-list,
  .nav-list > li.dropdown.has-sub.expanded:hover > .dropdown-menu.sub-list {
    max-height: 500px;               /* .expanded 일 때만 열림 */
    margin-bottom: 14px;
  }
  /* + (toggle-btn) 아이콘 (참조 .toggle-btn 위치) */
  .nav-list > li.dropdown.has-sub > .nav-link::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid rgba(33, 33, 33, 0.6);
    border-bottom: 1.5px solid rgba(33, 33, 33, 0.6);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease;
  }
  .nav-list > li.dropdown.has-sub.expanded > .nav-link::after {
    transform: translateY(-30%) rotate(-135deg);
    border-color: #111;
  }

  /* 모바일 sub-list (depth-02) — 참조 .viewport-nav.mobile li li a (font 13px) */
  .dropdown-menu.sub-list {
    padding-left: 0;
  }
  .dropdown-menu.sub-list > li {
    border-top: 0;
  }
  .dropdown-menu.sub-list > li > a {
    display: block;
    padding: 9px 20px 9px 36px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(33, 33, 33, 0.89);
    transition: color 0.15s, background 0.15s;
  }
  .dropdown-menu.sub-list > li > a:hover {
    background: #fafafa;
  }
  .dropdown-menu.sub-list > li.active > a {
    color: #111;
    font-weight: 600;
  }

  .menu-toggle { display: flex; }

  .hero { padding: 60px 20px 70px; }
  .hero-title { font-size: 28px; }
  .hero-desc { font-size: 15px; }
  .cta-button { font-size: 18px; padding: 14px 26px; }

  .section { padding: 60px 20px; }
  .section-title { font-size: 26px; }
  .section-desc { font-size: 15px; margin-bottom: 36px; }

  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .checkpoint-grid { grid-template-columns: 1fr; }

  .promise-item {
    grid-template-columns: 60px 1fr;
    padding: 20px;
  }
  .promise-icon { display: none; }
  .promise-num { font-size: 28px; }

  .news-list a {
    grid-template-columns: 60px 1fr;
    font-size: 14px;
  }
  .news-date { grid-column: 2; font-size: 12px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  .floating-cta { width: 60px; height: 60px; right: 16px; bottom: 16px; }
}
