@charset "UTF-8";

/* ============================================================
   law-min v2 — mobile-first lawyer site
   디자인 시스템: 디센트 법률사무소 (decentlaw.io) 참고
   색상·간격·섹션 리듬 토큰 차용, HTML/CSS는 본 사이트용 신규 작성
============================================================ */

/* ---------- Tokens — 금색 컨셉 (charcoal × gold × ivory) ---------- */
:root {
  /* primary palette */
  --ink: #1A1A1A;          /* 짙은 차콜 — 다크 영역, 푸터, 다크 카드 */
  --ink-2: #2D2D2D;        /* 살짝 밝은 차콜 — 호버 */
  --gold: #B8935A;         /* 메인 금색 — CTA, 액센트 */
  --gold-deep: #8E6E3D;    /* 진한 금색 — 텍스트 강조, 보더 */
  --gold-soft: #E8DDC5;    /* 연한 금색 — 보조 배경 */
  --bg-ivory: #FAF6EE;     /* 아이보리 — 섹션 교차 배경 */

  /* neutral */
  --black: #000;
  --white: #fff;
  --white2: #F4F4F4;
  --darkGray: #2D2D2D;
  --darkGray2: #555;
  --lightGray: #8C8C8C;

  /* legacy alias — 기존 CSS 자동 매핑 */
  --indigo: var(--gold-deep);     /* 텍스트 강조 */
  --indigo2: var(--ink-2);
  --darkBlue: var(--gold);
  --blue: var(--gold);
  --white3: var(--bg-ivory);
  --lightGray2: #E8E0D0;
  --red: #F10909;

  /* layout */
  --header-h: 60px;
  --gutter: 20px;
  --max-w: 1180px;

  /* fonts */
  --ff-kr: "Pretendard","Noto Sans KR","Apple SD Gothic Neo",sans-serif;
  --ff-en: "Montserrat","Inter",sans-serif;

  /* viewport unit (--vh set via JS for mobile address-bar) */
  --vh100: calc(var(--vh, 1vh) * 100);
}

@media (min-width: 769px) {
  :root { --header-h: 80px; --gutter: 40px; }
}
@media (min-width: 1280px) {
  :root { --gutter: clamp(40px, 6vw, 120px); }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-kr);
  font-size: 16px;
  line-height: 1.6;
  color: var(--darkGray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.3; word-break: keep-all; }
p { margin: 0; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(60px, 9vw, 120px) 0;
}
.section--alt {
  background: var(--white3);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section__title {
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.02em;
}
.section__title em {
  font-style: normal;
  color: var(--indigo);
}
.section__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--darkGray2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section__more::after {
  content: "→";
  font-family: var(--ff-en);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--lightGray2);
  z-index: 100;
  transition: background .2s, border-color .2s;
}
/* header is always solid (단순화 — transparent 모드 제거) */
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--indigo);
}
.header__logo span { color: var(--gold); }
.header__nav { display: none; }
.header__cta { display: none; }
.header__hamburger {
  width: 32px; height: 32px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  align-items: center;
}
.header__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--indigo);
}

/* header util — 콜/검색/CTA/햄버거 */
.header__util {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header__icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  font-size: 17px;
  transition: background .2s;
}
.header__icon-btn:hover {
  background: var(--bg-ivory);
  color: var(--gold-deep);
}

