/* ==========================================================================
   Spouse Connect International — Unified Luxury Design System & Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* ── Core Brand Trio (Extracted from Brand Identity) ─────────────────── */
  /* 1. Midnight Navy (from "Spouse" letters & structural foundations) */
  --navy: #0e1b33;
  --navy-dark: #070e1c;
  --navy-surface: #142542;
  --navy-card: #192e52;
  --navy-border: rgba(212, 175, 55, 0.22);
  
  /* 2. Crimson Wine (from "Connect" letters & primary CTAs) */
  --wine: #9b0a36;
  --wine-dark: #7a0629;
  --wine-light: #ba1346;
  --wine-gradient: linear-gradient(135deg, #a80e3c 0%, #85072d 100%);
  --wine-glow: rgba(155, 10, 54, 0.32);

  /* 3. Champagne Gold (from "INTERNATIONAL" banner & ring accents) */
  --gold: #d4af37;
  --gold-light: #f5e8b7;
  --gold-dark: #b89025;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #c59b27 100%);
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-border: rgba(212, 175, 55, 0.35);

  --white: #ffffff;
  --cream: #faf8f5;
  --cream-dark: #f3efe6;
  --ink: #0e1b33;
  --ink-light: #374151;
  --muted: #6b7280;
  --line: #e5e0d4;
  --line-light: #f0ecdf;

  --ok: #15803d;
  --ok-bg: #dcfce7;
  --ok-border: #86efac;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --warn-border: #fde68a;
  --bad: #9b0a36;
  --bad-bg: #fdf2f4;
  --bad-border: #f8b4c4;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(14, 27, 51, 0.05);
  --shadow-md: 0 8px 24px rgba(14, 27, 51, 0.08);
  --shadow-lg: 0 16px 40px rgba(14, 27, 51, 0.12);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
  --shadow-wine: 0 8px 25px rgba(155, 10, 54, 0.3);
}

