/* ============================================================================
 * VG Immigration Services — Client Intake Stylesheet
 * Luxe palette aligned with app.vgis.ca (CRM design tokens).
 * Navy + warm gold accents on parchment-cream surfaces.
 * ========================================================================== */

:root {
  /* ---- Lux palette (from /tmp/vgis-crm/client/src/lib/theme/tokens.css) ---- */
  --lux-navy-950: #0a1628;
  --lux-navy-900: #0f1f3a;
  --lux-navy-800: #1a365d;
  --lux-navy-700: #234574;
  --lux-navy-600: #2e5489;
  --lux-navy-500: #4a6fa5;
  --lux-navy-300: #a3b5d4;
  --lux-navy-200: #d1d9e8;
  --lux-navy-100: #e8edf3;

  --lux-gold-700: #8b6f2f;
  --lux-gold-600: #a88a3f;
  --lux-gold-500: #c7a250;
  --lux-gold-400: #d4b574;
  --lux-gold-300: #e0c898;
  --lux-gold-100: #f5ead4;

  --lux-parch-50:  #FAFAF7;
  --lux-parch-100: #f6f3ec;
  --lux-parch-200: #f0ede5;
  --lux-parch-300: #e6e2d8;
  --lux-parch-400: #cdc8b8;

  --lux-cream: #FBF9F4;
  --lux-warmwhite: #FBF8F1;

  --elev-1: 0 1px 2px 0 rgba(14, 30, 58, 0.04), 0 1px 3px 0 rgba(201, 162, 76, 0.03);
  --elev-2: 0 4px 8px -2px rgba(14, 30, 58, 0.08), 0 2px 4px -2px rgba(201, 162, 76, 0.04);
  --elev-3: 0 16px 32px -8px rgba(14, 30, 58, 0.14), 0 8px 16px -8px rgba(201, 162, 76, 0.06);

  --border-gold: rgba(201, 162, 76, 0.45);
  --border-subtle: rgba(14, 30, 58, 0.08);

  /* ---- Legacy aliases (preserved so existing form-interior CSS keeps working) ---- */
  --navy: var(--lux-navy-800);
  --navy-light: var(--lux-navy-700);
  --navy-dark: var(--lux-navy-950);
  --gold: var(--lux-gold-500);
  --gold-light: var(--lux-gold-300);
  --bg: var(--lux-cream);
  --surface: var(--lux-parch-50);
  --text: var(--lux-navy-900);
  --muted: #5d6776;
  --border: var(--border-subtle);
  --border-strong: rgba(14, 30, 58, 0.20);
  --error: #b91c1c;
  --error-bg: #fef2f2;
  --success: #047857;
  --success-bg: #ecfdf5;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-sm: var(--elev-1);
  --shadow: var(--elev-2);
  --shadow-lg: var(--elev-3);
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* ---- Brand truth from vgis.ca (Luxe v2) ---- */
  --vg-royal-900: #001a4a;
  --vg-royal-800: #002665;
  --vg-royal-700: #003a8c;
  --vg-royal-600: #00458f;
  --vg-royal-500: #0056b3;
  --vg-royal-100: #e7f1fd;
  --vg-gold-brand: #f3c119;
  --vg-gold-brand-hover: #dba715;
  --vg-gold-brand-dark: #b8901a;

  --lux-tap-min: 48px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--navy); margin: 0 0 .5em; font-weight: 700; }
h1 { font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; }
h2 { font-weight: 600; font-size: 1.4rem; letter-spacing: -0.015em; }
h3 { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; }
a { color: var(--navy); }
a:hover { color: var(--lux-gold-700); }

