﻿/* ==========================================================================
   보이스피싱 형사대응센터 랜딩페이지
   법무법인 정서 / Publisher build
   ========================================================================== */

/* ---------- Fonts ---------- */
/* Pretendard (본문 산세리프) / Nanum Myeongjo (강조 세리프) 웹폰트 CDN 로드.
   운영 환경에서는 자체 호스팅 폰트로 교체하는 것을 권장합니다. */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, button, input, textarea {
  margin: 0;
  padding: 0;
}
/* 섹션 주소(예: /#cases)로 들어올 때의 착지 기준.
   데스크탑 헤더는 스크롤과 함께 올라가므로 보정이 필요 없고,
   모바일은 헤더가 화면에 고정되므로 아래 미디어쿼리에서 그만큼 띄운다.
   (누수와 동일한 방식 — html 의 scroll-padding-top 하나로만 보정한다.
    섹션에 scroll-margin-top 을 또 주면 두 값이 합산돼 너무 내려간다) */
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  /* 전체 페이지에 걸쳐 이어지는 배경 그라디언트 (0% #111111 → 93% #012F5F → 100% #111111) */
  background: var(--bg-gradient);
  color: var(--white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; border: none; background: none; cursor: pointer; }
input { font: inherit; border: none; outline: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
  /* Colors */
  --white: #ffffff;
  --black: #111111;
  --red: #9c3b33;
  --red-hover: #94362e;
  --yellow: #e9c776;
  --blue: #4974a0;
  --navy-accent: #012f5f;

  --grey-200: #f2f2f2;
  --grey-300: #dcdcdc;
  --grey-400: #a5a5a5;
  --grey-500: #8a8a8a;
  --grey-800: #363636;

  --bluegrey-300: #4c545d;
  --bluegrey-400: #434c57;
  --bluegrey-500: #39434f;
  --bluegrey-600: #313d49;
  --bluegrey-700: #273542;
  --bluegrey-800: #1e2c3c;

  --white-alpha-11: rgba(255, 255, 255, 0.11);
  --white-alpha-20: rgba(255, 255, 255, 0.2);
  --black-alpha-45: rgba(17, 17, 17, 0.45);
  --grey-alpha-15: rgba(194, 194, 194, 0.15);

  --bg-page: #10141c;
  --bg-cta2: rgba(17, 17, 17, 0.45);

  /* 전체 배경 그라디언트: 0% #111111 - 93% #012F5F - 100% #111111 */
  --bg-gradient: linear-gradient(180deg, #111111 0%, var(--navy-accent) 93%, #111111 100%);

  /* Font family */
  --font-sans: 'Pretendard', -apple-system, sans-serif;
  --font-serif: 'Nanum Myeongjo', serif;

  /* Layout */
  --container-width: 1180px;
  --container-padding: 19px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  position: relative;
  width: 100%;
}

.section-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 37px;
}
.section1 .section-inner { padding-top: 80px; }

/* ---------- Typography scale ---------- */
.text-display { font: 700 45px/58px var(--font-sans); }
.text-h1      { font: 700 38px/50px var(--font-sans); }
.text-h2      { font: 800 42px/52px var(--font-serif); }
.text-h3      { font: 700 34px/42px var(--font-sans); }
.text-h3-serif{ font: 700 34px/45px var(--font-serif); }
.text-h4      { font: 400 27px/35px var(--font-serif); }
.text-body1-semibold      { font: 600 26px/32px var(--font-sans); }
.text-body1-serif-bold    { font: 700 26px/30px var(--font-serif); }
.text-body2-bold          { font: 700 22px/26px var(--font-sans); }
.text-body3-regular       { font: 400 19px/30px var(--font-sans); }
.text-body3-medium        { font: 500 19px/26px var(--font-sans); }
.text-body3-semibold      { font: 600 19px/26px var(--font-sans); }
.text-body3-bold          { font: 700 19px/24px var(--font-sans); }
.text-body3-serif-bold    { font: 700 19px/24px var(--font-serif); }
.text-body4-serif-bold    { font: 700 18px/24px var(--font-serif); }
.text-body5-regular       { font: 400 14px/19px var(--font-sans); }
.text-caption1-semibold   { font: 600 16px/19px var(--font-sans); }
.text-caption1-regular    { font: 400 16px/19px var(--font-sans); }
.text-caption2-regular    { font: 400 13px/16px var(--font-sans); }
.text-caption2-semibold   { font: 600 13px/16px var(--font-sans); }
.text-caption3-semibold   { font: 600 11px/13px var(--font-sans); }

.text-yellow { color: var(--yellow); }
.mobile-break { display: none; }
.pc-break { display: inline; }

/* ==========================================================================
   main-title  (스크롤 반응 fade-up-in 대상 공통 컴포넌트)
   ========================================================================== */
.main-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.main-title__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 40px;
  border: 0.5px solid var(--grey-500);
  background: var(--black-alpha-45);
}
.main-title__tag-text {
  font: 500 16px/26px var(--font-sans);
  color: var(--grey-300);
  white-space: nowrap;
}
.main-title__heading {
  font: 700 34px/44px var(--font-sans);
  color: var(--white);
}

