/* ==========================================================================
   청년취업준비센터 — shared styles
   ========================================================================== */

:root {
  /* ink: headings, body text, footer */
  --navy: #1f2429;
  --navy-deep: #1f2429;
  --navy-soft: #353a3f;
  /* brand: friendly, trustworthy blue */
  --primary: #145ce6;
  --primary-dark: #114dc0;
  --primary-soft: #ecf2fd;
  /* accent: warm yellow for CTAs, prices, badges (use dark text on it) */
  --accent: #ffcc00;
  --accent-dark: #eeab00;
  --accent-soft: #fff7d9;
  /* legacy names kept as aliases so existing rules follow the new palette */
  --gold: var(--primary);
  --gold-soft: var(--primary-soft);
  --olive: #22b07d;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-gray: #ecf0f4;
  --text: #1f2429;
  --text-sub: #575e64;
  --text-muted: #8c939a;
  --line: #dee2e6;
  --line-dark: #cfd4d9;
  --danger: #e61414;
  --radius-sm: 10px;
  --radius-btn: 10px;
  --shadow-low: 0 0 20px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-high: 0 4px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.06);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
  --header-h: 80px;
  --serif: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 28px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 40px);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  padding: 8px 16px; background: var(--primary); color: #fff; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  color: var(--text-sub);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topbar-info { display: flex; gap: 20px; }
.topbar-info strong { color: var(--primary); font-weight: 500; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a:hover { color: var(--primary); }

/* ---------- Header / GNB ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 22px; }
/* symbol height = ink height of the wordmark (Pretendard 700: ~0.9em) */
.brand-logo { display: block; width: auto; height: 0.9em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.header-cta svg { width: 18px; height: 18px; }
.menu-toggle svg { width: 26px; height: 26px; }
.drawer-head svg { width: 24px; height: 24px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.brand-text small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gold);
  text-transform: uppercase;
}
.brand-text strong {
  font-family: var(--serif);
  font-size: 1em;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}

.gnb { display: flex; align-items: stretch; height: 100%; }
.gnb > li { position: static; display: flex; }
.gnb > li > a {
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.gnb > li > a:hover,
.gnb > li.is-current > a { color: var(--primary); border-bottom-color: var(--primary); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  margin-left: 16px;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s;
}
.header-cta:hover { background: var(--primary-dark); }
.header-right { display: flex; align-items: center; height: 100%; }

/* Mega menu: one full-width panel listing every submenu.
   Opens with a top-down reveal (clip-path) after a short hover-intent delay,
   then the columns fade up one after another. */
.mega {
  --reveal: cubic-bezier(.22, .61, .36, 1);
  position: absolute;
  left: 0; right: 0; top: 100%;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-high);
  clip-path: inset(0 0 100% 0 round 0 0 var(--radius-lg) var(--radius-lg));
  opacity: 0;
  visibility: hidden;
  transition:
    clip-path .32s var(--reveal),
    opacity .24s ease,
    visibility 0s linear .32s;
}
.site-header:has(.gnb:hover) .mega,
.site-header:has(.gnb:focus-within) .mega,
.mega:hover {
  clip-path: inset(0 0 0 0 round 0 0 var(--radius-lg) var(--radius-lg));
  opacity: 1;
  visibility: visible;
  transition:
    clip-path .5s var(--reveal) .08s,
    opacity .3s ease .08s,
    visibility 0s linear 0s;
}
.mega-intro, .mega-col {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.site-header:has(.gnb:hover) .mega :is(.mega-intro, .mega-col),
.site-header:has(.gnb:focus-within) .mega :is(.mega-intro, .mega-col),
.mega:hover :is(.mega-intro, .mega-col) {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease, transform .5s var(--reveal);
}
.site-header:has(.gnb:hover) .mega .mega-intro,
.mega:hover .mega-intro { transition-delay: .14s; }
.site-header:has(.gnb:hover) .mega .mega-col:nth-child(1),
.site-header:has(.gnb:focus-within) .mega .mega-col:nth-child(1),
.mega:hover .mega-col:nth-child(1) { transition-delay: .18s; }
.site-header:has(.gnb:hover) .mega .mega-col:nth-child(2),
.site-header:has(.gnb:focus-within) .mega .mega-col:nth-child(2),
.mega:hover .mega-col:nth-child(2) { transition-delay: .23s; }
.site-header:has(.gnb:hover) .mega .mega-col:nth-child(3),
.site-header:has(.gnb:focus-within) .mega .mega-col:nth-child(3),
.mega:hover .mega-col:nth-child(3) { transition-delay: .28s; }
.site-header:has(.gnb:hover) .mega .mega-col:nth-child(4),
.site-header:has(.gnb:focus-within) .mega .mega-col:nth-child(4),
.mega:hover .mega-col:nth-child(4) { transition-delay: .33s; }
.mega .container {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: auto;
  align-items: stretch;
  padding-block: 0;
}
.mega-intro {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--line);
}
.mega-intro p:first-child { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); }
.mega-intro p + p { margin-top: 8px; font-size: 14px; color: var(--text-sub); }
.mega-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.mega-col { padding: 28px 24px; border-right: 1px solid var(--line); }
.mega-col:last-child { border-right: 0; }
.mega-col h3 { margin-bottom: 12px; font-size: 15px; font-weight: 700; color: var(--navy); }
.mega-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-sub);
}
.mega-col a { transition: color .15s, transform .15s; }
.mega-col a:hover { color: var(--primary); transform: translateX(3px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
}

/* Mobile drawer */
.drawer {
  --reveal: cubic-bezier(.22, .61, .36, 1);
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  transition: visibility 0s linear .45s;
}
.drawer.is-open { visibility: visible; transition: none; }
.drawer-dim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity .4s ease;
}
.drawer.is-open .drawer-dim { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  overflow-y: auto;
  background: #fff;
  transform: translateX(100%);
  transition: transform .45s var(--reveal);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 12px 0 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.drawer-head button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; }
