/* =========================================================
   지호세무법인 평택지점 — Navy & Champagne v2 (2026-10)
   새 법인 로고(네이비 #192548 · 별 골드 #F0BF7B→#78502E)에 맞춘 회사 홈페이지형.
   흰 헤더 · Pretendard 제목(로고 서체와 같은 고딕 계열) · 전화 예약 → 방문 상담 흐름.
   Light only. No dark-mode media queries.
   ========================================================= */

:root {
  --navy: #192548;
  --navy-2: #22325f;
  --navy-3: #111a36;
  --navy-4: #0b1229;
  --gold: #f0bf7b;      /* 네이비 위 강조 (8.9:1) */
  --gold-2: #78502e;    /* 밝은 바탕 위 골드 글자 (흰색 7.0:1 · 아이보리 6.4:1) */
  --ivory: #f6f3ec;
  --sand: #ece6da;
  --paper: #ffffff;
  --ink: #1b1f2a;
  --ink-2: #3a3f50;
  --muted: #5b6374;
  --line: rgba(25, 37, 72, 0.11);
  --line-strong: rgba(25, 37, 72, 0.22);
  --on-navy: #f4f1ea;
  --on-navy-muted: #cad0dc;
  --line-on-navy: rgba(244, 241, 234, 0.16);

  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;

  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 112px);
  --nav-h: 84px;
  --nav-h-solid: 70px;
  --mbar-h: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
  --shadow-soft: 0 24px 60px -28px rgba(17, 26, 54, 0.34), 0 8px 22px -14px rgba(17, 26, 54, 0.2);
  --shadow-float: 0 30px 70px -30px rgba(17, 26, 54, 0.45), 0 10px 26px -16px rgba(17, 26, 54, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h-solid);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--mbar-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, dl, dd, figure { margin: 0; }
strong { font-weight: 600; }
a[href^="mailto:"] { word-break: break-all; }
a[href^="tel:"] { white-space: nowrap; }

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

.shell {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--radius);
  font-size: 14px;
}
.skip:focus { top: 12px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}
.eyebrow--light { color: var(--gold); }

.title {
  margin-top: 16px;
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.36;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}
.title--light { color: var(--on-navy); }

.lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 46ch;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section__head .lead { margin-bottom: 4px; }
.section__head--tight { margin-bottom: clamp(28px, 4vw, 44px); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn__num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}
/* 전화 버튼: 짧은 라벨 한 줄 + 번호 한 줄 */
.btn--call { gap: 12px; padding: 10px 26px 10px 22px; text-align: left; }
.btn--call svg { width: 20px; height: 20px; }
.btn__stack { display: flex; flex-direction: column; line-height: 1.2; }
.btn__label { font-size: 13px; font-weight: 600; opacity: 0.78; }
.btn--call .btn__num { margin-left: 0; font-size: 19px; font-weight: 800; letter-spacing: 0.01em; }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 64px; padding: 0 32px; font-size: 18px; }
.btn--call.btn--lg { padding: 12px 34px 12px 26px; }
.btn--call.btn--lg .btn__label { font-size: 14px; }
.btn--call.btn--lg .btn__num { font-size: 22px; }
.btn--block { width: 100%; }

.btn--light {
  background: var(--paper);
  color: var(--navy);
}
.btn--light:hover { box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.55); }

.btn--ghost-light {
  color: var(--on-navy);
  border-color: rgba(244, 241, 234, 0.5);
}
.btn--ghost-light:hover { border-color: var(--on-navy); background: rgba(244, 241, 234, 0.08); }

.btn--navy {
  background: var(--navy);
  color: var(--on-navy);
}
.btn--navy:hover { background: var(--navy-2); box-shadow: var(--shadow-soft); }

.btn--ghost {
  color: var(--navy);
  border-color: var(--line-strong);
  background: var(--paper);
}
.btn--ghost:hover { border-color: var(--navy); }