/* ── Reset & Base ───────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; transition: all 0.25s ease; }

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Keyframe Animations ────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.anim-fade-in-up { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-float { animation: floatSlow 4.5s ease-in-out infinite; }

/* ── Topbar & Brand Header ──────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: var(--white);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--navy-border);
  backdrop-filter: blur(10px);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: white; text-decoration: none;
}
.brand-lotus {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05));
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  box-shadow: 0 0 15px rgba(212,175,55,0.2);
  transition: transform 0.3s ease;
}
.brand-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.brand:hover .brand-logo-icon, .member-brand-box:hover .brand-logo-icon, .staff-crest-box:hover .brand-logo-icon {
  transform: scale(1.08) rotate(3deg);
}
.brand:hover .brand-lotus { transform: scale(1.08) rotate(5deg); }
.brand b {
  display: block; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.1;
}
.brand small {
  display: block; color: var(--gold);
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}

nav#main-nav { display: flex; align-items: center; gap: 24px; }
nav#main-nav a {
  color: #e5e9f0; font-size: 14px; font-weight: 500;
  padding: 6px 0; position: relative;
}
nav#main-nav a:hover, nav#main-nav a.active { color: var(--gold-light); }
nav#main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.25s ease;
}
nav#main-nav a:hover::after, nav#main-nav a.active::after { width: 100%; }

.nav-btn {
  background: none; border: 1px solid rgba(255,255,255,0.25);
  color: white; font-family: inherit; font-size: 13.5px;
  padding: 6px 14px; border-radius: var(--radius-sm); cursor: pointer;
  transition: all 0.25s ease;
}
.nav-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── Brand Utilities ────────────────────────────────────────────────────── */
.text-gold {
  color: var(--gold-light);
  background: linear-gradient(135deg, #f5e8b7 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-wine { color: var(--wine); }
.text-wine-light {
  color: #f43f5e;
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-navy { color: var(--navy); }
.brand-connect {
  color: #f43f5e;
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Hero Cover Section (Full Width Edge-to-Edge) ───────────────────────── */
.hero-cover-section {
  position: relative;
  width: 100%;
  background: var(--navy-dark);
  overflow: hidden;
  border-bottom: 1px solid var(--navy-border);
  margin: 0;
  padding: 0;
}
.hero-cover-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
}
.hero-cover-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Subtle, minimal ambient edge blend without covering the artwork */
.hero-cover-edge-top {
  position: absolute; top: 0; left: 0; right: 0; height: 18px;
  background: linear-gradient(180deg, rgba(7, 14, 28, 0.45) 0%, transparent 100%);
  pointer-events: none;
}
.hero-cover-edge-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 28px;
  background: linear-gradient(0deg, var(--navy) 0%, transparent 100%);
  pointer-events: none;
}

/* ── Innovative Onboarding Section (Positioned Directly Below Hero) ──────── */
.onboarding-section {
  background: radial-gradient(ellipse at top center, #152542 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color: white;
  padding: 60px 0 50px;
  position: relative;
  border-bottom: 1px solid var(--navy-border);
}
.onboarding-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--wine);
  border-radius: 50%;
  box-shadow: 0 0 10px #f43f5e;
}
.onboarding-header h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.18;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.onboarding-lead {
  color: #cfd8e5;
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* Dual Onboarding Gateway Cards */
.onboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1040px;
  margin: 0 auto 36px;
}
.onboard-card {
  background: rgba(14, 27, 51, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.onboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}
.onboard-uganda {
  border-top: 3px solid var(--wine);
}
.onboard-uganda:hover {
  border-color: rgba(155, 10, 54, 0.5);
  border-top-color: var(--wine);
}
.onboard-abroad {
  border-top: 3px solid var(--gold);
}
.onboard-abroad:hover {
  border-color: rgba(212, 175, 55, 0.55);
  border-top-color: var(--gold);
}

.onboard-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(155, 10, 54, 0.2);
  border: 1px solid rgba(155, 10, 54, 0.4);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fb7185;
  margin-bottom: 16px;
  align-self: flex-start;
}
.onboard-badge-tag.tag-gold {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.onboard-card h3 {
  font-size: 24px;
  margin: 0 0 10px;
  color: white;
  font-weight: 600;
}
.onboard-card p {
  color: #cfd8e5;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 20px;
}
.onboard-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}
.onboard-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #e2e8f0;
  margin-bottom: 9px;
}
.onboard-uganda .onboard-perks li span {
  color: #f43f5e;
  font-weight: 700;
}
.onboard-abroad .onboard-perks li span {
  color: var(--gold);
  font-weight: 700;
}
.onboard-footer {
  margin-top: auto;
}
.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Horizontal Quick Trust Bar */
.onboard-trust-strip {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(7, 14, 28, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-strip-item .icon {
  font-size: 20px;
}
.trust-strip-item b {
  display: block;
  font-size: 13px;
  color: white;
}
.trust-strip-item small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; padding: 13px 24px; border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}
.btn-wine {
  background: var(--wine-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-wine);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-wine:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(155, 10, 54, 0.45);
  background: linear-gradient(135deg, #ba1346 0%, #8e0730 100%);
  color: #ffffff;
}
.btn-gold {
  background: var(--gold-gradient); color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}
.btn-ghost-dark {
  background: rgba(255,255,255,0.06); color: white;
  border-color: var(--gold-border);
  backdrop-filter: blur(5px);
}
.btn-ghost-dark:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy); color: white; border: 1px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy-surface); transform: translateY(-2px);
}
.btn-line {
  background: white; color: var(--ink); border: 1px solid #d1d5db;
}
.btn-line:hover {
  border-color: var(--gold); color: var(--gold-dark); background: #fffdfa;
}