/* scroll fade-up-in: 초기 상태 → JS가 .is-visible 을 붙이면 애니메이션 */
.main-title,
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.main-title.is-visible,
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   header
   ========================================================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 24px 0;
  max-width: var(--container-width);
  margin: 0 auto;
  right: 0;
}
.header__logo { width: 150px; height: auto; }
.header__title {
  font: 300 13px/19px var(--font-sans);
  color: var(--white);
  white-space: nowrap;
}

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 864px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--container-padding) 80px;
  overflow: hidden;

}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 150px;
}
.hero-title { display: flex; flex-direction: column; gap: 60px; width: 100%; margin-top: 100px; }
.hero-title__block { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.hero-title__lead {
  font: 400 27px/35px var(--font-serif);
  color: var(--white);
}
.hero-title__headline {
  font: 700 45px/58px var(--font-sans);
  color: var(--white);
}
.hero-title__sub {
  position: relative;
  display: inline-block;
  font: 500 26px/32px var(--font-sans);
  color: var(--white);
  width: fit-content;
}
.hero-title__sub::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 20px;
  background: var(--grey-800);
  z-index: -1;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 49px;
  flex-wrap: wrap;
  margin-top: 120px;
}
.hero-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.hero-stats__label { font: 300 16px/19px var(--font-sans); color: var(--white); }
.hero-stats__value { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.hero-stats__number { font: 800 48px/51px var(--font-serif); color: var(--yellow); }
.hero-stats__unit { font: 500 26px/32px var(--font-sans); color: var(--white); margin-right: 10px; margin-top: 10px;}
.hero-stats__divider { width: 1px; height: 56px; background: var(--grey-500); opacity: 0.5; }
.hero-stats__highlight {
  font: 800 27px/29px var(--font-serif);
  color: var(--yellow);
}

/* 히어로 텍스트 순차 등장(스태거 페이드+슬라이드업) */
.hero [data-stagger] {
  opacity: 0;
  transform: translateY(19px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero.is-loaded [data-stagger] {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   section1 — stage-guide + consult-request
   ========================================================================== */
.section1-stack { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.stage-guide_hscroll-wrap { width: 100%; }
.stage-guide_hscroll-wrap .hscroll-arrow { display: none; }
.stage-card-page { display: contents; }

.stage-guide_list {
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.stage-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  padding: 0 16px 16px;
  background: var(--white-alpha-11);
  overflow: hidden;
}
.stage-card_tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: 100%;
  max-width: 216px;
  background: var(--white-alpha-20);
}
.stage-card_tag span { font: 400 16px/19px var(--font-sans); color: var(--white); }
.stage-card_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  text-align: center;
}
.stage-card_title {
  font: 700 26px/30px var(--font-serif);
  color: var(--yellow);
}
.stage-card_desc { font: 400 19px/30px var(--font-sans); color: var(--white); }
.stage-card_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 272px;
  height: 62px;
  padding: 8px;
  background: var(--red);
  font: 600 19px/26px var(--font-sans);
  color: var(--white);
  transition: background 0.2s;
}
.stage-card_button:hover { background: var(--white); color: var(--red-hover); }

.consult-request {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  padding: 34px 0;
  background: var(--white-alpha-11);

  /* 기본은 숨김 상태 — stage-card 버튼 클릭 시 노출 */
  display: none;
}
.consult-request.is-open {
  display: flex;
  animation: consult-open 0.4s var(--ease-out);
}
/* 위로 살짝 올라오며 나타나는 효과.
   transform 대신 translate 속성을 쓴다 — transform 을 쓰면 요소를 가운데 정렬하려고
   transform 을 쓴 경우(모바일 팝업 등) 애니메이션이 그 값을 덮어써서, 열리는 동안
   정렬이 풀려 화면 밖으로 튀어나갔다 들어오는 현상이 생긴다. translate 는 transform 과
   따로 계산되므로 어디에 붙여도 위치를 건드리지 않는다. */
@keyframes consult-open {
  from { opacity: 0; translate: 0 -10px; }
  to   { opacity: 1; translate: 0 0; }
}
.consult-request_title {
  font: 400 27px/35px var(--font-serif);
  color: var(--white);
  text-align: center;
}
.consult-request_form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 691px;
  padding: 0 var(--container-padding);
}
#consult-request .consult-request_form {
  margin-top: 9px;
}
.consult-request_form .input-row {
  display: flex;
  gap: 14px;
  width: 100%;
}
.form-input {
  flex: 1 1 0;
  min-width: 0;
  height: 53px;
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 19px;
  background: var(--grey-200);
  color: var(--black);
  font: 400 16px/19px var(--font-sans);
}
.form-input::placeholder { color: var(--grey-400); }
.consult-request_submit {
  width: 100%;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font: 700 19px/24px var(--font-sans);
  transition: background 0.2s;
}
.consult-request_submit:hover { background: var(--white); color: var(--red); }
.consult-request__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 0 var(--container-padding);
}
.consult-request__notice { font: 400 16px/19px var(--font-sans); color: var(--white); }
.consult-request__agreement {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.consult-request__agreement input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  background: var(--grey-300);
  position: relative;
  margin: 0;
}
.consult-request__agreement input[type="checkbox"]:checked { background: var(--blue); }
.consult-request__agreement input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 3px;
  height: 6px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consult-request__agreement span { font: 200 13px/16px var(--font-sans); color: var(--white); }

.agreement-row { display: flex; align-items: center; gap: 8px; }
.agreement-detail-link {
  font: 400 13px/16px var(--font-sans);
  color: var(--grey-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.agreement-detail-link:hover { color: var(--white); }

/* ==========================================================================
   privacy-modal — 개인정보 처리방침 팝업
   ========================================================================== */
.privacy-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.privacy-modal.is-open { display: flex; }
.privacy-modal__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.privacy-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  max-height: 80dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  border: 1px solid var(--grey-500);
  padding: 40px;
}
.privacy-modal__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.privacy-modal__close {
  font-size: 28px;
  line-height: 1;
  color: var(--white);
  flex-shrink: 0;
}
.privacy-modal__title { font: 700 22px/28px var(--font-sans); color: var(--white); }
.privacy-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.privacy-modal__body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.privacy-modal__intro { font: 400 14px/22px var(--font-sans); color: var(--grey-300); }
.privacy-modal__body section { display: flex; flex-direction: column; gap: 6px; }
.privacy-modal__body h3 { font: 700 15px/20px var(--font-sans); color: var(--yellow); }
.privacy-modal__body p { font: 400 14px/22px var(--font-sans); color: var(--grey-300); }

/* ==========================================================================
   section2 — 상황 공감 말풍선
   ========================================================================== */
.section2 { overflow: hidden; }
.section2__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.12;
  pointer-events: none;
}
.section2__head {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  width: 100%;
}
.section2__lead { font: 400 19px/30px var(--font-sans); color: var(--grey-300); margin-left: auto; }

.bubble-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
}
/* 말풍선 한 줄: 왼쪽/오른쪽 어느 쪽 발화인지에 따라 행 전체를 좌/우로 정렬한다.
   (꼬리가 붙은 위치가 design reference와 다르게 보였던 원인은, 말풍선 몸통(pill)은
   align-self로 우측 정렬되었지만 꼬리 이미지는 그 안에서 독립적으로 좌측에 남아있었기
   때문 — pill과 tail을 .bubble__group 하나로 묶어 같은 정렬 축을 공유하도록 수정) */
