﻿/* ================================================
   법무법인 해일 | 한정승인 특화 사이트
   공통 스타일시트
   ================================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ── CSS 변수 ── */
:root {
  --primary: #1C2B3C;
  --primary-dark: #0F1C27;
  --primary-light: #2E4A6A;
  --gold: #C8A84B;
  --gold-light: #DFC06A;
  --white: #ffffff;
  --bg-light: #F5F3EF;
  --bg-dark: #111A24;
  --text: #1A1A26;
  --text-sub: #52525E;
  --text-light: #88889A;
  --border: #E0DDD8;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-strong: 0 8px 40px rgba(0, 0, 0, 0.16);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 리셋 & 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 공통 레이아웃 ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 48px;
  word-break: keep-all;
}
.section-title span { color: var(--gold); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(28,43,60,0.07);
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
  border-left: 3px solid var(--primary);
}

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.97rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 168, 75, 0.35);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }

/* ── 헤더 ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.header-top {
  background: var(--primary-dark);
  padding: 7px 0;
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-left {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.header-top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-top-right a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}
.header-top-right a:hover { color: var(--gold); }
.header-top-right .tel {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
}

.header-main {
  padding: 0;
}
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 8px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text { line-height: 1.2; }
.logo-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary);
}
.logo-sub {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ── GNB 네비게이션 ── */
.gnb { display: flex; align-items: center; gap: 4px; }
.gnb > li { position: relative; }
.gnb > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  height: 70px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.gnb > li > a:hover,
.gnb > li.active > a { color: var(--primary); }
.gnb > li > a .arrow {
  font-size: 0.65rem;
  transition: var(--transition);
}
.gnb > li:hover > a .arrow { transform: rotate(180deg); }

/* 드롭다운 */
.dropdown {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-strong);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: var(--transition);
  border-top: 3px solid var(--primary);
}
.gnb > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: var(--transition);
}
.dropdown a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 24px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 모바일 햄버거 */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* ── 모바일 메뉴 ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 2000;
  overflow-y: auto;
  padding: 24px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-close {
  align-self: flex-end;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 24px;
  padding: 8px;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--primary); padding-left: 8px; }