/* Mono utility for IDs, numbers, codes */
.lux-mono { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---------- HEADER (LUXE V2 — white surface with gold hairline) ---------- */
.site-header {
  position: relative;
  background: #ffffff;
  color: var(--vg-royal-800);
  border-bottom: 3px solid var(--vg-gold-brand);
  box-shadow: 0 1px 2px rgba(0,38,101,.08);
}
.site-header-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo-block { display: flex; align-items: center; text-decoration: none; }
.logo-block img { height: 64px; width: auto; display: block; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.logo-block .brand-name, .logo-block .brand-tag { display: none; } /* logo now contains wordmark + tagline */

/* CTA buttons + socials cluster (right side) */
.header-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.header-ctas { display: flex; gap: 10px; align-items: center; }
.btn-onboard {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vg-gold-brand); color: var(--vg-royal-800);
  font-family: var(--font-body); font-weight: 700;
  font-size: .82rem; letter-spacing: .02em;
  padding: 10px 18px; border-radius: 8px;
  text-decoration: none; border: 1.5px solid var(--vg-gold-brand);
  box-shadow: 0 2px 6px rgba(243,193,25,.35);
  transition: all .18s ease; white-space: nowrap;
  min-height: 0; line-height: 1.2;
}
.btn-onboard:hover { background: var(--vg-gold-brand-hover); border-color: var(--vg-gold-brand-hover); color: var(--vg-royal-800); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(219,167,21,.45); }
.btn-onboard .arrow { font-size: 1rem; line-height: 1; transition: transform .18s ease; }
.btn-onboard:hover .arrow { transform: translateX(3px); }
.btn-consult {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--vg-royal-800);
  font-family: var(--font-body); font-weight: 600; font-size: .82rem;
  padding: 10px 18px; border-radius: 8px;
  text-decoration: none; border: 1.5px solid var(--vg-royal-800);
  transition: all .18s ease; white-space: nowrap;
  min-height: 0; line-height: 1.2;
}
.btn-consult:hover { background: var(--vg-royal-800); color: #fff; }
.header-social { display: flex; align-items: center; gap: 14px; font-size: .78rem; color: var(--muted); }
.header-social .phone { color: var(--vg-royal-800); text-decoration: none; font-weight: 600; }
.header-social .phone:hover { color: var(--vg-gold-brand-dark); }
.header-social .social-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(14,30,58,0.25); }
.header-social .social-icons { display: flex; gap: 8px; align-items: center; }
.header-social .social-icons a.sm {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: transparent; box-shadow: 0 1px 2px rgba(0,38,101,.10);
  transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease;
  outline: 2px solid transparent; outline-offset: 2px;
}
.header-social .social-icons a.sm:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,38,101,.18); outline-color: var(--vg-gold-brand); }
.header-social .social-icons a.sm:focus-visible { outline-color: var(--vg-gold-brand-hover); }
.header-social .social-icons svg { width: 28px; height: 28px; display: block; border-radius: 8px; }

/* Legacy header-contact alias kept harmless if any old form HTML still has it */
.header-contact { font-size: .85rem; text-align: right; color: var(--vg-royal-800); }
.header-contact a { color: var(--vg-royal-800); text-decoration: none; font-weight: 600; }
.header-contact a:hover { color: var(--vg-gold-brand-dark); }

@media (max-width: 900px) {
  .site-header-inner { flex-wrap: wrap; gap: 12px; padding: 14px 20px; }
  .header-actions { width: 100%; align-items: stretch; flex-direction: column; gap: 10px; border-top: 1px solid rgba(14,30,58,0.10); padding-top: 12px; }
  .header-ctas { width: 100%; }
  .btn-onboard, .btn-consult { flex: 1; justify-content: center; }
  .header-social { justify-content: space-between; width: 100%; }
}
@media (max-width: 560px) {
  .btn-onboard, .btn-consult { font-size: .72rem; padding: 9px 8px; }
  .btn-onboard .arrow { display: none; }
  .header-social { font-size: .7rem; gap: 8px; }
  .header-social .social-icons { gap: 6px; }
  .header-social .social-icons a.sm { width: 26px; height: 26px; border-radius: 7px; }
  .header-social .social-icons svg { width: 26px; height: 26px; border-radius: 7px; }
  .logo-block img { height: 48px; }
}

/* ---------- LANDING HERO (LUXE V2 — compact royal blue, ~50% shorter) ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,69,143,.6) 0%, var(--vg-royal-800) 45%, var(--vg-royal-900) 100%);
  color: #fff;
  padding: 36px 0 44px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(243,193,25,.10), transparent 40%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: 0 1.25rem; }
.hero .tagline {
  display: inline-block;
  color: var(--vg-gold-brand);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: .7rem;
  margin: 0 0 10px;
  padding: 0 36px;
  position: relative;
}
.hero .tagline::before, .hero .tagline::after {
  content: ''; position: absolute; top: 50%;
  width: 24px; height: 1px; background: var(--vg-gold-brand); opacity: .7;
}
.hero .tagline::before { left: 0; }
.hero .tagline::after  { right: 0; }
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 10px;
}
.hero h1 .gold { color: var(--vg-gold-brand); font-style: italic; font-weight: 500; }
.hero p.lead {
  max-width: 560px; margin: 0 auto 16px;
  color: rgba(255,255,255,0.86);
  opacity: 1;
  font-size: .92rem;
  line-height: 1.5;
}

.credential-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 18px;
  background: rgba(0,38,101,0.45);
  border: 1px solid rgba(243,193,25,0.45);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .72rem;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
}
.credential-pill > span { white-space: nowrap; }
.credential-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--vg-gold-brand);
  box-shadow: 0 0 12px var(--vg-gold-brand);
}
.credential-pill .sep { color: var(--vg-gold-brand); opacity: .6; }

.stats {
  max-width: 640px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(243,193,25,0.25);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(243,193,25,0.35);
  box-shadow: 0 6px 18px -4px rgba(0,38,101,.18);
}
.stat {
  background: rgba(0,26,74,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 14px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--vg-gold-brand);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.78);
  opacity: 1;
}

/* ---------- LANDING SECTION HEAD ---------- */
.section-head {
  max-width: 1180px;
  margin: 4.5rem auto 2.5rem;
  padding: 0 1.25rem;
  text-align: center;
}
.section-head .eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lux-gold-600);
  margin-bottom: .75rem;
}
.section-head h2 { color: var(--lux-navy-900); margin-bottom: .75rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head p { color: var(--lux-navy-700); opacity: .78; max-width: 580px; margin: 0 auto; font-size: .95rem; }

.form-grid {
  max-width: 1180px; margin: 0 auto 0; padding: 0 1.25rem;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.form-card {
  background: var(--lux-parch-50);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--elev-1);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lux-gold-500), var(--lux-gold-300));
  opacity: 0;
  transition: opacity 220ms ease;
}
.form-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
  border-color: var(--border-gold);
}
.form-card:hover::before { opacity: 1; }
.form-card .card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--lux-navy-800), var(--lux-navy-700));
  color: var(--lux-gold-300);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.08), 0 2px 4px rgba(14,30,58,0.12);
}
.form-card .card-icon svg { width: 22px; height: 22px; }
.form-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--lux-navy-900);
  margin-bottom: .35rem;
  letter-spacing: -0.01em;
}
.form-card p.desc { color: var(--lux-navy-700); opacity: 0.78; font-size: .875rem; flex: 1; margin: 0 0 1rem; line-height: 1.55; }
.form-card .meta {
  font-size: .75rem;
  color: var(--lux-navy-700);
  opacity: 0.7;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: inline-flex; align-items: center; gap: 6px;
}
.form-card .meta svg { width: 12px; height: 12px; vertical-align: 0; margin-right: 0; }
.form-card .btn { align-self: flex-start; margin-top: .75rem; }

