/* =========================================================
   법무법인 온새미로 랜딩페이지 스타일
   ---------------------------------------------------------
   색상은 :root 변수만 바꾸면 전체에 적용됩니다.
   ========================================================= */

:root {
  /* 브라운 계열 (taehadivorce.com 색감 참고) — 기존 --navy-* 를 --brown-* 로 바꿨습니다 */
  --brown-950: #231a15;
  --brown-900: #463930;   /* 하단 고정바 등 가장 진한 배경 */
  --brown-800: #55463b;
  --brown-700: #6b5645;
  --brown-600: #8a725c;
  --gold: #b8995a;
  --gold-dark: #97773a;
  --gold-light: #d8c08c;
  --ivory: #f6f4ef;
  --ivory-2: #efebe3;
  --line: #e3ded4;
  --text: #241f1a;
  --muted: #6f6760;
  --white: #fff;

  --header-h: 84px;
  --quick-h: 84px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 기본 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Noto Sans KR', 'Noto Sans CJK KR', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  letter-spacing: -0.02em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
svg { flex-shrink: 0; }

section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 140px 0; }

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.sec-title {
  font-size: clamp(28px, 3.1vw, 46px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.sec-title span { color: var(--gold-dark); }
.eyebrow + .sec-title { margin-top: 14px; }
.sec-desc { margin-top: 18px; font-size: 19px; color: #585c66; }
.sec-head--center { text-align: center; }

.notice { margin-top: 30px; font-size: 13px; color: #9a9ca3; text-align: center; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 17px;
  font-weight: 700;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
/* =========================================================
   전화 아이콘 : images/tel_icon.png
   - mask 로 모양만 가져오고 색은 각 위치의 색을 그대로 사용합니다.
   - 아이콘 그림을 바꾸려면 images/tel_icon.png 파일만 교체하세요.
   ========================================================= */
.ico-tel {
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
  /* 원본 PNG 가장자리 여백만큼 키워, 기존 아이콘과 같은 크기로 보이게 합니다 */
  transform: scale(1.56);
}
/* 밝은 배경 위에서는 흰색 아이콘이 보이지 않으므로 금색으로 칠합니다
   (index.html 하단의 <filter id="telGold"> 사용) */
.ico-tel--gold { filter: url(#telGold); }

.btn svg { width: 20px; height: 20px; }
.btn .ico-tel { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--line { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--line svg { fill: currentColor; }
.btn--line:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--dark { background: var(--brown-800); color: var(--white); }
.btn--dark:hover { background: var(--brown-600); }
.btn--dark svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn--block { width: 100%; }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn--light { color: rgba(255,255,255,.65); font-weight: 400; font-size: 13px; }

/* 체크박스 */
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid #bdb7ab;
  border-radius: 3px;
  background: var(--white) center/14px no-repeat;
  cursor: pointer;
  transition: .2s;
}
.check input:checked {
  border-color: var(--brown-800);
  background-color: var(--brown-800);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.check--light { font-size: 13px; color: rgba(255,255,255,.85); gap: 8px; }
.check--light input { width: 18px; height: 18px; background-color: transparent; border-color: rgba(255,255,255,.45); background-size: 12px; }
.check--light input:checked { background-color: var(--gold); border-color: var(--gold); }

/* ---------- 로고 ---------- */
/* 로고 : 배경 없는(투명) 워드마크 PNG 2종
   - images/logo_top.png   : 흰색 글자 → 어두운 배경(최상단 헤더 · 푸터)
   - images/logo_top_1.png : 검정 글자 → 흰색 배경(스크롤 후 헤더)
   - 그림을 바꾸려면 위 두 파일만 교체하세요. */
.logo { position: relative; display: inline-flex; align-items: center; }
.logo__img {
  display: block;
  width: auto;
  height: 68px;
  transition: opacity .4s;
}
/* 어두운 배경용(기본) 위에 흰 배경용을 겹쳐 두고 투명도로 바꿉니다 */
.logo__img--dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}
.header.is-scrolled .logo__img--light,
.header.menu-open .logo__img--light { opacity: 0; }
.header.is-scrolled .logo__img--dark,
.header.menu-open .logo__img--dark { opacity: 1; }
.logo--light { color: var(--white); }

/* =========================================================
   헤더
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background .4s, color .4s, box-shadow .4s;
}
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.15);
  transition: opacity .4s;
}
.header.is-scrolled,
.header.menu-open {
  background: rgba(255,255,255,.97);
  color: var(--text);
  box-shadow: 0 6px 30px rgba(56,44,36,.08);
}
.header.is-scrolled::after,
.header.menu-open::after { opacity: 0; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: 0 36px;
}
.header__left { display: flex; align-items: center; gap: 28px; }
.header__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 28px;
  border-left: 1px solid currentColor;
  border-left-color: rgba(128,128,128,.35);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}
.header__tel .ico-tel { width: 18px; height: 18px; }
.header__tel span { display: flex; flex-direction: column; line-height: 1.2; }
.header__tel small { font-size: 11px; font-weight: 500; opacity: .7; letter-spacing: -0.02em; }

.gnb ul { display: flex; align-items: center; gap: 34px; }
.gnb a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .3s;
}
.gnb a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s, left .3s;
}
.gnb a:hover,
.gnb a.is-active { color: var(--gold); }
.gnb a.is-active::after { left: 0; width: 100%; }
.gnb .gnb__cta {
  padding: 9px 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
}
.gnb .gnb__cta::after { display: none; }
.gnb .gnb__cta:hover,
.gnb .gnb__cta.is-active { background: var(--gold); color: var(--white); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform .3s, opacity .3s;
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   1. 메인 비주얼
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--brown-900);
  color: var(--white);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(35,26,21,.55) 0%, rgba(35,26,21,.25) 38%, rgba(35,26,21,.35) 62%, rgba(35,26,21,.85) 100%),
    radial-gradient(ellipse at center, rgba(35,26,21,.15) 0%, rgba(35,26,21,.55) 100%);
}
.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1100px, 92%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.hero__eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .45em;
  color: var(--gold-light);
  animation: heroIn 1.2s var(--ease) .2s both;
}
.hero__title {
  margin-top: 26px;
  font-size: clamp(28px, 4.2vw, 60px);
  font-weight: 300;
  line-height: 1.38;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
  animation: heroIn 1.2s var(--ease) .45s both;
}
.hero__title span { font-weight: 700; }
.hero__sub {
  margin-top: 26px;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 400;
  opacity: .85;
  animation: heroIn 1.2s var(--ease) .7s both;
}
.hero__btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
  animation: heroIn 1.2s var(--ease) .95s both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: calc(var(--quick-h) + 28px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .8;
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -30%;
  width: 1px;
  height: 30%;
  background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  to { top: 100%; }
}

/* =========================================================
   법무법인 온새미로 (About)
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  align-items: center;
}
.about__text p:not(.eyebrow):not(.about__sign) {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.95;
  color: #50545e;
}
.about__text .sec-title + p { margin-top: 36px !important; }
.about__sign {
  margin-top: 36px;
  font-size: 15px;
  color: var(--muted);
}
.about__sign strong { margin-left: 8px; font-size: 24px; color: var(--text); letter-spacing: .1em; }

.practice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.practice li {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .35s, color .35s;
}
.practice b { font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.practice strong { display: block; margin: 10px 0 6px; font-size: 21px; font-weight: 700; }
.practice span { font-size: 14px; color: var(--muted); transition: color .35s; }
.practice li:hover { background: var(--brown-800); color: var(--white); }
.practice li:hover span { color: rgba(255,255,255,.65); }

.hours-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px 20px;
  margin-top: 22px;
  padding: 30px 32px;
  background: var(--brown-800);
  color: var(--white);
}
.hours-card h3 { grid-column: 1 / -1; font-size: 17px; font-weight: 700; color: var(--gold-light); }
.hours-card li { position: relative; padding-left: 12px; font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.82); }
.hours-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 4px; height: 4px; background: var(--gold); }
.hours-card__tel { font-size: 30px; font-weight: 700; letter-spacing: 0; color: var(--gold-light); }

/* =========================================================
   4. 구성원 소개
   ========================================================= */
.members { background: var(--ivory); overflow: hidden; }

.slider { position: relative; margin-top: 64px; }
.slider__track {
  --gap: 30px;
  --per: 4;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  outline: none;
}
.slider__track::-webkit-scrollbar { display: none; }

.lawyer {
  scroll-snap-align: start;
  cursor: pointer;
}
.lawyer__photo {
  position: relative;
  aspect-ratio: 11 / 13;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #e7e2d8, #cfc7b8);
}
.lawyer__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .8s var(--ease);
}
.lawyer:hover .lawyer__photo img { transform: scale(1.05); }
.lawyer__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(70,57,48,.35));
  pointer-events: none;
}
.lawyer__photo .initial,
.m-lawyer__photo .initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}
.lawyer__info { position: relative; padding: 24px 56px 0 2px; }
.lawyer__name { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.lawyer__name span { margin-left: 8px; font-size: 15px; font-weight: 500; color: var(--gold-dark); }
.lawyer__career {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.lawyer__career li {
  position: relative;
  padding-left: 12px;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.85;
  color: #585c66;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.lawyer__career li::before { content: ""; position: absolute; left: 0; top: 12px; width: 4px; height: 1px; background: var(--muted); }
.lawyer__more {
  position: absolute;
  top: 24px;
  right: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--brown-800);
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--brown-800);
  transition: .3s;
}
.lawyer:hover .lawyer__more { background: var(--brown-800); color: var(--white); }

.slider__ctrl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 48px; }
.slider__arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #c9c3b6;
  border-radius: 50%;
  background: var(--white);
  transition: .3s;
}
.slider__arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.6; }
.slider__arrow:hover { background: var(--brown-800); border-color: var(--brown-800); }
.slider__arrow:hover svg { stroke: var(--white); }
.slider__arrow:disabled { opacity: .35; pointer-events: none; }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbc4b5;
  transition: width .3s, background .3s;
}
.slider__dots button.is-active { width: 30px; background: var(--brown-800); }