@media (min-width: 880px) {
  .header__nav { display: block; }
  .header__nav > ul {
    display: flex; gap: clamp(20px, 3vw, 40px);
  }
  .header__nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--darkGray);
    padding: 8px 0;
    position: relative;
  }
  .header__nav a:hover { color: var(--indigo); }
  .header__cta {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 20px;
    background: var(--gold);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
  }
  .header__hamburger { display: none; }
}
@media (max-width: 879px) {
  .header__cta { display: none; }
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity .25s;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--ink);
  color: var(--white);
  padding: 24px 24px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 20px;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.drawer__close { width: 32px; height: 32px; color: var(--white); font-size: 22px; }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.drawer__nav > li > a {
  display: block;
  padding: 14px 0;
  font-size: 18px; font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.drawer__nav > li > ul { padding: 8px 0 8px 12px; }
.drawer__nav > li > ul a {
  display: block;
  padding: 8px 0;
  font-size: 14px; color: rgba(255,255,255,.7);
}
.drawer__contact { margin-top: auto; padding-top: 20px; }
.drawer__contact a {
  display: block;
  padding: 14px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700; text-align: center; border-radius: 4px;
}

/* ---------- Hero (visual) — full viewport, 헤더 아래로 첫 콘텐츠 자리 확보 ---------- */
.hero {
  position: relative;
  height: var(--vh100);
  min-height: 560px;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,40,.65) 0%, rgba(10,20,40,.85) 100%);
  z-index: 1;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../images/lawyer-poster-1.png") center/cover no-repeat;
  filter: grayscale(.2) brightness(.55);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__kicker {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(30px, 7vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero__title strong { color: var(--gold); }
.hero__lead {
  font-size: clamp(14px, 2.2vw, 18px);
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: transform .15s, background .15s;
}
.btn--primary { background: var(--gold); color: var(--white); }
.btn--primary:hover { background: #c8a06a; }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Cards (practices) ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .practice-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.practice-card {
  display: block;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--lightGray2);
  border-radius: 6px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(18,40,76,.12);
  border-color: var(--indigo);
}
.practice-card__num {
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.practice-card__title {
  font-size: 22px;
  margin: 12px 0 14px;
  color: var(--indigo);
}
.practice-card__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 18px;
}
.practice-card__tags span {
  font-size: 12px;
  color: var(--darkGray2);
}
.practice-card__arrow {
  font-family: var(--ff-en);
  color: var(--indigo);
  font-size: 18px;
}

/* ---------- Lawyer (about) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
}
.about__photo {
  position: relative;
  background: linear-gradient(180deg, #3a3a3a 0%, #1A1A1A 100%);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.about__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em;
}
.about__title {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.about__title small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.about__lead {
  font-size: 16px;
  color: var(--darkGray2);
  margin-bottom: 28px;
  line-height: 1.8;
}
.about__meta {
  display: flex; flex-direction: column; gap: 14px;
  border-top: 1px solid var(--lightGray2);
  padding-top: 24px;
}
.about__meta-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  font-size: 14px;
}
.about__meta-label {
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--indigo);
}
.about__meta-value {
  color: var(--darkGray2);
  line-height: 1.7;
}

/* ---------- Search section ---------- */
.search-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.search-block__title {
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 8px;
}
.search-block__title em { color: var(--indigo); font-style: normal; }
.search-block__sub {
  font-size: 15px;
  color: var(--darkGray2);
  margin-bottom: 28px;
}
.search-form {
  position: relative;
  margin-bottom: 20px;
}
.search-form input {
  width: 100%;
  height: 56px;
  padding: 0 60px 0 20px;
  border: 2px solid var(--indigo);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}
.search-form input:focus { outline: none; border-color: var(--gold); }
.search-form button {
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 4px;
  font-size: 18px;
}
.search-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.search-tags button {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--lightGray2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--darkGray2);
}
.search-tags button:hover { background: var(--indigo); color: var(--white); border-color: var(--indigo); }

/* ---------- Legal info (news cards — indigo, 디센트 패턴) ---------- */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .legal-grid { grid-template-columns: repeat(4, 1fr); }
}
.legal-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  padding: 28px 24px;
  display: flex; flex-direction: column;
  min-height: 260px;
  transition: transform .2s, background .2s;
  position: relative;
}
.legal-card:hover { background: var(--ink-2); transform: translateY(-3px); }
.legal-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.legal-card__title {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.legal-card__excerpt {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  line-height: 1.6;
}
.legal-card__more {
  margin-top: auto;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Win/Success cases (indigo cards) ---------- */
.win-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .win-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .win-grid { grid-template-columns: repeat(3, 1fr); }
}
.win-card {
  background: var(--white);
  border: 1px solid var(--lightGray2);
  border-radius: 6px;
  padding: 24px;
  position: relative;
}
.win-card__status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.win-card__status--done { background: var(--ink); color: var(--white); }
.win-card__status--going { background: var(--gold); color: var(--white); }
.win-card__title {
  font-size: 16px;
  color: var(--indigo);
  margin-bottom: 10px;
  line-height: 1.45;
}
.win-card__excerpt {
  font-size: 13px;
  color: var(--darkGray2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Floating contact bar (mobile, 3-icon 디센트 패턴) ---------- */
.float-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--lightGray2);
  box-shadow: 0 -4px 12px rgba(0,0,0,.08);
}
.float-bar a {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  height: 60px;
  font-size: 11px;
  font-weight: 700;
  color: var(--darkGray);
}
.float-bar a:first-child  { background: #FEE500; color: #3B1E1E; }
.float-bar a:nth-child(2) { background: var(--white); color: var(--ink); border-left: 1px solid var(--lightGray2); border-right: 1px solid var(--lightGray2); }
.float-bar a:last-child   { background: var(--ink); color: var(--white); }
.float-bar .ico {
  font-size: 20px;
  line-height: 1;
}
@media (min-width: 880px) { .float-bar { display: none; } }
@media (max-width: 879px) { body { padding-bottom: 60px; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
  font-size: 13px;
}
.footer__brand {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.footer__brand span { color: var(--gold); }
.footer__info { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; line-height: 1.7; }
.footer__info strong { color: var(--white); font-weight: 700; }
.footer__links {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
}
.footer__links a:hover { color: var(--white); }
.footer__copyright {
  margin-top: 20px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-family: var(--ff-en);
  letter-spacing: 0.05em;
}

/* ---------- Sub-page hero ---------- */
.subhero {
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--header-h) + 60px) 0 60px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.subhero__kicker {
  display: block;
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}
.subhero__title {
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: -0.02em;
}
.subhero__lead {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 60px; }
}
.contact-card {
  background: var(--white3);
  padding: 28px;
  border-radius: 6px;
}
.contact-card h3 {
  font-size: 20px;
  color: var(--indigo);
  margin-bottom: 16px;
}
.contact-card ul { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.contact-card ul li strong { color: var(--indigo); display: inline-block; min-width: 70px; }
.field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lightGray2);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  color: var(--darkGray);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--indigo);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Quote (인사말 따옴표) ---------- */
.quote {
  background: var(--bg-ivory);
  border-left: 4px solid var(--gold);
  padding: 28px 24px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--darkGray);
  border-radius: 0 6px 6px 0;
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -10px; left: 16px;
  font-family: var(--ff-en);
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
}
.quote__author {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--lightGray2);
  border: 1px solid var(--lightGray2);
  border-radius: 6px;
  overflow: hidden;
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stats__item {
  background: var(--white);
  padding: 24px 16px;
  text-align: center;
}
.stats__num {
  font-family: var(--ff-en);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--gold-deep);
  line-height: 1;
}
.stats__num small {
  font-size: 14px;
  margin-left: 2px;
  color: var(--darkGray2);
}
.stats__label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--darkGray2);
  letter-spacing: 0.04em;
}

