/* ==========================================================================
   법무사 리젠 - 공통 스타일시트
   컬러톤: 화이트/딥네이비/딥버건디/뮤트골드/차콜/연그레이/라인
   ========================================================================== */

:root {
  --color-white: #FFFFFF;
  --color-navy: #14213D;
  --color-burgundy: #7A1E2C;
  --color-gold: #B08D57;
  --color-charcoal: #222222;
  --color-bg: #F6F7F9;
  --color-line: #E5E7EB;

  --header-height: 64px;
  --mobile-cta-height: 60px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(20, 33, 61, 0.06);
  --shadow-md: 0 6px 20px rgba(20, 33, 61, 0.10);
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--color-charcoal);
  background: var(--color-white);
  line-height: 1.75;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  padding-bottom: 0;
}
@media (min-width: 1024px) {
  body { font-size: 19px; }
}

body.has-mobile-cta { padding-bottom: var(--mobile-cta-height); }
@media (max-width: 768px) {
  body.has-mobile-cta { padding-bottom: calc(var(--mobile-cta-height) + 16px); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; color: var(--color-navy); }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}
@media (min-width: 641px) {
  .section { padding: clamp(90px, 7vw, 108px) 0; }
}
.section--alt { background: var(--color-bg); }
.section--navy { background: var(--color-navy); color: var(--color-white); }
.section--navy h2, .section--navy h3 { color: var(--color-white); }

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-burgundy);
  background: rgba(122, 30, 44, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
}
@media (min-width: 1024px) {
  .section-head h2, h2 { font-size: 38px; }
}
.section-head p {
  color: #555;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.75;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15.5px;
  border: 2px solid transparent;
  transition: transform 0.12s ease, opacity 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 16px 26px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-call {
  background: var(--color-burgundy);
  color: var(--color-white);
}
.btn-kakao {
  background: #FEE500;
  color: #191919;
}
.btn-kakao i { color: #191919; }
.btn-apply {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-navy);
}
.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
}
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  height: var(--header-height);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
/* 로고 슬롯: 공식 리젠법무사 로고(화이트 배경, 네이비 버전)를 헤더 높이에 맞춰 비율 유지하며 표시 */
.brand .brand-logo-slot:empty { display: none; }
.brand .brand-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 62px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand .brand-logo-slot img {
  max-height: 48px;
  max-width: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .brand .brand-logo-slot { height: 38px; max-height: 38px; max-width: 50px; }
  .brand .brand-logo-slot img { max-height: 38px; max-width: 50px; }
}
.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand strong {
  font-size: 23px;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}
.brand span {
  font-size: 11.5px;
  color: var(--color-burgundy);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-charcoal);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-color: var(--color-gold); color: var(--color-navy); }
.main-nav a.nav-cta {
  background: var(--color-burgundy);
  color: var(--color-white);
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.main-nav a.nav-cta:hover { border-color: transparent; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--color-navy);
  font-size: 15px;
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 490;
  padding: 12px 0;
  overflow-y: auto;
}
.mobile-nav-panel.open { display: block; }
.mobile-nav-panel ul { display: flex; flex-direction: column; }
.mobile-nav-panel a {
  display: block;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-charcoal);
}
.mobile-nav-panel a.nav-cta { color: var(--color-burgundy); font-weight: 800; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: #777;
  padding: 14px 0;
}
.breadcrumb a { color: var(--color-navy); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, #1d2f57 60%, var(--color-burgundy) 130%);
  color: var(--color-white);
  padding: 88px 0 100px;
  min-height: 700px;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero .container { width: 100%; }
.hero .eyebrow {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
}
.hero h1 {
  color: var(--color-white);
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.4;
  margin: 18px auto 20px;
  max-width: 900px;
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 58px; }
}
.hero-lead {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 700;
  color: #F3D9C8;
  margin-bottom: 10px;
}
.hero-sub {
  max-width: 840px;
  margin: 0 auto;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75;
  color: #D7DCE8;
}
.hero-sub strong { color: var(--color-white); font-weight: 700; }
.hero-sub-note {
  margin-top: 10px;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.75;
  color: #C9D2E6;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
}
.hero-badges span strong { color: var(--color-white); font-weight: 800; }
.hero-badges span i { color: var(--color-gold); }
.hero-brand-label {
  display: inline-block;
  font-size: clamp(20px, 2.4vw, 22px);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.hero-region-label {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  color: #D7DCE8;
  margin-bottom: 14px;
}

/* ---------- Hero single CTA (부담이 낮은 단일 버튼: 히어로에는 이 버튼 1개만 배치) ---------- */
.hero-cta-single {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.btn-hero-primary {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
  padding: 15px 30px;
  font-size: 16px;
}
.btn-hero-primary:hover { opacity: 0.92; }

/* ---------- Case finder ("내 사건 빠르게 찾기") ---------- */
#case-finder, .anchor-target { scroll-margin-top: calc(var(--header-height) + 16px); }
.finder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.finder-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.finder-card:hover { transform: translateY(-2px); border-color: var(--color-gold); }
.finder-situation {
  flex: 1;
  font-size: clamp(15.5px, 1.5vw, 17px);
  font-weight: 600;
  color: var(--color-charcoal);
  line-height: 1.55;
}
.finder-arrow {
  flex-shrink: 0;
  color: var(--color-gold);
  font-size: 13px;
}
.finder-result {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-burgundy);
  background: rgba(122,30,44,0.08);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .finder-grid { grid-template-columns: 1fr; }
  .finder-card { flex-wrap: wrap; }
  .finder-result { margin-left: 28px; }
}

/* ---------- Mid CTA (중간 전환 유도) ---------- */
.mid-cta {
  background: var(--color-navy);
  padding: 48px 0;
  text-align: center;
}
.mid-cta-text {
  color: var(--color-white);
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.75;
  font-weight: 600;
  margin-bottom: 22px;
}
.btn-mid-cta {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
  padding: 14px 28px;
}
.btn-mid-cta:hover { opacity: 0.92; }

/* ---------- Bento overview grid (4 top-level categories) ---------- */
.bento-section {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
  padding: 40px 0;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bento-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.bento-tile:hover { transform: translateY(-3px); border-color: var(--color-gold); }
.bento-tile .bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid var(--color-line);
}
.bento-tile .bento-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--color-navy);
}
.bento-tile .bento-desc {
  font-size: 13.5px;
  color: #666;
  line-height: 1.55;
}
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-section { padding: 28px 0; }
}