/* 텍스트 링크: 터치 영역 44px, 밑줄은 글자에 붙여 그린다 */
.link-arrow {
  display: inline-block;
  padding-block: 12px;
  line-height: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.3s, color 0.3s;
}
/* 화살표는 원자 인라인으로 만들어 밑줄에서 뺀다 */
.link-arrow > span { display: inline-block; margin-left: 6px; }
.link-arrow:hover { text-decoration-color: var(--navy); }
.link-arrow--light { color: var(--on-navy); text-decoration-color: rgba(244, 241, 234, 0.4); }
.link-arrow--light:hover { text-decoration-color: var(--gold); color: var(--gold); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--ivory { background: var(--ivory); }

/* =========================================================
   NAV — 흰 헤더, 스크롤하면 낮아지고 그림자 · 현재 섹션 밑줄
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--paper);
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: height 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.nav.is-solid {
  height: var(--nav-h-solid);
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(20, 30, 55, 0.08);
}

.nav__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  flex: none;
}
.nav__logo {
  width: auto;
  height: 46px;
  transition: height 0.35s var(--ease);
}
.nav.is-solid .nav__logo { height: 40px; }
.nav__branch {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--navy);
}

.nav__menu {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
}
.nav__link {
  position: relative;
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link.is-active { color: var(--navy); font-weight: 700; }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--on-navy);
  font-weight: 600;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background-color 0.3s;
}
.nav__cta svg { width: 17px; height: 17px; flex: none; color: var(--gold); }
.nav__cta:hover { background: var(--navy-2); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s, top 0.3s;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav__drawer { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 76svh, 720px);
  padding-top: var(--nav-h);
  color: var(--on-navy);
  background: var(--navy-3);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 26, 54, 0.95) 0%, rgba(17, 26, 54, 0.88) 42%, rgba(17, 26, 54, 0.5) 74%, rgba(17, 26, 54, 0.6) 100%);
}
.hero__inner {
  padding: clamp(56px, 7vw, 96px) 0;
}
.hero__title {
  max-width: 17ch;
  font-weight: 700;
  font-size: clamp(32px, 3.9vw, 56px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--gold);
}
.hero__kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.hero__sub {
  margin-top: 22px;
  max-width: 44ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.75;
  color: var(--on-navy-muted);
}
.hero__sub strong { color: var(--on-navy); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__actions .btn { min-height: 64px; }

/* =========================================================
   ABOUT — 사무소 소개
   ========================================================= */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 32px clamp(40px, 7vw, 112px);
  align-items: end;
}
.intro__head .lead { margin-top: 20px; }
.intro__points {
  border-top: 2px solid var(--navy);
}
.intro__point {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
}
.intro__k {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.45;
}
.intro__d {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  text-align: right;
}

/* =========================================================
   CEO — 대표 세무사 인사말
   ========================================================= */
.ceo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "figure head"
    "figure body";
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 96px);
}
.ceo__head { grid-area: head; align-self: end; }
.ceo__figure { grid-area: figure; max-width: 440px; }
.ceo__body { grid-area: body; padding-top: 28px; }

.ceo__panel {
  position: relative;
  aspect-ratio: 43 / 50;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
}
.ceo__photo {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 82%;
  max-width: none;
  transform: translateX(-50%);
}
.ceo__caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.ceo__caption img { width: 56px; height: 56px; flex: none; }
.ceo__caption-v { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.4; }

.ceo__lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.7;
  color: var(--navy);
}
.ceo__copy {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 44ch;
}
.ceo__sign {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  max-width: 520px;
}
.ceo__sign-role { font-size: 15px; color: var(--muted); }
.ceo__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.12em;
  color: var(--navy);
  line-height: 1.3;
}
.ceo__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 30px;
}

