/* ========================================================
   MKS — Medical Korea Service
   Shared CSS — All Pages
   ======================================================== */

:root {
  --navy: #0F2438;
  --navy-dark: #0A1822;
  --navy-light: #1a3552;
  --ivory: #F5EDE0;
  --ivory-warm: #FAF5EC;
  --champagne: #B89968;
  --champagne-light: #D4BC8F;
  --champagne-dark: #9c8056;
  --jade: #5A7A6E;
  --text-dark: #1A1A1A;
  --text-light: #6B6B6B;
  --border: #E5E0D5;
  --shadow-sm: 0 2px 8px rgba(15, 36, 56, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 36, 56, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 36, 56, 0.12);
  --shadow-cta: 0 8px 24px rgba(15, 36, 56, 0.25);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --section-spacing-desktop: 80px;
  --section-spacing-mobile: 48px;
  --container-max: 1200px;
  --container-narrow: 720px;
  --radius: 6px;
  --header-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--ivory);
  padding-bottom: 56px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (padding: max(0px)) {
  body { padding-bottom: max(56px, calc(56px + env(safe-area-inset-bottom))); }
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

section { padding: var(--section-spacing-mobile) 0; }
@media (min-width: 768px) {
  section { padding: var(--section-spacing-desktop) 0; }
  .container, .container-narrow { padding: 0 40px; }
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--navy);
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ========== EYEBROW ========== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--champagne);
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 237, 224, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 224, 213, 0.5);
}
.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  /* 투명 PNG이므로 별도 처리 불필요 */
}
.logo-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1;
}
@media (min-width: 900px) {
  .logo-mark { height: 32px; }
  .logo-text { font-size: 20px; }
}
.logo-since {
  display: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--champagne);
  padding: 3px 9px;
  border: 1px solid var(--champagne);
  border-radius: 100px;
  text-transform: uppercase;
}
@media (min-width: 600px) { .logo-since { display: inline-flex; } }

/* Desktop menu */
.menu-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 900px) { .menu-desktop { display: flex; } }
.menu-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.menu-desktop a:hover, .menu-desktop a.active { color: var(--champagne); }
.menu-desktop a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--champagne);
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media (min-width: 600px) { .lang-toggle { display: flex; } }
.lang-toggle a {
  text-decoration: none;
  color: var(--text-light);
  padding: 4px 6px;
  transition: color 0.2s;
}
.lang-toggle a.active { color: var(--navy); font-weight: 600; }
.lang-toggle a:hover { color: var(--champagne); }
.lang-toggle .sep { color: var(--border); }

/* Header WhatsApp Icon — green circle only (always visible) */
.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #25D366;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
}
.header-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.header-wa:active { transform: scale(0.96); }
.header-wa svg { display: block; }
@media (min-width: 900px) {
  .header-wa { width: 40px; height: 40px; }
}

/* Mobile hamburger */
.menu-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
}
@media (min-width: 900px) { .menu-hamburger { display: none; } }
.menu-hamburger svg { width: 20px; height: 20px; stroke: var(--navy); }

/* Mobile menu overlay */
.menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ivory);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0;
}
.menu-overlay.open { transform: translateX(0); }
.menu-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-close svg { width: 20px; height: 20px; stroke: var(--navy); }
.menu-overlay-content {
  padding: 32px 24px;
  flex: 1;
}
.menu-overlay-content a {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.menu-overlay-content a:hover { color: var(--champagne); }
.menu-overlay-lang {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 14px;
  justify-content: center;
}
.menu-overlay-lang a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-bottom: none;
  padding: 8px 16px;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  display: inline-block;
}
.menu-overlay-lang a.active { color: var(--navy); border-color: var(--navy); }
.menu-overlay-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}
.menu-overlay-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: var(--ivory);
  padding: 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  box-shadow: var(--shadow-cta);
}

/* Coming soon language indicator */
.lang-soon {
  font-size: 9px;
  color: var(--text-light);
  margin-left: 2px;
  letter-spacing: 0;
}