/* ---------- Category / Cards grid ---------- */
.category-intro {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
  color: #444;
  font-size: 15px;
}
.category-block { margin-bottom: 60px; }
.category-block:last-child { margin-bottom: 0; }
.category-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-line);
}
.category-head .icon-mark { color: var(--color-gold); font-size: 17px; }
.category-head .category-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-navy);
}
.category-head .category-desc {
  font-size: 13.5px;
  color: #777;
  font-weight: 500;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card-grid.cols-1 { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }

.service-card {
  scroll-margin-top: calc(var(--header-height) + 16px);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.service-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 800;
}
.service-card dl { margin: 0; }
.service-card dt {
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 12px;
  font-size: 14.5px;
}
.service-card dt:first-child { margin-top: 0; }
.service-card dd {
  margin: 4px 0 0;
  font-size: clamp(17px, 1.6vw, 18px);
  color: var(--color-charcoal);
  line-height: 1.7;
}

/* ---------- 사무소 이미지 갤러리 ---------- */
.office-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.office-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.office-photo--wide { grid-column: span 2; }
.office-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.office-photo--wide img { aspect-ratio: 16 / 9; }
.office-photo--entrance img { object-position: 50% 22%; }
.office-photo--logo img { transform: scale(1.45); transform-origin: center 45%; }
.office-photo figcaption {
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-navy);
  border-top: 1px solid var(--color-line);
}
@media (max-width: 640px) {
  .office-gallery { grid-template-columns: 1fr; }
  .office-photo--wide { grid-column: span 1; }
}

.doc-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 26px;
}
.doc-icon-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  padding: 8px 14px;
  border-radius: 999px;
}
.doc-icon-row i { color: var(--color-burgundy); }