/* Hero Showcase Frame (Panoramic Banner) */
.hero-showcase-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  z-index: 2;
}
.hero-showcase-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.55), 0 0 35px rgba(155, 10, 54, 0.16);
  background: var(--navy-dark);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.hero-showcase-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.65), 0 0 45px rgba(212, 175, 55, 0.28);
  border-color: var(--gold);
}
.hero-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Hero Portrait Frame (Legacy fallback) */
.hero-frame-wrap {
  position: relative; display: flex; justify-content: center;
}
.hero-frame {
  width: 100%; max-width: 380px; height: 490px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,55,0.3);
  position: relative;
}
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  display: block; transition: transform 0.6s ease;
}
.hero-frame:hover img { transform: scale(1.03); }
.hero-floating-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(14, 27, 51, 0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border); border-radius: var(--radius-md);
  padding: 12px 18px; color: white;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(155, 10, 54, 0.25); border: 1px solid var(--wine);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.hero-badge-text b { display: block; font-size: 13.5px; color: white; }
.hero-badge-text span { font-size: 11.5px; color: #a0aec0; }

/* ── Section: Membership Fee & 5-Step Process (Image 2) ─────────────────── */
.process-section {
  padding: 50px 0 30px; margin-top: -30px; position: relative; z-index: 10;
}
.process-layout {
  display: grid; grid-template-columns: 290px 1fr; gap: 20px;
}

/* Membership Fee card (left of process) */
.fee-promo-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; justify-content: space-between;
}
.fee-promo-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.fee-promo-head .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(212, 175, 55, 0.15); color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.fee-promo-head h3 { margin: 0; font-size: 20px; color: var(--navy); }
.fee-promo-card ul {
  list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--ink-light);
}
.fee-promo-card li {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px;
}
.fee-promo-card li::before {
  content: '✓'; color: var(--wine); font-weight: bold; flex-shrink: 0;
}

/* 5 Steps horizontal row */
.steps-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.step-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 14px;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: all 0.3s ease; position: relative;
}
.step-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: rgba(212,175,55,0.5);
}
.step-num-badge {
  font-size: 11.5px; font-weight: 700; color: var(--wine);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px;
}
.step-icon {
  width: 44px; height: 44px; margin: 0 auto 10px;
  background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--navy);
  border: 1px solid var(--line-light);
}
.step-card h4 {
  margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--navy);
}
.step-card p {
  margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4;
}

/* ── Section: BUILT ON TRUST ────────────────────────────────────────────── */
.trust-section {
  padding: 40px 0 60px;
}
.section-tag {
  text-align: center; font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 24px; position: relative;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.trust-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease;
}
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-card .icon {
  font-size: 24px; margin-bottom: 12px; display: inline-block;
}
.trust-card h4 {
  margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--navy);
}
.trust-card p {
  margin: 0; font-size: 13px; color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--navy-dark); color: #94a3b8;
  padding: 45px 0 35px; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-badge-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 24px;
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13.5px;
}
.footer-badge-item {
  display: flex; align-items: center; gap: 6px; color: #cbd5e1;
}
.footer-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  margin-bottom: 16px; font-size: 13.5px;
}
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  text-align: center; font-size: 12.5px; color: #64748b; margin: 0;
}

/* ── Member Dashboard Styles (Image 3 Reference) ────────────────────────── */
.dash-layout {
  display: grid; grid-template-columns: 260px 1fr;
  min-height: 100vh; background: #faf9f6;
}
.dash-sidebar {
  background: var(--navy); color: white;
  padding: 24px 16px; display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.dash-sidebar-brand {
  padding-bottom: 20px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dash-nav { display: flex; flex-direction: column; gap: 4px; }
.dash-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  color: #cbd5e1; font-size: 13.5px; font-weight: 500;
  transition: all 0.2s ease;
}
.dash-nav a:hover { background: rgba(255,255,255,0.06); color: white; }
.dash-nav a.active {
  background: rgba(212,175,55,0.16); color: var(--gold-light);
  border-left: 3px solid var(--gold);
}
.dash-nav a .icon { font-size: 16px; width: 20px; text-align: center; }

.dash-main {
  padding: 36px 40px; overflow-y: auto;
}
.dash-header-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.dash-header-row h1 {
  font-size: 32px; margin: 0 0 6px; color: var(--navy);
}
.dash-header-row p {
  margin: 0; color: var(--muted); font-size: 14.5px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 12.5px; font-weight: 600;
}
.status-pill-ok {
  background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-border);
}
.status-pill-gold {
  background: #fdf8e8; color: #926d11; border: 1px solid #f3dc98;
}

