/* ==========================================================================
   CRAD-JOS — Diagnostic Services
   Luminous Radiological & Glassmorphism Design System (Integrated Ambience)
   ========================================================================== */

/* ─── CSS Variables & Design Tokens ─────────────────────────────────────── */
:root {
  /* Chromatic Midnight Palette (Rich deep indigo-tinted darks) */
  --bg-primary: #06050E;
  --bg-secondary: #0A0818;
  --bg-tertiary: #100C24;
  --bg-card: rgba(18, 15, 34, 0.78);
  --bg-card-hover: rgba(26, 21, 50, 0.92);
  --bg-glass: rgba(10, 8, 22, 0.82);
  
  /* Luminous Purples & Violets */
  --purple-vivid: #A855F7;
  --purple-light: #C084FC;
  --purple-soft: #F3E8FF;
  --purple-deep: #7C3AED;
  --purple-dark: #5B21B6;
  
  --violet-accent: #8B5CF6;
  --violet-light: #A78BFA;
  --violet-pale: #DDD6FE;
  
  /* Medical Spectrum Accents (Radiological Cyan & Clinical Emerald) */
  --cyan-electric: #06B6D4;
  --cyan-light: #67E8F9;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  
  --emerald-electric: #10B981;
  --emerald-light: #34D399;
  --emerald-glow: rgba(16, 185, 129, 0.35);

  /* High-Contrast Crisp Typography */
  --text-white: #FFFFFF;
  --text-light: #F8FAFC;
  --text-silver: #E2E8F0;
  --text-muted: #CBD5E1;
  --text-dim: #94A3B8;
  
  /* Radiant Multi-Stop Borders & Glows */
  --border-subtle: rgba(168, 85, 247, 0.22);
  --border-glow: rgba(192, 132, 252, 0.45);
  --border-radiant: linear-gradient(135deg, rgba(192, 132, 252, 0.45), rgba(124, 58, 237, 0.2) 50%, rgba(6, 182, 212, 0.3));
  
  --shadow-subtle: 0 4px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.3);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --shadow-glow-lg: 0 0 60px rgba(139, 92, 246, 0.4);

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Global Reset & Base ────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--font-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--purple-vivid), var(--purple-deep));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple-light);
  box-shadow: 0 0 10px var(--purple-vivid);
}

/* ─── Typography & Gradient Text ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #FFFFFF 15%, #F3E8FF 45%, #C084FC 75%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(168, 85, 247, 0.35);
}

.text-gradient-pink {
  background: linear-gradient(135deg, #E9D5FF 0%, #C084FC 40%, #A855F7 80%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FDE047 0%, #F472B6 45%, #C084FC 80%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.shimmer-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #E9D5FF 25%, #C084FC 50%, #06B6D4 75%, #FFFFFF 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 250% center;
  }
}

/* ─── Container ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ─── Header & Navigation ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  padding: 2px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(6, 182, 212, 0.4));
  border: 1px solid rgba(192, 132, 252, 0.45);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-link:hover .brand-logo-wrap {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(192, 132, 252, 0.6);
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-md) - 2px);
}

.brand-text h1 {
  font-size: 1.28rem;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--purple-light);
  font-weight: 700;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-tagline::after {
  content: 'LIVE';
  font-size: 0.55rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-silver);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-vivid), var(--cyan-electric));
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
  transition: all var(--transition-fast);
}

.btn-header-call:hover {
  background: rgba(16, 185, 129, 0.26);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.btn-portal-small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.58rem 1.25rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-vivid) 60%, var(--cyan-electric) 100%);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
}

.btn-portal-small:hover {
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.7), 0 0 15px rgba(6, 182, 212, 0.5);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 101;
}

.mobile-menu-btn:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-panel {
  display: flex;
  position: fixed;
  top: 71px;
  left: 0;
  right: 0;
  background: rgba(6, 5, 14, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(168, 85, 247, 0.15);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-nav-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Drawer Backdrop Overlay */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 10, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Drawer Elements */
.mobile-drawer-portal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.95rem 1.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-vivid) 55%, var(--cyan-electric) 100%);
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.mobile-drawer-portal-btn:active {
  transform: scale(0.98);
}

.mobile-drawer-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.35), rgba(6, 182, 212, 0.35), transparent);
}

.mobile-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-silver);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: var(--text-white);
  transform: translateX(3px);
}

.mobile-nav-link svg {
  color: var(--purple-light);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover svg, .mobile-nav-link:active svg {
  transform: translateX(4px);
  color: var(--cyan-electric);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.mobile-staff-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.mobile-staff-link:hover, .mobile-staff-link:active {
  color: var(--cyan-electric);
  background: rgba(6, 182, 212, 0.08);
}

.header-accent-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, #A855F7 20%, #06B6D4 50%, #A855F7 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Ambient Radial Glow Orbs (Multi-Spectrum Lighting) */
.lp-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.animate-orb-1 {
  width: 650px;
  height: 650px;
  top: -12%;
  left: -10%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(124, 58, 237, 0.12) 45%, transparent 70%);
  filter: blur(130px);
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.animate-orb-2 {
  width: 550px;
  height: 550px;
  top: 20%;
  right: -12%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(139, 92, 246, 0.12) 45%, transparent 70%);
  filter: blur(140px);
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}

.animate-orb-3 {
  width: 580px;
  height: 580px;
  bottom: -12%;
  left: 20%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(16, 185, 129, 0.1) 45%, transparent 70%);
  filter: blur(150px);
  animation: orb-drift 25s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.92); }
}

