:root {
  --navy: #16233d;
  --navy-soft: #4b5768;
  --teal: #0e7c86;
  --teal-dark: #0a5f68;
  --teal-tint: #e7f4f3;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --line: #e1e7ea;
  --gold: #d8a643;
  --warn: #b23b2b;
  --warn-tint: rgba(178, 59, 43, 0.08);
  --shadow: 0 12px 28px rgba(22, 35, 61, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Pretendard", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --font-display: "Do Hyeon", "Pretendard", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1,
.section__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.nav__logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--navy);
  display: inline-block;
}

.nav__logo span {
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  padding-bottom: 4px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

/* ---------- nav: 상담사례 하위메뉴 (상담사례 · 회복방안) ---------- */
.nav__group {
  position: relative;
  /* flex 컨테이너로 두어야 안쪽 버튼이 글자 baseline 여백만큼 밀리지 않고
     옆의 <a> 메뉴와 정확히 같은 높이에 놓인다. */
  display: flex;
  align-items: center;
}

.nav__link--parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 500;
  /* 버튼은 기본 line-height가 normal이라 옆의 <a> 메뉴와 글자 높이가 어긋난다.
     본문 line-height를 그대로 물려받아 한 줄에 정렬되도록 맞춘다. */
  line-height: inherit;
  vertical-align: baseline;
  text-align: left;
}

.nav__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
}

.nav__group.is-open .nav__caret {
  transform: rotate(180deg);
}

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 148px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}

.nav__group:hover .nav__submenu,
.nav__group:focus-within .nav__submenu,
.nav__group.is-open .nav__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav__submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav__submenu a:hover,
.nav__submenu a.is-active {
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-weight: 700;
}

.nav__cta {
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--teal-dark);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}

.nav__toggle span {
  height: 2px;
  border-radius: 1px;
  background: var(--navy);
  width: 100%;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--teal);
  color: #fff;
}