/* Two Top Info Cards */
.dash-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 32px;
}
.dash-info-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 24px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow-sm);
}
.dash-info-icon-box {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--navy); flex-shrink: 0;
}
.dash-info-card .lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 4px;
}
.dash-info-card .val {
  font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 2px;
}
.dash-info-card .sub {
  font-size: 12.5px; color: var(--ok); margin: 0;
}

/* Introductions Section */
.intro-section-head { margin-bottom: 18px; }
.intro-section-head h2 { font-size: 24px; margin: 0 0 4px; color: var(--navy); }
.intro-section-head p { font-size: 13.5px; color: var(--muted); margin: 0; }

.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.intro-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
  position: relative;
}
.intro-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.intro-card-head {
  display: flex; gap: 16px; margin-bottom: 16px;
}
.intro-silhouette {
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #94a3b8; flex-shrink: 0;
  border: 2px solid white; box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.intro-name-col { flex: 1; }
.intro-name-col .lbl {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0;
}
.intro-name-col .name {
  font-size: 20px; font-weight: 700; color: var(--navy); margin: 2px 0 4px;
}
.intro-meta-item {
  font-size: 12.5px; color: #475569; display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.intro-intention-box {
  background: var(--cream); border: 1px solid var(--line-light);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 13px; color: #334155; margin-bottom: 18px;
}
.intro-intention-box strong { display: block; color: var(--navy); font-size: 12px; text-transform: uppercase; margin-bottom: 2px; }
.intro-actions {
  display: flex; gap: 10px; align-items: center;
}
.intro-notice-banner {
  background: #fdfcf7; border: 1px solid #ebd9a8;
  border-radius: var(--radius-md); padding: 14px 18px;
  font-size: 13px; color: #78350f; display: flex; align-items: center; gap: 10px;
  margin-top: 24px;
}

/* ── Staff Control Centre Styles (Image 1 Reference) ────────────────────── */
.staff-layout {
  display: grid; grid-template-columns: 260px 1fr 340px;
  min-height: 100vh; background: #f8fafc;
}
.staff-sidebar {
  background: #121f33; color: white;
  padding: 24px 16px; display: flex; flex-direction: column;
}
.staff-badge-shield {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.staff-badge-shield .crest {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--gold-gradient); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.staff-badge-shield .txt b {
  display: block; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
}
.staff-badge-shield .txt small {
  display: block; font-size: 9.5px; color: #94a3b8; letter-spacing: 0.1em;
}
.staff-nav { display: flex; flex-direction: column; gap: 4px; }
.staff-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  color: #cbd5e1; font-size: 13.5px; font-weight: 500;
  transition: all 0.2s ease;
}
.staff-nav a:hover { background: rgba(255,255,255,0.06); color: white; }
.staff-nav a.active {
  background: #1d3356; color: var(--gold-light);
  border-left: 3px solid var(--gold);
}
.staff-nav a .icon { font-size: 16px; width: 20px; text-align: center; }

/* Secure session card in sidebar bottom */
.staff-session-card {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: #94a3b8;
}
.staff-session-card .online-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #22c55e;
  animation: pulseGreen 2s infinite; margin-right: 6px;
}

/* Staff Main Area */
.staff-center-col {
  padding: 30px 32px; overflow-y: auto;
}
.staff-header-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
}
.staff-header-row h1 { font-size: 28px; margin: 0 0 4px; color: var(--navy); }
.staff-header-row p { font-size: 13.5px; color: var(--muted); margin: 0; }