.mobile-nav .sub-link {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-sub);
  padding: 10px 0 10px 16px;
}
.mobile-cta-wrap {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── 히어로 섹션 ── */
.hero {
  margin-top: 108px;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  background: #0c0e12;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,16,22,0.88) 0%, rgba(28,43,60,0.78) 55%, rgba(15,28,39,0.72) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* 슬라이드 배경 */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active {
  opacity: 1;
}

/* 슬라이더 컨트롤 */
.hero-slider-ctrl {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-slider-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
  line-height: 1;
}
.hero-slider-btn:hover { color: #fff; }
.hero-slider-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-slide-num {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  min-width: 12px;
  text-align: center;
}
#hero-cur { color: rgba(255,255,255,0.9); }
.hero-slide-bar {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.hero-slide-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--gold);
  width: var(--progress, 33.3%);
  transition: width 0.4s ease;
}

/* 스크롤다운 */
.hero-scrolldown {
  position: absolute;
  bottom: 36px;
  right: 100px;
  z-index: 10;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,168,75,0.18);
  border: 1px solid rgba(200,168,75,0.45);
  color: var(--gold-light);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.hero-badge i { color: var(--gold); font-size: 1.1rem; }
.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero-title em {
  color: var(--gold);
  font-style: normal;
  display: block;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.8;
  word-break: keep-all;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-card {
  background: rgba(15,28,39,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: 20px;
  padding: 36px 32px;
}
.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  text-align: center;
}
.urgency-timer {
  text-align: center;
  margin-bottom: 24px;
}
.urgency-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.urgency-days {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.urgency-days span {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.urgency-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.urgency-bar {
  background: rgba(255,255,255,0.1);
  border-radius: 30px;
  height: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.urgency-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #ff6b6b);
  border-radius: 30px;
  width: 65%;
  animation: pulse-bar 2s ease-in-out infinite;
}
@keyframes pulse-bar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.hero-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.hero-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}
.check-icon {
  width: 22px; height: 22px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--white);
  flex-shrink: 0;
}

/* ── 신뢰 수치 ── */
.trust-bar {
  background: var(--primary-dark);
  padding: 30px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 0;
}
.trust-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 40px; width: 1px;
  background: rgba(255,255,255,0.15);
}
.trust-num {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  white-space: nowrap;
}
.trust-num span { font-size: 1.6rem; }
.trust-label {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  word-break: keep-all;
}

/* ── 상황 선택 카드 ── */
.situation-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.situation-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.situation-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px);
}
.icon-circle {
  width: 54px;
  height: 54px;
  background: rgba(28,43,60,0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.situation-icon {
  display: block;
  margin-bottom: 16px;
}
.situation-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.situation-card p {
  font-size: 0.83rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.situation-card .arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── 왜 해일인가 ── */
/* ── 왜 해일인가 (리디자인) ── */
.why-haeil {
  background: var(--bg-dark);
  padding: 72px 0 0;
  overflow: hidden;
}

/* 헤더 한 줄 */
.why-header-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 64px;
}
.why-header-left {
  flex-shrink: 0;
  padding-top: 6px;
}
.why-label-bar {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  white-space: nowrap;
}
.why-header-right { flex: 1; }
.why-main-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.why-main-title em {
  color: var(--gold);
  font-style: normal;
}
.why-main-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
}

/* 변호사 사진 쇼케이스 */
.lawyer-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 -24px;
}
.lawyer-showcase-item {
  position: relative;
  overflow: hidden;
}
.lawyer-showcase-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #c8c8c8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.lawyer-showcase-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.5s ease;
  filter: brightness(0.95);
}
.lawyer-showcase-item:hover .lawyer-showcase-photo img {
  transform: scale(1.03);
  filter: brightness(1);
}
.lawyer-showcase-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,16,22,0.95) 0%, rgba(10,16,22,0.7) 60%, transparent 100%);
  padding: 40px 24px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lawyer-showcase-emblem {
  width: 32px; height: 32px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.lawyer-showcase-pos {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-bottom: 3px;
}
.lawyer-showcase-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* 이유 요약 바 */
.why-summary-bar {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0 -24px;
}
.why-summary-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  transition: background 0.2s;
}
.why-summary-item:hover {
  background: rgba(200,168,75,0.07);
}
.why-summary-divider {
  width: 1px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.why-summary-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1;
  flex-shrink: 0;
}
.why-summary-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .lawyer-showcase { margin: 0 -16px; }
  .why-summary-bar { margin: 0 -16px; }
  .why-main-title { font-size: 1.7rem; }
}
@media (max-width: 768px) {
  .why-header-row { flex-direction: column; gap: 16px; }
  .lawyer-showcase { grid-template-columns: 1fr; margin: 0; }
  .lawyer-showcase-photo { aspect-ratio: 4/3; }
  .why-summary-bar { flex-direction: column; margin: 0; }
  .why-summary-divider { width: 100%; height: 1px; }
  .why-main-title { font-size: 1.5rem; }
}