.drawer-group, .drawer .drawer-cta {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .2s ease, transform .2s ease;
}
.drawer.is-open :is(.drawer-group, .drawer-cta) {
  opacity: 1;
  transform: none;
  transition: opacity .4s ease, transform .45s var(--reveal);
}
.drawer.is-open .drawer-group:nth-of-type(1) { transition-delay: .12s; }
.drawer.is-open .drawer-group:nth-of-type(2) { transition-delay: .17s; }
.drawer.is-open .drawer-group:nth-of-type(3) { transition-delay: .22s; }
.drawer.is-open .drawer-group:nth-of-type(4) { transition-delay: .27s; }
.drawer.is-open .drawer-cta { transition-delay: .32s; }
.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: none;
  color: var(--text);
  font: 700 16px/22px var(--sans);
  text-align: left;
  cursor: pointer;
}
.drawer-toggle svg { width: 18px; height: 18px; color: var(--text-muted); transition: transform .35s var(--reveal); }
.drawer-toggle[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--primary); }
.drawer-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--reveal);
}
.drawer-toggle[aria-expanded="true"] + .drawer-sub { grid-template-rows: 1fr; }
.drawer-sub > div { overflow: hidden; }
.drawer-sub a {
  display: block;
  padding: 11px 20px 11px 32px;
  background: var(--bg-soft);
  font-size: 15px;
  color: var(--text-sub);
}
.drawer-sub a:hover { color: var(--primary); }
.drawer .drawer-cta { display: flex; margin: 20px; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .mega, .mega *, .drawer, .drawer * { transition-duration: .01s !important; transition-delay: 0s !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-navy { background: var(--primary); color: #fff; }
.btn-navy:hover { background: var(--primary-dark); }
.btn-gold { background: var(--accent); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: var(--accent-dark); }
.btn-line { border-color: var(--line-dark); background: #fff; color: var(--text); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-white-line { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-white-line:hover { background: rgba(255,255,255,.12); }

/* ---------- Section commons ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-gray { background: var(--bg-gray); }
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold);
  text-transform: uppercase;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--navy);
}
.sec-desc {
  margin-top: 14px;
  font-size: 17px;
  line-height: 28px;
  color: var(--text-sub);
}
.sec-head.center .sec-desc { max-width: 680px; margin-inline: auto; }

/* ---------- Sub page banner + breadcrumb ---------- */
.sub-visual {
  position: relative;
  height: 340px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,197,61,.25), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 22px),
    var(--navy);
  color: #fff;
}
.sub-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .6;
}
.sub-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,77,192,.92) 0%, rgba(20,92,230,.62) 55%, rgba(20,92,230,.25) 100%);
}
.sub-visual .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.sub-visual-label { font-size: 13px; letter-spacing: 0; color: #ffd633; text-transform: uppercase; }
.sub-visual h1 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}
.sub-visual p { margin-top: 8px; color: rgba(255,255,255,.9); font-size: 17px; }

