@charset "utf-8";

/* 디자인 토큰 (필요 시 덮어쓰기) */
:root {
  --color-secondary: #0A3055;
  --landing-content-max-width: 1280px;
  --landing-gutter-mobile: 20px;
  --landing-gutter-pc: 40px;
  --landing-header-offset: 0px;
}

/* ===== 법무법인 한수 랜딩 전용 스타일 ===== */

/* 랜딩 레이아웃: 기본 테마(1200px 고정) 규칙 초기화 */
#wrapper.landing-wrap {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}
#wrapper.landing-wrap #container_wr {
  width: 100%;
  max-width: none;
  margin: 0;
}
#wrapper.landing-wrap #container {
  float: none;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: var(--landing-header-offset) 0 0;
}
@media (min-width: 1025px) {
  #wrapper.landing-wrap #container {
    padding-top: calc(var(--landing-header-offset) - 30px);
  }
}

/* 랜딩 공통 컨테이너 여백 */
.landing-header .inner,
.landing-section .section-inner,
.stats-inner,
.dash-sec-inner,
.landing-footer-inner,
#section-hero .hero-inner {
  width: 100%;
  max-width: var(--landing-content-max-width);
  margin: 0 auto;
  padding-left: var(--landing-gutter-mobile);
  padding-right: var(--landing-gutter-mobile);
  box-sizing: border-box;
}
@media (min-width: 992px) {
  .landing-header .inner,
  .landing-section .section-inner,
  .stats-inner,
  .dash-sec-inner,
  .landing-footer-inner,
  #section-hero .hero-inner {
    padding-left: var(--landing-gutter-pc);
    padding-right: var(--landing-gutter-pc);
  }
}

/* 고정 헤더 */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  padding: 0;
  z-index: 1000;
  background: #555555;
  color: #fff;
  transition: box-shadow 0.3s;
}
.landing-header.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.landing-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #555555;
  position: relative;
  min-height: 62px;
}
@media (min-width: 992px) {
  .landing-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
/* 왼쪽: 로고 + 로고 옆 잠깐 띄워지는 브랜드 텍스트 */
.landing-header .header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.landing-header .header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.landing-header .logo {
  display: block;
  height: 36px;
  text-decoration: none;
  line-height: 0;
  color: #fff;
}
.landing-header .logo img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* 가운데 메뉴 (데스크톱만) */
.landing-nav-center { display: none; }
.landing-nav-right { display: none; }
@media (min-width: 992px) {
  .landing-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .landing-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .landing-nav a {
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
  }
  .landing-nav-center .landing-nav-brand {
    font-weight: 700;
  }
  .landing-nav a:hover {
    background: rgba(255,255,255,0.15);
  }
  .landing-header.scrolled .landing-nav a:hover { background: rgba(255,255,255,0.12); }
}
/* 태블릿: 가운데 메뉴 숨김, 오시는길·상담신청만 맨 오른쪽 + 햄버거 */
@media (min-width: 768px) and (max-width: 991px) {
  .landing-header .inner { flex-wrap: nowrap; }
  .landing-nav-center { display: none; }
  .landing-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .landing-nav-right a {
    display: inline-block;
    padding: 8px 14px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
  }
  .landing-nav-right a:hover { background: rgba(255,255,255,0.15); }
}
/* 모바일: 오시는길·상담신청도 헤더에서 숨김(오프캔버스에서만) */
@media (max-width: 767px) {
  .landing-nav-right { display: none; }
}
/* 햄버거 (태블릿·모바일) */
.landing-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
@media (min-width: 992px) { .landing-menu-btn { display: none; } }
.landing-menu-btn svg { width: 24px; height: 24px; }

/* 모바일 메뉴 오버레이 */
.landing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.landing-overlay.open { opacity: 1; visibility: visible; }

/* 모바일 오프캔버스 */
.landing-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85%;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 1002;
  padding: 20px 0;
  transform: translateX(100%);
  transition: transform 0.3s;
  overflow-y: auto;
}
.landing-offcanvas.open { transform: translateX(0); }
.landing-offcanvas .close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: #333;
  font-size: 24px;
  line-height: 1;
}
.landing-offcanvas a {
  display: block;
  padding: 14px 24px;
  color: #333;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: 0;
  vertical-align: middle;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.landing-offcanvas a:hover { background: #f5f5f5; }

/* 태블릿/모바일 네비게이션 최적화 */
@media (max-width: 991px) {
  .landing-header .inner {
    min-height: 58px;
    gap: 8px;
  }
  .landing-header .logo {
    height: 32px;
  }
  .landing-header .logo img {
    height: 32px;
  }
  .landing-menu-btn {
    width: 42px;
    height: 42px;
  }
  .landing-menu-btn svg {
    width: 22px;
    height: 22px;
  }
  .landing-nav-right {
    gap: 6px;
  }
  .landing-nav-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
  .landing-overlay {
    backdrop-filter: blur(1px);
  }
  .landing-offcanvas {
    width: min(340px, 86vw);
    padding: 60px 0 16px;
  }
  .landing-offcanvas .close-btn {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .landing-offcanvas a {
    padding: 14px 20px;
    font-size: 17px;
    line-height: 1.35;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .landing-header .inner {
    min-height: 54px;
  }
  .landing-header .logo {
    height: 28px;
  }
  .landing-header .logo img {
    height: 28px;
  }
  .landing-offcanvas {
    width: min(320px, 88vw);
    padding-top: 56px;
  }
  .landing-offcanvas a {
    font-size: 16px;
    padding: 13px 18px;
  }
}

/* 섹션 공통 */
/* 앵커 이동 시 고정 헤더(60px)에 가리지 않도록 여백 */
.landing-section {
  min-height: auto;
  padding: 60px 0 80px;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--landing-header-offset) + 12px);
}
.landing-section .section-inner {
  width: 100%;
}
.landing-section h2 {
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
  text-align: center;
}
@media (min-width: 768px) {
  .landing-section h2 { font-size: 2.25rem; }
}

/* 히어로: 유튜브 전체 화면 영상 전용 */
#section-hero {
  min-height: 100vh;
  padding: 0;
  position: relative;
}

.hero-with-video {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-with-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 14, 24, 0.22) 0%, rgba(10, 14, 24, 0.35) 45%, rgba(10, 14, 24, 0.7) 100%),
    linear-gradient(90deg, rgba(10, 14, 24, 0.35) 0%, rgba(10, 14, 24, 0.1) 55%, rgba(10, 14, 24, 0.45) 100%);
  pointer-events: none;
}
.hero-with-video .hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 136, 85, 0.14), transparent 30%),
    linear-gradient(135deg, #08101b 0%, #0f1b2c 45%, #162537 100%);
}
.hero-with-video .hero-video-embed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 16:9 비율 영상이 섹션을 꽉 채우도록 오버사이즈 */
  width: 177.78vh; /* 100 * (16 / 9) */
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
}
.hero-with-video .hero-video-embed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(12, 18, 31, 0.1) 0%, rgba(12, 18, 31, 0.32) 100%);
}
.hero-with-video .hero-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* 배경처럼 보이게 클릭 방지 */
}
.hero-with-video .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
}
.hero-with-video .hero-copy {
  max-width: 720px;
  padding: 0 0 96px;
  color: #fff;
}
.hero-kicker {
  margin: 0 0 16px;
  color: #d7b27a;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.hero-title {
  margin: 0;
  color: #fff;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.hero-title [data-banner-title-line] {
  display: block;
}
.hero-desc {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.9);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.65;
}