/* ---------- RESUME PANEL (returning client) ---------- */
.resume-panel {
  max-width: 1180px;
  margin: 4rem auto 0;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, var(--lux-parch-100) 0%, var(--lux-warmwhite) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--elev-1);
}
.resume-panel-text { flex: 1; }
.resume-panel-eyebrow {
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lux-gold-700);
  font-weight: 600;
  margin-bottom: 8px;
}
.resume-panel-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--lux-navy-900);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.resume-panel-desc { color: var(--lux-navy-700); opacity: 0.78; font-size: .9375rem; }
.resume-panel .btn { white-space: nowrap; }

/* ---------- TRUST ROW ---------- */
/* ---------- OFFICIAL CREDENTIAL BAR (RCIC-IRB badge) ---------- */
.credential-bar {
  max-width: 1180px;
  margin: 3.5rem auto 0;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--lux-parch-50) 100%);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--lux-gold-500);
  border-radius: 14px;
  box-shadow: var(--elev-1);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
}
.credential-bar::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 180px; height: 100%;
  background: radial-gradient(ellipse at right, rgba(243,193,25,.07), transparent 70%);
  pointer-events: none;
}
.credential-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .75rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.credential-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,38,101,.10);
}
.credential-badge img {
  display: block;
  width: 260px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}
.credential-copy { min-width: 0; }
.credential-eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lux-gold-700);
  margin-bottom: .3rem;
}
.credential-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--lux-navy-900);
  line-height: 1.2;
  margin-bottom: .35rem;
}
.credential-desc {
  font-size: .9375rem;
  color: var(--lux-navy-700);
  line-height: 1.55;
  opacity: .88;
}
.credential-desc strong { color: var(--lux-navy-900); font-weight: 600; }
.credential-desc abbr { text-decoration: none; border-bottom: 1px dotted var(--lux-navy-400, #94a3b8); cursor: help; }

.trust-row {
  max-width: 1180px;
  margin: 1.25rem auto 0;
  padding: 2rem 1.75rem;
  background: var(--lux-parch-50);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  box-shadow: var(--elev-1);
}
.trust-item { display: flex; align-items: flex-start; gap: .875rem; }
.trust-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--lux-gold-100);
  color: var(--lux-gold-700);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 18px; height: 18px; }
.trust-title { font-family: var(--font-body); font-weight: 600; font-size: .9375rem; color: var(--lux-navy-900); margin-bottom: 3px; }
.trust-desc { font-size: .8125rem; color: var(--lux-navy-700); opacity: 0.75; line-height: 1.5; }

