/* 최길환 법률사무소 - tax123(모모든+윤 테마) 기반 프리미엄 법률 디자인 시스템 */
:root {
  /* 메인 및 서브 컬러 시스템 (_workplan.ini 규격) */
  --primary: #1960ff;
  --primary-dark: #0e2040;  /* 딥 로열 네이비 */
  --primary-light: #eef4ff; /* 연한 블루 배경 */
  --primary-mid: #334e68;   /* 프리미엄 슬레이트 */
  
  /* 하단 백그라운드 전용 컬러 */
  --footer-bg: #0a172c;     /* 다크 네이비 */

  /* 포인트 컬러 (신뢰의 로열 블루 & 스카이 블루) */
  --point-1: #1960ff; /* 주 포인트: #1960ff */
  --point-2: #4d8bff; /* 서브 포인트: 부드러운 스카이 블루 */
  --point-3: #0e2040;
  --point-4: #1960ff;
  
  /* 배경 및 중성색 (라포 스타일 정갈한 슬레이트 톤) */
  --bg-light: #f8fafc; /* 라포 스타일 맑은 슬레이트 화이트 */
  --bg-slate: #f1f5f9;
  --bg-white: #ffffff;
  --text-dark: #0f172a; /* 라포 고대비 딥 차콜 */
  --text-gray: #475569; /* 라포 슬레이트 그레이 */
  --text-muted: #64748b;
  --border-light: #e2e8f0; /* 라포 시그니처 미세 테두리 */

  /* 신호등 전용 컬러 */
  --signal-red: #ff3b30;
  --signal-yellow: #ffcc00;
  --signal-green: #34c759;

  /* 레이아웃 규격 (tax123 wrap 1340px 규격) */
  --header-height: 100px;
  --container-width: 1340px;
}

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

body, button, input, select, textarea {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Pretendard Variable", Pretendard, sans-serif !important;
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.35;
}

html {
  font-size: 17px; /* 라포 기준 폰트 스케일 상향 (기존 16px -> 17px) */
  scroll-behavior: smooth;
}

body {
  font-size: 17px;
  line-height: 1.75; /* 라포 기준 시원하고 편안한 줄간격 */
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, li { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

.contain {
  width: var(--container-width);
  max-width: 95%;
  margin: 0 auto;
  position: relative;
}

/* ========== 애니메이션 엔진 (기본 가시성 100% 보장 - 빈 화면 원천 방지) ========== */
.anim-ready,
.anim-reveal-left,
.anim-zoom-in,
.fade-in-up {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.anim-ready.active,
.anim-reveal-left.active {
  opacity: 1 !important;
  transform: none !important;
}

/* ========== Floating Phone Badge (모바일 하단 플로팅) ========== */
@keyframes microBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.floating-call {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 15px;
  animation: microBounce 2.5s infinite ease-in-out;
}

.call-badge {
  background: var(--point-1);
  color: #fff;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15.5px;
  box-shadow: 0 10px 25px rgba(25, 96, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.call-badge:hover {
  transform: translateY(-4px);
  background: #fff;
  color: var(--point-1);
  border: 1px solid var(--point-1);
}

@media (max-width: 768px) {
  .floating-call {
    right: 15px;
    bottom: 20px;
  }
  .call-badge {
    padding: 11px 20px;
    font-size: 14px;
  }
}

/* ========== 버튼 및 카드 공통 컴포넌트 ========== */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 38px;
  font-size: 17px; /* 라포 기준 버튼 폰트 스케일 */
  font-weight: 700;
  border-radius: 12px; /* 라포 스타일 모던 라운딩 */
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--point-1);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(25, 96, 255, 0.28);
}

.btn-primary:hover {
  background: #0d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(25, 96, 255, 0.38);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-3px);
  color: #ffffff;
}

/* ========== Header 리뉴얼 (수평형 로고 & 빈틈 없는 완벽 반응형) ========== */
.pc-only {
  display: flex !important;
}
.mobile-only {
  display: none !important;
}

#boxTop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.boxLogo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

nav.gnb ul {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav.gnb .mn {
  font-size: 20px !important;
  font-weight: 700 !important;
  position: relative;
  padding-bottom: 5px;
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}

nav.gnb .mn:hover {
  color: var(--point-1);
}

nav.gnb .mn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--point-1);
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

nav.gnb .mn:hover::after {
  width: 100%;
}

.boxTel .btn-premium {
  padding: 12px 24px;
  font-size: 15.5px;
  white-space: nowrap;
}

.gnb-mobile {
  display: none;
}
.mobile-header-call {
  display: none;
}

/* ========== 가로폭을 좁히거나 모바일일 때 (상단 헤더와 GNB 사이 빈틈 원천 제거) ========== */
@media (max-width: 1080px) {
  .pc-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
  #boxTop {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    flex-direction: column !important;
  }
  .header-inner {
    height: 54px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .boxLogo {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header-logo-img {
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .mobile-header-call {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: var(--point-1) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    margin: 0 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
  }
  .gnb {
    display: none !important;
  }
  /* 모바일 GNB: 상단 헤더 바로 아래 밀착, 빈틈 완전 제거 */
  .gnb-mobile {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--border-light) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  }
  .gnb-mobile a {
    flex: 1 !important;
    text-align: center !important;
    padding: 10px 0 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    border-bottom: 2.5px solid transparent !important;
    transition: color 0.2s, border-color 0.2s !important;
  }
  .gnb-mobile a.on {
    color: var(--point-1) !important;
    border-bottom-color: var(--point-1) !important;
  }
}

/* ========== Main Visual Hero (tax123 구조) ========== */
.main-visual {
  position: relative;
  height: 100vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}

.visual-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
  opacity: 0.18;
  z-index: 0;
}

.main-visual .contain {
  position: relative;
  z-index: 1;
}

.visual-content {
  max-width: 900px;
}

.visual-content .subtitle {
  font-size: 15px; /* 기존 17px의 ~80% */
  font-weight: 800;
  letter-spacing: -0.03em !important; /* 요청: letter-spacing:-0.03em */
  margin-bottom: 20px;
  color: var(--point-2);
}

.visual-content h1 {
  font-size: 43px; /* 기존 54px의 80% */
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.35;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.visual-content .desc {
  font-size: 16px; /* 기존 20px의 80% */
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}

.visual-content .btn-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .main-visual {
    height: auto;
    min-height: 580px;
    padding: 130px 0 70px;
  }
  .visual-content .subtitle {
    font-size: 13px !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 14px;
  }
  .visual-content h1 {
    font-size: 27px !important; /* 기존 34px의 80% */
    line-height: 1.35;
  }
  .visual-content .desc {
    font-size: 14px !important; /* 기존 17px의 ~80% */
    margin-bottom: 24px;
  }
}

/* ========== 6대 전문 업무분야 (tax123 모모든 테마 카드 완벽 이식) ========== */
#main_services_m {
  padding: 110px 0;
  background: var(--bg-light);
}

#main_services_m .title {
  text-align: center;
  margin-bottom: 60px;
}

#main_services_m .title .sub_tit {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--point-1);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

#main_services_m .title h2 {
  font-size: 44px; /* 라포 기준 헤딩 */
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

#main_services_m .title .desc {
  font-size: 19px; /* 라포 기준 18~19px 설명글 */
  color: var(--text-gray);
  line-height: 1.8;
}