/* ========== STICKY BOTTOM BAR (Phase 5.0 — Mobile) ========== */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  pointer-events: none;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 900px) { .sticky-bar { display: none; } }

.sticky-bar-trigger {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 18px;
  /* 🔧 champagne 강조선 두께 강화: 2px → 4px */
  border: none;
  border-top: 4px solid var(--champagne);
  /* 🔧 navy → 살짝 champagne 글로우가 비치는 진한 navy */
  background: linear-gradient(to bottom, #142d44 0%, var(--navy) 100%);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;            /* 🔧 15 → 16 */
  font-weight: 700;           /* 🔧 600 → 700 */
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  /* 🔧 훨씬 강한 champagne 글로우 (상단으로 빛나도록) */
  box-shadow:
    0 -1px 0 var(--champagne),                          /* 안쪽 라인 강조 */
    0 -6px 24px rgba(184, 153, 104, 0.55),              /* champagne 글로우 */
    0 -2px 12px rgba(184, 153, 104, 0.40),              /* 가까운 글로우 */
    0 -14px 40px rgba(15, 36, 56, 0.45);                /* navy 그림자 */
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  /* 🔧 더 자주 펄스 (3회 반복, 6초간) */
  animation: stickyPulse 2s ease-in-out 3;
}
@keyframes stickyPulse {
  0%, 100% {
    box-shadow:
      0 -1px 0 var(--champagne),
      0 -6px 24px rgba(184, 153, 104, 0.55),
      0 -2px 12px rgba(184, 153, 104, 0.40),
      0 -14px 40px rgba(15, 36, 56, 0.45);
    transform: translateY(0);
  }
  50% {
    box-shadow:
      0 -1px 0 var(--champagne),
      0 -10px 40px rgba(184, 153, 104, 0.85),
      0 -4px 18px rgba(184, 153, 104, 0.65),
      0 -16px 48px rgba(15, 36, 56, 0.55);
    transform: translateY(-1px);
  }
}
.sticky-bar-trigger:hover {
  background: linear-gradient(to bottom, #1a3550 0%, #0f2438 100%);
  box-shadow:
    0 -2px 0 var(--champagne),
    0 -10px 36px rgba(184, 153, 104, 0.85),
    0 -4px 18px rgba(184, 153, 104, 0.65),
    0 -16px 44px rgba(15, 36, 56, 0.55);
  transform: translateY(-1px);
}
.sticky-bar-trigger:active {
  background: #0a1b2a;
  transform: translateY(0);
}

/* 🔧 다이아몬드 아이콘 (💎) 자체에 미세 강조 */
.sticky-bar-text {
  flex: 0 1 auto;
  /* 텍스트 가독성 더 위해 글자 그림자 살짝 */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.sticky-bar-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--champagne);
}
.sticky-bar.open .sticky-bar-arrow {
  transform: rotate(180deg);
}
.sticky-bar-panel {
  pointer-events: auto;
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(15, 36, 56, 0.14);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.sticky-bar.open .sticky-bar-panel {
  max-height: 280px;
}
.sticky-bar-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.sticky-bar-close:hover {
  background: rgba(15, 36, 56, 0.08);
}
.sticky-bar-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  font-family: var(--sans);
}
.sticky-bar-option:last-of-type {
  border-bottom: none;
}
.sticky-bar-option:hover {
  background: rgba(184, 153, 104, 0.08);
}
.sticky-bar-option-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-bar-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sticky-bar-option-text strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.sticky-bar-option-text em {
  color: var(--text-light);
  font-size: 12px;
  font-style: italic;
  font-family: var(--serif);
}

/* ========== SECTION TITLES ========== */
.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--navy);
}
.section-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-light);
  margin-bottom: 48px;
  max-width: 680px;
  line-height: 1.5;
}