/* =========================================================
   SERVICES — 핵심 분야 1 + 목록 3 (비대칭)
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 22px;
  align-items: stretch;
}
.services__list {
  display: grid;
  gap: 22px;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.service__media {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.service__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1s var(--ease);
}
.service:hover .service__media img { transform: scale(1.04); }
.service--lead .service__media { aspect-ratio: 16 / 10; }
.service__tag {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold);
  border-radius: 4px;
}
.service__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 30px;
}
.service__num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.service__title {
  margin-top: 4px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--navy);
}
.service__desc {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.service__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 22px;
}
.service--lead .service__items {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.service__items li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  color: var(--ink-2);
}
.service__items li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 7px; height: 2px;
  background: var(--gold-2);
}
.service--row { flex-direction: row; }
.service--row .service__media { flex: 0 0 30%; }
.service--row .service__body { padding: 22px 26px 24px; }
.service--row .service__title { font-size: 20px; }
.service--row .service__desc { font-size: 15.5px; }
.service__items--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  padding-top: 12px;
}
.service__items--inline li {
  padding-left: 13px;
  font-size: 14.5px;
  color: var(--muted);
  white-space: nowrap;
}
.service__items--inline li::before { width: 6px; top: 0.82em; }

/* =========================================================
   PROCESS — 네이비 띠 + 떠 있는 단계 카드
   ========================================================= */
.process {
  padding-bottom: clamp(72px, 7vw, 96px);
  background: var(--paper);
}
.process__band {
  padding: var(--section-y) 0 calc(clamp(96px, 10vw, 136px));
  background: var(--navy);
  color: var(--on-navy);
}
.process__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
}
.process__call {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 26px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-on-navy);
  transition: background-color 0.3s;
}
.process__call:hover { background: rgba(255, 255, 255, 0.11); }
.process__call-k { font-size: 14px; font-weight: 700; color: var(--gold); }
.process__call-v {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.process__call-d { font-size: 14px; color: var(--on-navy-muted); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: calc(clamp(96px, 10vw, 136px) * -1 + 28px);
  background: var(--paper);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 10px 28px -6px rgba(20, 30, 55, 0.12), 0 2px 6px rgba(20, 30, 55, 0.05);
}
.step {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 34px;
}
.step + .step { box-shadow: inset 1px 0 0 var(--line); }
.step__no {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.step__title {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--navy);
}
.step__desc {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.step__desc strong { color: var(--navy); font-weight: 700; }
.step .link-arrow { margin-top: 2px; align-self: flex-start; font-size: 14.5px; }
.step--key { background: var(--ivory); }
.step--key .step__no { color: var(--navy); }

/* =========================================================
   CREDENTIALS
   ========================================================= */
.creds { padding-top: 0; overflow: hidden; }
.creds__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}
.creds__head { position: relative; z-index: 1; }
.creds__groups { position: relative; z-index: 1; }
/* 워터마크: 왼쪽 빈 칸 아래쪽, 화면 가장자리에서 잘리게 */
.creds__wm {
  position: absolute;
  left: -150px;
  bottom: -90px;
  width: 500px;
  aspect-ratio: 1;
  background: url("../brand/alumni-emblem-mono-navy.svg") no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}
.creds__shield {
  display: inline-block;
  width: 22px;
  height: 28px;
  margin-left: 10px;
  vertical-align: -8px;
}
.creds__group + .creds__group { margin-top: 36px; }
.creds__group-title {
  padding-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
}
.creds__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.6;
}
.creds__year {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-2);
  padding-top: 1px;
  font-variant-numeric: tabular-nums;
}
.creds__text { color: var(--ink); }
.creds__text .tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: var(--sand);
  border-radius: 4px;
  vertical-align: 1px;
}

/* =========================================================
   LOCATION — 지도 위 방문 안내 카드
   ========================================================= */