.staff-table-card {
  background: white; border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; margin-bottom: 20px;
}
.staff-table-head {
  padding: 16px 20px; border-bottom: 1px solid #f1f5f9;
  display: flex; justify-content: space-between; align-items: center;
}
.staff-table-head h3 { margin: 0; font-size: 16px; color: var(--navy); }
.staff-table-head p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.app-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.app-table th {
  background: #f8fafc; padding: 12px 16px;
  text-align: left; font-weight: 600; color: #475569;
  border-bottom: 1px solid #e2e8f0; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.app-table td {
  padding: 14px 16px; border-bottom: 1px solid #f1f5f9;
  vertical-align: middle; color: #1e293b;
}
.app-table tr:hover { background: #fbfcfe; }

.badge-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: var(--radius-full);
  font-size: 11.5px; font-weight: 600;
}
.badge-tag-uganda { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge-tag-abroad { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-tag-paid { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.badge-tag-pending { background: #fef9c3; color: #a16207; border: 1px solid #fde047; }
.badge-tag-interview { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }

.decision-select {
  padding: 6px 10px; border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1; font-size: 12.5px; font-family: inherit;
  background: white; color: #334155;
}

/* Warning Card at bottom of applications */
.staff-warning-box {
  background: #fff5f5; border: 1px solid #fed7d7;
  border-radius: var(--radius-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  color: #9b2c2c; font-size: 13px; line-height: 1.4;
}
.staff-warning-box .icon { font-size: 20px; flex-shrink: 0; }

/* Right Column: Match Shortlist Panel */
.staff-match-panel {
  background: white; border-left: 1px solid #e2e8f0;
  padding: 26px 22px; display: flex; flex-direction: column; gap: 20px;
}
.match-panel-head {
  display: flex; align-items: center; gap: 10px;
}
.match-panel-head .icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: #fef3c7; color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.match-panel-head h3 { margin: 0; font-size: 18px; color: var(--navy); }
.match-panel-head p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); }

.match-score-card {
  background: linear-gradient(135deg, #fffdf7 0%, #fef8e7 100%);
  border: 1px solid #fde68a; border-radius: var(--radius-lg);
  padding: 20px; text-align: center;
  box-shadow: 0 4px 14px rgba(212,175,55,0.1);
}
.match-score-val {
  font-size: 42px; font-weight: 800; color: #926d11; line-height: 1;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.match-score-lbl {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #b45309; margin: 6px 0 8px;
}
.match-score-sub {
  font-size: 11.5px; color: #78350f; margin: 0; line-height: 1.4;
}

.match-candidates-list {
  display: flex; flex-direction: column; gap: 10px;
}
.match-candidate-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: #f8fafc; border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}
.match-candidate-row:hover { background: #f1f5f9; }
.match-cand-name { font-size: 13px; font-weight: 600; color: #1e293b; }
.match-cand-route { font-size: 11px; color: #64748b; }
.match-score-pill {
  padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700; background: #fef3c7; color: #926d11;
}

.match-disclaimer-box {
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm); padding: 12px;
  font-size: 11.5px; color: #64748b; line-height: 1.4;
}

/* ── Mobile Navigation Toggle Button ────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 40px;
  transition: all 0.25s ease;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Top Bars & Drawers for Member & Staff Dashboards ─────────────── */
.member-mobile-bar, .staff-mobile-bar {
  display: none;
}
.member-backdrop, .staff-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
}
.member-backdrop.drawer-open, .staff-backdrop.drawer-open {
  display: block;
}

/* ── Responsive Media Queries ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .staff-layout { grid-template-columns: 240px 1fr; }
  .staff-match-panel { display: none; }
  .staff-content-grid { grid-template-columns: 1fr; }
  .staff-secondary-col { border-left: none; border-top: 1px solid #e2e8f0; }
}

@media (max-width: 992px) {
  /* Staff Dashboard Mobile Drawer */
  .staff-wrapper {
    flex-direction: column;
  }
  .staff-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    background: #111e33;
    color: #ffffff;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .staff-menu-btn, .member-menu-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
  }
  .staff-menu-btn span, .member-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #f5e8b7;
    border-radius: 2px;
  }
  .staff-mobile-brand, .member-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
  }
  .staff-mobile-brand .crest, .member-mobile-brand .crest {
    color: #d4af37;
    font-size: 18px;
  }
  .staff-mobile-status {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .staff-aside {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 270px;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
  }
  .staff-aside.drawer-open {
    transform: translateX(0);
  }
  .staff-topbar {
    height: auto;
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .staff-topbar-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .staff-primary-col {
    padding: 20px 14px;
  }
  .staff-secondary-col {
    padding: 20px 14px;
  }
  .staff-table-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .app-table {
    min-width: 650px;
  }
}

@media (max-width: 900px) {
  /* Member Dashboard Mobile Drawer */
  .member-shell {
    flex-direction: column;
  }
  .member-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    background: #0d1b2e;
    color: #ffffff;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .member-mobile-user-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f5e8b7;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
  }
  .member-aside {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
  }
  .member-aside.drawer-open {
    transform: translateX(0);
  }
  .member-main-content {
    padding: 24px 16px;
    width: 100%;
    min-width: 0;
  }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-info-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* Public Navigation & Topbar */
  .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .topbar-inner {
    position: static !important;
    padding: 12px 0;
  }
  .nav-toggle {
    display: flex !important;
    position: relative;
    z-index: 100000;
  }
  nav#main-nav {
    display: none !important;
  }
  nav#main-nav.nav-open {
    display: flex !important;
    position: fixed !important;
    top: 66px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 66px) !important;
    max-height: calc(100vh - 66px) !important;
    background: #0d1b2e !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
    flex-direction: column !important;
    padding: 24px 28px 60px !important;
    gap: 4px !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  nav#main-nav a {
    font-size: 17px !important;
    padding: 14px 4px !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    display: block !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
  }
  nav#main-nav a.active {
    color: var(--gold-light) !important;
    font-weight: 700 !important;
    border-bottom-color: var(--gold) !important;
  }
  nav#main-nav a.nav-btn, nav#main-nav button.nav-btn, nav#main-nav form {
    width: 100% !important;
    display: block !important;
    flex-shrink: 0 !important;
  }
  nav#main-nav a.nav-btn, nav#main-nav button.nav-btn {
    text-align: center !important;
    background: var(--gold-gradient) !important;
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 14px 20px !important;
    margin-top: 16px !important;
    border-radius: var(--radius-full) !important;
    font-size: 16px !important;
  }

  /* Hero Cover & Onboarding Section */
  .hero-cover-img {
    width: 100%;
    height: auto;
  }
  .onboarding-section {
    padding: 40px 0 35px;
  }
  .onboarding-header {
    margin-bottom: 26px;
  }
  .onboarding-header h2 {
    font-size: clamp(26px, 6.5vw, 36px);
    margin-bottom: 12px;
  }
  .onboarding-lead {
    font-size: 15px;
  }
  .onboard-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }
  .onboard-card {
    padding: 24px 20px;
  }
  .onboard-trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
  }
  .trust-strip-action {
    width: 100%;
    margin-top: 6px;
  }
  .trust-strip-action .btn {
    width: 100%;
    text-align: center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .hero-luxury p {
    font-size: 15.5px;
    margin: 0 auto 24px;
    max-width: 100%;
  }
  .hero-frame-wrap {
    order: -1;
  }
  .hero-frame {
    max-width: 320px;
    height: 380px;
    margin: 0 auto;
    border-radius: 16px;
  }
  .hero-floating-badge {
    left: 10px;
    right: 10px;
    bottom: 12px;
    padding: 10px 12px;
    gap: 8px;
  }
  .hero-badge-text b { font-size: 12px; }
  .hero-badge-text span { font-size: 10.5px; }

  /* Process & Fee Section */
  .process-section {
    padding: 24px 0 16px;
    margin-top: 0;
  }
  .process-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step-card {
    display: flex;
    text-align: left;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }
  .step-icon {
    margin: 0;
    flex-shrink: 0;
  }

  /* Trust & Cards */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trust-card {
    padding: 18px;
  }

  /* Interior Page Headers */
  .page-head {
    padding: 38px 0 30px;
    text-align: center;
  }
  .page-head h1 {
    font-size: 27px;
  }
  .page-head p {
    font-size: 14.5px;
  }

  /* Forms & Cards */
  .legal-container {
    padding: 24px 18px;
  }
  .auth-card {
    padding: 26px 18px;
    margin: 18px auto;
  }
  .form-control, input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on mobile safari */
  }

  /* Footer */
  .footer-badge-bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    font-size: 14px;
  }
  .hero-frame {
    max-width: 280px;
    height: 340px;
  }
  .pb-modal-card {
    padding: 24px 18px;
    margin: 12px;
  }
  .pb-toast-container {
    top: 12px;
    right: 12px;
    left: 12px;
    width: calc(100% - 24px);
  }
}