.btn--primary:hover {
  background: var(--teal-dark);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn--block {
  width: 100%;
}

/* ---------- hero (home) ---------- */
.hero {
  padding: 148px 0 72px;
  background: linear-gradient(180deg, var(--teal-tint) 0%, var(--bg) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.28;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--teal);
}

.hero__subtitle {
  font-size: 1.02rem;
  color: var(--navy-soft);
  margin-bottom: 28px;
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.usp-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.usp-item__dot {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero__panel h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero__panel p.hero__panel-note {
  font-size: 0.84rem;
  color: var(--navy-soft);
  margin-bottom: 18px;
}

/* ---------- badges / stats ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- section ---------- */
.section {
  padding: 76px 0;
}

.section--tint {
  background: var(--teal-tint);
}

.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.section--dark .section__head h2,
.section--dark .eyebrow {
  color: #fff;
}

.section--dark .section__head p {
  color: rgba(255, 255, 255, 0.65);
}

.section__head {
  margin-bottom: 34px;
}

.section__head h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.section__head p {
  color: var(--navy-soft);
  margin-top: 8px;
}

.section__foot {
  margin-top: 24px;
  text-align: center;
}

/* ---------- recent applications strip ---------- */
.recent-strip {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.recent-strip__label {
  flex: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-tint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.recent-strip__label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

.recent-strip__sample {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.recent-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
}

.recent-strip__list strong {
  color: #fff;
}

/* 실제 접수 내역(위층)이 표시될 때, 아래층 일반 문구와 구분 */
.js-recent-live:not(.hidden) + .js-recent-list {
  width: 100%;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.hidden {
  display: none !important;
}

/* ---------- case cards / list ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.case-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.case-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-tint);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.case-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.case-card__meta {
  font-size: 0.78rem;
  color: var(--navy-soft);
  display: flex;
  gap: 12px;
}

.case-table {
  width: 100%;
  border-collapse: collapse;
}

.case-table th {
  text-align: left;
  font-size: 0.8rem;
  color: var(--navy-soft);
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  font-weight: 600;
}

.case-table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.case-table tr td:first-child a:hover {
  color: var(--teal);
}

.case-table__date {
  color: var(--navy-soft);
  font-size: 0.82rem;
  white-space: nowrap;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps--compact {
  grid-template-columns: repeat(2, 1fr);
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  position: relative;
}

.step__num {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 10px;
}

.step h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.84rem;
  color: var(--navy-soft);
}

/* ---------- two-column content + sidebar layout ---------- */
.page-hero {
  padding: 140px 0 40px;
  background: var(--teal-tint);
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--navy-soft);
  max-width: 60ch;
}

.page-banner-wrap {
  padding: 32px 0 0;
}

.page-banner {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 44px;
  align-items: start;
}

.prose h2 {
  font-size: 1.3rem;
  margin: 34px 0 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--navy-soft);
  margin-bottom: 14px;
}

.info-box {
  background: var(--teal-tint);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 20px 0;
  font-size: 0.92rem;
  color: var(--navy);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.92rem;
}

.check-list li::before {
  content: "✓";
  flex: none;
  color: var(--teal);
  font-weight: 800;
}

/* ---------- attorney profile ---------- */
.attorney-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
}

.attorney-card__photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 18%;
  background: var(--teal-tint);
}

.attorney-card__avatar {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
}

.attorney-card__body {
  align-self: center;
}

.attorney-card__name {
  font-size: 1.24rem;
  margin-bottom: 4px;
}

.attorney-card__name span {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--navy-soft);
  margin-left: 6px;
}

.attorney-card__contact {
  font-size: 0.78rem;
  color: var(--navy-soft);
  margin-bottom: 14px;
}

.attorney-card__bio {
  font-size: 0.84rem;
  color: var(--navy-soft);
  margin-bottom: 20px;
  line-height: 1.75;
}

.attorney-card__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.attorney-card__lists h5 {
  font-size: 0.8rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.attorney-card__lists ul li {
  font-size: 0.82rem;
  color: var(--navy-soft);
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}

/* ---------- consult widget (sidebar + full) ---------- */
.consult-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px;
  position: sticky;
  top: 96px;
}

.consult-widget h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.consult-widget__note {
  font-size: 0.82rem;
  color: var(--navy-soft);
  margin-bottom: 18px;
}

.consult-widget--full {
  position: static;
  max-width: 620px;
  margin: 0 auto;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

.field input[type="text"],
.field input[type="tel"],
.field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--navy);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--surface);
}

.radio-row {
  display: flex;
  gap: 10px;
}

.radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.radio-option:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-weight: 700;
}

.radio-option input {
  accent-color: var(--teal);
}

.consult-widget__warn {
  font-size: 0.78rem;
  color: var(--warn);
  background: var(--warn-tint);
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 16px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--navy-soft);
  margin-bottom: 16px;
}

.consent-row input {
  margin-top: 3px;
  accent-color: var(--teal);
}

.form-note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--teal-dark);
  display: none;
}

.form-note.is-visible {
  display: block;
}

