/* ==========================================================================
   hope.seoyullaw.com — 개인회생·개인파산 광고 랜딩 스타일
   기준: 신규 홈페이지 디자인 가이드(01_개발/newHome/design-guide/guide.md · tokens.css)
     · 메인 #2976a8 · 네이비 #1a2845 · 연블루 #f1f7fc · Pretendard 자간 -3% · 행간 1.4
     · 본문 폭 1200px · 1199px 이하 = 모바일 레이아웃(태블릿 시안이 없어 모바일을 넓게 쓴다)
     · 버튼은 모서리 직각 · 20px SemiBold · 안쪽 여백 16×32
     · 섹션 치수는 신규 홈페이지 회생/파산 사이트(newHome/hp/css/style.css)의 hp-compare·hp-process·faq·cta·quick 을 따랐다
   🔴 자간은 em 이라도 상속되면 px 로 굳는다 → body 가 아니라 모든 요소(*)에 직접 준다(가이드 tokens.css 와 같은 이유).
   🔴 서버가 CSS 를 6개월 캐시한다 → index.php 가 ?v=수정시각 을 붙인다. 파일 이름을 바꿀 필요는 없다.
   연관 파일: public/index.php(마크업) · public/assets/js/main.js(동작)
   ========================================================================== */

:root {
  --main: #2976a8;
  --main-dark: #1f5f8a;
  --p50: #f1f7fc;
  --p100: #a2daff;
  --navy: #1a2845;
  --navy-400: #1a364e;
  --info-100: #d9f0ff;
  --alert: #ff0808;
  --n900: #313131;
  --n800: #434343;
  --n700: #5d5d5d;
  --n600: #727272;
  --n500: #969696;
  --n400: #d5d5d5;
  --n300: #d9d9d9;
  --n200: #e9e9e9;
  --light: #fafafa;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.06);
}

