/* ============================================================
   대한세무법인 — style.css
   에디토리얼(매거진) 무드 · 대형 타이포그래피 · 네이비/골드
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --navy: #16255C;
  --navy-deep: #101B45;
  --navy-soft: #2A3A7A;
  --gold: #C8963E;
  --gold-soft: #E9D9BC;
  --ink: #191A1E;
  --gray-700: #45474E;
  --gray-500: #74767E;
  --gray-300: #C9CAD0;
  --line: #E4E2DC;
  --bg: #FFFFFF;
  --bg-off: #F6F5F1;
  --bg-navy-tint: #EFF1F7;

  /* Type scale */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --fs-hero: clamp(2.6rem, 7.2vw, 5.4rem);
  --fs-h1: clamp(2.2rem, 5.5vw, 4rem);
  --fs-h2: clamp(1.8rem, 4vw, 2.9rem);
  --fs-h3: clamp(1.25rem, 2.2vw, 1.6rem);
  --fs-body-lg: clamp(1.05rem, 1.5vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --space-section: clamp(4.5rem, 10vw, 9rem);
  --space-block: clamp(2rem, 4vw, 3.5rem);
  --radius: 2px;

  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Containers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container--wide { max-width: var(--container-wide); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray-500);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--gold); }
.eyebrow--num::before { display: none; }
.eyebrow .num { color: var(--gold); font-weight: 800; }

.headline {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.headline--ink { color: var(--ink); }
.headline--sm { font-size: var(--fs-h2); }

.lede {
  font-size: var(--fs-body-lg);
  color: var(--gray-700);
  max-width: 42em;
  margin-top: 1.5rem;
}

.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--navy); color: #fff; }

.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: #B5842F; border-color: #B5842F; color: #fff; }

.btn--ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--kakao {
  background: #FEE500; border-color: #FEE500; color: #191919;
  font-weight: 800;
}
.btn--kakao:hover { background: #F4D900; border-color: #F4D900; color: #191919; }

.btn--sm { padding: 0.55rem 1.1rem; font-size: var(--fs-xs); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: var(--fs-small);
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand img { height: 44px; width: auto; }
.brand__name {
  font-size: 1.15rem; font-weight: 900; letter-spacing: -0.02em; color: var(--navy);
}

.gnb { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.gnb a {
  font-size: 0.95rem; font-weight: 600; color: var(--gray-700);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.gnb a:hover { color: var(--navy); }
.gnb a[aria-current="page"] { color: var(--navy); font-weight: 800; border-bottom-color: var(--gold); }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-block: var(--space-section);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-off) 100%);
}
.hero__label { margin-bottom: 1.5rem; }
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
  max-width: 18em;
}
.hero p {
  margin-top: 1.75rem;
  font-size: var(--fs-body-lg);
  color: var(--gray-700);
  max-width: 36em;
}
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--off { background: var(--bg-off); }
.section--tint { background: var(--bg-navy-tint); }
.section--line-top { border-top: 1px solid var(--line); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: var(--space-block);
}
.section-head .headline { max-width: 16em; }
.section-head__side { padding-bottom: 0.5rem; }

