/* ============================================================
   여기서 — 화이트 베이스 / 블루 포인트 테마
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;800;900&display=swap');

/* ── CSS 변수 ── */
:root {
  --ribbon-h:    0px;              /* 띠배너 높이: JS로 토글 (0px ↔ 40px) */
  --header-h:    68px;             /* 헤더 높이 고정 */
  --offset-top:  calc(var(--ribbon-h) + var(--header-h)); /* 전체 상단 오프셋 */
  --blue:        #1455c0;
  --blue-hover:  #1045a0;
  --blue-light:  #e8f0fe;
  --blue-mid:    #3b7de8;
  --blue-pale:   #f0f5ff;
  --accent:      #fbbf24;
  --accent-red:  #ef4444;
  --white:       #ffffff;
  --bg:          #f8fafc;
  --black:       #111827;
  --grey-1:      #374151;
  --grey-2:      #6b7280;
  --grey-3:      #d1d5db;
  --grey-4:      #f3f4f6;
  --border:      #e5e7eb;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 40px rgba(20,85,192,0.12);
  --radius-xl:   20px;
  --radius-lg:   14px;
  --radius-md:   10px;
  --radius-sm:   8px;
  --transition:  0.25s ease;
}

/* 띠배너 표시 중: body.has-ribbon 클래스로 오프셋 오버라이드 */
body.has-ribbon {
  --ribbon-h:   40px;
  --offset-top: calc(40px + 68px); /* = 108px */
}
body.has-ribbon .hero {
  padding-top: 108px;
}
body.has-ribbon #services,
body.has-ribbon #benefits,
body.has-ribbon #reviews,
body.has-ribbon #apply {
  scroll-margin-top: 108px;
}

/* fetch 전 깜빡임 방지: html에 ribbon-preload 클래스 붙은 동안 108px로 선점 */
html.ribbon-preload body .hero {
  padding-top: 108px;
}

/* ── 리셋 & 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px; /* 기본값 — JS가 띠배너 유무에 따라 108px로 갱신 */
}

/* 앵커 섹션 — 기본(헤더만): scroll-margin-top */
#services, #benefits, #reviews, #apply {
  scroll-margin-top: 68px; /* JS가 동적으로 갱신 */
}
body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  word-wrap: break-word;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* 스크롤바 */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--grey-4); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

/* no-scroll */
.no-scroll { overflow: hidden !important; height: 100%; }

/* ============================================================
   RIBBON BANNER (띠배너)
   ============================================================ */
.ribbon-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ribbon-banner--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.ribbon-banner__text {
  flex: 1;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: inherit;
  letter-spacing: 0.01em;
  padding: 0 48px 0 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  text-decoration: none;
  line-height: 40px;
  transition: opacity 0.15s;
}
.ribbon-banner__text:hover { opacity: 0.85; }
.ribbon-banner__text--nolink { cursor: default; pointer-events: none; }
.ribbon-banner__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  color: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.18s;
  flex-shrink: 0;
}
.ribbon-banner__close:hover { background: rgba(255,255,255,0.35); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; align-items: center; }
.logo-img-wrap { display: block; line-height: 0; }
.header-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.header-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #000000;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.header-nav a:hover { background: var(--blue-pale); color: var(--blue); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--blue-hover) !important;
  transform: translateY(-1px) !important;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 7px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ============================================================
   HERO — 흰 배경 + 블루 포인트
   ============================================================ */
.hero {
  position: relative;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: var(--offset-top);
  padding-bottom: 0;
  transition: padding-top 0.3s ease;
}

/* 배경 장식 — 옅은 블루 블롭 */
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(20,85,192,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,125,232,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* 파티클 캔버스 — 흰 배경 위에서는 숨김 */
.hero-particles { display: none; }

/* studio-light 제거 */
.studio-light { display: none; }

.hero-center {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

/* 브랜드 영역 */
.hero-brand {
  width: 100%;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--border);
}
.hero-mujoggeon {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-2);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-yeogiseo { margin: 0; line-height: 1; }
.hero-yeogiseo em {
  display: inline-block;
  font-style: normal;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--blue);
  -webkit-font-smoothing: antialiased;
}