#main_services_m .con_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

#main_services_m .itm {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

#main_services_m .itm:hover {
  transform: translateY(-8px);
  border-color: var(--point-1);
  box-shadow: 0 16px 36px rgba(25, 96, 255, 0.12);
}

#main_services_m .itm .img_box {
  position: relative;
  height: 230px;
  overflow: hidden;
}

#main_services_m .itm .img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

#main_services_m .itm:hover .img_box img {
  transform: scale(1.08);
}

#main_services_m .itm .img_box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 32, 64, 0.85) 0%, rgba(14, 32, 64, 0.15) 100%);
}

#main_services_m .itm .img_box .tit {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: #ffffff;
}

#main_services_m .itm .img_box .tit em {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--point-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

#main_services_m .itm .img_box .tit h3 {
  font-size: 23px; /* 라포 카드 타이틀 23px */
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.35;
}

#main_services_m .itm .txt_box {
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-grow: 1;
  background: #ffffff;
}

#main_services_m .itm .txt_box .desc {
  font-size: 16.5px; /* 라포 기준 카드 설명 16.5px */
  color: var(--text-gray);
  line-height: 1.75;
  padding-right: 15px;
}

#main_services_m .itm .txt_box .icon {
  font-size: 28px;
  color: var(--point-1);
  opacity: 0.8;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

#main_services_m .itm:hover .txt_box .icon {
  transform: translateX(4px);
  color: #0d4ed8;
  opacity: 1;
}

@media (max-width: 1024px) {
  #main_services_m .con_wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  #main_services_m {
    padding: 70px 0;
  }
  #main_services_m .con_wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #main_services_m .title h2 {
    font-size: 28px;
  }
}

/* ========== 전문가 프로필 섹션 (tax123 구조) ========== */
.main-expert {
  padding: 110px 0;
  background: #ffffff;
}

.expert-wrap {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
}

.expert-image {
  position: relative;
}

.expert-image .img-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
}

.expert-image .ceo-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.expert-image .badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--point-1);
  color: #fff;
  padding: 18px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(25, 96, 255, 0.35);
  text-align: center;
}

.expert-image .badge span {
  display: block;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.expert-image .badge p {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.expert-info .subtitle {
  font-size: 15px;
  font-weight: 800;
  color: var(--point-1);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.expert-info h2 {
  font-size: 42px; /* 라포 기준 42px */
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.expert-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 24px;
}

.expert-info .summary-desc {
  font-size: 18.5px; /* 라포 기준 18.5px */
  line-height: 1.85;
  color: var(--text-gray);
  margin-bottom: 32px;
}

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

.mt-50 {
  margin-top: 50px;
}

.about-card-career {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 36px;
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}

.about-card-career.career-box-1 {
  background: linear-gradient(145deg, #f0f7ff 0%, #ffffff 100%);
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.07);
}

.about-card-career.career-box-2 {
  background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
  border: 1.5px solid #bbf7d0;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.07);
}

.career-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.career-card-badge.blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.career-card-badge.green {
  background: #d1fae5;
  color: #047857;
}

.about-card-career .section-title-sub {
  font-size: 24px; /* 라포 카드 서브타이틀 */
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
}

.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  align-items: flex-start;
}

.about-card-career.career-box-2 .history-list li {
  border-color: #dcfce7;
}

.history-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

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

.history-list .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--point-1);
  margin-top: 6px;
  flex-shrink: 0;
}

.about-card-career.career-box-2 .history-list .dot {
  background: #059669;
}

.history-list .txt strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.45;
}

.history-list .txt p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .expert-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .expert-image .ceo-photo {
    height: 380px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* 변호사소개 모바일 폰트 및 2줄 정렬 (60% 수준 축소) */
  .expert-info .expert-main-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    word-break: keep-all !important;
    white-space: normal !important;
    margin-bottom: 14px !important;
  }

  /* 프로필 박스 상하 배치 */
  .expert-wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* 변호사 사진 70% 크기 축소 및 센터 정렬 유지 */
  .expert-image {
    width: 70% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }
  .expert-image .img-box {
    width: 100% !important;
    margin: 0 auto !important;
  }
  .expert-image .ceo-photo {
    width: 100% !important;
    height: auto !important;
    max-height: 360px !important;
    display: block !important;
  }
  .expert-image .badge {
    bottom: -12px !important;
    right: -10px !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
  }
  .expert-image .badge span {
    font-size: 20px !important;
  }
  .expert-image .badge p {
    font-size: 11px !important;
  }

  .expert-info .subtitle {
    font-size: 13.5px !important;
  }
  .expert-info h3 {
    font-size: 22px !important;
    margin-bottom: 16px !important;
  }
  .expert-info .summary-desc {
    font-size: 15.5px !important;
    line-height: 1.75 !important;
    margin-bottom: 24px !important;
  }

  /* 주요 이력 및 3대 약속 박스 모바일 레이아웃 정리 */
  .main-expert .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }
  .about-card-career {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }
  .about-card-career .section-title-sub {
    font-size: 20px !important;
    margin-bottom: 18px !important;
  }
  .history-list li {
    padding: 14px 14px !important;
    margin-bottom: 10px !important;
  }
  .history-list .txt strong {
    font-size: 15px !important;
  }
  .history-list .txt p {
    font-size: 13.5px !important;
  }
}

