/* site-common.css (filtered from backup site-bundle.css; page styles moved to page-*.css) */

:root {

  --read-body-size: clamp(16.5px, 0.34vw + 15.2px, 19px);
  --read-line-height: 1.8;
  --read-letter-spacing: -0.007em;
  --read-measure: 68ch;
  --read-text: #1a1a1a;
  --read-muted: #777;
  --read-heading-size: clamp(1.82rem, 1.2vw + 1.35rem, 2.64rem);
  --read-subheading-size: clamp(1.3rem, 0.74vw + 1.05rem, 1.9rem);
  --header-h: 72px !important;
  --header-inline-pad: clamp(20px, 2.2vw, 34px);
}

/* ============================================================
   Readability: keyword highlight
   - Uses existing semantic tags (<strong>, <mark>)
   - Scoped to #main so nav/footer/buttons are not affected
   - Keep hero SEO footnote styling (later rules override)
   ============================================================ */
#main :where(mark, .hl, .text-highlight) {
  background: linear-gradient(180deg, transparent 55%, var(--brand-gold-soft) 0);
  color: inherit;
  padding: 0.08em 0.18em;
  border-radius: 0.28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Most pages already wrap key terms with <strong>.
   Apply highlight only in dense body text containers. */
#main :where(
  p,
  li,
  td,
  dd,
  .section-desc,
  .hero-summary,
  .case-result,
  .case-text,
  .overview-text,
  .faq-answer-inner,
  .answer,
  .consult-note
) strong {
  font-weight: 800;
  background: linear-gradient(180deg, transparent 55%, var(--brand-gold-soft) 0);
  color: inherit;
  padding: 0.08em 0.18em;
  border-radius: 0.28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Avoid highlighting inside compact UI chips/badges/buttons. */
#main :where(button, .btn, .cta-btn, .pill, .acc-badge, .hero-badge, .hero-attorney, .tag) strong {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* ============================================================
   SEO: H1-first hero intro helpers
   - Keep HTML order: h1 -> summary
   - Allow small kicker/badge to render above via flex `order`
   ============================================================ */
.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-intro > h1 {
  order: 2;
}
.hero-intro > .hero-summary {
  order: 2;
}
.hero-intro > .hero-actions {
  order: 3;
}
.hero-intro > .seo-lead {
  order: 4;
}
.hero-intro > .pill,
.hero-intro > .hero-badge,
.hero-intro > [class*='kicker'] {
  order: 1;
}
.hero-intro > .hero-attorney {
  order: 2;
}

.hero-attorney {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(226, 232, 240, 0.88);
  margin-top: 14px;
}

.hero-attorney__img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.22);
}

.hero-attorney__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  line-height: 1.25;
}