/* ---------- Calendar (home module + info page) ---------- */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cal-card {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 0.85rem;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cal-card__deadline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
}
.cal-card__deadline .unit { font-size: 0.55em; font-weight: 700; color: var(--gold); margin-left: 0.15em; }
.cal-card__title { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.cal-card__desc { font-size: var(--fs-small); color: var(--gray-500); }
.cal-card--anytime .cal-card__deadline { font-size: 1.15rem; font-weight: 800; color: var(--gold); letter-spacing: 0; }

.cal-note {
  margin-top: 1.25rem;
  font-size: var(--fs-xs); color: var(--gray-500);
  display: flex; gap: 0.5rem; align-items: baseline;
}
.cal-note::before { content: "※"; color: var(--gold); }

/* month selector (info page) */
.month-nav {
  display: grid; grid-template-columns: repeat(12, 1fr);
  border: 1px solid var(--line); border-bottom: 0;
  background: var(--line); gap: 1px;
  margin-bottom: 0;
}
.month-nav button {
  background: var(--bg);
  padding: 0.8rem 0.25rem;
  font-size: var(--fs-small); font-weight: 700; color: var(--gray-500);
  transition: background 0.15s ease, color 0.15s ease;
}
.month-nav button:hover { color: var(--navy); background: var(--bg-off); }
.month-nav button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.month-panel { border: 1px solid var(--line); border-top: 0; }
.month-panel .cal-grid { border: 0; }

@media (max-width: 720px) {
  .month-nav { grid-template-columns: repeat(6, 1fr); }
  .month-nav button:nth-child(-n+6) { border-bottom: 1px solid var(--line); }
}

/* ---------- Magazine article grid ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}
.article-card {
  border-top: 2px solid var(--navy);
  padding-top: 1.35rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.article-card:hover { border-top-color: var(--gold); }
.article-card__meta { display: flex; align-items: center; gap: 0.75rem; }
.tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  color: var(--navy); background: var(--bg-navy-tint);
}
.tag--gold { color: #8A6420; background: #F5EBD8; }
.article-card__date { font-size: var(--fs-xs); color: var(--gray-500); }
.article-card__title {
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  font-weight: 800; line-height: 1.35; letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.15s ease;
}
.article-card:hover .article-card__title { color: var(--navy); }
.article-card__summary { font-size: var(--fs-small); color: var(--gray-500); }
.article-card__more {
  margin-top: auto; padding-top: 0.5rem;
  font-size: var(--fs-xs); font-weight: 700; color: var(--gold); letter-spacing: 0.05em;
}

/* ---------- Article modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  align-items: flex-end; justify-content: center;
}
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16, 27, 69, 0.55); }
.modal__panel {
  position: relative;
  background: var(--bg);
  width: min(720px, 100%);
  max-height: min(84vh, 900px);
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-top: 4px solid var(--navy);
}
@media (min-width: 720px) {
  .modal { align-items: center; padding: 2rem; }
}
.modal__close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  width: 40px; height: 40px;
  font-size: 1.4rem; line-height: 1; color: var(--gray-500);
}
.modal__close:hover { color: var(--navy); }
.modal__meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.modal__title { font-size: var(--fs-h3); font-weight: 900; letter-spacing: -0.02em; color: var(--navy); line-height: 1.35; margin-bottom: 1.25rem; }
.modal__body { color: var(--gray-700); white-space: pre-line; }
.modal__cta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.modal__cta p { font-size: var(--fs-small); color: var(--gray-500); flex: 1 1 16em; }

/* ---------- Notices list ---------- */
.notice-list { border-top: 2px solid var(--navy); }
.notice-item { border-bottom: 1px solid var(--line); }
.notice-item summary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.25rem;
  padding: 1.15rem 0.25rem;
  cursor: pointer; list-style: none;
}
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary::after { content: "+"; margin-left: auto; font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.notice-item[open] summary::after { content: "−"; }
.notice-item__title { font-weight: 700; font-size: var(--fs-body); color: var(--ink); }
.notice-item summary:hover .notice-item__title { color: var(--navy); }
.notice-item__date { font-size: var(--fs-xs); color: var(--gray-500); }
.notice-item__body { padding: 0 0.25rem 1.5rem; color: var(--gray-700); font-size: var(--fs-small); max-width: 60em; }

/* ---------- Teaser / editorial split ---------- */
.split {
  display: grid; gap: var(--space-block);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 4fr; gap: clamp(3rem, 6vw, 6rem); }
}
.split__body p + p { margin-top: 1rem; }
.split__body { color: var(--gray-700); }