/* ========== CTA BUTTON ========== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  padding: 18px 32px;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 56px;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
}
.cta-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(184, 153, 104, 0.2), transparent);
  transition: left 0.6s;
}
.cta-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 36, 56, 0.3);
}
.cta-primary:hover::before { left: 100%; }
.cta-arrow { font-size: 18px; transition: transform 0.3s; }
.cta-primary:hover .cta-arrow { transform: translateX(4px); }
.cta-caption {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 14px;
  line-height: 1.5;
  max-width: 480px;
}

/* ========== ACCORDION (FAQ style) ========== */
.accordion {
  background: white;
  border: 1px solid var(--border);
  border-top: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 500;
  color: var(--navy);
  transition: all 0.2s;
  min-height: 56px;
}
@media (min-width: 768px) {
  .accordion-trigger { padding: 28px 32px; }
}
.accordion-trigger:hover {
  color: var(--champagne);
  background: rgba(184, 153, 104, 0.03);
}
.accordion-trigger-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.accordion-step {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--champagne);
  text-transform: uppercase;
}
.accordion-count {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  font-style: italic;
}
.accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  color: var(--champagne);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  transition: transform 0.3s, background 0.3s;
  flex-shrink: 0;
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--champagne);
  color: white;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item.open .accordion-content { max-height: 3000px; }
.accordion-body {
  padding: 0 24px 32px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dark);
}
@media (min-width: 768px) { .accordion-body { padding: 0 32px 36px 32px; } }
.accordion-body p { margin-bottom: 14px; }
.accordion-sub {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 20px 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.accordion-sub:first-child { margin-top: 0; }
.accordion-list { list-style: none; margin: 0 0 16px 0; padding: 0; }
.accordion-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
}
.accordion-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--champagne);
  font-weight: 600;
}
.accordion-note {
  background: var(--ivory-warm);
  border-left: 3px solid var(--champagne);
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.65;
}
.accordion-figure {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.accordion-figure img { width: 100%; height: auto; display: block; }
.accordion-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-light);
  background: var(--ivory-warm);
  text-align: center;
  font-style: italic;
}