/* 태블릿/모바일: 잘림 방지를 위해 16:9 비율로 노출 (상단 여백은 컨테이너에서 처리) */
@media (max-width: 1024px) {
  #section-hero {
    min-height: auto;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero-with-video .hero-video-embed {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }
  .hero-with-video .hero-content {
    min-height: 100%;
    align-items: flex-end;
  }
  .hero-with-video .hero-copy {
    padding-bottom: 40px;
  }
  .hero-kicker {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }
  .hero-title {
    font-size: clamp(1.4rem, 4vw, 2.1rem);
    line-height: 1.24;
  }
  .hero-desc {
    max-width: 440px;
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .hero-with-video::after {
    background:
      linear-gradient(180deg, rgba(10, 14, 24, 0.14) 0%, rgba(10, 14, 24, 0.18) 40%, rgba(10, 14, 24, 0.76) 100%),
      linear-gradient(90deg, rgba(10, 14, 24, 0.2) 0%, rgba(10, 14, 24, 0.05) 60%, rgba(10, 14, 24, 0.28) 100%);
  }
  .hero-with-video .hero-copy {
    max-width: 100%;
    padding-bottom: 22px;
  }
  .hero-desc {
    max-width: 300px;
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

/* 통계 섹션 (히어로 아래) */
.stats-wrap {
  background: transparent;
  padding: 48px 0;
}
.stats-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.stats-wrap .stat-item {
  width: 100%;
  max-width: 320px;
  text-align: center;
}
.stats-wrap .stat-num {
  display: block;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 35px;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  color: #b38855;
  margin-bottom: 8px;
}
.stats-wrap .stat-label {
  display: block;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 19.2px;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  color: #555555;
}
@media (min-width: 768px) {
  .stats-wrap .stat-num { font-size: 2.5rem; line-height: 35px; }
  .stats-wrap .stat-label { font-size: 14px; line-height: 19.2px; }
}
@media (min-width: 768px) {
  .stats-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 24px;
  }
  .stats-wrap .stat-item {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }
}

/* LIVE STATUS (sec1 두 번째 블록) */
.dash-sec {
  background: #f9f9f9;
  padding: 92px 0 104px;
}
.dash-sec-inner {
  width: 100%;
}
.dash-card {
  background: #fff;
  border-radius: 26px;
  padding: 40px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.dash-card-full {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  margin-bottom: 52px;
}
.dash-eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  color: #b38855;
  margin: 0 0 24px;
}
.dash-title {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 28px;
}
.dash-title-break { display: none; }
.landing-wrap .dash-sec .dash-eyebrow {
  margin-bottom: 24px;
}
.landing-wrap .dash-sec .dash-title {
  line-height: 1.2;
}

.dash-desc {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #555555;
}
.dash-cards-row {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .dash-cards-row { grid-template-columns: 1fr 1fr; }
}
.dash-card-title {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0 0 34px;
}
/* 실시간 사건 진행 상황도 제목 */
.dash-card-title--live {
  font-size: 24px;
}
.live-status-viewport {
  position: relative;
  overflow: hidden;
}
.live-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.live-status-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e6e6e6;
  font-size: 16px;
  color: #333;
}
/* 게시 신청 / 게시 결정 (개시신청·개시결정) */
.live-status-list .status-tag {
  flex-shrink: 0;
  min-width: 68px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}
.live-status-list .status-tag-blue {
  background: #F0F5FA;
  color: var(--color-secondary, #0A3055);
}
/* 인가 결정 / 금지 명령 */
.live-status-list .status-tag-orange {
  background: #F9F5EF;
  color: #B38855;
}
.live-status-list .court {
  flex: 1;
  color: #555555;
}
/* 옆 이름 (누구누구님) */
.live-status-list .name {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  color: #555555;
}

/* 누적 그래프 카드 */
.graph-wrap {
  padding: 0;
  position: relative;
  min-height: 0;
}
.graph-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.graph-current {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #1a1a2e;
}
.graph-current .graph-unit {
  font-weight: 700;
  font-size: 0.95rem;
  color: #666;
  margin-left: 4px;
}
.graph-trend {
  font-size: 13px;
  color: #0A3055;
  font-weight: 700;
}
.graph-chart {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.graph-svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 320px;
}
.graph-svg--cumulative {
  overflow: visible;
}
.graph-axis-text {
  font-size: 10px;
  fill: #888;
  font-family: inherit;
}
.graph-point-label {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 9px;
  fill: #0A3055;
}
.graph-axis-text--y {
  font-size: 11px;
  fill: #555;
  font-weight: 600;
}
.graph-svg--cumulative .graph-axis-text--y {
  display: none;
}
.graph-axis-text--bottom {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 13.6px;
  fill: #555555;
}
/* 누적 그래프: 선이 위로 그려지며 올라가는 애니메이션 */
.graph-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  opacity: 0;
}
.graph-area {
  opacity: 0;
  transform: translateY(10px);
  transform-origin: bottom center;
}
.graph-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
}
.graph-wrap .graph-point-label,
.graph-wrap .graph-axis-text--bottom {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.6s ease-out 0.7s,
    transform 0.6s ease-out 0.7s;
}
.graph-wrap .graph-current {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.6s ease-out 0.4s,
    transform 0.6s ease-out 0.4s;
}