/* ── 프로세스 ── */
.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.step-circle {
  width: 64px; height: 64px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .step-circle {
  background: var(--primary);
  color: var(--white);
}
.step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ── 사례 카드 ── */
.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.case-card-top {
  background: var(--primary);
  padding: 20px 24px;
}
.case-tag {
  display: inline-block;
  background: rgba(200,168,75,0.25);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.case-card-top h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.case-card-body { padding: 20px 24px; }
.case-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}
.case-amount-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.case-summary {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ── 후기 슬라이더 ── */
.review-slider-wrap { overflow: hidden; }
.review-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}
.review-card {
  min-width: calc(33.333% - 14px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.review-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.review-service {
  font-size: 0.75rem;
  background: var(--bg-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.slider-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  background: var(--white);
}
.slider-btn:hover { background: var(--primary); color: var(--white); }
.slider-dots { display: flex; gap: 6px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.slider-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ── 하단 CTA 배너 ── */
.cta-banner {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 60%;
  position: relative;
  padding: 70px 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,16,22,0.92) 0%, rgba(28,43,60,0.88) 100%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}
.cta-banner h2 em {
  color: var(--gold);
  font-style: normal;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-top: 10px;
}
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.kakao-btn {
  background: #FEE500;
  color: #1A1A1A;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 42px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: var(--transition);
}
.kakao-btn:hover {
  background: #f0d800;
  transform: translateY(-2px);
}

/* ── 푸터 ── */
footer { background: var(--bg-dark); }

/* 상단 링크 바 */
.footer-nav {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
}
.footer-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.footer-nav-inner a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  padding: 4px 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  transition: color 0.2s;
}
.footer-nav-inner a:last-child { border-right: none; }
.footer-nav-inner a:hover { color: var(--gold); }

/* 하단 본문 */
.footer-body { padding: 36px 0 28px; }
.footer-body-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.footer-logo .logo-mark { background: rgba(255,255,255,0.08); }
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,0.45); }

/* 정보 블록 */
.footer-info-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.footer-info-line {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.footer-copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
}

/* ── 서브페이지 공통 ── */
.page-hero {
  margin-top: 108px;
  background: linear-gradient(135deg, #fdf9f0 0%, #f9f5e8 100%);
  padding: 56px 0 52px;
  position: relative;
  border-bottom: 1px solid #e8dfc8;
}
.page-hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.025) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 8%; top: 50%;
  transform: translateY(-50%);
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-sub); transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }
.page-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.page-title em { color: var(--gold); font-style: normal; }
.page-desc {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 600px;
  line-height: 1.85;
  word-break: keep-all;
}
.page-desc em { color: var(--primary); font-style: normal; font-weight: 700; }

/* ── 서브 네비게이션 탭 ── */
.sub-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 108px;
  z-index: 100;
}
.sub-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.sub-nav-item {
  padding: 18px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
}
.sub-nav-item:hover,
.sub-nav-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ── 인포 박스 ── */
.info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box.warning {
  border-color: #e55;
  background: #fff5f5;
}
.info-box.gold {
  border-color: var(--gold);
  background: rgba(200,168,75,0.06);
}
.info-box p { font-size: 0.92rem; color: var(--text); line-height: 1.7; }
.info-box strong { color: var(--primary); }

/* ── 체크리스트 ── */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.6;
}
.check-list-item::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  min-width: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ── FAQ 아코디언 ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.faq-item.open .faq-q { color: var(--primary); }
.faq-q-mark {
  width: 28px; height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-q-text { flex: 1; }
.faq-toggle {
  font-size: 1.2rem;
  color: var(--text-light);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--primary); }
.faq-a {
  display: none;
  padding: 0 24px 20px 68px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }

/* ── 필터 탭 ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-tab {
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(28,43,60,0.06);
}

/* ── 게시판형 목록 ── */
.board-list { display: flex; flex-direction: column; gap: 12px; }
.board-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--transition);
  cursor: pointer;
}
.board-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.board-tag {
  display: inline-block;
  background: rgba(28,43,60,0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.board-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}
.board-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  gap: 14px;
}
.board-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

/* ── 폼 스타일 ── */
.form-section { background: var(--bg-light); }
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-strong);
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.form-label .required {
  color: #e55;
  margin-left: 3px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28,43,60,0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 5px;
}
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.file-upload-area:hover {
  border-color: var(--primary);
  background: rgba(28,43,60,0.03);
}
.file-upload-icon { font-size: 2.4rem; margin-bottom: 12px; color: var(--primary); }
.file-upload-text {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.file-upload-hint { font-size: 0.82rem; color: var(--text-light); }
.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}
.form-agree input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}
.form-submit {
  text-align: center;
  margin-top: 36px;
}
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.step-ind-item {
  display: flex;
  align-items: center;
}
.step-ind-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.step-ind-item.active .step-ind-circle { background: var(--primary); color: var(--white); }
.step-ind-item.done .step-ind-circle { background: var(--gold); color: var(--white); }
.step-ind-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
  text-align: center;
}
.step-ind-line {
  width: 60px; height: 2px;
  background: var(--border);
}