/* 서비스 태그 바 */
.hero-tag-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
}
.hero-tag-bar span, .hero-tag-bar a {
  flex: 1;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey-2);
  padding: 10px 8px;
  border-right: 1px solid var(--border);
  letter-spacing: 0.5px;
  transition: background var(--transition), color var(--transition);
}
.hero-tag-bar a:hover { background: var(--blue-pale); color: var(--blue); }
.hero-tag-bar span:last-child, .hero-tag-bar a:last-child { border-right: none; }
.tag-divider { display: none; }

/* 전국 최대 지원 뱃지 */
.hero-crown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 16px;
}

/* ── 최상단 히어로 타이틀 ── */
.hero-top-headline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 24px 8px;
  margin-bottom: 8px;
}

/* 좌우 장식선 */
.htl-deco {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(20,85,192,0.18));
  border-radius: 2px;
}
.htl-deco--left  { left: 0;  transform: translateY(-50%) scaleX(-1); }
.htl-deco--right { right: 0; transform: translateY(-50%); }

/* 메인 텍스트 줄 */
.htl-text {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  line-height: 1;
}

/* 각 글자 */
.htl-char {
  display: inline-block;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  color: #1a1a2e;
  letter-spacing: -0.01em;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.8),
    0 2px 8px rgba(0,0,0,0.08);
  animation: htlPop 0.55s cubic-bezier(0.34,1.56,0.64,1) both;
  animation-delay: calc(var(--i) * 0.08s + 0.1s);
}
.htl-char--blue {
  color: #1455c0;
  text-shadow: none;
}

/* 중간점 구분자 */
.htl-dot {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: rgba(26,26,46,0.25);
  margin: 0 1px;
  align-self: center;
  line-height: 1;
}
.htl-dot--blue { color: rgba(20,85,192,0.3); }
.htl-space { display: inline-block; width: clamp(10px, 2vw, 20px); }

/* 서브 텍스트 */
.htl-sub {
  margin: 0;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  font-weight: 500;
  color: rgba(20,85,192,0.55);
  letter-spacing: 0.06em;
}
.htl-sub em {
  font-style: normal;
  color: #1455c0;
  font-weight: 700;
}

