/* ================================================================
   site.css — Apostille Korea static landing page
   Extracted from reference inline CSS with dead-code removal for:
   skin-picker, checkout/Stripe panel, floating cart drawer,
   pinger guide arrow (partially), held-files upload UI.
   Desktop-only layout (1280px+). No responsive @media breakpoints.
   ================================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  color: #1a2e4a;
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden; /* 닫힌 상태의 GNB 플라이아웃(absolute)이 가로 스크롤을 만드는 것 방지 */
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; outline: none; }

/* ===== TOP NAV ===== */
.nav {
  background: #ffffff;
  border-bottom: 1px solid #eef1f6;
  padding: 14px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-ko { white-space: nowrap; }
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0A3A8C 0%, #1E5BBA 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(10,58,140,0.3);
}
.logo-text .l1 { font-size: 11px; color: #4a6b8a; font-weight: 600; line-height: 1.2; }
.logo-text .l2 { font-size: 18px; color: #0A2A5E; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }

.menu { display: flex; gap: 44px; align-items: center; }
.menu-item {
  font-size: 15px; font-weight: 600; color: #1a2e4a;
  display: flex; align-items: center; gap: 5px; padding: 8px 0;
}
.menu-item:hover { color: #1E5BBA; }
.menu-item .caret { font-size: 10px; opacity: 0.6; }
.nav-bi { display: inline-flex; flex-direction: column; line-height: 1.15; }
.nav-bi .nav-en { font-size: 15px; font-weight: 700; }
.nav-bi .nav-ko { font-size: 10.5px; font-weight: 600; color: #7da3d6; letter-spacing: -.2px; margin-top: 4px; }
.nav-sec .nav-en { color: #7c8aa0; }
.nav-sec .nav-ko { color: #9aa6bd; }
.nav-sec:hover .nav-en { color: #5b6a82; }
.menu .bi-col { display: inline-flex; flex-direction: column; line-height: 1.18; min-width: 0; }
.menu .bi-col > [data-i18n]:first-child { font-weight: 700; }
.menu .bi-col .i18n-sub { font-size: .8em; font-weight: 600; color: #7da3d6; margin-left: 0; margin-top: 1px; letter-spacing: -.2px; }
.menu .submenu-link .lbl { align-items: center; }
.menu .submenu-link > .lbl .i18n-sub, .menu .flyout-link .i18n-sub { font-size: .82em; font-weight: 600; color: #7da3d6; }
.kosub { display: block; font-size: .8em; color: #7da3d6; font-weight: 600; margin-top: 2px; line-height: 1.2; }
.menu-item:hover .nav-bi .nav-ko { color: #7da3d6; }
.contact-btn.bi-btn { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.12; gap: 3px; }
.contact-btn.bi-btn .nav-ko { font-size: 10px; font-weight: 600; opacity: .85; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  background: #f1f5fb;
  font-size: 13px; font-weight: 600; color: #1a2e4a;
  transition: all 0.18s ease;
}
.lang-btn:hover {
  background: linear-gradient(135deg, #7C4DFF, #B14DFF);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(124,77,255,0.45);
}
.contact-btn {
  padding: 10px 20px; border-radius: 8px;
  background: #0A3A8C; color: #fff;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(10,58,140,0.3);
  transition: all 0.18s ease;
}
.contact-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 26px rgba(10,58,140,0.5);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 780px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(46,123,214,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(10,58,140,0.5) 0%, transparent 50%),
    linear-gradient(135deg, #0A2A5E 0%, #143E8E 40%, #1E5BBA 100%);
  overflow: hidden;
  padding: 70px 60px 80px;
}
.hero .hero-inner { position: relative; z-index: 3; }
.worldmap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 1;
}
.worldmap svg { width: 90%; max-width: 1400px; height: auto; opacity: 0.18; }
.glow1 {
  position: absolute; top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(100,160,255,0.15) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 60px;
  max-width: 1420px;
  margin: 0 auto;
  align-items: start;
}

/* LEFT */
.hero-left { padding-top: 30px; }
.hero-title {
  font-size: 64px; font-weight: 800; color: #ffffff;
  line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero-title .accent {
  background: linear-gradient(135deg, #FFD56B 0%, #FFAA33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title-kr {
  font-size: 19px; font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px; letter-spacing: 0.3px;
}
.hero-title-sub {
  margin-top: 14px; margin-bottom: 54px; max-width: 540px;
  font-size: 14.5px; line-height: 1.55; font-weight: 600;
  color: rgba(255,255,255,.9);
}
.hero-title-sub .hts-soft { color: rgba(255,255,255,.62); font-weight: 500; }

/* ===== AI BOX ===== */
.ai-wrap {
  position: relative;
  max-width: 620px;
  margin-top: 22px;
  isolation: isolate;
}
.ak-typing-hint {
  position: absolute;
  left: 7%; top: 47%;
  width: 74px; height: auto;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(10,58,140,0.22));
  transform: translateY(8px) scale(0.94);
  transition: opacity .45s ease, transform .45s ease;
}
/* Outer pulsing aura */
.ai-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 36px;
  background: radial-gradient(ellipse at center,
    rgba(255,213,107,0.35) 0%,
    rgba(255,139,107,0.25) 25%,
    rgba(194,102,255,0.20) 50%,
    rgba(0,212,255,0.15) 75%,
    transparent 90%);
  filter: blur(20px);
  z-index: -2;
  animation: aiAura 4s ease-in-out infinite;
}
@keyframes aiAura {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
/* Animated gradient border ring */
.ai-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: linear-gradient(135deg,
    #FFD56B, #FF8B6B, #C266FF, #1E5BBA, #00D4FF, #FFD56B);
  background-size: 300% 300%;
  z-index: -1;
  animation: aiShift 5s ease infinite;
}
@keyframes aiShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.ai-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 22px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* Sparkle decorations */
.ai-sparkles {
  position: absolute; inset: -20px;
  pointer-events: none;
  z-index: 3;
}
.spark {
  position: absolute;
  animation: sparkFloat 3s ease-in-out infinite;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(255,213,107,0.8));
}
.s1 { top: -6px; left: 18%; font-size: 18px; animation-delay: 0s; }
.s2 { top: 32%; right: -10px; font-size: 14px; animation-delay: 0.8s; }
.s3 { bottom: -4px; left: 55%; font-size: 16px; animation-delay: 1.6s; }
.s4 { top: 12%; left: -10px; font-size: 13px; animation-delay: 2.2s; }
@keyframes sparkFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: translateY(-8px) scale(1.15) rotate(15deg); }
}
/* "AI 추천" floating badge */
.ai-new-badge {
  position: absolute;
  top: -14px; left: 24px;
  background: linear-gradient(135deg, #FFD56B 0%, #FF8B6B 100%);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(255,139,107,0.5);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: badgeBob 2s ease-in-out infinite;
}
@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.ai-box-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: #0A3A8C;
  margin-bottom: 12px;
}
.ai-box-label .lead { font-weight: 700; color: #0A3A8C; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #0A3A8C, #1E5BBA);
  color: #fff; font-size: 12px; font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(10,58,140,0.3);
}
.ai-row { display: flex; gap: 12px; align-items: flex-end; }
.ai-input {
  flex: 1; width: 100%; height: 68px;
  border: none; resize: none;
  font-size: 16px; color: #1a2e4a; line-height: 1.5;
  padding: 4px 0; background: transparent;
  font-weight: 500;
}
.ai-input::placeholder { color: #8b9bb3; font-style: italic; }
.ai-send {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #0A3A8C, #1E5BBA);
  color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(10,58,140,0.5);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.ai-send:hover { transform: translateY(-3px) scale(1.05); }
.ai-hint {
  font-size: 12px; color: #6b7e99;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid #eef1f6;
  display: flex; align-items: center; gap: 6px;
}
.ai-hint .dot {
  color: #1E5BBA;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== RIGHT FORM CARD ===== */
.form-card {
  background: rgba(255,255,255,0.98);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Bilingual pattern */
.bi { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.bi .bi-en { font-weight: 800; color: #3a4660; }
.bi .bi-sub { font-size: .92em; font-weight: 600; color: #9aa3b5; letter-spacing: -.2px; }

/* Field */
.field {
  border: 1.5px solid #e3e9f2;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  position: relative;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.field:hover { border-color: #c4d3e8; }
/* Country field color coding */
.field.ak-xissuer,
#f1 { background: #eef4fd; border-color: #cbddf7; box-shadow: inset 4px 0 0 #1E5BBA; padding-left: 18px; }
#f1:hover, .field.ak-xissuer:hover { border-color: #9fc2ef; }
#f2 { background: #ecfaf2; border-color: #bfe6d2; box-shadow: inset 4px 0 0 #1ba368; padding-left: 18px; }
#f2:hover { border-color: #95d9b6; }

.field-label { font-size: 11px; color: #6b7e99; font-weight: 600; margin-bottom: 4px; }
.field-value {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.field-value-text {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: #1a2e4a;
}
.flag {
  width: 22px; height: 22px; border-radius: 50%;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; background: #f1f5fb;
}
.field-caret { color: #8b9bb3; font-size: 12px; transition: transform 0.2s; }

/* Swap button between fields */
.ak-swap-row { display: flex; justify-content: center; margin: -3px 0 1px; position: relative; z-index: 3; }
.ak-swap-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #d4e0f3; background: #fff;
  box-shadow: 0 2px 8px rgba(30,91,186,.2);
  cursor: pointer; display: grid; place-items: center; padding: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ak-swap-btn:hover { transform: rotate(180deg); box-shadow: 0 4px 14px rgba(30,91,186,.34); }
.ak-swap-btn img { width: 18px; height: 18px; display: block; pointer-events: none; }

/* Chips (document type selection) */
.chips { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; min-height: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: #e8f0fb; color: #0A3A8C;
  padding: 3px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.chip-placeholder { color: #8b9bb3; font-size: 14px; font-weight: 500; }

/* Section mark */
.section-mark {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: #0A3A8C;
  margin: 14px 0 8px;
}
.section-mark .badge {
  background: #0A3A8C; color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.services .svc { grid-column: span 2; }
.services .svc.svc-half { grid-column: span 3; }
.svc {
  border: 1.5px solid #e3e9f2;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  background: #fff;
  transition: all 0.18s ease;
  cursor: pointer;
  position: relative;
}
.svc-ico { font-size: 20px; margin-bottom: 4px; color: #6b7e99; }
.svc-ko { display: block; font-size: 11px; font-weight: 600; color: #9aa3b5; line-height: 1.15; margin-top: 1px; }
.svc-name { font-size: 12px; font-weight: 700; color: #1a2e4a; line-height: 1.2; }
.svc-price { font-size: 11px; color: #1a2e4a; font-weight: 600; margin-top: 3px; }
.svc:hover { border-color: #94B8E0; transform: translateY(-5px) scale(1.04); box-shadow: 0 12px 24px rgba(10,58,140,0.28); z-index: 2; }

/* Continue button */
.cta-submit {
  width: 100%; padding: 14px; border-radius: 12px;
  background: linear-gradient(135deg, #0A3A8C, #1E5BBA);
  color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(10,58,140,0.4);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
}
.cta-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10,58,140,0.5); }

/* ===== TRUST BAR ===== */
.trust-bar {
  position: relative; z-index: 3;
  max-width: 1380px; margin: 50px auto 0;
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff;
}
.trust-item .ico { color: #FFD56B; }

/* ===== NAV SUBMENUS ===== */
.menu-item.has-sub { position: relative; cursor: pointer; }
.menu-item.has-sub > .caret { transition: transform 0.2s; }
.menu-item.has-sub:hover > .caret { transform: rotate(180deg); }
.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(26,46,74,0.20);
  border: 1px solid #e8edf4;
  padding: 10px;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
}
.submenu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.menu-item.has-sub:hover .submenu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: #1a2e4a;
  white-space: nowrap; text-decoration: none;
  transition: all 0.15s ease;
  position: relative;
}
.submenu-link:hover {
  background: #f1f5fb; color: #1E5BBA;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(10,58,140,0.12);
}
.submenu-link .ico { font-size: 16px; }

/* Nations mega panel */
.submenu-nations {
  min-width: 760px; left: 0;
  transform: translateX(0) translateY(8px);
  padding: 16px 16px 16px 18px;
}
.menu-item.has-sub:hover .submenu-nations { transform: translateX(0) translateY(0); }
.submenu-nations-title {
  font-size: 13px; font-weight: 800; color: #0A3A8C;
  padding: 2px 6px 12px; border-bottom: 1px solid #eef1f6; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.nations-search {
  width: 100%; box-sizing: border-box; margin: 0 0 9px;
  padding: 9px 13px; border: 1px solid #e3e9f2; border-radius: 9px;
  font-size: 13.5px; color: #1a2238; outline: none; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.nations-search::placeholder { color: #9aa6bd; }
.nations-search:focus { border-color: #1E5BBA; box-shadow: 0 0 0 3px rgba(30,91,186,.13); }
.nations-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px; max-height: 430px; overflow-y: auto; padding-right: 6px;
}
.nation-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 9px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: #1a2e4a;
  text-decoration: none; white-space: nowrap; overflow: hidden;
  transition: all 0.15s ease;
}
.nation-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nation-item .nat-col { display: inline-flex; flex-direction: column; min-width: 0; line-height: 1.12; overflow: hidden; }
.nation-item .nat-col > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nation-item .nat-ko { font-size: 11px; font-weight: 600; color: #7da3d6; margin-top: 1px; }
.nations-grid .nation-item img {
  width: 22px !important; height: 15px !important; max-width: 22px !important;
  object-fit: cover; aspect-ratio: auto;
  border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.18); flex: 0 0 auto;
}
.nation-item:hover {
  background: #eef4fb; color: #0A3A8C;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(10,58,140,0.14);
}

/* Nations caption */
.nations-caption {
  margin-top: 12px; padding: 11px 14px;
  background: linear-gradient(135deg, #0A2A5E, #143E8E);
  color: #fff; border-radius: 8px;
  font-size: 13px; font-weight: 700; text-align: center;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 16px rgba(10,58,140,0.22);
}

/* ===== 3-DEPTH FLYOUTS ===== */
.submenu-link.has-flyout {
  position: relative;
  justify-content: space-between;
  cursor: pointer;
}
.submenu-link.has-flyout .lbl { display: flex; align-items: center; gap: 10px; }
.submenu-link.has-flyout::after {
  content: "\25B8"; font-size: 12px; opacity: 0.5; margin-left: 10px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.submenu-link.has-flyout:hover { background: #eef4fb; color: #0A3A8C; }
.submenu-link.has-flyout:hover::after { opacity: 1; transform: translateX(2px); color: #1E5BBA; }
.flyout {
  position: absolute;
  top: -11px;
  left: calc(100% + 12px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(26,46,74,0.22);
  border: 1px solid #e8edf4;
  padding: 10px;
  min-width: 234px;
  opacity: 0; visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 330;
}
.flyout::before { content: ''; position: absolute; left: -14px; top: 0; bottom: 0; width: 14px; }
.flyout { max-height: 76vh; overflow-y: auto; }
.submenu-link.has-flyout:hover > .flyout {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.flyout-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: #1a2e4a;
  white-space: nowrap; text-decoration: none;
  transition: all 0.15s ease;
}
.flyout-link:hover {
  background: #f1f5fb; color: #1E5BBA;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(10,58,140,0.12);
}

/* Special submenu link */
.submenu-link.special {
  justify-content: space-between;
  background: linear-gradient(135deg, #FFF6D6, #FFE99B);
  border: 1px solid #FFD56B;
  color: #9c6f1f;
  font-weight: 800;
  margin-top: 4px;
}
.submenu-link.special .lbl { display: flex; align-items: center; gap: 10px; }
.submenu-link.special::after {
  content: "SPECIAL";
  font-size: 8px; font-weight: 800; letter-spacing: 0.6px;
  background: linear-gradient(135deg, #FF8B3D, #FFAA33);
  color: #fff; padding: 3px 7px; border-radius: 999px;
  margin-left: 8px;
  box-shadow: 0 2px 6px rgba(255,139,61,0.4);
}
.submenu-link.special:hover {
  background: linear-gradient(135deg, #FFE99B, #FFD56B);
  color: #7a560f;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255,170,51,0.4);
}

/* ===== USER MENU ===== */
.user-menu { position: relative; }
.user-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: #f1f5fb; color: #1a2e4a;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s ease;
  position: relative; overflow: hidden;
}
.user-btn:hover {
  background: #e8f0fb; color: #0A3A8C;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(10,58,140,0.25);
}
/* Guest state: holographic glow */
.user-menu[data-auth-state="guest"] .user-btn {
  background: linear-gradient(135deg, #eef2ff 0%, #f6eefe 50%, #eafaff 100%);
  color: #3b2a8c;
  box-shadow: 0 0 0 1.5px rgba(150,140,255,.40), 0 6px 16px rgba(120,90,220,.20);
  animation: holoGlow 2.1s ease-in-out 3;
}
.user-menu[data-auth-state="guest"] .user-btn::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,.92) 42%, rgba(120,200,255,.68) 49%, rgba(225,130,255,.68) 56%, rgba(255,235,150,.55) 62%, transparent 74%);
  background-size: 260% 100%; background-position: 210% 0; mix-blend-mode: screen;
  animation: holoSheen 2.1s ease-in-out 3;
}
@keyframes holoGlow {
  0%, 100% { box-shadow: 0 0 0 1.5px rgba(150,140,255,.40), 0 6px 16px rgba(120,90,220,.20); }
  50% { box-shadow: 0 0 0 2.5px rgba(190,130,255,.65), 0 10px 24px rgba(90,170,255,.45); }
}
@keyframes holoSheen { 0% { background-position: 210% 0; } 55%, 100% { background-position: -130% 0; } }
.user-menu[data-auth-state="member"] .user-btn { animation: none; }
.user-menu[data-auth-state="member"] .user-btn::after { display: none; }

.user-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  background: #fff; border-radius: 14px; border: 1px solid #e8edf4;
  box-shadow: 0 18px 44px rgba(26,46,74,0.20);
  padding: 8px; min-width: 168px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; z-index: 300;
}
.user-dropdown::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.user-menu:hover .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown a, .user-dropdown button {
  display: block; padding: 11px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: #1a2e4a;
  text-decoration: none; text-align: center;
  transition: all 0.15s ease; width: 100%;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: #f1f5fb; color: #1E5BBA; transform: translateY(-2px); }
.user-dropdown a.my-primary {
  background: linear-gradient(135deg,#0A3A8C,#1E5BBA); color: #fff; font-weight: 800;
  box-shadow: 0 6px 14px rgba(10,58,140,.30); margin-bottom: 4px; letter-spacing: -.2px;
}
.user-dropdown a.my-primary:hover {
  background: linear-gradient(135deg,#0A3A8C,#2f6fd6); color: #fff;
  transform: translateY(-2px); box-shadow: 0 9px 20px rgba(10,58,140,.42);
}

/* Language dropdown */
.lang-menu { position: relative; }
.lang-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  background: #fff; border-radius: 14px; border: 1px solid #e8edf4;
  box-shadow: 0 18px 44px rgba(26,46,74,0.20);
  padding: 8px; min-width: 184px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; z-index: 300;
  max-height: 70vh; overflow-y: auto;
}
.lang-dropdown::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.lang-menu:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: #1a2e4a;
  text-decoration: none; white-space: nowrap;
  transition: all 0.15s ease;
}
.lang-dropdown a:hover { background: #f1f5fb; color: #1E5BBA; transform: translateY(-2px); }
.lang-dropdown a .flag-em { font-size: 16px; }

/* About icon */
.about-icon { position: relative; padding: 0; }
.about-icon .icon-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: #f1f5fb; color: #1a2e4a;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s ease;
}
.about-icon .icon-btn:hover {
  background: #e8f0fb; color: #0A3A8C;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(10,58,140,0.25);
}
.about-icon > .submenu { left: auto; right: 0; min-width: 190px; transform: translateY(8px); }
.about-icon.has-sub:hover > .submenu { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
.about-icon .flyout { left: auto; right: calc(100% + 12px); transform: translateX(-8px); }
.about-icon .flyout::before { left: auto; right: -14px; }
.about-icon .submenu-link.has-flyout:hover > .flyout { transform: translateX(0); }
.about-icon .submenu-link.has-flyout::after { content: "\25C2"; }

/* ===== CLIENT TRUST WALL ===== */
.client-board {
  position: relative; z-index: 3;
  max-width: 1380px; margin: 40px auto 0;
  padding: 18px 0 18px;
  background: rgba(255,255,255,0.97);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(8,22,48,0.26);
  overflow: hidden;
}
.client-board-head { text-align: center; margin: 14px 0 12px; padding: 0 24px; }
.cb-title {
  font-size: 16px; font-weight: 800; letter-spacing: 0.5px; color: #0A2A5E;
  text-decoration: none; cursor: pointer; transition: color .15s ease;
}
a.cb-title:hover { color: #1E5BBA; text-decoration: underline; text-underline-offset: 3px; }
/* Stat bar */
.stat-bar { display: flex; gap: 8px; padding: 0 22px; }
.stat-tile {
  flex: 1; min-width: 0;
  border-radius: 12px; padding: 11px 6px 10px; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.stat-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(8,22,48,0.14); }
.stat-tile .st-t { font-size: 13.5px; font-weight: 800; color: #1a2e4a; line-height: 1.2; }
.stat-tile .st-rank { font-size: 15px; font-weight: 900; color: #1E5BBA; margin: 3px 0 2px; }
.stat-tile .st-d { font-size: 10.5px; font-weight: 600; color: #6b7e99; line-height: 1.25; }
.stat-tile.c-blue { background: #E8F0FB; }
.stat-tile.c-gray { background: #EEF0F4; }
.stat-tile.c-gold { background: #FBF3D6; }
.stat-tile.c-gold .st-rank { color: #C98A12; }
/* Marquee */
.marquee {
  position: relative; overflow: hidden; padding: 7px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; will-change: transform; padding: 4px 0; }
#cm-row1 .marquee-track { animation: scrollLeft 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px;
  background: #fff; border: 1px solid #e9eef5;
  border-radius: 12px; padding: 12px 14px 11px;
  width: 156px; height: 92px; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(8,22,48,0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.client-chip .logo-wrap {
  height: 38px; width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.client-chip img { max-height: 38px; max-width: 118px; object-fit: contain; }
.client-chip .cname {
  font-size: 12px; font-weight: 700; color: #3a4a63;
  text-align: center; line-height: 1.25; max-width: 138px;
}
.client-chip .cname b { display: block; font-weight: 800; color: #2a3650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-chip .cname .ko-only { display: none; font-style: normal; font-size: 12px; font-weight: 600; color: #9aa3b5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(10,58,140,0.18);
  border-color: #cddcef;
}

/* ===== TRENDING BOARD ===== */
.trending-board {
  position: relative; z-index: 3;
  max-width: 1380px; margin: 46px auto 6px; padding: 34px 20px 30px;
  background: radial-gradient(ellipse at 50% -10%, #1B4FA8 0%, #0A2A5E 55%, #06163a 100%);
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(8,22,48,0.34);
  overflow: hidden;
}
.mc-head { display: flex; align-items: baseline; gap: 12px; justify-content: center; margin-bottom: 14px; }
.mc-label { font-size: 14px; font-weight: 900; letter-spacing: 3px; color: #FFD56B; }
.mc-sub { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.78); }

.cf-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.cf-stage { position: relative; width: 100%; max-width: 1060px; height: 396px; perspective: 1300px; }
.cf-card {
  position: absolute; top: 22px; left: 50%; width: 210px; margin-left: -105px;
  cursor: pointer; transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(.22,.61,.36,1), opacity 0.4s ease;
}
.mc-poster {
  position: relative; height: 292px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
}
.cf-card.is-center .mc-poster { box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 0 3px rgba(255,213,107,0.6); }
.mc-ico { font-size: 86px; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.3)); opacity: 0.96; }
.mc-ptitle {
  position: absolute; left: 14px; right: 14px; top: 62px; text-align: center;
  color: rgba(255,255,255,0.96); font-size: 18px; font-weight: 800; letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.mc-rank {
  position: absolute; left: 10px; bottom: 0;
  font-size: 70px; font-weight: 900; font-style: italic; color: #fff;
  line-height: 1; text-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.mc-cat {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.4px;
  padding: 4px 9px; border-radius: 999px; color: #fff;
}
.cat-season { background: #1E8E5B; }
.cat-hot { background: #E8890C; }
.cat-issue { background: #D9534F; }
.cat-ad { background: rgba(0,0,0,0.5); }
.th-travel { background: linear-gradient(150deg, #2E7BD6, #0A3A8C); }
.th-globe  { background: linear-gradient(150deg, #15A38A, #0E6E8E); }
.th-visa   { background: linear-gradient(150deg, #7C4DFF, #4A2BB0); }
.th-marry  { background: linear-gradient(150deg, #FF6FA5, #C23E7A); }
.th-study  { background: linear-gradient(150deg, #F0A93C, #C9701A); }
.th-ad { background: linear-gradient(150deg, #14233f, #0A2A5E); }
.mc-ad-brand { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: #FFD56B; }
.mc-ad-head { color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; text-align: center; }
.mc-ad-sub { position: absolute; left: 0; right: 0; bottom: 56px; text-align: center; font-size: 11px; color: rgba(255,255,255,0.7); }
.mc-ad-btn { position: absolute; left: 16px; right: 16px; bottom: 16px; text-align: center; background: linear-gradient(135deg, #FFD56B, #FFAA33); color: #5a3d05; font-size: 12px; font-weight: 800; padding: 8px 0; border-radius: 8px; }

.cf-arrow {
  position: absolute; z-index: 200; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: #0A2A5E;
  font-size: 26px; font-weight: 800; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3); border: none; cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.cf-prev { left: 6px; } .cf-next { right: 6px; }
.cf-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.14); box-shadow: 0 10px 24px rgba(0,0,0,0.42); }
.cf-caption { text-align: center; margin-top: 10px; min-height: 52px; }
.cf-cap-title { font-size: 21px; font-weight: 800; color: #fff; }
.cf-cap-status { font-size: 13px; font-weight: 700; margin-top: 4px; }
.cf-cap-status.st-hot  { color: #FF8B7A; }
.cf-cap-status.st-star { color: #9CC0F2; }
.cf-cap-status.st-dday { color: #FFD56B; }
/* 트렌딩 카드 표기 정책 — 공용판(enko)도 영어 단독 표기. 한글 서브(i18n-sub)는
   번역 키 전용으로 마크업 hidden 속성으로 숨긴다(언어판 생성 변환은 마크업 기준이라
   영향 없음 — ko판 한글, 번역판 팩 값으로 접힘). 서브에 display 스타일을 주면
   hidden 이 무력화되므로 여기에 표시 규칙을 추가하지 말 것. */

/* ===== SITE FOOTER =====
   푸터·정부 선정 뱃지 스타일은 assets/css/site-footer.css 가 단일 기준 —
   전 페이지가 해당 파일을 로드한다. 여기 두지 말 것(이중 관리 방지). */

/* Theme grid (nav mega purpose panel) */
.submenu-theme { padding: 12px 12px 4px; border-top: 1px solid #eef1f6; margin-top: 11px; }
.submenu-theme-h { font-size: 11px; font-weight: 800; color: #1E5BBA; margin-bottom: 9px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.theme-chip {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px;
  background: #f6f8fc; border: 1px solid #e8edf5; border-radius: 9px;
  text-decoration: none; transition: .15s;
}
.theme-chip:hover { background: #eaf1fb; border-color: #bcd2f0; transform: translateY(-1px); }
.theme-chip .tc-ic { font-size: 17px; line-height: 1; }
.theme-chip .tc-tx { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; color: #0A2A5E; line-height: 1.25; }
.theme-chip .tc-tx .i18n-sub { font-size: 10px; font-weight: 600; color: #7da3d6; margin-top: 2px; }

/* Mega menu panels */
.flyout.mega {
  width: 540px; max-width: 80vw; padding: 14px 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.flyout.mega .mega-col { min-width: 0; }
.flyout.mega .mega-h {
  font-weight: 800; font-size: 13.5px; border-bottom: 2px solid #e6ebf5;
  padding-bottom: 7px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.flyout.mega .mega-h.personal { color: #1E5BBA; border-color: #dbe7fb; }
.flyout.mega .mega-h.corp { color: #0E7C66; border-color: #cdeee3; }
.flyout.mega .mega-h.imm { color: #1E5BBA; border-color: #dbe7fb; }
.flyout.mega .mega-h.glb { color: #0E7C66; border-color: #cdeee3; }
.flyout.mega .mega-h.wed { color: #C2185B; border-color: #f3cede; }
.flyout.mega .mega-h.ast { color: #7A4ED6; border-color: #e2d7f7; }
.flyout.mega .mega-h.ind { color: #C2185B; border-color: #f3cede; }
.flyout.mega .mega-h.sol { color: #0E7C66; border-color: #cdeee3; }
.flyout.mega .mega-h.law { color: #7A4ED6; border-color: #e2d7f7; }
.flyout.mega .mega-h.trd { color: #B7791F; border-color: #f0e0bd; }
.flyout.mega .mega-sub { font-size: 10px; font-weight: 600; color: #9aa3b0; }
.flyout.mega .mega-top { display: flex; gap: 6px; margin-bottom: 8px; }
.flyout.mega .mega-top a {
  flex: 1; text-align: center; font-size: 11.5px; font-weight: 800;
  border-radius: 7px; padding: 6px 0; text-decoration: none;
}
.flyout.mega .mega-top a.corp { background: #0E7C66; color: #fff; }
.flyout.mega .mega-top a.mt-best { background: #FFE6A1; color: #5a3d05; }
.flyout.mega .mega-col .flyout-link { padding: 5.5px 6px; font-size: 12.5px; border-radius: 6px; }

.flyout.mega .mega-top a.imm { background: #e7effc; color: #1E5BBA; border: 1px solid #dbe7fb; transition: all .15s ease; }
.flyout.mega .mega-top a.imm:hover { background: #1E5BBA; color: #fff; border-color: #1E5BBA; }
.flyout.mega .mega-top a.glb { background: #e2f4ed; color: #0E7C66; border: 1px solid #cdeee3; transition: all .15s ease; }
.flyout.mega .mega-top a.glb:hover { background: #0E7C66; color: #fff; border-color: #0E7C66; }
.flyout.mega .mega-top a.sch { background: #fbeadf; color: #C2410C; border: 1px solid #f6d9c6; transition: all .15s ease; }
.flyout.mega .mega-top a.sch:hover { background: #C2410C; color: #fff; border-color: #C2410C; }
.flyout.mega .mega-top a.wed { background: #fbe7f0; color: #C2185B; border: 1px solid #f3cede; transition: all .15s ease; }
.flyout.mega .mega-top a.wed:hover { background: #C2185B; color: #fff; border-color: #C2185B; }
.flyout.mega .mega-top a.ast { background: #efe8fb; color: #7A4ED6; border: 1px solid #e2d7f7; transition: all .15s ease; }
.flyout.mega .mega-top a.ast:hover { background: #7A4ED6; color: #fff; border-color: #7A4ED6; }
.flyout.mega .mega-top a.ind { background: #fbe7f0; color: #C2185B; border: 1px solid #f3cede; transition: all .15s ease; }
.flyout.mega .mega-top a.ind:hover { background: #C2185B; color: #fff; border-color: #C2185B; }
.flyout.mega .mega-top a.sol { background: #e2f4ed; color: #0E7C66; border: 1px solid #cdeee3; transition: all .15s ease; }
.flyout.mega .mega-top a.sol:hover { background: #0E7C66; color: #fff; border-color: #0E7C66; }
.flyout.mega .mega-top a.law { background: #efe8fb; color: #7A4ED6; border: 1px solid #e2d7f7; transition: all .15s ease; }
.flyout.mega .mega-top a.law:hover { background: #7A4ED6; color: #fff; border-color: #7A4ED6; }
.flyout.mega .mega-top a.trd { background: #f9efdb; color: #B7791F; border: 1px solid #f0e0bd; transition: all .15s ease; }
.flyout.mega .mega-top a.trd:hover { background: #B7791F; color: #fff; border-color: #B7791F; }
.flyout.mega .mega-search {
  grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(135deg,#0A3A8C,#1E5BBA); color: #fff; font-weight: 800;
  font-size: 12.5px; border-radius: 9px; padding: 10px 12px; margin-bottom: 10px; text-decoration: none;
}

.flyout.mega-nations { width: 740px; max-width: 84vw; padding: 14px 16px; }
.flyout.mega-nations .nations-search { margin-bottom: 10px; }
.flyout.mega-purpose { width: 430px; max-width: 84vw; padding: 14px 16px; }
.flyout.mega.biz { width: 560px; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-height: calc(100vh - 150px); overflow-y: auto; }
.flyout.mega.biz::after { content: ''; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px; }
.flyout.mega.personal { width: 600px; grid-template-columns: 1fr 1fr; gap: 16px 20px; max-height: calc(100vh - 150px); overflow-y: auto; }
.flyout.mega.personal::after { content: ''; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px; }

.badge-soon { font-size: 9.5px; font-weight: 800; color: #a3873d; background: #fff3d6; border-radius: 5px; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }

/* Logo image variant */
.logo-img { height: 46px; display: none; transition: transform .18s ease, filter .18s ease; }
.logo.imgok .logo-img { display: block; }
.logo.imgok .logo-mark, .logo.imgok .logo-text { display: none; }
.logo-home:hover .logo-img { transform: translateY(-2px); filter: drop-shadow(0 6px 12px rgba(10,42,94,.25)); }
.logo-home:hover .logo-mark { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(10,42,94,.35); }
.logo-mark { transition: transform .18s ease, box-shadow .18s ease; }