/* ---------- FOOTER (navy with gold globe accent — matches CRM) ---------- */
.site-footer {
  background: var(--lux-navy-950);
  color: var(--lux-navy-200);
  padding: 2.5rem 1.25rem 2rem;
  font-size: .88rem;
  margin-top: 4rem;
  text-align: center;
}
.site-footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; gap: .5rem; align-items: center;
}
.site-footer .footer-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--lux-parch-50);
  margin-bottom: 4px;
}
.site-footer .footer-brand .gold { color: var(--lux-gold-400); font-style: italic; }
.site-footer .credit { color: var(--lux-navy-200); opacity: 0.7; font-size: .8125rem; }
.site-footer .footer-divider { height: 1px; background: rgba(212, 181, 116, 0.18); margin: .75rem auto; width: 100%; max-width: 360px; }
.site-footer .footer-meta { font-size: .75rem; color: var(--lux-navy-300); opacity: 0.65; letter-spacing: 0.02em; }
.site-footer .footer-globe { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; margin-right: 4px; color: var(--lux-gold-400); }
.site-footer a { color: var(--lux-gold-300); text-decoration: none; }
.site-footer a:hover { color: var(--lux-gold-400); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  min-height: 44px;
  line-height: 1;
}
.btn-primary {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff; }
.btn-secondary {
  background: var(--gold); color: var(--navy-dark); border-color: var(--gold);
}
.btn-secondary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost {
  background: transparent; color: var(--navy); border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg); border-color: var(--navy); }
.btn-danger {
  background: transparent; color: var(--error); border-color: transparent;
}
.btn-danger:hover { background: var(--error-bg); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; }

/* ---------- FORM SHELL ---------- */
.form-shell {
  max-width: 1180px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}
.form-title-bar {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: .5rem;
}
.form-title-bar h1 { margin: 0 0 .25rem; font-size: 1.6rem; }
.form-title-bar p { margin: 0; color: var(--muted); font-size: .95rem; }
.progress-bar {
  height: 8px; background: var(--border); border-radius: 99px; overflow: hidden;
  margin-top: 1rem;
}
.progress-fill { height: 100%; background: var(--gold); transition: width .25s ease; }
.progress-label { font-size: .82rem; color: var(--muted); margin-top: .5rem; font-family: var(--font-heading); }

/* ---------- LEFT NAV ---------- */
.section-nav {
  position: sticky; top: 1rem;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}
.section-nav h4 {
  font-size: .72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin: .25rem .5rem .75rem;
}
.section-nav a {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .65rem;
  font-size: .88rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-bottom: 2px;
  border-left: 3px solid transparent;
  cursor: pointer;
}
.section-nav a:hover { background: var(--bg); }
.section-nav a.active {
  background: rgba(0, 38, 101, 0.05);
  border-left-color: var(--gold);
  color: var(--navy); font-weight: 600;
}
.section-nav .status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-strong);
  margin-left: auto;
  flex-shrink: 0;
}
.section-nav a.complete .status-dot { background: var(--success); }
.section-nav a.partial  .status-dot { background: var(--gold); }

.section-nav-mobile { display: none; }

/* ---------- SECTIONS ---------- */
.form-content { min-width: 0; }
.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.section.hidden { display: none; }
.section-header {
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; user-select: none;
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.section-header h2 { margin: 0; font-size: 1.15rem; }
.section-header .chevron {
  width: 20px; height: 20px;
  transition: transform .2s ease;
  color: var(--muted);
}
.section.collapsed .section-header .chevron { transform: rotate(-90deg); }
.section.collapsed .section-body { display: none; }
.section-body { padding: 1.25rem 1.5rem 1.5rem; }
.section .help { color: var(--muted); font-size: .88rem; margin: -.25rem 0 1rem; }

/* ---------- FIELDS ---------- */
.field { margin-bottom: 1.15rem; }
.field.hidden { display: none; }
.field label {
  display: block;
  font-weight: 500;
  font-size: .93rem;
  margin-bottom: .35rem;
  color: var(--text);
}
.field label .req { color: var(--error); margin-left: 2px; }
.field .field-help { color: var(--muted); font-size: .82rem; margin-bottom: .35rem; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=date],
.field input[type=number],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  padding: .65rem .8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
  min-height: 44px;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 179, 33, 0.2);
}
.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--error);
  background: var(--error-bg);
}
.field .error-msg {
  color: var(--error); font-size: .82rem; margin-top: .35rem; display: none;
}
.field.error .error-msg { display: block; }

/* radio + checkbox */
.field .options {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.field .options label {
  display: inline-flex; align-items: center;
  gap: .5rem; padding: .5rem .8rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer;
  font-weight: 500; font-size: .9rem;
  transition: all .12s ease;
  margin: 0;
}
.field .options label:hover { border-color: var(--navy-light); }
.field .options input { accent-color: var(--navy); }
.field .options label:has(input:checked) {
  background: rgba(0, 38, 101, 0.06);
  border-color: var(--navy);
  color: var(--navy);
}

/* file dropzone */
.field .dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
  background: #fafbfd;
}
.field .dropzone:hover, .field .dropzone.dragover {
  border-color: var(--gold);
  background: rgba(255, 179, 33, 0.05);
  color: var(--navy);
}
.field .dropzone svg { width: 28px; height: 28px; margin-bottom: .4rem; }
.field .file-preview {
  display: flex; align-items: center; gap: .75rem;
  margin-top: .5rem; padding: .5rem .75rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem;
}
.field .file-preview img { width: 38px; height: 38px; object-fit: cover; border-radius: 4px; }
.field .file-preview .file-remove {
  margin-left: auto; cursor: pointer; color: var(--error);
  background: none; border: 0; padding: 4px;
}