/* 글자 등장 애니메이션 */
@keyframes htlPop {
  from { opacity: 0; transform: translateY(14px) scale(0.82); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* 헤드라인 */
.hero-headline {
  width: 100%;
  border: none;
  padding: 0 0 10px;
  margin-bottom: 8px;
}
.headline-line1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.headline-line2 { margin: 0; }
.headline-line2 em {
  display: inline-block;
  font-style: normal;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--blue);
  -webkit-font-smoothing: antialiased;
}

/* 서브 카피 */
/* 서브카피 + 보장문구 통합 카드 */
/* ── 히어로 통합 카드 ── */
.hero-combined-card {
  width: 100%;
  max-width: 600px;
  background: #1455c0;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 12px;
  padding: 16px 14px 14px;
  box-shadow: 0 8px 32px rgba(20,85,192,0.25);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* 상단 타이틀 영역 */
.hero-combined-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 4px;
}
.hero-combined-medal {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.hero-combined-medal img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-combined-headline {
  font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.hero-combined-headline .txt-amount {
  color: #f9d965;
  font-style: normal;
  text-shadow:
    0 2px 8px #073e9b,
    0 4px 16px rgba(7,62,155,0.7),
    0 0 24px rgba(7,62,155,0.5),
    2px 2px 0px #073e9b;
}
.hero-combined-headline .txt-loss {
  color: #fff;
  font-style: normal;
}

/* 강조 슬로건 행 */
.hero-combined-slogan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.hero-slogan-item {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  text-align: center;
  letter-spacing: -0.01em;
}

/* 책임보상 행 */
.hero-combined-promise {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 8px;
  margin: 0;
  padding: 12px 16px;
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}
.hero-combined-promise strong {
  color: #fff;
  font-weight: 900;
}

/* 하단 보장 바 */
.hero-combined-guarantee {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: #fff;
  margin: 0;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  font-weight: 700;
  color: #1455c0;
}
.hero-combined-guarantee .ai-badge {
  flex-shrink: 0;
  background: #1455c0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  border-radius: 7px;
  padding: 4px 8px;
  letter-spacing: 0.05em;
  border: 2px dashed #f9d965;
}

/* ── 통합 카드 모바일 ── */
@media (max-width: 480px) {
  .hero-combined-card {
    max-width: 100%;
    padding: 12px 10px 10px;
    gap: 7px;
    border-radius: 13px;
  }
  .hero-combined-medal {
    width: 46px;
    height: 46px;
  }
  .hero-combined-medal img {
    width: 62px;
    height: 62px;
  }
  .hero-combined-headline {
    font-size: clamp(1.15rem, 5.5vw, 1.4rem);
  }
  .hero-slogan-item {
    font-size: clamp(1.05rem, 4.8vw, 1.25rem);
    padding: 9px 12px;
  }
  .hero-combined-promise {
    font-size: clamp(0.82rem, 3.5vw, 0.95rem);
    padding: 9px 12px;
  }
  .hero-combined-guarantee {
    font-size: clamp(0.78rem, 3.2vw, 0.9rem);
    padding: 9px 12px;
  }
}

.hero-copy-card {
  width: 100%;
  max-width: 480px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 12px;
}

/* 상단: 파란 배경 서브 카피 */
.hero-copy {
  display: block;
  background: var(--blue);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.01em;
}

/* 하단: 흰 배경 보장 문구 */
.hero-guarantee-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border-top: 2px solid var(--blue);
  border-radius: 0;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0;
}
.hero-guarantee-bar i { color: var(--blue); font-size: 1rem; }
.hero-guarantee-bar strong { color: var(--blue); font-weight: 800; }

/* CTA 버튼 그룹 */
.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

/* 통계 바 */
.hero-stats {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 24px;
  width: 100%;
  max-width: 600px;
}
.hero-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.stat-plus, .stat-pct { font-size: 0.8rem; color: var(--blue); font-weight: 700; }
.stat-star { font-size: 0.8rem; color: var(--accent); font-weight: 700; }
.stat-label {
  font-size: 0.68rem;
  color: var(--grey-2);
  white-space: nowrap;
}
.hero-stat-divider {
  width: 1px; height: 26px;
  background: var(--border);
  flex-shrink: 0;
}

/* 스크롤 힌트 */


/* 레거시 클래스 숨김 */
.hero-3d-group, .hero-badge,
.title-brand-top, .title-brand-name,
.title-service-tag, .title-main-line,
.title-sub-line, .hero-icon-card { display: none; }

/* ============================================================
   공통 버튼
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(20,85,192,0.3);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,85,192,0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--grey-1);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* ============================================================
   공통 섹션 레이블 · 타이틀
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-label.light {
  color: var(--blue);
  background: var(--blue-pale);
}
.section-title {
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.section-title.light { color: var(--black); }
.section-title strong { color: var(--blue); }
.section-desc {
  font-size: 1rem;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 52px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 36px 24px 0;
  text-align: center;
  background: var(--white);
  position: relative;
}
/* 상단 포인트 라인 — 블루 단색으로 */
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 히어로 안 서비스 그리드 — 아래 카피카드와 간격 */
.hero-center .services-grid {
  margin-bottom: 36px;
}

/* 모바일에서 히어로 서비스 카드 숨김 */
@media (max-width: 768px) {
  .hero-center .services-grid {
    display: none;
  }
}

.service-card { cursor: pointer; }

.card-3d-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 28px 32px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* 상단 포인트 라인 */
.card-3d-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover .card-3d-wrap::before { opacity: 1; }
.service-card:hover .card-3d-wrap {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20,85,192,0.2);
}

.service-icon-wrap {
  display: inline-block;
  margin-bottom: 18px;
}
.service-icon-3d {
  font-size: 3.5rem;
  display: block;
  transition: transform var(--transition);
}
.service-card:hover .service-icon-3d { transform: translateY(-4px) scale(1.1); }
.icon-shadow {
  width: 48px; height: 10px;
  background: rgba(20,85,192,0.1);
  border-radius: 50%;
  margin: 4px auto 0;
  filter: blur(3px);
  transition: transform var(--transition);
}
.service-card:hover .icon-shadow { transform: scaleX(1.2); }

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--grey-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.card-badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(20,85,192,0.15);
}
.service-card:hover .card-badge {
  background: var(--blue);
  color: var(--white);
  border-color: transparent;
}
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
}
.service-card:hover .card-more { opacity: 1; transform: translateY(0); }
.service-card:hover .card-more i { transform: translateX(3px); }
.card-more i { transition: transform var(--transition); }

