/* =============================================
   법무법인 서앤율 음주운전·교통사고 전담센터
   Design: Trust & Light / Korean Legal Modernism
   Colors: Navy #0D1B2A | Blue #1565C0 | Gold #C9A84C
   Fonts: Noto Serif KR + Noto Sans KR
   ============================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Noto Serif KR', serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: #1565C0; color: #fff; }
.btn-primary:hover { background: #0D47A1; }
.btn-gold { background: #C9A84C; color: #fff; }
.btn-gold:hover { background: #b8943e; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  padding: 0.75rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 40px; width: auto; display: block; }
.site-header.scrolled .logo-img-white { display: none; }
.site-header:not(.scrolled) .logo-img-dark { display: none; }
.footer-logo-img { height: 42px; width: auto; display: block; }
.logo-badge {
  background: #1565C0;
  color: #fff;
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  letter-spacing: -0.02em;
}
.site-header:not(.scrolled) .logo-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
}
.logo-text { display: flex; flex-direction: column; }
.logo-sub { font-size: 0.65rem; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; }
.logo-main { font-family: 'Noto Serif KR', serif; font-weight: 700; font-size: 1rem; color: #fff; }
.site-header.scrolled .logo-sub { color: #666; }
.site-header.scrolled .logo-main { color: #0D1B2A; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.main-nav a:hover { color: #C9A84C; }
.site-header.scrolled .main-nav a { color: #333; }
.site-header.scrolled .main-nav a:hover { color: #1565C0; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.header-cta:hover { background: rgba(255,255,255,0.3); }
.site-header.scrolled .header-cta { background: #1565C0; border-color: #1565C0; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.site-header.scrolled .mobile-menu-btn span { background: #333; }

/* ---- HERO SECTION ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 히어로 배경 켄번스 모션 (영상 대체) */
.hero-kenburns {
  transform-origin: 60% 55%;
  will-change: transform;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.18) translate(-2%, -1.2%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-kenburns { animation: none; transform: scale(1.08); }
}
/* 도로 위 지나가는 자동차 라이트 모션 */
.hero-traffic {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.car-light {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  filter: blur(7px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}
.car-light.hl {
  width: 30px;
  height: 15px;
  background: radial-gradient(ellipse at center, rgba(255,247,228,0.95), rgba(255,214,150,0.45) 55%, transparent 72%);
  animation: heroApproach var(--dur, 8s) linear infinite;
}
.car-light.tl {
  width: 24px;
  height: 13px;
  background: radial-gradient(ellipse at center, rgba(255,98,80,0.9), rgba(200,45,45,0.4) 55%, transparent 72%);
  animation: heroRecede var(--dur, 11s) linear infinite;
}
@keyframes heroApproach {
  0%   { transform: translate(0, 0) scale(0.35); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.65; }
  100% { transform: translate(var(--tx, -12vw), var(--ty, 42vh)) scale(1.8); opacity: 0; }
}
@keyframes heroRecede {
  0%   { transform: translate(0, 0) scale(1.5); opacity: 0; }
  15%  { opacity: 0.7; }
  100% { transform: translate(var(--tx, 9vw), var(--ty, -24vh)) scale(0.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-traffic { display: none; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.88) 0%,
    rgba(21,101,192,0.45) 60%,
    rgba(13,27,42,0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-urgent { background: rgba(220,38,38,0.85); color: #fff; }
.badge-info { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.3); }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-title-em { color: #C9A84C; }

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.hero-stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Noto Serif KR', serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-plus, .stat-unit { font-size: 1rem; color: #C9A84C; }
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.6); line-height: 1.4; margin-top: 0.25rem; display: block; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

.ad-notice {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

/* Hero Form */
.hero-form-wrap { }
.hero-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-form-badge {
  display: inline-block;
  background: #1565C0;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.hero-form-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0D1B2A;
  margin-bottom: 0.25rem;
}
.hero-form-sub { font-size: 0.8rem; color: #888; margin-bottom: 1.25rem; }

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  margin: 0.4rem auto 0;
  animation: scrollBounce 1.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 0.875rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.35rem;
}
.req { color: #e53e3e; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1565C0;
}
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: #666;
  line-height: 1.5;
}
.form-privacy input { width: auto; flex-shrink: 0; margin-top: 2px; }
.form-error { color: #e53e3e; font-size: 0.8rem; margin-bottom: 0.75rem; }
.form-notice { font-size: 0.7rem; color: #aaa; text-align: center; margin-top: 0.5rem; }
.form-success { text-align: center; padding: 1.5rem 0; }
.success-icon { width: 56px; height: 56px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; color: #16a34a; }

/* ---- STATS BAND ---- */
.stats-band {
  background: #0D1B2A;
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-item { text-align: center; padding: 0 1.5rem; }
.stat-big {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-big span { font-size: 1.2rem; color: #C9A84C; }
.stat-desc { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.5rem; line-height: 1.5; }
.stat-desc small { font-size: 0.65rem; color: rgba(255,255,255,0.35); }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.12); }

/* ---- SECTIONS ---- */
.section { padding: 5rem 0; }
.section-light { background: #f8f9fc; }
.section-white { background: #fff; }
.section-dark { background: #0D1B2A; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header-light { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1565C0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label::before, .section-label::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: #1565C0;
}
.section-label-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #C9A84C;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label-light::before, .section-label-light::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: #C9A84C;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #0D1B2A;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.section-desc { color: #666; margin-top: 1rem; font-size: 0.95rem; }
.text-blue { color: #1565C0; }
.text-gold { color: #C9A84C; }
.text-white { color: #fff; }

/* ---- PAIN POINTS ---- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pain-card {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.25s ease;
}
.pain-card:hover {
  border-color: #1565C0;
  box-shadow: 0 8px 30px rgba(21,101,192,0.1);
  transform: translateY(-3px);
}
.pain-icon { font-size: 2rem; margin-bottom: 1rem; }
.pain-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.1rem;
  display: block;
  background: #eef1f6;
}
.pain-card { overflow: hidden; }
.pain-title { font-size: 1rem; font-weight: 700; color: #0D1B2A; margin-bottom: 0.5rem; }
.pain-desc { font-size: 0.85rem; color: #666; line-height: 1.7; }
.pain-cta { text-align: center; }
.pain-cta p { color: #555; margin-bottom: 1rem; }

/* ---- WHY US ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.25s;
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.4);
}
.why-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(201,168,76,0.3);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.why-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.why-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.why-cta { text-align: center; }
.why-cta p { color: rgba(255,255,255,0.5); margin-bottom: 1rem; font-size: 0.9rem; }

/* ---- CASES ---- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.case-card {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 12px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1565C0, #1976D2);
}
.case-card:hover {
  box-shadow: 0 8px 30px rgba(21,101,192,0.12);
  transform: translateY(-3px);
}
.case-tag {
  display: inline-block;
  background: #EFF6FF;
  color: #1565C0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.case-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: block;
  background: #eef1f6;
}
.case-title { font-size: 0.95rem; font-weight: 700; color: #0D1B2A; margin-bottom: 0.5rem; line-height: 1.4; }
.case-detail { font-size: 0.82rem; color: #666; line-height: 1.6; margin-bottom: 1rem; }
.case-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f0f7ff;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.result-label { font-size: 0.75rem; color: #888; }
.result-value { font-size: 1rem; font-weight: 900; color: #1565C0; font-family: 'Noto Serif KR', serif; }
.case-note { font-size: 0.7rem; color: #aaa; }
.cases-disclaimer {
  background: #fafafa;
  border: 1px solid #e8ecf4;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  color: #888;
  line-height: 1.6;
}

/* ---- LAWYERS ---- */
.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.lawyer-card {
  border: 1px solid #e8ecf4;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s;
}
.lawyer-card:hover {
  box-shadow: 0 12px 40px rgba(21,101,192,0.12);
  border-color: rgba(21,101,192,0.2);
}
.lawyer-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #edf1f8, #cdd6e5);
  overflow: hidden;
}
.lawyer-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.lawyer-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif KR', serif;
  font-size: 3rem;
  font-weight: 900;
  color: #1565C0;
}
.lawyer-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(13,27,42,0.25);
}
.badge-rep { background: #1565C0; color: #fff; }
.badge-partner { background: #C9A84C; color: #fff; }
.lawyer-name { font-size: 1.15rem; font-weight: 700; color: #0D1B2A; }
.lawyer-title { font-size: 0.78rem; color: #1565C0; font-weight: 600; margin-top: 0.15rem; margin-bottom: 0.9rem; }
.lawyer-body { padding: 1.25rem; }
.lawyer-school { font-size: 0.78rem; color: #555; margin-bottom: 0.75rem; }
.info-label { display: block; font-size: 0.65rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.lawyer-certs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }
.cert-badge { font-size: 0.68rem; background: #EFF6FF; color: #1565C0; padding: 0.2rem 0.5rem; border-radius: 4px; }
.lawyer-careers { list-style: none; }
.lawyer-careers li {
  font-size: 0.75rem;
  color: #555;
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}
.lawyer-careers li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 5px;
  height: 5px;
  background: #C9A84C;
  border-radius: 50%;
}
.lawyers-more { text-align: center; }
.lawyers-more p { color: #888; font-size: 0.85rem; margin-bottom: 0.5rem; }
.link-more { color: #1565C0; font-weight: 600; font-size: 0.9rem; }
.link-more:hover { text-decoration: underline; }

/* ---- PROCESS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-bottom: 3rem;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0D1B2A, #1565C0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(21,101,192,0.28);
}
.process-icon svg { width: 28px; height: 28px; stroke: #fff; }
.process-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1565C0;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.process-title { font-size: 1rem; font-weight: 700; color: #0D1B2A; margin-bottom: 0.5rem; }
.process-desc { font-size: 0.82rem; color: #666; line-height: 1.6; }
.process-arrow {
  position: absolute;
  right: -0.75rem;
  top: 2.5rem;
  font-size: 1.5rem;
  color: #C9A84C;
  z-index: 1;
}
.process-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
}
.process-image { width: 100%; height: 100%; object-fit: cover; }
.process-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.55) 38%, rgba(13,27,42,0.1) 62%, rgba(13,27,42,0) 80%);
  display: flex;
  align-items: center;
  padding: 3rem;
}
.process-image-text h3 { font-size: 1.75rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.process-image-text p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }

/* ---- CONSULTATION ---- */
.section-consult {
  position: relative;
  padding: 5rem 0;
}
.consult-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.consult-bg-img { width: 100%; height: 100%; object-fit: cover; }
.consult-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.90);
}
.consult-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: start;
}
.consult-desc { color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 2rem; }
.consult-contacts { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.consult-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.2s;
}
.consult-contact:hover { opacity: 0.85; }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.contact-icon-blue { background: #1565C0; }
.contact-icon-kakao { background: #FEE500; }
.contact-sub { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.contact-main { display: block; font-size: 1.25rem; font-weight: 700; color: #fff; }
.consult-guarantees { list-style: none; }
.consult-guarantees li { color: rgba(255,255,255,0.65); font-size: 0.875rem; padding: 0.3rem 0; }

.consult-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.consult-form-title { font-size: 1.4rem; font-weight: 900; color: #0D1B2A; margin-bottom: 0.25rem; }
.consult-form-sub { font-size: 0.8rem; color: #888; margin-bottom: 1.5rem; }

.form-success-card { text-align: center; padding: 2rem 0; }
.success-icon-big {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #16a34a;
  margin: 0 auto 1rem;
}
.form-success-card h3 { font-size: 1.5rem; font-weight: 900; color: #0D1B2A; margin-bottom: 0.5rem; }
.form-success-card p { color: #666; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }

/* ---- FOOTER ---- */
.site-footer { background: #0D1B2A; color: #fff; padding: 3.5rem 0 1.5rem; }
.footer-inner { }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-sns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.sns-kakao {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FEE500;
  color: #3C1E1E;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.sns-kakao:hover { background: #F0D900; }
.sns-naver {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.sns-naver:hover { background: rgba(255,255,255,0.15); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: 0.05em; }
.footer-info { list-style: none; }
.footer-info li { font-size: 0.8rem; color: rgba(255,255,255,0.5); padding: 0.35rem 0; line-height: 1.5; }
.footer-info strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.footer-info a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-info a:hover { color: #C9A84C; }
.footer-info small { font-size: 0.7rem; color: rgba(255,255,255,0.35); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-legal p { font-size: 0.72rem; color: rgba(255,255,255,0.3); line-height: 1.6; }
.footer-disclaimer { margin-top: 0.5rem; font-size: 0.68rem !important; color: rgba(255,255,255,0.25) !important; }
.footer-links { display: flex; gap: 1.5rem; flex-shrink: 0; }
.footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.2); margin-top: 1rem; text-align: center; }

/* ---- FLOATING CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.floating-btns { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.floating-kakao {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FEE500;
  color: #3C1E1E;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  white-space: nowrap;
  transition: all 0.2s;
}
.floating-kakao:hover { background: #F0D900; transform: translateY(-2px); }
.floating-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1565C0;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(21,101,192,0.4);
  white-space: nowrap;
  transition: all 0.2s;
}
.floating-call:hover { background: #0D47A1; transform: translateY(-2px); }
.floating-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1565C0;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(21,101,192,0.5);
  transition: all 0.2s;
  animation: pulseRing 2s infinite;
}
.floating-toggle:hover { background: #0D47A1; transform: scale(1.05); }
.floating-toggle.open { background: #555; animation: none; }
.floating-label { font-size: 0.65rem; color: #888; text-align: center; }

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(21,101,192,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(21,101,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(21,101,192,0); }
}

/* ---- SCROLL ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.23,1,0.32,1), transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-form-wrap { max-width: 480px; }
  .lawyers-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-divider { display: none; }
  .consult-inner { grid-template-columns: 1fr; }
  .consult-form-wrap { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,27,42,0.97);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }
  .main-nav.open a { font-size: 1.25rem; color: #fff; }
  .pain-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .lawyers-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat-divider { width: 40px; height: 1px; }
}

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

/* ============================================================
   ✦ PREMIUM UPGRADE LAYER — taste-skill applied
   브랜드 톤(네이비 #0D1B2A · 블루 #1565C0 · 골드 #C9A84C) 유지
   백엔드/레이아웃 보존 · 인터랙션/타이포/머티리얼리티 고급화
   ============================================================ */

/* — Typography: Pretendard 본문 + 한글 keep-all + 정밀 자간 — */
body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, 'Malgun Gothic', sans-serif;
  word-break: keep-all;
  letter-spacing: -0.006em;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, li, span, a, label, .hero-desc, .section-desc { word-break: keep-all; }
.hero-title { letter-spacing: -0.025em; line-height: 1.16; }
.section-title { letter-spacing: -0.02em; }

/* — Premium easing: 버튼 리프트 + 샤인 스윕 — */
.btn {
  transition: transform .45s cubic-bezier(.16,1,.3,1),
              box-shadow .45s cubic-bezier(.16,1,.3,1),
              background-color .25s ease, border-color .25s ease, color .25s ease;
  will-change: transform;
  letter-spacing: -0.01em;
}
.btn-lg { border-radius: 9px; }
.btn-primary { box-shadow: 0 8px 22px -6px rgba(21,101,192,.5); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -8px rgba(21,101,192,.62); }
.btn-gold { box-shadow: 0 8px 22px -6px rgba(201,168,76,.55); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(201,168,76,.72); }
.btn-outline:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.985); }
.btn-primary, .btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before, .btn-gold::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.30) 50%, transparent 68%);
  transform: translateX(-130%);
}
.btn-primary:hover::before, .btn-gold:hover::before { animation: btnShine .85s cubic-bezier(.16,1,.3,1); }
@keyframes btnShine { to { transform: translateX(130%); } }

/* — Focus-visible: 접근성 + 프리미엄 링 — */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid #1565C0; outline-offset: 3px; border-radius: 6px;
}

/* — Nav / more 링크 골드 언더라인 — */
.main-nav a { position: relative; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: #C9A84C; border-radius: 2px;
  transition: width .3s cubic-bezier(.16,1,.3,1);
}
.main-nav a:hover::after { width: 100%; }
.link-more { position: relative; }
.link-more::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: #1565C0; transition: width .35s cubic-bezier(.16,1,.3,1);
}
.link-more:hover::after { width: 100%; }

/* — Materiality: 카드 깊이 + 이미지 미세 줌 — */
.pain-card, .case-card, .lawyer-card, .why-card {
  transition: transform .5s cubic-bezier(.16,1,.3,1),
              box-shadow .5s cubic-bezier(.16,1,.3,1), border-color .3s ease;
}
.pain-card:hover, .case-card:hover { transform: translateY(-7px); box-shadow: 0 24px 52px -20px rgba(13,27,42,.30); }
.lawyer-card:hover { transform: translateY(-7px); box-shadow: 0 28px 58px -22px rgba(13,27,42,.34); }
.pain-img, .case-img { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.pain-card:hover .pain-img, .case-card:hover .case-img { transform: scale(1.05); }
.lawyer-portrait img { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.lawyer-card:hover .lawyer-portrait img { transform: scale(1.045); }

/* — 섹션 라벨 골드 헤어라인 — */
.section-label::before, .section-label-light::before {
  content: ''; display: inline-block; width: 22px; height: 2px;
  background: #C9A84C; border-radius: 2px;
  margin-right: .55rem; vertical-align: middle;
}

/* — 폼/글래스 정제: 그림자 + 포커스 링 — */
.hero-form-card, .consult-form { box-shadow: 0 30px 70px -24px rgba(13,27,42,.45); }
.form-group input, .form-group select, .form-group textarea {
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #1565C0; box-shadow: 0 0 0 4px rgba(21,101,192,.12); outline: none;
}

/* — 스크롤 리빌 정제 + 스태거 — */
.fade-in {
  transform: translateY(30px) scale(.99);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.fade-in.visible { transform: none; }
.pain-grid .fade-in:nth-child(2), .why-grid .fade-in:nth-child(2),
.cases-grid .fade-in:nth-child(2), .lawyers-grid .fade-in:nth-child(2) { transition-delay: .07s; }
.pain-grid .fade-in:nth-child(3), .why-grid .fade-in:nth-child(3),
.cases-grid .fade-in:nth-child(3), .lawyers-grid .fade-in:nth-child(3) { transition-delay: .14s; }
.pain-grid .fade-in:nth-child(4), .why-grid .fade-in:nth-child(4),
.cases-grid .fade-in:nth-child(4), .lawyers-grid .fade-in:nth-child(4) { transition-delay: .21s; }
.lawyers-grid .fade-in:nth-child(5) { transition-delay: .10s; }
.lawyers-grid .fade-in:nth-child(6) { transition-delay: .17s; }
.lawyers-grid .fade-in:nth-child(7) { transition-delay: .24s; }
.lawyers-grid .fade-in:nth-child(8) { transition-delay: .31s; }

/* — 미세 그레인 텍스처(프리미엄 깊이) — */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .028; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* — reduced-motion 존중 — */
@media (prefers-reduced-motion: reduce) {
  .btn, .pain-card, .case-card, .lawyer-card, .why-card, .fade-in,
  .pain-img, .case-img, .lawyer-portrait img { transition: none !important; animation: none !important; }
  .fade-in { opacity: 1 !important; transform: none !important; }
  body::after { display: none; }
}

/* ============================================================
   ✦ KEYWORD CLOUD (SEO / AEO / GEO)  — 상담 신청 바로 위
   ============================================================ */
.section-keywords { position: relative; overflow: hidden; background: #f6f8fc; }
.section-keywords::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 320px at 18% 12%, rgba(21,101,192,.07), transparent 62%),
    radial-gradient(560px 300px at 84% 88%, rgba(201,168,76,.09), transparent 62%);
}
.section-keywords .container { position: relative; z-index: 1; }
.keyword-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .55rem 1.15rem; max-width: 940px; margin: 2.6rem auto 0;
}
.kw {
  display: inline-block; line-height: 1.1; white-space: nowrap; cursor: default;
  opacity: 0;
  transition: opacity .55s ease, color .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 0.028s);
}
.keyword-cloud.visible .kw {
  opacity: 1;
  animation: kwFloat 4.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -0.41s);
}
.kw-xl { font-size: 2.15rem; font-weight: 800; color: #C9A84C; letter-spacing: -0.02em; }
.kw-lg { font-size: 1.5rem;  font-weight: 700; color: #1565C0; letter-spacing: -0.01em; }
.kw-md { font-size: 1.12rem; font-weight: 600; color: #24344a; }
.kw-sm { font-size: .9rem;   font-weight: 500; color: #93a0b4; }
.kw:hover { transform: scale(1.16) translateY(-2px); color: #1565C0; animation: none; }
.kw-xl:hover { color: #b8943e; }
@keyframes kwFloat { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.keyword-cta { text-align: center; margin-top: 2.6rem; }
@media (max-width: 768px) {
  .kw-xl { font-size: 1.7rem; } .kw-lg { font-size: 1.25rem; }
  .kw-md { font-size: 1rem; } .kw-sm { font-size: .82rem; }
  .keyword-cloud { gap: .5rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .kw { opacity: 1 !important; animation: none !important; }
}

/* ============================================================
   ✦ FAQ (자주 묻는 질문 · FAQPage)
   ============================================================ */
.faq-list { max-width: 820px; margin: 2.4rem auto 0; }
.faq-item {
  border: 1px solid #e8ecf4;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .35s cubic-bezier(.16,1,.3,1);
}
.faq-item[open] { border-color: #1565C0; box-shadow: 0 12px 32px -16px rgba(21,101,192,.4); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-size: 1rem; font-weight: 700; color: #0D1B2A;
  cursor: pointer; list-style: none; line-height: 1.55;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-ico {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: #EFF6FF; color: #1565C0; font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s cubic-bezier(.16,1,.3,1), background .25s ease, color .25s ease;
}
.faq-item[open] .faq-ico { transform: rotate(45deg); background: #1565C0; color: #fff; }
.faq-a {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.9rem; color: #555; line-height: 1.8; word-break: keep-all;
}