.breadcrumb-bar { border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9b4ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.breadcrumb li:last-child { color: var(--navy); font-weight: 500; }

/* Sub layout: left LNB + content (legacy centre style) */
.sub-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 60px;
  padding-block: 48px 120px;
}
.lnb { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.lnb-title {
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 22px 24px;
  background: var(--primary);
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}
.lnb ul { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.lnb li + li { border-top: 1px solid var(--line); }
.lnb li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  font-size: 15px;
  color: var(--text-sub);
  transition: background .15s, color .15s;
}
.lnb li a::after { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c4b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.lnb li a:hover { background: var(--bg-soft); color: var(--navy); }
.lnb li a.is-current { background: var(--gold-soft); color: var(--navy); font-weight: 700; }
.lnb li a.is-current::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4854a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }
.lnb-contact {
  border-radius: var(--radius);
  margin-top: 16px;
  padding: 22px 24px;
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--text-sub);
}
.lnb-contact strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--navy); }
.lnb-contact .btn { width: 100%; height: 44px; margin-top: 14px; font-size: 15px; }

.content-title {
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--line);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}
.content-title small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gold);
}
.content-block + .content-block { margin-top: 64px; }
.block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: var(--navy);
}
.block-title::before {
  content: "";
  width: 6px; height: 20px;
  border-radius: 3px;
  background: var(--primary);
}
.lead {
  font-size: 17px;
  line-height: 28px;
  color: var(--text);
}
.lead + .lead { margin-top: 12px; }
.text { color: var(--text-sub); }

.intro-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: center;
}
.intro-box img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }

.check-list { display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 16px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 20px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--navy) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  position: relative;
  padding: 28px 22px;
  background: #fff;
  text-align: center;
}
.step + .step { border-left: 1px solid var(--line); }
.step-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--primary);
}
.step h4 { font-size: 16px; line-height: 22px; font-weight: 700; color: var(--navy); }
.step p { margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--text-sub); }
.step.is-key { background: var(--primary); }
.step.is-key h4 { color: #fff; }
.step.is-key p { color: rgba(255,255,255,.85); }
.step.is-key .step-num { background: rgba(255,255,255,.18); color: #fff; }

.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--primary); font-size: 15px; }
.info-table th, .info-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 180px; background: var(--bg-soft); font-weight: 700; color: var(--navy); }
.info-table td { color: var(--text-sub); }
.info-table td strong { color: var(--text); }

.notice-box {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  font-size: 15px;
  color: var(--text-sub);
}
.notice-box strong { color: var(--navy); }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #fff;
}
.cta-box h3 { font-size: 24px; line-height: 34px; font-weight: 700; }
.cta-box p { margin-top: 4px; color: rgba(255,255,255,.75); font-size: 15px; }
.cta-box .btns { display: flex; gap: 10px; flex-shrink: 0; }

/* Price cards */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.price-item {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.price-item.is-featured { border: 2px solid var(--primary); position: relative; }
.price-item.is-featured::before {
  content: "추천";
  position: absolute;
  top: -12px; right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}
.price-item h4 { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--navy); }
.price-item .price-sub { font-size: 14px; color: var(--text-muted); }
.price-item .price {
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 40px;
  line-height: 52px;
  font-weight: 700;
  color: var(--navy);
}
.price-item .price small { font-family: var(--sans); font-size: 17px; font-weight: 500; margin-left: 2px; }
.price-item ul { display: grid; gap: 8px; margin-bottom: 28px; }
.price-item li { padding-left: 18px; position: relative; font-size: 15px; color: var(--text-sub); }
.price-item li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.price-item .btn { margin-top: auto; }

/* FAQ accordion */
.faq-list { border-top: 2px solid var(--primary); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 8px;
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--navy); }
.faq-answer {
  display: flex;
  gap: 16px;
  padding: 20px 8px 24px;
  background: var(--bg-soft);
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.8;
}
.faq-answer::before {
  content: "A";
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
}
.faq-answer strong { color: var(--text); }