/* ── 변호사 카드 ── */
.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.lawyer-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.lawyer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.lawyer-photo {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(160deg, #eef2f8 0%, #dce4f0 100%);
  display: flex; align-items: center; justify-content: center;
}
.lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.lawyer-card:hover .lawyer-photo img { transform: scale(1.04); }
.lawyer-info { padding: 24px; }
.lawyer-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.lawyer-title {
  font-size: 0.83rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.lawyer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}
.lawyer-tag {
  background: var(--bg-light);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.lawyer-career {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.7;
  text-align: left;
}

/* ── 채용 페이지 ── */
.recruit-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 40px; }
.recruit-tab {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sub);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
}
.recruit-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.recruit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.recruit-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.recruit-position {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.recruit-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.recruit-tag {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.recruit-tag.type { background: rgba(28,43,60,0.08); color: var(--primary); }
.recruit-tag.period { background: rgba(200,168,75,0.12); color: #8a6f1a; }
.recruit-meta { font-size: 0.85rem; color: var(--text-light); }

/* ── 지도 ── */
.map-wrap {
  height: 400px;
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  font-size: 1rem;
  color: var(--text-light);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.location-info { display: flex; flex-direction: column; gap: 16px; }
.location-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.location-icon {
  width: 40px; height: 40px;
  background: rgba(28,43,60,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.location-info-content strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.location-info-content p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ── 스크롤 Top 버튼 ── */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 100px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  z-index: 500;
  transition: var(--transition);
}
#scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
#scroll-top.show { display: flex; }

/* ── 플로팅 버튼 (사이드바로 대체, 숨김) ── */
.floating-btns { display: none; }

/* ── 우측 사이드 퀵메뉴 ── */
.side-quick {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 700;
  display: flex;
  flex-direction: column;
}
.side-quick-header {
  background: rgba(15,28,39,0.95);
  border-radius: 12px 0 0 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.side-quick-user {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}
.side-quick-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-item {
  width: 80px;
  background: rgba(18,26,36,0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  border-left: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}
.side-item:last-child {
  border-radius: 0 0 0 12px;
}
.side-item:hover {
  background: rgba(40,55,70,0.97);
}
.side-item-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: #ffffff;
  transition: background 0.2s;
}
.side-item:hover .side-item-icon {
  background: rgba(200,168,75,0.2);
  color: var(--gold);
}
.side-item-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.side-item-phone .side-item-icon {
  background: rgba(200,168,75,0.15);
  color: var(--gold);
}
.side-item-phone .side-item-label {
  color: var(--gold);
}
.side-item-phone:hover .side-item-icon {
  background: var(--gold);
  color: #1a1a1a;
}

/* 카카오 아이템 */
.side-item-kakao:hover .side-item-icon {
  background: rgba(254,229,0,0.2);
  color: #FEE500;
}

@media (max-width: 768px) {
  .side-quick { display: none; }
}

/* ── 하단 빠른상담 바 ── */
.quick-consult-bar {
  position: fixed;
  bottom: 0; left: 0; right: 80px;
  background: var(--bg-dark);
  z-index: 600;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.30);
  border-top: 1px solid rgba(200,168,75,0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.quick-consult-bar.visible {
  transform: translateY(0);
}
.quick-consult-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.quick-consult-label {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.quick-consult-label strong {
  color: #fff;
  font-size: 0.95rem;
}
.quick-consult-inputs {
  display: flex;
  gap: 8px;
  flex: 1;
}
.quick-consult-inputs input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: none;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 0.88rem;
  font-family: inherit;
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: none;
  transition: background 0.2s;
}
.quick-consult-inputs input::placeholder { color: rgba(255,255,255,0.5); }
.quick-consult-inputs input:focus { background: rgba(255,255,255,0.2); }
.quick-consult-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.77rem;
  white-space: nowrap;
  cursor: pointer;
}
.quick-consult-privacy input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; }
.quick-consult-submit {
  height: 40px;
  padding: 0 22px;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.quick-consult-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.quick-consult-close {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.quick-consult-close:hover { background: rgba(255,255,255,0.2); color: #fff; }

@media (max-width: 768px) {
  .quick-consult-inner { flex-wrap: wrap; padding: 12px 16px; gap: 8px; }
  .quick-consult-label { width: 100%; }
  .quick-consult-inputs { width: 100%; }
  .quick-consult-privacy { font-size: 0.72rem; }
  .quick-consult-submit { padding: 0 16px; font-size: 0.85rem; }
  .floating-btns { bottom: 80px; }
  #scroll-top { bottom: 80px; }
}

@media (max-width: 480px) {
  .quick-consult-inputs { flex-direction: column; gap: 6px; }
  .quick-consult-inputs input { height: 36px; }
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero-form-box { width: 100%; max-width: 480px; margin: 0 auto; }
  .situation-cards { grid-template-columns: repeat(2, 1fr); }

  .case-cards { grid-template-columns: repeat(2, 1fr); }
  .lawyer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-body-inner { flex-direction: column; gap: 20px; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
}

@media (max-width: 768px) {
  .gnb, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 60px 0 50px; }
  .hero-title { font-size: 2rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.6rem; }
  .trust-bar-inner { flex-wrap: wrap; gap: 20px; }
  .trust-item + .trust-item::before { display: none; }
  .trust-item { width: 50%; }
  .situation-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .process-steps { flex-direction: column; gap: 20px; }
  .process-steps::before { display: none; }
  .case-cards { grid-template-columns: 1fr; }
  .review-card { min-width: calc(100% - 0px); }
  .footer-nav-inner { justify-content: flex-start; }
  .footer-nav-inner a { padding: 4px 10px; font-size: 0.78rem; }
  .footer-info-line { font-size: 0.76rem; }
  .lawyer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .location-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 1.7rem; }
  .header-top { display: none; }
}

@media (max-width: 480px) {
  .situation-cards { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .trust-item { width: 100%; }
}

/* ── 성공사례 상세 페이지 ── */
.case-badge-row { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:32px; }
.case-badge { background:var(--bg-light); border:1px solid var(--border); border-radius:10px; padding:12px 20px; font-size:0.85rem; color:var(--text-light); min-width:120px; }
.case-badge strong { display:block; font-size:1rem; color:var(--text-main); font-weight:700; margin-top:4px; }
.case-section-title { font-size:1.05rem; font-weight:700; color:var(--primary); margin:32px 0 12px; padding-left:14px; border-left:4px solid var(--primary); }
.case-body p { font-size:0.97rem; color:var(--text-sub); line-height:1.95; margin-bottom:14px; word-break:keep-all; }
.case-result-box { background:var(--primary); color:white; border-radius:14px; padding:28px 32px; margin-top:36px; }
.case-result-box .result-label { font-size:0.82rem; color:var(--gold); font-weight:700; letter-spacing:0.05em; margin-bottom:8px; }
.case-result-box p { color:rgba(255,255,255,0.92); font-size:0.97rem; line-height:1.8; margin:0; }
.case-related-box { background:var(--bg-light); border-radius:14px; padding:28px 32px; margin-top:40px; text-align:center; }
.case-related-box h3 { font-size:1rem; font-weight:700; color:var(--text-main); margin-bottom:8px; }
.case-related-box p { font-size:0.9rem; color:var(--text-sub); margin-bottom:20px; }
.board-item-link { display:block; text-decoration:none; color:inherit; }
.board-item-link:hover .board-item { border-color:var(--primary); background:rgba(13,65,126,0.03); }
.board-item-link .board-more { font-size:0.85rem; color:var(--primary); font-weight:600; margin-top:10px; }
@media(max-width:768px) {
  .case-badge-row { gap:8px; }
  .case-badge { min-width:auto; padding:10px 14px; }
  .case-result-box { padding:20px 20px; }
  .case-related-box { padding:20px 20px; }
}

/* ══════════════════════════════════════
   신규: 히어로 인라인 상담 폼
══════════════════════════════════════ */
.hero-trust-row {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}
.hero-trust-item i { color: var(--gold); font-size: 0.9rem; }

.hero-form-box {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  overflow: hidden;
  width: 380px;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero-form-header {
  background: rgba(200,168,75,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 22px 28px 18px;
  text-align: center;
}
.hero-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,168,75,0.25);
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.hero-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.hero-form-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
.hero-form-body {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-form-input {
  width: 100%;
  height: 46px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0 16px;
  font-size: 0.92rem;
  font-family: inherit;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.hero-form-input::placeholder { color: rgba(255,255,255,0.45); }
.hero-form-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.15);
}
.hero-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.5)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.hero-form-select option { background: #1C2B3C; color: #fff; }
.hero-form-agree-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}
.hero-form-agree-label input[type="checkbox"] {
  accent-color: var(--gold);
  width: 15px; height: 15px;
  flex-shrink: 0;
}
.hero-form-btn {
  width: 100%;
  height: 52px;
  background: var(--gold);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: -0.01em;
}
.hero-form-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,168,75,0.4);
}
.hero-form-footer {
  padding: 12px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ══════════════════════════════════════
   신규: 문제 공감 섹션
══════════════════════════════════════ */
.problem-section {
  padding: 90px 0;
  background: var(--white);
}
.problem-header {
  text-align: center;
  margin-bottom: 52px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: var(--transition);
}
.problem-item:hover {
  border-color: var(--primary);
  background: rgba(28,43,60,0.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.problem-check {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.problem-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}
.problem-text strong { color: var(--primary); }
.problem-cta-wrap {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.problem-cta-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}
.problem-cta-text strong { color: #fff; }

/* ══════════════════════════════════════
   신규: 중간 CTA 섹션
══════════════════════════════════════ */
.mid-cta-section {
  background: var(--primary);
  padding: 80px 0;
}
.mid-cta-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.mid-cta-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mid-cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.mid-cta-title em { color: var(--gold); font-style: normal; }
.mid-cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.mid-cta-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
}
.mid-cta-list li i { color: var(--gold); font-size: 1rem; }
.mid-cta-tel {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px 20px;
  width: fit-content;
}
.mid-cta-tel i { font-size: 1.4rem; color: var(--gold); }

.mid-cta-form {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mid-cta-form-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  text-align: center;
}
.mid-cta-input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0 16px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
  appearance: none;
}
.mid-cta-input:focus { border-color: var(--primary); }
.mid-cta-input::placeholder { color: var(--text-light); }
.mid-cta-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-sub);
  cursor: pointer;
}
.mid-cta-agree input[type="checkbox"] {
  accent-color: var(--primary);
  width: 15px; height: 15px;
  flex-shrink: 0;
}
.mid-cta-btn {
  width: 100%;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  transition: background 0.2s, transform 0.15s;
}
.mid-cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   신규: 해결 사례 그리드 (결과 중심)
══════════════════════════════════════ */
.case-result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-result-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.case-result-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.case-result-tag {
  display: inline-block;
  background: rgba(28,43,60,0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}
.case-result-tag-special { background: rgba(200,168,75,0.15); color: var(--gold); }
.case-result-tag-creditor { background: rgba(200,50,50,0.1); color: #c03232; }
.case-result-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.case-result-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
  margin-bottom: 16px;
}
.case-result-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}
.case-result-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.65;
  flex: 1;
}
.case-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,160,80,0.1);
  color: #008040;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: 16px;
  width: fit-content;
}

/* ══════════════════════════════════════
   반응형 추가
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-form-box { width: 340px; }
  .mid-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .mid-cta-title { font-size: 1.6rem; }
  .case-result-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-form-box { display: none; }
  .hero-trust-row { gap: 14px; }
  .problem-grid { grid-template-columns: 1fr; gap: 10px; }
  .problem-cta-wrap { flex-direction: column; text-align: center; }
  .mid-cta-section { padding: 60px 0; }
  .mid-cta-title { font-size: 1.4rem; }
  .mid-cta-form { padding: 28px 20px; }
  .case-result-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .case-result-amount { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .case-result-grid { grid-template-columns: 1fr; }
  .hero-trust-row { flex-direction: column; gap: 8px; }
}