.form-note.is-blocked {
  color: var(--warn);
  background: var(--warn-tint);
  border: 1px solid rgba(178, 59, 43, 0.3);
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.privacy-note {
  font-size: 0.72rem;
  color: var(--navy-soft);
  opacity: 0.85;
  margin-top: 14px;
  line-height: 1.5;
}

/* ---------- stat band (dark CTA) ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding: 8px 0 40px;
}

.stat-band__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--teal-tint);
}

.stat-band__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
}

.footer__grid p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer h4 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 14px;
}

.footer ul li {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer ul li a:hover {
  color: var(--teal-tint);
}

.footer__legal {
  font-size: 0.78rem;
  padding-top: 20px;
  line-height: 1.7;
}

.footer__bottom {
  font-size: 0.74rem;
  opacity: 0.6;
  margin-top: 10px;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .consult-widget {
    position: static;
  }

  .case-grid,
  .usp-list {
    grid-template-columns: 1fr;
  }

  .attorney-card {
    grid-template-columns: 1fr;
  }

  .attorney-card__photo,
  .attorney-card__avatar {
    max-width: 280px;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .stat-band {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-banner {
    max-height: 260px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 100%;
    left: auto;
    right: 0;
    width: 50%;
    min-width: 240px;
    z-index: 150;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 20px 18px;
    border-bottom: 2px solid var(--teal);
    border-left: 2px solid var(--teal);
    border-radius: 0 0 0 12px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), visibility 0s linear 0.3s;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
  }

  .nav__link {
    color: #fff;
    padding: 10px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.96rem;
  }

  /* 모바일에서는 하위메뉴가 눌렀을 때 아래로 펼쳐진다 */
  .nav__group {
    display: block;
    width: 100%;
  }

  .nav__link--parent {
    width: 100%;
    justify-content: space-between;
    padding: 10px 2px;
  }

  .nav__group:hover .nav__submenu,
  .nav__group:focus-within .nav__submenu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav__submenu,
  .nav__group.is-open .nav__submenu {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0 0 0 14px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: none;
  }

  .nav__submenu {
    display: none;
  }

  .nav__group.is-open .nav__submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__submenu a {
    color: rgba(255, 255, 255, 0.88);
    padding: 9px 2px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
  }

  .nav__submenu a:hover,
  .nav__submenu a.is-active {
    background: transparent;
    color: var(--teal-tint);
  }

  .nav__cta {
    margin-top: 12px;
    text-align: center;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: 128px 0 56px;
  }

  .page-hero {
    padding: 118px 0 32px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .case-table thead {
    display: none;
  }

  .case-table tr {
    display: block;
    padding: 12px 0;
  }

  .case-table td {
    display: block;
    padding: 3px 0;
    border-bottom: none;
  }

  .case-table tr {
    border-bottom: 1px solid var(--line);
  }

  .recent-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge-row {
    gap: 8px;
  }
}

/* ---------- form: unit label + hint ---------- */
.field__unit {
  font-weight: 600;
  font-size: 0.76rem;
  color: var(--teal-dark);
}

.field__hint {
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--navy-soft);
  line-height: 1.5;
}

.field__hint strong {
  color: var(--teal-dark);
}

/* ---------- consent + privacy policy ---------- */
.consent-row__text {
  display: block;
}

.consent-row__text label {
  display: inline;
}

.privacy-link {
  display: inline-block;
  margin-top: 4px;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-link:hover {
  color: var(--teal);
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(22, 35, 61, 0.55);
}

.privacy-modal.is-open {
  display: flex;
}

.privacy-modal__dialog {
  background: var(--surface);
  border-radius: 14px;
  width: min(760px, 100%);
  max-height: min(84vh, 780px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(22, 35, 61, 0.3);
  overflow: hidden;
}

.privacy-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.privacy-modal__head h3 {
  font-size: 1.05rem;
}

.privacy-modal__head .privacy-modal__close {
  font-size: 1rem;
  color: var(--navy-soft);
  line-height: 1;
  padding: 4px 6px;
}

.privacy-modal__body {
  padding: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.privacy-modal__foot {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  text-align: right;
}

.privacy-modal__foot .btn {
  padding: 11px 26px;
}

/* 방침 본문 (모달 · 전용 페이지 공용) */
.policy-prose {
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--navy-soft);
}

.policy-prose h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 26px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.policy-prose > *:first-child,
.policy-prose h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.policy-prose p {
  margin-bottom: 10px;
}

.policy-prose ul,
.policy-prose ol {
  margin: 0 0 12px;
  padding-left: 18px;
  list-style: disc;
}

.policy-prose ol {
  list-style: decimal;
}

.policy-prose li {
  margin-bottom: 6px;
}

.policy-prose a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.policy-prose strong {
  color: var(--navy);
}

/* 메뉴 항목이 늘어난 구간에서 내비게이션이 넘치지 않도록 */
@media (max-width: 1100px) and (min-width: 901px) {
  .nav__links {
    gap: 18px;
  }

  .nav__link {
    font-size: 0.86rem;
  }

  .nav__cta {
    padding: 9px 16px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   이벤트 랜딩페이지 (택시기사 개인회생)
   ============================================================ */
.lp {
  --lp-amber: #f2b53c;
  --lp-amber-soft: #fff6e3;
  background: var(--surface);
}

.lp-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-topbar__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lp-topbar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.3;
}

.lp-topbar__brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.lp-topbar__brand small {
  display: block;
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--lp-amber);
  letter-spacing: 0.04em;
}

.lp-topbar__cta {
  flex: none;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--lp-amber);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.lp-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.lp-section--tint {
  background: var(--bg);
}

.lp-section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  border-top: none;
}

.lp-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--lp-amber-soft);
  color: #9a6b0d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.lp-section--dark .lp-eyebrow {
  background: rgba(242, 181, 60, 0.16);
  color: var(--lp-amber);
}