/* Forms */
.form-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--primary); }
.form-table th, .form-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.form-table th { width: 180px; background: var(--bg-soft); font-size: 15px; font-weight: 700; color: var(--navy); }
.form-table th em { color: var(--danger); font-style: normal; margin-left: 2px; }
.input, .select, .textarea {
  width: 100%;
  max-width: 480px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: 400 15px var(--sans);
}
.textarea { max-width: none; height: 140px; padding: 12px 14px; border-radius: 12px; resize: vertical; line-height: 24px; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy); }
.is-invalid .input, .is-invalid .select, .is-invalid .textarea { border-color: var(--danger); }
.field-error { display: none; margin-top: 6px; font-size: 13px; color: var(--danger); }
.is-invalid .field-error { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; cursor: pointer; }
.radio-row input { accent-color: var(--navy); width: 17px; height: 17px; }
.agree-box {
  border-radius: var(--radius);
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--text-sub);
}
.agree-box label { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; color: var(--text); cursor: pointer; }
.agree-box input { accent-color: var(--navy); width: 18px; height: 18px; }
.form-actions { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.form-actions .btn { min-width: 180px; }

/* Board list */
.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--primary); font-size: 15px; }
.board th { padding: 14px 12px; border-bottom: 1px solid var(--line-dark); background: var(--bg-soft); font-weight: 700; color: var(--navy); }
.board td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; color: var(--text-muted); }
.board td.subject { text-align: left; color: var(--text); }
.board td.subject a:hover { color: var(--navy); text-decoration: underline; }
.board .tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.6); font-size: 14px; }
.footer-links { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.footer-links nav { display: flex; gap: 28px; }
.footer-links a { color: rgba(255,255,255,.8); }
.footer-links a:first-child { color: #fff; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-main .container { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding-block: 40px 48px; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 19px; }
.footer-brand strong { font-size: 1em; line-height: 1; font-weight: 700; color: #fff; }
.footer-info { display: flex; flex-wrap: wrap; gap: 4px 16px; font-style: normal; line-height: 1.8; }
.footer-info span + span::before { content: "|"; margin-right: 16px; color: rgba(255,255,255,.2); }
.footer-copy { margin-top: 16px; color: rgba(255,255,255,.4); font-size: 13px; }
.footer-cs { min-width: 280px; padding: 24px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); }
.footer-cs p:first-child { color: #fff; font-weight: 700; font-size: 15px; }
.footer-cs .big { margin: 6px 0; font-family: var(--serif); font-size: 22px; font-weight: 700; color: #ffd633; }

/* Floating quick menu */
.quick {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quick a, .quick button {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--shadow-high);
  cursor: pointer;
}
.quick a { align-content: center; gap: 4px; }
.quick svg { width: 20px; height: 20px; margin-inline: auto; }
.quick a.gold { background: var(--accent); color: var(--navy); }
.quick button { background: #fff; color: var(--navy); border: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .gnb > li > a { padding: 0 14px; font-size: 16px; }
  .mega-intro { display: none; }
  .mega .container { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .gnb, .header-cta, .mega { display: none; }
  .menu-toggle { display: grid; }
  .brand { font-size: 18px; }
  .sub-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px 80px; }
  .lnb { position: static; }
  .lnb-title, .lnb-contact { display: none; }
  .lnb ul { display: flex; overflow-x: auto; border: 0; border-bottom: 1px solid var(--line); gap: 0; scrollbar-width: none; }
  .lnb li + li { border-top: 0; }
  .lnb li a { white-space: nowrap; padding: 12px 16px; border-bottom: 2px solid transparent; }
  .lnb li a::after { display: none; }
  .lnb li a.is-current { background: none; border-bottom-color: var(--navy); }
  .intro-box { grid-template-columns: 1fr; }
  .steps, .steps.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step + .step { border-left: 0; }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(even) { border-left: 1px solid var(--line); }
  .footer-main .container { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .content-title { font-size: 24px; line-height: 34px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .sub-visual { height: 200px; }
  .breadcrumb-bar .container { height: 48px; }
  .content-title { margin-bottom: 28px; }
  .content-block + .content-block { margin-top: 48px; }
  .lead { font-size: 15px; line-height: 24px; }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .steps, .steps.cols-5, .steps.cols-3 { grid-template-columns: 1fr; }
  .step:nth-child(even) { border-left: 0; }
  .step { text-align: left; padding: 20px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-item { padding: 28px 24px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .cta-box .btns { width: 100%; flex-direction: column; }
  .cta-box .btns .btn { width: 100%; }
  .info-table th, .form-table th { width: 100px; padding: 12px; font-size: 14px; }
  .info-table td, .form-table td { padding: 12px; }
  .form-table, .form-table tbody, .form-table tr, .form-table th, .form-table td { display: block; width: 100%; }
  .form-table th { border-bottom: 0; padding-bottom: 4px; background: none; }
  .form-table td { padding-top: 4px; }
  .form-actions { flex-direction: column; }
  .board .col-hide { display: none; }
  .footer-links .container { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; height: auto; padding-block: 16px; }
  .footer-links nav { flex-wrap: wrap; gap: 8px 20px; }
  .footer-info span + span::before { display: none; }
  .footer-info { flex-direction: column; gap: 0; }
  .footer-cs { min-width: 0; }
  .quick { right: 12px; bottom: 16px; }
  .quick a { display: none; }
  .quick button { width: 44px; height: 44px; font-size: 11px; }
}

/* ---------- Custom select (shared) ---------- */
.cselect { position: relative; width: 100%; max-width: 480px; }
.cselect.is-open { z-index: 30; }
.cselect-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 50px;
  padding: 0 18px 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: 400 15px var(--sans);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.cselect-trigger:hover { border-color: var(--text-muted); }
.cselect-trigger:focus-visible, .cselect.is-open .cselect-trigger { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,92,230,.15); }
.cselect-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect:not(.has-value) .cselect-value { color: var(--text-muted); }
.cselect-trigger svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-muted); transition: transform .2s; }
.cselect.is-open .cselect-trigger svg { transform: rotate(180deg); color: var(--primary); }
.cselect-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-high);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.cselect.is-open .cselect-menu { opacity: 1; visibility: visible; transform: none; }
.cselect-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}
.cselect-menu li.is-active { background: var(--bg-soft); }
.cselect-menu li[aria-selected="true"] { color: var(--primary); font-weight: 700; }
.cselect-menu li[aria-selected="true"]::after {
  content: "";
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.is-invalid .cselect-trigger { border-color: var(--danger); }

/* ---------- Mobile bottom booking bar (injected by site.js; not on the booking page) ---------- */
.mbar { display: none; }

/* ---------- Mobile UX pass ---------- */
@media (max-width: 767px) {
  /* iOS zooms into inputs under 16px */
  .input, .select, .textarea, .cselect-trigger { font-size: 16px; }

  /* bigger tap areas */
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin: 0 -4px; }
  .footer-links a { display: inline-block; padding: 8px 0; }
  .lnb li a { min-height: 48px; display: flex; align-items: center; }

  /* sub-page tab bar scrolls edge to edge */
  .lnb ul { margin: 0 -20px; padding: 0 12px; border-radius: 0; }

  /* steps: compact numbered rows instead of tall cards */
  .steps, .steps.cols-3, .steps.cols-5 { grid-template-columns: minmax(0, 1fr); }
  .step {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px 18px;
    text-align: left;
    border-left: 0 !important;
    border-bottom: 0 !important;
  }
  .step + .step { border-top: 1px solid var(--line); }
  .step .step-num {
    grid-row: span 2;
    display: grid; place-items: center;
    width: 32px; height: 32px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 12px;
  }
  .step h4 { font-size: 16px; line-height: 22px; }
  .step p { margin-top: 2px; }

  /* photos beside intro copy: shorter */
  .intro-box img { aspect-ratio: 16 / 10; }

  /* notice board: stacked list rows */
  .board thead, .board colgroup { display: none; }
  .board, .board tbody, .board tr, .board td { display: block; width: 100%; }
  .board tr { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .board td { padding: 0; border: 0; text-align: left; }
  .board td.subject { font-size: 15px; line-height: 24px; }
  .board td:last-child { margin-top: 4px; font-size: 13px; }

  /* sticky booking bar */
  body.has-mbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
  }
  .mbar-text { flex-shrink: 0; font-size: 12px; line-height: 18px; color: var(--text-sub); }
  .mbar-text strong { display: block; font-size: 15px; color: var(--navy); }
  .mbar .btn { flex: 1; height: 50px; }
  body.has-mbar .quick { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* a one-item tab bar is noise on mobile */
@media (max-width: 1024px) {
  .lnb:has(li:only-child) ul { display: none; }
}

/* "인기" badge next to a menu item */
.menu-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e61414;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: 1px;
  text-decoration: none !important;
  animation: badge-pop 2.4s ease-in-out infinite;
}
@keyframes badge-pop {
  0%, 80%, 100% { transform: scale(1); }
  88% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) { .menu-badge { animation: none; } }
.lnb li a .menu-badge { margin-right: auto; }

/* ==========================================================================
   발급 서류 미리보기 (docs.js)
   ========================================================================== */
.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.doc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-high); }
.doc-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 794 / 1000;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  cursor: zoom-in;
}
.doc-scale {
  position: absolute;
  left: 50%; top: 14px;
  width: 794px;
  transform: translateX(-50%) scale(calc(var(--s, .3) * .86));
  transform-origin: top center;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  pointer-events: none;
}
.doc-thumb::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--bg-soft)); }
.doc-chip, .doc-pages {
  position: absolute; z-index: 2; top: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  height: 26px; padding: 0 10px;
  border-radius: 8px;
  font-size: 12px; font-weight: 700;
}
.doc-chip { left: 12px; background: var(--accent); color: var(--navy); letter-spacing: .06em; }
.doc-pages { right: 12px; background: var(--navy); color: #fff; }
.doc-pages svg { width: 14px; height: 14px; }
.doc-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; padding: 18px 18px 20px; }
.doc-info h4 { font-size: 18px; line-height: 26px; font-weight: 700; color: var(--navy); }
.doc-tag { padding: 2px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 500; }
.doc-info p { font-size: 14px; line-height: 22px; color: var(--text-sub); }
.doc-open { margin-top: auto; height: 44px; width: 100%; font-size: 15px; }
.doc-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); }