/* ---------- Timeline (학력/경력) ---------- */
.timeline {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-left: 8px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.timeline__row {
  position: relative;
  font-size: 14px;
}
.timeline__row::before {
  content: "";
  position: absolute;
  left: -27px; top: 6px;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline__year {
  display: block;
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.timeline__text {
  color: var(--darkGray);
  line-height: 1.6;
}

/* ---------- FAQ (accordion) ---------- */
.faq {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--lightGray2);
}
.faq details {
  border-bottom: 1px solid var(--lightGray2);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  display: flex; gap: 12px; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  font-family: var(--ff-en);
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 16px;
  font-size: 24px;
  color: var(--gold);
  font-weight: 300;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq__answer {
  padding: 0 0 20px 30px;
  font-size: 14px;
  color: var(--darkGray2);
  line-height: 1.75;
}

/* ---------- Step list (절차) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: var(--white);
  border: 1px solid var(--lightGray2);
  border-radius: 6px;
  padding: 24px 20px;
  position: relative;
}
.step__num {
  font-family: var(--ff-en);
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.step__title {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.step__text {
  font-size: 13px;
  color: var(--darkGray2);
  line-height: 1.7;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.cta-banner h3 {
  font-size: clamp(20px, 3.5vw, 28px);
  margin-bottom: 8px;
}
.cta-banner p {
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  font-size: 14px;
}
.cta-banner .btn { margin: 0 4px; }

/* ---------- Map placeholder ---------- */
.map-box {
  background: var(--bg-ivory);
  border: 1px solid var(--lightGray2);
  border-radius: 6px;
  padding: 24px;
}
.map-box__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.map-box__head span {
  display: inline-flex;
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 18px;
}
.map-box__title { font-size: 17px; color: var(--ink); }
.map-box__address {
  font-size: 14px; color: var(--darkGray2);
  margin-bottom: 8px; line-height: 1.7;
}
.map-box__sub {
  font-size: 13px; color: var(--gold-deep);
  font-weight: 600;
}

/* ---------- Hero video (background) ---------- */
.hero__video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(.15) brightness(.5);
  background: var(--ink);
}

/* ---------- Interaction: hero slider ---------- */
.hero__slides {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  filter: grayscale(.2) brightness(.55);
}
.hero__slide.is-active { opacity: 1; }
.hero__dots {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; gap: 8px;
}
.hero__dot {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .2s, transform .2s, width .3s;
}
.hero__dot.is-active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}
.hero__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  color: var(--white);
  display: none;
  align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
  border: 1px solid rgba(255,255,255,.2);
}
.hero__nav:hover { background: rgba(184,147,90,.6); }
.hero__nav--prev { left: 24px; }
.hero__nav--next { right: 24px; }
@media (min-width: 880px) {
  .hero__nav { display: flex; }
}

/* ---------- Interaction: reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Interaction: header scrolled ---------- */
.header { transition: box-shadow .2s, height .2s; }
.header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

/* ---------- Interaction: go-top button ---------- */
.go-top {
  position: fixed;
  right: 16px;
  bottom: 76px;
  z-index: 80;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s, background .2s;
  cursor: pointer;
}
.go-top:hover { background: var(--gold-deep); }
.go-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
@media (min-width: 880px) {
  .go-top { right: 28px; bottom: 28px; }
}