/* ============================================================
   PROBLEM — 다크 배경 → 연한 블루-그레이 배경
   ============================================================ */
.problem {
  position: relative;
  background: var(--bg);
  padding: 36px 24px;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.light-problem { display: none; }

.problem-inner { max-width: 1050px; margin: 0 auto; }

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.prob-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 26px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  text-align: left;
}
.prob-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(20,85,192,0.2);
}
.prob-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.prob-card h4 {
  font-size: 1.1rem;
  color: var(--black);
  font-weight: 700;
  margin-bottom: 10px;
}
.prob-card p {
  font-size: 0.88rem;
  color: #000000;
  line-height: 1.75;
}

/* ============================================================
   SOLUTION
   ============================================================ */
.solution {
  position: relative;
  padding: 40px 24px;
  background: var(--white);
  overflow: hidden;
}
.light-sol-1, .light-sol-2 { display: none; }

.solution-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 36px;
}
.sol-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.sol-list li:hover {
  border-color: rgba(20,85,192,0.25);
  box-shadow: var(--shadow-md);
}
.sol-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.25;
  min-width: 40px;
  line-height: 1;
  padding-top: 2px;
}
.sol-text strong {
  display: block;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 3px;
  font-weight: 700;
}
.sol-text span {
  font-size: 0.875rem;
  color: var(--grey-2);
  line-height: 1.65;
}

/* VIP 카드 — 블루 유지 (포인트 요소) */
.vip-card {
  position: relative;
  background: linear-gradient(145deg, #0d2b6e, var(--blue));
  border-radius: 20px;
  padding: 36px 32px;
  color: var(--white);
  box-shadow: 0 16px 48px rgba(20,85,192,0.28);
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto 24px;
}
.vip-shine {
  position: absolute;
  top: -60%; left: -40%;
  width: 120%; height: 120%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.vip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.vip-logo { font-size: 1.5rem; font-weight: 900; }
.vip-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: rgba(255,255,255,0.12);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
}
.vip-mid {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.vip-crown { font-size: 1.8rem; color: var(--accent); }
.vip-name { font-size: 1.4rem; font-weight: 700; }
.vip-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  opacity: 0.65;
  letter-spacing: 0.5px;
}

.sol-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sol-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-1);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.sol-badge i { color: var(--blue); }
.sol-badge:hover {
  border-color: rgba(20,85,192,0.3);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands {
  background: var(--bg);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.brands-label {
  text-align: center;
  font-size: 0.72rem;
  color: var(--grey-2);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
}
.brands-track { overflow: hidden; }
.brands-slide {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.brand-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--grey-2);
  border-right: 1px solid var(--border);
  transition: color var(--transition);
}
.brand-item:hover { color: var(--blue); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: 40px 24px;
  background: var(--white);
  text-align: center;
}
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rating-score {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.rating-stars { font-size: 1.6rem; color: var(--accent); display: flex; gap: 3px; }
.rating-count { font-size: 0.875rem; color: var(--grey-2); font-weight: 600; }

/* ── 캐러셀 래퍼 ── */
.reviews-carousel {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 56px;   /* 화살표 자리 */
}

/* 뷰포트: 넘치는 카드를 숨김 */
.rc-viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

/* 슬라이드 트랙 */
.rc-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.rc-track.is-dragging {
  cursor: grabbing;
  transition: none;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
  /* 캐러셀 카드: 고정 너비 */
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  box-sizing: border-box;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ── 캐러셀 화살표 ── */
.rc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--blue);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), transform 0.2s;
  z-index: 2;
}
.rc-arrow:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.rc-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.rc-prev { left: 0; }
.rc-next { right: 0; }