/* =========================================================
   5. 소송 전략
   ========================================================= */
.strategy { padding-bottom: 120px; }

.step-nav {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  z-index: 20;
  display: flex;
  gap: 6px;
  width: fit-content;
  margin: 48px auto 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(56,44,36,.08);
}
.step-nav a {
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #9b9ea6;
  transition: .3s;
}
.step-nav a.is-active { background: var(--brown-800); color: var(--white); }

.step { padding-top: 110px; scroll-margin-top: calc(var(--header-h) + 60px); }
.step__head { text-align: center; }
.step__num { font-size: 14px; font-weight: 700; letter-spacing: .15em; color: var(--gold); }
.step__head h3 {
  margin-top: 16px;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.04em;
}
.step__head em { font-style: normal; color: var(--gold-dark); }
/* max-width 860px : PC에서 STEP 설명 문장이 한 줄로 떨어지도록 한 값입니다 */
.step__head p { max-width: 860px; margin: 18px auto 0; font-size: 17px; line-height: 1.85; color: #5d616b; }

/* STEP 01 */
.route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.route__card {
  padding: 46px 38px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.route__card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(56,44,36,.1); }
.route__card--main { background: var(--brown-800); border-color: var(--brown-800); color: var(--white); }
.route__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ivory); }
.route__card--main .route__icon { background: rgba(255,255,255,.08); }
.route__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.route__card h4 { margin: 28px 0 14px; font-size: 24px; font-weight: 700; }
.route__card p { font-size: 15.5px; line-height: 1.85; color: #665e56; }
.route__card--main p { color: rgba(255,255,255,.75); }
.route__more { margin-top: 32px; text-align: center; font-size: 15px; color: var(--muted); }

/* STEP 02 */
.orbit {
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  align-items: center;
  gap: 50px;
  margin-top: 70px;
}
.orbit__col { display: grid; gap: 30px; }
.orbit__box {
  position: relative;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(56,44,36,.06);
}
.orbit__box h4 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--brown-800); }
.orbit__box h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.orbit__box p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: #665e56; }
.orbit__box::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.orbit__col:first-child .orbit__box::after { left: 100%; }
.orbit__col:last-child .orbit__box::after { right: 100%; transform: scaleX(-1); }
.orbit__center { display: flex; justify-content: center; }
/* 인물 이미지 : 배경이 없는(투명) 누끼 PNG 기준으로 잡혀 있습니다.
   - 카드 비율 4:5(세로형), 인물은 카드 아래쪽에 서 있고 하단은 카드에 잘립니다.
   - 배경은 섹션 톤(아이보리)과 이어지는 따뜻한 그라데이션 + 금색 점선 테두리 */