/* modal: one page, scaled to fit both width and height */
.doc-modal {
  width: min(900px, calc(100vw - 32px));
  height: calc(100dvh - 48px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-high);
  overflow: hidden;
}
.doc-modal[open] { display: flex; flex-direction: column; animation: doc-in .3s cubic-bezier(.22,.61,.36,1); }
.doc-modal::backdrop { background: rgba(0,0,0,.5); }
@keyframes doc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.doc-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.doc-modal-title { display: block; font-size: 18px; font-weight: 700; }
.doc-modal-meta { font-size: 13px; color: var(--text-muted); }
.doc-modal-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--text); cursor: pointer; }
.doc-modal-close svg { width: 20px; height: 20px; }
.doc-modal-body { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; background: var(--bg-gray); }
.doc-modal-page { width: calc(794px * var(--s, .5)); height: calc(1123px * var(--s, .5)); overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.14); }
.doc-modal-page > .dp { transform: scale(var(--s, .5)); transform-origin: top left; }
.doc-page-nav {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-top: -22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-low);
  cursor: pointer;
}
.doc-page-nav.prev { left: 16px; }
.doc-page-nav.next { right: 16px; }
.doc-page-nav svg { width: 22px; height: 22px; }
.doc-page-nav:disabled { opacity: .3; cursor: default; }
.doc-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.doc-page-count { font-size: 14px; font-weight: 500; color: var(--text-sub); }
.doc-modal-foot .btn { height: 42px; padding: 0 14px; font-size: 14px; }
.doc-modal-foot .btn:disabled { opacity: .35; cursor: default; }