.bubble {
  display: flex;
  width: 100%;
  max-width: 100%;
  opacity: 0;
  transform: translateY(13px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.bubble.is-visible { opacity: 1; transform: translateY(0); }
.bubble--left { justify-content: flex-start; }
.bubble--right { justify-content: flex-end; }

/* pill(말풍선 몸통)과 tail(꼬리)을 같은 세로축(왼쪽 or 오른쪽 정렬)으로 묶는 그룹.
   폭은 내용(pill)에 맞춰 자동 결정되고, tail은 항상 pill과 같은 쪽 끝에 붙는다. */
.bubble__group {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}
.bubble--left .bubble__group { align-items: flex-start; }
.bubble--right .bubble__group { align-items: flex-end; }

.bubble__text {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 24px 37px;
  border-radius: 400px;
  /* pill 하단이 tail 상단과 20px 겹쳐, 이어 붙은 것처럼 보이게 함(피그마 원본과 동일) */
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
  font: 400 19px/24px var(--font-serif);
  color: var(--grey-200);
  white-space: nowrap;
}
.bubble--right .bubble__text { font-weight: 700; text-align: right; }
.bubble__tail {
  display: block;
  width: 111px;
  height: 39px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   section3 — 수사관의 질문 (타이핑 인터랙션)
   ========================================================================== */
.section3 { }
/* 요청사항: section3 배경 그라디언트는 화면 전체가 아니라 컨텐츠 컨테이너 폭(1180px)까지만 */
.section3__quote-box {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 48px;
  display: flex;
  justify-content: center;
  background: linear-gradient(to top, rgba(194, 194, 194, 0.15), rgba(92, 92, 92, 0));
}
.section3__quote {
  max-width: 711px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.section3__quote-title {
  font: 800 36px/52px var(--font-serif);
  color: var(--yellow);
  min-height: 52px;
}
.section3__quote-title .typing-cursor {
  display: inline-block;
  width: 2px;
  margin-left: 2px;
  background: var(--yellow);
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.section3__quote-desc { font: 400 19px/30px var(--font-sans); color: var(--white); }

/* ==========================================================================
   cta-1 / cta-2
   ========================================================================== */
.cta-1 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 50px var(--container-padding);
  margin-bottom: 80px;
  overflow: hidden;
}
.cta-1__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-1__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 21px; text-align: center; max-width: 480px; }
.cta-1__title { font: 700 34px/42px var(--font-sans); color: var(--white); }
.cta-1__desc { font: 400 19px/30px var(--font-sans); color: var(--white); }
.cta-1__buttons { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 80px;
  padding: 8px;
  background: var(--white-alpha-20);
  border: 1px solid var(--white);
  color: var(--white);
  font: 500 20px/26px var(--font-sans);
  text-align: center;
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--white); border-color: var(--white); color: var(--red-hover); }

.cta-2 {
  background: var(--bg-cta2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  padding: 48px var(--container-padding);
  margin: 80px 0;
}
.cta-2__title { font: 700 30px/40px var(--font-sans); color: var(--white); text-align: center; }

/* ==========================================================================
   section4 — 승소사례 (case-slider, 가로 스크롤)
   ========================================================================== */
.section4 { overflow-x: hidden; }
.section4 .section-inner { padding-right: 0; align-items: flex-start; }

.hscroll-wrap { position: relative; width: 100%; }

.hscroll {
  /* section-inner 오른쪽 경계를 넘어가는 부분은 보이지 않도록 폭을 정확히 맞춘다. */
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  /* 하단 스크롤바 숨김 */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* 참고: CSS scroll-snap은 사용하지 않는다. 브라우저 네이티브 스냅이
     js/main.js의 관성(이징) 기반 부드러운 스크롤과 서로 충돌해 스크롤
     위치가 순간적으로 튀는 문제가 있어, 부드러운 스크롤은 JS 쪽에서만
     책임진다. */
}
.hscroll.is-dragging { cursor: grabbing; user-select: none; }
.hscroll::-webkit-scrollbar { display: none; height: 0; }

.hscroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hscroll-arrow__icon { width: 10px; height: auto; }
.hscroll-arrow--prev { left: -50px; }
.hscroll-arrow--next { right: -50px; }
.hscroll-arrow--next .hscroll-arrow__icon { transform: scaleX(-1); }

.case-slider {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 230px);
  grid-auto-columns: 581px;
  gap: 18px;
  width: max-content;
}

.com-case-card {
  position: relative;
  width: 581px;
  height: 230px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white-alpha-11);
  overflow: hidden;
}
.com-case-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  height: 100%;
  padding-left: 19px;
}
.com-case-card__date {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--red);
  font: 700 14px/21px var(--font-serif);
  color: var(--white);
}
.com-case-card__text { display: flex; flex-direction: column; gap: 10px;}
.com-case-card__category { font: 400 16px/14px var(--font-sans); color: var(--white); }
.com-case-card__headline { font: 700 19px/27px var(--font-serif); color: var(--yellow);margin-top: 8px; margin-bottom: 8px;}
.com-case-card__desc { font: 200 13px/18px var(--font-sans); color: var(--white); }
.com-case-card__img { flex-shrink: 0; width: 198px; height: 100%; display: flex; align-items: center; justify-content: center; padding-right: 19px; }
.com-case-card__img img { width: 100%; max-width: 144px; height: auto; object-fit: contain; margin: 0 auto; }