.lp-hook {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4.4vw, 2.25rem);
  line-height: 1.36;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.lp-section--dark .lp-hook,
.lp-hero .lp-hook {
  color: #fff;
}

.lp-hook em {
  font-style: normal;
  color: var(--teal);
  background: linear-gradient(transparent 62%, rgba(242, 181, 60, 0.42) 62%);
}

.lp-section--dark .lp-hook em,
.lp-hero .lp-hook em {
  color: var(--lp-amber);
  background: none;
}

.lp-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--navy-soft);
  margin-bottom: 30px;
}

.lp-section--dark .lp-sub,
.lp-hero .lp-sub {
  color: rgba(255, 255, 255, 0.78);
}

/* ---- hero ---- */
.lp-hero {
  background: var(--navy);
  color: #fff;
  padding: 54px 0 64px;
  text-align: center;
}

.lp-hero__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.lp-footer__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 14px;
  opacity: 0.9;
}

.lp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(242, 181, 60, 0.45);
  color: var(--lp-amber);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.lp-hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
}

.lp-hero .lp-sub {
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

.lp-hero__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease);
}

.lp-btn:active {
  transform: translateY(1px);
}

.lp-btn--amber {
  background: var(--lp-amber);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(242, 181, 60, 0.3);
}

.lp-btn--amber:hover {
  background: #ffc857;
}

.lp-btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.lp-btn--ghost:hover {
  border-color: #fff;
}

.lp-btn--block {
  width: 100%;
}

/* ---- 이미지 슬롯 ---- */
.lp-figure {
  margin: 0 0 28px;
}

.lp-figure img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(22, 35, 61, 0.12);
}

/* ---- 핵심 안내 리스트 ---- */
.lp-points {
  display: grid;
  gap: 14px;
}

.lp-point {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 20px 22px;
}

.lp-section--tint .lp-point {
  box-shadow: 0 6px 18px rgba(22, 35, 61, 0.05);
}

.lp-point__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.5;
}

.lp-point ul {
  display: grid;
  gap: 7px;
}

.lp-point li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--navy-soft);
}

.lp-point li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---- 번호형 카드 (01~04) ---- */
.lp-numgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lp-num {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
}

.lp-num__no {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lp-amber);
  line-height: 1;
  margin-bottom: 10px;
}

.lp-num h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.lp-num p {
  font-size: 0.89rem;
  line-height: 1.7;
  color: var(--navy-soft);
}

/* ---- 사례 카드 ---- */
.lp-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lp-case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-case__tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.lp-case p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--navy-soft);
  flex: 1;
}

.lp-case__check {
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  font-size: 0.82rem;
  color: var(--navy);
}

.lp-case__check strong {
  display: block;
  font-size: 0.75rem;
  color: var(--teal-dark);
  margin-bottom: 4px;
}

/* ---- 강조 문구 ---- */
.lp-quote {
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.65;
}

.lp-quote em {
  font-style: normal;
  color: var(--lp-amber);
}

.lp-quote span {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.lp-section--dark .lp-quote {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(242, 181, 60, 0.3);
}

/* ---- 체크 리스트 (서비스 안내 / 준비물) ---- */
.lp-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.lp-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--navy);
}

.lp-checklist li::before {
  content: "✓";
  flex: none;
  color: var(--teal);
  font-weight: 800;
}

.lp-section--dark .lp-checklist li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.lp-section--dark .lp-checklist li::before {
  color: var(--lp-amber);
}