/* ---------- A4 sample page ---------- */
.dp {
  --ink: #1f2429;
  --sub: #575e64;
  --rule: #cfd4d9;
  --navy-doc: #0d3e9b;
  --gold: #a88a4a;
  position: relative;
  width: 794px; height: 1123px;
  overflow: hidden;
  padding: 64px 80px 120px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}
.dp-mark {
  position: absolute; left: 50%; top: 52%; z-index: 6;
  transform: translate(-50%, -50%) rotate(-28deg);
  font-size: 170px; font-weight: 700;
  color: rgba(230, 20, 20, .07);
  letter-spacing: .2em;
  pointer-events: none;
  white-space: nowrap;
}

/* letterhead */
.dp-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 3px double var(--navy-doc);
}
.dp-brand { display: flex; align-items: center; gap: 10px; }
.dp-brand img { width: auto; height: 34px; }
.dp-brand span { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.dp-brand.is-small img { height: 18px; }
.dp-brand.is-small span { font-size: 12px; }
.dp-docinfo { display: grid; gap: 2px; font-size: 13px; color: var(--sub); }
.dp-docinfo div { display: flex; gap: 10px; justify-content: flex-end; }
.dp-docinfo dt { font-weight: 700; color: var(--ink); }

.dp-title {
  margin: 56px 0 40px;
  text-align: center;
  font-family: "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
  font-size: 44px; font-weight: 700;
  letter-spacing: .32em;
  text-indent: .32em;
}
.dp-title::after { content: ""; display: block; width: 64px; height: 3px; margin: 18px auto 0; background: var(--navy-doc); }
.dp-table { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); border-top: 2px solid var(--ink); font-size: 15px; }
.dp-table th, .dp-table td { padding: 12px 16px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.dp-table th { width: 150px; background: #f4f6fa; font-weight: 700; color: var(--ink); }
.dp-body {
  margin: 48px 0 0;
  font-family: "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
  font-size: 19px; line-height: 2;
  text-align: center;
  word-break: keep-all;
}

/* issuer + seal */
.dp-sign { margin-top: 56px; text-align: center; }
.dp-date { font-size: 18px; letter-spacing: .04em; }
.dp-issuer { position: relative; display: inline-flex; align-items: baseline; gap: 18px; margin-top: 26px; }
.dp-issuer-name {
  font-family: "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
  font-size: 30px; font-weight: 700;
}
.dp-issuer-rep { font-size: 16px; color: var(--sub); }
.dp-issuer-rep em { font-style: normal; margin-left: 4px; }
/* seal stamped straight over "(직인)" */
.dp-seal {
  position: absolute;
  right: -34px; top: 50%;
  width: 96px; height: auto;
  transform: translateY(-50%);
  mix-blend-mode: multiply;
  opacity: .92;
  pointer-events: none;
}

/* personal data in samples: pseudonyms, blurred */
.dp-blur { filter: blur(4px); user-select: none; }

/* footer band with wordmark */
.dp-footer {
  position: absolute; left: 80px; right: 80px; bottom: 36px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.dp-footer p { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; font-size: 11px; color: #8c939a; }
.dp-footer p span + span::before { content: "|"; margin-right: 12px; color: var(--rule); }
.dp-wordmark .dp-brand img { height: 20px; }
.dp-wordmark .dp-brand span { font-size: 13px; }
.dp-cert-foot { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; opacity: .85; }
.dp-cert-foot .dp-brand img { height: 20px; }
.dp-cert-foot .dp-brand span { font-size: 13px; }

/* certificate */
.dp-cert { padding: 48px; }
.dp-frame {
  position: relative;
  height: 100%;
  padding: 44px 60px 40px;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px var(--gold);
  background: radial-gradient(circle at 50% 42%, #fffdf7 0, #fff 60%);
}
.dp-corner { position: absolute; width: 44px; height: 44px; border: 3px solid var(--gold); }
.dp-corner.tl { left: 14px; top: 14px; border-right: 0; border-bottom: 0; }
.dp-corner.tr { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.dp-corner.bl { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.dp-corner.br { right: 14px; bottom: 14px; border-left: 0; border-top: 0; }
.dp-emblem { position: absolute; left: 50%; top: 46%; width: 380px; height: auto; transform: translate(-50%, -50%); opacity: .045; pointer-events: none; }
.dp-no { font-size: 13px; color: var(--sub); }
.dp-cert-brand { display: flex; justify-content: center; margin-top: 18px; }
.dp-cert .dp-title { margin: 26px 0 36px; font-size: 58px; letter-spacing: .5em; text-indent: .5em; }
.dp-cert .dp-title::after { background: var(--gold); }
.dp-list {
  display: grid; gap: 6px;
  width: 460px; margin: 0 auto;
  font-family: "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
  font-size: 18px;
}
.dp-list div { display: flex; gap: 14px; }
.dp-list dt { width: 110px; font-weight: 700; text-align: justify; text-align-last: justify; }
.dp-list dt::after { content: ""; }
.dp-cert .dp-body { margin-top: 36px; }
.dp-items { width: 480px; margin: 26px auto 0; padding: 14px 22px; border: 1px solid #e3d6b5; border-radius: 4px; background: #fcf9f1; font-size: 14px; line-height: 1.8; }
.dp-items p { font-weight: 700; margin-bottom: 2px; color: #7a6230; }
.dp-items ol { list-style: decimal; padding-left: 20px; }
.dp-cert .dp-sign { margin-top: 34px; }

/* report */
.dp-report { padding: 56px 72px 110px; font-size: 14.5px; line-height: 1.75; }
.dp-report-cover { padding-top: 64px; }
.dp-cover { margin: 90px 0 70px; padding-left: 22px; border-left: 6px solid var(--navy-doc); }
.dp-cover-kicker { font-size: 14px; font-weight: 700; letter-spacing: .3em; color: var(--navy-doc); }
.dp-cover-title { margin-top: 8px; font-size: 38px; line-height: 1.3; font-weight: 700; }
.dp-cover-sub { margin-top: 8px; font-size: 18px; color: var(--sub); }
.dp-cover-pages { margin-top: 18px; font-size: 13px; color: var(--sub); text-align: right; }
.dp-rh { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding-bottom: 12px; margin-bottom: 22px; border-bottom: 2px solid var(--navy-doc); font-size: 12px; color: var(--sub); }
.dp-rh span:nth-child(2) { text-align: center; font-weight: 700; color: var(--ink); }
.dp-rf { position: absolute; left: 72px; right: 72px; bottom: 44px; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 11.5px; color: #8c939a; }
.dp-sec { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; font-size: 17px; font-weight: 700; color: var(--navy-doc); }
.dp-sec::before { content: ""; width: 4px; height: 16px; background: var(--navy-doc); }
.dp-text { color: #353a3f; word-break: keep-all; }
.dp-bullets { list-style: disc; padding-left: 20px; color: #353a3f; }
.dp-bullets li + li { margin-top: 4px; }
.dp-grid { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); border-top: 2px solid var(--ink); font-size: 13.5px; }
.dp-grid th, .dp-grid td { padding: 9px 12px; border: 1px solid var(--rule); text-align: left; }
.dp-grid th { background: #f4f6fa; font-weight: 700; }
.dp-bars { display: grid; gap: 11px; padding: 16px 18px; border: 1px solid var(--rule); }
.dp-bar { display: grid; grid-template-columns: 140px 1fr 40px; gap: 12px; align-items: center; font-size: 13.5px; }
.dp-bar i { height: 10px; background: #ecf0f4; overflow: hidden; }
.dp-bar b { display: block; height: 100%; background: var(--navy-doc); }
.dp-bar em { font-style: normal; font-weight: 700; text-align: right; }
.dp-report .dp-sign { margin-top: 24px; }
.dp-report .dp-issuer-name { font-size: 24px; }
.dp-report .dp-seal { width: 84px; right: -30px; }
.dp-report .dp-table { font-size: 14px; }
/* program result report */
.dp-grid td small { color: var(--sub); font-size: 12px; }
.dp-grid.is-keyed td:first-child { width: 150px; white-space: nowrap; }
.dp-quote { padding: 12px 16px; border-left: 3px solid var(--navy-doc); background: #f4f6fa; color: #353a3f; font-size: 14px; line-height: 1.75; white-space: pre-wrap; word-break: keep-all; }
.dp-quote + .dp-grid { margin-top: 10px; }
.dp-sub { margin: 10px 0 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.dp-note { margin-top: 8px; font-size: 12.5px; color: var(--sub); }
.dp-score { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 18px 22px; border: 1px solid var(--rule); border-top: 2px solid var(--ink); }
.dp-score strong { font-size: 52px; line-height: 1; font-weight: 700; color: var(--navy-doc); }
.dp-score span { margin-left: 4px; font-size: 15px; color: var(--sub); }
.dp-score p { margin-top: 6px; color: #353a3f; }
.dp-chip { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.dp-chip.is-high { background: #e3f4ec; color: #137a52; }
.dp-chip.is-mid { background: #ecf2fd; color: #0d3e9b; }
.dp-chip.is-low { background: #fdecec; color: #b3261e; }
.dp-cell-list { list-style: disc; padding-left: 16px; }
.dp-steps { display: grid; gap: 6px; list-style: none; padding: 14px 18px; border: 1px solid var(--rule); font-size: 13.5px; }
.dp-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.dp-steps b { color: var(--navy-doc); }

@media (max-width: 1024px) {
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .doc-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    gap: 12px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  .doc-grid::-webkit-scrollbar { display: none; }
  .doc-card { scroll-snap-align: start; }
  .doc-card:hover { transform: none; }
  .doc-modal { width: 100vw; max-width: 100vw; height: 100dvh; border-radius: 0; }
  .doc-page-nav { width: 38px; height: 38px; margin-top: -19px; }
  .doc-page-nav.prev { left: 6px; }
  .doc-page-nav.next { right: 6px; }
  .doc-modal-foot .btn { padding: 0 10px; font-size: 13px; }
}