.section4__quote {
  width: 100%;
  max-width: var(--container-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}
.section4__quote-text {
  position: relative;
  font: 700 27px/35px var(--font-serif);
  color: var(--white);
  text-align: center;
}
.section4__quote-underline { width: 100%; max-width: 560px; margin-top: -12px; }
.section4__disclaimer { font: 200 13px/16px var(--font-sans); color: var(--grey-300); text-align: center; }

/* ==========================================================================
   section5 — table
   ========================================================================== */
.section5 { }
.table-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.table { width: 100%; display: flex; flex-direction: column; }
.table_header, .table_row {
  display: flex;
  width: 100%;
}
.table_header { background: var(--blue); }
.table_row { background: var(--white-alpha-11); border-bottom: 1px solid var(--blue); }
.table_row:last-child { border-bottom: none; }
.table_cell {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  height: 72px;
}
.table_header .table_cell { font: 500 18px/22px var(--font-sans); color: var(--white); }
.table_row .table_cell { font: 400 16px/22px var(--font-sans); color: var(--white); }
.table_row .table_cell--highlight { font: 700 16px/21px var(--font-sans); color: var(--yellow); }
.table-footnote { font: 400 18px/27px var(--font-sans); color: var(--white); text-align: center; }

/* ==========================================================================
   section6 — 변호사 소개 (가로 스크롤)
   ========================================================================== */
.section6 { overflow-x: hidden; }
.section6 .section-inner { padding-right: 0; gap: 2px; }
.section6__top { display: flex; gap: 48px; flex-wrap: wrap; width: 100%; max-width: var(--container-width); }
.section6__intro { display: flex; flex-direction: column; gap: 31px; flex: 1 1 304px; min-width: 240px; }
.section6__desc { font: 400 19px/30px var(--font-sans); color: var(--white); max-width: 344px; }

.lawyer-hero { position: relative; display: flex; align-items: flex-start; padding-top: 16px; flex-shrink: 0; }
.lawyer-hero__photo { width: 400px; height: auto;}
.lawyer-hero__cert {
  position: absolute;
  left: -184px;
  top: 240px;
  width: 224px;
}
.lawyer-hero__badge { position: absolute; left: -8px; top: 144px; display: flex; flex-direction: column; gap: 5px; }
.lawyer-hero__name { font: 600 26px/32px var(--font-sans); color: var(--yellow); }
.lawyer-hero__role { font: 400 14px/19px var(--font-sans); color: var(--white); }

.lawyer-list {
  display: flex;
  gap: 20px;
  width: max-content;
}
.lawyer-card-page { display: contents; }
.lawyer-card {
  width: 380px;
  height: 188px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--white-alpha-20);
  display: flex;
  align-items: center;
  padding: 28px 28px;
}
.lawyer-card__photo {
  position: absolute;
  right: 0px;
  bottom: -72px;
  height: 130%;
  width: auto;
  object-fit: cover;
}
.lawyer-card__info { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 40px; }
.lawyer-card__name { font: 600 22px/27px var(--font-sans); color: var(--yellow); margin-bottom: 3px; }
.lawyer-card__role { font: 400 13px/18px var(--font-sans); color: var(--white); }
.lawyer-card__icon { width: 32px; height: auto; opacity: 0.7; }

/* ==========================================================================
   section7
   ========================================================================== */
.section7 { }
.section7 .section-inner { align-items: center; text-align: center; gap: 53px; }
.section7__title { font: 700 38px/50px var(--font-sans); color: var(--white); text-align: center; }
.section7__checklist { display: flex; gap: 38px; flex-wrap: wrap; justify-content: center; }
.section7__check-item { display: flex; align-items: center; gap: 13px; }
.section7__check-item img { width: 18px; height: 22px; }
.section7__check-item span { font: 400 19px/30px var(--font-sans); color: var(--white); }

.section7__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 472px; }
.section7__phone-btn {
  width: 100%;
  height: 146px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}
.section7__phone-btn strong { font: 700 34px/42px var(--font-sans); }
.section7__phone-btn span { font: 400 16px/19px var(--font-sans); }
.section7__phone-btn { transition: background 0.2s; }
.section7__phone-btn:hover { background: var(--white); }
.section7__phone-btn:hover strong { color: var(--red); }
.section7__phone-btn:hover span { color: var(--red-hover); }
.section7__sub-buttons { display: flex; gap: 16px; width: 100%; }
.btn-solid-blue {
  flex: 1 1 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-alpha-20);
  color: var(--white);
  font: 600 26px/32px var(--font-sans);
  text-align: center;
  transition: background 0.2s;
}
.btn-solid-blue:hover { background: var(--white); color: var(--bluegrey-500); }
.section7__note { font: 400 19px/30px var(--font-sans); color: var(--white); }

/* ==========================================================================
   section8 — 자주 묻는 질문 (FAQ)
   ========================================================================== */
.faq-list { width: 100%; }
.faq-item {
  width: 100%;
  background: var(--grey-alpha-15);
  border: 1px solid var(--white-alpha-11);
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}
.faq-item + .faq-item { margin-top: 12px; }
.faq-item.is-open { background: var(--black-alpha-45); border-color: var(--yellow); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 28px;
  text-align: left;
  word-break: keep-all;
  color: var(--white);
  font: 700 19px/28px var(--font-sans);
}
.faq-item__mark { flex-shrink: 0; font: 700 19px/28px var(--font-serif); color: var(--yellow); }
.faq-item__mark--a { color: var(--blue); }
.faq-item__title { flex: 1; }
.faq-item__chev {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--grey-500);
  transition: transform 0.25s var(--ease-out), color 0.2s;
}
.faq-item.is-open .faq-item__chev { transform: rotate(180deg); color: var(--yellow); }

/* 답변: 닫힌 상태 높이 0 → 열면 JS가 실제 높이를 max-height 로 넣어 슬라이드 */
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-out); }
.faq-item__a-inner {
  display: flex;
  gap: 12px;
  margin: 0 28px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--white-alpha-11);
}
.faq-item__body { flex: 1; font: 400 17px/30px var(--font-sans); color: var(--grey-300); word-break: keep-all; }
.faq-item__body p + p { margin-top: 12px; }
.faq-item__body b { color: var(--white); font-weight: 700; }

/* 지역 목록 — 답변 안에서 한 번 더 접어 둔다 */
.faq-regions { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--white-alpha-11); }
.faq-regions summary {
  cursor: pointer;
  list-style: none;
  padding: 4px 0;
  font: 600 16px/24px var(--font-sans);
  color: var(--yellow);
}
.faq-regions summary::-webkit-details-marker { display: none; }
.faq-regions summary::after { content: "▾"; margin-left: 6px; font-size: 11px; }
.faq-regions[open] summary::after { content: "▴"; }
.faq-regions dl { margin-top: 14px; font: 400 14px/26px var(--font-sans); }
.faq-regions dt { margin-top: 12px; font-weight: 700; color: var(--white); }
.faq-regions dt:first-child { margin-top: 0; }
.faq-regions dd { margin-top: 2px; color: var(--grey-500); }

/* 5번째 문항부터는 접어 둔다.
   ★ 15문항 모두 마크업에 있고 CSS로만 감추므로 검색봇은 전부 읽는다.
     (더보기를 눌러야 서버에서 받아오는 방식으로 바꾸면 소스에 없어 색인되지 않는다) */