/* ── Interior Page Header Banner & Utilities ────────────────────────────── */
.page-head {
  background: radial-gradient(circle at 80% 20%, #1a3254 0%, #0d1b2e 60%, #08111d 100%);
  color: white; padding: 55px 0 45px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-head h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 10px; font-weight: 700; color: white;
}
.page-head p {
  color: #cfd8e5; font-size: 16.5px; line-height: 1.5;
  margin: 0; max-width: 680px;
}
.page-head .badge-gold-sub {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-light);
  margin-bottom: 8px;
}

.section-interior {
  padding: 50px 0 70px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px; margin-bottom: 40px;
}
.pricing-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
}
.pricing-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: rgba(212,175,55,0.4);
}
.pricing-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 10px 32px rgba(212,175,55,0.15);
}
.pricing-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--gold-gradient); color: var(--navy-dark);
  font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 12px; border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(212,175,55,0.3);
}
.price-amount {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1;
  margin: 14px 0 6px;
}
.price-period {
  font-size: 13px; color: var(--muted); margin-bottom: 22px;
}
.feature-list {
  list-style: none; padding: 0; margin: 0 0 28px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-light); margin-bottom: 12px;
  line-height: 1.45;
}
.feature-list li::before {
  content: '✓'; color: var(--ok); font-weight: bold; flex-shrink: 0;
}