.orbit__person {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(88% 66% at 50% 16%, rgba(184,153,90,.26), transparent 62%),
    linear-gradient(180deg, #f0e8dc 0%, #e0d3bf 100%);
  box-shadow: 0 0 0 10px rgba(184,153,90,.10), 0 26px 50px rgba(56,44,36,.22);
}
.orbit__person img {
  position: absolute;
  left: 50%;
  bottom: 0;
  /* -57% : 누끼 PNG 안에서 인물이 오른쪽으로 치우쳐 있어 중앙에 맞춥니다 */
  transform: translateX(-57%);
  width: auto;
  max-width: none;   /* 전역 img max-width:100% 해제 (높이 기준으로 키우기 위해) */
  height: 94%;
  filter: drop-shadow(0 16px 22px rgba(56,44,36,.22));
}
/* 사진을 감싸는 금색 점선 테두리 */
.orbit__person::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px dashed rgba(184,153,90,.6);
  border-radius: 8px;
  pointer-events: none;
}
/* 인물 발치를 카드 바닥과 자연스럽게 이어주는 그림자 */
.orbit__person::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  background: linear-gradient(180deg, transparent, rgba(70,57,48,.16));
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* STEP 03 : 배경 이미지 + 오버레이 텍스트 */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.proof__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 340px;
  padding: 30px 30px 28px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--brown-900);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: left;
  transition: transform .4s var(--ease), box-shadow .4s, background-size .6s var(--ease);
}
/* [수정] 카드 배경 사진 : images/step 폴더의 파일만 바꾸면 됩니다 */
.proof__card--1 { background-image: url("../images/step-1/step03-1.png"); }
.proof__card--2 { background-image: url("../images/step-1/step03-2.png"); }
.proof__card--3 { background-image: url("../images/step-1/step03-3.png"); }
.proof__card--4 { background-image: url("../images/step-1/step03-4.png"); }

/* 사진 위 어두운 오버레이 — 글자가 항상 잘 보이도록 */
.proof__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,26,21,.45) 0%, rgba(35,26,21,.78) 55%, rgba(35,26,21,.93) 100%);
  transition: background .4s;
}
.proof__card > *,
.proof__card::after { position: relative; z-index: 1; }
.proof__card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(56,44,36,.3); background-size: 115%; }
.proof__card:hover::before { background: linear-gradient(180deg, rgba(35,26,21,.3) 0%, rgba(70,57,48,.7) 55%, rgba(35,26,21,.92) 100%); }

.proof__tag {
  padding: 6px 12px;
  border: 1px solid rgba(216,192,140,.6);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-light);
}
.proof__body { width: 100%; margin-top: auto; }
.proof__card strong {
  display: block;
  font-size: clamp(38px, 3.8vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-light);
  text-shadow: 0 2px 14px rgba(35,26,21,.55);
}
.proof__card strong small { margin-left: 4px; font-size: .38em; font-weight: 500; }
.proof__desc { display: block; margin-top: 16px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.92); }
.proof__card::after {
  content: "사례 보기 →";
  margin-top: 22px;
  padding-top: 16px;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-light);
}

/* =========================================================
   6·7. 성공사례 / 후기 (공통 보드)
   ========================================================= */