/* ---------- Interaction: drawer submenu accordion ---------- */
.drawer__nav > li > ul {
  max-height: 0;
  overflow: hidden;
  padding: 0 0 0 12px;
  transition: max-height .35s ease, padding .35s ease;
}
.drawer__nav > li.is-open > ul {
  max-height: 600px;
  padding: 4px 0 12px 12px;
}
.drawer__nav > li.has-child > a {
  position: relative;
  padding-right: 32px;
}
.drawer__nav > li.has-child > a::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  transition: transform .3s;
}
.drawer__nav > li.has-child.is-open > a::after {
  content: "−";
}

/* ---------- Interaction: typing cursor ---------- */
[data-typing]::after {
  content: "|";
  display: inline-block;
  margin-left: 3px;
  color: var(--gold);
  animation: blinking 1s steps(2, start) infinite;
}
[data-typing].is-done::after { display: none; }
@keyframes blinking {
  to { visibility: hidden; }
}

/* ---------- Interaction: search clear ---------- */
.search-form { position: relative; }
.search-form .clear {
  position: absolute;
  right: 64px;
  top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--lightGray2);
  color: var(--ink);
  display: none;
  align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.search-form.has-input .clear { display: flex; }

/* ---------- Interaction: ripple ---------- */
.btn, .practice-card, .legal-card, .win-card, .step {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transform: scale(0);
  animation: ripple-out .6s ease-out;
  pointer-events: none;
}
.practice-card .ripple,
.win-card .ripple,
.step .ripple {
  background: rgba(184,147,90,.25);
}
@keyframes ripple-out {
  to { transform: scale(4); opacity: 0; }
}

/* ---------- Interaction: lock body when drawer open ---------- */
body.is-locked {
  overflow: hidden;
  touch-action: none;
}

/* ---------- Interaction: focus visible (a11y) ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Modal (generic + search 변형) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 10, 10, .72);
}
.modal__panel {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  width: min(92vw, 560px);
  max-height: 80vh;
  overflow: auto;
  padding: 32px 24px 28px;
  transform: translateY(20px) scale(.97);
  transition: transform .3s ease;
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  font-size: 20px;
  color: var(--darkGray2);
  border-radius: 50%;
}
.modal__close:hover { background: var(--bg-ivory); color: var(--ink); }
.modal__title {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.modal__panel--search {
  border-top: 3px solid var(--gold);
}
.modal__search-form { margin-bottom: 16px; }

/* ---------- Insight filters / article ---------- */
.insight-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.insight-filter {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--lightGray2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--darkGray2);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.insight-filter span { color: var(--lightGray); font-weight: 500; margin-left: 4px; }
.insight-filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.insight-filter.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.insight-filter.is-active span { color: var(--gold); }

.insight-article {
  font-size: 15px;
  line-height: 1.85;
  color: var(--darkGray);
}
.insight-article h2 {
  font-size: 20px;
  color: var(--ink);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.insight-article h3 {
  font-size: 17px;
  color: var(--gold-deep);
  margin: 28px 0 10px;
}
.insight-article p { margin: 0 0 18px; }
.insight-article ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.insight-article ul li { margin-bottom: 6px; }
.insight-article blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--bg-ivory);
  border-left: 4px solid var(--gold);
  color: var(--darkGray2);
  font-size: 14px;
}
.insight-footer {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--lightGray2);
}
@media (max-width: 720px) {
  .insight-footer .btn { flex: 1; min-width: 0; padding: 0 16px; font-size: 14px; }
}

/* ---------- Search results ---------- */
.search-results {
  display: flex; flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0; padding: 0;
}
.search-result a {
  display: block;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--lightGray2);
  border-radius: 6px;
  transition: border-color .2s, transform .2s;
}
.search-result a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.search-result__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: var(--bg-ivory);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.search-result__title {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}
.search-result__snippet {
  font-size: 13px;
  color: var(--darkGray2);
  line-height: 1.7;
}
.search-result mark {
  background: var(--gold-soft);
  color: var(--gold-deep);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}
.search-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-ivory);
  border-radius: 6px;
  color: var(--darkGray2);
}

/* ---------- Header hide on scroll-down (디센트 패턴) ---------- */
body.scroll-down .header { transform: translateY(-100%); }
body.scroll-up .header { transform: translateY(0); }
.header { transition: transform .35s ease, box-shadow .2s; will-change: transform; }

/* ---------- Body lock when modal/drawer open ---------- */
body.modal-opened { overflow: hidden; }

/* ---------- Utilities ---------- */
.only-mobile { display: block; }
.only-desktop { display: none; }
@media (min-width: 880px) {
  .only-mobile { display: none; }
  .only-desktop { display: block; }
}
.skip-link {
  position: absolute; left: -9999px;
}
.skip-link:focus { left: 8px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 999; }