.faq-item:nth-child(n+5) {
  max-height: 0;
  margin-top: 0;
  border-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.4s var(--ease-out), margin-top 0.4s var(--ease-out),
              border-width 0.4s, opacity 0.3s;
}
.faq-list.is-expanded .faq-item:nth-child(n+5) {
  max-height: 2000px;
  margin-top: 12px;
  border-width: 1px;
  opacity: 1;
  pointer-events: auto;
}

.faq-more {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 320px;
  height: 64px;
  padding: 0 32px;
  border: 1px solid var(--white-alpha-20);
  border-radius: 8px;
  color: var(--white);
  font: 600 19px/26px var(--font-sans);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.faq-more::after { content: "▾"; font-size: 13px; }
.faq-more:hover { background: var(--white); color: var(--bluegrey-500); border-color: var(--white); }
.faq-more.is-hidden { display: none; }

/* ==========================================================================
   footer
   ========================================================================== */
.footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 64px 0;
  max-width: var(--container-width);
  margin: 0 auto;
}
.footer__nav { display: flex; align-items: center; gap: 16px; }
.footer__nav a,
.footer__nav-text,
.footer__nav-link-btn { font: 600 15px/20px var(--font-sans); color: var(--white); }
.footer__nav-sep { width: 1px; height: 12px; background: var(--grey-500); }

.footer__brand-row { display: flex; align-items: center; }
.footer__logo { width: 168px; height: auto; }

.footer__section-title { font: 700 16px/20px var(--font-sans); color: var(--white); }

.footer__address-list { display: flex; flex-direction: column; gap: 8px; }
.footer__address-list p { font: 400 15px/22px var(--font-sans); color: var(--grey-300); }
.footer__address-list strong { font-weight: 700; }

.footer__copyright { font: 400 13px/18px var(--font-sans); color: var(--grey-400); }

/* ==========================================================================
   floating-cta (스크롤에 항상 고정)
   ========================================================================== */
.floating-cta {
  position: fixed;
  right: 19px;
  bottom: 100px;
  z-index: 200;
  width: 120px;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  filter: drop-shadow(0 0 13px rgba(0, 0, 0, 0.3));
}
.floating-cta__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.floating-cta__brand {
  height: 75px;
  gap: 3px;
  background: var(--red);
  color: var(--white);
  border-bottom: 1px solid var(--white);
}
.floating-cta__brand-row { display: flex; align-items: center; gap: 5px; }
.floating-cta__brand-row img { width: 16px; height: auto; }
.floating-cta__brand-row span { font: 600 11px/13px var(--font-sans); }
.floating-cta__brand small { font: 600 13px/16px var(--font-sans); }
.floating-cta__phone {
  height: 75px;
  background: var(--white);
  color: var(--grey-800);
  border-bottom: 1px solid var(--red-hover);
}
.floating-cta__phone-detail { display: flex; flex-direction: column; align-items: center;padding-top: 5px; }
.floating-cta__phone-detail span { font: 600 11px/13px var(--font-sans); margin-bottom: 4px; }
.floating-cta__phone-detail strong { font: 800 18px/24px var(--font-serif); }
.floating-cta__icon--phone,
.floating-cta__phone-label { display: none; }
.floating-cta__link {
  height: 75px;
  gap: 3px;
  background: var(--white);
  color: var(--grey-800);
  font: 600 13px/16px var(--font-sans);
  border-bottom: 1px solid var(--red-hover);
}
.floating-cta__link:last-child { border-bottom: none; }
.floating-cta__icon--message,
.floating-cta__icon--kakao { height: 22px; width: auto; }

/* ==========================================================================
   floating-consult (floating-cta 문자상담 클릭 시 뜨는 팝업)
   ========================================================================== */
.floating-consult {
  display: none;
  position: fixed;
  right: 155px;
  bottom: 100px;
  z-index: 210;
  width: 380px;
  max-width: calc(100vw - 40px);
  padding: 32px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.floating-consult.is-open { display: block; animation: consult-open 0.25s var(--ease-out); }
.floating-consult__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--grey-400);
  background: none;
  border: none;
}
.floating-consult__close:hover { color: var(--grey-800); }
.floating-consult__title { font: 700 22px/28px var(--font-serif); color: var(--grey-800); }
.floating-consult__form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.floating-consult__row { display: flex; gap: 12px; }
.floating-consult__field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 0; min-width: 0; }
.floating-consult__field span { font: 600 13px/16px var(--font-sans); color: var(--grey-800); }
.floating-consult__field input,
.floating-consult__field textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--grey-200);
  border: 1px solid var(--grey-300);
  color: var(--black);
  font: 400 14px/18px var(--font-sans);
}
.floating-consult__field input:focus,
.floating-consult__field textarea:focus { outline: none; border-color: var(--red); }
.floating-consult__field textarea { resize: vertical; min-height: 72px; }
.floating-consult__field--full { width: 100%; }
.floating-consult__agreement { display: flex; align-items: center; gap: 8px; }
.floating-consult__agreement .consult-request__agreement span { color: var(--grey-800); }
.floating-consult__agreement .agreement-detail-link { color: var(--grey-400); }
.floating-consult__agreement .agreement-detail-link:hover { color: var(--red); }
.floating-consult__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 53px;
  background: var(--grey-800);
  color: var(--white);
  font: 700 17px/22px var(--font-sans);
  transition: background 0.2s;
}
.floating-consult__submit:hover { background: var(--red); }

/* ==========================================================================
   Responsive — Laptop (floating-cta 폭이 좁아진 뷰포트와 겹치지 않도록 축소)
   ========================================================================== */