.board { background: #f7f6f2; }
.board--review { background: var(--white); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-top: 40px;
  padding: 6px;
  border-radius: 999px;
  background: var(--ivory-2);
}
.board--review .tabs { background: var(--ivory); }
.tabs button {
  padding: 11px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #6d707a;
  white-space: nowrap;
  transition: .3s;
}
.tabs button:hover { color: var(--brown-800); }
.tabs button.is-active { background: var(--brown-800); color: var(--white); font-weight: 700; }
.tabs button sup { margin-left: 4px; font-size: 11px; opacity: .6; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}
.card-grid .is-empty {
  grid-column: 1 / -1;
  padding: 80px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

/* 성공사례 카드 */
.case {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 32px 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  animation: cardIn .6s var(--ease) both;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.case:hover { border-color: var(--brown-700); transform: translateY(-6px); box-shadow: 0 22px 44px rgba(56,44,36,.08); }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  background: rgba(26,43,71,.07);
  color: var(--brown-700);
}
.tag--res { background: var(--gold); color: var(--white); }

.case__title {
  display: -webkit-box;
  margin-top: 20px;
  overflow: hidden;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.04em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.case__text {
  display: -webkit-box;
  margin-top: 12px;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.75;
  color: #676b75;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.case__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #9a9ca3;
}
.case__foot b { font-weight: 700; color: var(--brown-800); }
.case__text { margin-bottom: 22px; }

/* 후기 카드 */
.review { background: #f7f6f2; border-color: transparent; }
.review:hover { background: var(--white); border-color: var(--brown-700); }
.review .case__title { margin-top: 0; }
.review__quote { display: block; height: 22px; margin-bottom: 14px; font-size: 44px; line-height: 1; color: var(--gold); font-family: Georgia, serif; }
.review.is-sample { position: relative; cursor: default; border: 1px dashed #cfc8b9; background: #fbfaf7; }
.review.is-sample:hover { transform: none; box-shadow: none; background: #fbfaf7; border-color: #cfc8b9; }
.review.is-sample .case__title,
.review.is-sample .case__text { color: #a3a5ab; }
.sample-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 9px;
  border: 1px solid #cfc8b9;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #a39a86;
}
.review-guide {
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #fbf6ea;
  font-size: 14px;
  color: #8a6d33;
  text-align: center;
}

/* =========================================================
   8. 소식자료 (Media)
   ========================================================= */
.media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(35,26,21,.97) 0%, rgba(35,26,21,.82) 48%, rgba(35,26,21,.94) 100%),
    url("../video/lawfirm_hero_poster.jpg") center / cover no-repeat;
  color: var(--white);
}
.media__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
.media__rolls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  height: 720px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.media__col { overflow: hidden; }
.media__track { display: flex; flex-direction: column; gap: 18px; animation: rollY 46s linear infinite; }
.media__col--rev .media__track { animation-direction: reverse; animation-duration: 52s; }
.media__rolls:hover .media__track { animation-play-state: paused; }
@keyframes rollY { to { transform: translateY(calc(-50% - 9px)); } }
@keyframes rollX { to { transform: translateX(calc(-50% - 7px)); } }

.mcard {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 28px 26px 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mcard__head { display: flex; align-items: center; justify-content: space-between; }
.mcard__type { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold-light); }
.mcard__seal { width: 34px; height: 34px; fill: none; stroke: rgba(216,192,140,.7); stroke-width: 1.3; }
.mcard__title { margin-top: 16px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.mcard__who { margin-top: auto; padding-top: 18px; font-size: 14px; color: rgba(255,255,255,.6); }

.maTitle strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.maTitle .math2 {
  margin-top: 20px;
  font-size: clamp(30px, 3.3vw, 50px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.045em;
}
.maTitle .math2 span { color: var(--gold-light); }
.media__desc { margin-top: 24px; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.7); }
.media__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.media__list li {
  padding: 10px 18px;
  border: 1px solid rgba(216,192,140,.4);
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.media__list b { margin-left: 6px; color: var(--gold-light); }

/* =========================================================
   9-1. 상담신청
   ========================================================= */
.inquiry {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
}
/* 왼쪽 절반만 덮는 배경 사진 레이어 (오른쪽 절반은 흰색 폼 영역) */
.inquiry::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 50%;
  /* [수정] 배경 사진 : images/contact.png 파일만 바꾸면 됩니다 */
  background:
    linear-gradient(90deg, rgba(35,26,21,.80), rgba(35,26,21,.62)),
    url("../images/contact.png") left / cover no-repeat;
  background-color: var(--brown-900);
}
.inquiry__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1280px;
  margin: 0 auto;
}
.inquiry__intro {
  position: relative;
  padding: 140px 80px 140px 24px;
  color: var(--white);
}
.inquiry__intro::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(184,153,90,.25);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(184,153,90,.05);
}
.inquiry__label {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--white);
  font-size: 18px;
  font-weight: 700;
}
.inquiry__intro h2 { margin-top: 28px; font-size: clamp(36px, 3.6vw, 56px); font-weight: 700; line-height: 1.3; letter-spacing: -0.05em; }
.inquiry__lead { margin-top: 24px; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.72); }
.inquiry__contact { position: relative; margin-top: 56px; }
.inquiry__contact div {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.inquiry__contact dt { width: 72px; flex-shrink: 0; font-size: 14px; color: var(--gold-light); padding-top: 3px; }
.inquiry__contact dd { font-size: 16px; color: rgba(255,255,255,.88); line-height: 1.7; }
.inquiry__contact dd a { font-size: 22px; font-weight: 700; letter-spacing: 0; }

.inquiry__form { padding: 120px 24px 120px 80px; background: var(--white); }
.form-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--brown-800);
}
.form-top p { font-size: 19px; font-weight: 700; }
.form-top span { font-size: 13px; color: var(--muted); }
.field { margin-top: 26px; }
.field label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.field i,
.form-top i { font-style: normal; color: #c9502b; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid #dcd7cc;
  border-radius: 4px;
  background: #fbfaf8;
  font-size: 16px;
  transition: border-color .25s, background .25s;
}
.field textarea { height: auto; min-height: 150px; padding: 16px 18px; resize: vertical; line-height: 1.7; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background: #fbfaf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2230' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 18px center / 18px no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brown-700); background-color: var(--white); }
.field .is-error { border-color: #c9502b; }
.tel-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tel-group input { text-align: center; }
.counter { display: block; margin-top: 8px; text-align: right; font-size: 13px; color: #9a9ca3; }
.agree { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 30px; }
.inquiry__form .btn { height: 64px; font-size: 18px; }

/* =========================================================
   9-2. 오시는 길
   ========================================================= */
.location { background: var(--ivory); }
.location__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.location__body {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0;
  margin-top: 44px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(56,44,36,.06);
}
.map { position: relative; min-height: 520px; background: #e5e2db; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__btns { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 8px; }
.map__btns a {
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  font-size: 14px;
  font-weight: 700;
  transition: .3s;
}
.map__btns a:hover { background: var(--brown-800); color: var(--white); }

.office { padding: 48px 44px; }
.office h3 { padding-bottom: 24px; border-bottom: 2px solid var(--brown-800); font-size: 26px; font-weight: 700; }
.office dl > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.office dl > div:last-child { border-bottom: 0; }
.office dt { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--brown-800); }
.office dt svg { width: 19px; height: 19px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.office dt .ico-tel { width: 19px; height: 19px; }
.office dd { margin-top: 8px; font-size: 15.5px; line-height: 1.75; color: #555964; }
.office dd a { font-weight: 700; color: var(--text); }
.line-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #ef7c1c;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 1px;
}

/* =========================================================
   9-3. FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: 90px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__intro p:not(.eyebrow) { margin: 22px 0 34px; font-size: 16px; line-height: 1.85; color: #5d616b; }
.faq__intro b { color: var(--text); }

.accordion { border-top: 2px solid var(--brown-800); }
.acc { border-bottom: 1px solid var(--line); }
.acc.is-hidden { display: none; }
.acc__q {
  position: relative;
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 28px 56px 28px 4px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}
.acc__q b { flex-shrink: 0; font-size: 20px; font-weight: 900; color: var(--gold); line-height: 1.35; }
.acc__q::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 34px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg);
  transition: transform .3s;
}
.acc.is-open .acc__q { color: var(--brown-800); font-weight: 700; }
.acc.is-open .acc__q::after { transform: translateY(5px) rotate(-135deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p {
  position: relative;
  margin: 0 0 30px;
  padding: 26px 30px 26px 64px;
  border-radius: 8px;
  background: var(--ivory);
  font-size: 15.5px;
  line-height: 1.9;
  color: #50545e;
  white-space: pre-line;
}
.acc__a p::before { content: "A."; position: absolute; left: 26px; top: 24px; font-size: 20px; font-weight: 900; color: var(--brown-700); }
.faq__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 60px;
  margin-top: 30px;
  border: 1px solid var(--brown-800);
  background: var(--white);
  font-size: 16px;
  font-weight: 700;
  transition: .3s;
}
.faq__more span { font-size: 20px; font-weight: 300; }
.faq__more:hover { background: var(--brown-800); color: var(--white); }

/* =========================================================
   9-4. 푸터
   ========================================================= */
.footer {
  padding: 80px 0 calc(var(--quick-h) + 80px);
  background: var(--brown-950);
  color: rgba(255,255,255,.6);
  font-size: 14px;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__call { display: flex; flex-direction: column; align-items: flex-end; font-size: 32px; font-weight: 700; color: var(--white); letter-spacing: 0; line-height: 1.2; }
.footer__call small { font-size: 13px; font-weight: 500; color: var(--gold-light); letter-spacing: -0.02em; }
.footer__info dl { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 34px; }
.footer__info dl div { display: flex; gap: 10px; }
.footer__info dt { color: rgba(255,255,255,.38); }
.footer__info dd { color: rgba(255,255,255,.75); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a:hover { color: var(--white); }
.footer__links b { font-weight: 500; color: var(--white); }
.copyright { font-size: 13px; }
/* 맨 위로 : PC·모바일 모두 우측 하단 고정 플로팅 아이콘 */
.to-top {
  position: fixed;
  right: 24px;
  bottom: calc(var(--quick-h) + 20px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(216,192,140,.45);
  border-radius: 50%;
  background: var(--brown-900);
  box-shadow: 0 10px 24px rgba(35,26,21,.32);
  font-size: 0;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .3s, border-color .3s;
}
.to-top::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
}
/* 조금 내려갔을 때만 나타납니다 (js/main.js 의 is-on 클래스) */
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); border-color: var(--gold); }

/* 봇 걸러내기용 숨김 입력칸 (화면낭독기에도 읽히지 않도록 완전히 숨깁니다) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   3. 하단 고정바
   ========================================================= */
.quick {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  height: var(--quick-h);
  background: var(--brown-900);
  border-top: 1px solid rgba(216,192,140,.25);
  box-shadow: 0 -10px 30px rgba(0,0,0,.18);
  color: var(--white);
}
.quick__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: 0 36px;
}
.quick__left { display: flex; height: 100%; }
.quick__btn {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 0 30px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.1);
  background: none;
  color: var(--white);
  text-align: left;
  transition: background .3s;
}
.quick__btn:first-child { padding-left: 0; }
.quick__btn:hover { background: rgba(255,255,255,.04); }
.quick__btn span { display: flex; flex-direction: column; line-height: 1.25; }
.quick__btn small { font-size: 12px; color: rgba(255,255,255,.6); }
.quick__btn b { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.quick__btn--call b { color: var(--gold-light); }
.quick__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); }
.quick__ico svg { width: 21px; height: 21px; fill: var(--white); }
.quick__ico .ico-tel { width: 21px; height: 21px; }
.quick__btn--kakao .quick__ico { background: #fee500; }
.quick__btn--kakao .quick__ico svg { fill: #3a1d1d; }
.quick__btn--toggle { display: none; }
.quick__btn--toggle .quick__ico { background: var(--brown-600); }
.quick__btn--toggle .quick__ico svg { fill: none; stroke: var(--white); stroke-width: 1.8; }

.quick__form { display: flex; align-items: center; gap: 10px; }
.quick__title {
  margin-right: 8px;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,.15);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.quick__form input[type="text"],
.quick__form input[type="tel"] {
  width: 160px;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  background: rgba(255,255,255,.07);
  color: var(--white);
  font-size: 15px;
}
.quick__form input[type="tel"] { width: 220px; }
.quick__form input::placeholder { color: rgba(255,255,255,.45); }
.quick__form input:focus { outline: none; border-color: var(--gold-light); background: rgba(255,255,255,.12); }
.quick__form .check { margin-left: 6px; white-space: nowrap; }
.quick__form .link-btn { margin-right: 6px; }
.quick__submit {
  height: 50px;
  padding: 0 32px;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .3s;
}
.quick__submit:hover { background: var(--gold-dark); }

/* =========================================================
   모달 · 토스트
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__dim { position: absolute; inset: 0; background: rgba(5,10,20,.72); animation: fade .3s both; }
.modal__box {
  position: relative;
  width: min(760px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: 52px 48px 44px;
  border-radius: 12px;
  background: var(--white);
  animation: pop .4s var(--ease) both;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: #777;
}
.modal__close:hover { color: var(--text); }

.m-lawyer { display: grid; grid-template-columns: 220px 1fr; gap: 36px; }
.m-lawyer__photo { position: relative; aspect-ratio: 11 / 13; overflow: hidden; border-radius: 10px; background: linear-gradient(160deg, #e7e2d8, #cfc7b8); }
.m-lawyer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.m-lawyer h3 { font-size: 30px; font-weight: 700; }
.m-lawyer h3 span { margin-left: 8px; font-size: 16px; font-weight: 500; color: var(--gold-dark); }
.m-lawyer ul { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.m-lawyer li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.95; color: #50545e; }
.m-lawyer li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 1px; background: var(--gold); }

.m-case h3 { margin-top: 18px; font-size: 26px; font-weight: 700; line-height: 1.45; letter-spacing: -0.04em; }
.m-case time { display: block; margin-top: 10px; font-size: 14px; color: #9a9ca3; }
.m-case h4 { margin-top: 30px; font-size: 16px; font-weight: 700; color: var(--gold-dark); }
.m-case p { margin-top: 10px; font-size: 16px; line-height: 1.9; color: #464a54; }
.m-case .m-case__result { padding: 20px 24px; border-left: 3px solid var(--gold); background: var(--ivory); }
.m-case__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: #9a9ca3; }
.m-case__foot a { flex-shrink: 0; white-space: nowrap; font-weight: 700; color: var(--brown-800); text-decoration: underline; text-underline-offset: 3px; }

.m-privacy h3 { font-size: 24px; font-weight: 700; }
.m-privacy table { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 15px; }
.m-privacy th, .m-privacy td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.m-privacy th { width: 130px; background: var(--ivory); font-weight: 700; }
.m-privacy p { margin-top: 18px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.m-privacy a { color: var(--brown-800); font-weight: 700; text-decoration: underline; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--quick-h) + 24px);
  z-index: 300;
  max-width: calc(100% - 40px);
  padding: 16px 26px;
  border-radius: 999px;
  background: rgba(15,20,30,.94);
  color: var(--white);
  font-size: 15px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .35s, transform .35s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 스크롤 등장 효과 */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1360px) {
  .gnb ul { gap: 24px; }
  .gnb a { font-size: 15px; }
  .quick__title { display: none; }
  .quick__form input[type="text"] { width: 130px; }
  .quick__form input[type="tel"] { width: 180px; }
  .quick__btn { padding: 0 22px; }
}

@media (max-width: 1200px) {
  :root { --header-h: 72px; }
  .header__inner { padding: 0 24px; }
  .logo__img { height: 52px; }
  .menu-btn { display: block; }
  .gnb {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 24px calc(var(--quick-h) + 20px);
    overflow-y: auto;
    background: var(--white);
    color: var(--text);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .45s var(--ease), visibility .45s;
  }
  .menu-open .gnb { transform: none; visibility: visible; }
  .gnb ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnb a { padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; }
  .gnb a::after { display: none; }
  .gnb .gnb__cta { margin: 20px 0; padding: 16px; border-radius: 4px; background: var(--gold); color: var(--white); text-align: center; }

  .section { padding: 110px 0; }
  .about__grid { gap: 56px; }
  .slider__track { --per: 3; --gap: 24px; }
  .orbit { grid-template-columns: 1fr 280px 1fr; gap: 36px; }
  .orbit__person { max-width: 260px; }
  .orbit__box::after { width: 36px; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .media__inner { gap: 50px; }
  .inquiry__intro { padding: 110px 50px 110px 24px; }
  .inquiry__form { padding: 100px 24px 100px 50px; }
  .faq__grid { gap: 50px; }
}

@media (max-width: 1024px) {
  :root { --quick-h: 66px; }

  /* 모바일 : 상단 전화 아이콘 숨김 (전화는 하단 고정바에서 연결) */
  .header__tel { display: none; }

  /* 모바일 : 플로팅 버튼 크기·여백 축소 */
  .to-top { right: 16px; bottom: calc(var(--quick-h) + 16px); width: 46px; height: 46px; }
  .to-top::before { width: 11px; height: 11px; }

  /* 하단 고정바 : 모바일형 */
  .quick__inner { padding: 0; }
  .quick__left { width: 100%; }
  .quick__btn,
  .quick__btn:first-child {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 6px;
    text-align: center;
  }
  .quick__btn:last-child { border-right: 0; }
  .quick__btn small { display: none; }
  .quick__btn b { font-size: 13px; font-weight: 500; color: var(--white) !important; }
  .quick__ico { width: 30px; height: 30px; }
  .quick__ico svg { width: 16px; height: 16px; }
  .quick__ico .ico-tel { width: 16px; height: 16px; }
  .quick__btn--toggle { display: flex; }
  .quick__btn--toggle[aria-expanded="true"] { background: rgba(255,255,255,.07); }
  .quick__form {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 10px;
    padding: 22px 20px 20px;
    border-top: 1px solid rgba(216,192,140,.25);
    background: var(--brown-800);
    box-shadow: 0 -12px 30px rgba(0,0,0,.25);
    transform: translateY(12px);
    opacity: 0;
    visibility: hidden;
    transition: .35s var(--ease);
  }
  .quick__form.is-open { transform: none; opacity: 1; visibility: visible; }
  .quick__title { display: block; grid-column: 1 / -1; margin: 0; padding: 0; border: 0; font-size: 17px; }
  .quick__form input[type="text"],
  .quick__form input[type="tel"] { grid-column: 1 / -1; width: 100%; height: 50px; }
  .quick__form .check { margin: 0; }
  .quick__form .link-btn { justify-self: end; margin: 0; }
  .quick__submit { grid-column: 1 / -1; height: 52px; }

  .hero__scroll { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .orbit { grid-template-columns: 1fr 1fr; }
  .orbit__center { grid-column: 1 / -1; grid-row: 1; margin-bottom: 30px; }
  .orbit__box::after { display: none; }
  .card-grid { gap: 18px; }
  .media__inner { grid-template-columns: 1fr; gap: 0; padding: 100px 0 90px; }
  .maTitle { order: -1; padding: 0 24px; }
  .media__rolls {
    grid-template-columns: 1fr;
    height: auto;
    margin-top: 50px;
    gap: 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .media__track { flex-direction: row; width: max-content; gap: 14px; animation-name: rollX; }
  .media__track .mcard { width: 280px; min-height: 170px; }

  .inquiry { background-color: var(--white); }
  .inquiry::before { display: none; }
  .inquiry__inner { grid-template-columns: 1fr; }
  .inquiry__intro {
    padding: 90px 24px 70px;
    background:
      linear-gradient(180deg, rgba(35,26,21,.86), rgba(70,57,48,.92)),
      url("../images/contact.png") center / cover no-repeat;
  }
  .inquiry__intro::before { right: -40px; bottom: 30px; }
  .inquiry__form { padding: 60px 24px 90px; }
  .location__body { grid-template-columns: 1fr; }
  .map { min-height: 380px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .section { padding: 84px 0; }
  .container { padding: 0 20px; }
  .sec-desc { font-size: 16px; margin-top: 14px; }
  .btn { height: 52px; padding: 0 24px; font-size: 16px; }

  .header__left { gap: 14px; }
  .logo__img { height: 48px; }
  .hero__title { margin-top: 18px; line-height: 1.45; }
  .hero__title span { display: block; margin-top: 4px; }
  .hero__sub { margin-top: 18px; padding: 0 10px; }
  .hero__btns { margin-top: 34px; }
  .hero__btns .btn { flex: 1 1 140px; max-width: 220px; }

  .practice li { padding: 22px 18px; }
  .practice strong { font-size: 18px; }
  .practice span { font-size: 13px; }
  .hours-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .hours-card__tel { font-size: 26px; }

  .slider { margin-top: 44px; }
  .slider__track { --per: 1.55; --gap: 16px; margin-right: -20px; padding-right: 20px; scroll-padding-left: 0; }
  .lawyer__info { padding: 18px 48px 0 0; }
  .lawyer__name { font-size: 21px; }
  .lawyer__name span { font-size: 13px; }
  .lawyer__career li { font-size: 13px; }
  .lawyer__more { top: 16px; width: 36px; height: 36px; font-size: 19px; }
  .slider__ctrl { margin-top: 34px; }
  .slider__arrow { width: 42px; height: 42px; }

  .step-nav { top: calc(var(--header-h) + 10px); margin-top: 34px; }
  .step-nav a { padding: 9px 16px; font-size: 13px; }
  .step { padding-top: 80px; }
  .step__head p { font-size: 15px; }
  .route { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .route__card { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; padding: 28px 22px; }
  .route__icon { grid-row: span 2; width: 56px; height: 56px; }
  .route__icon svg { width: 28px; height: 28px; }
  .route__card h4 { margin: 4px 0 0; font-size: 20px; }
  .route__card p { font-size: 14.5px; }
  .orbit { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .orbit__col { gap: 14px; }
  .orbit__box { padding: 24px 22px; }
  .orbit__person { max-width: 250px; border-radius: 14px; }
  .orbit__center { margin: 30px 0 40px; }
  .proof { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
  .proof__card { min-height: 250px; padding: 20px 18px 18px; }
  .proof__tag { padding: 5px 10px; font-size: 11px; }
  .proof__desc { font-size: 14px; margin-top: 12px; }
  .proof__card::after { margin-top: 16px; padding-top: 12px; font-size: 12px; }

  .tabs {
    flex-wrap: nowrap;
    width: auto;
    margin: 30px -20px 0;
    padding: 0 20px;
    overflow-x: auto;
    border-radius: 0;
    background: none !important;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { padding: 10px 18px; border: 1px solid var(--line); background: var(--white); font-size: 14px; }
  .tabs button.is-active { border-color: var(--brown-800); }

  /* 모바일 : 2열 × 4행 */
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
  .case { min-height: 250px; padding: 18px 14px 14px; border-radius: 10px; }
  .tag { padding: 3px 8px; font-size: 10.5px; }
  .case .tags .tag:not(.tag--res):nth-child(n+2) { display: none; }
  .case__title { margin-top: 14px; font-size: 15px; line-height: 1.45; }
  .case__text { margin-top: 8px; font-size: 12.5px; line-height: 1.6; -webkit-line-clamp: 3; }
  .case__foot { padding-top: 12px; font-size: 11px; }
  .case__foot b { display: none; }
  .review .case__title { margin-top: 0; }
  .review__quote { height: 16px; margin-bottom: 10px; font-size: 32px; }
  .sample-badge { top: 12px; right: 12px; padding: 2px 6px; font-size: 9px; }

  .media__inner { padding: 84px 0 76px; }
  .maTitle { padding: 0 20px; }
  .media__desc { font-size: 15px; }
  .media__list { margin-top: 28px; }
  .media__list li { padding: 8px 14px; font-size: 13px; }
  .media__track .mcard { width: 240px; min-height: 160px; padding: 22px 20px 20px; }
  .mcard__title { font-size: 16px; }

  .inquiry__intro { padding: 80px 20px 60px; }
  .inquiry__contact { margin-top: 40px; }
  .inquiry__contact dd a { font-size: 20px; }
  .inquiry__form { padding: 50px 20px 80px; }
  .form-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .field input, .field select { height: 52px; font-size: 15px; }
  .agree .check { font-size: 14px; }

  .location__head { flex-direction: column; align-items: flex-start; }
  .map { min-height: 300px; }
  .office { padding: 32px 22px; }
  .office h3 { font-size: 22px; }

  .faq__intro p:not(.eyebrow) { margin: 16px 0 24px; font-size: 15px; }
  .acc__q { gap: 12px; padding: 22px 40px 22px 0; font-size: 16px; }
  .acc__q b { font-size: 17px; }
  .acc__q::after { right: 6px; top: 28px; width: 9px; height: 9px; }
  .acc__a p { padding: 20px 18px 20px 48px; font-size: 14.5px; }
  .acc__a p::before { left: 18px; top: 18px; font-size: 17px; }

  .footer { padding-top: 60px; font-size: 13px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__call { align-items: flex-start; font-size: 26px; }
  .footer__info dl { flex-direction: column; gap: 8px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .modal { padding: 12px; }
  .modal__box { padding: 44px 22px 30px; max-height: 88vh; }
  .m-lawyer { grid-template-columns: 1fr; gap: 20px; }
  .m-lawyer__photo { width: 150px; }
  .m-lawyer h3 { font-size: 24px; }
  .m-case h3 { font-size: 21px; }
  .m-case p { font-size: 15px; }
  .m-privacy th { width: 90px; }
}

@media (max-width: 480px) {
  .hero__eyebrow { font-size: 11px; letter-spacing: .35em; }
  .hero__btns { flex-direction: column; align-items: center; }
  .hero__btns .btn { width: 100%; max-width: 280px; flex: none; }
  .practice { grid-template-columns: 1fr 1fr; }
  .slider__track { --per: 1.3; }
  .proof__card strong { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .media__track, .orbit__person::before, .hero__scroll i::after { animation: none; }
}