/* 활성화 상태 */
.graph-wrap.is-graph-active .graph-current,
.graph-wrap.is-graph-active .graph-point-label,
.graph-wrap.is-graph-active .graph-axis-text--bottom {
  opacity: 1;
  transform: translateY(0);
}
.graph-wrap.is-graph-active .graph-area {
  animation: graph-area-fade 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.graph-wrap.is-graph-active .graph-line {
  animation: graph-line-draw 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.graph-wrap.is-graph-active .graph-dot {
  animation: graph-dot-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(var(--delay) * 0.2s + 0.3s);
}
.graph-wrap.is-graph-active .graph-point-label {
  transition-delay: calc(var(--delay) * 0.2s + 0.5s);
}

@keyframes graph-line-draw {
  0% { stroke-dashoffset: 420; opacity: 0; }
  10% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes graph-area-fade {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes graph-dot-pop {
  0% { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}
@media (min-width: 480px) {
  .graph-current { font-size: 2rem; }
  .graph-svg { min-height: 340px; }
}

/* 성공 사례 (Section 2: Success Stories) */
.success-stories-sec { background: #fff; }
.success-stories-sec .success-eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 14.4px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #b38855;
  margin: 0 0 10px;
}
.success-stories-sec .success-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 2.5rem;
}
@media (max-width: 767px) {
  .success-stories-sec .success-title { font-size: 1.6rem; line-height: 1.35; }
}
.success-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .success-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .success-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (max-width: 991px) {
  .success-cards .success-card:nth-child(n+3) { display: none; }
}
@media (max-width: 767px) {
  .success-cards {
    grid-template-columns: 1fr;
  }
  .success-cards .success-card:nth-child(n+2) { display: none; }
}
@media (max-width: 767px) {
  .success-cards.is-rotating-cases {
    position: relative;
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    overflow: hidden;
  }
  .success-cards.is-rotating-cases .success-card {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    opacity: 1;
    transform: translate3d(104%, 0, 0);
    transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    z-index: 1;
  }
  .success-cards.is-rotating-cases .success-card.is-prev {
    transform: translate3d(-104%, 0, 0);
    z-index: 1;
  }
  .success-cards.is-rotating-cases .success-card.is-next {
    transform: translate3d(104%, 0, 0);
    z-index: 1;
  }
  .success-cards.is-rotating-cases .success-card.is-active {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    z-index: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .success-cards.is-rotating-cases .success-card {
    transition-duration: 0ms;
  }
}
.success-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}
.success-card-img {
  aspect-ratio: 4/3;
  background: repeating-conic-gradient(#e8e8e8 0% 25%, #f5f5f5 0% 50%) 50% / 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.success-card-cat {
  display: block;
  padding: 14px 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: #b38855;
}
.success-card-headline {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 8px 16px 12px;
  line-height: 1.35;
}
@media (min-width: 992px) {
  .success-card-headline { font-size: 1rem; }
}
.success-card-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin: 0 16px 20px;
  padding: 0;
}

/* PROCESS (복잡한 법적 절차) */
.step-sec {
  background: #f5f5f5;
}
.step-eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 14.4px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #b38855;
  margin: 0 0 10px;
}
.step-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 3rem;
}
@media (max-width: 767px) {
  .step-title { font-size: 1.6rem; line-height: 1.35; }
}
.step-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .step-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
  }
  .step-cards .step-card {
    flex: 1 1 0;
    min-width: 0;
  }
}
.step-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}
.step-num {
  display: block;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #b38855;
  margin-bottom: 10px;
}
.step-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.35;
}
.step-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 14px;
  color: #1A1A1A;
  opacity: 1;
  transform: rotate(0deg);
}
.step-icon svg {
  width: 24px;
  height: 24px;
}
.step-card-desc {
  font-family: "Font 1", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  color: #333;
  margin: 0;
}

/* WHY HANSU */
.reason-sec { background: #fff; }
.reason-eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 14.4px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #b38855;
  margin: 0 0 20px;
}
.reason-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 72px;
}
@media (max-width: 767px) {
  .reason-title {
    font-size: 1.95rem;
    line-height: 1.3;
    margin-bottom: 40px;
  }
}
.reason-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 992px) {
  .reason-grid {
    grid-template-columns: minmax(300px, 420px) minmax(0, 560px);
    gap: 58px;
    justify-content: center;
    align-items: end;
  }
}
.reason-img-wrap {
  order: 1;
  max-width: 390px;
  margin: 0 auto;
  min-height: 0;
  background: transparent;
  border-radius: 0;
}
.reason-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
.reason-text { order: 2; }
.reason-quote {
  font-size: 2.85rem;
  font-weight: 700;
  color: #1a2f6b;
  line-height: 1.3;
  margin: 0 0 26px;
  padding: 0;
  border: none;
}
@media (min-width: 768px) {
  .reason-quote { font-size: 2.15rem; }
}
@media (max-width: 991px) {
  .reason-quote {
    font-family: "Font 1", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #0A3055;
    margin-bottom: 18px;
  }
}
.reason-body {
  font-size: 17px;
  color: #333;
  line-height: 1.65;
  margin: 0 0 24px;
}
.reason-name {
  font-size: 22px;
  color: #333;
  margin: 14px 0 0;
  font-weight: 700;
}

/* Section 3: PROFESSIONAL QUALIFICATIONS */
.qual-sec {
  background: #f8f6f3;
}
.qual-eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 14.4px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #b38855;
  margin: 0 0 10px;
}
.qual-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 2.5rem;
}
@media (max-width: 767px) {
  .qual-title { font-size: 1.6rem; line-height: 1.35; }
}
/* 마키 래퍼: 가로 무한 회전 */
.qual-marquee {
  overflow: hidden;
  width: 100%;
}
.qual-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 20px 16px;
}
.qual-list .qual-item {
  flex: 1;
  min-width: 140px;
  max-width: 240px;
  text-align: center;
  flex-shrink: 0;
}
/* 가로 무한 회전 애니메이션 */
@keyframes qual-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (min-width: 768px) {
  .qual-list.qual-list--track.is-marquee {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    animation: qual-marquee 30s linear infinite;
  }
  .qual-list.qual-list--track.is-marquee .qual-item {
    min-width: 160px;
    max-width: 200px;
    flex: 0 0 auto;
  }
  .qual-list.qual-list--track.is-marquee .qual-dot {
    display: block;
  }
}
/* 모바일: 가로 스크롤로 넘기기 (복제 항목 숨김) */
@media (max-width: 767px) {
  .qual-sec .section-inner {
    overflow: hidden;
  }
  .qual-list.qual-list--track {
    animation: none;
  }
  /* 복제 블록(8번째 자식부터) 숨겨서 터치 스크롤은 한 세트만 */
  .qual-list .qual-item:nth-child(n+8),
  .qual-list .qual-dot:nth-child(n+8) {
    display: none !important;
  }
  .qual-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .qual-list::-webkit-scrollbar {
    display: none;
  }
  .qual-list .qual-item {
    scroll-snap-align: center;
    min-width: 160px;
    max-width: 160px;
    flex: 0 0 160px;
  }
  .qual-list .qual-dot {
    flex-shrink: 0;
    scroll-snap-align: none;
  }
}
.qual-cert-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(63, 45, 21, 0.08);
  border: 1px solid #ddcfbf;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.qual-cert-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.06) saturate(1.02);
}
.qual-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #8a6337;
  letter-spacing: 0.01em;
  text-align: center;
}
.qual-dot {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B38855;
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 36px;
}
@media (min-width: 992px) {
  .qual-list { flex-wrap: nowrap; gap: 32px; justify-content: space-between; }
  .qual-item { min-width: 0; max-width: none; flex: 1; }
  .qual-dot { display: block; }
}

