/* 모바일 최적화 보정 — 다른 스타일시트 뒤에 로드 */

/* 섹션 제목 기본색이 배경(베이지)과 같아서, 글자 분할 효과가 없는 모바일에서 제목이 안 보이던 문제 */
.section-title { color: var(--black); }

/* 개인정보 [내용보기] 링크가 흰 배경에서 거의 안 보이던 문제 */
#privacyLinkForm { color: #5b6763 !important; text-decoration: underline; text-underline-offset: 2px; }

/* 모바일 상단바 무료 상담 신청 버튼 (데스크톱은 .nav-cta가 있으므로 숨김) */
.mobile-top-cta { display: none; }

@media (max-width: 768px) {
  .top-nav .mobile-top-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: 8px !important;
    padding: 8px 13px !important;
    background: var(--black) !important;
    color: var(--white) !important;
    border: 2px solid var(--black) !important;
    border-radius: 4px !important;
    box-shadow: 2px 2px 0 var(--accent-orange) !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    z-index: 102 !important;
  }
  .top-nav .mobile-menu-btn {
    margin-left: 0 !important;
  }
}

body.is-mobile .top-nav .mobile-top-cta,
body.is-tablet .top-nav .mobile-top-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: 8px !important;
  padding: 8px 13px !important;
  background: var(--black) !important;
  color: var(--white) !important;
  border: 2px solid var(--black) !important;
  border-radius: 4px !important;
  box-shadow: 2px 2px 0 var(--accent-orange) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  z-index: 102 !important;
}
body.is-mobile .top-nav .mobile-menu-btn,
body.is-tablet .top-nav .mobile-menu-btn {
  margin-left: 0 !important;
}

@media (max-width: 1024px) {
  /* 후기 슬라이드용 overflow:hidden이 FAQ 카드 그림자(6px)를 잘라내던 문제 */
  #section-8 .faq-column { box-sizing: border-box; padding: 0 8px 8px 0; }
}

@media (max-width: 600px) {
  /* 우측 점 내비게이션: 모바일에서 카드·폼과 겹치고 누르기도 어려워 숨김 */
  .nav-dots { display: none !important; }

  /* 첫 화면 버튼 글자가 "무료 상담 신 / 청"처럼 끊기던 문제 */
  .hero-cta-group { gap: 10px; }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline { padding: 14px 16px; white-space: nowrap; font-size: 15px; }

  /* 통계 라벨 10px → 읽을 수 있는 크기 */
  #section-1 .stat-label { font-size: 12px; }
}