/* Star field background with colored photons */
.star-field {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1.5px 1.5px at 30px 40px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(2px 2px at 90px 130px, rgba(168, 85, 247, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 160px 80px, rgba(6, 182, 212, 0.75), transparent),
    radial-gradient(2px 2px at 230px 200px, rgba(192, 132, 252, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 320px 50px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 410px 170px, rgba(16, 185, 129, 0.75), transparent);
  background-size: 450px 350px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

/* Floating particles container */
.particle-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.lp-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

@keyframes float-particle {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-32px) translateX(15px);
    opacity: 0.95;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}

/* Hero Pill Badge — Clinical Live Status */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.2), inset 0 0 12px rgba(168, 85, 247, 0.1);
  backdrop-filter: blur(10px);
}

.hero-badge .rule-line {
  width: 26px;
  height: 1px;
}

.hero-badge .badge-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Hero Titles */
.hero-title {
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: var(--text-silver);
  max-width: 700px;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
}

/* Location & Live Telemetry Pill */
.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  background: rgba(18, 15, 34, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2.75rem;
}

.radar-dot-wrap {
  position: relative;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.radar-ring {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #10B981;
  opacity: 0.7;
  animation: radar-pulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes radar-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.4rem;
  border-radius: var(--radius-md);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-vivid) 60%, var(--cyan-electric) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), 0 0 15px rgba(6, 182, 212, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.75), 0 0 25px rgba(6, 182, 212, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.btn-primary-glow svg {
  transition: transform var(--transition-fast);
}

.btn-primary-glow:hover svg.arrow-icon {
  transform: translateX(5px);
}

.btn-call-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.4rem;
  border-radius: var(--radius-md);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ECFDF5;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
  transition: all var(--transition-normal);
}

.btn-call-hero:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.35), 0 0 20px rgba(6, 182, 212, 0.25);
  transform: translateY(-2px);
}

/* Trust Stats Bar */
.trust-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  padding-top: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 700;
  margin-top: 0.6rem;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(192, 132, 252, 0.5), transparent);
}

/* Bottom fade divider */
.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--bg-secondary), transparent);
  pointer-events: none;
  z-index: 4;
}

/* ─── Animated ECG Cardiac Pulse Divider ─────────────────────────────────── */
.ecg-divider-wrap {
  position: relative;
  width: 100%;
  height: 64px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.ecg-svg {
  width: 100%;
  max-width: 900px;
  height: 48px;
}

.ecg-track {
  stroke: rgba(168, 85, 247, 0.2);
  stroke-width: 1.5;
  fill: none;
}

.ecg-pulse {
  stroke: url(#ecg-gradient);
  stroke-width: 2.2;
  fill: none;
  stroke-dasharray: 200 600;
  stroke-dashoffset: 800;
  animation: ecg-sweep 3.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.8));
}

@keyframes ecg-sweep {
  to {
    stroke-dashoffset: -800;
  }
}

/* ─── Section Header Common ──────────────────────────────────────────────── */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.75rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 0.9rem;
  background: rgba(6, 182, 212, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-divider-line {
  height: 1px;
  width: 100%;
  background: radial-gradient(ellipse at center, rgba(192, 132, 252, 0.45) 0%, rgba(6, 182, 212, 0.2) 45%, transparent 75%);
}

/* ─── Services Section ───────────────────────────────────────────────────── */
.services-section {
  background: var(--bg-secondary);
}

.service-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.45rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-silver);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(192, 132, 252, 0.4);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(168, 85, 247, 0.35) 60%, rgba(6, 182, 212, 0.25));
  border-color: var(--purple-light);
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4), inset 0 0 10px rgba(192, 132, 252, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Radiant Glassmorphism Glow Card with Interactive Hover Spotlight */
.glow-card {
  position: relative;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168, 85, 247, 0.15), transparent 45%), var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-light), var(--cyan-electric), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.glow-card:hover {
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(192, 132, 252, 0.22), transparent 50%), var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 35px rgba(168, 85, 247, 0.25), 0 0 15px rgba(6, 182, 212, 0.2);
}

.glow-card:hover::before {
  opacity: 1;
}

/* Dual-Tone Illuminated Icon Pods */
.card-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-icon-imaging {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.25);
  color: var(--cyan-light);
}

.card-icon-lab {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(16, 185, 129, 0.18));
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.25);
  color: var(--emerald-light);
}