/* Process Timeline / Vertical Cards */
.process-flow {
  display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px;
}
.process-flow-item {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 22px;
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.process-flow-item:hover {
  transform: translateX(4px); border-color: rgba(212,175,55,0.4);
  box-shadow: var(--shadow-md);
}
.process-flow-num {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px; font-weight: 700; color: var(--navy); flex-shrink: 0;
}
.process-flow-body h3 {
  margin: 0 0 6px; font-size: 18px; color: var(--navy);
}
.process-flow-body p {
  margin: 0; font-size: 14px; color: var(--ink-light); line-height: 1.5;
}

/* Legal & Policy Documents */
.legal-container {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px 40px;
  box-shadow: var(--shadow-sm); margin-bottom: 40px;
}
.legal-container h2 {
  font-size: 22px; color: var(--navy); margin: 28px 0 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line-light);
}
.legal-container h2:first-child { margin-top: 0; }
.legal-container p, .legal-container li {
  font-size: 14.5px; color: var(--ink-light); line-height: 1.7;
}

/* Callout Notice Boxes */
.callout-box {
  background: #fdfcf7; border: 1px solid #ebd9a8;
  border-radius: var(--radius-md); padding: 18px 22px;
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 13.5px; color: #78350f; line-height: 1.5;
  margin-bottom: 24px;
}
.callout-box .icon { font-size: 22px; line-height: 1; flex-shrink: 0; }

/* Contact Form Grid */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: 36px; align-items: flex-start;
}
.contact-info-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 34px;
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block; font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #475569; margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 11px 14px; border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm); font-size: 14px;
  font-family: inherit; color: var(--ink); background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
}

/* ==========================================================================
   Spouse Connect Luxury Alert & Notification System
   ========================================================================== */