/* OUR LEGAL TEAM (Section 3 아래) */
.team-sec { background: #fff; }
.team-eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 14.4px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #b38855;
  margin: 0 0 10px;
}
.team-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 2.5rem;
}
@media (max-width: 767px) {
  .team-title { font-size: 1.6rem; line-height: 1.35; }
}
.team-photo-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  aspect-ratio: 16/9;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-features {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .team-features { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.team-feature {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.team-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
  line-height: 1.35;
}
.team-feature-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin: 0;
}

/* Section 4: 최신 법률 정보 */
.legal-info-sec {
  background: #f5f5f5;
  padding-left: 0;
  padding-right: 0;
}
.legal-info-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 2rem;
}
@media (max-width: 767px) {
  .legal-info-title { font-size: 1.6rem; line-height: 1.35; }
}
.legal-info-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.legal-info-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s;
  flex: 0 1 320px;
  max-width: 360px;
}
.legal-info-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.legal-info-card-img {
  aspect-ratio: 4/3;
  background: repeating-conic-gradient(#e0e0e0 0% 25%, #eee 0% 50%) 50% / 16px 16px;
}
.legal-info-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.legal-info-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  padding: 14px 16px 6px;
  line-height: 1.4;
}
.legal-info-card-date {
  display: block;
  font-size: 13px;
  color: #888;
  padding: 0 16px 16px;
}
@media (max-width: 767px) {
  .legal-info-cards.is-rotating-mobile {
    position: relative;
    display: block;
    width: 100%;
    max-width: 340px;
    min-height: 322px;
    margin: 0 auto;
    overflow: hidden;
  }
  .legal-info-cards.is-rotating-mobile .legal-info-card {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 48px);
    height: auto;
    border-radius: 20px;
    border: 1px solid #e4e4e4;
    overflow: hidden;
    box-sizing: border-box;
    opacity: 1;
    transform: translate3d(118%, 0, 0);
    transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    z-index: 1;
  }
  .legal-info-cards.is-rotating-mobile .legal-info-card.is-prev {
    transform: translate3d(-112%, 0, 0);
    z-index: 1;
  }
  .legal-info-cards.is-rotating-mobile .legal-info-card.is-next {
    transform: translate3d(calc(100% + 20px), 0, 0);
    z-index: 2;
  }
  .legal-info-cards.is-rotating-mobile .legal-info-card.is-rest-right {
    transform: translate3d(128%, 0, 0);
    opacity: 0;
    transition: none;
    z-index: 0;
  }
  .legal-info-cards.is-rotating-mobile .legal-info-card .legal-info-card-img {
    height: clamp(176px, 50vw, 210px);
    aspect-ratio: auto;
  }
  .legal-info-cards.is-rotating-mobile .legal-info-card .legal-info-card-title {
    margin: 0;
    padding: 12px 14px 8px;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .legal-info-cards.is-rotating-mobile .legal-info-card .legal-info-card-date {
    padding: 0 14px 12px;
    font-size: 12px;
  }
  .legal-info-cards.is-rotating-mobile .legal-info-card.is-active {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    z-index: 3;
  }
}

