/* ─── SELF-HOSTED FONTS ─── */
/* Outfit (Body) — Latin subset */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/outfit-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/outfit-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/outfit-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/outfit-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/outfit-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Libre Baskerville (Headings) — Latin subset */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-400i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/libre-baskerville-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --navy: #033f60;
  --navy-deep: #01243a;
  --navy-mid: #064d75;
  --sky: #0ea5e9;
  --sky-light: #7dd3fc;
  --teal: #14b8a6;
  --gold: #f59e0b;
  
  /* Status Colors */
  --urgent: #ef4444;
  --urgent-bg: #fef2f2;
  --active: #14b8a6;
  --active-bg: #f0fdfa;
  --new: #64748b;
  --new-bg: #f1f5f9;
  
  --white: #ffffff;
  --off-white: #f8fafc;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  
  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
}

/* ─── JOB CARD FADE-IN ─── */
.job-card-fadein {
  opacity: 0 !important;
  transform: translateY(16px) !important;
  transition: opacity 0.45s ease, transform 0.45s ease !important;
}
.job-card-fadein.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.job-row-fadein {
  opacity: 0 !important;
  transform: translateY(10px) !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
}
.job-row-fadein.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: all 0.4s ease;
}
.navbar.at-top { background: transparent; }
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 16px rgba(3,63,96,0.06);
}

.nav-logo img { height: 38px; transition: filter 0.3s; }
.navbar.at-top .nav-logo img { filter: brightness(0) invert(1); }
.navbar.scrolled .nav-logo img { filter: none; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.2s;
}
.navbar.at-top .nav-links a { color: rgba(255,255,255,0.75); }
.navbar.at-top .nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a { color: var(--slate-500); }
.navbar.scrolled .nav-links a:hover { color: var(--navy); }

.nav-cta {
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}
.navbar.at-top .nav-cta { background: var(--white) !important; color: var(--navy) !important; }
.navbar.at-top .nav-cta:hover { background: var(--sky-light) !important; transform: translateY(-1px); }
.navbar.scrolled .nav-cta { background: var(--navy) !important; color: var(--white) !important; }
.navbar.scrolled .nav-cta:hover { background: var(--navy-mid) !important; }

.nav-login {
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}
.navbar.at-top .nav-login { 
  border: 1.5px solid rgba(255,255,255,0.3) !important; 
  color: var(--white) !important;
  background: transparent !important;
}
.navbar.at-top .nav-login:hover { 
  border-color: rgba(255,255,255,0.6) !important;
  background: rgba(255,255,255,0.1) !important;
}
.navbar.scrolled .nav-login { 
  border: 1.5px solid var(--slate-200) !important; 
  color: var(--navy) !important;
  background: transparent !important;
}
.navbar.scrolled .nav-login:hover { 
  border-color: var(--navy) !important;
  background: var(--slate-50) !important;
}

.mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  position: relative;
}
.mobile-toggle span { display: block; width: 22px; height: 2px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
.navbar.at-top .mobile-toggle span { background: var(--white); }
.navbar.scrolled .mobile-toggle span { background: var(--navy); }

/* ─── HERO - Side by Side Layout ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(14,165,233,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(20,184,166,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left Content */
.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease-out;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(20,184,166,0.5);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sky-light);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  background: var(--sky-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 0;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}
.hero-stat {
  padding-right: 48px;
  margin-right: 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--teal); font-size: 22px; }
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Right - Jobs Card */
.hero-jobs-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: fadeInRight 0.8s ease-out 0.3s both;
  position: relative;
  z-index: 2;
}

/* Healthcare background video/image */
.hero-bg-media {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 35vw;
  height: 700px;
  overflow: hidden;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
}
.hero-bg-media video,
.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-bg-media video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-bg-media.video-playing video {
  opacity: 1;
}
/* Hide fallback image when video is playing */
.hero-bg-media.video-playing img {
  display: none;
}

.hero-jobs-wrapper {
  position: relative;
}

.jobs-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.jobs-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.jobs-card-title svg { width: 18px; height: 18px; opacity: 0.5; }

.jobs-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jobs-live .dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.jobs-card-list { padding: 8px 0; }

.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  transition: background 0.2s;
  cursor: pointer;
}
.job-row:hover { background: rgba(255,255,255,0.03); }