.pb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 46, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.pb-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pb-modal-card {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 18px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.2);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.pb-modal-overlay.active .pb-modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.pb-modal-crest-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d1b2e 0%, #1a3254 100%);
  border: 2px solid #d4af37;
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(13, 27, 46, 0.25);
}

.pb-modal-crest-wrap.success {
  background: linear-gradient(135deg, #14532d 0%, #15803d 100%);
  border-color: #86efac;
  color: #ffffff;
}

.pb-modal-crest-wrap.warning {
  background: linear-gradient(135deg, #78350f 0%, #b45309 100%);
  border-color: #fde047;
  color: #ffffff;
}

.pb-modal-crest-wrap.error {
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 100%);
  border-color: #fca5a5;
  color: #ffffff;
}

.pb-modal-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #926d11;
  margin-bottom: 6px;
  display: block;
}

.pb-modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #0d1b2e;
  margin: 0 0 10px;
  line-height: 1.25;
}

.pb-modal-body {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 24px;
}

.pb-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.pb-modal-actions .btn {
  flex: 1;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}

/* Luxury Toast Notification Container */
.pb-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100% - 48px);
}

.pb-toast {
  pointer-events: auto;
  background: #0d1b2e;
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  overflow: hidden;
  animation: pbSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pb-toast.closing {
  opacity: 0;
  transform: translateX(30px);
}

@keyframes pbSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.pb-toast-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #d4af37;
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.pb-toast.success .pb-toast-icon {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  color: #4ade80;
}

.pb-toast.warning .pb-toast-icon {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fbbf24;
}

.pb-toast.error .pb-toast-icon {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #f87171;
}

.pb-toast-content {
  flex: 1;
  min-width: 0;
}

.pb-toast-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
}

.pb-toast-msg {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.pb-toast-close {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  margin-left: 6px;
  transition: color 0.15s ease;
}

.pb-toast-close:hover {
  color: #ffffff;
}

.pb-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #d4af37;
  width: 100%;
  transform-origin: left;
  animation: pbProgress linear forwards;
}

.pb-toast.success .pb-toast-progress {
  background: #22c55e;
}

.pb-toast.warning .pb-toast-progress {
  background: #f59e0b;
}

.pb-toast.error .pb-toast-progress {
  background: #ef4444;
}

@keyframes pbProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* ── Priority Matching Accelerator & Dossier Styling ────────────────────── */
.accelerator-card {
  background: radial-gradient(circle at top right, #192e52 0%, var(--navy) 60%, var(--navy-dark) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gold-border);
  margin-bottom: 28px;
  box-shadow: 0 16px 40px rgba(14, 27, 51, 0.25), 0 0 25px rgba(155, 10, 54, 0.12);
}
.accelerator-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(155, 10, 54, 0.25);
  border: 1px solid var(--wine);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  color: #fb7185;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.accelerator-header h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: white;
  font-weight: 600;
}
.accelerator-header p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.55;
}
.accelerator-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-bottom: 20px;
}
.accelerator-box {
  border-radius: var(--radius-md);
  padding: 18px 16px;
  font-size: 13px;
}
.box-complete {
  background: rgba(155, 10, 54, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.box-skip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}
.acc-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tag-complete { color: var(--gold-light); }
.tag-skip { color: #94a3b8; }
.accelerator-box h4 {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: white;
}
.box-skip h4 { color: #cbd5e1; }
.accelerator-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
}
.accelerator-box li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  line-height: 1.4;
}
.box-complete li span { color: var(--gold); font-weight: bold; }
.accelerator-skip-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #94a3b8;
}
.btn-skip-link {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
  display: inline-block;
}
.btn-skip-link:hover { color: #ffffff; }

.form-section-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin: 28px 0 18px;
}
.form-section-header:first-of-type {
  margin-top: 4px;
}
.form-section-header h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-header span {
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 640px) {
  .accelerator-grid {
    grid-template-columns: 1fr;
  }
  .accelerator-card {
    padding: 20px 16px;
  }
}