/* Section 4: 개인회생/개인파산 2x2 그리드 */
.eligibility-grid-sec {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #F9F5EF;
}
.eligibility-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  max-width: 1060px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .eligibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 28px 24px;
  }
}
.eligibility-grid-sec .section-inner {
  padding-left: 72px;
  padding-right: 72px;
}
@media (max-width: 991px) {
  .eligibility-grid-sec .section-inner {
    padding-left: 48px;
    padding-right: 48px;
  }
}
@media (max-width: 767px) {
  .eligibility-grid-sec .section-inner {
    padding-left: 28px;
    padding-right: 28px;
  }
}
.eligibility-box {
  border-radius: 24px;
  padding: 24px;
  list-style: none;
  color: #fff;
}
.eligibility-box:nth-child(1) { background: #B38855; }
.eligibility-box:nth-child(2) { background: #736F6D; }
.eligibility-box:nth-child(3) { background: #B38855; }
.eligibility-box:nth-child(4) { background: #736F6D; }
.eligibility-box-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  min-height: 58px;
  padding: 12px 22px;
  margin: 0 0 14px;
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eligibility-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.eligibility-list li {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 14px 4px;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.48);
  opacity: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 17px;
  line-height: 1.45;
  color: #fff;
}
.eligibility-list li:first-child {
  padding-top: 16px;
}
.eligibility-list li:last-child {
  border-bottom: none;
  padding-bottom: 16px;
}
.eligibility-list li:before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: url(../img/checkbox.png) no-repeat center;
  background-size: contain;
}
/* 2, 4번째 카드는 하트 아이콘 형태 */
.eligibility-grid .eligibility-box:nth-child(2) .eligibility-list li:before,
.eligibility-grid .eligibility-box:nth-child(4) .eligibility-list li:before {
  content: '';
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: url(../img/heart.png) no-repeat center;
  background-size: contain;
}

@media (min-width: 992px) {
  .eligibility-box {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Section 5: 30초 자가진단 */
.diag-sec { background: #B38855; }
.diag-sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 64px;
}
@media (max-width: 767px) {
  .diag-sec-title { font-size: 1.6rem; line-height: 1.35; }
}
.diag-two-col {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: start;
}
.diag-form-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.diag-form-wrap .diag-label {
  color: #3d4f63;
  font-weight: 700;
  font-size: 16px;
}
@media (min-width: 992px) {
  .diag-two-col {
    grid-template-columns: repeat(2, minmax(0, 500px));
    justify-content: center;
    align-items: start;
    gap: 72px;
  }
  .diag-form-wrap {
    max-width: 100%;
    margin: 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .diag-two-col {
    gap: 64px;
  }
  .diag-form-wrap {
    max-width: 640px;
  }
  .diag-toggle {
    height: 52px;
    font-size: 15px;
  }
  .diag-input {
    font-size: 15px;
    padding: 14px 66px 14px 18px;
  }
  .diag-suffix {
    right: 18px;
    font-size: 16px;
  }
  .diag-btn-calc {
    width: 260px;
    font-size: 16px;
  }
  .diag-consult-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 44px 32px 38px;
  }
  .diag-consult-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .diag-consult-tel {
    min-height: 78px;
    font-size: 30px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .diag-toggle {
    height: 56px;
    font-size: 15px;
  }
  .diag-consult-title {
    font-size: 30px;
  }
  .diag-consult-tel {
    font-size: 30px;
  }
}
.diag-consult-card label { color: #0A3055; font-weight: 700; font-size: 16px; }
.diag-field { margin-bottom: 26px; }
.diag-label { display: block; margin-bottom: 12px; }
.diag-captcha-wrap {
  display: block;
  margin-top: 24px;
  margin-bottom: 24px;
}
.diag-captcha-inner {
  display: block;
  border-radius: 14px;
  padding: 0;
}
.diag-captcha-label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.diag-captcha-box {
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.diag-captcha-box #captcha,
.diag-captcha-box [id^="captcha_"] {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.diag-captcha-box #captcha legend,
.diag-captcha-box [id^="captcha_"] legend {
  display: none;
}
.diag-captcha-box #captcha_img,
.diag-captcha-box [id^="captcha_img_"] {
  display: block;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-shadow: none;
  box-sizing: border-box;
}
.diag-captcha-box #captcha_key,
.diag-captcha-box [id^="captcha_key_"] {
  flex: 1;
  min-width: 120px;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #f8f8f8;
  font-size: 16px;
  color: #333;
  box-sizing: border-box;
  text-align: left;
}
.diag-captcha-box #captcha_key::placeholder,
.diag-captcha-box [id^="captcha_key_"]::placeholder {
  color: #999;
  font-size: 14px;
}
.diag-captcha-box #captcha_info,
.diag-captcha-box [id^="captcha_info_"] {
  order: 10;
  flex: 0 0 100%;
  width: 100%;
  margin-top: 8px;
  display: block;
}
.diag-captcha-box #captcha_reload,
.diag-captcha-box #captcha_mp3,
.diag-captcha-box [id^="captcha_reload_"],
.diag-captcha-box [id^="captcha_mp3_"] {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  text-indent: 0;
  background-image: none;
  line-height: 1;
}
/* 아이콘 (가상 요소로 추가) */
.diag-captcha-box #captcha_reload::before,
.diag-captcha-box [id^="captcha_reload_"]::before {
  content: "↻";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  line-height: 1;
}
.diag-captcha-box #captcha_mp3::before,
.diag-captcha-box [id^="captcha_mp3_"]::before {
  content: "♪";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  line-height: 1;
}
.diag-captcha-box #captcha_reload span,
.diag-captcha-box #captcha_mp3 span,
.diag-captcha-box [id^="captcha_reload_"] span,
.diag-captcha-box [id^="captcha_mp3_"] span {
  display: none;
}

.diag-captcha-box #captcha_reload:hover,
.diag-captcha-box #captcha_mp3:hover,
.diag-captcha-box [id^="captcha_reload_"]:hover,
.diag-captcha-box [id^="captcha_mp3_"]:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
  color: #333;
}
/* 모바일 대응 */
@media (max-width: 480px) {
  .diag-captcha-box #captcha,
  .diag-captcha-box [id^="captcha_"] {
    flex-wrap: wrap;
    gap: 6px;
  }
  .diag-captcha-box #captcha_img,
  .diag-captcha-box [id^="captcha_img_"] {
    flex: 0 0 auto;
    max-width: 120px;
    height: 44px;
  }
  .diag-captcha-box #captcha_key,
  .diag-captcha-box [id^="captcha_key_"] {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    font-size: 14px;
  }
  .diag-captcha-box #captcha_reload,
  .diag-captcha-box #captcha_mp3,
  .diag-captcha-box [id^="captcha_reload_"],
  .diag-captcha-box [id^="captcha_mp3_"] {
    width: 44px;
    height: 44px;
  }
  .diag-captcha-box #captcha_info_diag {
    order: 10;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 8px;
    display: block;
  }
}
.diag-toggles {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  background: #f3f3f3;
}
#diag_type_group {
  border-color: #cbd8e6;
  background: #e9f0f7;
}
#diag_debt_group {
  border-color: #e2d0bd;
  background: #f6efe6;
}
#diag_income_type_group {
  border-color: #cfe0d4;
  background: #eaf3ed;
}
#diag_income_amount_group {
  border-color: #e1cdd3;
  background: #f7ecef;
}
.diag-toggle {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 60px;
  padding: 0 38px 0 14px;
  border: none;
  border-right: 1px solid #e2e2e2;
  border-radius: 0;
  background: transparent;
  color: #555555;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  position: relative;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.diag-toggle-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.diag-toggle-copy--range {
  flex-wrap: wrap;
  gap: 0 0.28em;
}
.diag-toggle-copy--range > span {
  white-space: nowrap;
}
.diag-toggle::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  background: rgba(255, 255, 255, 0.8);
  color: transparent;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.diag-toggle:last-child {
  border-right: none;
}
.diag-toggle.active {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.diag-toggle.active::after {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.diag-toggle:not(.active):hover {
  color: #2e2e2e;
}
.diag-toggle:focus-visible {
  outline: 2px solid #0a3055;
  outline-offset: 2px;
  z-index: 1;
}
#diag_type_group .diag-toggle.active {
  background: #0a3055;
}
#diag_debt_group .diag-toggle.active {
  background: #8a6337;
}
#diag_income_type_group .diag-toggle.active {
  background: #2f6f55;
}
#diag_income_amount_group .diag-toggle.active {
  background: #8a4652;
}
#diag_income_amount_group .diag-toggle {
  letter-spacing: -0.01em;
}
.diag-input-wrap {
  position: relative;
}
.diag-available-wrap {
  display: flex;
  gap: 8px;
}
.diag-available-wrap .diag-input {
  padding-right: 16px;
}
.diag-input {
  width: 100%;
  padding: 16px 72px 16px 22px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #f5f5f5;
  font-size: 16px;
  color: #555;
  box-sizing: border-box;
}
.diag-divider {
  width: 100%;
  height: 0;
  margin: 2px 0 28px;
  border-top: 1px solid #F0F0F0;
  box-sizing: border-box;
}
.diag-suffix {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #555555;
  font-weight: 700;
}
.diag-disclaimer {
  font-family: "Font 1", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  color: #555555;
  margin: 0 0 24px;
}
.diag-btn-calc {
  display: block;
  width: 240px;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  background: #0a3055;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.diag-btn-calc:hover { background: #082847; }
.diag-consult-card {
  background: #f5f5f5;
  border-radius: 26px;
  padding: 56px 40px 46px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.diag-consult-title {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #0a3055;
  margin: 0 0 26px;
}
.diag-consult-slogan {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  color: #0a3055;
  margin: 0 0 24px;
}
.diag-consult-tel {
  margin: 0 auto 26px;
  width: 100%;
  max-width: 100%;
  min-height: 82px;
  padding: 14px 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  background: #F0F5FA;
  font-size: 32px;
  font-weight: 700;
  color: #0a3055;
}
.diag-consult-tel a { color: inherit; text-decoration: none; }
.diag-consult-form .diag-consult-field { margin-bottom: 18px; }
.diag-consult-form .diag-consult-field label { display: block; margin-bottom: 8px; }
.diag-consult-form .diag-consult-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  background: #f4f4f4;
  font-size: 15px;
  box-sizing: border-box;
}
.diag-consult-note {
  font-size: 12px;
  color: #777;
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.4;
}
.diag-btn-consult {
  display: block;
  width: 240px;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  background: #b38855;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.diag-btn-consult:hover { background: #9a7347; }

/* Section 6: 자주 묻는 질문 + 비공개 무료상담 접수 */
.faq-sec { background: #f0f0f0; }
.faq-two-col {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 992px) {
  .faq-two-col { grid-template-columns: minmax(0, 1fr) minmax(460px, 500px); gap: 60px; }
  .faq-list-wrap { padding-top: 40px; }
}
.faq-sec-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 42px;
}
@media (max-width: 767px) {
  .faq-sec-title { font-size: 24px; line-height: 1; margin-bottom: 24px; }
}
.faq-list { list-style: none; margin: 0; padding: 0; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 12px;
  background: none;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
  color: #333;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}
.faq-q:hover { color: #0a3055; }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease-out;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.35s ease;
  will-change: height, opacity, transform;
}
.faq-item.open .faq-a {
  opacity: 1;
  transform: translateY(0);
}
.faq-a p {
  margin: 0;
  padding: 0 12px 22px;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.faq-consult-card {
  background: #fff;
  border-radius: 28px;
  padding: 44px 40px 40px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05) inset;
}
.faq-consult-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #0A3055;
  margin: 0 0 32px;
}
.faq-consult-form .faq-consult-field { margin-bottom: 18px; }
.faq-consult-form .faq-consult-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.faq-consult-form .faq-consult-field:nth-child(3) label,
.faq-consult-form .faq-consult-field:nth-child(4) label {
  display: none;
}
.faq-consult-form .faq-consult-field input,
.faq-consult-form .faq-consult-field textarea {
  width: 100%;
  padding: 15px 22px;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  background: #f8f8f8;
  font-size: 16px;
  box-sizing: border-box;
}
.faq-consult-form .faq-consult-field textarea { resize: vertical; min-height: 100px; }
.faq-consult-form .faq-consult-field:nth-child(3) {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #dfdfdf;
}
.faq-consult-hint {
  font-size: 13px;
  color: #666;
  margin: 0 0 8px;
  line-height: 1.5;
}
.faq-consult-privacy {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.4;
}
.faq-btn-consult {
  display: block;
  width: 240px;
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 24px;
  background: #0a3055;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-btn-consult:hover { background: #082847; }

@media (max-width: 767px) {
  .faq-two-col { gap: 34px; }
  .faq-sec-title { font-size: 24px; margin: 0 0 24px; }
  .faq-q {
    font-size: 16px;
    line-height: 1.45;
    padding: 18px 0;
    gap: 10px;
  }
  .faq-icon {
    width: 22px;
    height: 22px;
    font-size: 42px;
  }
  .faq-a p { font-size: 13px; line-height: 1.6; }
  .faq-a p { padding: 0 0 16px; }
  .faq-consult-card { padding: 34px 14px 30px; border-radius: 20px; }
  .faq-consult-title { font-size: 20px; margin-bottom: 22px; }
  .faq-consult-form .faq-consult-field { margin-bottom: 14px; }
  .faq-consult-form .faq-consult-field label {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .faq-consult-form .faq-consult-field input,
  .faq-consult-form .faq-consult-field textarea {
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .faq-consult-form .faq-consult-field:nth-child(3) {
    margin-top: 16px;
    padding-top: 16px;
  }
  .faq-consult-form .faq-consult-field textarea { min-height: 96px; }
  .faq-consult-privacy { font-size: 10px; margin: 0 0 14px; }
  .faq-btn-consult {
    width: min(240px, 72vw);
    padding: 13px 18px;
    font-size: 16px;
    border-radius: 12px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .faq-two-col { gap: 48px; }
  .faq-list-wrap { max-width: 640px; margin: 0 auto; }
  .faq-q {
    padding: 22px 8px;
    font-size: 18px;
  }
  .faq-icon {
    width: 24px;
    height: 24px;
    font-size: 32px;
  }
  .faq-consult-card {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 42px 32px 36px;
  }
  .faq-consult-title { font-size: 22px; }
}

/* 오시는 길 */
/* 오시는 길 (Section 7) */
.location-sec { background: #fff; }
.location-sec .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.location-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  color: #1a1a1a;
  margin: 0;
}
.location-sec .map-wrap {
  width: 336px;
  max-width: 100%;
  height: 165px;
  margin: 10px auto;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.95rem;
  border-radius: 8px;
  overflow: hidden;
  opacity: 1;
}
.location-sec .map-wrap .location-map-inner {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 100%;
  opacity: 1;
}
.location-sec .map-wrap .map-placeholder {
  padding: 1rem;
  text-align: center;
}
.location-addr {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 32.5px;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  margin: 1.5rem 0 0;
  color: #333;
}
@media (max-width: 991px) {
  .location-sec .section-inner { text-align: center; }
}

/* 오시는 길 - 태블릿 (768px ~ 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .location-sec .map-wrap {
    width: 470px;
    height: 314px;
  }
  .location-sec .map-wrap .location-map-inner {
    min-height: 314px;
  }
  .location-addr {
    font-size: 24px;
    line-height: 32px;
  }
}

/* 오시는 길 - 데스크톱 (1025px 이상) */
@media (min-width: 1025px) {
  .location-sec .section-inner {
    max-width: 1440px;
    padding-left: 120px;
    padding-right: 120px;
  }
  .location-sec .map-wrap {
    width: 840px;
    height: 540px;
  }
  .location-sec .map-wrap .location-map-inner {
    min-height: 540px;
  }
  .location-addr {
    font-size: 24px;
    line-height: 32px;
  }
}
/* 푸터 */
.landing-footer {
  background: #555555;
  color: #fff;
  font-family: Montserrat, Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  padding: 40px 0;
}
.landing-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.landing-footer-left {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.landing-footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.landing-footer-logo img {
  width: 130px;
  height: 80px;
  display: block;
  margin-bottom: 4px;
  object-fit: contain;
  opacity: 1;
}
.landing-footer-info {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.landing-footer-info p {
  margin: 0 0 6px;
}
.landing-footer-info p:last-child,
.landing-footer-copy { margin-bottom: 0; }
.landing-footer a { color: #fff; text-decoration: none; }
.landing-footer a:hover { text-decoration: underline; }

/* 플로팅 퀵 메뉴 */
.landing-floating-menu {
  position: fixed;
  right: 24px;
  bottom: 40px;
  width: 200px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  overflow: hidden;
  z-index: 1100;
  box-sizing: border-box;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
}

.landing-floating-menu__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  gap: 10px;
  background: #B38855;
  border-radius: 24px 24px 0 0;
  height: 69px;
  box-sizing: border-box;
}

.landing-floating-menu__title {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #fff;
}

/* 데스크톱 기본: Quick Menu만 보이도록 */
.landing-floating-menu__title--desktop {
  display: inline-block;
}
.landing-floating-menu__title--mobile {
  display: none;
}

.landing-floating-menu__sns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px;
  gap: 12px;
  background: #fff;
}

.landing-floating-menu__sns-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.landing-floating-menu__sns-item {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
}

.landing-floating-menu__sns-item img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.landing-floating-menu__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  background: #B38855;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.landing-floating-menu__block--tel {
  border-bottom: 1px solid #FFFFFF;
}

.landing-floating-menu__block--consult {
  border-bottom: 1px solid #FFFFFF;
}

.landing-floating-menu__block--top {
  background: #555555;
  border-radius: 0 0 24px 24px;
}

.landing-floating-menu__block-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  height: 29px;
}

.landing-floating-menu__block-title--top {
  gap: 8px;
}

.landing-floating-menu__block-label {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
}

.landing-floating-menu__block-sub {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
}

.landing-floating-menu__block-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.landing-floating-menu__block-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

@media (min-width: 992px) {
  .landing-floating-menu {
    right: 32px;
    bottom: 48px;
  }
}

/* 모바일 전용 플로팅 메뉴 (하단 풀폭 5아이콘 바) */
.landing-floating-menu-mobile {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(420px, 100% - 32px);
  height: 72px;
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  gap: 12px;
  background: rgba(179, 136, 85, 0.8);
  box-sizing: border-box;
  z-index: 1100;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  backdrop-filter: blur(8px);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.lfm-m__item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px 10px;
  gap: 4px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  color: #FFFFFF;
}

.lfm-m__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lfm-m__icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.lfm-m__item--kakao .lfm-m__icon img {
  width: 28px;
  height: 28px;
}

.lfm-m__label {
  height: 17px;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #FFFFFF;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 480px) {
  .landing-floating-menu-mobile {
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
    width: 100%;
    left: 0;
    transform: none;
  }
  .lfm-m__label {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .landing-footer {
    padding: 34px 0;
  }
  .landing-footer-inner {
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: nowrap;
  }
  .landing-footer-left {
    align-items: center;
    gap: 34px;
    flex-wrap: nowrap;
  }
  .landing-footer-logo img {
    width: 140px;
    height: 86px;
    margin-bottom: 0;
  }
  .landing-footer-info {
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    line-height: 1.7;
  }
  .landing-footer-info p {
    margin: 0 0 4px;
    white-space: nowrap;
  }
}

/* -------------------------------------------
   Scroll Reveal Animation (공통)
------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* -------------------------------------------
   Section Specific Animations
------------------------------------------- */

/* Sec2: 성공사례 카드 호버 효과 */
.success-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 992px) {
  .success-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  }
}

/* Sec4: 자격 리스트 체크 아이콘 애니메이션 */
.eligibility-list li {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.eligibility-box.is-visible .eligibility-list li {
  opacity: 1;
  transform: translateX(0);
}
/* 리스트 아이템 순차 등장 */
.eligibility-box.is-visible .eligibility-list li:nth-child(1) { transition-delay: 0.1s; }
.eligibility-box.is-visible .eligibility-list li:nth-child(2) { transition-delay: 0.2s; }
.eligibility-box.is-visible .eligibility-list li:nth-child(3) { transition-delay: 0.3s; }
.eligibility-box.is-visible .eligibility-list li:nth-child(4) { transition-delay: 0.4s; }

/* Sec3: Why HANSU 이미지 등장 */
.reason-img-wrap {
  position: relative;
  overflow: hidden;
}
.reason-img-wrap img {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1.1);
}
.reason-img-wrap.is-visible img {
  transform: scale(1);
}

/* Sec6: FAQ 아이템 순차 등장 */
.faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.faq-list-wrap.is-visible .faq-item {
  opacity: 1;
  transform: translateY(0);
}
.faq-list-wrap.is-visible .faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-list-wrap.is-visible .faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-list-wrap.is-visible .faq-item:nth-child(3) { transition-delay: 0.3s; }


/* PC/Tablet: 섹션 헤딩 eyebrow-title 간격 통일 */
@media (min-width: 768px) {
  .landing-wrap .dash-eyebrow,
  .landing-wrap .success-eyebrow,
  .landing-wrap .step-eyebrow,
  .landing-wrap .reason-eyebrow,
  .landing-wrap .qual-eyebrow,
  .landing-wrap .team-eyebrow {
    margin-bottom: 32px;
  }
}

/* 랜딩 섹션 공통 헤딩 타이포 통일 */
.landing-wrap .dash-eyebrow,
.landing-wrap .success-eyebrow,
.landing-wrap .step-eyebrow,
.landing-wrap .reason-eyebrow,
.landing-wrap .qual-eyebrow,
.landing-wrap .team-eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 14.4px;
  letter-spacing: 0.02em;
}

.landing-wrap .dash-title,
.landing-wrap .success-title,
.landing-wrap .step-title,
.landing-wrap .reason-title,
.landing-wrap .qual-title,
.landing-wrap .team-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 32.5px;
  letter-spacing: 0;
}
@media (max-width: 991px) {
  .landing-wrap .dash-eyebrow,
  .landing-wrap .success-eyebrow,
  .landing-wrap .step-eyebrow,
  .landing-wrap .reason-eyebrow,
  .landing-wrap .qual-eyebrow,
  .landing-wrap .team-eyebrow {
    font-size: 16px;
    line-height: 1.2;
  }

  .landing-wrap .dash-title,
  .landing-wrap .success-title,
  .landing-wrap .step-title,
  .landing-wrap .reason-title,
  .landing-wrap .qual-title,
  .landing-wrap .team-title,
  .landing-wrap .legal-info-title,
  .landing-wrap .diag-sec-title,
  .landing-wrap .location-title {
    font-size: 32px;
    line-height: 1.25;
  }
}
@media (max-width: 767px) {
  .landing-wrap .dash-eyebrow,
  .landing-wrap .success-eyebrow,
  .landing-wrap .step-eyebrow,
  .landing-wrap .reason-eyebrow,
  .landing-wrap .qual-eyebrow,
  .landing-wrap .team-eyebrow {
    font-size: 13px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .landing-wrap .dash-title,
  .landing-wrap .success-title,
  .landing-wrap .step-title,
  .landing-wrap .reason-title,
  .landing-wrap .qual-title,
  .landing-wrap .team-title,
  .landing-wrap .legal-info-title,
  .landing-wrap .diag-sec-title,
  .landing-wrap .location-title {
    font-size: 26px;
    line-height: 1.35;
  }
}

/* 데스크톱 간격 보정 (피그마 기준 섹션/카드 리듬 정리) */
@media (min-width: 992px) {
  .landing-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .dash-title,
  .success-title,
  .step-title,
  .reason-title,
  .qual-title,
  .team-title,
  .legal-info-title,
  .diag-sec-title {
    margin-bottom: 4rem !important;
  }
  .dash-title {
    margin-bottom: 12px !important;
  }
  .dash-desc {
    margin-bottom: 4rem;
  }
  .success-cards,
  .step-cards,
  .team-features,
  .legal-info-cards {
    gap: 16px;
  }
  .legal-info-sec {
    padding-bottom: 44px;
  }
  .eligibility-grid-sec {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* 모바일 전용 레이아웃 보정 */
@media (max-width: 767px) {
  .landing-section {
    padding: 44px 0 56px;
    scroll-margin-top: calc(var(--landing-header-offset) + 10px);
  }

  /* 모바일 하단 플로팅 메뉴 고려: 여백을 다소 줄임 */
  .legal-info-sec {
    padding-bottom: 44px;
  }

  #section-hero {
    min-height: auto;
  }

  .stats-wrap { padding: 28px 0; }
  .stats-inner { gap: 16px; }
  .stats-wrap .stat-num {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 6px;
  }
  .stats-wrap .stat-label {
    font-size: 12px;
    line-height: 1.4;
  }

  .dash-sec { padding: 52px 0 60px; }
  .dash-card-full { margin-bottom: 30px; }
  .dash-eyebrow {
    font-size: 13px;
    line-height: 1.25;
  }
  .dash-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 16px;
  }
  .dash-title-break { display: inline; }
  .dash-desc {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.6;
  }
  .dash-cards-row { gap: 16px; }
  .dash-card {
    padding: 26px 22px;
    border-radius: 24px;
  }
  .dash-card-title {
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 18px;
  }
  .dash-card-title--live { font-size: 28px; }
  .live-status-list li {
    padding: 12px 0;
    font-size: 13px;
    gap: 10px;
  }
  .live-status-list .status-tag {
    min-width: 58px;
    font-size: 10px;
    padding: 5px 9px;
    border-radius: 8px;
  }
  .live-status-list .name {
    font-size: 11px;
    line-height: 1.3;
  }
  .graph-svg {
    min-height: 250px;
  }

  .success-title,
  .step-title,
  .reason-title,
  .qual-title,
  .team-title,
  .legal-info-title,
  .diag-sec-title,
  .location-title {
    font-size: 1.6rem;
    line-height: 1.35;
  }

  .success-cards,
  .step-cards,
  .team-features,
  .legal-info-cards {
    gap: 12px;
  }
  .success-card-headline {
    font-size: 0.95rem;
    margin: 8px 14px 10px;
  }
  .success-card-desc {
    font-size: 13px;
    margin: 0 14px 16px;
  }

  .step-card { padding: 18px 14px; border-radius: 10px; }
  .step-num { font-size: 16px; margin-bottom: 8px; }
  .step-card-title { font-size: 1.05rem; margin: 0 0 10px; }
  .step-card-desc { font-size: 12px; line-height: 1.55; font-weight: 500; }

  .reason-sec .reason-title { font-size: 26px; line-height: 1.35; }
  .reason-grid { gap: 24px; }
  .reason-img-wrap {
    max-width: 220px;
    min-height: 0;
  }
  .reason-quote {
    font-family: "Font 1", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #0A3055;
    margin-bottom: 18px;
  }
  .reason-body {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .reason-name {
    font-size: 18px;
    margin-top: 8px;
  }

  .qual-marquee {
    overflow: visible;
  }
  .qual-list {
    gap: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
  .qual-list .qual-item {
    min-width: 0;
    max-width: none;
    width: min(78vw, 280px);
    flex: 0 0 auto;
    scroll-snap-align: none;
  }
  .qual-cert-wrap {
    border-radius: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    aspect-ratio: auto;
    margin-bottom: 12px;
  }
  .qual-cert-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d7c5b0;
    box-shadow: 0 10px 24px rgba(63, 45, 21, 0.08);
    padding: 10px;
    box-sizing: border-box;
    filter: contrast(1.06) saturate(1.02);
  }
  .qual-label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #8a6337;
    margin-bottom: 10px;
  }
  .qual-list .qual-dot {
    display: block !important;
    width: 7px;
    height: 7px;
    background: #B38855;
    margin: 0 0 18px;
    align-self: center;
  }

  .team-photo-wrap {
    margin: 0 auto 1rem;
    aspect-ratio: 4 / 3;
  }
  .team-feature { padding: 18px 14px; border-radius: 10px; }
  .team-feature-title { font-size: 1rem; margin-bottom: 10px; }
  .team-feature-desc { font-size: 13px; line-height: 1.55; }

  .eligibility-grid-sec {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .eligibility-grid { gap: 20px; }
  .eligibility-box {
    padding: 20px 14px 16px;
    border-radius: 22px;
  }
  .eligibility-box-title {
    min-height: 46px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 12px;
  }
  .eligibility-list { gap: 0; }
  .eligibility-list li {
    min-height: 0;
    padding: 11px 6px;
    font-size: 13px;
    line-height: 1.55;
  }
  .eligibility-list li:first-child {
    padding-top: 13px;
  }
  .eligibility-list li:last-child {
    padding-bottom: 13px;
  }
  .eligibility-list li:before {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }
  .eligibility-grid .eligibility-box:nth-child(2) .eligibility-list li:before,
  .eligibility-grid .eligibility-box:nth-child(4) .eligibility-list li:before {
    width: 18px;
    height: 18px;
    background: url(../img/heart.png) no-repeat center;
    background-size: contain;
  }

  .diag-sec-title { margin: 0 0 1.5rem; }
  .diag-two-col { gap: 32px; }
  .diag-form-wrap .diag-label { font-size: 14px; margin-bottom: 10px; }
  .diag-field { margin-bottom: 16px; }
  .diag-toggles { gap: 0; flex-wrap: nowrap; border-radius: 12px; }
  .diag-toggle {
    min-width: 0;
    width: auto;
    min-height: 50px;
    height: auto;
    padding: 10px 28px 10px 8px;
    font-size: 12.5px;
    line-height: 1.25;
    border-radius: 0;
  }
  .diag-toggle::after {
    right: 8px;
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
  #diag_income_amount_group .diag-toggle {
    padding: 10px 24px 10px 8px;
  }
  #diag_income_amount_group .diag-toggle .diag-toggle-copy--range {
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
  }
  .diag-input {
    font-size: 14px;
    padding: 12px 62px 12px 14px;
    border-radius: 12px;
  }
  .diag-suffix {
    right: 14px;
    font-size: 13px;
  }
  .diag-divider { margin: 2px 0 18px; }
  .diag-disclaimer {
    margin: 0 0 16px;
    font-size: 11px;
    line-height: 1.45;
  }
  .diag-btn-calc {
    width: min(240px, 72vw);
    padding: 13px 18px;
    font-size: 16px;
    border-radius: 12px;
  }
  .diag-consult-card {
    padding: 34px 16px 30px;
    border-radius: 20px;
  }
  .diag-consult-title {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .diag-consult-slogan {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 16px;
  }
  .diag-consult-tel {
    width: 100%;
    min-height: 66px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 26px;
  }
  .diag-consult-card label {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .diag-consult-form .diag-consult-field {
    margin-bottom: 12px;
  }
  .diag-consult-form .diag-consult-field input {
    font-size: 14px;
    padding: 11px 12px;
    border-radius: 12px;
  }
  .diag-consult-note {
    margin-bottom: 14px;
    font-size: 10px;
    line-height: 1.4;
  }
  .diag-btn-consult {
    width: min(240px, 72vw);
    padding: 13px 18px;
    font-size: 16px;
    border-radius: 12px;
  }

  .location-sec .map-wrap {
    width: 100%;
    height: 165px;
    margin: 8px auto;
  }
  .location-sec .map-wrap .location-map-inner {
    min-height: 165px;
    min-width: 0;
  }
  .location-addr {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 1rem;
  }

  .landing-footer { padding: 28px 0; }
  .landing-footer-inner {
    align-items: flex-start;
    gap: 16px;
  }
  .landing-footer-left {
    gap: 16px;
    flex-direction: column;
  }
  .landing-footer-logo img {
    width: 96px;
    height: 58px;
  }
  .landing-footer-info { font-size: 11px; line-height: 1.6; }
  /* 모바일에선 별도 플로팅 메뉴 사용 */
  .landing-floating-menu {
    display: none;
  }
  .landing-floating-menu-mobile {
    display: flex;
  }
}