/* ---- 비용 안내 ---- */
.lp-cost {
  margin-top: 24px;
  background: var(--lp-amber-soft);
  border: 1px solid rgba(242, 181, 60, 0.5);
  border-radius: 14px;
  padding: 24px 26px;
}

.lp-cost h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #7a5205;
}

.lp-cost ul {
  display: grid;
  gap: 8px;
}

.lp-cost li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6b4a0d;
}

.lp-cost li::before {
  content: "→";
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ---- FAQ ---- */
.lp-faq {
  display: grid;
  gap: 10px;
}

.lp-faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.lp-faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 20px;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.lp-faq__q span {
  flex: none;
  color: var(--teal);
  font-weight: 800;
}

.lp-faq__q::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-size: 1.1rem;
  color: var(--navy-soft);
  transition: transform 0.25s var(--ease);
}

.lp-faq__item.is-open .lp-faq__q::after {
  transform: rotate(45deg);
}

.lp-faq__a {
  display: none;
  padding: 0 20px 18px 51px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--navy-soft);
}

.lp-faq__item.is-open .lp-faq__a {
  display: block;
}

/* ---- 신청 폼 ---- */
.lp-form-block {
  background: var(--navy);
  padding: 60px 0;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-form-block__head {
  text-align: center;
  margin-bottom: 26px;
}

.lp-form-block__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.6vw, 1.75rem);
  line-height: 1.4;
  margin-bottom: 10px;
}

.lp-form-block__head p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

/* 위아래 이미지(콘텐츠 폭)와 같은 너비로 맞춘다. */
.lp-form-card {
  background: var(--surface);
  color: var(--navy);
  border-radius: 16px;
  padding: 30px 32px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
}

/* 폭이 넓어진 만큼 데스크톱에서는 입력칸을 2열로 배치한다. */
@media (min-width: 721px) {
  .lp-form-card .consult-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    align-items: start;
  }

  .lp-form-card .consult-form > * {
    grid-column: 1 / -1;
  }

  .lp-form-card .consult-form > .field--half {
    grid-column: auto;
  }

  .lp-form-card .consult-form > .lp-btn {
    margin-top: 6px;
  }
}

.lp-status {
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px 18px;
}

.lp-status__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--lp-amber);
  margin-bottom: 8px;
}

.lp-status__label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
}

.lp-status__list {
  display: grid;
  gap: 5px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.lp-status__list strong {
  color: #fff;
}

/* ---- 하단 고지 / 푸터 ---- */
.lp-notice {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--navy-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 24px;
}

.lp-section--dark .lp-notice {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
}

.lp-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 34px 0 96px;
  font-size: 0.78rem;
  line-height: 1.8;
  text-align: center;
}

.lp-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

/* ---- 하단 고정 CTA ---- */
.lp-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(15, 24, 41, 0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 10px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 800;
}

.lp-cta-bar__main {
  background: var(--lp-amber);
  color: var(--navy);
}

.lp-cta-bar__sub {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 720px) {
  .lp-section {
    padding: 48px 0;
  }

  .lp-numgrid,
  .lp-cases,
  .lp-checklist {
    grid-template-columns: 1fr;
  }

  .lp-form-card {
    padding: 22px 18px;
  }

  .lp-faq__a {
    padding-left: 20px;
  }
}

/* ---------- 글 하단 관련글 (내부링크 · SEO) ---------- */
.related {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.related__title {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.related__list {
  display: grid;
  gap: 8px;
}

.related__list li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.related__list li a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.related__tag {
  flex: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-tint);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- 한글 줄바꿈 ----------
   기본값(word-break: normal)은 한글을 글자 단위로 끊어 어절 중간에서 줄이 바뀐다.
   keep-all로 어절(띄어쓰기) 단위 줄바꿈으로 바꾸고, 긴 영문·URL만 예외로 끊는다. */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---------- 랜딩페이지 소제목 ---------- */
.lp-subhead {
  margin: 40px 0 14px;
  font-size: 1.1rem;
}

/* 가운데 정렬 문단이 너무 길게 늘어지지 않도록 (읽기 좋은 줄 길이 유지) */
.lp-hero .lp-sub,
.lp-form-block__head p {
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}