/* ========== Contact / 패럴랙스 신뢰도 배너 (tax123 #main_banner01 완벽 이식) ========== */
#main_banner01 {
  position: relative;
  background: #0e2040 url('../images/bg_prov.png') no-repeat center center/cover;
  background-attachment: fixed;
  color: #fff;
  overflow: hidden;
  padding: 120px 0;
}

#main_banner01::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 23, 44, 0.85);
}

#main_banner01 .con_wrap {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

#main_banner01 .sub_tit {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--point-2);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

#main_banner01 .banner_main_tit {
  font-size: 46px; /* 라포 배너 타이틀 46px */
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

#main_banner01 .proven_desc {
  font-size: 19.5px; /* 라포 기준 19.5px */
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 42px;
}

.trust_indicator {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 34px 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  margin-bottom: 40px;
}

.trust_indicator .trust_text {
  font-size: 19px; /* 라포 기준 19px */
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  flex-grow: 1;
}

.trust_indicator .trust_percent {
  text-align: right;
  flex-shrink: 0;
}

.trust_indicator .trust_percent .percent {
  font-size: 54px; /* 54px 대형 통계 폰트 */
  font-weight: 900;
  color: #ffffff;
  display: block;
  line-height: 1;
}

.trust_indicator .trust_percent .label {
  font-size: 15px;
  color: var(--point-2);
  margin-top: 6px;
  display: block;
  font-weight: 700;
}

/* 상담신청영역 4개 버튼 레이아웃 */
.contact-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 36px;
}

.contact-btns .icon_btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.contact-btns .icon_btn i {
  font-size: 22px;
  flex-shrink: 0;
}

.contact-btns .icon_btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.contact-btns .icon_btn span strong {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.contact-btns .icon_btn span small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-top: 3px;
}

.contact-btns .icon_btn.cbtn-tel {
  background: var(--point-1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(25, 96, 255, 0.35);
}
.contact-btns .icon_btn.cbtn-tel:hover {
  background: #0d4ed8;
  transform: translateY(-3px);
  color: #fff;
}

.contact-btns .icon_btn.cbtn-email {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}
.contact-btns .icon_btn.cbtn-email:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: #fff;
}

.contact-btns .icon_btn.cbtn-naver {
  background: rgba(3, 199, 90, 0.2);
  border-color: rgba(3, 199, 90, 0.5);
}
.contact-btns .icon_btn.cbtn-naver i {
  color: #2ed573;
}
.contact-btns .icon_btn.cbtn-naver:hover {
  background: #03c75a;
  color: #fff;
  transform: translateY(-3px);
}
.contact-btns .icon_btn.cbtn-naver:hover i {
  color: #fff;
}

.contact-btns .icon_btn.cbtn-kakao {
  background: rgba(254, 229, 0, 0.2);
  border-color: rgba(254, 229, 0, 0.5);
}
.contact-btns .icon_btn.cbtn-kakao i {
  color: #ffeaa7;
}
.contact-btns .icon_btn.cbtn-kakao:hover {
  background: #fee500;
  color: #191919;
  transform: translateY(-3px);
}
.contact-btns .icon_btn.cbtn-kakao:hover span strong,
.contact-btns .icon_btn.cbtn-kakao:hover span small,
.contact-btns .icon_btn.cbtn-kakao:hover i {
  color: #191919;
}

@media (max-width: 991px) {
  .contact-btns {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  #main_banner01 {
    padding: 70px 0;
  }
  #main_banner01 .banner_main_tit {
    font-size: 26px;
    line-height: 1.35;
  }
  #main_banner01 .proven_desc {
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 30px;
  }
  .trust_indicator {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px;
  }
  .trust_indicator .trust_percent {
    text-align: left;
    border-right: none !important;
    padding-right: 0 !important;
  }
  .trust_indicator .trust_percent .percent {
    font-size: 38px;
  }

  /* 모바일 상담신청 버튼: 적당하고 여유있는 가로폭 확보 */
  .contact-btns {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 24px !important;
  }
  .contact-btns .icon_btn {
    padding: 14px 10px !important;
    border-radius: 12px !important;
    gap: 8px !important;
    justify-content: center !important;
  }
  .contact-btns .icon_btn i {
    font-size: 18px !important;
  }
  .contact-btns .icon_btn span strong {
    font-size: 13.5px !important;
  }
  .contact-btns .icon_btn span small {
    font-size: 11px !important;
  }
}