.glow-card:hover .card-icon-box {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.45);
}

/* Jewel-Toned Saturated Badges */
.card-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge-imaging {
  background: rgba(6, 182, 212, 0.14);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.18);
}

.badge-lab {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.18);
}

.card-title {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.card-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple-light);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.card-action-link:hover {
  color: var(--cyan-light);
  gap: 0.65rem;
}

/* ─── Facilities / Gallery Section ───────────────────────────────────────── */
.facilities-section {
  background: var(--bg-tertiary);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.facility-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 182, 212, 0.12), transparent 45%), rgba(16, 12, 34, 0.82);
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 2.35rem 1.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.facility-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.3), 0 0 20px rgba(6, 182, 212, 0.25);
}

.facility-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(192, 132, 252, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--cyan-light);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.3);
  transition: all var(--transition-fast);
}

.facility-card:hover .facility-icon-wrap {
  transform: scale(1.12);
  box-shadow: 0 0 32px rgba(6, 182, 212, 0.5);
  border-color: var(--cyan-light);
  color: #FFFFFF;
}

.facility-title {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.facility-subtitle {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.facility-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #34D399;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.18);
}

.facility-status-pill .indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

/* ─── Highlights / Why Choose CRAD ───────────────────────────────────────── */
.why-crad-section {
  background: var(--bg-primary);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  background: rgba(18, 15, 34, 0.7);
  border: 1px solid rgba(192, 132, 252, 0.15);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(12px);
}

.feature-box:hover {
  border-color: rgba(192, 132, 252, 0.45);
  background: rgba(26, 21, 50, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(168, 85, 247, 0.2);
  transform: translateY(-3px);
}

.feature-box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(192, 132, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  margin-bottom: 1.15rem;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
}

.feature-box h4 {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Patient Portal Banner ──────────────────────────────────────────────── */
.portal-cta-banner {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(168, 85, 247, 0.2) 50%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3.25rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 45px rgba(168, 85, 247, 0.25);
  margin-bottom: 5rem;
  backdrop-filter: blur(18px);
}

.portal-cta-text h3 {
  font-size: 2rem;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.portal-cta-text p {
  font-size: 1.05rem;
  color: var(--text-silver);
  max-width: 600px;
}

.portal-cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* ─── Contact Section ────────────────────────────────────────────────────── */
.contact-section {
  background: var(--bg-secondary);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-bottom: 3.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.35rem 1.85rem;
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(14px);
}

.contact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.25);
}

.contact-icon-bubble {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(192, 132, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem;
  color: var(--purple-light);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
  transition: all var(--transition-fast);
}

.contact-card:hover .contact-icon-bubble {
  transform: scale(1.12);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(6, 182, 212, 0.22));
  border-color: var(--cyan-light);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.5);
  color: #FFFFFF;
}

.contact-card h4 {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.contact-link {
  display: block;
  font-size: 0.98rem;
  color: var(--text-silver);
  transition: color var(--transition-fast);
  margin-top: 0.35rem;
}

.contact-link:hover {
  color: var(--cyan-light);
}

.contact-address {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Operating Hours Strip */
.hours-bar {
  background: rgba(18, 15, 34, 0.85);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: var(--radius-md);
  padding: 1.35rem 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}

.hours-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-silver);
}

.hours-item strong {
  color: var(--text-white);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: #04030A;
  position: relative;
  padding-top: 3.75rem;
  padding-bottom: 2.75rem;
  border-top: 1px solid rgba(168, 85, 247, 0.12);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  font-family: var(--font-heading);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan-light);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--purple-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--cyan-light);
}

.staff-btn {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.staff-btn:hover {
  color: var(--purple-light);
}

/* ─── Floating Scroll to Top Button ──────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(18, 15, 34, 0.9);
  border: 1px solid var(--border-glow);
  color: var(--cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.4);
  backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, var(--purple-deep), var(--cyan-electric));
  color: var(--text-white);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.7);
  transform: translateY(-2px);
}

/* ─── Modal (Inquiry & Portal Prompt) ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 10, 0.88);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-window {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(168, 85, 247, 0.35);
  position: relative;
  transform: scale(0.92);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-window {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.modal-window h3 {
  font-size: 1.55rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.modal-window p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  line-height: 1.55;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-silver);
}

.form-input, .form-select, .form-textarea {
  background: rgba(6, 5, 14, 0.85);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan-electric);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

.form-submit-btn {
  margin-top: 0.6rem;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-vivid) 60%, var(--cyan-electric) 100%);
  color: var(--text-white);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
  transition: all var(--transition-fast);
}

.form-submit-btn:hover {
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.75);
  transform: translateY(-1px);
}

/* ─── Responsive Media Queries ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .portal-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.85rem;
  }
  .portal-cta-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-actions .btn-header-call {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-glow, .btn-call-hero {
    width: 100%;
  }
  .stat-divider {
    display: none;
  }
  .trust-stats {
    gap: 1.5rem 2rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}