/* ── 인디케이터 점 ── */
.rc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.rc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.rc-dot.active {
  background: var(--blue);
  transform: scale(1.35);
}
.review-stars { color: var(--accent); font-size: 0.95rem; margin-bottom: 14px; display: flex; gap: 3px; }
.review-card p {
  font-size: 0.88rem;
  color: var(--grey-2);
  line-height: 1.75;
  margin-bottom: 18px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-1);
}
.author-initial {
  width: 34px; height: 34px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ============================================================
   APPLY — 다크 배경 → 화이트 + 블루 포인트
   ============================================================ */
.apply {
  position: relative;
  background: var(--bg);
  padding: 40px 24px;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.light-apply-1, .light-apply-2 { display: none; }

.apply-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.apply-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.apply-title strong { color: var(--blue); }

.apply-desc {
  font-size: 0.95rem;
  color: var(--grey-2);
  line-height: 1.8;
  margin-bottom: 32px;
}

.apply-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 28px;
}
.apply-phone i {
  font-size: 1.6rem;
  color: var(--blue);
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-label { font-size: 0.78rem; color: var(--grey-2); display: block; }
.phone-number { font-size: 1.6rem; font-weight: 800; color: var(--black); letter-spacing: 0.5px; }
.phone-number:hover { color: var(--blue); }

.apply-checks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.apply-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--grey-1);
  font-weight: 500;
}
.apply-checks i { color: var(--blue); }

/* 신청서 카드 */
.apply-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
}
.form-header {
  text-align: center;
  margin-bottom: 32px;
}
.form-header i { font-size: 2.2rem; color: var(--blue); margin-bottom: 10px; display: block; }
.form-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}
.form-header p { font-size: 0.85rem; color: var(--grey-2); }

.apply-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { position: relative; }
.form-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-1);
  margin-bottom: 7px;
}
.form-group label i { color: var(--blue); width: 14px; }
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,85,192,0.1);
}
.form-group input.error { border-color: var(--accent-red); }
.form-error {
  display: none;
  font-size: 0.75rem;
  color: var(--accent-red);
  margin-top: 4px;
  font-weight: 600;
}
.form-error.show { display: block; }

/* 품목 체크박스 */
.item-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.pill-label { cursor: pointer; }
.pill-label input { display: none; }
.pill-label span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-2);
  background: var(--white);
  transition: all var(--transition);
}
.pill-label input:checked + span {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 3px 10px rgba(20,85,192,0.25);
}
.pill-label span:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.pill-icon { font-size: 1rem; }