.stat-line { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--navy); }
.stat-line li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0.25rem; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.stat-line .k { color: var(--gray-500); font-weight: 600; flex-shrink: 0; }
.stat-line .v { font-weight: 700; color: var(--ink); text-align: right; }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  background: var(--bg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.2s ease;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
}
a.service-card:hover { background: var(--bg-off); }
.service-card__num { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.15em; color: var(--gold); }
.service-card__icon { width: 44px; height: 44px; color: var(--navy); }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.service-card__desc { font-size: var(--fs-small); color: var(--gray-500); }
.service-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* services.html detail sections */
.service-detail {
  display: grid; gap: 1.75rem;
  padding-block: var(--space-block);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .service-detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); }
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail__head { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.service-detail__head .service-card__icon { width: 52px; height: 52px; }
.service-detail__title { font-size: var(--fs-h2); font-weight: 900; letter-spacing: -0.03em; color: var(--navy); line-height: 1.2; }
.service-detail__for {
  font-size: var(--fs-small); color: var(--gray-700);
  background: var(--bg-navy-tint);
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--navy);
}
.service-detail__for strong { color: var(--navy); }
.service-detail__body p { color: var(--gray-700); }
.service-detail__body p + p { margin-top: 0.9rem; }
.check-list { margin-top: 1.4rem; display: grid; gap: 0.65rem; }
.check-list li {
  position: relative; padding-left: 1.6rem;
  font-size: var(--fs-small); color: var(--gray-700); font-weight: 500;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.85rem; height: 0.45rem;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- People (about) ---------- */
.people-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.person-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.person-card__head { display: flex; align-items: center; gap: 1.25rem; }
.person-card__initial {
  width: 72px; height: 72px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  font-size: 1.5rem; font-weight: 900;
  border-radius: 50%;
  letter-spacing: -0.02em;
}
.person-card__name { font-size: 1.45rem; font-weight: 900; letter-spacing: -0.02em; color: var(--navy); line-height: 1.2; }
.person-card__role { font-size: var(--fs-small); font-weight: 700; color: var(--gold); margin-top: 0.2rem; }
.person-card__intro { color: var(--gray-700); font-size: var(--fs-small); }
.person-card__facts { border-top: 1px solid var(--line); padding-top: 1.1rem; display: grid; gap: 0.5rem; }
.person-card__facts li {
  position: relative; padding-left: 1rem;
  font-size: var(--fs-small); color: var(--gray-700);
}
.person-card__facts li::before {
  content: ""; position: absolute; left: 0; top: 0.68em;
  width: 0.35rem; height: 0.35rem; background: var(--gold);
}

/* ---------- Definition list (company info) ---------- */
.def-list { border-top: 2px solid var(--navy); max-width: 760px; }
.def-list > div {
  display: grid; grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--line);
}
.def-list dt { font-size: var(--fs-small); font-weight: 800; color: var(--navy); }
.def-list dd { font-size: var(--fs-small); color: var(--gray-700); }
.def-list dd a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gray-300); }
.def-list dd a:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 540px) {
  .def-list > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* ---------- Why-us cards ---------- */
.why-grid {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.why-card { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 0.85rem; }
.why-card__num {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  line-height: 1;
}
.why-card__title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.why-card__desc { font-size: var(--fs-small); color: var(--gray-500); }

/* ---------- Kakao CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: #fff;
  padding-block: var(--space-section);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute; right: -8%; top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 36vw, 560px); aspect-ratio: 1;
  background: url("../img/logo/logo-white.png") center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner .eyebrow { color: rgba(255,255,255,0.65); }
.cta-banner h2 {
  font-size: var(--fs-h1); font-weight: 900; line-height: 1.15; letter-spacing: -0.035em;
  max-width: 15em;
}
.cta-banner p { margin-top: 1.25rem; color: rgba(255,255,255,0.78); max-width: 34em; font-size: var(--fs-body-lg); }
.cta-banner__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-banner__tel { font-size: var(--fs-small); color: rgba(255,255,255,0.7); margin-top: 1.5rem; }
.cta-banner__tel strong { color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--fs-small);
}
.site-footer__top {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (min-width: 800px) {
  .site-footer__top { grid-template-columns: 1.2fr 1fr 1fr; }
}
.site-footer__brand img { height: 96px; width: auto; margin-left: -8px; }
.site-footer__brand p { margin-top: 0.75rem; max-width: 26em; }
.site-footer h3 {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 1rem;
}
.site-footer li + li { margin-top: 0.55rem; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.site-footer__bottom {
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: var(--fs-xs); color: rgba(255,255,255,0.5);
}

/* ---------- Floating Kakao button ---------- */
.kakao-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 150;
  display: flex; align-items: center; gap: 0.6rem;
  background: #FEE500; color: #191919;
  font-weight: 800; font-size: var(--fs-small);
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(16, 27, 69, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kakao-float:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(16, 27, 69, 0.3); }
.kakao-float svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 540px) {
  .kakao-float span { display: none; }
  .kakao-float { padding: 0.9rem; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-off) 100%);
}
.page-hero h1 {
  font-size: var(--fs-h1); font-weight: 900; line-height: 1.12; letter-spacing: -0.038em;
  color: var(--navy); max-width: 18em;
}
.page-hero p { margin-top: 1.25rem; font-size: var(--fs-body-lg); color: var(--gray-700); max-width: 38em; }

/* ---------- Empty / error state ---------- */
.data-empty {
  border: 1px dashed var(--gray-300);
  padding: 2rem;
  text-align: center;
  color: var(--gray-500);
  font-size: var(--fs-small);
  grid-column: 1 / -1;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .gnb {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1.25rem;
    display: none;
  }
  .gnb.is-open { display: flex; }
  .gnb a {
    padding: 0.95rem clamp(1.25rem, 4vw, 2.5rem);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .gnb a[aria-current="page"] { border-bottom-color: var(--line); background: var(--bg-navy-tint); }
  .gnb .gnb__cta {
    margin: 1rem clamp(1.25rem, 4vw, 2.5rem) 0;
    text-align: center;
    background: #FEE500; color: #191919; font-weight: 800;
    padding: 0.9rem 1rem;
    border: 0;
  }
}
@media (min-width: 861px) {
  .gnb .gnb__cta { display: none; }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .kakao-float, .cta-banner, .nav-toggle { display: none !important; }
}