/* signature pad */
.field .signature-wrap {
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.field .signature-wrap canvas {
  display: block; width: 100%; height: 180px;
  touch-action: none; cursor: crosshair;
}
.field .signature-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem .75rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-size: .82rem; color: var(--muted);
}

/* ---------- REPEATING ENTRIES ---------- */
.repeater { }
.repeater-empty {
  text-align: center; padding: 1.25rem;
  color: var(--muted); font-size: .9rem;
  background: var(--bg); border-radius: var(--radius); border: 1px dashed var(--border-strong);
  margin-bottom: 1rem;
}
.entry-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.entry-card:hover { box-shadow: var(--shadow-sm); }
.entry-card.collapsed .entry-body { display: none; }
.entry-card.adding { animation: slideIn .25s ease; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0);    max-height: 4000px; }
}
.entry-card.removing { animation: slideOut .2s ease forwards; }
@keyframes slideOut {
  to { opacity: 0; transform: translateY(-6px); max-height: 0; margin: 0; padding: 0; border-width: 0; }
}
.entry-header {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem;
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.entry-badge {
  background: var(--navy); color: #fff;
  font-family: var(--font-heading); font-weight: 700;
  font-size: .8rem;
  padding: .25rem .55rem; border-radius: 99px; min-width: 32px; text-align: center;
}
.entry-title { font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--navy); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry-summary { color: var(--muted); font-size: .85rem; font-weight: 400; margin-left: .5rem; }
.entry-actions { display: flex; gap: .25rem; }
.icon-btn {
  background: none; border: 0; padding: .4rem;
  color: var(--muted); cursor: pointer; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { color: var(--error); background: var(--error-bg); }
.icon-btn.collapse-btn:hover { color: var(--navy); background: var(--bg); }
.icon-btn svg { width: 18px; height: 18px; }
.entry-body { padding: 1rem 1.25rem 1.25rem; }

.add-entry-btn {
  display: block; width: 100%;
  background: transparent;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  padding: .85rem;
  cursor: pointer;
  transition: all .15s ease;
}
.add-entry-btn:hover {
  border-color: var(--gold);
  background: rgba(255, 179, 33, 0.06);
}

/* ---------- BOTTOM ACTIONS ---------- */
/* Sticky save/submit bar. Two anti-overlap measures:
 *   1. The bar itself is fully opaque (no translucency bleed-through).
 *   2. The form column has bottom padding (.form-page-content) so the last
 *      field always clears the bar when scrolled to the end.
 */
.form-actions {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  position: sticky; bottom: 1rem;
  box-shadow: 0 -6px 20px rgba(8, 16, 40, 0.10), var(--shadow);
  margin-top: 1.5rem;
  z-index: 10;
  /* solid backdrop so anything scrolling underneath cannot bleed through */
  backdrop-filter: none;
}
.form-actions .right-group { display: flex; gap: .5rem; align-items: center; }

/* Ensure form column scrolls clear of the sticky bar at the very end. */
.form-page,
.form-grid,
main.form-page,
body[data-form] main { scroll-padding-bottom: 6rem; }
body[data-form] .form-page { padding-bottom: 5.5rem; }

/* ---------- MODAL ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 24, 71, 0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 460px; width: 100%;
  box-shadow: var(--shadow-lg);
}
.modal h3 { margin: 0 0 .5rem; }
.modal p { color: var(--muted); margin-bottom: 1rem; }
.modal .modal-actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  background: var(--navy-dark); color: #fff;
  padding: .85rem 1.25rem; border-radius: 99px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  font-size: .9rem;
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; }
.toast.error { background: var(--error); }
.toast.success { background: var(--success); }

/* ---------- CONFIRMATION ---------- */
.confirm-screen {
  max-width: 600px; margin: 4rem auto; padding: 2rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: center;
}
.confirm-screen .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--success-bg); color: var(--success);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.confirm-screen .check svg { width: 36px; height: 36px; }
.confirm-screen .ref {
  background: var(--bg); border: 1px solid var(--border);
  padding: .75rem 1rem; border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 700; color: var(--navy);
  display: inline-block; margin: 1rem 0;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .site-header-inner { flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1rem 1rem; }
  .header-contact { text-align: left; font-size: .78rem; }
  .logo-block img { height: 44px; }
  .hero { padding: 1.5rem 1rem 2.5rem; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .hero p.lead { font-size: .9375rem; }
  .stats { grid-template-columns: 1fr; margin-top: 2rem; }
  .stat-num { font-size: 1.5rem; }
  .section-head { margin: 3rem auto 1.75rem; }
  .section-head h2 { font-size: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; padding: 0 1rem; }
  .form-card { padding: 1.375rem 1.25rem 1.25rem; }
  .resume-panel { flex-direction: column; align-items: stretch; padding: 1.5rem; margin: 3rem 1rem 0; text-align: left; }
  .resume-panel .btn { justify-content: center; width: 100%; }
  .trust-row { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; margin: 1rem 1rem 0; }
  .credential-bar { grid-template-columns: 1fr; text-align: center; padding: 1.5rem 1.25rem; margin: 2.5rem 1rem 0; gap: 1rem; }
  .credential-bar::after { display: none; }
  .credential-badge { justify-self: center; }
  .credential-badge img { width: 220px; max-height: 64px; }
  .credential-title { font-size: 1.25rem; }
  .credential-desc { font-size: .875rem; }

  /* Credential pill: stack chips vertically on phones (no mid-word wrap) */
  .credential-pill {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 20px;
    border-radius: 16px;
    align-items: center;
    font-size: .75rem;
  }
  .credential-pill .sep { display: none; }
  .credential-pill .dot { display: none; }
  .form-shell { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }
  .section-nav { display: none; }
  .section-nav-mobile {
    display: block;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: .5rem;
    margin-bottom: .5rem;
  }
  .section-nav-mobile select {
    width: 100%; padding: .65rem; font: inherit;
    border: 0; background: transparent; color: var(--navy);
    font-weight: 600;
  }
  .form-title-bar { padding: 1rem; }
  .form-title-bar h1 { font-size: 1.25rem; }
  .section-header { padding: 1rem; }
  .section-body { padding: 1rem; }
  .entry-card.mobile-collapsed .entry-body { display: none; }
  .form-actions { flex-direction: column; align-items: stretch; position: static; }
  .form-actions .right-group { flex-direction: column; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- PRINT (PDF-friendly fallback) ---------- */
@media (max-width: 400px) {
  .hero .tagline { font-size: .625rem; letter-spacing: 0.14em; }
  .stat-num { font-size: 1.375rem; }
}

@media print {
  body { background: #fff; }
  .site-header, .site-footer, .section-nav, .form-actions, .section-nav-mobile, .credential-pill, .stats, .resume-panel, .trust-row, .credential-bar { display: none; }
  .form-shell { grid-template-columns: 1fr; }
  .section { break-inside: avoid; box-shadow: none; border-color: #999; }
  .entry-card { break-inside: avoid; }
}

/* ---------- Consent / info-block styling ---------- */
.info-label {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.25rem 0;
  font-family: var(--font-display, inherit);
  letter-spacing: 0.01em;
}
.info-body {
  background: rgba(196, 167, 91, 0.06);
  border: 1px solid rgba(196, 167, 91, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft, #3a3527);
}
.info-body a {
  color: var(--gold-deep, #8a6a1a);
  font-weight: 600;
  text-decoration: underline;
}
.info-body ul.vg-consent-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-body ul.vg-consent-links li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(196, 167, 91, 0.35);
}
.info-body ul.vg-consent-links li:last-child { border-bottom: 0; }

/* ============================================================================
 * LUXE V2 — Form-card featured (Student Admission) + Master Consent block
 * ========================================================================== */

/* Featured tile (Student Admission "NEW" card) */
.form-card-featured {
  background: linear-gradient(135deg, #fff 0%, #fff8e0 100%);
  border-color: var(--vg-gold-brand);
  box-shadow: 0 6px 18px -4px rgba(243,193,25,0.25), var(--elev-1);
}
.form-card-featured::before { opacity: 1; height: 3px; }
.form-card-featured .card-icon {
  background: linear-gradient(135deg, var(--vg-royal-800), var(--vg-royal-700));
  color: var(--vg-gold-brand);
}
.form-card .card-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--vg-gold-brand);
  color: var(--vg-royal-800);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(243,193,25,0.45);
}

/* Single master consent block */
.consent-master {
  background: linear-gradient(135deg, #fff8e0 0%, #ffffff 100%);
  border: 1.5px solid var(--vg-gold-brand);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.consent-master-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0.75rem;
}
.consent-master-header .lock-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--vg-royal-800); color: var(--vg-gold-brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.consent-master-header .lock-icon svg { width: 16px; height: 16px; }
.consent-master-header h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--vg-royal-800);
  font-size: 1.1rem;
}
.consent-statements {
  background: #fff;
  border: 1px solid rgba(0,38,101,0.12);
  border-radius: 10px;
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
}
.consent-statements li {
  display: flex; gap: 10px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--vg-royal-900);
  list-style: none;
  border-bottom: 1px dashed rgba(0,38,101,0.10);
}
.consent-statements li:last-child { border-bottom: 0; }
.consent-statements .num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--vg-royal-100);
  color: var(--vg-royal-800);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Master checkbox row (large, prominent) */
.consent-master-checkbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff;
  border: 2px solid var(--vg-royal-800);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: all .18s ease;
}
.consent-master-checkbox-row:hover {
  background: var(--vg-royal-100);
  box-shadow: 0 0 0 4px rgba(243,193,25,0.18);
}
.consent-master-checkbox-row input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: var(--vg-royal-800);
  margin-top: 2px;
  flex-shrink: 0;
}
.consent-master-checkbox-row .label-text {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--vg-royal-900);
  line-height: 1.4;
}