.job-row-info { flex: 1; }
.job-row-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
  transition: color 0.2s;
}
.job-row:hover .job-row-title { color: var(--sky-light); }
.job-row-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.job-row-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 16px;
}
.dot-urgent { background: var(--urgent); box-shadow: 0 0 10px rgba(239,68,68,0.4); }
.dot-active { background: var(--active); box-shadow: 0 0 8px rgba(20,184,166,0.6); animation: pulse 2s infinite; }
.dot-closed { background: var(--slate-400); }

/* ─── SKELETON LOADING ─── */
@keyframes skeletonShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes dotBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}
.skeleton-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}
.skeleton-info { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skeleton-bar {
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.skeleton-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: skeletonShimmer 1.5s infinite;
}
.skeleton-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
  margin-left: 16px;
}
.skeleton-loading-text {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 28px 12px;
}
.skeleton-loading-text span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  animation: dotBounce 1.2s ease-in-out infinite;
}
.skeleton-loading-text span:nth-child(2) { animation-delay: 0.15s; }
.skeleton-loading-text span:nth-child(3) { animation-delay: 0.3s; }
.skeleton-loading-text em {
  font-style: normal;
  font-size: 11px;
  color: rgba(20,184,166,0.5);
  margin-left: 6px;
}
/* Skeleton cards for Current Openings grid */
.skeleton-card {
  pointer-events: none;
  padding: 24px;
}
.skeleton-card .skeleton-bar {
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.skeleton-card .skeleton-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: skeletonShimmer 1.5s infinite;
}

.view-all-link.has-jobs { color: var(--teal); }
.view-all-link.has-jobs:hover { color: var(--white); }

.jobs-card-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.2s;
}
.view-all-link:hover { color: var(--white); }
.view-all-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.view-all-link:hover svg { transform: translateX(4px); }

/* ─── LICENSED ACROSS BAR ─── */
.licensed-bar {
  background: var(--navy-deep);
  padding: 28px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.licensed-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.licensed-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 8px;
}

.licensed-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.authority-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s ease;
}
.authority-badge:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.authority-badge .badge-icon {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.8;
}

/* ─── FEATURED POSITIONS SECTION ─── */
.featured-section {
  padding: 100px 48px;
  background: var(--off-white);
}

.featured-container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.featured-header-left {}
.featured-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.featured-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--navy-deep);
}
.featured-title em {
  font-style: italic;
  color: var(--navy-mid);
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-mid);
  text-decoration: none;
  transition: all 0.2s;
}
.featured-link:hover { color: var(--navy); }
.featured-link svg { width: 18px; height: 18px; transition: transform 0.2s; }
.featured-link:hover svg { transform: translateX(4px); }

/* Job Cards Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  border-color: var(--slate-300);
  box-shadow: 0 8px 30px rgba(3,63,96,0.08);
}

/* Card Header: Category Badge + Status */
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.job-category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--slate-50);
  color: var(--slate-400);
  border: 1px solid var(--slate-200);
}

.job-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.status-urgent { color: var(--urgent); }
.status-urgent::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--urgent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(239,68,68,0.5);
}
.status-active { color: var(--active); }
.status-active::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--active);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(20,184,166,0.6);
  animation: pulse 2s infinite;
}
.status-open { color: var(--sky); }
.status-open::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--sky);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(14,165,233,0.4);
}
.status-closed { color: var(--slate-400); }
.status-closed::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--slate-400);
  border-radius: 50%;
}

/* Job Title */
.job-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

/* Facility & Location Rows */
.job-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}
.job-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-500);
}
.job-card-row svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  flex-shrink: 0;
}

/* Card Footer: License + Apply Button */
.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
  margin-top: auto;
}

.job-card-license {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-400);
}
.job-card-license svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.job-card-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.job-card-apply:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}
.job-card-apply svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.job-card-apply:hover svg {
  transform: translateX(3px);
}

/* Powered by MedMatch Section */
.powered-by-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 20px 0;
}

.powered-by-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.powered-by-link:hover {
  opacity: 0.8;
}

.powered-by-text {
  font-size: 14px;
  color: var(--slate-400);
}