@media (max-width: 440px) {
  .contact-btns {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .contact-btns .icon_btn {
    padding: 15px 16px !important;
    justify-content: flex-start !important;
  }
}

/* ========== Official Channels / Useful Links (tax123 구조) ========== */
.main-links {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.main-links .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.main-links .subtitle {
  font-size: 15px;
  font-weight: 800;
  color: var(--point-1);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.main-links h2 {
  font-size: 42px; /* 라포 헤딩 42px */
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.main-links .desc {
  font-size: 18.5px; /* 라포 18.5px */
  color: var(--text-gray);
  line-height: 1.8;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.link-card {
  background: #ffffff;
  padding: 44px 32px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-card:hover {
  transform: translateY(-8px);
  border-color: var(--point-1);
  box-shadow: 0 16px 36px rgba(25, 96, 255, 0.12);
}

.link-card .icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.link-card:nth-child(1) .icon { color: #ff0000; }
.link-card:nth-child(2) .icon { color: #03c75a; }
.link-card:nth-child(3) .icon { color: var(--point-1); }

.link-card:hover .icon {
  transform: scale(1.1);
}

.link-card h4 {
  font-size: 23px; /* 라포 카드 타이틀 23px */
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.link-card p {
  font-size: 16.5px; /* 라포 카드 설명 16.5px */
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 24px;
}

.link-card .btn-link {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--point-1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1024px) {
  .link-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========== Footer 리뉴얼 (tax123 완벽 일치) ========== */
footer {
  background: var(--footer-bg);
  padding: 80px 0 40px;
  color: #ffffff;
}

footer .footer-logo {
  margin-bottom: 20px;
}

footer .footer-section h4 {
  color: var(--point-2);
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: 1px;
}

footer .footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.65;
}

footer a { color: inherit; }

@media (max-width: 768px) {
  .footer-top {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0 !important;
  }
  .footer-sec-logo, .footer-sec-address {
    width: 100%;
  }
  .footer-sec-contact {
    width: 50% !important;
    margin: 0 !important;
    padding: 20px 15px 20px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    order: 2;
  }
  .footer-sec-links {
    width: 50% !important;
    margin: 0 !important;
    padding: 20px 0 20px 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    order: 3;
  }
  .footer-sec-logo { order: 1; }
  .footer-sec-address { order: 4; margin-top: 20px !important; }
}

/* ========== 세로형 신호등(Traffic Light) 위젯 (사이트 좌측 플로팅) ========== */
.traffic-light-wrap {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9995;
  transition: transform 0.3s ease;
}

.traffic-light-box {
  background: #111827;
  border: 3px solid #1f293d;
  border-radius: 40px;
  padding: 22px 14px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
}

/* 신호등 접기(X) 닫기 버튼 */
.traffic-close-btn {
  position: absolute;
  top: -10px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #374151;
  border: 1.5px solid #6b7280;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.traffic-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.15);
}

/* 신호등 접혔을 때 좌측 벽면에 표시되는 포켓 탭 */
.traffic-pocket-tab {
  display: none;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #111827;
  border: 2px solid #374151;
  border-left: none;
  border-radius: 0 16px 16px 0;
  padding: 12px 10px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 4px 8px 24px rgba(0,0,0,0.4);
  z-index: 9996;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.traffic-pocket-tab:hover {
  background: #1f2937;
  border-color: var(--point-1);
  padding-left: 14px;
}
.traffic-pocket-tab .pocket-traffic-icon {
  font-size: 18px;
}
.traffic-pocket-tab .pocket-traffic-txt {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 1px;
}

/* 신호등 포켓 상태 */
.traffic-light-wrap.is-pocketed .traffic-light-box {
  display: none !important;
}
.traffic-light-wrap.is-pocketed .traffic-pocket-tab {
  display: flex !important;
}

/* 신호등 상단 바이저 모자이크 */
.light-pole-cap {
  position: absolute;
  top: -12px;
  width: 32px;
  height: 12px;
  background: #1f293d;
  border-radius: 8px 8px 0 0;
}

/* 신호 램프 공통 */
.signal-lamp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.lamp-core {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lamp-core i {
  color: #ffffff;
  font-size: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.lamp-label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  margin-top: 6px;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

/* 🔴 빨강 신호: 0s ~ 3.5s 켜짐, 나머지 꺼짐 */
@keyframes realTrafficRed {
  0%, 35% {
    opacity: 1;
    filter: brightness(1.1);
    box-shadow: 0 0 22px rgba(214, 48, 49, 0.95), 0 0 45px rgba(214, 48, 49, 0.5);
  }
  38%, 97% {
    opacity: 0.25;
    filter: grayscale(60%) brightness(0.5);
    box-shadow: none;
  }
  100% {
    opacity: 1;
    filter: brightness(1.1);
    box-shadow: 0 0 22px rgba(214, 48, 49, 0.95), 0 0 45px rgba(214, 48, 49, 0.5);
  }
}

/* 🟡 노랑 신호: 3.5s ~ 5.0s 켜짐, 나머지 꺼짐 */
@keyframes realTrafficYellow {
  0%, 35% {
    opacity: 0.25;
    filter: grayscale(60%) brightness(0.5);
    box-shadow: none;
  }
  38%, 50% {
    opacity: 1;
    filter: brightness(1.1);
    box-shadow: 0 0 22px rgba(253, 203, 110, 0.95), 0 0 45px rgba(253, 203, 110, 0.5);
  }
  53%, 100% {
    opacity: 0.25;
    filter: grayscale(60%) brightness(0.5);
    box-shadow: none;
  }
}

/* 🟢 초록 신호: 5.0s ~ 9.0s 켜짐, 나머지 꺼짐 */
@keyframes realTrafficGreen {
  0%, 50% {
    opacity: 0.25;
    filter: grayscale(60%) brightness(0.5);
    box-shadow: none;
  }
  53%, 90% {
    opacity: 1;
    filter: brightness(1.1);
    box-shadow: 0 0 22px rgba(0, 184, 148, 0.95), 0 0 45px rgba(0, 184, 148, 0.5);
  }
  93%, 100% {
    opacity: 0.25;
    filter: grayscale(60%) brightness(0.5);
    box-shadow: none;
  }
}

/* 실제 도로 신호등 9.0초 주기 동기화 적용 */
.lamp-red .lamp-core {
  background: radial-gradient(circle at 35% 35%, #ff7675, #d63031);
  animation: realTrafficRed 9s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.lamp-yellow .lamp-core {
  background: radial-gradient(circle at 35% 35%, #ffeaa7, #fdcb6e);
  animation: realTrafficYellow 9s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.lamp-green .lamp-core {
  background: radial-gradient(circle at 35% 35%, #55efc4, #00b894);
  animation: realTrafficGreen 9s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.signal-lamp:hover .lamp-core {
  transform: scale(1.15);
  animation-play-state: paused;
  opacity: 1 !important;
  filter: brightness(1.2) !important;
}

.signal-lamp:hover .lamp-label {
  color: #ffffff;
}

/* 신호등 플라이아웃 툴팁 */
.signal-tooltip {
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 16px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.signal-tooltip strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.signal-tooltip p {
  margin: 0;
  font-size: 12px;
  color: #cbd5e1;
}

.signal-lamp:hover .signal-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

/* 모바일 뷰포트에서 신호등 위젯 (지금의 70% 크기로 좌측 노출 및 포켓 지원) */
@media (max-width: 991px) {
  .traffic-light-wrap {
    display: block !important;
    left: 4px;
    top: 50%;
    transform: translateY(-50%) scale(0.7) !important;
    transform-origin: left center;
  }
  .traffic-pocket-tab {
    transform: translateY(-50%) scale(0.85) !important;
    transform-origin: left center;
  }
}

/* ========== 우측 3개 독립 퀵메뉴 (전화번호, 블로그, 유튜브 - X 포켓 담기 & 모바일 지원) ========== */
.quick-floating-separate {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9995;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-card-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.quick-card {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1.5px solid var(--border-light);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 255px;
  box-sizing: border-box;
}

.quick-card:hover {
  transform: translateX(-6px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

.q-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

/* X 닫기 버튼 */
.q-close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 0;
}
.q-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.15);
}

/* 포켓에 담겼을 때 우측 가장자리에 표시되는 포켓 탭 */
.q-pocket-tab {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px 0 0 12px;
  border: 1.5px solid var(--border-light);
  border-right: none;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: -4px 6px 16px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
}
.q-pocket-tab:hover {
  padding-right: 16px;
  transform: translateX(-4px);
}
.q-pocket-tab.tab-phone {
  background: #0e2040;
  color: #ffffff;
  border-color: var(--point-1);
}
.q-pocket-tab.tab-phone i {
  color: var(--point-2);
}
.q-pocket-tab.tab-blog {
  background: #022c15;
  color: #ffffff;
  border-color: #03c75a;
}
.q-pocket-tab.tab-blog i {
  color: #86efac;
}
.q-pocket-tab.tab-youtube {
  background: #2b0808;
  color: #ffffff;
  border-color: #e50914;
}
.q-pocket-tab.tab-youtube i {
  color: #fca5a5;
}

/* 포켓 상태 활성화 시 */
.quick-card-wrapper.is-pocketed .quick-card {
  display: none !important;
}
.quick-card-wrapper.is-pocketed .q-pocket-tab {
  display: flex !important;
}

/* 퀵 1: 전화상담 (딥 네이비) */
.quick-card.card-phone {
  background: #0e2040;
  border: 2px solid var(--point-1);
}
.quick-card.card-phone .q-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--point-1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(25, 96, 255, 0.4);
}
.quick-card.card-phone .q-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--point-2);
  margin-bottom: 2px;
}
.quick-card.card-phone .q-val {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* 퀵 2: 블로그 (교통사고 사례해결 및 판례확인) */
.quick-card.card-blog {
  background: #ffffff;
  border: 2px solid #03c75a;
}
.quick-card.card-blog:hover {
  border-color: #028a3e;
  box-shadow: 0 12px 28px rgba(3, 199, 90, 0.25);
}
.quick-card.card-blog .blog-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #03c75a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(3, 199, 90, 0.35);
}
.quick-card.card-blog .q-tag {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #03c75a;
  margin-bottom: 2px;
}
.quick-card.card-blog .q-val {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.35;
}

/* 퀵 3: 유튜브 (교통사고 보상 TV) */
.quick-card.card-youtube {
  background: #ffffff;
  border: 2px solid #e50914;
}
.quick-card.card-youtube:hover {
  border-color: #b91c1c;
  box-shadow: 0 12px 28px rgba(229, 9, 20, 0.25);
}
.quick-card.card-youtube .yt-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e50914;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.35);
}
.quick-card.card-youtube .q-tag {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #e50914;
  margin-bottom: 2px;
}
.quick-card.card-youtube .q-val {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #1e293b;
}

/* 모바일 뷰포트 우측 퀵 (모바일에서도 노출 및 컴팩트 크기 적용) */
@media (max-width: 991px) {
  .quick-floating-separate {
    display: flex !important;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    gap: 8px;
  }
  .quick-card {
    width: 175px;
    border-radius: 12px;
  }
  .q-card-inner {
    padding: 8px 10px;
    gap: 8px;
  }
  .quick-card.card-phone .q-icon-box,
  .quick-card.card-blog .blog-icon,
  .quick-card.card-youtube .yt-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }
  .quick-card.card-phone .q-tag,
  .quick-card.card-blog .q-tag,
  .quick-card.card-youtube .q-tag {
    font-size: 9.5px;
  }
  .quick-card.card-phone .q-val {
    font-size: 13.5px;
  }
  .quick-card.card-blog .q-val {
    font-size: 10.5px;
    line-height: 1.25;
  }
  .quick-card.card-youtube .q-val {
    font-size: 12px;
  }
  .q-close-btn {
    width: 18px;
    height: 18px;
    font-size: 9px;
    top: -5px;
    right: -5px;
  }
  .q-pocket-tab {
    padding: 6px 9px;
    font-size: 11px;
    border-radius: 8px 0 0 8px;
  }
}


/* ========== 서브페이지 라포(Rapo) 스타일 컴포넌트 & 타이포그래피 ========== */
.sub-content {
  padding: 0 0 100px;
  background: var(--bg-white);
}

/* 1. 라포 히어로 섹션 (수정33: 상단 잘림 해소 및 폰트 축소 적용) */
.rapo-hero-section {
  position: relative;
  padding: 215px 0 60px; /* 80px 높이 추가하여 상단 뱃지가 완벽하게 온전하게 노출 */
  text-align: center;
  background: linear-gradient(135deg, #091528 0%, #0e2040 50%, #152f5c 100%);
  color: #ffffff;
  overflow: hidden;
  margin-bottom: 50px;
}

.rapo-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1950&q=80') center/cover;
  opacity: 0.12;
  z-index: 1;
}

.rapo-hero-section .wrap {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.rapo-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: rgba(25, 96, 255, 0.18);
  border: 1.5px solid rgba(77, 139, 255, 0.45);
  color: #70a1ff;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.rapo-hero-section h1,
.rapo-hero-section h2 {
  font-size: 25px; /* 서브hero 폰트 축소 32px -> 25px (상단 잘림 해소) */
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.38;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  word-break: keep-all;
}

.rapo-hero-section h1 span,
.rapo-hero-section h2 span {
  color: var(--point-2);
  background: linear-gradient(to right, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rapo-hero-section .subtitle {
  font-size: 14.5px; /* 서브타이틀 축소 */
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 860px;
  margin: 0 auto 16px;
  word-break: keep-all;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-divider {
  width: 60px;
  height: 4px;
  background: var(--point-1);
  border-radius: 2px;
  margin: 24px auto 0;
}

/* 2. 라포 인용구 섹션 */
.rapo-quote-section {
  position: relative;
  padding: 65px 30px;
  text-align: center;
  background: #0f172a;
  border-radius: 20px;
  margin-bottom: 70px;
  overflow: hidden;
  color: #ffffff;
}

.rapo-quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(25, 96, 255, 0.15) 0%, transparent 70%);
}

.rapo-quote-section .wrap {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.quote-symbol {
  font-size: 72px;
  font-family: Georgia, serif;
  color: var(--point-1);
  line-height: 1;
  margin-bottom: 6px;
}

.rapo-quote-section h3 {
  font-size: 26px; /* 라포 26px 인용구 */
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.6;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  word-break: keep-all;
}

.quote-author {
  font-size: 16px;
  font-weight: 700;
  color: var(--point-2);
}

/* 3. 라포 프로세스 STEP 로드맵 */
.rapo-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 70px;
}

.proc-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.35s ease;
  position: relative;
}

.proc-card:hover {
  transform: translateY(-8px);
  border-color: var(--point-1);
  box-shadow: 0 16px 36px rgba(25, 96, 255, 0.12);
}

.proc-step {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.step-blue { background: #1960ff; }
.step-purple { background: #6c5ce7; }
.step-orange { background: #e17055; }

.proc-card h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.proc-card p {
  font-size: 16.5px;
  color: var(--text-gray);
  line-height: 1.75;
}

/* 4. 라포 솔루션 카드 그리드 (2열 / 3열) */
.rapo-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 70px;
}

.rapo-solution-grid.col-3 {
  grid-template-columns: repeat(3, 1fr);
}

.rapo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 38px 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.rapo-card:hover {
  transform: translateY(-8px);
  border-color: var(--point-1);
  box-shadow: 0 16px 36px rgba(25, 96, 255, 0.12);
}

.rapo-card .card-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--point-1);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.rapo-card .card-icon-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.rapo-card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--point-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.rapo-card h3,
.rapo-card h4 {
  font-size: 23px; /* 라포 23px 카드 타이틀 */
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0;
}

.rapo-card .card-desc {
  font-size: 16.5px;
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 20px;
}

.rapo-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rapo-bullets li {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rapo-bullets li i {
  color: var(--point-1);
  margin-top: 4px;
  flex-shrink: 0;
}

/* 5. 라포 포커스 박스 (강조 인용 박스) */
.rapo-focus-box {
  background: #f8fafc;
  border-left: 4px solid var(--point-1);
  border-radius: 12px;
  padding: 26px 32px;
  margin-bottom: 40px;
}

.rapo-focus-box p {
  font-size: 17.5px;
  color: #1e293b;
  line-height: 1.8;
  margin: 0;
}

/* 6. 라포 비교 분석 테이블 박스 */
.rapo-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 70px;
}

.rapo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.rapo-table th {
  background: #f1f5f9;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

.rapo-table td {
  padding: 18px 24px;
  font-size: 16px;
  color: #334155;
  line-height: 1.65;
  border-bottom: 1px solid #f1f5f9;
}

.rapo-table tr:last-child td {
  border-bottom: none;
}

.rapo-table td.highlight {
  font-weight: 800;
  color: var(--point-1);
  background: #eff6ff;
}

/* 7. 라포 하단 CTA 배너 */
.rapo-cta-banner {
  background: linear-gradient(135deg, #0e2040 0%, #17376a 100%);
  border-radius: 20px;
  padding: 55px 40px;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.rapo-cta-banner h3 {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff !important;
  margin-bottom: 14px;
}

.rapo-cta-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

/* 8. 스크롤 진입 애니메이션 (절대 빈화면이 되지 않도록 기본 가시성 100% 보장) */
.rapo-anim {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.rapo-anim.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* 카운트 애니메이션 영역 및 신뢰 지표 가시성 100% 보장 */
#main_banner01,
#main_banner01 *,
.trust_indicator,
.trust_percent {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 서브페이지 기본 hero 숨김 (rapo-hero-section 사용) */
.sub-hero {
  display: none !important;
}

/* ========== 메인 히어로 타이핑 & 형광펜 하이라이트 효과 ========== */
.hero-highlight-wrap {
  position: relative;
  display: inline-block;
  color: #ffffff !important;
  font-weight: 900;
  z-index: 2;
  white-space: nowrap;
}

/* 형광펜 효과 (마커펜으로 쓱 긋는 듯한 유려한 애니메이션) */
.hero-highlight-wrap::before {
  content: '';
  position: absolute;
  left: -6px;
  bottom: 6px;
  width: 0;
  height: 44%;
  background: linear-gradient(90deg, #ffd700 0%, #ffbe0b 50%, #f59e0b 100%);
  border-radius: 4px;
  z-index: -1;
  transform: skew(-6deg);
  box-shadow: 0 0 25px rgba(255, 190, 11, 0.65), 0 2px 8px rgba(245, 158, 11, 0.4);
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-highlight-wrap.highlight-active::before {
  width: calc(100% + 12px);
}

.hero-cursor {
  display: inline-block;
  font-weight: 300;
  color: #ffd700;
  margin-left: 4px;
  animation: heroCursorBlink 0.8s infinite;
  vertical-align: baseline;
}

@keyframes heroCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .hero-highlight-wrap {
    white-space: normal;
  }
  .hero-highlight-wrap::before {
    bottom: 4px;
    height: 40%;
  }
}

@media (max-width: 1024px) {
  .rapo-hero-section h1,
  .rapo-hero-section h2 {
    font-size: 26px;
  }
  .rapo-process-grid,
  .rapo-solution-grid,
  .rapo-solution-grid.col-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========== 수정33: Hero Badge (서브페이지 공통) ========== */
.rapo-hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: rgba(25, 96, 255, 0.18);
  border: 1.5px solid rgba(77, 139, 255, 0.45);
  color: #70a1ff;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.rapo-hero-title {
  font-size: 25px; /* 서브hero 타이틀 축소 32px -> 25px (상단 잘림 완전 해소) */
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.38;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  word-break: keep-all;
}
.rapo-hero-title span {
  background: linear-gradient(to right, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rapo-hero-sub {
  font-size: 14.5px; /* 서브hero 서브텍스트 축소 15.5px -> 14.5px */
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 860px;
  margin: 0 auto 16px;
  word-break: keep-all;
  font-weight: 400;
}
.rapo-hero-divider {
  width: 44px;
  height: 3px;
  background: var(--point-1);
  border-radius: 2px;
  margin: 16px auto 0;
}
.rapo-hero-section .contain {
  position: relative;
  z-index: 2;
}

/* ========== 수정33: empra 톤앤매너 카드 배경 (bg-charcoal, bg-slate, bg-stone) ========== */
.empra-card-bg {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
  color: #e2e8f0 !important;
}
.empra-card-bg h3,
.empra-card-bg .rapo-card-title {
  color: #ffffff !important;
}
.empra-card-bg .rapo-card-body,
.empra-card-bg p,
.empra-card-bg li span,
.empra-card-bg .rapo-focus-desc {
  color: #ffffff !important;
}
.empra-card-bg .rapo-card-num {
  color: rgba(255,255,255,0.15) !important;
}
.empra-card-bg:hover {
  border-color: var(--point-1) !important;
  box-shadow: 0 16px 40px rgba(25, 96, 255, 0.2) !important;
}

/* empra bg variant 2: 딥 블루 */
.empra-card-blue {
  background: linear-gradient(145deg, #0e2040 0%, #152f5c 100%) !important;
  border: 1px solid #1e3a8a !important;
  color: #ffffff !important;
}
.empra-card-blue h3,
.empra-card-blue .rapo-card-title {
  color: #ffffff !important;
}
.empra-card-blue .rapo-card-body,
.empra-card-blue p,
.empra-card-blue .rapo-focus-desc {
  color: #ffffff !important;
}

/* empra bg variant 3: 슬레이트 그레이 */
.empra-card-slate {
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%) !important;
  border: 1px solid #cbd5e1 !important;
}

/* empra bg variant 4: 따뜻한 스톤 */
.empra-card-stone {
  background: linear-gradient(145deg, #faf5f0 0%, #f5ebe0 100%) !important;
  border: 1px solid #e7d5c0 !important;
}

/* ========== 수정33: Rapo 스텝 카드 (라포에듀 AI 4단계 톤앤매너) ========== */
.rapo-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.rapo-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}
.rapo-step-card:nth-child(1)::before { background: linear-gradient(90deg, #1960ff, #60a5fa); }
.rapo-step-card:nth-child(2)::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.rapo-step-card:nth-child(3)::before { background: linear-gradient(90deg, #ea580c, #fb923c); }

.rapo-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(25, 96, 255, 0.12);
}
.rapo-step-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.rapo-step-badge.blue { background: linear-gradient(135deg, #1960ff, #3b82f6); }
.rapo-step-badge.purple { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.rapo-step-badge.orange { background: linear-gradient(135deg, #ea580c, #f97316); }

.rapo-step-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.rapo-step-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

/* ========== 수정33: 카드 넘버링 & 뱃지 & 타이틀 (서브페이지 공통) ========== */
.rapo-card-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--point-1);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 14px;
}
.rapo-card-head {
  margin-bottom: 16px;
}
.rapo-card-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}
.rapo-card-badge.blue { background: #eff6ff; color: #1960ff; }
.rapo-card-badge.purple { background: #f5f3ff; color: #7c3aed; }
.rapo-card-badge.orange { background: #fff7ed; color: #ea580c; }

.rapo-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
}
.rapo-card-body {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ========== 수정33: 포커스 박스 (강조 인용) ========== */
.rapo-focus-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rapo-focus-title i {
  color: var(--point-1);
}
.rapo-focus-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.75;
}

/* ========== 수정33: CTA 버튼 (서브페이지 공통) ========== */
.rapo-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--point-1);
  color: #ffffff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(25, 96, 255, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-cta-primary:hover {
  background: #0d4ed8;
  transform: translateY(-3px);
  color: #ffffff;
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
  color: #ffffff;
}

/* ========== 수정33: grid-col-3 레이아웃 ========== */
.rapo-solution-grid.grid-col-3 {
  grid-template-columns: repeat(3, 1fr);
}
.rapo-solution-grid.grid-col-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .rapo-hero-section { padding: 195px 0 45px; margin-bottom: 40px; }
  .rapo-hero-title { font-size: 20px; line-height: 1.35; }
  .rapo-hero-sub { font-size: 13.5px; line-height: 1.6; }
  .rapo-badge, .rapo-hero-badge { font-size: 11px; padding: 5px 14px; margin-bottom: 12px; }
  .rapo-solution-grid.grid-col-3,
  .rapo-solution-grid.grid-col-2 {
    grid-template-columns: 1fr;
  }
  .rapo-step-title { font-size: 17px; }
  .rapo-card-title { font-size: 18px; }
}

/* ========== 수정33: 메인 공식채널 link-card bg 배경 ========== */
.link-card:nth-child(1) {
  background: linear-gradient(145deg, #180505 0%, #2d0a0a 100%);
  border-color: #7f1d1d;
}
.link-card:nth-child(1) h4 { color: #fca5a5; }
.link-card:nth-child(1) p { color: rgba(255,255,255,0.75); }
.link-card:nth-child(1) .btn-link { color: #fca5a5; }
.link-card:nth-child(1):hover { border-color: #ef4444; box-shadow: 0 16px 36px rgba(239, 68, 68, 0.2); }

.link-card:nth-child(2) {
  background: linear-gradient(145deg, #022c15 0%, #064e26 100%);
  border-color: #15803d;
}
.link-card:nth-child(2) h4 { color: #86efac; }
.link-card:nth-child(2) p { color: rgba(255,255,255,0.75); }
.link-card:nth-child(2) .btn-link { color: #86efac; }
.link-card:nth-child(2):hover { border-color: #22c55e; box-shadow: 0 16px 36px rgba(34, 197, 94, 0.2); }

.link-card:nth-child(3) {
  background: linear-gradient(145deg, #091528 0%, #152f5c 100%);
  border-color: #1e3a8a;
}
.link-card:nth-child(3) h4 { color: #93c5fd; }
.link-card:nth-child(3) p { color: rgba(255,255,255,0.75); }
.link-card:nth-child(3) .btn-link { color: #93c5fd; }
.link-card:nth-child(3):hover { border-color: #3b82f6; box-shadow: 0 16px 36px rgba(59, 130, 246, 0.2); }

.link-card .icon {
  background: rgba(255,255,255,0.1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.link-card:nth-child(1) .icon { color: #ff4444 !important; }
.link-card:nth-child(2) .icon { color: #22c55e !important; }
.link-card:nth-child(3) .icon { color: #60a5fa !important; }

/* ========== 카카오맵 꽉 차게 & 하단 불필요 영역 hidden (tax123 스타일) ========== */
.map_wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  border: 1px solid var(--border-light);
  margin-bottom: 44px;
}
.map_box {
  width: 100%;
  height: 520px;
  background: #f1f5f9;
  position: relative;
}
.root_daum_roughmap {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: none !important;
}
.root_daum_roughmap .wrap_map {
  height: 100% !important;
  min-height: 520px !important;
}
.root_daum_roughmap .cont {
  display: none !important; /* 지도 내부 아래 불필요한 주소, 전화번호 영역 hidden */
}
.root_daum_roughmap .wrap_controllers {
  display: none !important;
}
.root_daum_roughmap .border2 {
  display: block !important;
}

@media (max-width: 768px) {
  .map_box {
    height: 380px;
  }
  .root_daum_roughmap .wrap_map {
    min-height: 380px !important;
  }
}

/* ========== 스크롤할 때마다 하나씩 순차 등장하는 반복 애니메이션 ========== */
.scroll-repeat-box {
  opacity: 0 !important;
  transform: translateY(35px) !important;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.scroll-repeat-box.anim-show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 나갈 때는 지연 없이 즉시 초기화 */
.scroll-repeat-box:not(.anim-show) {
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  transition-delay: 0s !important;
}

/* 들어올 때의 순차적 시간차(Stagger) 딜레이 */
.scroll-repeat-box.anim-show:nth-child(1),
.rapo-process-grid .scroll-repeat-box.anim-show:nth-child(1),
.rapo-solution-grid .scroll-repeat-box.anim-show:nth-child(1),
.mo-table-cards .scroll-repeat-box.anim-show:nth-child(1) {
  transition-delay: 0.05s !important;
}

.scroll-repeat-box.anim-show:nth-child(2),
.rapo-process-grid .scroll-repeat-box.anim-show:nth-child(2),
.rapo-solution-grid .scroll-repeat-box.anim-show:nth-child(2),
.mo-table-cards .scroll-repeat-box.anim-show:nth-child(2) {
  transition-delay: 0.20s !important;
}

.scroll-repeat-box.anim-show:nth-child(3),
.rapo-process-grid .scroll-repeat-box.anim-show:nth-child(3),
.rapo-solution-grid .scroll-repeat-box.anim-show:nth-child(3),
.mo-table-cards .scroll-repeat-box.anim-show:nth-child(3) {
  transition-delay: 0.35s !important;
}

.scroll-repeat-box.anim-show:nth-child(4),
.rapo-solution-grid .scroll-repeat-box.anim-show:nth-child(4),
.mo-table-cards .scroll-repeat-box.anim-show:nth-child(4) {
  transition-delay: 0.50s !important;
}

.scroll-repeat-box.anim-show:nth-child(5),
.rapo-solution-grid .scroll-repeat-box.anim-show:nth-child(5) {
  transition-delay: 0.65s !important;
}

.scroll-repeat-box.anim-show:nth-child(6),
.rapo-solution-grid .scroll-repeat-box.anim-show:nth-child(6) {
  transition-delay: 0.80s !important;
}

/* 타이핑 커서 스타일 */
.quote-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--primary);
  margin-left: 2px;
  animation: quoteBlink 0.7s infinite;
}
@keyframes quoteBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ========== 서비스 비교표 모바일 전용 카드 형태 ========== */
.mo-table-cards {
  display: none;
}
@media (max-width: 768px) {
  .pc-only-table {
    display: none !important;
  }
  .mo-table-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
  }
  .mo-table-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  }
  .mo-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mo-card-row {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mo-card-row:last-child {
    margin-bottom: 0;
  }
  .mo-card-row.ins {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  .mo-card-row.court {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
  }
  .mo-row-tag {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .mo-card-row.court .mo-row-tag {
    color: var(--primary);
  }
  .mo-row-val {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
  }
  .mo-card-row.court .mo-row-val {
    color: #1d4ed8;
    font-weight: 800;
  }
}