/* ============================================================================
 * LUXE V2 — Refined field appearance (royal blue focus + gold ring)
 * Overrides earlier gold-only focus to match new royal-blue brand voice.
 * ========================================================================== */
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=date],
.field input[type=number],
.field select,
.field textarea {
  border: 1.5px solid #cbd5e1;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input[type=text]:hover,
.field input[type=email]:hover,
.field input[type=tel]:hover,
.field input[type=date]:hover,
.field input[type=number]:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--vg-royal-800);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--vg-royal-800);
  background: #fbf9f4;
  box-shadow: 0 0 0 4px rgba(243,193,25,0.18);
}

/* Radio/checkbox pill — selected state gets royal border + gold ring */
.field .options label:has(input:checked) {
  background: #fff8e0;
  border-color: var(--vg-royal-800);
  color: var(--vg-royal-800);
  box-shadow: 0 0 0 3px rgba(243,193,25,0.18);
}

/* ============================================================================
 * POLISH PASS — more attractive tiles + interactive info blocks (2026-05-15.3)
 * ========================================================================== */

/* ---------- Tile polish: bigger lift, animated arrow, gold sheen ---------- */
.form-card {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -10px rgba(0,38,101,.22), 0 8px 16px -8px rgba(0,38,101,.14);
  border-color: var(--vg-gold-brand);
}
.form-card::before {
  background: linear-gradient(90deg, var(--vg-gold-brand) 0%, var(--vg-gold-brand-hover) 50%, var(--vg-gold-brand) 100%);
  background-size: 200% 100%;
  transition: opacity .28s ease, background-position .9s ease;
}
.form-card:hover::before {
  opacity: 1;
  background-position: 100% 0;
}
.form-card .card-icon {
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease;
}
.form-card:hover .card-icon {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.10), 0 6px 14px rgba(0,38,101,0.22);
}
.form-card .btn-primary {
  background: var(--vg-royal-800);
  color: #fff;
  border-color: var(--vg-royal-800);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.form-card .btn-primary svg,
.form-card .btn-primary i { transition: transform .22s cubic-bezier(.2,.7,.2,1); }
.form-card:hover .btn-primary {
  background: var(--vg-gold-brand);
  color: var(--vg-royal-800);
  border-color: var(--vg-gold-brand);
  box-shadow: 0 4px 12px rgba(243,193,25,.35);
}
.form-card:hover .btn-primary svg,
.form-card:hover .btn-primary i { transform: translateX(4px); }

/* Featured tile gets a soft gold-glow halo + pulsing badge */
.form-card-featured {
  box-shadow: 0 8px 22px -4px rgba(243,193,25,.30), var(--elev-1);
}
.form-card-featured:hover {
  box-shadow: 0 22px 40px -8px rgba(243,193,25,.45), 0 8px 16px -8px rgba(0,38,101,.16);
}
.form-card-featured .card-badge {
  animation: vg-badge-pulse 2.4s ease-in-out infinite;
}
@keyframes vg-badge-pulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(243,193,25,0.45); }
  50%      { box-shadow: 0 2px 6px rgba(243,193,25,0.45), 0 0 0 6px rgba(243,193,25,0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .form-card, .form-card:hover, .form-card .card-icon, .form-card-featured .card-badge { transition: none; animation: none; transform: none; }
}

/* ---------- Info block upgrade: collapsible, accent stripe, info icon ---------- */
.info-block {
  position: relative;
}
.info-body {
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--vg-gold-brand);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(243,193,25,0.05) 0%, rgba(0,38,101,0.02) 100%);
}
.info-body::before {
  content: "";
  position: absolute;
  top: 14px; left: -10px;
  width: 18px; height: 18px;
  background: var(--vg-gold-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 2px 4px rgba(0,38,101,.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002665' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' fill='none'/><line x1='12' y1='8' x2='12' y2='8.01'/><line x1='12' y1='11' x2='12' y2='17'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* Collapsible info block — uses native <details>/<summary> for accessibility */
details.info-collapsible {
  border-left: 3px solid var(--vg-gold-brand);
  background: linear-gradient(180deg, rgba(243,193,25,0.05) 0%, rgba(0,38,101,0.02) 100%);
  border-radius: 12px;
  padding: 0;
  margin: 0.5rem 0 1rem;
  overflow: hidden;
}
details.info-collapsible[open] { box-shadow: inset 0 -1px 0 rgba(0,38,101,.06); }
details.info-collapsible > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem 0.85rem 2.25rem;
  font-weight: 600;
  color: var(--vg-royal-800);
  font-family: var(--font-display, inherit);
  letter-spacing: 0.01em;
  position: relative;
  user-select: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  transition: background .2s ease;
}
details.info-collapsible > summary::-webkit-details-marker { display: none; }
details.info-collapsible > summary::before {
  content: "";
  position: absolute;
  top: 50%; left: 0.65rem;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: var(--vg-gold-brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002665' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' fill='none'/><line x1='12' y1='8' x2='12' y2='8.01'/><line x1='12' y1='11' x2='12' y2='17'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
details.info-collapsible > summary::after {
  content: "›";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--vg-royal-800);
  font-weight: 700;
  transform: rotate(90deg);
  transition: transform .22s ease;
}
details.info-collapsible[open] > summary::after { transform: rotate(-90deg); }
details.info-collapsible > summary:hover { background: rgba(243,193,25,0.10); }
details.info-collapsible > .info-collapsible-body {
  padding: 0 1rem 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft, #3a3527);
}
details.info-collapsible > .info-collapsible-body > * { margin-top: 0.6rem; }
details.info-collapsible > .info-collapsible-body > *:first-child { margin-top: 0; }

/* Numbered consent statements: subtle hover highlight per row */
.consent-statements li {
  transition: background .18s ease, transform .18s ease;
  border-radius: 8px;
  padding: 6px 8px;
  margin: 2px 0;
}
.consent-statements li:hover {
  background: rgba(243,193,25,0.08);
  transform: translateX(2px);
}

/* ============================================================
 * PER-CATEGORY TILE ICON COLORS  (polish v4)
 * Each form gets a distinct icon-tile gradient + accent so the
 * landing grid reads as a curated set, not a uniform list.
 * Icon glyph stays white for legibility on every tint.
 * ========================================================== */
.form-card .card-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--lux-navy-800, #002665), var(--lux-navy-700, #001a4a));
  transition: transform .35s cubic-bezier(.2,.7,.3,1.4), box-shadow .35s ease, background .35s ease;
}
/* Consultation — premium gold-on-royal (featured) */
.form-card[data-form="consultation"] .card-icon {
  background: linear-gradient(135deg, #f3c119, #b8901a);
  color: #002665;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 10px rgba(184,144,26,.28);
}
/* Visitor — sky-blue (travel) */
.form-card[data-form="visitor"] .card-icon {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(2,132,199,.28);
}
/* Super Visa — teal (family / multi-entry) */
.form-card[data-form="supervisa"] .card-icon {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(13,148,136,.28);
}
/* Study Permit — indigo (education) */
.form-card[data-form="study"] .card-icon {
  background: linear-gradient(135deg, #818cf8, #4338ca);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(67,56,202,.28);
}
/* Student Admission — violet (deeper education) */
.form-card[data-form="admission"] .card-icon {
  background: linear-gradient(135deg, #c084fc, #7c3aed);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(124,58,237,.28);
}
/* Work Permit — emerald (employment) */
.form-card[data-form="work"] .card-icon {
  background: linear-gradient(135deg, #34d399, #047857);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(4,120,87,.28);
}
/* PR — signature royal blue */
.form-card[data-form="pr"] .card-icon {
  background: linear-gradient(135deg, #1e40af, #002665);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(0,38,101,.32);
}
/* Spousal Sponsorship — rose (relationship) */
.form-card[data-form="spousal"] .card-icon {
  background: linear-gradient(135deg, #fb7185, #be123c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(190,18,60,.28);
}
/* PR Renewal — amber (renewal cycle) */
.form-card[data-form="prrenewal"] .card-icon {
  background: linear-gradient(135deg, #fbbf24, #b45309);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(180,83,9,.28);
}
/* Citizenship — crimson (status milestone) */
.form-card[data-form="citizenship"] .card-icon {
  background: linear-gradient(135deg, #ef4444, #991b1b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(153,27,27,.28);
}
/* General Documents — slate (utility) */
.form-card[data-form="general"] .card-icon {
  background: linear-gradient(135deg, #94a3b8, #475569);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(71,85,105,.28);
}
.form-card:hover .card-icon {
  transform: scale(1.06) rotate(-3deg);
  filter: saturate(1.08) brightness(1.04);
}

/* ============================================================
 * SECTION NAVIGATION  (Continue / Back between form sections)
 * ========================================================== */
.section-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border, rgba(0,38,101,0.08));
  flex-wrap: wrap;
}
.section-nav-btn {
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.section-nav-prev { padding-right: 1.1rem; }
.section-nav-next { padding-left: 1.1rem; }
.section-nav-spacer { flex: 1 1 auto; }
.section-nav-end {
  margin-left: auto;
  color: var(--lux-navy-700, #001a4a);
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.75;
  padding: 0.5rem 0.75rem;
  background: rgba(243,193,25,0.08);
  border-radius: 999px;
}
@media (max-width: 560px) {
  .section-nav { flex-direction: column; align-items: stretch; }
  .section-nav-btn { width: 100%; text-align: center; }
}