.hero-attorney__name {
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-attorney__meta {
  font-size: 13px;
  color: rgba(203, 213, 225, 0.78);
}

@media (max-width: 640px) {
  .hero-attorney {
    padding: 9px 12px;
    border-radius: 16px;
    width: min(520px, 100%);
    justify-content: center;
    text-align: center;
  }

  .hero-attorney__text {
    text-align: center;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

/* Desktop: keep hero intros centered by default.
   Page-specific layouts can override this as needed. */
@media (min-width: 641px) {
  .inner.hero-intro {
    align-items: center;
    text-align: center;
  }

  .inner.hero-intro .hero-actions {
    justify-content: center;
  }

  .inner.hero-intro .seo-tags {
    justify-content: center;
  }
}

.hero-actions .btn {
  padding: 12px 22px !important;
  font-size: 14px !important;
  border-radius: 10px !important;
}

@media (max-width: 640px) {
  .hero-actions {
    width: min(520px, 100%);
  }
  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero-intro > :where(.pill, .hero-badge, [class*='kicker']) {
    font-size: 11.5px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    letter-spacing: 0.14em !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.35);
  }
}

/* SEO lead: hero summary block
   - Readable on both desktop/mobile
   - Low-specificity selector so page CSS can override easily */
.hero-intro :where(.seo-lead) {
  max-width: min(74ch, 100%);
  margin: 14px auto 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: rgba(226, 232, 240, 0.70) !important;
  font-size: clamp(13.5px, 0.22vw + 13px, 15.5px);
  line-height: 1.75;
  text-align: center;
}
.hero-intro :where(.seo-lead) strong,
#main :where(.seo-lead) strong {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
  background: none;
  padding: 0;
  border-radius: 0;
}
.hero-intro :where(.seo-lead) p {
  max-width: none;
  margin: 0;
}
.hero-intro :where(.seo-lead) p + p {
  margin-top: 5px;
}

@media (max-width: 640px) {
  .hero-intro :where(.seo-lead) {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.72;
    color: rgba(226, 232, 240, 0.66);
  }
}

/* Hero summary: keep subtle (no card) for legacy markup (e.g., home) */
.hero-summary {
  width: min(64ch, 100%);
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(203, 213, 225, 0.78);
  font-size: 13px;
  line-height: 1.65;
}
.hero-summary p { margin: 0; }

/* ============================================================
   Hero: success-cases style (shared)
   - Apply to <section> via class="... hero--cases"
   - Keeps existing layout/padding from page CSS
   ============================================================ */
.hero--cases {
  background: var(--navy) !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero--cases :where(.inner, .container, .hero__inner) {
  position: relative;
  z-index: 1;
}
.hero--cases .hero-intro {
  text-align: center;
}
.hero--cases :where(h1, .hero-title, [class*='hero-title'], .title) {
  color: #fff !important;
}
.hero--cases :where(.pill, .hero-badge, [class*='kicker']) {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold-light) !important;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

@media (max-width: 640px) {
  .hero--cases :where(.pill, .hero-badge, [class*='kicker']) {
    font-size: 11.5px !important;
    padding: 8px 14px !important;
    letter-spacing: 0.14em !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.35);
  }
}

/* ============================================================
   Footer: related links box
   ============================================================ */
.ksl-related-links {
  max-width: var(--max-width, 1100px);
  margin: 26px auto 0;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(184, 146, 74, 0.18);
  background: rgba(255, 255, 255, 0.04);
}
.ksl-related-links__title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light) !important;
}
.ksl-related-links__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ksl-related-links__grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.92) !important;
}
.ksl-related-links__grid a:hover {
  background: rgba(184, 146, 74, 0.12) !important;
  border-color: rgba(184, 146, 74, 0.25) !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .ksl-related-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── SEO 키워드 레이블: 인라인 구분자 방식 ──────────────────────────
   박스 없음 / 점(·) 구분자 / 대문자 / 10px / 낮은 불투명도
   ──────────────────────────────────────────────────────────────────── */
.seo-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.5);
}
.seo-tags li + li::before {
  content: "·";
  padding: 0 6px;
  color: rgba(255, 255, 255, 0.18);
  font-weight: 400;
  letter-spacing: 0;
}
.seo-structure-block {

  margin: 56px auto 0;
  padding: 0 var(--header-inline-pad, 20px);
}
.seo-structure-block .seo-structure-inner {

  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background:
    radial-gradient(900px 240px at 18% 0%, rgba(216, 176, 76, 0.16), transparent 60%),
    radial-gradient(780px 240px at 92% 20%, rgba(15, 23, 42, 0.10), transparent 55%),
    #ffffff;
  box-shadow: 0 18px 56px rgba(2, 6, 23, 0.08);
  padding: 30px 26px;
}
.seo-structure-block .seo-structure-inner::before {

  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 176, 76, 0), rgba(216, 176, 76, 0.95), rgba(241, 196, 83, 0.75), rgba(216, 176, 76, 0));
  opacity: 0.9;
}
.seo-structure-block .seo-head {

  position: relative;
  max-width: 86ch;
}
.seo-structure-block .seo-kicker {

  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.92);
}
.seo-structure-block .seo-kicker::before {

  content: "";
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0a1628, #1c3254);
  box-shadow: 0 10px 24px rgba(10, 22, 40, 0.18);
}
.seo-structure-block h2 {

  margin: 10px 0 10px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #061029;
}
.seo-structure-block p {

  margin: 0;
  color: #334155;
  line-height: 1.8;
  font-size: 16px;
  word-break: keep-all;
}
.seo-structure-block .seo-lead {

  color: #334155;
}
.seo-structure-block .seo-grid {

  margin-top: 18px;
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
.seo-structure-block .seo-grid {

    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}
}
.seo-structure-block .seo-panel {

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}
.seo-structure-block h3 {

  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #0b1c3d;
}
.seo-structure-block .seo-links {

  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 560px) {
.seo-structure-block .seo-links {

    grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
.seo-structure-block .seo-links a {

  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #0b1c3d;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.03);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.seo-structure-block .seo-links a::after {

  content: ">";
  opacity: 0.55;
  font-weight: 900;
}
.seo-structure-block .seo-links a:hover {

  transform: translateY(-1px);
  border-color: rgba(216, 176, 76, 0.70);
  background: rgba(216, 176, 76, 0.10);
  color: #061029;
}
.seo-structure-block .seo-faq-list {

  margin: 0;
}
.seo-structure-block .seo-faq-list dt {

  margin: 10px 0 0;
  padding: 14px 14px 10px 46px;
  font-weight: 900;
  color: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  background: rgba(255, 255, 255, 0.86);
  position: relative;
}
.seo-structure-block .seo-faq-list dt::before {

  content: "Q";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(216, 176, 76, 0.20);
  color: rgba(124, 92, 18, 0.95);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}
.seo-structure-block .seo-faq-list dd {

  margin: 0 0 12px;
  padding: 0 14px 14px 46px;
  color: #334155;
  line-height: 1.75;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-top: none;
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, 0.86);
}
.seo-structure-block .seo-atglance {

  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.seo-structure-block .seo-atglance-cards {

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 760px) {
.seo-structure-block .seo-atglance-cards {

    grid-template-columns: 1fr;
}
}
.seo-structure-block .seo-atglance-card {

  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}
.seo-structure-block .seo-atglance-card .icon {

  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(216, 176, 76, 0.26), rgba(216, 176, 76, 0.10));
  color: rgba(124, 92, 18, 0.95);
  flex: 0 0 auto;
  box-shadow: 0 12px 28px rgba(216, 176, 76, 0.16);
}
.seo-structure-block .seo-atglance-card .title {

  font-weight: 950;
  color: #0b1c3d;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.seo-structure-block .seo-atglance-card .desc {

  margin: 6px 0 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.65;
}
.seo-structure-block .seo-mini-timeline {

  margin: 0;
  padding: 16px 14px;
  list-style: none;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  position: relative;
}
.seo-structure-block .seo-mini-timeline::before {

  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 46px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 176, 76, 0.35), rgba(15, 23, 42, 0.10), rgba(216, 176, 76, 0.35));
  opacity: 0.85;
  pointer-events: none;
}
.seo-structure-block .seo-mini-timeline li {

  flex: 0 0 auto;
  min-width: 160px;
  scroll-snap-align: start;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.06);
}
.seo-structure-block .seo-mini-timeline .step {

  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  color: #0b1c3d;
  letter-spacing: -0.01em;
}
.seo-structure-block .seo-mini-timeline .num {

  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(216, 176, 76, 0.20);
  color: rgba(124, 92, 18, 0.95);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.seo-structure-block .seo-mini-timeline .t-desc {

  margin-top: 7px;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}
.seo-structure-block .seo-longform-details {

  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.30);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  overflow: hidden;
}
.seo-structure-block .seo-longform-details > summary {

  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  color: #0b1c3d;
  font-weight: 950;
}
.seo-structure-block .seo-longform-details > summary::-webkit-details-marker {

  display: none;
}
.seo-structure-block .seo-longform-details > summary .summary-main {

  font-size: 15px;
  letter-spacing: -0.01em;
}
.seo-structure-block .seo-longform-details > summary .summary-sub {

  grid-column: 1 / 2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.98);
}
.seo-structure-block .seo-longform-details > summary i {

  grid-column: 2 / 3;
  grid-row: 1 / 3;
  opacity: 0.75;
  transition: transform 0.16s ease;
}
.seo-structure-block .seo-longform-details[open] > summary i {

  transform: rotate(180deg);
}
.seo-structure-block .seo-longform-details .seo-longform {

  margin-top: 0;
  padding: 16px 16px 18px;
  border-top: 1px dashed rgba(148, 163, 184, 0.40);
}
@media (max-width: 640px) {
.seo-structure-block .seo-longform-details > summary {

    padding: 14px 14px;
}
.seo-structure-block .seo-longform-details .seo-longform {

    padding: 14px 14px 16px;
}
.seo-structure-block .seo-mini-timeline {

    padding: 14px 12px;
}
.seo-structure-block .seo-mini-timeline li {

    min-width: 150px;
}
}
.seo-structure-block .seo-longform {

  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(148, 163, 184, 0.40);
}
.seo-structure-block .seo-longform h3 {

  margin: 22px 0 10px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #0b1c3d;
}
.seo-structure-block .seo-longform h3:first-child {

  margin-top: 0;
}
.seo-structure-block .seo-longform p {

  margin: 12px 0 0;
  max-width: 88ch;
}
.seo-structure-block .seo-longform p:first-of-type {

  margin-top: 0;
}
.seo-structure-block .seo-proof,
.seo-structure-block .seo-bullets {

  margin: 12px 0 0;
  padding-left: 18px;
  list-style-position: outside;
  color: #334155;
  line-height: 1.75;
}
.seo-structure-block .seo-proof {

  list-style: decimal;
}
.seo-structure-block .seo-bullets {

  list-style: disc;
}
.seo-structure-block .seo-proof li,
.seo-structure-block .seo-bullets li {

  margin: 8px 0;
}
.seo-structure-block .seo-proof b {

  color: #0b1c3d;
}
.seo-structure-block .seo-steps {

  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.seo-structure-block .seo-steps li {

  padding: 14px 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  color: #334155;
  line-height: 1.65;
}
.seo-structure-block .seo-steps b {

  color: #0b1c3d;
}
.seo-structure-block .seo-soft-cta {

  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(216, 176, 76, 0.35);
  background:
    radial-gradient(600px 180px at 12% 0%, rgba(216, 176, 76, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.02);
}
.seo-structure-block .seo-soft-cta p {

  margin: 0;
  max-width: 88ch;
}
.seo-structure-block .seo-soft-cta strong {

  color: #0f172a;
}
.seo-structure-block .seo-cta-actions {

  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.seo-structure-block .seo-cta {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.03);
  color: #0b1c3d;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.seo-structure-block .seo-cta.primary {

  border: none;
  background: linear-gradient(135deg, #0a1628, #1c3254);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.14);
}
.seo-structure-block .seo-cta:hover {

  transform: translateY(-1px);
  border-color: rgba(10, 22, 40, 0.18);
  background: rgba(10, 22, 40, 0.06);
  color: #0a1628;
}
.seo-structure-block .seo-cta.primary:hover {

  transform: translateY(-1px);
  filter: brightness(1.02);
}
@media (max-width: 640px) {
.seo-structure-block .seo-longform {

    margin-top: 16px;
    padding-top: 16px;
}
.seo-structure-block .seo-longform h3 {

    margin-top: 18px;
}
.seo-structure-block .seo-cta {

    flex: 1 1 100%;
}
}
@media (max-width: 640px) {
.seo-structure-block {

    margin-top: 44px;
}
.seo-structure-block .seo-structure-inner {

    padding: 24px 18px;
}
.seo-structure-block .seo-panel {

    padding: 16px;
}
.seo-structure-block h3 {

    font-size: 17px;
}
}
@media (max-width: 992px) {
body.has-fixed-cta {

    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
}
.fixed-cta-bar {

    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    bottom: 0 !important;
    border-radius: 0 !important;
    background: #050b18 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.fixed-cta-inner {

    display: flex !important;
    gap: 0 !important;
    padding: 0 !important;
}
.fixed-cta-inner > * {

    flex: 1 1 0 !important;
    min-width: 0 !important;
}
.fixed-cta-bar .cta-btn {

    flex-direction: row !important;
    gap: 8px !important;
    padding: 12px 0 !important;
    min-height: 66px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
}
.fixed-cta-bar .cta-icon {

    width: 22px !important;
    height: 22px !important;
    font-size: 12px !important;
}
.fixed-cta-bar .cta-label-main {

    font-size: 13px !important;
    line-height: 1.15 !important;
}
.fixed-cta-bar .cta-label-sub {

    font-size: 11px !important;
    line-height: 1.25 !important;
}
.fixed-cta-bar .cta-dropdown a,
  .fixed-cta-bar #ctaFaqBox a {

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}
}
@media (max-width: 360px) {
.fixed-cta-bar .cta-btn {

    font-size: 12px !important;
}
.fixed-cta-bar .cta-icon {

    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
}
}
html {

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {

  font-size: var(--read-body-size) !important;
  line-height: var(--read-line-height) !important;
  letter-spacing: var(--read-letter-spacing) !important;
  color: var(--read-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.site-header {

  height: var(--header-h) !important;
}
.header-inner {

  padding: 0 var(--header-inline-pad) !important;
}
.logo-img {

  height: 38px !important;
}
.logo-main {

  font-size: 19px !important;
}
.logo-sub {

  font-size: 12px !important;
}
@media (max-width: 992px) {
:root {

    --header-h: 72px !important;
    --header-inline-pad: 16px;
}
.logo-img {

    height: 34px !important;
}
.logo-main {

    font-size: 18px !important;
}
}
main {

  isolation: isolate;
  color: var(--read-text);
}
main section {

  scroll-margin-top: calc(var(--header-h, 70px) + 18px);
  position: relative;
}
main h1,
main h2,
main h3,
main h4 {

  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
main p,
main li,
main dd {

  line-height: max(1.72, var(--read-line-height));
  overflow-wrap: anywhere;
}
main p {

  max-width: var(--read-measure);
  text-wrap: pretty;
}
main .hero-title,
main .section-title,
main .sec-title {

  font-size: var(--read-heading-size);
  line-height: 1.22;
  letter-spacing: -0.024em;
}
main .hero-sub,
main .hero-desc,
main .section-sub,
main .sec-sub {

  max-width: min(78ch, 100%);
  font-size: clamp(1rem, 0.28vw + 0.95rem, 1.14rem);
  line-height: 1.82;
}
main p + p {

  margin-top: 0.9em;
}
.intro-text {

  text-align: left !important;
}
main .overview-text,
main .highlight-box,
main .step-desc {

  font-size: clamp(15px, 0.22vw + 14.6px, 16.5px) !important;
  line-height: 1.85 !important;
}
main .acc-badge {

  font-size: 11px !important;
}
main li + li {

  margin-top: 0.28em;
}
main input,
main select,
main textarea,
main button {

  font: inherit;
}
main input,
main select,
main textarea {

  font-size: 16px;
  line-height: 1.55;
}
main table {

  width: 100%;
  border-collapse: collapse;
}
main th,
main td {

  vertical-align: middle;
  line-height: 1.6;
}
main th {

  font-weight: 700;
  color: #0b132a;
  background: rgba(4, 13, 34, 0.04);
}
main td {

  color: #1e293b;
}
main a {

  text-underline-offset: 0.16em;
}
main :where(p, li, dd, dt) a {

  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-decoration-color: rgba(184, 146, 74, 0.55);
  text-decoration-skip-ink: auto;
}
main :where(p, li, dd, dt) a:hover {

  text-decoration-color: rgba(184, 146, 74, 0.85);
}
@supports (text-wrap: balance) {
main h1,
  main h2,
  main h3 {

    text-wrap: balance;
}
}
.reading-progress {

  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  z-index: 20000;
  pointer-events: none;
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, #0a1628 0%, #1c3254 100%);
  box-shadow: 0 0 14px rgba(10, 22, 40, 0.18);
}
.js-motion .reveal-item {

  --reveal-x: 0px;
  --reveal-y: 26px;
  --reveal-scale: 0.985;
  --reveal-rotate: 0deg;
  --reveal-blur: 5px;
  --reveal-duration: 0.92s;
  --reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale)) rotate(var(--reveal-rotate));
  filter: blur(var(--reveal-blur));
  will-change: transform, opacity, filter;
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease),
    filter var(--reveal-duration) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-motion .reveal-item.is-visible {

  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: blur(0);
}

/* Motion presets: mix & match by adding classes */
.js-motion .reveal-item.reveal--up { --reveal-y: 26px; }
.js-motion .reveal-item.reveal--fade { --reveal-y: 0px; --reveal-blur: 0px; --reveal-scale: 1; }
.js-motion .reveal-item.reveal--left { --reveal-x: -22px; --reveal-y: 10px; --reveal-blur: 6px; }
.js-motion .reveal-item.reveal--right { --reveal-x: 22px; --reveal-y: 10px; --reveal-blur: 6px; }
.js-motion .reveal-item.reveal--zoom { --reveal-y: 18px; --reveal-scale: 0.965; --reveal-blur: 7px; }
.js-motion .reveal-item.reveal--tilt { --reveal-y: 18px; --reveal-rotate: -1.2deg; --reveal-blur: 6px; }
.js-motion .reveal-item.reveal--soft { --reveal-duration: 1.2s; --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1); }
.js-motion .reveal-item.reveal--slow { --reveal-duration: 1.55s; }
.js-motion .reveal-item.reveal--snappy { --reveal-duration: 0.58s; --reveal-ease: cubic-bezier(0.2, 0.9, 0.2, 1); }

/* Subtle infinite motion (apply only to selected elements via JS) */
@keyframes ksl-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
@keyframes ksl-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(10px, -6px, 0); }
}
@keyframes ksl-breathe {
  0%, 100% { transform: scale(1); }
  55% { transform: scale(1.02); }
}
.motion-ready .motion-float { animation: ksl-float 7.6s ease-in-out infinite; will-change: transform; }
.motion-ready .motion-drift { animation: ksl-drift 12.5s ease-in-out infinite; will-change: transform; }
.motion-ready .motion-breathe { animation: ksl-breathe 9.5s ease-in-out infinite; will-change: transform; }
:focus-visible {

  outline: 2px solid rgba(28, 50, 84, 0.55);
  outline-offset: 2px;
  border-radius: 10px;
}
.skip-link {

  position: fixed;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(6, 16, 41, 0.95);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  z-index: 100000;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.18s ease;
}
.skip-link:focus {

  transform: translateY(0);
}
.motion-ready .nav-cta,
.motion-ready .desktop-right-cta-btn.primary,
.motion-ready .fixed-cta-bar .cta-btn:first-child {

  animation: cta-pulse 4.8s ease-in-out infinite;
}
.motion-ready .nav-cta:hover,
.motion-ready .desktop-right-cta-btn.primary:hover,
.motion-ready .fixed-cta-bar .cta-btn:first-child:hover {

  animation-play-state: paused;
}
@keyframes cta-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(184, 146, 74, 0.00), 0 8px 20px rgba(184, 146, 74, 0.18);
  }
  48% {
    box-shadow: 0 0 0 10px rgba(184, 146, 74, 0.00), 0 12px 30px rgba(184, 146, 74, 0.30);
  }
}
@media (prefers-reduced-motion: reduce) {
.skip-link {

    transition: none;
}
.reading-progress {

    display: none;
}
.js-motion .reveal-item,
  .js-motion .reveal-item.is-visible {

    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}
html:focus-within {

    scroll-behavior: auto !important;
}
*,
  *::before,
  *::after {

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}
}
@media (max-width: 640px) {
main {

    line-height: 1.74;
}
main p,
  main li,
  main dd {

    line-height: 1.74;
}
main .hero-title,
  main .section-title,
  main .sec-title {

    font-size: clamp(1.48rem, 4.8vw, 2rem);
}
}
.ksl-footer-policy-links {

  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ksl-footer-policy-links__btn {

  appearance: none;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ksl-footer-policy-links__btn:hover {

  color: #e2e8f0;
}
.ksl-policy-modal {

  position: fixed;
  inset: 0;
  z-index: 11000;
}
.ksl-policy-modal__overlay {

  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(3px);
}
.ksl-policy-modal__dialog {

  position: relative;
  width: min(760px, calc(100% - 28px));
  margin: clamp(24px, 8vh, 74px) auto 0;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: linear-gradient(180deg, #04112b 0%, #050b18 100%);
  box-shadow: 0 36px 72px rgba(2, 6, 23, 0.55);
  color: #f8fafc;
  outline: none;
}
.ksl-policy-modal__head {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}
.ksl-policy-modal__title {

  margin: 0;
  color: #f8fafc;
  font-size: clamp(18px, 1vw + 14px, 24px);
  line-height: 1.3;
}
.ksl-policy-modal__close {

  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.44);
  background: rgba(30, 41, 59, 0.52);
  color: #f8fafc;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.ksl-policy-modal__body {

  max-height: min(72vh, 640px);
  overflow: auto;
  padding: 20px;
}
.ksl-policy-list {

  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #e2e8f0;
  line-height: 1.7;
  font-size: 14px;
}
.ksl-policy-lawyer {

  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.72);
  padding: 13px 14px;
  color: #f8fafc;
  font-size: 14px;
  line-height: 1.7;
}
.ksl-policy-note {

  margin: 14px 0 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.65;
}
body.ksl-policy-open {

  overflow: hidden;
}
.ksl-desk-dock {

  display: none;
}
@media (min-width: 993px) {
body.has-ksl-desk-dock {

    padding-bottom: 102px !important;
}
body.has-fixed-cta.has-ksl-desk-dock {

    padding-bottom: 102px !important;
}
.ksl-desk-dock {

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10010;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(90deg, rgba(2, 8, 24, 0.97) 0%, rgba(4, 13, 34, 0.96) 100%);
    box-shadow: 0 -18px 38px rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(12px);
    font-family: "Pretendard Variable", "Pretendard", "SUIT", "Noto Sans KR", sans-serif;
}
.ksl-desk-dock__lead {

    display: grid;
    gap: 4px;
    min-width: 0;
}
.ksl-desk-dock__title {

    color: #f8fafc;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.ksl-desk-dock__sub {

    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.35;
}
.ksl-desk-dock__field {

    display: grid;
    gap: 5px;
    min-width: 0;
}
.ksl-desk-dock__field > span {

    color: #cbd5e1;
    font-size: 11px;
    font-weight: 700;
}
.ksl-desk-dock__field select,
  .ksl-desk-dock__field input {

    width: 100%;
    min-width: 0;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.86);
    color: #f8fafc;
    padding: 0 11px;
    font-size: 14px;
}
.ksl-desk-dock__field select:focus,
  .ksl-desk-dock__field input:focus {

    border-color: rgba(184, 146, 74, 0.5);
    box-shadow: 0 0 0 2px rgba(184, 146, 74, 0.15);
    outline: none;
}
.ksl-desk-dock__actions {

    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px;
    align-items: center;
    min-width: 0;
}
.ksl-desk-dock__consent {

    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.ksl-desk-dock__policy {

    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.44);
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    border-radius: 10px;
    height: 38px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.ksl-desk-dock__submit {

    appearance: none;
    border: 0;
    background: linear-gradient(135deg, #0a1628, #1c3254);
    color: #ffffff;
    border-radius: 10px;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.14);
}
.ksl-desk-dock__submit:disabled {

    opacity: 0.72;
    cursor: default;
}
.ksl-desk-dock__status {

    margin: 0;
    grid-column: 1 / -1;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.4;
}
.ksl-desk-dock__status[data-tone="error"] {

    color: #fecaca;
}
.ksl-desk-dock__status[data-tone="success"] {

    color: #bbf7d0;
}
}
@media (max-width: 479px) {
.fixed-cta-bar .cta-btn {

    font-size: 12px !important;
}
.fixed-cta-bar .cta-label-main {

    font-size: 12px !important;
}
}
@media (max-width: 768px) {
.fixed-cta-bar .cta-btn {

    flex-direction: row !important;
    gap: 6px !important;
    padding: 12px 0 !important;
    min-height: 56px !important;
    font-size: 12.5px !important;
    line-height: 1.15 !important;
}
.fixed-cta-bar .cta-label-main {

    font-size: 12.5px !important;
    line-height: 1.15 !important;
}
.fixed-cta-bar .cta-icon {

    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
}
}
@media (min-width: 993px) and (max-width: 1440px) {
.desktop-right-cta {

    right: 10px !important;
}
.desktop-right-cta-btn {

    min-width: 148px !important;
    padding: 10px 10px !important;
    border-radius: 10px !important;
}
.desktop-right-cta-text .main {

    font-size: 12px !important;
}
.desktop-right-cta-text .sub {

    font-size: 10px !important;
}
.desktop-right-cta-btn i {

    font-size: 16px !important;
    width: 18px !important;
}
}
@media (max-width: 640px) {
.acc-panel-inner {

    padding: 8px 0 22px 0 !important;
}
.highlight-box {

    padding: 18px 16px !important;
    font-size: 15px !important;
    line-height: 1.78 !important;
    border-radius: 14px !important;
}
}
@media (max-width: 640px) {
main > section + section {

    margin-top: 0;
}
[class*="-hero"] {

    padding-bottom: 72px !important;
}
.hero {

    padding-top: 100px !important;
    padding-bottom: 140px !important;
}
.hero-content .btn-group {

    flex-direction: column !important;
    gap: 10px !important;
}
.hero-content .btn {

    width: 100% !important;
    height: auto !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
}
}
@media (max-width: 640px) {
.footer-contact {

    font-size: 13px !important;
    line-height: 1.95 !important;
}
.footer-quick a {

    padding: 10px 12px !important;
    font-size: 13px !important;
    border-radius: 10px;
}
.footer-notice {

    font-size: 11px !important;
    line-height: 1.85 !important;
    padding: 0 4px;
}
.footer-bottom {

    font-size: 11px !important;
    gap: 6px !important;
}
}
@media (min-width: 993px) {
main p {

    max-width: min(var(--read-measure, 72ch), 100%);
}
.inner,
  [class*="-wrap"] > .inner {

    max-width: min(var(--max-width, 1100px), calc(100% - 40px));
}
}
@media (max-width: 640px) {
.process-item,
  .step-item {

    padding: 16px 14px !important;
}
.process-item h4,
  .step-item h4 {

    font-size: 15px !important;
}
}
@media (max-width: 640px) {
.stat-item,
  .benefit-item {

    padding: 16px 12px !important;
    text-align: center;
}
.stat-item h3,
  .stat-item .stat-value {

    font-size: clamp(20px, 5vw, 28px) !important;
    word-break: keep-all;
}
}
@media (max-width: 640px) {
.hero-content h1 {

    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.3 !important;
    word-break: keep-all;
}
.hero-content p {

    font-size: 15px !important;
    line-height: 1.72 !important;
}
.section-title {

    font-size: clamp(24px, 6vw, 32px) !important;
    line-height: 1.3 !important;
}
.section-desc {

    font-size: 15px !important;
    line-height: 1.72 !important;
}
.section-header {

    margin-bottom: 40px !important;
}
.section-py {

    padding: 60px 0 !important;
}
}
@media (max-width: 960px) {
.hero-content h1 {

    font-size: clamp(28px, 5.5vw, 42px) !important;
    line-height: 1.28 !important;
}
.section-title {

    font-size: clamp(26px, 4.5vw, 36px) !important;
}
}
@media (max-width: 640px) {
.stats-grid {

    padding: 28px 20px !important;
    gap: 0 !important;
    border-radius: 20px !important;
}
.stat-num {

    font-size: clamp(28px, 7vw, 38px) !important;
}
}
@media (max-width: 640px) {
.review-card {

    padding: 22px !important;
}
.cta-section {

    margin: 0 12px 40px !important;
    padding: 50px 20px !important;
    border-radius: 20px !important;
}
}
@media (max-width: 640px) {
.sub-nav-inner {

    gap: 0 !important;
}
.sub-nav-inner a {

    font-size: 13px !important;
    padding: 10px 12px !important;
    white-space: nowrap;
}
}
@media (max-width: 640px) {
.main-card {

    margin: -60px 12px 0 !important;
    padding: 24px 16px !important;
    border-radius: 18px !important;
}
.hero-area {

    padding: 60px 16px 100px !important;
}
.hero-title {

    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.3 !important;
}
}
@media (prefers-reduced-motion: no-preference) {
html {

    scroll-behavior: smooth;
}
html:focus-within {

    scroll-behavior: smooth;
}
}
@media (max-width: 768px) {
:root {

    --read-body-size: 16.5px;
    --read-line-height: 1.82;
    --read-letter-spacing: -0.003em;
    --read-measure: 60ch;
}
body {

    overflow-x: hidden;
}
main p {

    max-width: 100%;
}
img,
  svg,
  video {

    max-width: 100%;
    height: auto;
}
a,
  button,
  [role="button"] {

    touch-action: manipulation;
}
.btn,
  .cta-btn {

    padding: 14px 18px !important;
}
.fixed-cta-bar .cta-btn {

    padding: 12px 0 !important;
}
.menu-toggle {

    width: 44px !important;
    height: 44px !important;
}
.nav-link {

    padding: 16px 20px !important;
}
.sub-menu a {

    padding: 12px 20px !important;
}
main input,
  main select,
  main textarea {

    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 12px;
}
main textarea {

    min-height: 120px;
}
.gnb {

    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
}
body.has-fixed-cta {

    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
}
.fixed-cta-bar .cta-btn {

    min-height: 56px;
}
.fixed-cta-bar .cta-label-sub {

    display: none;
}
}
:root {

  --navy: #0a0f1e !important;
  --navy-mid: #141b2d !important;
  --navy-light: #1e2a3f !important;
  --gold: #1c3254 !important;
  --gold-light: #2a4b7a !important;
  --gold-dark: #0a1628 !important;
  --gold-muted: rgba(28, 50, 84, 0.12) !important;
  --gold-hover: #2a4b7a !important;
  --text-primary: #1a1a1a !important;
  --text-secondary: #4a4a4a !important;
  --text-muted: #777 !important;
  --text-light: #999 !important;
  --text-main: var(--text-primary) !important;
  --text-sub: var(--text-secondary) !important;
  --text-body: var(--text-secondary) !important;
  --text-title: var(--navy) !important;
  --bg-page: #ffffff !important;
  --bg: var(--bg-page) !important;
  --bg-warm: #f8fafc !important;
  --bg-cool: #f1f5f9 !important;
  --bg-white: #ffffff !important;
  --bg-card: #ffffff !important;
  --bg-surface: var(--bg-warm) !important;
  --border-light: #e2e8f0 !important;
  --border-subtle: #edf2f7 !important;
  --border: var(--border-light) !important;
  --header-h: 72px !important;
  --max-width: 1080px !important;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  --font-serif: "Noto Serif KR", "Batang", serif !important;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
  --shadow-card: var(--shadow-md) !important;
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.10) !important;
  --shadow-gold: 0 10px 26px rgba(2, 6, 23, 0.14) !important;
  --radius-card: 20px !important;
  --radius-md: 14px !important;
  --radius-lg: 24px !important;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  --primary-deep: var(--navy) !important;
  --primary-main: var(--navy-mid) !important;
  --primary-light: #334155 !important;
  --gold-main: var(--gold) !important;
  --gold-gradient: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  --brand-gold: var(--gold) !important;
  --brand-gold-soft: var(--gold-muted) !important;
  --brand-ink: var(--navy) !important;
  --brand-ink-soft: rgba(10, 15, 30, 0.08) !important;
  --line-hero: rgba(255, 255, 255, 0.12) !important;
  --line-soft: var(--border-subtle) !important;
  --surface-main: var(--bg-card) !important;
  --surface-alt: var(--bg-warm) !important;
  --success: #1f8b5a !important;
  --warning: #b45309 !important;
  --accent-gold: var(--gold) !important;
  --accent-gold-light: var(--gold-light) !important;
  --primary-dark: var(--navy) !important;
  --cases-navy: var(--navy) !important;
  --cases-gold: var(--gold) !important;
  --cases-gold-light: var(--gold-light) !important;
  --cases-bg: var(--bg-page) !important;
  --cases-text-main: var(--text-primary) !important;
  --cases-text-sub: var(--text-secondary) !important;
  --cases-text-muted: var(--text-muted) !important;
  --cases-border: var(--border-light) !important;
  --cases-radius-card: var(--radius-card) !important;
  --cases-shadow-card: var(--shadow-md) !important;
  --cases-shadow-active: var(--shadow-lg) !important;
  --ksl-bg: var(--bg-page) !important;
  --ksl-text: var(--text-primary) !important;
  --ksl-sub: var(--text-secondary) !important;
  --ksl-navy: var(--navy) !important;
  --ksl-navy-soft: var(--navy-light) !important;
  --ksl-gold: var(--gold) !important;
}
* {

  box-sizing: border-box;
}
img,
video {

  max-width: 100%;
  height: auto;
}
html {

  scroll-behavior: smooth;
}
body {

  margin: 0 !important;
  font-family: var(--font-sans) !important;
  padding-top: var(--header-h) !important;
  background: var(--bg-page) !important;
  color: var(--text-primary) !important;
  overflow-x: hidden !important;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {

  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul,
li {

  list-style: none;
  padding: 0;
  margin: 0;
}
button {

  cursor: pointer;
  border: none;
  font-family: inherit;
  background: none;
}
.site-header {

  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  height: var(--header-h) !important;
  border-bottom: 1px solid rgba(184, 146, 74, 0.12) !important;
  box-shadow: 0 4px 20px rgba(10, 15, 30, 0.04) !important;
}
.header-inner {

  max-width: var(--max-width) !important;
  padding: 0 24px !important;
  height: 100% !important;
}
.logo-img {

  height: 38px !important;
}
.logo-main {

  font-family: var(--font-serif) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--navy) !important;
}
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-content h1,
.sol-title,
.review-card p::before {

  font-family: var(--font-sans) !important;
}
.logo-sub {

  font-size: 11px !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.06em !important;
  font-weight: 500 !important;
}
.footer-logo-main,
.footer-col h4 {

  font-family: var(--font-serif) !important;
}
.gnb {

  gap: 18px !important;
}
.nav-list {

  gap: 2px !important;
}
.nav-link {

  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  padding: 6px 12px !important;
  letter-spacing: -0.01em !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}
.nav-link::after {

  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 50% !important;
  right: auto !important;
  width: 22px !important;
  height: 2px !important;
  background: var(--gold) !important;
  transform: translateX(-50%) scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 0.3s ease !important;
  border-radius: 999px !important;
}
.nav-link:hover {

  color: var(--navy) !important;
  font-weight: 600 !important;
  background: rgba(184, 146, 74, 0.06) !important;
}
.nav-link:hover::after,
.nav-link.active::after {

  transform: translateX(-50%) scaleX(1) !important;
}
.nav-link.active {

  color: var(--navy) !important;
  font-weight: 700 !important;
}
.sub-menu {

  background: #fff !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 48px rgba(10, 15, 30, 0.12) !important;
  border: 1px solid rgba(184, 146, 74, 0.12) !important;
  min-width: 170px !important;
  padding: 6px !important;
}
.sub-menu a {

  padding: 10px 16px !important;
  font-size: 14px !important;
  color: var(--text-secondary) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
}
.sub-menu a:hover {

  background: rgba(184, 146, 74, 0.08) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.sub-menu a.is-external {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-weight: 900 !important;
  color: var(--navy) !important;
  background: rgba(28, 50, 84, 0.08) !important;
  border: 1px solid rgba(28, 50, 84, 0.16) !important;
}
.sub-menu a[href*="kimsungilcorp.com"] {
  font-weight: 900 !important;
}

.sub-menu a.is-external:hover {
  background: rgba(28, 50, 84, 0.12) !important;
  border-color: rgba(28, 50, 84, 0.22) !important;
}

.sub-menu a.is-external .nav-ext {
  font-size: 12px;
  opacity: 0.9;
  flex: 0 0 auto;
}
.nav-cta {

  padding: 10px 22px !important;
  height: auto !important;
  border-radius: 999px !important;
  background: var(--gold-gradient) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.14) !important;
  border: none !important;
}
.nav-link.nav-cta {
  color: #fff !important;
}
.nav-item-cta .nav-link::after {
  display: none !important;
}
.nav-item-cta {
  border-bottom: none !important;
}
.nav-cta:hover {

  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18) !important;
}

