/* ============================================================
   theme-override.css — 구 네이비/골드 페이지(pay·apply·legal)를
   메인(index)의 레드/화이트 디자인 시스템으로 통일한다.
   style.css 뒤에 로드하여 팔레트 변수를 리매핑 + 하드코딩 색상 보정.
   ============================================================ */

:root {
  --navy: #1F2329;        /* 다크 텍스트/아웃라인 → 잉크 */
  --navy-deep: #17191C;   /* 푸터 배경(메인과 동일 다크) */
  --gold: #FF4536;        /* 액센트/프라이머리 → 레드 */
  --gold-soft: #E63A2B;
  --cream: #F7F8FA;       /* 밝은 섹션 틴트 */
  --ink: #1F2329;
  --gray: #5E6670;
  --line: #E9ECEF;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31,35,41,.07);
  --shadow-sm: 0 4px 16px rgba(31,35,41,.06);
  --font: "Noto Sans JP", "Noto Sans KR", sans-serif;
}

body { background: #fff; }

/* ---------- 로고: 레드 사각형 + 산세리프(메인과 동일) ---------- */
.logo-mark { background: #FF4536 !important; border-radius: 9px; }
.logo-mark::after { display: none !important; }
.logo-na { font-family: "Noto Sans KR", sans-serif !important; font-weight: 900 !important; color: #fff !important; }
.logo-text { font-family: "Noto Sans JP","Noto Sans KR",sans-serif !important; font-weight: 900 !important;
  color: #1F2329 !important; letter-spacing: normal !important; font-size: 1.2rem !important; }
.logo-text em { color: #FF4536 !important; font-family: "Noto Sans JP",sans-serif !important;
  letter-spacing: .15em !important; }
.logo-light .logo-text, .logo-light .logo-na { color: #fff !important; }

/* ---------- 버튼: 레드 플랫 ---------- */
.btn { border-radius: 10px; }
.btn:hover { transform: none; }
.btn-gold { background: #FF4536 !important; color: #fff !important; box-shadow: none !important; }
.btn-gold:hover { background: #E63A2B !important; box-shadow: none !important; }
.btn-outline-dark { border-color: #1F2329 !important; color: #1F2329 !important; }
.btn-outline-dark:hover { background: #1F2329 !important; color: #fff !important; }
.btn-outline-light { border-color: #1F2329 !important; color: #1F2329 !important; background: #fff !important; }
.btn-outline-light:hover { background: #1F2329 !important; color: #fff !important; }

/* ---------- 섹션 헤더 ---------- */
.section-eyebrow { color: #FF4536 !important; }
.section-title { font-family: "Noto Sans JP","Noto Sans KR",sans-serif !important; font-weight: 900 !important; color: #1F2329 !important; }
.section-head.light .section-title { color: #1F2329 !important; }
.section-head.light .section-sub { color: #5E6670 !important; }

/* ---------- pay.html: 어두운 요금 섹션 → 밝은 화이트 ---------- */
.section-dark { background: #F7F8FA !important; color: #1F2329 !important;
  background-image: none !important; }
.price-sub-eyebrow { color: #FF4536 !important; }
.price-card { background: #fff !important; border: 1px solid #E9ECEF !important;
  box-shadow: 0 6px 24px rgba(31,35,41,.07) !important; backdrop-filter: none !important; }
.price-card.featured { border: 2px solid #FF4536 !important; transform: none !important;
  box-shadow: 0 6px 24px rgba(31,35,41,.10) !important; }
.price-ribbon { background: #FF4536 !important; }
.price-name, .price-card .price-name, .price-card.featured .price-name { color: #1F2329 !important; }
.price-amount, .price-card .price-amount, .price-card.featured .price-amount {
  color: #1F2329 !important; font-family: "Noto Sans JP",sans-serif !important; font-weight: 900 !important; }
.price-unit, .price-card .price-unit, .price-card.featured .price-unit { color: #5E6670 !important; }
.price-desc, .price-card .price-desc, .price-card.featured .price-desc { color: #5E6670 !important; }
.price-list li, .price-card .price-list li, .price-card.featured .price-list li { color: #1F2329 !important; }
.price-list li::before, .price-card .price-list li::before { color: #FF4536 !important; }
.price-note { color: #5E6670 !important; }

/* 요금 카드 3개 → 중앙 정렬 (공용 price-grid는 4칸이라 좌측 쏠림 발생) */
.pay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; max-width: 440px; } }

/* 결제 안내 박스 */
.price-policy { background: #F7F8FA !important; border: 1px solid #E9ECEF !important;
  max-width: 960px; margin-left: auto; margin-right: auto; }
.price-sub-eyebrow { text-align: center; }
.price-policy-title { color: #1F2329 !important; font-family: "Noto Sans JP",sans-serif !important; }
.price-policy-list li { color: #1F2329 !important; }
.price-policy-list strong { color: #FF4536 !important; }
.price-policy-note { color: #5E6670 !important; border-top-color: #E9ECEF !important; }
.price-policy-note strong { color: #FF4536 !important; }

/* ---------- apply.html: 상담 위저드 ---------- */
.apply-avatar { background: #FF4536 !important; }
.apply-avatar .logo-na { font-family: "Noto Sans KR",sans-serif !important; }
.apply-progress-bar { background: #FF4536 !important; }
.apply-row.bot .apply-bubble { background: #FFF0EE !important; color: #1F2329 !important; }
.apply-row.user .apply-bubble { background: #FF4536 !important; color: #fff !important; }
.apply-opt { border-color: #E9ECEF !important; color: #1F2329 !important; }
.apply-opt:hover { background: #FF4536 !important; border-color: #FF4536 !important; color: #fff !important; }

/* ---------- 푸터: 메인과 동일 다크 + 레드 호버 ---------- */
.footer-tagline { color: #B7BDC4 !important; font-family: "Noto Sans JP",sans-serif !important; }
.footer-nav a:hover { color: #fff !important; }
.footer-sns a:hover { border-color: #FF4536 !important; color: #FF4536 !important; }
.cta-box .section-eyebrow { color: #FF4536 !important; }