*, *::before, *::after { box-sizing: border-box; letter-spacing: -0.03em; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 91px; }
body { margin: 0; font-family: var(--font); line-height: 1.4; color: var(--n900); background: #fff; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--p100); outline-offset: 2px; }

/* ---------- 버튼 (가이드: 직각 · 20 SemiBold · 16×32) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 216px; padding: 16px 32px; font-weight: 600; font-size: 20px; line-height: 1.4; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn .arrow { font-weight: 400; }
.btn--main { background: var(--main); color: #fff; }
.btn--main:hover { background: var(--main-dark); }
.btn--white { background: #fff; color: var(--main); }
.btn--white:hover { background: var(--p50); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #111c33; }
.btn--line { border: 1px solid rgba(255, 255, 255, .8); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .12); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- GNB ---------- */
.gnb { position: fixed; top: 0; left: 0; right: 0; height: 91px; padding: 0 20px; display: flex; align-items: center; z-index: 20; transition: background .3s, box-shadow .3s; }
.gnb.is-solid { background: rgba(26, 40, 69, .94); box-shadow: 0 2px 14px rgba(0, 0, 0, .22); }
.gnb__row { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; gap: 24px; }
.gnb__brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.gnb__brand img { width: 196px; height: 39px; }
.gnb__field { font-weight: 600; font-size: 20px; color: #fff; letter-spacing: -0.04em; white-space: nowrap; }
.gnb__menu { display: flex; align-items: center; gap: 36px; }
.gnb__menu a { font-weight: 700; font-size: 18px; color: #fff; white-space: nowrap; opacity: .7; transition: opacity .2s; }
.gnb__menu a:hover { opacity: 1; }
.gnb__tel { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 20px; white-space: nowrap; flex-shrink: 0; }
.gnb__tel img { width: 18px; height: 20px; filter: brightness(0) invert(1); }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 800px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 40, 69, .92) 0%, rgba(26, 40, 69, .78) 45%, rgba(26, 40, 69, .5) 100%); }
.hero__inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 141px 20px 80px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero__copy { flex: 1; min-width: 0; color: #fff; }
.hero__eyebrow { display: inline-block; font-weight: 600; font-size: 18px; color: var(--p100); margin-bottom: 20px; }
.hero__title { font-weight: 700; font-size: 52px; line-height: 1.25; }
.hero__sub { margin-top: 24px; font-weight: 400; font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 600px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; }
.hero__points li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; color: #fff; }
.hero__points img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.hero__form { flex: 0 0 400px; background: #fff; border-radius: 20px; padding: 36px 32px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }

/* ---------- 상담 폼 (히어로·하단 공통) ---------- */
.consult-form { display: flex; flex-direction: column; gap: 16px; }
.consult-form__title { font-weight: 700; font-size: 26px; color: #000; }
.consult-form__lead { font-size: 15px; color: var(--n600); margin-top: -8px; }
.consult-form__note { font-size: 13px; color: var(--n500); text-align: center; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-weight: 600; font-size: 15px; color: var(--n900); }
.field b { color: var(--alert); font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--n500); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: #000; padding: 14px 16px; border: 1px solid var(--n300); border-radius: 2px; background: #fff; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #b1b1b1; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--main); box-shadow: 0 0 0 3px rgba(41, 118, 168, .15); }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--n700); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--main); flex-shrink: 0; }
.agree button { color: var(--main); text-decoration: underline; font-size: 14px; }
.form-error { font-size: 14px; color: var(--alert); }
.form-success { text-align: center; padding: 48px 8px; }
.form-success strong { display: block; font-weight: 700; font-size: 24px; color: var(--main); margin-bottom: 12px; }
.form-success p { font-size: 16px; color: var(--n700); }
/* 스팸가드 허니팟 — 화면 밖으로 보낸다(display:none 은 봇이 알아채는 경우가 있다) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- 섹션 공통 제목 ---------- */
.sec-head { margin-bottom: 60px; }
.sec-head h2 { font-weight: 700; font-size: 44px; line-height: 1.3; color: #000; }
.sec-head h2 span { display: block; font-weight: 300; }
.sec-head p { margin-top: 16px; font-weight: 500; font-size: 20px; color: var(--n800); }
.sec-head--center { text-align: center; }
.sec-head--center h2 { font-size: 40px; }

/* ---------- 이런 상황이라면 ---------- */
.situ { padding: 120px 0; background: #fff; }
.situ__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.situ__card { background: var(--light); border: 1px solid var(--n200); border-radius: 20px; padding: 36px 28px; display: flex; flex-direction: column; gap: 14px; }
.situ__card img { width: 40px; height: 40px; }
.situ__card h3 { font-weight: 700; font-size: 22px; color: #000; }
.situ__card p { font-size: 16px; line-height: 1.65; color: var(--n700); }

/* ---------- 개인회생 vs 개인파산 ---------- */
.compare { padding: 120px 0; background: var(--light); }
.compare__row { display: flex; gap: 40px; align-items: stretch; justify-content: center; }
.compare__vs { align-self: center; font-weight: 700; font-size: 24px; color: #000; }
.compare__card { flex: 0 1 500px; border-radius: 20px; padding: 40px 32px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.compare__card--blue { background: #e7f0f7; }
.compare__card--gray { background: var(--n200); }
.compare__card h3 { font-weight: 700; font-size: 26px; text-align: center; }
.compare__card--blue h3 { color: var(--main); }
.compare__card--gray h3 { color: var(--navy-400); }
.compare__desc { font-weight: 500; font-size: 17px; color: #5f6b82; text-align: center; padding: 8px 0 16px; line-height: 1.5; }
.compare__checks { background: var(--light); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 16px; width: 100%; flex: 1; }
.compare__checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; line-height: 1.45; color: #000; }
.compare__checks img { width: 16px; height: 16px; margin-top: 5px; flex-shrink: 0; }
.compare__note { margin-top: 32px; text-align: center; font-size: 15px; color: var(--n600); }

/* ---------- 자가진단 챗봇 띠 (가이드 CTA: 메인색 바탕 + 흰/네이비 버튼) ---------- */
.selfcheck { background: var(--main); padding: 80px 0; }
.selfcheck__wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.selfcheck__text { color: #fff; max-width: 640px; }
.selfcheck__eyebrow { font-weight: 600; font-size: 16px; color: var(--info-100); margin-bottom: 12px; }
.selfcheck__text h2 { font-weight: 700; font-size: 36px; line-height: 1.35; }
.selfcheck__text p:last-child { margin-top: 16px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.selfcheck__btns { display: flex; gap: 16px; flex-shrink: 0; }

/* ---------- 진행 순서 ---------- */
.process { padding: 120px 0; background: var(--light); }
.process__row { display: flex; gap: 34px; align-items: stretch; justify-content: center; }
.process__card { position: relative; flex: 1 1 0; background: #fff; border-radius: 9px; padding: 24px 22px; box-shadow: 0 4px 15px rgba(0, 0, 0, .09); display: flex; flex-direction: column; gap: 14px; }
.process__card:not(:last-child)::after { content: ""; position: absolute; right: -29px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); background: url(/assets/images/ico_arrow_step.svg) center / contain no-repeat; }
.process__card .head { display: flex; gap: 10px; align-items: center; }
.process__card .num { width: 24px; height: 24px; border-radius: 7px; background: var(--main); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; line-height: 1; flex-shrink: 0; }
.process__card .tit { font-weight: 700; font-size: 22px; color: #000; line-height: 1.2; }
.process__card .desc { font-weight: 500; font-size: 15px; color: var(--n600); line-height: 1.5; }

/* ---------- 일하는 방식 + 대표변호사 ---------- */
.why { padding: 120px 0; background: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why__card { border-top: 2px solid var(--main); background: var(--p50); padding: 32px 28px 36px; }
.why__num { display: block; font-weight: 700; font-size: 40px; line-height: 1; background: linear-gradient(to bottom, var(--main), var(--navy)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.why__card h3 { margin-top: 20px; font-weight: 700; font-size: 24px; color: #000; }
.why__card p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--n700); }
.lawyer { margin-top: 80px; display: flex; background: var(--navy); border-radius: 20px; overflow: hidden; }
.lawyer__photo { flex: 0 0 420px; }
.lawyer__photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: center 20%; }
.lawyer__info { flex: 1; padding: 56px 60px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.lawyer__role { font-weight: 500; font-size: 18px; color: var(--p100); }
.lawyer__name { margin-top: 6px; font-weight: 600; font-size: 40px; letter-spacing: -0.07em; }
.lawyer__name small { font-weight: 400; font-size: 22px; letter-spacing: -0.03em; }
.lawyer__lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.lawyer__list { margin: 28px 0 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; width: 100%; }
.lawyer__list li { position: relative; padding-left: 14px; font-size: 16px; color: var(--n400); }
.lawyer__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--p100); }
.lawyer .btn--main { background: #fff; color: var(--main); }
.lawyer .btn--main:hover { background: var(--p50); }

/* ---------- 자주 묻는 질문 ---------- */
.faq { padding: 120px 0; background: #fff; border-top: 1px solid var(--n200); }
.faq__wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; }
.faq__title { font-weight: 700; font-size: 52px; line-height: 1.25; color: #000; white-space: nowrap; }
.faq__list { flex: 0 1 780px; display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--n200); padding: 28px 0; }
.faq__item:first-child { padding-top: 0; }
.faq__q { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .num { font-weight: 600; font-size: 22px; line-height: 1.4; background: linear-gradient(to bottom, var(--main), var(--navy)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; white-space: nowrap; min-width: 44px; }
.faq__q .txt { flex: 1; font-weight: 600; font-size: 22px; line-height: 1.4; color: #000; }
/* 아이콘 원본은 왼쪽을 보는 꺾쇠(<) — 닫힘은 아래(∨), 열림은 위(∧)로 돌려 쓴다 */
.faq__q::after { content: ""; width: 18px; height: 18px; margin-top: 7px; flex-shrink: 0; background: url(/assets/images/ico_faq_closed.svg) center / contain no-repeat; transform: rotate(-90deg); transition: transform .2s; }
.faq__item[open] .faq__q::after { background-image: url(/assets/images/ico_faq_open.svg); transform: rotate(90deg); }
.faq__a { margin-top: 16px; padding-left: 54px; padding-right: 28px; font-weight: 300; font-size: 18px; line-height: 1.7; color: var(--navy); }

/* ---------- 상담 신청 ---------- */
.contact { padding: 120px 0; background: var(--p50); }
.contact__wrap { display: flex; gap: 80px; align-items: flex-start; justify-content: space-between; }
.contact__info { flex: 1; }
.contact__info h2 { font-weight: 700; font-size: 52px; color: #000; }
.contact__lead { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--n800); max-width: 480px; }
.contact__list { margin-top: 44px; display: flex; flex-direction: column; gap: 24px; }
.contact__list li, .loc__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list img, .loc__list img { width: 20px; height: 22px; object-fit: contain; margin-top: 3px; flex-shrink: 0; }
.contact__list span, .loc__list span { display: block; font-size: 14px; color: var(--n600); margin-bottom: 2px; }
.contact__list strong, .contact__list a, .loc__list strong, .loc__list a { font-weight: 600; font-size: 20px; color: #000; }
.contact__list a, .loc__list a { color: var(--main); font-weight: 700; }
.contact__form { flex: 0 0 520px; background: #fff; border-radius: 20px; padding: 44px 40px; box-shadow: var(--shadow); }

/* ---------- 오시는 길 ---------- */
.loc { padding: 120px 0; background: #fff; }
.loc__wrap { display: flex; gap: 48px; align-items: stretch; }
.loc__map { flex: 1; min-height: 400px; border-radius: 20px; overflow: hidden; background: var(--n200); }
.loc__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
.loc__list { flex: 0 0 380px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.loc__list strong { font-size: 18px; }

/* ---------- 푸터 ---------- */
.footer { background: var(--navy); padding: 60px 0; }
.footer__wrap { display: flex; flex-direction: column; gap: 28px; }
.footer__logo { width: 196px; height: 39px; }
.footer__info { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--n400); }
.footer__info .lbl { color: #b1b1b1; margin-right: 4px; }
.footer__info .bar { color: #55607a; margin: 0 8px; }
.footer__disc { margin-top: 8px; color: #b1b1b1; line-height: 1.6; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--n400); }
.footer__links { display: flex; gap: 16px; }
.footer__links button { font-weight: 700; font-size: 13px; color: #fff; }
.footer__links a:hover, .footer__links button:hover { text-decoration: underline; }

/* ---------- 퀵메뉴 (PC) ---------- */
.quick { position: fixed; right: 24px; bottom: 80px; width: 68px; z-index: 30; filter: drop-shadow(0 4px 15px rgba(0, 0, 0, .12)); }
.quick__label { background: var(--main); color: #fff; font-weight: 700; font-size: 12px; line-height: 1; text-align: center; padding: 10px 0; border-radius: 30px 30px 0 0; }
.quick__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: #fff; border-bottom: 1px solid #f0f0f0; padding: 11px 0 9px; width: 100%; }
.quick__item img, .quick__item svg { width: 33px; height: 33px; }
.quick__item--phone img { width: 25px; height: 28px; }
.quick__item:last-child { border-bottom: 0; border-radius: 0 0 30px 30px; }
.quick__item:hover { background: var(--p50); }
.quick__name { font-size: 12px; font-weight: 500; color: #000; line-height: 1; white-space: nowrap; }

/* ---------- 아래 고정 버튼 (모바일 전용) ---------- */
.mbar { display: none; }

/* ---------- 챗봇 창 ---------- */
.chat, .modal { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.chat__panel { width: 100%; max-width: 480px; height: min(760px, calc(100vh - 40px)); background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; background: var(--navy); color: #fff; }
.chat__head strong { flex: 1; font-weight: 700; font-size: 17px; }
.chat__new { font-size: 13px; color: var(--p100); text-decoration: underline; }
.chat__close img, .modal__close img { width: 28px; height: 28px; }
.chat__close img { filter: brightness(0) invert(1); }
.chat__frame { flex: 1; width: 100%; border: 0; background: #fff; }

/* ---------- 개인정보처리방침 창 ---------- */
.modal__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); background: #fff; border-radius: 16px; padding: 36px 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.modal__panel > h2 { font-weight: 700; font-size: 24px; color: #000; }
.modal__close { position: absolute; top: 20px; right: 20px; }
.modal__body { overflow-y: auto; font-size: 15px; line-height: 1.7; color: var(--n700); padding-right: 8px; }
.modal__body h3 { margin: 18px 0 4px; font-weight: 700; font-size: 16px; color: var(--n900); }
.modal__panel .btn { align-self: center; }
body.is-locked { overflow: hidden; }

/* ==========================================================================
   모바일·태블릿 (1199px 이하 — 가이드의 브레이크포인트)
   ========================================================================== */
@media (max-width: 1199px) {
  html { scroll-padding-top: 64px; }
  body { padding-bottom: 60px; } /* 아래 고정 버튼 자리 */
  .btn { font-size: 17px; padding: 14px 24px; min-width: 0; }

  .gnb { height: 60px; }
  .gnb__brand { gap: 10px; }
  .gnb__brand img { width: 140px; height: 28px; }
  .gnb__field { font-size: 15px; }
  .gnb__menu { display: none; }
  .gnb__tel { font-size: 16px; }
  .gnb__tel img { width: 15px; height: 17px; }

  .hero { min-height: 0; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(26, 40, 69, .9) 0%, rgba(26, 40, 69, .8) 60%, rgba(26, 40, 69, .92) 100%); }
  .hero__inner { flex-direction: column; align-items: stretch; gap: 36px; padding: 96px 20px 48px; }
  .hero__eyebrow { font-size: 15px; margin-bottom: 12px; }
  .hero__title { font-size: 30px; line-height: 1.3; }
  .hero__title br { display: none; }
  .hero__sub { margin-top: 16px; font-size: 16px; }
  .hero__btns { margin-top: 28px; gap: 10px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__points { margin-top: 24px; gap: 10px 18px; }
  .hero__points li { font-size: 14px; }
  .hero__form { flex: none; width: 100%; max-width: 520px; margin: 0 auto; padding: 28px 22px; border-radius: 16px; }
  .consult-form__title { font-size: 22px; }

  .sec-head { margin-bottom: 36px; }
  .sec-head h2, .sec-head--center h2 { font-size: 26px; }
  .sec-head p { font-size: 16px; margin-top: 10px; }

  .situ, .compare, .process, .why, .faq, .contact, .loc { padding: 64px 0; }
  .situ__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .situ__card { padding: 24px 18px; border-radius: 14px; gap: 10px; }
  .situ__card img { width: 32px; height: 32px; }
  .situ__card h3 { font-size: 17px; }
  .situ__card p { font-size: 14px; }

  .compare__row { flex-direction: column; gap: 14px; align-items: stretch; }
  .compare__vs { font-size: 18px; }
  .compare__card { flex: none; padding: 28px 18px; border-radius: 16px; }
  .compare__card h3 { font-size: 22px; }
  .compare__desc { font-size: 15px; }
  .compare__checks { padding: 18px; gap: 12px; }
  .compare__checks li { font-size: 15px; }
  .compare__checks img { margin-top: 3px; }
  .compare__note { font-size: 13px; margin-top: 20px; }

  .selfcheck { padding: 48px 0; }
  .selfcheck__wrap { flex-direction: column; align-items: stretch; gap: 28px; }
  .selfcheck__text h2 { font-size: 24px; }
  .selfcheck__text h2 br { display: none; }
  .selfcheck__text p:last-child { font-size: 15px; }
  .selfcheck__btns { flex-direction: column; gap: 10px; }

  .process__row { flex-direction: column; gap: 14px; }
  .process__card { padding: 18px 20px; flex-direction: row; align-items: center; gap: 14px; flex-wrap: wrap; }
  .process__card:not(:last-child)::after { display: none; }
  .process__card .head { flex: 0 0 auto; min-width: 124px; }
  .process__card .tit { font-size: 18px; }
  .process__card .desc { flex: 1 1 160px; font-size: 14px; }

  .why__grid { grid-template-columns: 1fr; gap: 12px; }
  .why__card { padding: 24px 20px 26px; }
  .why__num { font-size: 30px; }
  .why__card h3 { margin-top: 12px; font-size: 20px; }
  .why__card p { font-size: 15px; }
  .lawyer { margin-top: 40px; flex-direction: column; border-radius: 16px; }
  .lawyer__photo { flex: none; }
  .lawyer__photo img { min-height: 0; height: auto; aspect-ratio: 4 / 3; object-position: center 12%; }
  .lawyer__info { padding: 28px 22px 32px; }
  .lawyer__role { font-size: 15px; }
  .lawyer__name { font-size: 30px; }
  .lawyer__name small { font-size: 18px; }
  .lawyer__lead { font-size: 15px; margin-top: 14px; }
  .lawyer__list { grid-template-columns: 1fr; gap: 8px; margin: 20px 0 26px; }
  .lawyer__list li { font-size: 14px; }
  .lawyer .btn { width: 100%; }

  .faq__wrap { flex-direction: column; gap: 28px; }
  .faq__title { font-size: 28px; }
  .faq__title br { display: none; }
  .faq__list { flex: none; width: 100%; }
  .faq__item { padding: 20px 0; }
  .faq__q .num, .faq__q .txt { font-size: 17px; }
  .faq__q .num { min-width: 34px; }
  .faq__q::after { width: 14px; height: 14px; margin-top: 5px; }
  .faq__a { padding-left: 44px; padding-right: 0; font-size: 15px; margin-top: 10px; }

  .contact__wrap { flex-direction: column; gap: 32px; align-items: stretch; }
  .contact__info h2 { font-size: 28px; }
  .contact__lead { font-size: 15px; margin-top: 12px; }
  .contact__list { margin-top: 24px; gap: 16px; }
  .contact__list strong, .contact__list a, .loc__list strong, .loc__list a { font-size: 16px; }
  .contact__form { flex: none; padding: 28px 22px; border-radius: 16px; }

  .loc__wrap { flex-direction: column; gap: 24px; }
  .loc__map, .loc__map iframe { min-height: 280px; }
  .loc__map { border-radius: 14px; }
  .loc__list { flex: none; gap: 16px; }

  .footer { padding: 40px 0 48px; }
  .footer__logo { width: 150px; height: 30px; }
  .footer__info { font-size: 12px; gap: 8px; }
  .footer__info .bar { display: none; }
  .footer__info p { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .quick { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 60px; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); box-sizing: content-box; }
  .mbar__btn { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; white-space: nowrap; }
  .mbar__btn--tel { background: #fff; color: var(--navy); }
  .mbar__btn--chat { background: var(--navy); color: #fff; }
  .mbar__btn--form { background: var(--main); color: #fff; }

  .modal { padding: 12px; }
  .modal__panel { padding: 28px 20px 20px; }
}

/* 휴대폰에서는 챗봇 창을 화면 가득 — 태블릿(768~1199)은 가운데 창 그대로 둔다 */
@media (max-width: 767px) {
  .chat { padding: 0; align-items: stretch; }
  .chat__panel { max-width: none; height: 100%; border-radius: 0; }
}

@media (max-width: 380px) {
  .gnb__field { display: none; }
  .situ__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