.loc {
  position: relative;
  min-height: 560px;
}
.loc__map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.loc__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.8);
}
.loc__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin: 32px 32px 32px auto;
  padding: 30px 30px 28px;
  background: var(--paper);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-float);
}
.loc__addr {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--navy);
}
.loc__list { margin-top: 18px; }
.loc__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.loc__row dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-2);
  padding-top: 1px;
}
.loc__row dd {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.loc__row dd strong { color: var(--navy); }
.loc__row dd a:hover { color: var(--gold-2); }
.loc__sub { font-size: 14px; color: var(--muted); }
.loc__mail { font-size: 14.5px; }
.loc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.loc__actions .btn { flex: 1 1 auto; }
.loc__noscript { padding: 16px 0; color: var(--muted); font-size: 15px; }

.prep {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  margin-top: 22px;
  padding: 20px 26px;
  background: var(--paper);
  border-radius: var(--radius);
}
.prep__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.prep__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  font-size: 15.5px;
  color: var(--ink-2);
}
.prep__list { gap: 2px 18px; }
.prep__list li { position: relative; padding-left: 13px; white-space: nowrap; }
.prep__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.82em;
  width: 6px; height: 2px;
  background: var(--gold-2);
}
.prep__note {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta {
  position: relative;
  padding: clamp(60px, 7vw, 96px) 0;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}
/* 워터마크: JH 심볼 단색, 오른쪽 아래 가장자리에서 잘리게 */
.cta__wm {
  position: absolute;
  right: -70px;
  bottom: -120px;
  z-index: -1;
  width: 600px;
  aspect-ratio: 78.84 / 55.8;
  background: url("../brand/jh-mark-mono-white.svg") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 64px;
  align-items: center;
}
.cta__title {
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.42;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.cta__sub {
  margin-top: 12px;
  color: var(--on-navy-muted);
  font-size: 17px;
}
.cta__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta__phone-d { font-size: 14.5px; color: var(--on-navy-muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy-4);
  color: var(--on-navy-muted);
  padding: 56px 0 28px;
  font-size: 15px;
}
.footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line-on-navy);
}
.footer__logos {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__logo { width: auto; height: 48px; }
.footer__branch {
  padding-left: 16px;
  border-left: 1px solid var(--line-on-navy);
  font-size: 17px;
  font-weight: 700;
  color: var(--on-navy);
}
.footer__alumni {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.footer__alumni img {
  width: 36px; height: 46px;
  flex: none;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 32px 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-on-navy);
}
.footer__info p { line-height: 1.75; }
.footer__info p + p { margin-top: 4px; }
.footer__info strong { color: var(--on-navy); font-size: 16px; }
.footer__desc { margin-top: 14px !important; max-width: 64ch; font-size: 14px; line-height: 1.7 !important; color: #c5cbd8; }
.footer a:hover { color: var(--gold); }
.footer h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer li + li { margin-top: 6px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 32px;
  padding-top: 16px;
  font-size: 13px;
  color: rgba(202, 208, 220, 0.86);
}
.footer__bar-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  line-height: 1.7;
}
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--on-navy-muted);
}
.footer__credit img { display: block; width: auto; height: 20px; }
.footer__ext { flex: none; opacity: 0.8; }
.footer__credit:hover { color: var(--on-navy); }
.footer__credit:hover span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* =========================================================
   FLOATING CONSULT CARD (데스크톱·태블릿) + MOBILE BAR
   ========================================================= */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 276px;
  padding: 12px 36px 12px 12px;
  background: var(--paper);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 8px 24px rgba(20, 30, 55, 0.12), 0 1px 3px rgba(20, 30, 55, 0.08);
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity 0.35s, transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.fab.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.35s, transform 0.45s var(--ease), visibility 0s;
}
.fab__photo {
  flex: none;
  width: 48px;
  height: 60px;
  object-fit: cover;
  object-position: 50% 4%;
  border-radius: var(--radius);
  background: var(--paper);
}
.fab__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}
.fab__k { font-size: 13px; font-weight: 700; color: var(--gold-2); }
.fab__v {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.fab__v:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.fab__d { font-size: 12.5px; color: var(--muted); }
.fab__link {
  margin-top: 4px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line-strong);
}
.fab__close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.fab__close:hover { background: var(--ivory); color: var(--navy); }
.fab__close svg { width: 16px; height: 16px; }
.nav.is-open ~ .fab { opacity: 0; visibility: hidden; }

.mbar { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__menu { gap: 22px; }
}