/* 제출 버튼 */
.btn-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(20,85,192,0.3);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}
.btn-submit::before {
  content: '';
  position: absolute;
  top: -2px; left: -100%;
  width: 60%; height: 120%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s;
}
.btn-submit:hover::before { left: 140%; }
.btn-submit:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,85,192,0.4);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalPop {
  from { transform: scale(0.75); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.modal-icon { font-size: 3.5rem; margin-bottom: 18px; display: block; }
.modal-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}
.modal-box p { color: var(--grey-2); font-size: 0.95rem; line-height: 1.7; margin-bottom: 26px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111827;
  padding: 60px 24px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}
.footer-logo p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  line-height: 1.7;
}
.footer-info { display: flex; flex-direction: column; gap: 10px; }
.footer-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.footer-info i { color: var(--blue-mid); width: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  padding: 18px 24px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
  position: fixed;
  right: 24px; bottom: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); }
.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 52px; height: 52px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  font-size: 1.1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.phone-btn { background: var(--blue); color: var(--white); }
.kakao-btn {
  background: #FEE500;
  color: #3A1D1D;
  flex-direction: column;
  height: auto;
  padding: 10px 8px;
  width: 52px;
  font-size: 0.9rem;
  border-radius: 26px;
}
.kakao-btn .kakao-icon {
  width: 22px; height: 22px;
  fill: #3A1D1D;
}
.kakao-btn span { font-size: 0.65rem; font-weight: 700; color: #3A1D1D; margin-top: 2px; }
.apply-btn {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--border);
  flex-direction: column;
  height: auto;
  padding: 10px 8px;
  width: 52px;
  font-size: 0.9rem;
  border-radius: 26px;
}
.apply-btn span { font-size: 0.65rem; font-weight: 700; color: var(--blue); margin-top: 2px; }
.float-btn:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.float-anim { animation: floatAnim 5s ease-in-out infinite; }
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* pulse — 흰 배경에서는 미묘하게 */
.pulse-anim { animation: pulseGlow 2.6s ease-in-out infinite; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(20,85,192,0.3); }
  50%       { box-shadow: 0 4px 28px rgba(20,85,192,0.55), 0 0 0 6px rgba(20,85,192,0.08); }
}

/* Slide Up */
.slide-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s, transform 0.7s; }
.slide-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.12s !important; }
.delay-2 { transition-delay: 0.24s !important; }
.delay-3 { transition-delay: 0.36s !important; }
.delay-4 { transition-delay: 0.48s !important; }
.delay-5 { transition-delay: 0.60s !important; }

.reveal-card { opacity: 0; transform: translateY(40px); transition: opacity 0.6s, transform 0.6s; }
.reveal-card.visible { opacity: 1; transform: translateY(0); }

.reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.7s, transform 0.7s; }
.reveal-right { opacity: 0; transform: translateX(50px);  transition: opacity 0.7s, transform 0.7s; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

.badge-pop { opacity: 0; transform: scale(0.75); transition: opacity 0.45s, transform 0.45s; }
.badge-pop.visible { opacity: 1; transform: scale(1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-center    { padding: 0 24px 32px; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .solution-inner { grid-template-columns: 1fr; gap: 48px; }
  .apply-inner    { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 60px; padding: 0 16px; justify-content: space-between; }
  .header-logo-img { height: 38px; }
  .header-phone { display: none; }
  .header-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    gap: 2px;
    padding: 0;
    box-shadow: none;
    border-top: none;
    background: transparent;
    backdrop-filter: none;
    margin-left: auto;
    align-items: center;
  }
  .header-nav a { padding: 6px 10px; font-size: 0.8rem; }
  .nav-cta { padding: 7px 14px !important; font-size: 0.8rem !important; }
  .mobile-menu-btn { display: none !important; }

  .hero-center { padding: 0 18px 28px; }
  .hero-yeogiseo em { letter-spacing: 0.1em; }
  .hero-guarantee-bar { font-size: 0.8rem; padding: 10px 14px; }
  .hero-stats { padding: 12px 14px; }

  .services-grid  { grid-template-columns: 1fr; }
  .hero-center .services-grid { display: none !important; }
  .problem-cards  { grid-template-columns: 1fr; }
  /* 모바일: 카드 1장씩 */
  .reviews-carousel { padding: 0 44px; }
  .review-card { flex: 0 0 100%; }
  .rc-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
  .footer-inner   { grid-template-columns: 1fr; gap: 28px; }
  .apply-form-card { padding: 28px 22px; }
  .apply-checks   { grid-template-columns: 1fr 1fr; }
  .sol-badges     { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .header-nav a { padding: 5px 7px; font-size: 0.75rem; }
  .nav-cta { padding: 6px 10px !important; font-size: 0.75rem !important; }
  .header-logo-img { height: 32px; }
}

/* ============================================================
   HERO BANNER — 슬라이드 배너
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 28px auto 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  aspect-ratio: 16 / 6.5;
  min-height: 160px;
}
/* 배너 트랙 — contain 모드에서 이미지 높이에 맞게 자동 조절 */
.hero-banner.contain-mode {
  aspect-ratio: unset;
  min-height: unset;
  height: auto;
}

/* 슬라이드 트랙 */
.hero-banner-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 개별 슬라이드 */
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.banner-slide a,
.banner-slide > div {
  display: block;
  width: 100%;
  height: 100%;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
/* contain 모드 — 이미지 전체가 보이도록 */
.hero-banner.contain-mode .hero-banner-track {
  position: static;
  height: auto;
}
.hero-banner.contain-mode .banner-slide {
  position: static;
  opacity: 1;
  display: none;
}
.hero-banner.contain-mode .banner-slide.active {
  display: block;
}
.hero-banner.contain-mode .banner-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.banner-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale);
  color: var(--grey-2);
  font-size: 2.5rem;
}

/* 폴백 — 슬라이드 없을 때 */
.hero-banner-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
}
.hero-banner-fallback .hero-mujoggeon {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-2);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-banner-fallback .hero-yeogiseo {
  margin: 0;
  line-height: 1;
}
.hero-banner-fallback .hero-yeogiseo em {
  display: inline-block;
  font-style: normal;
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--blue);
}

/* 화살표 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--grey-1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background var(--transition), transform var(--transition), color var(--transition);
}
.banner-arrow:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}
.banner-prev { left: 12px; }
.banner-next { right: 12px; }

/* 인디케이터 */
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.banner-dot.active {
  background: var(--white);
  transform: scale(1.25);
}

/* ============================================================
   HERO ICON BAR — LG전자 스타일 아이콘 메뉴
   ============================================================ */
.hero-icon-bar {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 600px;
  padding: 10px 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.icon-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--grey-1);
  transition: transform var(--transition), color var(--transition);
  min-width: 68px;
}
.icon-menu-item:hover {
  transform: translateY(-4px);
  color: var(--blue);
}

.icon-menu-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition);
  box-shadow: 0 3px 10px rgba(20,85,192,0.1);
}
.icon-menu-item:hover .icon-menu-circle {
  box-shadow: 0 6px 20px rgba(20,85,192,0.22);
}

.icon-menu-circle svg {
  width: 64px; height: 64px;
  display: block;
}

.icon-menu-item span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--grey-1);
  transition: color var(--transition);
}
.icon-menu-item:hover span {
  color: var(--blue);
}

/* 반응형 — 배너 & 아이콘 */
@media (max-width: 640px) {
  /* 배너: PC와 동일한 2.4:1 비율, cover로 여백 없이 꽉 채움 */
  .hero-banner { aspect-ratio: 16 / 6.5; border-radius: var(--radius-lg); }
  .hero-banner .banner-slide img { object-fit: cover; }
  .banner-arrow { width: 32px; height: 32px; font-size: 0.78rem; }
  .banner-prev { left: 8px; }
  .banner-next { right: 8px; }

  .hero-icon-bar { gap: 16px; padding: 14px 12px; border-radius: var(--radius-md); }
  .icon-menu-circle { width: 52px; height: 52px; }
  .icon-menu-circle svg { width: 52px; height: 52px; }
  .icon-menu-item span { font-size: 0.75rem; }
}