.nav-corp {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  height: auto !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(10, 22, 40, 0.18) !important;
  color: #0a1628 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.08) !important;
}

.nav-corp:hover {
  background: #f1f5f9 !important;
  transform: translateY(-1px) !important;
}
.nav-corp i {
  font-size: 14px !important;
  opacity: 0.95 !important;
}
@keyframes heroMeshDrift {

  from { transform: translate(0, 0); }
  to { transform: translate(80px, 46px); }
}
@keyframes heroGlowFloat {

  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 20px) scale(1.08); }
}

/* ============================================================
   Footer (layout)
   - Keep layout here (single source of truth)
   - Colors/brand overrides are applied below via `!important`
   ============================================================ */
.site-footer {

  padding: 56px 20px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-sans);
}
.footer-inner {

  max-width: var(--max-width, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.footer-brand {

  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {

  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.footer-logo-img {

  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo-text {

  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-logo-main {

  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-logo-sub {

  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer-desc {

  font-size: 14px;
  line-height: 1.7;
}
.footer-contact {

  font-size: 14px;
  line-height: 1.8;
}
.footer-contact .label {

  font-weight: 700;
  margin-right: 6px;
}
.footer-col h4 {

  font-size: 15px;
  font-weight: 800;
  margin: 2px 0 12px;
}
.footer-links {

  display: grid;
  gap: 8px;
  font-size: 14px;
}
.footer-links a {

  text-decoration: none;
  opacity: 0.9;
}
.footer-links a:hover {

  opacity: 1;
}
.footer-quick {

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.footer-quick a {

  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.footer-line {

  max-width: var(--max-width, 1100px);
  margin: 26px auto 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.footer-notice {

  max-width: var(--max-width, 1100px);
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom {

  max-width: var(--max-width, 1100px);
  margin: 14px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.footer-business {

  flex: 1 1 100%;
  opacity: 0.92;
}
@media (max-width: 900px) {
.footer-inner {

    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
}
@media (max-width: 640px) {
.site-footer {

    padding: 42px 16px 28px;
}
.footer-inner {

    grid-template-columns: 1fr;
}
.footer-bottom {

    flex-direction: column;
    align-items: flex-start;
}
}

.section-badge {

  color: var(--gold-dark) !important;
  border-color: rgba(184, 146, 74, 0.25) !important;
  background: rgba(184, 146, 74, 0.08) !important;
}
.process-section .section-badge {

  color: var(--gold-light) !important;
  border-color: rgba(184, 146, 74, 0.3) !important;
  background: rgba(184, 146, 74, 0.1) !important;
}
.site-footer {

  background: var(--navy) !important;
  color: #e5e7eb !important;
}
.site-footer a {

  color: inherit !important;
}
.site-footer a:hover {

  color: var(--gold-light) !important;
}
.site-footer .footer-logo-main {

  color: #f8fafc !important;
}
.site-footer .footer-logo-sub,
.site-footer .footer-desc {

  color: rgba(226, 232, 240, 0.86) !important;
}
.site-footer .footer-contact {

  color: rgba(226, 232, 240, 0.92) !important;
}
.site-footer .footer-contact .label {

  color: var(--gold) !important;
  font-weight: 800 !important;
}
.site-footer .footer-notice,
.site-footer .footer-bottom {

  color: rgba(148, 163, 184, 0.92) !important;
}
.site-footer .footer-links a {

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 2px;
  border-radius: 10px;
}
.site-footer .footer-quick a {

  min-height: 44px;
}
.site-footer .footer-quick a:hover {

  background: rgba(184, 146, 74, 0.12) !important;
  border-color: rgba(184, 146, 74, 0.3) !important;
}
.site-footer .footer-col h4 {

  color: var(--gold-light) !important;
}
.fixed-cta-bar {

  background: var(--navy) !important;
  border-top: 1px solid rgba(184, 146, 74, 0.15) !important;
}
.fixed-cta-bar .cta-btn {

  background: var(--navy-mid) !important;
  color: #f9fafb !important;
}
.fixed-cta-bar .cta-btn.primary {

  background: var(--gold-gradient) !important;
  color: #fff !important;
}
.fixed-cta-bar .cta-icon {

  background: rgba(184, 146, 74, 0.9) !important;
  color: #fff !important;
}
.fixed-cta-bar .cta-btn.primary .cta-icon {

  background: rgba(255, 255, 255, 0.25) !important;
}
.section-header {

  max-width: var(--max-width) !important;
  margin: 0 auto 64px !important;
  text-align: center !important;
}
.section-title,
.section-title h2,
.section-title h3,
.section-heading {

  font-size: clamp(28px, 3vw, 38px) !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.3 !important;
}
.section-desc,
.section-description,
.section-sub {

  color: var(--text-secondary) !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
  word-break: keep-all !important;
}
.section-badge,
.hero-badge,
.hero-kicker,
.section-kicker {

  display: inline-block !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  background: rgba(184, 146, 74, 0.08) !important;
  color: var(--gold-dark) !important;
  border: 1px solid rgba(184, 146, 74, 0.2) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
}
.inner {

  max-width: var(--max-width) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
@media (max-width: 640px) {
.inner {

    padding: 0 18px !important;
}
}
@media (max-width: 720px) {
.site-footer {

    padding: 52px 18px 64px !important;
}
.footer-inner {

    grid-template-columns: 1fr !important;
    gap: 28px !important;
}
.footer-logo {

    font-size: 18px !important;
}
.footer-logo-img {

    width: 48px !important;
    height: 48px !important;
}
.footer-logo-main {

    font-size: 19px !important;
}
.footer-desc {

    font-size: 15px !important;
    line-height: 1.9 !important;
}
.footer-contact,
  .footer-links {

    font-size: 15px !important;
    line-height: 1.9 !important;
}
.footer-notice {

    font-size: 13px !important;
    line-height: 1.9 !important;
}
.footer-col h4 {

    font-size: 16px !important;
    margin-bottom: 14px !important;
}
.footer-links {

    gap: 12px !important;
}
.footer-links a {

    padding: 10px 10px !important;
}
.footer-quick {

    gap: 10px !important;
}
.footer-quick a {

    padding: 12px 12px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
}
.footer-bottom {

    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 13px !important;
}
.ksl-footer-policy-links__btn {

    font-size: 13px !important;
}
}
.section,
.section-py {

  background: var(--bg-page) !important;
}
.btn {

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: -0.01em !important;
}
.btn-primary {

  background: var(--gold-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(184, 146, 74, 0.25) !important;
  border: none !important;
}
.btn-primary:hover {

  transform: translateY(-2px) !important;
  box-shadow: 0 14px 36px rgba(184, 146, 74, 0.35) !important;
  filter: brightness(1.06) !important;
}
.btn-outline {

  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}
.btn-outline:hover {

  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px) !important;
}
.btn-dark {

  background: var(--navy) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(10, 15, 30, 0.15) !important;
}
.btn-dark:hover {

  background: var(--navy-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(10, 15, 30, 0.20) !important;
}
@media (max-width: 992px) {
:root {

    --header-h: 72px !important;
}
.header-inner {

    padding: 0 18px !important;
}
.logo-img {

    height: 36px !important;
}
.logo-main {

    font-size: 18px !important;
}
.logo-sub {

    font-size: 11px !important;
    letter-spacing: 0.04em !important;
}
.site-header {

    box-shadow: 0 4px 20px rgba(10, 15, 30, 0.06) !important;
}
.menu-toggle {

    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    border: 1px solid rgba(184, 146, 74, 0.2) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease !important;
}
.menu-toggle:active {

    background: rgba(184, 146, 74, 0.06) !important;
}
.menu-toggle span {

    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    height: 2px !important;
    background: var(--navy) !important;
    border-radius: 999px !important;
}
.menu-toggle span:nth-child(1) {

    top: 15px !important;
}
.menu-toggle span:nth-child(2) {

    top: 21px !important;
    transform: none !important;
}
.menu-toggle span:nth-child(3) {

    top: 27px !important;
    bottom: auto !important;
}
.menu-toggle.active span:nth-child(1) {

    top: 21px !important;
    transform: rotate(45deg) !important;
}
.menu-toggle.active span:nth-child(2) {

    opacity: 0 !important;
}
.menu-toggle.active span:nth-child(3) {

    top: 21px !important;
    transform: rotate(-45deg) !important;
}
.gnb {

    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #fff !important;
    flex-direction: column !important;
    padding-top: calc(var(--header-h) + 14px) !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px) !important;
    align-items: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.gnb.open {

    right: 0 !important;
}
.nav-list {

    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
}
.nav-item {

    width: 100% !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    border-bottom: 1px solid var(--border-subtle) !important;
}
.nav-link {

    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 18px 24px !important;
    font-size: 17px !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    letter-spacing: -0.012em !important;
    border-radius: 0 !important;
    background: transparent !important;
    min-height: 56px !important;
}
.nav-link::after {

    display: none !important;
}
.sub-menu {

    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: var(--bg-warm) !important;
    padding: 0 !important;
    display: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.nav-item.active .sub-menu {

    display: block !important;
    padding: 4px 0 8px !important;
    border-top: 1px solid rgba(184, 146, 74, 0.1) !important;
}
.sub-menu a {

    padding: 14px 40px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
}
.sub-menu a:hover {

    color: var(--gold-dark) !important;
}
.nav-cta {

    margin: 20px 24px 6px !important;
    width: calc(100% - 48px) !important;
    text-align: center !important;
    padding: 16px !important;
    font-size: 16px !important;
    border-radius: 14px !important;
    min-height: 52px !important;
}
}
@media (max-width: 380px) {
.logo-sub {

    display: none !important;
}
}
@media (max-width: 420px) {
.footer-quick {

    grid-template-columns: 1fr !important;
}
}
.section-py.process-section {

  background: linear-gradient(155deg, #03070f 0%, #081426 42%, #0e1f39 100%) !important;
  color: #fff !important;
}
.section-py.process-section .section-title {

  color: #fff !important;
}
.section-py.process-section .section-desc {

  color: rgba(255, 255, 255, 0.76) !important;
}
@keyframes dotPulse {

  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(184, 146, 74, 0.08); }
}
.process-section .p-list {

  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.process-section .p-list li {

  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.55;
}
.process-section .p-list li::before {

  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 7px;
  background: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.15);
  flex: 0 0 auto;
}
.review-card .stars,
.stars {

  color: var(--gold) !important;
}
.review-card p::before {

  color: rgba(184, 146, 74, 0.3) !important;
}
.check-icon {

  background: var(--gold-gradient) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(184, 146, 74, 0.22) !important;
}
.p-num {

  border-color: rgba(184, 146, 74, 0.4) !important;
  color: var(--gold-light) !important;
}
.p-step:hover .p-num {

  background: var(--gold) !important;
  color: #fff !important;
  border-color: var(--gold) !important;
}
.cta-section {

  border: 1px solid rgba(184, 146, 74, 0.12) !important;
}
.cta-section::before {

  background: linear-gradient(90deg, transparent, rgba(184, 146, 74, 0.2), transparent) !important;
}
@media (max-width: 640px) {
.section-header {

    margin-bottom: 48px !important;
}
.section-py {

    padding: 72px 0 !important;
}
.btn {

    width: 100% !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    min-height: 52px !important;
}
}
.reading-progress {

  background: var(--gold-gradient) !important;
}
.js-motion .reveal-item {

  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-motion .reveal-item.is-visible {

  opacity: 1;
  transform: translateY(0);
}
.desktop-right-cta-btn.primary {

  background: var(--gold-gradient) !important;
  color: #fff !important;
  border-color: rgba(184, 146, 74, 0.3) !important;
}
.desktop-right-cta-btn.primary:hover {

  box-shadow: 0 22px 52px rgba(184, 146, 74, 0.25) !important;
}
.desktop-right-cta-chip {

  background: var(--gold) !important;
}
::selection {

  background: rgba(184, 146, 74, 0.18);
  color: var(--navy);
}
:focus-visible {

  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
}
::-webkit-scrollbar {

  width: 8px;
}
::-webkit-scrollbar-track {

  background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {

  background: rgba(184, 146, 74, 0.25);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {

  background: rgba(184, 146, 74, 0.4);
}

/* === SEO Content Pages === */

/* SEO content pages (pillar guides + question pages) */

:root {
  --seo-card-pad: clamp(20px, 2.2vw, 34px);
  --seo-aside-w: 280px;
  --seo-gap: 26px;
  --seo-accent: var(--gold, #b8924a);
  --seo-accent-soft: rgba(184, 146, 74, 0.12);
  --seo-ink: var(--navy, #0a1628);
}

.seo-main,
.rehab-main,
.pasan-main,
.corp-main {
  background: var(--bg-page, #ffffff);
}

.seo-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid, #141b2d) 100%);
  color: #fff;
  padding: clamp(72px, 7vw, 96px) 0 clamp(64px, 6vw, 86px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.seo-hero .inner {
  position: relative;
  z-index: 2;
}

.seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 240px at 18% 10%, rgba(184, 146, 74, 0.18), transparent 55%),
    radial-gradient(520px 220px at 86% 18%, rgba(255, 255, 255, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 36%);
  mix-blend-mode: screen;
  opacity: 0.9;
  animation: ksl-seo-breathe 9.5s ease-in-out infinite alternate;
}

.seo-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 140px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 32%,
    rgba(255, 255, 255, 0.55) 68%,
    #fff 100%
  );
}

.seo-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(248, 250, 252, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(28px, 2.2vw + 18px, 42px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.seo-hero p {
  margin: 14px 0 0;
  max-width: min(74ch, 100%);
  color: rgba(226, 232, 240, 0.92);
  font-size: clamp(15px, 0.3vw + 14px, 18px);
  line-height: 1.85;
}

@keyframes ksl-seo-breathe {
  0% { opacity: 0.82; filter: saturate(0.95); }
  100% { opacity: 0.98; filter: saturate(1.05); }
}

.seo-surface {
  max-width: var(--max-width);
  margin: -24px auto 60px;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .seo-surface {
    padding: 0 16px;
  }
}

/* === Simple Modal (Contact detail) === */
.ksl-simple-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ksl-simple-modal[hidden] {
  display: none;
}

.ksl-simple-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(2px);
}

.ksl-simple-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.25);
}

.ksl-simple-modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.ksl-simple-modal__title {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy, #0a1628);
}

.ksl-simple-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.76);
  font-size: 22px;
  line-height: 1;
}

.ksl-simple-modal__close:hover {
  background: rgba(15, 23, 42, 0.10);
}

.ksl-simple-modal__body {
  padding: 18px;
  color: var(--read-text, #0f172a);
  line-height: 1.8;
}

.ksl-modal-media {
  margin: 0;
}

.ksl-modal-media__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.ksl-modal-media__caption {
  margin-top: 10px;
  text-align: center;
  color: rgba(15, 23, 42, 0.75);
  font-size: 14px;
  line-height: 1.6;
}

.submit-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.75);
}

.submit-status[data-tone="error"] {
  color: #b91c1c;
}

.submit-status[data-tone="success"] {
  color: #166534;
}

/* === Global CTA (Desktop right + Mobile fixed) === */
body.has-fixed-cta {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

.fixed-cta-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  background: #050b18;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.45);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.fixed-cta-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.fixed-cta-inner > * {
  flex: 1 1 0;
  min-width: 0;
}

.cta-dropdown-wrap {
  position: relative;
  display: flex;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 0;
  padding: 14px 0;
  min-height: 60px;
  border: none;
  background: #0f172a;
  color: #f9fafb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.cta-btn.primary {
  background: #ffffff;
  color: #0a1628;
}

.cta-btn.corp {
  background: var(--gold-gradient);
  color: #ffffff;
}

.cta-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  flex: 0 0 auto;
}

.cta-btn.primary .cta-icon {
  background: rgba(15, 23, 42, 0.82);
}

.cta-label-main {
  font-weight: 900;
  line-height: 1.15;
}

.cta-label-sub {
  font-size: 11px;
  opacity: 0.85;
  line-height: 1.15;
}

.cta-dropdown {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  width: 100%;
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
  z-index: 2;
  overflow: hidden;
}

.cta-dropdown.open {
  display: block;
}

.cta-dropdown a {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #e5e7eb;
}

.cta-dropdown a:last-child {
  border-bottom: none;
}

.sub-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  flex: 0 0 auto;
}

.desktop-right-cta {
  display: none;
}

body .desktop-right-cta {
  position: fixed;
  right: 18px;
  top: auto;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  transform: none;
  /* Must sit above the desktop consult dock (z-index: 10010) so the menu remains clickable. */
  z-index: 10030;
}

@media (min-width: 993px) {
  body.has-ksl-desk-dock .desktop-right-cta {
    bottom: calc(102px + 18px + env(safe-area-inset-bottom, 0px));
  }
}

.desktop-right-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

body .desktop-right-cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.90);
  color: #f8fafc;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 170px;
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.desktop-right-cta-btn.corp {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: rgba(184, 146, 74, 0.32);
}

.desktop-right-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.30);
}

.desktop-right-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.desktop-right-cta-text .main {
  font-weight: 900;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-right-cta-text .sub {
  font-weight: 700;
  font-size: 11px;
  opacity: 0.82;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-right-cta-arrow {
  margin-left: auto;
  font-size: 14px;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.desktop-right-cta-details[open] .desktop-right-cta-arrow {
  transform: rotate(180deg);
}

.desktop-right-cta-details {
  position: relative;
}

body .desktop-right-cta-details > summary {
  list-style: none;
  cursor: pointer;
}

body .desktop-right-cta-details > summary::-webkit-details-marker {
  display: none;
}

body .desktop-right-cta-dropdown {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  top: auto;
  transform: none;
  width: 230px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.26);
  border: 1px solid rgba(226, 232, 240, 0.85);
  overflow: hidden;
  padding: 8px;
}

body .desktop-right-cta-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  color: #0f172a;
  text-decoration: none;
}

.desktop-right-cta-dropdown a:hover {
  background: #f8fafc;
}

.desktop-right-cta-chip {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  body.has-fixed-cta {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .cta-btn {
    padding: 12px 0;
    min-height: 56px;
    font-size: 12px;
  }

  .cta-label-sub {
    display: none;
  }

  .cta-dropdown {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 993px) {
  .desktop-right-cta {
    display: block;
  }

  .fixed-cta-bar {
    display: none;
  }

  body.has-fixed-cta {
    padding-bottom: 0 !important;
  }
}

.seo-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: var(--seo-card-pad);
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.seo-breadcrumb a {
  color: inherit;
}

.seo-breadcrumb .sep {
  color: rgba(148, 163, 184, 0.9);
}

.seo-toc {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: #fff;
}

.seo-toc strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.seo-toc ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.seo-toc li {
  list-style: disc;
}

.seo-toc a {
  color: var(--navy);
  font-weight: 700;
}

.seo-content {
  color: var(--text-secondary, #4b5563);
}

.seo-content h2,
.seo-content h3 {
  scroll-margin-top: calc(var(--header-h, 72px) + 18px);
}

.seo-content h2 {
  margin: 28px 0 10px;
  font-size: clamp(20px, 0.6vw + 18px, 26px);
  color: var(--navy);
}

.seo-content h3 {
  margin: 20px 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.seo-content p {
  max-width: var(--read-measure, 72ch);
}

.seo-content ul,
.seo-content ol {
  max-width: var(--read-measure, 72ch);
  padding-left: 18px;
}

.seo-content ul li::marker,
.seo-content ol li::marker {
  color: rgba(184, 146, 74, 0.95);
  font-weight: 900;
}

.seo-content li {
  list-style: disc;
}

.seo-content a:not(.seo-btn):not(.seo-linkcard) {
  color: var(--seo-ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(184, 146, 74, 0.35);
  text-underline-offset: 0.18em;
}

.seo-content a:not(.seo-btn):not(.seo-linkcard):hover {
  text-decoration-color: rgba(184, 146, 74, 0.75);
}

/* Guide pages: sticky aside TOC on desktop (opt-in via <body class="seo-has-toc">) */
@media (min-width: 1024px) {
  body.seo-has-toc .seo-content {
    display: grid;
    grid-template-columns: minmax(240px, var(--seo-aside-w)) minmax(0, 1fr);
    gap: var(--seo-gap);
    align-items: start;
  }

  body.seo-has-toc .seo-toc {
    grid-column: 1;
    margin-top: 0;
    position: sticky;
    top: calc(var(--header-h, 72px) + 18px);
    align-self: start;
    max-height: calc(100vh - (var(--header-h, 72px) + 42px));
    overflow: auto;
    box-shadow: var(--shadow-sm);
  }

  body.seo-has-toc .seo-content > :not(.seo-toc) {
    grid-column: 2;
    min-width: 0;
  }
}

/* Question pages: make the first "결론" block feel like a summary card */
.seo-main .seo-content h2:first-of-type {
  margin-top: 0;
  padding: 16px 18px 0;
  border: 1px solid rgba(184, 146, 74, 0.26);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(184, 146, 74, 0.12), rgba(184, 146, 74, 0.06));
}

.seo-main .seo-content h2:first-of-type + p {
  margin-top: 0;
  padding: 10px 18px 16px;
  border: 1px solid rgba(184, 146, 74, 0.26);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(184, 146, 74, 0.06);
}

.seo-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 16px;
}

.seo-linkcard {
  display: block;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px 44px 14px 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.seo-linkcard::after {
  content: "→";
  position: absolute;
  right: 14px;
  top: 14px;
  color: rgba(148, 163, 184, 0.95);
  font-weight: 900;
  transition: transform 0.2s ease, color 0.2s ease;
}

.seo-linkcard strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.seo-linkcard span {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.72;
}

.seo-linkcard:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.seo-linkcard:hover::after {
  transform: translateX(2px);
  color: rgba(184, 146, 74, 0.9);
}

.seo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: var(--transition);
  min-height: 44px;
}

.seo-btn i {
  font-size: 16px;
  opacity: 0.9;
}

.seo-btn.primary {
  background: var(--navy);
  border-color: transparent;
  color: #fff;
}

.seo-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.seo-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

.seo-related {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

/* FAQ pages (rehab/pasan/corp) */
.seo-faq details {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}

.seo-faq details + details {
  margin-top: 12px;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.01em;
  list-style: none;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  content: "▾";
  float: right;
  color: var(--text-muted);
}

.seo-faq details[open] summary::after {
  content: "▴";
}

.seo-faq .answer {
  margin-top: 10px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* Mobile fixed CTA for SEO pages (opt-in via <body class="has-seo-fixed-cta">) */
.seo-fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(4, 13, 34, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.35);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: none;
}

.seo-fixed-cta__inner {
  max-width: var(--max-width, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.seo-fixed-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 14px 10px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(248, 250, 252, 0.96);
  text-decoration: none;
}

.seo-fixed-cta__btn.primary {
  background: var(--gold-gradient, linear-gradient(135deg, #b8924a 0%, #d4b978 100%));
  color: #0b1726;
}

.seo-fixed-cta__btn.secondary {
  background: transparent;
}

.seo-fixed-cta__btn i {
  font-size: 16px;
}

@media (max-width: 992px) {
  body.has-seo-fixed-cta {
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  .seo-fixed-cta {
    display: block;
  }
}

@media (min-width: 993px) {
  body.has-seo-fixed-cta {
    padding-bottom: 0;
  }
}

/* ============================================================
   Header refresh (override noisy legacy blocks)
   ============================================================ */
:root {
  --header-h: 72px !important;
}

body {
  padding-top: var(--header-h) !important;
}

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--header-h) !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  border-bottom: 1px solid rgba(2, 6, 23, 0.08) !important;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06) !important;
  z-index: 1000 !important;
}

.header-inner {
  max-width: 1280px !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 clamp(16px, 2.2vw, 28px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.logo-area {
  gap: 12px !important;
}

.logo-img {
  height: 34px !important;
}

.logo-main {
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}

.logo-sub {
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
}

.gnb {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  height: 100% !important;
}

.nav-list {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 100% !important;
  list-style: none !important;
}

.nav-item {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.nav-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 40px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  color: rgba(30, 41, 59, 0.92) !important;
  letter-spacing: -0.01em !important;
}

.nav-link::after {
  display: none !important;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(2, 6, 23, 0.06) !important;
  color: #0b1528 !important;
}

.sub-menu {
  border-radius: 16px !important;
  border: 1px solid rgba(2, 6, 23, 0.08) !important;
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.14) !important;
}

.nav-cta,
.nav-corp {
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.nav-cta {
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12) !important;
}

.nav-corp {
  background: rgba(2, 6, 23, 0.04) !important;
  border: 1px solid rgba(2, 6, 23, 0.10) !important;
  color: rgba(11, 21, 40, 0.92) !important;
  white-space: nowrap !important;
}
.nav-corp:hover {
  background: rgba(2, 6, 23, 0.06) !important;
  border-color: rgba(2, 6, 23, 0.14) !important;
  transform: translateY(-1px) !important;
}

@media (min-width: 993px) {
  .gnb {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
  }

  .site-header,
  .header-inner,
  .gnb {
    overflow: visible !important;
  }

  .nav-item {
    position: relative !important;
  }

  .sub-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    z-index: 10050 !important;
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(6px) !important;
    transition:
      opacity 0.45s ease,
      transform 0.45s ease,
      visibility 0s linear 0.47s !important;
    will-change: opacity, transform;
  }

  /* Hover bridge: prevents accidental close when moving
     from the top-level item into the submenu (10px gap). */
  .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: transparent;
  }

  .nav-item:hover > .sub-menu,
  .nav-item:focus-within > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition:
      opacity 0.14s ease,
      transform 0.14s ease,
      visibility 0s linear 0s !important;
  }

  .sub-menu ul,
  .sub-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .sub-menu a {
    display: flex !important;
    width: 100% !important;
  }

  .nav-list {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }

  .nav-list > li {
    flex: 0 0 auto !important;
  }

  .nav-link {
    white-space: nowrap !important;
    word-break: keep-all !important;
  }

  .nav-cta,
  .nav-corp {
    flex-shrink: 0 !important;
  }
}

@media (max-width: 992px) {
  :root {
    --header-h: 72px !important;
    --ksl-nav-w: min(92vw, 420px);
  }

  html.ksl-nav-open .site-header {
    z-index: 10046 !important;
  }

  .menu-toggle {
    z-index: 10046 !important;
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    border: 1px solid rgba(2, 6, 23, 0.10) !important;
    background: rgba(255, 255, 255, 0.86) !important;
  }

  .gnb {
    z-index: 10045 !important;
    position: fixed !important;
    inset: 0 0 0 auto !important;
    right: -100% !important;
    width: var(--ksl-nav-w) !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #fff !important;
    isolation: isolate !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-top: calc(var(--header-h) + 10px) !important;
    gap: 0 !important;
    overflow-y: auto !important;
    transition: right 0.28s ease !important;
    box-shadow: -18px 0 46px rgba(2, 6, 23, 0.16) !important;
  }

  .gnb.open {
    right: 0 !important;
  }

  .nav-list {
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    gap: 0 !important;
  }

  .nav-item {
    height: auto !important;
    border-bottom: 1px solid rgba(2, 6, 23, 0.06) !important;
  }

  .nav-link {
    width: 100% !important;
    height: auto !important;
    padding: 16px 18px !important;
    border-radius: 0 !important;
    font-size: 16px !important;
  }

  .nav-cta,
  .nav-corp {
    margin: 12px 18px 0 !important;
    width: calc(100% - 36px) !important;
  }
}

/* ============================================================
   Global UX upgrades (mobile/desktop)
   - Focus visibility
   - Mobile nav overlay + scroll lock helper classes
   - Accordion panel smooth open/close (rehab/pasan accordions)
   ============================================================ */
html {
  scroll-padding-top: calc(var(--header-h) + 18px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

body {
  overflow-x: clip;
}
@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

:where(a, button) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

:where(input, select, textarea) {
  accent-color: var(--navy, #0a1628);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(28, 50, 84, 0.32);
  outline-offset: 3px;
  border-radius: 12px;
}

@media (max-width: 992px) {
  .ksl-nav-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10040 !important;
    background: rgba(2, 6, 23, 0.55) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    backdrop-filter: blur(2px);
  }

  html.ksl-nav-open .ksl-nav-overlay,
  .ksl-nav-overlay:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }
}

/* iOS input zoom prevention on small screens */
@media (max-width: 420px) {
  :where(input, select, textarea, button) {
    font-size: 16px !important;
  }
}

/* Smooth accordion panels (rehab/pasan) */
main .acc-panel {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.18s ease;
  will-change: max-height;
}
main .acc-btn[aria-expanded="true"] + .acc-panel {
  opacity: 1;
  max-height: 2400px;
}

/* === Back to top === */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10020;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.back-to-top:active {
  transform: translateY(0);
}
@media (max-width: 992px) {
  .back-to-top {
    bottom: calc(66px + env(safe-area-inset-bottom, 0px) + 12px);
  }
}