/* ---------- Comparison / document tables ---------- */
.notice-box {
  background: #FBF3EC;
  border: 1px solid #EBD9C7;
  border-left: 4px solid var(--color-gold);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #4a3a2c;
  margin: 30px 0;
}
.notice-box strong { color: var(--color-burgundy); }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
  margin: 8px 0;
}
.data-table {
  min-width: 640px;
}
.data-table th, .data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  white-space: nowrap;
}
.data-table tbody tr:nth-child(even) { background: var(--color-bg); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td strong { color: var(--color-burgundy); }
.data-table .col-label { font-weight: 700; color: var(--color-navy); white-space: nowrap; }

/* ---------- Process steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.process-step {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
}
.process-step .step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 12px;
  font-size: 14px;
}
.process-step h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 14px; color: #555; line-height: 1.6; }

/* ---------- 문의안내 CTA (상담폼 대체) ---------- */
.contact-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.contact-cta .btn { min-width: 240px; }
.form-note { font-size: 13.5px; color: #777; margin-top: 18px; line-height: 1.6; text-align: center; }
@media (max-width: 640px) {
  .contact-cta { flex-direction: column; align-items: stretch; }
  .contact-cta .btn { min-width: 0; width: 100%; }
}

/* ---------- Notice / Case cards ---------- */
.notice-grid, .case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.notice-card, .case-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.notice-card .cat-tag, .case-card .cat-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-burgundy);
  background: rgba(122,30,44,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.notice-card h3 { font-size: 17px; font-weight: 700; }
.notice-card p, .case-card p { font-size: 15px; color: #555; line-height: 1.7; }
.notice-card .doc-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-gold);
  font-weight: 700;
}
.notice-card a.card-link, .case-card { position: relative; }
.notice-card a.card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-gold);
  width: fit-content;
}
.case-card h3 { font-size: 16.5px; font-weight: 700; }
.case-card dl { font-size: 14.5px; color: #444; line-height: 1.65; }
.case-card dt { font-weight: 700; color: var(--color-navy); margin-top: 8px; }
.case-card dt:first-child { margin-top: 0; }
.case-card dd { margin: 3px 0 0; color: #555; }

.section-foot-note {
  text-align: center;
  font-size: 12.8px;
  color: #888;
  margin-top: 20px;
}

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: var(--color-white);
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.5;
}
.faq-question .q-mark {
  color: var(--color-burgundy);
  font-weight: 800;
  margin-right: 4px;
}
.faq-question .chevron {
  flex-shrink: 0;
  transition: transform 0.15s ease;
  color: var(--color-gold);
}
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.18s ease;
  background: var(--color-bg);
}
.faq-answer-inner { padding: 0 20px 18px; font-size: 17px; color: #444; line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: #C6CBDA;
  padding: 44px 0 24px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  align-items: start;
}
.footer-brand strong { color: var(--color-white); font-size: 18px; display: block; margin-bottom: 8px; }
.footer-brand p { margin-bottom: 6px; line-height: 1.7; }
.footer-brand p a.kakao-cta { color: #FEE500; font-weight: 700; }
.footer-brand p a:hover { color: var(--color-gold); }
.footer-col h4 { color: var(--color-white); font-size: 14px; margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-grid-4col { grid-template-columns: 1.1fr 0.8fr 0.8fr 0.8fr; }
.footer-col a { color: #C6CBDA; }
.footer-col a:hover { color: var(--color-gold); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 12px;
  color: #9AA1B5;
  line-height: 1.8;
}
.footer-bottom {
  margin-top: 14px;
  font-size: 12px;
  color: #77809A;
}

/* ---------- Typography scale helpers ---------- */
h2 { font-size: clamp(28px, 3.8vw, 38px); }

/* ---------- Floating CTA (PC: 우측 하단 세로형 / Mobile: 하단 고정 바) ---------- */
.floating-cta-pc {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-cta-pc a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 168px;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: transform 0.12s ease;
}
.floating-cta-pc a:hover { transform: translateY(-2px); }
.floating-cta-pc a i { font-size: 16px; flex-shrink: 0; }
.floating-cta-pc a.fab-call { background: var(--color-burgundy); color: var(--color-white); }
.floating-cta-pc a.fab-kakao { background: #FEE500; color: #191919; }
.floating-cta-pc a.fab-kakao i { color: #191919; }

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 600;
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -4px 14px rgba(0,0,0,0.08);
}
.mobile-cta-bar .cta-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: var(--mobile-cta-height);
}
.mobile-cta-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  border-top: 3px solid transparent;
}
.mobile-cta-bar a i { font-size: 17px; }
.mobile-cta-bar a.cta-call { color: var(--color-white); background: var(--color-burgundy); }
.mobile-cta-bar a.cta-kakao { color: #191919; background: #FEE500; }
.mobile-cta-bar a.cta-kakao i { color: #191919; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.stack-gap { display: flex; flex-direction: column; gap: 8px; }

/* ==========================================================================
   Responsive breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .notice-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid-4col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: clamp(60px, 14vw, 72px) 0; }
  .hero {
    min-height: 600px;
    padding: 56px 0 calc(var(--mobile-cta-height) + 48px);
  }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.cols-1 { max-width: 100%; }
  .notice-grid, .case-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid-4col { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: block; }
  .floating-cta-pc { display: none; }
  .header-call span.call-text { display: none; }
  .hero-badges span { font-size: 12.5px; padding: 9px 14px; }
  .brand strong { font-size: 19px; }
  .category-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .data-table th, .data-table td { font-size: 13px; padding: 12px; }

  /* ---- 모바일 타이포그래피 규격 (≤768px): H1 30/700, H2 24/700, H3 19/700, 본문 16/400/lh1.7, 보조문구 최소 15px ---- */
  .container { padding: 0 20px; }
  body, .section-head p, .hero-sub, .notice-box, .data-table th, .data-table td,
  .faq-question, .faq-answer-inner, .service-card dd, .case-card dl, .notice-card p, .case-card p {
    font-weight: 400 !important;
  }
  body { font-size: 16px !important; line-height: 1.7 !important; }
  h1, .hero h1 { font-size: 30px !important; font-weight: 700 !important; line-height: 1.35 !important; max-width: 100%; }
  h2, .section-head h2 { font-size: 24px !important; font-weight: 700 !important; line-height: 1.35 !important; }
  h3, .service-card h3, .process-step h3, .notice-card h3, .case-card h3 { font-size: 19px !important; font-weight: 700 !important; line-height: 1.35 !important; }
  .section-head p, .hero-sub, .hero-sub-note, .notice-card p, .case-card p, .case-card dl, .form-note, .section-foot-note, .category-head .category-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .btn { font-size: 16px !important; font-weight: 700 !important; min-height: 48px; }
  .btn-lg { font-size: 16px !important; min-height: 48px; }
  .faq-question { font-size: 16px !important; font-weight: 700 !important; }
  .faq-answer-inner { font-size: 15px !important; }
}

@media (min-width: 769px) {
  body.has-mobile-cta { padding-bottom: 0; }
  .mobile-cta-bar { display: none; }
}