/* ========== FOOTER ========== */
footer {
  background: var(--navy-dark);
  color: rgba(245, 237, 224, 0.7);
  padding: 56px 0 32px 0;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 0;
}
.footer-top {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245, 237, 224, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-gov-centered {
  width: 100%;
  align-items: center;
}
.footer-logo-mark {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.footer-logo-text {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--champagne);
  font-size: 14px;
  width: 100%;
  margin-top: 4px;
}
.footer-gov-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 36px 0;
  padding: 20px;
  background: rgba(245, 237, 224, 0.04);
  border: 1px solid rgba(245, 237, 224, 0.12);
  border-radius: var(--radius);
}
@media (min-width: 700px) {
  .footer-gov-logos { grid-template-columns: repeat(4, 1fr); }
}
.footer-gov {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-gov-img {
  background: white;
  padding: 8px 12px;
  border-radius: 4px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.footer-gov-img img {
  height: 100%;
  max-height: 34px;
  width: auto;
  object-fit: contain;
}
.footer-gov-name {
  font-size: 10px;
  color: rgba(245, 237, 224, 0.7);
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.footer-certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 36px 0;
}
@media (min-width: 700px) {
  .footer-certs { grid-template-columns: repeat(4, 1fr); }
}
.footer-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(245, 237, 224, 0.04);
  border: 1px solid rgba(245, 237, 224, 0.15);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s;
}
.footer-cert:hover {
  background: rgba(245, 237, 224, 0.08);
  border-color: var(--champagne);
  transform: translateY(-2px);
}
.footer-cert-thumb {
  width: 88px;
  height: 120px;
  object-fit: cover;
  background: white;
  border-radius: 2px;
  border: 1px solid rgba(245, 237, 224, 0.2);
}
.footer-cert-label {
  font-size: 11px;
  text-align: center;
  color: rgba(245, 237, 224, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  font-weight: 500;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.footer-col-title {
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col p { margin-bottom: 4px; font-size: 13px; }
.footer-col a {
  color: rgba(245, 237, 224, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--champagne); }
.footer-italic { font-style: italic; color: rgba(245, 237, 224, 0.5); font-size: 12px; }
.footer-legal {
  padding-top: 28px;
  border-top: 1px solid rgba(245, 237, 224, 0.15);
  font-size: 11px;
  color: rgba(245, 237, 224, 0.5);
  line-height: 1.7;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-legal a { color: rgba(245, 237, 224, 0.7); text-decoration: none; }
.footer-disclaimer { font-style: italic; margin-top: 14px; max-width: 760px; }
.footer-copy { margin-top: 18px; color: rgba(245, 237, 224, 0.4); }

::selection { background: var(--champagne); color: var(--ivory); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body.menu-open { overflow: hidden; }


/* ========================================
   MOBILE READABILITY OPTIMIZATION
   Audience: 30-50s Indonesian/Singapore Chinese women + James (52)
   Strategy: +13% font size, -12% spacing, key phrase highlighting
   ======================================== */

/* Base font size increase for mobile */
@media (max-width: 767px) {
  body {
    font-size: 17px;
    line-height: 1.55;
  }
  
  /* Section padding - tighter */
  section { padding: 48px 0; }
  
  /* Container padding */
  .container, .container-narrow { padding: 0 20px; }
  
  /* Headings */
  h1, h2, h3, h4 { line-height: 1.18; }
  .section-title { 
    font-size: 30px; 
    margin-bottom: 14px;
    line-height: 1.15;
  }
  .section-intro {
    font-size: 17px;
    margin-bottom: 32px;
    line-height: 1.45;
  }
  .page-hero h1 { font-size: 36px; line-height: 1.12; }
  .page-hero-sub { font-size: 18px; line-height: 1.45; }
  
  /* Eyebrow - more legible */
  .eyebrow { 
    font-size: 12px; 
    margin-bottom: 16px;
    letter-spacing: 0.16em;
  }
  
  /* Hero specific */
  .hero { padding: 40px 0 44px 0; }
  .hero-headline { font-size: 34px; line-height: 1.15; margin-bottom: 20px; }
  .hero-tagline { font-size: 16px; margin-bottom: 22px; padding-left: 14px; }
  .hero-desire { font-size: 19px; margin-bottom: 28px; line-height: 1.4; }
  .hero-sub { font-size: 16px; line-height: 1.6; margin-bottom: 10px; }
  .hero-final-push { font-size: 17px; margin-bottom: 16px; line-height: 1.45; }
  
  /* Hero stats */
  .hero-stats { gap: 8px; margin: 28px 0; }
  .hero-stat { padding: 16px 12px; }
  .hero-stat-number { font-size: 32px; margin-bottom: 4px; }
  .hero-stat-label { font-size: 11px; letter-spacing: 0.08em; }
  
  /* CTA button */
  .cta-primary { 
    font-size: 17px; 
    padding: 18px 28px;
    min-height: 56px;
    width: 100%;
    justify-content: center;
  }
  .cta-caption { font-size: 14px; margin-top: 12px; line-height: 1.45; }
  
  /* Accordion */
  .accordion-trigger { 
    padding: 20px; 
    font-size: 20px;
    min-height: 60px;
  }
  .accordion-step { font-size: 11px; }
  .accordion-count { font-size: 13px; }
  .accordion-icon { width: 30px; height: 30px; font-size: 18px; }
  .accordion-body { 
    padding: 0 20px 26px 20px; 
    font-size: 16px;
    line-height: 1.65;
  }
  .accordion-sub { font-size: 17px; margin: 16px 0 8px; }
  .accordion-list li { font-size: 15px; padding: 5px 0 5px 22px; line-height: 1.5; }
  .accordion-note { font-size: 15px; padding: 12px 16px; }
  .accordion-figure figcaption { font-size: 13px; padding: 8px 12px; }
  
  /* Trust cards / process steps */
  .trust-card-title { font-size: 19px; }
  .trust-card-body p { font-size: 15px; line-height: 1.5; }
  .trust-card-body { padding: 18px 16px; }
  .trust-card-count { font-size: 11px; margin-bottom: 8px; }
  
  /* Process steps */
  .process-step { padding: 20px 16px; }
  .process-step-num { width: 38px; height: 38px; font-size: 17px; margin-bottom: 14px; }
  .process-step-title { font-size: 17px; margin-bottom: 6px; }
  .process-step-body { font-size: 14px; line-height: 1.55; }
  
  /* Match points */
  .match-point { padding: 22px 18px; }
  .match-icon { width: 38px; height: 38px; margin-bottom: 14px; }
  .match-stat { font-size: 36px; margin-bottom: 8px; }
  .match-headline { font-size: 19px; margin-bottom: 10px; line-height: 1.3; }
  .match-body { font-size: 15px; line-height: 1.6; }
  
  /* Decide cards */
  .decide-card { padding: 22px 18px; }
  .decide-card h3 { font-size: 20px; margin-bottom: 10px; }
  .decide-card p { font-size: 15px; line-height: 1.6; }
  
  /* Spec cards */
  .spec-card { padding: 22px 18px; }
  .spec-name { font-size: 22px; }
  .spec-specialty { font-size: 11px; margin-bottom: 14px; }
  .spec-meta li { font-size: 14px; line-height: 1.5; padding: 6px 0; }
  
  /* Founder snapshot */
  .founder-text h2 { font-size: 30px; }
  .founder-role { font-size: 17px; margin-bottom: 14px; }
  .founder-text p { font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
  
  /* About text */
  .about-title { font-size: 32px; }
  .about-role { font-size: 17px; }
  .about-stats { gap: 8px; margin: 18px 0 24px; }
  .about-stat { padding: 12px 8px; }
  .about-stat-number { font-size: 24px; }
  .about-stat-label { font-size: 10px; }
  .about-bio p { font-size: 15px; line-height: 1.65; margin-bottom: 12px; }
  .credentials { padding: 18px; margin: 24px 0; }
  .credentials li { font-size: 14px; padding: 8px 0; line-height: 1.45; }
  .about-closing { font-size: 19px; padding: 18px 0; margin: 24px 0; line-height: 1.45; }
  
  /* Privacy cards */
  .privacy-hero { font-size: 19px; margin-bottom: 32px; line-height: 1.4; }
  .privacy-card { padding: 22px 18px; }
  .privacy-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
  .privacy-card p { font-size: 15px; line-height: 1.6; }
  .privacy-closing { font-size: 18px; margin: 32px auto 0; padding-top: 24px; }
  
  /* Final CTA */
  .final-quote { font-size: 24px; margin-bottom: 30px; line-height: 1.35; }
  
  /* Company cards */
  .company-card { padding: 22px 18px; }
  .company-card h3 { font-size: 18px; margin-bottom: 12px; }
  .company-card p { font-size: 14px; line-height: 1.6; }
  
  /* Gallery */
  .field-item-caption { font-size: 11px; padding: 8px 10px; }
  
  /* Total banner */
  .total-banner { padding: 20px; margin: 32px 0 24px; }
  .total-banner-num { font-size: 44px; }
  .total-banner-label { font-size: 11px; }
}

/* Even smaller phones */
@media (max-width: 380px) {
  body { font-size: 16px; }
  .container, .container-narrow { padding: 0 16px; }
  .hero-headline { font-size: 30px; }
  .section-title { font-size: 26px; }
}

/* Key phrase highlight */
.highlight-key {
  color: var(--champagne);
  font-weight: 600;
  /* 단어 자체가 줄바꿈되지 않도록 */
  white-space: nowrap;
}
.highlight-strong {
  color: var(--navy);
  font-weight: 600;
}

/* 🆕 단어와 마침표를 묶는 작은 래퍼 (industry. 같은 경우) */
.word-period {
  white-space: nowrap;
  display: inline-block;
}

/* 🆕 highlight-key + 마침표 묶음 (trust. / percaya.) */
.highlight-trust {
  white-space: nowrap;
  display: inline-block;
}
.trust-period {
  color: var(--text-dark);
  font-weight: inherit;
  /* 마침표가 champagne 색에 묻혀 보이지 않게 navy로 표시 */
}

/* 호환성: 기존 no-orphan-period도 유지 */
.no-orphan-period {
  white-space: nowrap;
}

/* ============================================== */
/* ========== v5 NEW STYLES ===================== */
/* ============================================== */

/* Smart Sticky Header (작업 #10) ----------------- */
.site-header {
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.header-hidden {
  transform: translateY(-100%);
}

/* Floating WhatsApp (작업 #9, sticky bar 대체) --- */
/* floating-wa는 Phase 5.0에서 제거됨 — 헤더 WhatsApp + 모바일 sticky bar로 대체 */

/* Minimal Footer (작업 #8, 내부 페이지용) -------- */
.site-footer-minimal {
  padding: 36px 0 28px 0;
  background: var(--navy);
  color: rgba(245, 237, 224, 0.72);
}
@media (min-width: 768px) {
  .site-footer-minimal { padding: 44px 0 32px 0; }
}
.footer-mini-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-mini-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
    gap: 24px;
  }
}
.footer-mini-name {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ivory);
  margin: 0 0 4px 0;
  font-weight: 500;
}
.footer-mini-license {
  font-size: 12px;
  margin: 0;
  letter-spacing: 0.02em;
  color: rgba(245, 237, 224, 0.6);
}
.footer-mini-contact {
  font-size: 13px;
  line-height: 1.8;
}
.footer-mini-contact a {
  color: rgba(245, 237, 224, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-mini-contact a:hover { color: var(--champagne-light); }
.footer-mini-sep {
  margin: 0 8px;
  color: rgba(245, 237, 224, 0.3);
}
.footer-mini-gov {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(245, 237, 224, 0.08);
  border-bottom: 1px solid rgba(245, 237, 224, 0.08);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-mini-gov img {
  height: 32px;
  width: auto;
  background: white;
  padding: 4px 8px;
  border-radius: 2px;
  opacity: 0.92;
  transition: opacity 0.25s;
}
.footer-mini-gov img:hover { opacity: 1; }
@media (min-width: 768px) {
  .footer-mini-gov img { height: 38px; }
}
.footer-mini-bottom { text-align: center; }
.footer-mini-copy {
  font-size: 13px;
  color: rgba(245, 237, 224, 0.72);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.8;
}
.footer-mini-copy a {
  color: var(--champagne-light);
  text-decoration: none;
  margin: 0 4px;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-block;
  padding: 2px 4px;
}
.footer-mini-copy a:hover {
  color: white;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .footer-mini-copy { font-size: 12.5px; line-height: 2.0; }
  .footer-mini-copy a { display: inline-block; margin: 2px 6px; }
}

/* Full Footer — government logos slightly larger (작업 #19) */
.footer-gov-logos img {
  background: white;
  padding: 6px 10px;
  border-radius: 3px;
  height: 56px;
  object-fit: contain;
}
@media (max-width: 700px) {
  .footer-gov-logos img { height: 44px; padding: 5px 8px; }
}

/* Fade-in on Scroll (작업 #17) ------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-header { transition: none; }
}

/* Hamburger menu overlay CTA — Premium 톤 강화 ---- */
.menu-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--ivory);
  padding: 16px 28px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.25s ease;
  border: 1px solid var(--navy);
}
.menu-overlay-cta:hover {
  background: var(--champagne);
  border-color: var(--champagne);
  color: white;
}

/* ============================================
   Phase 4 추가 스타일 - 2026.05.14
   ============================================ */

/* Cert Lightbox */
.cert-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 36, 56, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
.cert-lightbox.open { display: flex; }
.cert-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cert-lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  background: white;
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}
.cert-lightbox-close {
  position: absolute;
  top: -50px;
  right: -10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cert-lightbox-close:hover { background: rgba(255,255,255,0.3); }
.cert-lightbox-caption {
  color: rgba(245, 237, 224, 0.95);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 600px) {
  .cert-lightbox-close { top: -45px; right: 0; }
  .cert-lightbox-inner img { max-height: 75vh; }
}

/* Footer Cert Thumbnails — 더 크게 */
.footer-cert-thumb {
  width: 110px !important;
  height: 150px !important;
}
@media (max-width: 600px) {
  .footer-cert-thumb {
    width: 90px !important;
    height: 125px !important;
  }
}

/* Footer Gov Logos — 모바일 2x2, PC 1행 (max-width 제거하여 완전히 펼침) */
.footer-gov-logos {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 480px;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (min-width: 700px) {
  .footer-gov-logos {
    grid-template-columns: repeat(4, 1fr) !important;
    max-width: 100% !important;
    gap: 20px !important;
    align-items: center;
  }
  .footer-gov-logos img {
    height: 60px !important;
    padding: 8px 16px !important;
  }
}

/* Logo — 인증기관 사이즈 수준으로 축소 (투명 PNG 마크) */
.logo-mark {
  height: 24px !important;
}
.logo-text {
  font-size: 15px !important;
}
@media (min-width: 900px) {
  .logo-mark { height: 28px !important; }
  .logo-text { font-size: 16px !important; }
}

/* PC 텍스트 일관성 - 본문 더 크고 선명 */
@media (min-width: 900px) {
  .section-intro {
    font-size: 17px;
    line-height: 1.75;
  }
  .match-body, .field-item-caption, .voice-mini-quote {
    font-size: 15px;
  }
}

/* 모바일 메뉴 — 한 화면 안에 보이게 글자 작게 (3단계 축소 + 한 화면 fit) */
@media (max-width: 768px) {
  /* 메뉴 항목 본체 — 실제 클래스 .menu-overlay-content a */
  .menu-overlay-content a {
    font-size: 16px !important;          /* 28px → 16px (2단계 이하 축소) */
    padding: 8px 0 !important;            /* 14px → 8px */
    border-bottom: 1px solid var(--border) !important;
    line-height: 1.3 !important;
  }
  .menu-overlay-content {
    padding: 20px 24px 16px !important;   /* 32px → 20px */
  }
  /* 언어 토글 — 더 작게 */
  .menu-overlay-lang {
    margin-top: 14px !important;          /* 32px → 14px */
    padding-top: 12px !important;
    gap: 8px !important;
  }
  .menu-overlay-lang a {
    font-size: 11px !important;
    padding: 5px 11px !important;
  }
  /* 푸터 영역 (WhatsApp CTA 버튼) */
  .menu-overlay-footer {
    padding: 14px 20px !important;
  }
  .menu-overlay-cta {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
  /* 메뉴 헤더 (로고 + X 닫기) */
  .menu-overlay-header {
    padding: 14px 20px !important;
  }
  /* 혹시 모를 추가 카테고리/eyebrow 제목 — 2단계 이하 축소 */
  .menu-overlay .eyebrow,
  .menu-overlay .menu-eyebrow,
  .menu-overlay .menu-section-title,
  .menu-overlay .menu-category-label {
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 4px !important;
    margin-top: 6px !important;
  }
}

/* 매우 작은 화면 (iPhone SE 320~380px) — 더 압축 */
@media (max-width: 380px) {
  .menu-overlay-content a {
    font-size: 14px !important;
    padding: 6px 0 !important;
  }
  .menu-overlay-content {
    padding: 14px 20px 10px !important;
  }
  .menu-overlay-lang {
    margin-top: 10px !important;
    padding-top: 8px !important;
  }
  .menu-overlay-lang a {
    font-size: 10px !important;
    padding: 4px 9px !important;
  }
  .menu-overlay-footer {
    padding: 10px 18px !important;
  }
  .menu-overlay-cta {
    padding: 9px 14px !important;
    font-size: 12px !important;
  }
  .menu-overlay-header {
    padding: 10px 16px !important;
  }
}

/* Voice Card Quote — 언더라인 제거 (a 태그 default 제거) */
.voice-card a, .voice-card a:hover, .voice-card a:visited {
  text-decoration: none !important;
  color: inherit !important;
}
.voice-mini, .voice-mini:hover, .voice-mini:visited,
.voice-mini *, .voice-mini *:hover {
  text-decoration: none !important;
}
.voice-mini-initial, .voice-mini-quote, .voice-mini-meta {
  text-decoration: none !important;
}

/* 강남 로고 흰배경 제거 (이제 자체적으로 그라데이션 로고임) */
.footer-mini-gov img,
.footer-gov-logos img {
  background: transparent !important;
  padding: 4px 6px !important;
  border-radius: 0 !important;
}
/* KTO, KHIDI, SMTA는 어두운 배경에 흰박스 필요 (이전 흰배경 로고였음) */
.footer-mini-gov img[alt*="Korea Tourism"],
.footer-mini-gov img[alt*="Korea Health"],
.footer-mini-gov img[alt*="Seoul Medical"],
.footer-gov-logos img[alt*="Korea Tourism"],
.footer-gov-logos img[alt*="Korea Health"],
.footer-gov-logos img[alt*="Seoul Medical"] {
  background: white !important;
  padding: 6px 10px !important;
  border-radius: 3px !important;
}

/* ============================================
   Phase 5.0 — Page-level CTA Section
   ============================================ */
.page-cta {
  padding: 80px 24px 100px;
  background: var(--ivory);
  text-align: center;
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .page-cta { padding: 120px 24px 140px; }
}
.page-cta-inner {
  max-width: 620px;
  margin: 0 auto;
}
.page-cta-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--champagne);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.page-cta-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.page-cta-divider {
  width: 40px;
  height: 1px;
  background: var(--champagne);
  margin: 0 auto 28px;
}
.page-cta-subtext {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 36px;
  font-style: italic;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .page-cta-subtext { font-size: 19px; }
}
.page-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(15, 36, 56, 0.12);
}
.page-cta-btn:hover {
  background: #1a3550;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 36, 56, 0.18);
}
.page-cta-btn:active { transform: translateY(0); }
.page-cta-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  font-family: var(--serif);
}

/* ============================================
   Phase 5.0 — Lead Capture Modal
   ============================================ */
.lead-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 36, 56, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: leadFadeIn 0.3s ease;
}
.lead-modal.open {
  display: flex;
}
@keyframes leadFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lead-modal-inner {
  background: var(--ivory);
  width: 100%;
  max-width: 480px;
  padding: 44px 36px 36px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  margin: auto;
  animation: leadSlideUp 0.4s ease;
}
@keyframes leadSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 500px) {
  .lead-modal-inner { padding: 36px 24px 28px; }
}
.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.lead-modal-close:hover {
  background: rgba(15, 36, 56, 0.08);
}
.lead-modal-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lead-modal-sub {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.55;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-field label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lead-field label .required {
  color: var(--champagne);
  margin-left: 2px;
}
.lead-field label .optional {
  color: var(--text-light);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  font-size: 11px;
}
.lead-field input,
.lead-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(15, 36, 56, 0.18);
  border-radius: 2px;
  background: white;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--navy);
  transition: border-color 0.2s;
}
.lead-field input:focus,
.lead-field select:focus {
  outline: none;
  border-color: var(--champagne);
}
.lead-field input::placeholder {
  color: rgba(15, 36, 56, 0.35);
}
.lead-hint {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  color: var(--text-light);
  margin-top: 2px;
  margin-bottom: 0;
}
.lead-consent {
  margin-top: 4px;
}
.lead-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dark);
  cursor: pointer;
}
.lead-checkbox input[type="checkbox"] {
  margin: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.lead-checkbox a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--champagne);
  text-underline-offset: 2px;
}
.lead-checkbox a:hover {
  color: var(--champagne);
}
.lead-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.2s;
}
.lead-submit:hover {
  background: #1a3550;
  transform: translateY(-1px);
}
.lead-submit:active {
  transform: translateY(0);
}
.lead-footer {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 0;
}

/* Success state */
.lead-modal-success {
  text-align: center;
  padding: 8px 0;
}
.lead-success-check {
  width: 56px;
  height: 56px;
  margin: 8px auto 24px;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 300;
}
.lead-success-text {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.lead-success-signature {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--navy);
  margin-top: 18px;
}

/* Prevent body scroll when modal open */
body.modal-open {
  overflow: hidden;
}