@media (max-width: 1599px) and (min-width: 901px) {
  .floating-cta { width: 93px; right: 8px; }
  .floating-cta__brand-row span,
  .floating-cta__brand small,
  .floating-cta__phone span { font-size: 10px; }
  .floating-cta__phone strong { font-size: 14px; line-height: 19px; }
  .floating-cta__link { font-size: 10px; }
  .floating-consult { right: 117px; }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */
@media (max-width: 1240px) {
  .header, .hero__inner, .cta-1__content,
  .section-inner { padding-left: 19px; padding-right: 19px; }
}

@media (max-width: 900px) {
  /* ------------------------------------------------------------------
     플루이드 스케일링: 아래 값들은 모두 clamp(375px 기준값, 뷰포트에 따라
     선형 보간되는 값, 900px 이상에서 쓰이는 데스크톱 기준값) 형태다.
     375px에서는 min값(기존 모바일 최종값)과 정확히 같고, 900px에서는
     max값(데스크톱 기본값)과 정확히 같아서 900/901px 경계에서 값이 끊기지
     않는다. 이동식/캐러셀처럼 값이 아니라 "구조"가 다른 것들은 선형보간이
     불가능하므로 아래쪽 @media (max-width:640px)에서 별도로 전환한다.
     ------------------------------------------------------------------ */
  :root { --container-padding: clamp(19px, calc(-0.952vw + 27.57px), 24px); }

  .section-inner { padding: clamp(51px, calc(5.524vw + 30.29px), 80px) var(--container-padding); gap: clamp(26px, calc(2.095vw + 18.14px), 37px); }
  .section1 .section-inner { padding-top: 0; }
  .section1-stack { gap: 0; }
  .cta-1 { margin-bottom: 48px; }
  .cta-2 { margin: 48px 0; }

  .main-title { align-items: center; text-align: center; width: 100%; }
  .main-title__heading { font-size: clamp(24px, calc(1.905vw + 16.86px), 34px); line-height: clamp(34px, calc(1.905vw + 26.86px), 44px); }
  .main-title__tag-text { font-size: clamp(12px, calc(0.762vw + 9.14px), 16px); line-height: clamp(18px, calc(1.524vw + 12.29px), 26px); }

  .hero { height: 100vh; min-height: auto; padding: 112px var(--container-padding) 112px; }
  .hero__bg { height: 540px; width: 100%; left: 0; right: 0; object-position: top; }
  .hero-title { align-items: center; text-align: center; margin-top: 0; }
  .hero-title__block { align-items: center; }
  .hero-title__lead { font-size: clamp(19px, calc(1.524vw + 13.29px), 27px); line-height: clamp(26px, calc(1.714vw + 19.57px), 35px); }
  .hero-title__headline { font-size: clamp(32px, calc(2.476vw + 22.71px), 45px); line-height: clamp(40px, calc(3.429vw + 27.14px), 58px); }
  .mobile-break { display: inline; }
  .pc-break { display: none; }
  .hero-title__sub { font-size: clamp(18px, calc(1.524vw + 12.29px), 26px); line-height: clamp(24px, calc(1.524vw + 18.29px), 32px); }
  .hero-title__sub::before { background: var(--grey-alpha-15); }

  .hero-stats { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; gap: 8px; margin-top: 0; width: 100%; }
  .hero-stats__item { flex-shrink: 1; min-width: 0; }
  .hero-stats__label { font-size: clamp(10px, calc(1.143vw + 5.71px), 16px); line-height: clamp(13px, calc(1.143vw + 8.71px), 19px); white-space: normal; }
  .hero-stats__value { white-space: nowrap; }
  .hero-stats__divider { flex-shrink: 0; width: 1px; height: clamp(40px, calc(3.048vw + 28.57px), 56px); }
  .hero-stats__number { font-size: clamp(28px, calc(3.81vw + 13.71px), 48px); line-height: clamp(36px, calc(2.857vw + 25.29px), 51px); }
  .hero-stats__unit { font-size: clamp(12px, calc(2.667vw + 2px), 26px); line-height: clamp(17px, calc(2.857vw + 6.29px), 32px); margin-right: 2px; margin-top: 6px; }
  .hero-stats__highlight { flex-shrink: 0; font-size: clamp(14px, calc(2.476vw + 4.71px), 27px); line-height: clamp(18px, calc(2.095vw + 10.14px), 29px); text-align: center; }

  /* 헤더가 화면에 고정되므로, 섹션 주소로 들어올 때 그 높이만큼 띄워 착지시킨다.
     (헤더 높이는 폰 68px ~ 태블릿 77px 범위 — 가장 큰 경우까지 덮도록 80px) */
  html { scroll-padding-top: 80px; }

  .header {
    position: fixed;
    padding: 16px var(--container-padding);
    justify-content: space-between;
    gap: 13px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  .header.is-scrolled {
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  }
  .header__logo { width: clamp(120px, calc(5.714vw + 98.57px), 150px); }
  .header__title { font-size: clamp(10px, calc(0.571vw + 7.86px), 13px); line-height: clamp(12px, calc(1.333vw + 7px), 19px); }

  .hscroll-arrow--prev { left: 2px; }
  .hscroll-arrow--next { right: 2px; }

  .stage-card_title { font-size: clamp(20px, calc(1.143vw + 15.71px), 26px); line-height: clamp(24px, calc(1.143vw + 19.71px), 30px); }
  .stage-card_desc { font-size: clamp(14px, calc(0.952vw + 10.43px), 19px); line-height: clamp(24px, calc(1.143vw + 19.71px), 30px); }
  .stage-card_tag span { font-size: clamp(11px, calc(0.952vw + 7.43px), 16px); line-height: clamp(12px, calc(1.333vw + 7px), 19px); }
  .stage-card_button { font-size: clamp(14px, calc(0.952vw + 10.43px), 19px); line-height: clamp(18px, calc(1.524vw + 12.29px), 26px); height: clamp(45px, calc(3.238vw + 32.86px), 62px); }

  .consult-request {
    background: var(--grey-alpha-15);
    width: 83%;
    margin-left: auto;
    margin-right: auto;
  }
  .consult-request.is-open { padding-left: 24px; padding-right: 24px; }
  .consult-request_form { width: 100%; padding: 0; gap: 8px; }
  .consult-request__footer { padding: 0; }
  .consult-request_form .input-row { flex-direction: column; gap: 8px; }
  .consult-request_title { font-size: clamp(19px, calc(1.524vw + 13.29px), 27px); line-height: clamp(26px, calc(1.714vw + 19.57px), 35px); }
  .form-input { height: clamp(42px, calc(2.095vw + 34.14px), 53px); font-size: clamp(12px, calc(0.762vw + 9.14px), 16px); padding: 12px 12px 12px 15px; }
  .consult-request_submit { height: clamp(44px, calc(1.714vw + 37.57px), 53px); font-size: clamp(14px, calc(0.952vw + 10.43px), 19px); line-height: clamp(18px, calc(1.143vw + 13.71px), 24px); }
  .consult-request__notice { font-size: clamp(11px, calc(0.952vw + 7.43px), 16px); line-height: clamp(15px, calc(0.762vw + 12.14px), 19px); }

  .section2__bg { transform: scale(2); transform-origin: center; }
  .section2__head { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .section2__lead { margin-left: 0; font-size: clamp(12px, calc(1.333vw + 7px), 19px); line-height: clamp(16px, calc(2.667vw + 6px), 30px); }
  .bubble__group { max-width: 88%; }
  .bubble__text { padding: 14px 19px; font-size: 12px; line-height: 18px; font-weight: 700; white-space: normal; }
  .bubble__tail { width: 72px; height: 26px; }

  .section3__quote-box { padding: 38px 19px; }
  .section3__quote-title { font-size: clamp(28px, calc(1.524vw + 22.29px), 36px); line-height: clamp(36px, calc(3.048vw + 24.57px), 52px); white-space: pre-line; }
  .section3__quote-desc { font-size: clamp(12px, calc(1.333vw + 7px), 19px); line-height: clamp(16px, calc(2.667vw + 6px), 30px); }

  .cta-1 { padding-top: 30px; padding-bottom: 30px; }
  .cta-1__title { font-size: clamp(18px, calc(3.048vw + 6.57px), 34px); line-height: clamp(22px, calc(3.81vw + 7.71px), 42px); }
  .cta-1__desc { font-size: clamp(12px, calc(1.333vw + 7px), 19px); line-height: clamp(16px, calc(2.667vw + 6px), 30px); }
  .cta-1__buttons { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 8px; width: 100%;}
  .btn-outline { flex: 1 1 0; width: auto; max-width: 100%; height: clamp(62px, calc(3.429vw + 49.14px), 80px); font-size: clamp(13px, calc(1.333vw + 8px), 20px); line-height: clamp(18px, calc(1.524vw + 12.29px), 26px); padding: 8px 4px; }

  .cta-2__title { font-size: clamp(22px, calc(1.524vw + 16.29px), 30px); line-height: clamp(30px, calc(1.905vw + 22.86px), 40px); }

  .section4 .section-inner { padding-right: var(--container-padding); }
  .section4__quote-text { font-size: clamp(22px, calc(0.952vw + 18.43px), 27px); line-height: clamp(30px, calc(0.952vw + 26.43px), 35px); }
  .case-slider { grid-auto-columns: calc(100vw - 48px); grid-template-rows: repeat(2, clamp(190px, calc(7.619vw + 161.43px), 230px)); gap: 16px 9px; justify-items: center; }
  .com-case-card { width: 82%; height: clamp(190px, calc(7.619vw + 161.43px), 230px); background: var(--grey-alpha-15); }
  .com-case-card__body { justify-content: flex-start; padding-left: 14px; padding-top: 50px; padding-bottom: 50px; gap: 8px; }
  .com-case-card__category { font-size: clamp(11px, calc(0.952vw + 7.43px), 16px); }
  .com-case-card__headline { font-size: clamp(14px, calc(0.952vw + 10.43px), 19px); line-height: clamp(20px, calc(1.333vw + 15px), 27px); margin-top: 4px; margin-bottom: 4px; }
  .com-case-card__desc { font-size: clamp(10px, calc(0.571vw + 7.86px), 13px); line-height: clamp(14px, calc(0.762vw + 11.14px), 18px); }
  .com-case-card__img { width: clamp(110px, calc(16.762vw + 47.14px), 198px); padding-right: 12px; }
  .com-case-card__img img { max-width: clamp(120px, calc(4.571vw + 102.86px), 144px); }

  .table_cell { height: auto; min-height: clamp(42px, calc(5.714vw + 20.57px), 72px); padding: 8px 6px; }
  .table_header .table_cell { font-size: clamp(12px, calc(1.143vw + 7.71px), 18px); line-height: clamp(18px, calc(0.762vw + 15.14px), 22px); }
  .table_row { background: var(--grey-alpha-15); }
  .table_row .table_cell { font-size: clamp(12px, calc(0.762vw + 9.14px), 16px); line-height: clamp(16px, calc(1.143vw + 11.71px), 22px); }
  .table_row .table_cell--highlight { font-size: clamp(12px, calc(0.762vw + 9.14px), 16px); line-height: clamp(20px, calc(0.19vw + 19.29px), 21px); }

  .section6 .section-inner { padding-right: var(--container-padding); }
  .section6__top { justify-content: flex-end; gap: 24px; }
  .section6__intro { align-items: center; text-align: center; gap: 20px; }
  .section6__desc { max-width: 100%; font-size: clamp(12px, calc(1.333vw + 7px), 19px); line-height: clamp(16px, calc(2.667vw + 6px), 30px); }
  .lawyer-hero { flex-direction: column; align-items: center; padding-top: 0; }
  .lawyer-hero__photo { width: clamp(245px, calc(29.524vw + 134.29px), 400px); }
  .lawyer-hero__cert { display: block; left: clamp(-184px, calc(-19.619vw - 7.43px), -81px); top: clamp(125px, calc(21.905vw + 42.86px), 240px); width: clamp(130px, calc(17.905vw + 62.86px), 224px); }
  .lawyer-hero__badge { position: absolute; left: clamp(-30px, calc(4.19vw - 45.71px), -8px); top: clamp(42px, calc(19.429vw - 30.86px), 144px); width: 150px; margin-top: 0; align-items: flex-start; text-align: left; transform: scale(0.8); transform-origin: left top; }
  .section6 .hscroll { width: 90%; margin: 0 auto; }
  .lawyer-list { padding: 0; gap: 8px; }
  .lawyer-card__photo { bottom: -40px; }
  .lawyer-card__info { gap: 20px; }
  .lawyer-card__name { font-size: clamp(16px, calc(1.143vw + 11.71px), 22px); line-height: clamp(20px, calc(1.333vw + 15px), 27px); }
  .lawyer-card__role { font-size: clamp(11px, calc(0.381vw + 9.57px), 13px); line-height: clamp(15px, calc(0.571vw + 12.86px), 18px); }
  .lawyer-card__icon { width: 22px; }

  .section7 .section-inner { gap: 28px; }
  .section7__title { font-size: clamp(24px, calc(2.667vw + 14px), 38px); line-height: clamp(34px, calc(3.048vw + 22.57px), 50px); }
  .section7__checklist { gap: 9px 17px; }
  .section7__check-item { gap: 6px; }
  .section7__check-item img { width: 14px; height: 18px; }
  .section7__check-item span { font-size: clamp(14px, calc(0.952vw + 10.43px), 19px); line-height: clamp(16px, calc(2.667vw + 6px), 30px); }
  .section7__cta { gap: 10px; }
  .section7__phone-btn { height: clamp(90px, calc(10.667vw + 50px), 146px); gap: 4px; }
  .section7__phone-btn strong { font-size: clamp(18px, calc(3.048vw + 6.57px), 34px); line-height: clamp(22px, calc(3.81vw + 7.71px), 42px); }
  .section7__phone-btn span { font-size: clamp(10px, calc(1.143vw + 5.71px), 16px); line-height: clamp(13px, calc(1.143vw + 8.71px), 19px); }
  .section7__sub-buttons { gap: 10px; }
  .btn-solid-blue { height: clamp(60px, calc(4.19vw + 44.29px), 82px); font-size: clamp(16px, calc(1.905vw + 8.86px), 26px); line-height: clamp(20px, calc(2.286vw + 11.43px), 32px); }

  .faq-item__q { padding: clamp(16px, calc(1.524vw + 10.29px), 24px) clamp(18px, calc(1.905vw + 10.86px), 28px); gap: 8px; font-size: clamp(15px, calc(0.762vw + 12.14px), 19px); line-height: clamp(22px, calc(1.143vw + 17.71px), 28px); }
  .faq-item__mark { font-size: clamp(15px, calc(0.762vw + 12.14px), 19px); line-height: clamp(22px, calc(1.143vw + 17.71px), 28px); }
  .faq-item__chev { width: 17px; height: 17px; margin-top: 2px; }
  .faq-item__a-inner { gap: 8px; margin: 0 clamp(18px, calc(1.905vw + 10.86px), 28px); padding: clamp(14px, calc(0.762vw + 11.14px), 18px) 0 clamp(18px, calc(1.143vw + 13.71px), 24px); }
  .faq-item__body { font-size: clamp(14px, calc(0.571vw + 11.86px), 17px); line-height: clamp(24px, calc(1.143vw + 19.71px), 30px); }
  .faq-regions summary { font-size: clamp(14px, calc(0.381vw + 12.57px), 16px); }
  .faq-regions dl { font-size: clamp(12.5px, calc(0.286vw + 11.43px), 14px); line-height: clamp(22px, calc(0.762vw + 19.14px), 26px); }
  .faq-more { width: 100%; min-width: 0; height: clamp(56px, calc(1.524vw + 50.29px), 64px); font-size: clamp(16px, calc(0.571vw + 13.86px), 19px); }

  .footer { align-items: center; text-align: center; gap: 19px; padding: 51px var(--container-padding) 32px; }
  .footer__nav { justify-content: center; flex-wrap: wrap; }
  .footer__brand-row { justify-content: center; }
  .footer__address-list { align-items: center; }

  /* 모바일: 세로 사이드 위젯 대신 하단 고정 바 형태로 전환 (본문과 겹치지 않도록) */
  body { padding-bottom: 64px; }
  .floating-cta {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 95%;
    margin: 0 auto;
    flex-direction: row;
    gap: 0;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    overflow: visible;
    filter: none;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  }
  .floating-cta__brand { display: none; }
  .floating-cta__item { flex: 1 1 0; height: 70px !important; padding: 5px; background: none; color: var(--grey-800); }
  .floating-cta__phone { background: var(--red); color: var(--white); border-radius: 16px 0 0 0; }
  .floating-cta__phone-detail { display: flex; }
  .floating-cta__icon--phone,
  .floating-cta__phone-label { display: none; }
  .floating-cta__link { flex-direction: column; gap: 4px; font-size: 13px; border-bottom: none; }
  .floating-cta__link:active { background: var(--red); color: var(--white); }
  .floating-cta__link:active img { filter: brightness(0) invert(1); }

  /* 모바일에서는 사이드 바가 없으므로 하단 바 위로 뜨는 가운데 정렬 팝업으로 전환 */
  /* 누수 페이지의 퀵상담 폼과 같은 방식: 좌우를 화면 양쪽에 붙여 전체폭으로 띄운다.
     폭을 정해두고 가운데로 옮기는 방식이 아니라 애초에 양쪽 여백만 두기 때문에,
     열림 효과가 위치를 건드릴 여지가 구조적으로 없다. */
  .floating-consult {
    left: 12px;
    right: 12px;
    bottom: 80px;
    width: auto;
    max-width: none;
    padding: 24px;
  }

  .privacy-modal__box { padding: 20px; }
}

/* ==========================================================================
   Responsive — Phone-only 구조 전환 (진짜 폰 폭에서만 적용)
   375~640px: 캐러셀형(카드 1~2개씩 넘기기) 구조.
   641~900px(태블릿): 위 미디어쿼리의 플루이드 값만 적용된 채, 아래 구조는
   걷어내고 데스크톱과 동일한 "카드 나란히 + 가로 스크롤" 구조로 자연스럽게
   되돌아간다(각 카드는 flex:1 1 0 / 퍼센트 기반이라 폭에 맞춰 스스로 줄어든다).
   ========================================================================== */
@media (max-width: 640px) {
  /* stage-card: 가로 캐러셀 해제, 세로로 스택 */
  .stage-guide_list { flex-direction: column; align-items: center; overflow-x: visible; }
  .stage-card { width: 83%; flex: 1 1 auto; background: var(--grey-alpha-15); }

  .lawyer-card-page { display: contents; }
  .lawyer-card { flex: 0 0 auto; width: calc((100vw - 48px - 8px) / 2); height: auto; aspect-ratio: 304 / 188; padding: 16px; }
}

/* ==========================================================================
   상담 폼 — 접수 처리용 상태
   폼 3곳(section1 단계별 폼 · cta-2 폼 · 플로팅 문자상담)이 같은 규칙을 쓴다.
   ========================================================================== */

/* 허니팟: 사람에게는 보이지 않고 봇만 채우는 칸 */
.fi-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 접수 완료 안내 — 제출 전에는 숨어 있다 */
.fi-done {
  display: none;
  margin: 0;
  padding: 28px 8px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--yellow);
}

.fi-done span {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-300);
}

/* 제출 후: 입력 영역을 감추고 안내 문구만 남긴다 */
.consult-request.is-sent .consult-request_form,
.consult-request.is-sent .consult-request__footer,
.cta-2.is-sent .consult-request_form,
.cta-2.is-sent .agreement-row,
.floating-consult.is-sent .floating-consult__form { display: none; }

.consult-request.is-sent .fi-done,
.cta-2.is-sent .fi-done,
.floating-consult.is-sent .fi-done { display: block; }