@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr; }
  .service--lead { flex-direction: row; }
  .service--lead .service__media { flex: 0 0 44%; aspect-ratio: auto; min-height: 320px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .step:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; --nav-h-solid: 62px; }
  body { font-size: 16px; }
  .nav__nav { display: none; }
  .nav__burger { display: block; }
  .nav__logo { height: 36px; }
  .nav.is-solid .nav__logo { height: 34px; }
  .nav__branch { font-size: 14px; padding-left: 11px; }
  .nav__brand { gap: 11px; }
  .nav__drawer {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 1;
    background: var(--paper);
    padding: 12px var(--gutter) 32px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-solid .nav__drawer { inset: var(--nav-h-solid) 0 0 0; }
  .nav.is-open .nav__drawer {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s;
  }
  .nav__drawer-list li { border-bottom: 1px solid var(--line); }
  .nav__drawer-list a {
    display: block;
    padding: 18px 2px;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
  }
  .nav__drawer-list a { position: relative; }
  .nav__drawer-list a.is-active { color: var(--gold-2); padding-left: 14px; }
  .nav__drawer-list a.is-active::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 3px; height: 20px;
    margin-top: -10px;
    background: var(--gold-2);
  }
  .nav__right { gap: 12px; }
  .nav__drawer-foot { margin-top: 28px; }
  .nav__drawer-foot p { margin-top: 12px; font-size: 14.5px; color: var(--muted); text-align: center; }
  .nav__drawer-foot p a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

  .section__head { grid-template-columns: 1fr; gap: 14px; }
  .lead { max-width: none; }

  .intro { grid-template-columns: 1fr; align-items: start; }

  .ceo {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "figure" "body";
    grid-template-rows: auto;
  }
  .ceo__figure { max-width: none; margin-top: 28px; }
  .ceo__panel { aspect-ratio: 35 / 36; max-width: 460px; }
  .ceo__photo { width: 74%; top: 3.4%; }

  .service--lead { flex-direction: column; }
  .service--lead .service__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }

  .process__head { flex-direction: column; align-items: flex-start; }
  .creds__layout { grid-template-columns: 1fr; }
  .creds__wm { display: none; }
  .cta__wm { width: 340px; right: -60px; bottom: -70px; }

  .loc { min-height: 0; display: flex; flex-direction: column; }
  .loc__map { position: relative; inset: auto; height: 240px; }
  .loc__card { width: auto; margin: 12px 0 0; box-shadow: 0 6px 18px rgba(20, 30, 55, 0.08); }
  .prep__note { margin-left: 0; }

  .cta__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }

  .fab { right: 16px; bottom: 16px; }
}

@media (max-width: 560px) {
  :root { --mbar-h: calc(64px + env(safe-area-inset-bottom)); }
  .nav__cta {
    width: 44px; height: 44px;
    min-height: 0;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .nav__cta > span { display: none; }
  .nav__cta svg { width: 19px; height: 19px; }
  .nav__logo { height: 32px; }
  .nav.is-solid .nav__logo { height: 30px; }

  .hero { min-height: 0; }
  .hero__inner { padding: 52px 0 56px; }
  .hero__kicker { margin-bottom: 16px; }
  .hero__kicker::before { width: 20px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .intro__point { grid-template-columns: 1fr; }
  .intro__d { text-align: left; }

  .services__list { gap: 16px; }
  .services { gap: 16px; }
  .service--row { flex-direction: column; }
  .service--row .service__media { flex: none; height: 120px; }
  .service__body { padding: 22px 22px 24px; }
  .service--row .service__body { padding: 16px 18px 18px; }
  .service__items { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 22px 26px; }
  .step + .step,
  .step:nth-child(3),
  .step:nth-child(4) { box-shadow: inset 0 1px 0 var(--line); }

  .loc__card { padding: 20px; }
  .loc__addr { font-size: 19px; }
  .loc__actions .btn { flex: 1 1 100%; }
  .prep { padding: 18px 20px; }

  .cta__phone { align-items: stretch; }
  .cta__phone .btn { width: 100%; }
  .btn--lg { font-size: 17px; padding: 0 20px; }

  .footer__logo { height: 42px; }

  /* 카드 대신 하단 고정 2버튼 바 */
  .fab { display: none; }
  .mbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 28px -18px rgba(17, 26, 54, 0.45);
  }
  .mbar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
  }
  .mbar__btn svg { width: 18px; height: 18px; }
  .mbar__btn--call { background: var(--navy); color: var(--on-navy); }
  .mbar__btn--call svg { color: var(--gold); }
  .mbar__btn--loc { background: var(--ivory); color: var(--navy); }
  .nav.is-open ~ .mbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service__media img,
  .btn,
  .service { transition: none; }
}