@media (max-width: 400px) {
  /* 아주 작은 화면도 동일 비율 유지 */
  .hero-banner { aspect-ratio: 16 / 6.5; }
  .hero-icon-bar { gap: 10px; padding: 12px 8px; }
  .icon-menu-circle { width: 46px; height: 46px; }
  .icon-menu-circle svg { width: 46px; height: 46px; }
}

/* ============================================================
   ADMIN — 페이지 관리 (슬라이드) 스타일
   ============================================================ */
/* 전역 설정 바 */
.pages-global-bar {
  background: var(--blue-pale);
  border: 1.5px solid var(--blue-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.pages-global-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pages-global-inner i { color: var(--blue); font-size: 1rem; }
.pages-global-inner label { font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.pages-global-inner select {
  padding: 7px 12px;
  border: 1.5px solid var(--blue-light);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}
.pages-global-hint {
  font-size: 0.78rem;
  color: var(--grey-2);
  flex: 1;
  min-width: 180px;
}
.btn-save-global {
  padding: 8px 18px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.btn-save-global:hover { background: var(--blue-hover); }

/* 슬라이드 목록 헤더 */
.slides-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.slides-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--grey-1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.slides-title i { color: var(--blue); }

.slides-tip {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: #92400e;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 슬라이드 카드 그리드 */
.slides-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.slide-admin-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.slide-admin-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.slide-admin-card.slide-inactive {
  opacity: 0.55;
  border-style: dashed;
}

/* 카드 이미지 */
.slide-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--grey-4);
  overflow: hidden;
}
.slide-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--grey-2);
  font-size: 1.5rem;
}
.slide-no-img span { font-size: 0.78rem; font-weight: 500; }

/* 배지 */
.slide-card-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  gap: 6px;
}
.slide-order-badge {
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
}
.slide-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
}
.slide-status-badge.active { background: rgba(16,185,129,0.85); color: #fff; }
.slide-status-badge.inactive { background: rgba(107,114,128,0.75); color: #fff; }

/* 카드 본문 */
.slide-card-body {
  padding: 12px 14px 8px;
}
.slide-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--grey-1);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slide-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.76rem;
  color: var(--grey-2);
}
.slide-card-meta i { width: 14px; color: var(--blue); }

/* 카드 액션 */
.slide-card-actions {
  display: flex;
  border-top: 1px solid var(--border);
}
.slide-card-actions .btn-pm-edit,
.slide-card-actions .btn-pm-del {
  flex: 1;
  padding: 10px 6px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition), color var(--transition);
  font-family: inherit;
}
.slide-card-actions .btn-pm-edit {
  color: var(--blue);
  border-right: 1px solid var(--border);
}
.slide-card-actions .btn-pm-edit:hover { background: var(--blue-pale); }
.slide-card-actions .btn-pm-del { color: #ef4444; }
.slide-card-actions .btn-pm-del:hover { background: #fff5f5; }

/* 슬라이드 모달 — 이미지 탭 */
.img-input-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.img-tab {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--grey-2);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  font-family: inherit;
}
.img-tab.active {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue);
}

/* 슬라이드 이미지 미리보기 */
.slide-img-preview {
  position: relative;
  margin-top: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
  aspect-ratio: 16 / 6;
  background: var(--grey-4);
}
.slide-img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-preview-remove {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.55);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-family: inherit;
}
.slide-preview-remove:hover { background: rgba(239,68,68,0.85); }

/* 토글 스위치 */
.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-1);
  user-select: none;
}
.toggle-switch {
  position: relative;
  width: 44px; height: 24px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--grey-3);
  border-radius: 50px;
  transition: background 0.25s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.toggle-switch input:checked + .toggle-slider { background: var(--blue); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