.medmatch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.01em;
}
.medmatch-badge svg {
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   CTA + FOOTER: SEAMLESS FADE
   ═══════════════════════════════════════════════════════════════ */

.cta-footer-wrapper {
  background: linear-gradient(180deg, 
    var(--navy) 0%, 
    var(--navy-deep) 70%,
    #011a2e 100%
  );
  position: relative;
}

.cta-footer-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(6,77,117,0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 80px 48px 60px;
  text-align: center;
  z-index: 1;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}
.cta-title em {
  font-style: italic;
  color: var(--sky-light);
}

.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-btn-primary:hover {
  background: var(--sky-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.cta-btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.cta-btn-primary:hover svg {
  transform: translateX(4px);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-btn-secondary:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

/* Footer - seamless with CTA */
.site-footer {
  position: relative;
  padding: 50px 48px;
  z-index: 1;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── TESTIMONIALS SECTION ─── */
.testimonials-section {
  padding: 80px 48px;
  background: #eef2f6;
  border-top: 1px solid #e2e8f0;
}
.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}
.testimonials-label {
  font-size: 12px;
  font-weight: 600;
  color: #77c8ef;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.testimonials-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--navy-deep);
  margin: 0;
}
.testimonials-title em {
  font-style: italic;
  color: var(--navy-mid);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Featured (dark) card */
.testimonial-featured {
  background: linear-gradient(135deg, #01243a 0%, #033f60 50%, #064d75 100%);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 36px rgba(1,36,58,0.40);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(1,36,58,0.50);
}
.testimonial-featured .t-quote-icon svg {
  width: 40px;
  height: 40px;
  fill: rgba(125,211,252,0.3);
}
.testimonial-featured .t-text {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  font-family: var(--serif);
  font-style: italic;
  margin: 20px 0 28px;
}
.testimonial-featured .t-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.testimonial-featured .t-role {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.testimonial-featured .t-avatar {
  background: rgba(255,255,255,0.15);
}

/* Side (white) cards */
.testimonial-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  flex: 1;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(3,63,96,0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(3,63,96,0.22);
}
.testimonial-card .t-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.testimonial-card .t-text {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
  flex: 1;
}
.testimonial-card .t-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.testimonial-card .t-role {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Shared testimonial elements */
.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #064d75;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.t-avatar.sm { width: 40px; height: 40px; font-size: 14px; }
.t-avatar.lg { width: 52px; height: 52px; font-size: 18px; }
.t-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.t-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.t-stars {
  display: flex;
  gap: 2px;
}
.t-stars svg {
  width: 14px;
  height: 14px;
  fill: #f59e0b;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-content { max-width: 100%; }
  .hero-jobs-card { max-width: 480px; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reposition background media behind job card on tablet/mobile */
  .hero-jobs-wrapper { overflow: hidden; border-radius: 20px; }
  .hero-bg-media {
    position: absolute;
    right: auto;
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse 90% 90% at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at center, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 75%);
    z-index: 0;
  }
  .hero-jobs-card { position: relative; z-index: 2; }

  /* Tablet stats: 2x2 grid */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .hero-stat {
    border-right: none;
    padding: 0;
    margin: 0;
  }

  /* Testimonials: stack to single column */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-section { padding: 60px 32px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(1,36,58,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 0 24px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
    display: flex;
    pointer-events: none;
  }
  .nav-links.open {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    padding: 16px 24px 24px;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
    color: rgba(255,255,255,0.7) !important;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
  }
  .nav-links.open a { opacity: 1; transform: translateY(0); }
  .nav-links.open a:nth-child(1) { transition-delay: 0.06s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.12s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.18s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.24s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.30s; }
  .nav-cta { margin-top: 16px; background: var(--white) !important; color: var(--navy) !important; }
  .nav-login { margin-top: 8px; border-color: rgba(255,255,255,0.2) !important; color: rgba(255,255,255,0.8) !important; text-align: center; }
  .mobile-toggle { display: flex; }
  
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero h1 { font-size: clamp(32px, 8vw, 44px); }
  .hero-sub { font-size: 15px; }
  .hero-buttons { margin-bottom: 48px; }

  .hero-jobs-card { max-width: 100%; }
  
  .featured-section { padding: 60px 24px; }
  .featured-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .jobs-grid { grid-template-columns: 1fr; }
  
  /* Job cards: tighter on mobile */
  .job-card { padding: 20px; }
  .job-card-title { font-size: 18px; }
  .job-card-footer { flex-direction: column; gap: 12px; align-items: stretch; }
  .job-card-apply { justify-content: center; }

  /* Licensed bar */
  .licensed-bar { padding: 20px 24px; }
  .licensed-inner { flex-direction: column; gap: 12px; }
  .licensed-badges { justify-content: center; }

  /* CTA section */
  .cta-title { font-size: clamp(28px, 6vw, 36px); }
  .cta-desc { font-size: 15px; padding: 0 8px; }
  
  .site-footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }

  /* Testimonials: mobile adjustments */
  .testimonials-section { padding: 48px 24px; }
  .testimonials-title { font-size: clamp(28px, 6vw, 36px); }
  .testimonial-featured { padding: 28px; }
  .testimonial-featured .t-text { font-size: 17px; }
}

@media (max-width: 480px) {
  .hero { padding: 88px 20px 48px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  
  /* Stats: single column on small phones */
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 10px; }

  /* Featured section */
  .featured-section { padding: 48px 20px; }
  .featured-title { font-size: clamp(24px, 6vw, 32px); }

  /* Powered by MedMatch */
  .powered-by-section { padding: 32px 16px 0; }
}
/* ─── LOGIN SLIDE-IN PANEL ─── */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
}
.login-overlay.open {
  pointer-events: auto;
  visibility: visible;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1,36,58,0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
}
.login-overlay.open .login-backdrop { opacity: 1; }

.login-slide {
  position: absolute;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 100%;
  height: 100%;
  background: var(--white, #ffffff);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.login-overlay.open .login-slide { transform: translateX(0); }

.login-slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}
.login-slide-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid #e5e7eb;
  background: none; cursor: pointer; color: #9ca3af;
  transition: all 0.2s;
}
.login-slide-close:hover { background: #f9fafb; color: #374151; }
.login-slide-close svg { width: 18px; height: 18px; }

.login-slide-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500;
  color: #064d75; text-decoration: none; background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.login-slide-back:hover { color: #033f60; }
.login-slide-back svg { width: 16px; height: 16px; }

.login-slide-body {
  flex: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ls-header { margin-bottom: 32px; }
.ls-header h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 26px; font-weight: 400; color: #033f60; margin-bottom: 8px;
}
.ls-header h1 em { font-style: italic; color: #064d75; }
.ls-header p { font-size: 15px; color: #9ca3af; line-height: 1.5; }

.ls-group { margin-bottom: 20px; }
.ls-label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.ls-input-wrap { position: relative; }
.ls-input {
  width: 100%; padding: 12px 14px 12px 42px;
  background: #fff; border: 1.5px solid #e5e7eb; border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: 15px; color: #111827;
  outline: none; transition: all 0.2s;
}
.ls-input::placeholder { color: #d1d5db; }
.ls-input:focus { border-color: #033f60; box-shadow: 0 0 0 3px rgba(3,63,96,0.06); }
.ls-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: #d1d5db; pointer-events: none;
}
.ls-pw-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #d1d5db; cursor: pointer; padding: 4px; display: flex; transition: color 0.2s;
}
.ls-pw-toggle:hover { color: #6b7280; }
.ls-pw-toggle svg { width: 17px; height: 17px; }

.ls-options { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.ls-remember { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: #6b7280; }
.ls-remember input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; border: 1.5px solid #d1d5db;
  border-radius: 4px; cursor: pointer; transition: all 0.15s; position: relative;
}
.ls-remember input[type="checkbox"]:checked { background: #033f60; border-color: #033f60; }
.ls-remember input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ls-forgot {
  font-size: 13px; font-weight: 500; color: #033f60; text-decoration: none;
  background: none; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; transition: color 0.2s;
}
.ls-forgot:hover { text-decoration: underline; }

.ls-btn {
  width: 100%; padding: 13px 24px; background: #033f60; color: #fff;
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600;
  border: none; border-radius: 10px; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ls-btn:hover { background: #064d75; box-shadow: 0 4px 16px rgba(3,63,96,0.15); }
.ls-btn:active { transform: scale(0.99); }
.ls-btn svg { width: 17px; height: 17px; transition: transform 0.2s; }
.ls-btn:hover svg { transform: translateX(2px); }

.ls-footer {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid #f3f4f6;
  text-align: center; font-size: 14px; color: #9ca3af;
}
.ls-footer a { color: #033f60; font-weight: 600; text-decoration: none; cursor: pointer; }
.ls-footer a:hover { text-decoration: underline; }

/* Info note for signup */
.ls-info {
  display: flex; gap: 10px; padding: 14px 16px;
  background: #f9fafb; border: 1px solid #f3f4f6;
  border-radius: 10px; margin-bottom: 24px;
}
.ls-info svg { width: 17px; height: 17px; color: #9ca3af; flex-shrink: 0; margin-top: 1px; }
.ls-info p { font-size: 13px; color: #6b7280; line-height: 1.6; }

/* Success state */
.ls-success { text-align: center; padding: 12px 0 8px; }
.ls-success-icon {
  width: 56px; height: 56px; background: rgba(255,255,255,0.06);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.ls-success-icon svg { width: 24px; height: 24px; color: #14b8a6; }
.ls-success h2 { font-family: 'Libre Baskerville', Georgia, serif; font-size: 22px; font-weight: 400; color: #033f60; margin-bottom: 10px; }
.ls-success p { font-size: 14px; color: #9ca3af; line-height: 1.7; max-width: 320px; margin: 0 auto; }
.ls-success .ls-email-hl { color: #033f60; font-weight: 600; }
.ls-next {
  margin-top: 24px; padding: 14px 16px; background: #f9fafb;
  border: 1px solid #f3f4f6; border-radius: 10px; text-align: left;
}
.ls-next-label { font-size: 11px; font-weight: 600; color: #9ca3af; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.ls-next p { font-size: 13px; color: #6b7280; line-height: 1.6; }

/* Panels */
.ls-panel { display: none; }
.ls-panel.ls-active { display: block; animation: lsFadeIn 0.3s ease-out; }
@keyframes lsFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lsShake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-5px)} 40%{transform:translateX(5px)} 60%{transform:translateX(-3px)} 80%{transform:translateX(3px)} }
@keyframes lsSpin { to { transform: rotate(360deg); } }
.ls-spinner { display:inline-block; width:17px; height:17px; border:2.5px solid rgba(255,255,255,0.25); border-top-color:#fff; border-radius:50%; animation:lsSpin 0.6s linear infinite; }

/* Responsive */
@media (max-width: 540px) {
  .login-slide { width: 100%; }
  .login-slide-body { padding: 32px 24px; }
  .login-slide-header { padding: 20px 24px; }
}
/* ─── MEDMATCH SLIDE-IN PANEL ─── */
.mm-overlay {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; visibility: hidden;
}
.mm-overlay.open { pointer-events: auto; visibility: visible; }

.mm-backdrop {
  position: absolute; inset: 0;
  background: rgba(1,36,58,0.45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.4s ease; cursor: pointer;
}
.mm-overlay.open .mm-backdrop { opacity: 1; }

.mm-slide {
  position: absolute; top: 0; right: 0;
  width: 520px; max-width: 100%; height: 100%;
  background: linear-gradient(180deg, #01243a 0%, #033f60 50%, #064d75 100%);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
}
.mm-overlay.open .mm-slide { transform: translateX(0); }

.mm-slide-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; flex-shrink: 0;
}
.mm-slide-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.7); text-decoration: none; background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.mm-slide-back:hover { color: #fff; }
.mm-slide-back svg { width: 16px; height: 16px; }
.mm-slide-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.15);
  background: none; cursor: pointer; color: rgba(255,255,255,0.5); transition: all 0.2s;
}
.mm-slide-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.mm-slide-close svg { width: 18px; height: 18px; }

.mm-slide-body {
  flex: 1; padding: 0 28px 28px;
  display: flex; flex-direction: column;
}

/* MedMatch Header inside slide */
.mm-header { text-align: center; padding: 0 0 20px; }
.mm-brand-title {
  font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700;
  color: #fff; letter-spacing: 0.04em; margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.mm-brand-tagline {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.55);
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px;
}
.mm-glow-line {
  position: relative; height: 1px; max-width: 100%; margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent 0%, rgba(79,195,247,0.4) 20%, rgba(79,195,247,0.9) 50%, rgba(79,195,247,0.4) 80%, transparent 100%);
}
.mm-glow-line::before {
  content: ''; position: absolute; top: -6px; left: 5%; right: 5%; height: 12px;
  background: linear-gradient(90deg, transparent 0%, rgba(79,195,247,0.15) 20%, rgba(79,195,247,0.35) 50%, rgba(79,195,247,0.15) 80%, transparent 100%);
  filter: blur(6px); animation: mmGlowPulse 2.5s ease-in-out infinite;
}
@keyframes mmGlowPulse { 0%,100%{opacity:.5} 50%{opacity:1} }
.mm-page-title {
  font-family: 'Libre Baskerville', Georgia, serif; font-size: 22px; font-weight: 400;
  color: #fff; margin-bottom: 6px;
}
.mm-page-title em { font-style: italic; color: rgba(79,195,247,0.9); }
.mm-page-subtitle { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* MedMatch Form Card */
.mm-form-card {
  background: #fafbfc; border-radius: 14px; padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); margin-top: 8px;
}
.mm-form-group { margin-bottom: 16px; }
.mm-form-label {
  display: block; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600;
  color: #033f60; margin-bottom: 5px;
}
.mm-form-input {
  width: 100%; padding: 11px 13px; font-family: 'Outfit', sans-serif; font-size: 15px;
  color: #1e293b; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.mm-form-input::placeholder { color: #94a3b8; }
.mm-form-input:focus { border-color: #064d75; box-shadow: 0 0 0 3px rgba(6,77,117,0.1); }
.mm-form-input.is-error { border-color: #ef4444; background: #fef2f2; }
.mm-form-input.is-valid {
  border-color: #064d75;
  box-shadow: 0 0 0 3px rgba(6,77,117,0.15), 0 0 12px rgba(6,77,117,0.3);
  animation: mmInputGlow 2s ease-in-out infinite;
}
@keyframes mmInputGlow {
  0%,100% { box-shadow: 0 0 0 3px rgba(6,77,117,0.15), 0 0 12px rgba(6,77,117,0.25); }
  50% { box-shadow: 0 0 0 3px rgba(6,77,117,0.25), 0 0 18px rgba(6,77,117,0.45); }
}
.mm-form-hint { font-size: 12px; color: #64748b; margin-top: 3px; }
.mm-form-error { font-size: 12px; color: #ef4444; margin-top: 3px; display: block; }

/* File upload */
.mm-file-upload {
  position: relative; border: 2px dashed #064d75; border-radius: 10px;
  padding: 20px 14px; text-align: center; background: #f8fafc; cursor: pointer; transition: all 0.2s;
}
.mm-file-upload:hover, .mm-file-upload.is-dragover { border-color: #033f60; background: rgba(6,77,117,0.04); }
.mm-file-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.mm-file-upload__icon { font-size: 28px; margin-bottom: 6px; }
.mm-file-upload__text { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 500; color: #033f60; }
.mm-file-upload__hint { font-size: 12px; color: #64748b; margin-top: 3px; }
.mm-file-name {
  display: none; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.25);
  border-radius: 8px; padding: 9px 12px; margin-top: 10px;
  font-family: 'Outfit', sans-serif; font-size: 14px; color: #033f60;
}
.mm-file-name.is-visible { display: flex; }
.mm-file-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Submit button */
.mm-btn-submit {
  display: block; width: 100%; padding: 13px;
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #033f60, #064d75); border: none; border-radius: 10px;
  cursor: pointer; box-shadow: 0 4px 14px rgba(3,63,96,0.3);
  transition: transform 0.2s, box-shadow 0.2s; margin-top: 6px;
}
.mm-btn-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(3,63,96,0.4); }
.mm-btn-submit:active:not(:disabled) { transform: translateY(0); }
.mm-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Success state */
.mm-success-state { display: none; text-align: center; padding: 12px 0; }
.mm-success-state.is-visible { display: block; animation: mmFadeIn 0.4s ease; }
@keyframes mmFadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.mm-success-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 26px; color: #fff;
  box-shadow: 0 8px 20px rgba(16,185,129,0.3);
}
.mm-success-state h2 { font-family: 'Libre Baskerville', Georgia, serif; font-size: 20px; color: #033f60; margin-bottom: 6px; }
.mm-success-state p { font-size: 14px; color: #475569; margin-bottom: 18px; }
.mm-btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  color: #fff; background: #25d366; border-radius: 8px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3); transition: transform 0.2s;
}
.mm-btn-whatsapp:hover { transform: translateY(-2px); }

/* Loading overlay */
.mm-loading {
  position: absolute; inset: 0; background: rgba(3,63,96,0.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 10; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
  border-radius: 14px;
}
.mm-loading.is-active { opacity: 1; visibility: visible; }
.mm-spinner-lg { width: 36px; height: 36px; border: 3px solid rgba(255,255,255,0.2); border-top-color: #fff; border-radius: 50%; animation: lsSpin 0.8s linear infinite; }
.mm-loading p { color: #fff; font-family: 'Outfit', sans-serif; font-size: 14px; margin-top: 12px; }

/* Toast */
.mm-toast-container {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 11;
  display: flex; flex-direction: column; gap: 6px; pointer-events: none;
}
.mm-toast {
  padding: 10px 14px; border-radius: 8px; display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: 'Outfit', sans-serif; font-size: 13px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); animation: mmToastIn 0.3s ease; pointer-events: auto;
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.mm-toast button { background: none; border: none; color: inherit; opacity: 0.7; cursor: pointer; margin-left: auto; font-size: 18px; line-height: 1; padding: 0; }
@keyframes mmToastIn { from{transform:translateY(-100%);opacity:0} to{transform:translateY(0);opacity:1} }

/* Error modal inside slide */
.mm-modal {
  position: absolute; inset: 0; background: rgba(3,63,96,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 12; padding: 16px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.mm-modal.is-active { opacity: 1; visibility: visible; }
.mm-modal__content {
  background: #fff; border-radius: 14px; padding: 24px; max-width: 340px; width: 100%;
  text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.mm-modal__content h3 { font-family: 'Outfit', sans-serif; font-size: 17px; color: #033f60; margin-bottom: 6px; }
.mm-modal__content p { font-size: 14px; color: #475569; margin-bottom: 16px; }
.mm-modal__buttons { display: flex; gap: 10px; }
.mm-modal__btn {
  flex: 1; padding: 10px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600;
  border: none; border-radius: 8px; cursor: pointer; transition: transform 0.15s;
}
.mm-modal__btn--primary { background: linear-gradient(135deg, #033f60, #064d75); color: #fff; }
.mm-modal__btn--whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #25d366; color: #fff; text-decoration: none;
}
.mm-modal__close {
  display: block; width: 100%; margin-top: 10px; padding: 6px;
  font-family: 'Outfit', sans-serif; font-size: 13px; color: #64748b;
  background: none; border: none; cursor: pointer;
}
.mm-modal__close:hover { color: #1e293b; }

@media (max-width: 540px) {
  .mm-slide { width: 100%; }
  .mm-slide-body { padding: 0 20px 20px; }
  .mm-slide-header { padding: 16px 20px; }
  .mm-form-card { padding: 20px 16px; }
}

/* ─── FLOATING WHATSAPP BUTTON ─── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, bottom 0.3s ease;
}
.wa-float.visible {
  opacity: 1;
  transform: translateY(0);
}
.wa-float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
}
.wa-float-btn:hover {
  transform: scale(1.1);
}
.wa-float-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  pointer-events: none;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border: 1px solid #e2e8f0;
  width: 220px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.wa-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.wa-tooltip-arrow {
  position: absolute;
  bottom: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.wa-tooltip-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  padding: 2px;
}
.wa-tooltip-close:hover { color: #64748b; }
.wa-tooltip-heading {
  font-size: 13px;
  color: #1e293b;
  margin: 0;
  font-weight: 500;
}
.wa-tooltip-msg {
  font-size: 12px;
  color: #64748b;
  margin: 5px 0 0;
}

/* ─── ACCESSIBILITY ─── */
.skip-nav:focus {
  top: 0 !important;
  outline: 2px solid var(--teal);
}
