/* ==========================================================================
   SIGMA LABS MODERN MEDICAL DESIGN SYSTEM (2026 EDITION)
   Aesthetics: Modern Healthcare, Glassmorphism, Micro-animations, Ultra Fast
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-navy: #0a192f;
  --primary-navy-light: #112240;
  --primary-sigma: #005691;
  --primary-bright: #0284c7;
  --accent-coral: #ff5a5f;
  --accent-coral-hover: #e0484d;
  --accent-cyan: #0284c7;
  --accent-cyan-light: #f0f7ff;
  --accent-teal: #00a896;
  --accent-teal-light: #e6fffa;
  --accent-emerald: #10b981;
  --accent-emerald-light: #ecfdf5;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fffbeb;
  
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-dark: rgba(10, 25, 47, 0.95);
  
  --text-dark: #0a192f;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #0284c7;
  
  --shadow-xs: 0 1px 3px rgba(10, 25, 47, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 6px 16px -2px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 12px 28px -4px rgba(10, 25, 47, 0.1);
  --shadow-xl: 0 20px 40px -8px rgba(10, 25, 47, 0.12);
  --shadow-coral: 0 6px 20px rgba(255, 90, 95, 0.28);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
}

body.ltr {
  direction: ltr;
  text-align: left;
  font-family: 'Outfit', 'Cairo', system-ui, sans-serif;
}

/* Strict BiDi Isolation for Phone & WhatsApp numbers in RTL/LTR */
bdi,
.bdi-phone,
.phone-val,
.phone-number,
.hotline-number,
.footer-hotline-number,
a[href^="tel:"],
a[href*="wa.me"] {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
  text-align: left !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding-inline: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 0.85rem;
  }
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 800;
  line-height: 1.3;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-cyan-light);
  color: var(--primary-sigma);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.section-title-wrap {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ==========================================================================
   TOP BAR & NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background: var(--primary-navy);
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-info-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
}

.top-info-item svg {
  color: var(--accent-coral);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch,
.lang-switch-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
}

.lang-switch:hover,
.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  color: #ffffff;
}

/* LTR Specific Refinements */
html[dir="ltr"] body,
body.ltr {
  direction: ltr;
  text-align: left;
  font-family: 'Inter', 'Outfit', system-ui, sans-serif;
}

html[dir="ltr"] .logo-wrapper {
  flex-direction: row;
}

html[dir="ltr"] .logo-text {
  text-align: left;
}

html[dir="ltr"] .footer-links a,
html[dir="ltr"] .breadcrumb-item {
  text-align: left;
}

html[dir="ltr"] .stat-card,
html[dir="ltr"] .service-card,
html[dir="ltr"] .feature-card,
html[dir="ltr"] .branch-card,
html[dir="ltr"] .test-card {
  text-align: left;
}

html[dir="ltr"] .package-features li {
  text-align: left;
}


/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(11, 37, 69, 0.04);
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  height: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  gap: 0.85rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo-img {
  height: 48px;
  width: 48px;
  max-width: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
  transition: transform 0.2s ease;
}

.logo-wrapper:hover .header-logo-img {
  transform: scale(1.04);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-sigma);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: 'Outfit', 'Cairo', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 86, 145, 0.2);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-navy);
  white-space: nowrap;
  margin: 0;
}

.logo-text h1 span {
  color: var(--primary-sigma);
}

.logo-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-sigma);
  background: #f1f5f9;
}

.nav-link.active {
  color: var(--primary-sigma);
  background: #f0f7ff;
  font-weight: 700;
}

.nav-link::after {
  display: none !important;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-cta-group .btn {
  white-space: nowrap !important;
  flex-shrink: 0;
}

/* ==========================================================================
   POWERFUL, TACTILE & HIGH-CONVERSION MEDICAL BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.72rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border: 1px solid transparent;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  user-select: none;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

.btn:active {
  transform: scale(0.96) translateY(0) !important;
  transition-duration: 0.08s;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.42), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 14px 32px -4px rgba(2, 132, 199, 0.58), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transform: translateY(-2.5px);
  color: #ffffff !important;
}

.btn-coral {
  background: linear-gradient(135deg, #ff4d6d 0%, #e02447 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 24px -4px rgba(255, 77, 109, 0.46), inset 0 1px 1px rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-coral:hover {
  background: linear-gradient(135deg, #e02447 0%, #ff4d6d 100%);
  transform: translateY(-2.5px);
  box-shadow: 0 14px 32px -4px rgba(255, 77, 109, 0.62), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  color: #0284c7 !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.btn-glass:hover {
  background: #ffffff;
  border-color: #0284c7;
  color: #0369a1 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.18);
}

.btn-outline {
  background: transparent;
  color: #0284c7 !important;
  border: 2px solid #0284c7;
  font-weight: 700;
}

.btn-outline:hover {
  background: rgba(2, 132, 199, 0.08);
  border-color: #0369a1;
  color: #0369a1 !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   PAGE HEADER BANNER (Consistent, Rich & Readable on All Pages)
   ========================================================================== */
.page-header-banner {
  background: #0b2545 !important;
  background: linear-gradient(135deg, #0b2545 0%, #005691 100%) !important;
  color: #ffffff !important;
  padding: 3.5rem 0 3rem !important;
  text-align: center !important;
  position: relative !important;
}

.page-header-banner h1 {
  color: #ffffff !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.3 !important;
}

.page-header-banner p {
  color: #e2e8f0 !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
}

.page-header-banner .section-tag {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-size: 0.85rem !important;
  padding: 0.35rem 1rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 0.85rem !important;
}

.banner-badge-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.45rem 1.15rem !important;
  border-radius: 9999px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  margin-bottom: 0.85rem !important;
  max-width: 95% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

body.theme-light .banner-badge-pill {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   CINEMATIC HERO — DEEP SPACE MEDICAL COMMAND CENTER (2026 EDITION)
   ========================================================================== */

/* --- CSS Keyframe Animations --- */
@keyframes heroFadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeSlideDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(24px, -18px) scale(1.04); }
  66%       { transform: translate(-18px, 14px) scale(0.97); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0,0) scale(1) rotate(0deg); }
  50%       { transform: translate(-28px, 22px) scale(1.05) rotate(8deg); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes shimmerGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0) opacity(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120vh) translateX(40px); opacity: 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* --- Hero Container --- */
.command-center-section {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(0, 168, 150, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(124, 58, 237, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(2, 100, 180, 0.08) 0%, transparent 70%),
    linear-gradient(165deg, #050c18 0%, #0a1628 30%, #0d1e38 60%, #081422 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

/* --- Animated Background Orbs/Blobs --- */
.command-center-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 70%, rgba(0, 180, 160, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 82% 20%, rgba(120, 60, 220, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(2, 130, 200, 0.10) 0%, transparent 35%);
  animation: blobFloat 18s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.command-center-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(0, 220, 200, 0.06) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.05) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 80%, rgba(180, 120, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Extra decorative blob */
.hero-blob-1,
.hero-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0, 180, 160, 0.18) 0%, rgba(0, 100, 200, 0.08) 60%, transparent 80%);
  top: -100px; left: -120px;
  animation: blobFloat 22s ease-in-out infinite;
}
.hero-blob-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(140, 60, 240, 0.2) 0%, rgba(60, 10, 140, 0.08) 60%, transparent 80%);
  bottom: -80px; right: -80px;
  animation: blobFloat2 26s ease-in-out infinite;
}

/* Grid lines / cyberpunk mesh overlay */
.hero-mesh-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 200, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* --- Command Deck Card — Main Glass Container --- */
.command-deck-card {
  position: relative;
  z-index: 2;
  background: rgba(10, 22, 45, 0.60);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(0, 200, 180, 0.18);
  border-radius: 28px;
  padding: 2.5rem 2.75rem;
  box-shadow:
    0 2px 0 rgba(0, 220, 200, 0.25) inset,
    0 -1px 0 rgba(140, 60, 240, 0.15) inset,
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(0, 160, 220, 0.06);
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Command Deck Header --- */
.command-deck-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.deck-title-group {
  animation: revealLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.deck-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 200, 180, 0.12);
  border: 1px solid rgba(0, 220, 200, 0.32);
  color: #5af4e6;
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.deck-main-title {
  font-size: clamp(1.65rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.text-cyan-glow {
  background: linear-gradient(135deg, #38f0e0 0%, #0fa8d8 50%, #a78bfa 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerGradient 4s ease infinite;
  display: inline-block;
}

/* --- Telemetry Live Chips --- */
.deck-telemetry {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  animation: revealRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.tele-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  min-width: 120px;
  transition: all 0.25s ease;
}

.tele-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 220, 200, 0.4);
  transform: translateY(-2px);
}

.tele-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tele-dot.green  { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.8); animation: pulse-ring 2s infinite; }
.tele-dot.cyan   { background: #06b6d4; box-shadow: 0 0 8px rgba(6, 182, 212, 0.8); animation: pulse-ring 2.4s infinite; }
.tele-dot.coral  { background: #f43f5e; box-shadow: 0 0 8px rgba(244, 63, 94, 0.8); animation: pulse-ring 2.8s infinite; }

.tele-chip strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Outfit', 'Cairo', sans-serif;
  line-height: 1;
}

.tele-chip small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-top: 0.15rem;
}

/* --- PCC Tabs Bar --- */
.pcc-tabs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.pcc-tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-align: start;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.pcc-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

.pcc-tab.active {
  background: linear-gradient(135deg, rgba(0, 168, 200, 0.22) 0%, rgba(100, 60, 220, 0.18) 100%);
  border-color: rgba(0, 210, 200, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 180, 200, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.pcc-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease;
  color: #38f0e0;
}

.pcc-tab.active .pcc-tab-icon {
  background: rgba(0, 200, 190, 0.25);
  color: #5af4e6;
}

.pcc-tab-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.pcc-tab-text span {
  display: block;
  font-size: 0.73rem;
  opacity: 0.6;
  font-weight: 500;
  margin-top: 0.15rem;
}

/* --- PCC Panels --- */
.pcc-panels-wrap {
  animation: heroFadeIn 0.6s ease 0.4s both;
}

.pcc-panel {
  display: none;
}

.pcc-panel.active {
  display: block;
  animation: heroFadeSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Search Panel --- */
.pcc-search-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-search-box input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.5rem;
  font-size: 1.02rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: #ffffff;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
html[dir="ltr"] .hero-search-box input,
body.ltr .hero-search-box input {
  padding: 1rem 1.5rem 1rem 3.5rem;
}

.hero-search-box input::placeholder { color: rgba(255,255,255,0.4); }

.hero-search-box input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 220, 200, 0.6);
  box-shadow: 0 0 0 4px rgba(0, 210, 200, 0.15);
  outline: none;
  color: #ffffff;
}

.hero-search-icon {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #38f0e0;
  pointer-events: none;
}
html[dir="ltr"] .hero-search-icon,
body.ltr .hero-search-icon {
  right: auto;
  left: 1.1rem;
}

.hero-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-tag-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-end: 0.25rem;
}

.hero-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tag-btn:hover {
  background: rgba(0, 210, 200, 0.2);
  border-color: rgba(0, 220, 200, 0.5);
  color: #5af4e6;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(0, 180, 200, 0.2);
}

/* --- PCC Form Inline (Tabs 2, 3) --- */
.pcc-form-inline {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.pcc-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 180px;
}

.pcc-form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pcc-input {
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.22s ease;
}

.pcc-input::placeholder { color: rgba(255,255,255,0.35); }

.pcc-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 220, 200, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 210, 200, 0.15);
}

/* --- RX Panel --- */
.pcc-rx-deck {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.pcc-rx-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pcc-rx-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  max-width: 520px;
}

.pcc-rx-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   STATS RIBBON — ANIMATED COUNT-UP GLASS BAR
   ========================================================================== */
.stats-ribbon {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 2rem 0;
  position: relative;
}

.stats-ribbon::before {
  display: none;
}

.stats-ribbon-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 1199px) and (min-width: 769px) {
  .stats-ribbon-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }
  .stats-ribbon-inner .stat-pill:nth-child(4) {
    grid-column: span 1 !important;
  }
  .stats-ribbon-inner .stat-pill:nth-child(5) {
    grid-column: span 2 !important;
  }
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 0.85rem 1rem;
  min-height: 82px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.stat-pill:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  box-shadow: 0 10px 24px -4px rgba(2, 132, 199, 0.12);
}

.stat-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-pill-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
  text-align: start;
}

.stat-pill .stat-num {
  font-size: clamp(1.2rem, 1.3vw, 1.45rem);
  font-weight: 800;
  color: #0284c7;
  font-family: 'Outfit', 'Cairo', sans-serif;
  line-height: 1.15;
  margin: 0 0 0.15rem 0;
  padding: 0;
  white-space: nowrap;
  background: none;
  -webkit-text-fill-color: initial;
}

.stat-pill .stat-txt {
  font-size: clamp(0.72rem, 0.8vw, 0.8rem);
  color: #64748b;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  white-space: normal;
  word-break: normal;
}

.stat-divider {
  display: none !important;
}

/* ==========================================================================
   LIFESTYLE BANNER — Full-Width Cinematic Medical Banner
   ========================================================================== */
.lifestyle-banner {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.lifestyle-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.8);
  transition: transform 0.8s ease;
}

.lifestyle-banner:hover .lifestyle-banner-img {
  transform: scale(1.03);
}

.lifestyle-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 12, 25, 0.75) 0%,
    rgba(5, 12, 25, 0.5) 50%,
    rgba(0, 120, 180, 0.25) 100%
  );
  z-index: 1;
}

.lifestyle-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem;
  max-width: 680px;
}

.lifestyle-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  color: #0369a1;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.lifestyle-banner-tag.lifestyle-banner-tag-coral {
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(225, 29, 72, 0.35);
  color: #be123c;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.14), 0 1px 3px rgba(15, 23, 42, 0.06);
}

.lifestyle-banner-tag.lifestyle-banner-tag-blue {
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  color: #0369a1;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.14), 0 1px 3px rgba(15, 23, 42, 0.06);
}

.badge-3d-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lifestyle-banner:hover .badge-3d-icon {
  transform: scale(1.12) rotate(-3deg);
}

.badge-tag-text {
  font-weight: 800;
  white-space: nowrap;
}

.lifestyle-banner-title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.lifestyle-banner-title span {
  color: #38f0e0;
}

.lifestyle-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.lifestyle-banner-cta:hover {
  background: rgba(0, 200, 180, 0.3);
  border-color: rgba(0, 220, 200, 0.7);
  color: #5af4e6;
  transform: translateX(-4px);
}

html[dir="ltr"] .lifestyle-banner-cta:hover {
  transform: translateX(4px);
}

/* ==========================================================================
   SCROLL REVEAL — Intersection Observer Classes
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   HERO SEARCH ICON (for other pages)
   ========================================================================== */

.hero-search-icon {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #38f0e0;
  pointer-events: none;
}

body.ltr .hero-search-icon {
  right: auto;
  left: 1.1rem;
}

.hero-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.hero-tag-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-end: 0.25rem;
}

.hero-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.hero-tag-btn:hover {
  background: rgba(0, 210, 200, 0.2);
  border-color: rgba(0, 220, 200, 0.5);
  color: #5af4e6;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 180, 200, 0.15);
}

.floating-badge.badge-top-right {
  top: 20px;
  right: -15px;
}

.floating-badge.badge-bottom-left {
  bottom: 25px;
  left: -15px;
  animation-delay: 2s;
}

.floating-badge.badge-side {
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

/* ==========================================================================
   INTERACTIVE TEST DIRECTORY & LIVE ENGINE
   ========================================================================== */

.hero-search-icon {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-bright);
  pointer-events: none;
}

body.ltr .hero-search-icon {
  right: auto;
  left: 1.1rem;
}

.hero-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.hero-tag-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-end: 0.25rem;
}

.hero-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.hero-tag-btn:hover {
  background: var(--accent-cyan-light);
  border-color: var(--primary-bright);
  color: var(--primary-sigma);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
}

.floating-badge.badge-top-right {
  top: 20px;
  right: -15px;
}

.floating-badge.badge-bottom-left {
  bottom: 25px;
  left: -15px;
  animation-delay: 2s;
}

.floating-badge.badge-side {
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  animation-delay: 1s;
}



/* ==========================================================================
   INTERACTIVE TEST DIRECTORY & LIVE ENGINE
   ========================================================================== */
.tests-section {
  padding: 5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.tests-filter-bar {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.search-input-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.search-input-group svg {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

body.ltr .search-input-group svg {
  right: auto;
  left: 1.25rem;
}

.test-search-input {
  width: 100%;
  padding: 1rem 3.25rem 1rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  font-size: 1.05rem;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

body.ltr .test-search-input {
  padding: 1rem 1.25rem 1rem 3.25rem;
}

.test-search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary-sigma);
  color: #ffffff;
  border-color: var(--primary-sigma);
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
}

.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.test-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.test-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-bright), var(--accent-teal));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.test-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 12px 30px -4px rgba(10, 25, 47, 0.1);
  transform: translateY(-4px);
}

.test-card:hover::before {
  opacity: 1;
}

.test-header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  width: 100%;
}

.test-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.test-title-box {
  width: 100%;
  flex: 1;
}

.test-title-box h3,
.test-title-box h2 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0;
  word-break: break-word;
  line-height: 1.35;
  width: 100%;
}

.test-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ar, 'Cairo'), -apple-system, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #bae6fd;
  white-space: nowrap;
  line-height: 1.25;
  box-sizing: border-box;
  flex-shrink: 0;
  max-width: 100%;
}

.test-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ar, 'Cairo'), -apple-system, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
  line-height: 1.25;
  box-sizing: border-box;
  flex-shrink: 0;
  max-width: 100%;
}

.test-title-box .test-code-badge {
  margin-top: 0.35rem;
}

.test-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.test-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: #f8fafc;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.test-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.meta-value {
  color: var(--primary-navy);
  font-weight: 700;
}

/* Test Specs & Footer (Harmonized) */
.test-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin: 1rem 0;
  font-size: 0.85rem;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.spec-label {
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.spec-val {
  color: var(--primary-navy);
  font-weight: 600;
  text-align: end;
}

.spec-val.text-green {
  color: #059669;
  font-weight: 700;
}

.test-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.price-box {
  display: flex;
  align-items: baseline;
}

.price-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-sigma);
  font-family: 'Outfit', 'Cairo', sans-serif;
}

.test-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.test-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.test-price .amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-sigma);
  font-family: 'Outfit', 'Cairo', sans-serif;
}

.test-price .currency {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ==========================================================================
   COMPREHENSIVE PACKAGES SECTION
   ========================================================================== */
.packages-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 10% 10%, rgba(15, 76, 129, 0.03) 0%, transparent 60%),
              #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.package-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 2px 10px rgba(11, 37, 69, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px -4px rgba(11, 37, 69, 0.08);
}

.package-card.popular,
.package-card.featured {
  border: 2px solid var(--accent-coral);
  background: #ffffff;
  box-shadow: 0 10px 32px -5px rgba(255, 90, 95, 0.16);
}

.popular-badge,
.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-coral) 0%, #e0484d 100%);
  color: #ffffff;
  padding: 0.35rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(255, 90, 95, 0.35);
  white-space: nowrap;
}

.package-header {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
}

.package-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.package-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.package-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #f0f7ff;
  color: var(--primary-sigma);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  line-height: 1.25;
}

.package-price-wrap {
  margin: 1rem 0 1.25rem;
  text-align: center;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
}

.current-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy);
  font-family: 'Outfit', 'Cairo', sans-serif;
}

.original-price {
  font-size: 1.05rem;
  text-decoration: line-through;
  color: #94a3b8;
  font-family: 'Outfit', 'Cairo', sans-serif;
}

.package-features-wrap {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.4;
}

.package-cta .btn {
  width: 100%;
}

/* ==========================================================================
   HOME VISIT SECTION (Smart Booking System)
   ========================================================================== */
.home-visit-section {
  padding: 5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.home-visit-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.visit-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.visit-visual-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.visit-float-card {
  position: absolute;
  bottom: 25px;
  right: 25px;
  left: 25px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.visit-float-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.visit-float-card-header svg {
  color: var(--accent-emerald);
}

.visit-float-card h4 {
  font-size: 1rem;
  font-weight: 800;
}

.visit-float-card p {
  font-size: 0.85rem;
  color: var(--text-body);
}

.visit-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
}

.visit-step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-cyan-light);
  color: var(--primary-sigma);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(2, 132, 199, 0.25);
}

.step-info h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.step-info p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ONLINE RESULTS SECTION & DEMO CHECKER
   ========================================================================== */
.results-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #091e3a 0%, #0f4c81 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.results-section .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.results-section .section-title,
.results-section h2, 
.results-section h3, 
.results-section h4 {
  color: #ffffff;
}

.results-section .section-subtitle {
  color: #cbd5e1;
}

.results-wrapper {
  max-width: 920px;
  margin: 0 auto;
}

.results-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.results-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.25rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.form-input {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-size: 1rem;
  background: #ffffff;
  transition: border var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-sigma);
  outline: none;
}

.demo-hint {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-code-btn {
  background: #f1f5f9;
  border: 1px dashed var(--primary-sigma);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--primary-sigma);
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

/* Certified Result Report Preview in Modal / Container */
.medical-report-box {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 2rem;
  background: #ffffff;
  margin-top: 1.5rem;
  display: none;
}

.medical-report-box.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--primary-navy);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.report-patient-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.report-table th {
  background: #f1f5f9;
  color: var(--primary-navy);
  padding: 0.75rem 1rem;
  text-align: right;
  font-weight: 800;
  border-bottom: 2px solid #cbd5e1;
}

body.ltr .report-table th {
  text-align: left;
}

.report-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.badge-normal {
  background: #d1fae5;
  color: #065f46;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.badge-high {
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* ==========================================================================
   BRANCHES LOCATOR (70+ Branches Finder)
   ========================================================================== */
.branches-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.branch-controls {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.branch-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.branch-input {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  font-size: 0.95rem;
}

.branch-input:focus {
  border-color: var(--primary-sigma);
  outline: none;
}

.governorate-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.gov-tab {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.gov-tab:hover,
.gov-tab.active {
  background: var(--primary-sigma);
  color: #ffffff;
  border-color: var(--primary-sigma);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.branch-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.branch-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-sigma);
  box-shadow: var(--shadow-lg);
}

.branch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}

.branch-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  min-width: 0;
  flex: 1;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
}

.status-badge.open-24 {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.regular {
  background: #e0f2fe;
  color: #0369a1;
}

.branch-address {
  font-size: 0.875rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.branch-hours {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.branch-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   ACCREDITATIONS & INSURANCE PARTNERS
   ========================================================================== */
.accreditations-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.trust-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-smooth);
}

.trust-card:hover {
  background: #ffffff;
  border-color: var(--primary-sigma);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.trust-icon-box {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: var(--accent-cyan-light);
  color: var(--primary-sigma);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.insurance-marquee-box {
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
}

.insurance-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.insurance-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.insurance-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.partner-logo-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.partner-logo-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary-sigma);
  color: var(--accent-coral);
}

/* ==========================================================================
   SEO MEDICAL BLOG & FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-sigma);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  text-align: right;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-navy);
}

body.ltr .faq-question {
  text-align: left;
}

.faq-icon-arrow {
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.articles-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article-card-mini {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.article-card-mini:hover {
  border-color: var(--primary-sigma);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.article-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  padding: 4.5rem 0 2rem;
  font-size: 0.925rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h3 {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-bright);
}

body.ltr .footer-col h3::after {
  right: auto;
  left: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

body.ltr .footer-links a:hover {
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #cbd5e1;
}

.footer-contact-item svg {
  color: var(--accent-coral);
}

.footer-hotline-banner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-top: 0.75rem;
}

.footer-hotline-number {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-family: 'Outfit', 'Cairo', sans-serif !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  display: block !important;
  line-height: 1.3 !important;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (Hotline & WhatsApp)
   ========================================================================== */
.floating-actions-wrap,
.floating-actions-container {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
}

body.ltr .floating-actions-wrap,
body.ltr .floating-actions-container {
  left: auto !important;
  right: 24px !important;
}

.float-btn {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  position: relative !important;
}

.float-btn:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

.float-btn.whatsapp {
  background: #25d366 !important;
}

.float-btn.hotline {
  background: var(--primary-sigma) !important;
}

.float-btn.visit {
  display: none !important;
}

.float-tooltip {
  display: none !important;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
}

/* ==========================================================================
   MODALS (Home Visit Wizard, Test Details, Patient Results)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 30, 58, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  background: #f1f5f9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--primary-navy);
}

.modal-body {
  padding: 1.75rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-lead {
    margin-inline: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats-row {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }
  
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .package-card.featured {
    transform: none;
  }
  
  .home-visit-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--primary-sigma);
    gap: 0.5rem;
    z-index: 999;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  /* --- Hero Mobile --- */
  .command-center-section {
    min-height: auto;
    padding: 5rem 0 3rem;
  }

  .command-deck-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }

  .command-deck-header {
    flex-direction: column;
    gap: 1.25rem;
  }

  .deck-main-title {
    font-size: 1.65rem;
  }

  .pcc-tabs-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .pcc-tab-text span {
    display: none;
  }

  .pcc-form-inline {
    flex-direction: column;
  }

  .pcc-form-field {
    min-width: 100%;
  }

  /* --- Stats Ribbon Mobile --- */
  .stats-ribbon-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .stat-pill {
    padding: 0.75rem 0.85rem;
    min-height: 76px;
    border-radius: 16px;
    gap: 0.65rem;
  }

  .stat-pill:last-child {
    grid-column: 1 / -1;
  }

  .stat-pill-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .stat-pill .stat-num {
    font-size: 1.35rem;
  }

  .stat-pill .stat-txt {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  /* --- Lifestyle Banner Mobile --- */
  .lifestyle-banner {
    height: 260px;
  }

  .lifestyle-banner-content {
    padding: 0 1.5rem;
  }

  .lifestyle-banner-title {
    font-size: 1.4rem;
  }

  /* --- Tests / General --- */
  .tests-grid {
    grid-template-columns: 1fr;
  }

  .results-form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    display: none;
  }
}

/* ==========================================================================
   MINIMALIST & PROFESSIONAL HEALTHCARE REFINEMENTS
   ========================================================================== */
.hero-clean-tag {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

html[dir="ltr"] .hero-clean-tag {
  right: auto;
  left: 1.25rem;
}

/* Duplicate stats-ribbon styles removed — see new definitions above in CINEMATIC HERO section */

.direct-consultation-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-sigma) 100%);
  color: #ffffff;
  padding: 3.5rem 0;
}

.consultation-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.consultation-box h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.consultation-box p {
  color: #cbd5e1;
  font-size: 1rem;
}

.top-phone-link {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-decoration: none;
  margin: 0 4px;
}

.top-phone-link:hover {
  color: #38bdf8 !important;
}

.top-wa-link {
  color: #22c55e !important;
  font-weight: 700;
  text-decoration: none;
}

.top-accreditation-pill {
  font-size: 0.775rem;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   SERVICES OVERVIEW (3 MINIMALIST CARDS)
   ========================================================================== */
.services-overview-section {
  padding: 4.5rem 0 3.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 37, 69, 0.03);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -4px rgba(11, 37, 69, 0.08);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f0f7ff;
  color: var(--primary-sigma);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(15, 76, 129, 0.1);
  transition: all 0.25s ease;
}

.service-card:nth-child(2) .service-icon-box {
  background: #ecfdf5;
  color: #059669;
  border-color: rgba(5, 150, 105, 0.15);
}

.service-card:nth-child(3) .service-icon-box {
  background: #fffbeb;
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.15);
}

.service-card:hover .service-icon-box {
  transform: scale(1.05);
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.service-content p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-sigma);
  transition: gap 0.2s ease;
}

.service-card:hover .service-link-arrow {
  gap: 0.7rem;
}

/* ==========================================================================
   HOME VISIT HIGHLIGHT SECTION
   ========================================================================== */
.home-visit-highlight {
  padding: 5rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.highlight-image-box {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(11, 37, 69, 0.1);
  border: 1px solid #e2e8f0;
}

.highlight-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.highlight-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.guarantee-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.guarantee-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.guarantee-pill svg {
  flex-shrink: 0;
}

/* ==========================================================================
   WHY SIGMA / QUALITY STANDARDS
   ========================================================================== */
.why-section {
  padding: 5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}

.feature-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(11, 37, 69, 0.06);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.85rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .highlight-img {
    height: 320px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stat-divider {
    display: none;
  }
  .stats-ribbon-inner {
    justify-content: center;
    gap: 1rem;
  }
  .consultation-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .guarantee-pills {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(11, 37, 69, 0.03);
}

.faq-item[open] {
  border-color: var(--primary-sigma);
  box-shadow: 0 6px 18px -3px rgba(0, 86, 145, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--primary-sigma);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

/* ==========================================================================
   HIGH-CONVERTING PRESCRIPTION / WHATSAPP PROMO BOX
   ========================================================================== */
.prescription-promo-wrap {
  margin: 3.5rem auto;
  width: 100%;
  box-sizing: border-box;
}

.rx-promo-card {
  background: linear-gradient(135deg, #0b2545 0%, #005691 100%);
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 14px 34px -4px rgba(11, 37, 69, 0.2);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
}

.rx-promo-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.rx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #7dd3fc;
}

.rx-promo-card h2 {
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: break-word;
}

.rx-promo-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.rx-perks {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.rx-perk-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  font-weight: 600;
}

.rx-actions-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

/* Teaser Cards for Health Packages on Homepage */
.teaser-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.teaser-package-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.03);
  position: relative;
}

.teaser-package-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-sigma);
  box-shadow: 0 10px 24px -3px rgba(0, 86, 145, 0.1);
}

@media (max-width: 992px) {
  .prescription-promo-wrap {
    margin: 2rem auto;
  }
  .rx-promo-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.85rem 1.35rem;
    border-radius: 18px;
  }
  .teaser-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .prescription-promo-wrap {
    margin: 1.5rem auto;
  }
  .rx-promo-card {
    padding: 1.35rem 1rem;
    border-radius: 16px;
    gap: 1.25rem;
  }
  .rx-promo-card h2 {
    font-size: 1.35rem;
    line-height: 1.3;
  }
  .rx-promo-card p {
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
  }
  .rx-actions-box {
    padding: 1.15rem 0.85rem;
  }
  .rx-actions-box .btn {
    font-size: 0.92rem !important;
    padding: 0.75rem 1rem !important;
    width: 100% !important;
  }
  .teaser-packages-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Quick Actions Bar (الشريط السريع لخدمات المريض - منافسة البرج وألفا)
   ========================================================================== */
.quick-actions-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
  position: relative;
  z-index: 800;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  clear: both;
}

.quick-actions-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(10, 25, 47, 0.02);
}

.quick-action-btn:hover {
  background: #ffffff;
  border-color: var(--primary-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.14);
}

.quick-action-btn.quick-action-highlight {
  background: linear-gradient(135deg, rgba(255, 90, 95, 0.05) 0%, rgba(255, 90, 95, 0.01) 100%);
  border-color: rgba(255, 90, 95, 0.25);
}

.quick-action-btn.quick-action-highlight:hover {
  border-color: var(--accent-coral);
  box-shadow: 0 10px 25px -4px rgba(255, 90, 95, 0.22);
}

.quick-action-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1px solid rgba(2, 132, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
  transition: transform 0.25s ease;
}

.quick-action-btn:hover .quick-action-icon {
  transform: scale(1.08);
}

.quick-action-btn.quick-action-highlight .quick-action-icon {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: rgba(255, 90, 95, 0.22);
  box-shadow: 0 2px 8px rgba(255, 90, 95, 0.12);
}

.quick-action-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.quick-action-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
}

.quick-action-text span {
  font-size: 0.775rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.18rem;
}

@media (max-width: 992px) {
  .quick-actions-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 540px) {
  .quick-actions-inner {
    display: flex;
    overflow-x: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
  }
  .quick-actions-inner::-webkit-scrollbar {
    display: none;
  }
  .quick-action-btn {
    flex: 0 0 250px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   NEXT-GEN CLINICAL APP SHELL: CALM FUTURISTIC GLASSMORPHISM (2026)
   Aesthetic: Ethereal Frosted Glass, Bio-Clinical Accents, Eye-Friendly Luminous Tone
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, #f0f6fc 0%, #f7faff 35%, #ffffff 100%);
  color: #1e293b;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* 1. PERSISTENT CLINICAL SIDEBAR (Desktop Sticky / Mobile Drawer) */
.clinical-sidebar {
  width: 280px;
  min-width: 280px;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 950;
  background: #ffffff;
  color: #334155;
  border-inline-end: 1.5px solid rgba(2, 132, 199, 0.14);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 28px rgba(15, 34, 64, 0.05);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              min-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              visibility 0.35s ease,
              border-inline-end-width 0.35s ease;
  will-change: width, transform;
  -webkit-font-smoothing: antialiased;
}

/* Desktop Collapsed Sidebar State */
@media (min-width: 1025px) {
  .app-layout.sidebar-collapsed .clinical-sidebar {
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    border-inline-end-width: 0 !important;
  }
}

.clinical-sidebar::-webkit-scrollbar {
  width: 5px;
}
.clinical-sidebar::-webkit-scrollbar-thumb {
  background: rgba(2, 132, 199, 0.15);
  border-radius: 4px;
}

.sidebar-header {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(2, 132, 199, 0.1);
  background: #ffffff;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.sidebar-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.25));
}

.sidebar-logo-text h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0b2545;
  margin: 0;
  line-height: 1.2;
}

.sidebar-live-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #0284c7;
  font-weight: 700;
  margin-top: 0.2rem;
}

.sidebar-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 132, 199, 0.08);
  color: #0b2545;
  border: 1px solid rgba(2, 132, 199, 0.18);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sidebar-close-btn:hover {
  background: rgba(2, 132, 199, 0.18);
  border-color: #0284c7;
  color: #0284c7;
  transform: scale(1.05);
}

body.rtl .sidebar-collapse-icon {
  transform: rotate(180deg);
}

/* Quick Patient Shortcut Highlight Card */
.sidebar-highlight-box {
  margin: 1rem 1.15rem 0.5rem;
  padding: 0.85rem;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(56, 189, 248, 0.04) 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.18);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.04);
}

.sh-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0b2545;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.sh-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.4rem;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: 10px;
  color: #0b2545;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 34, 64, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sh-btn:hover {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px);
  color: #0284c7;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.14);
}

.sh-btn-coral:hover {
  border-color: #ff4d6d;
  color: #ff4d6d;
  box-shadow: 0 6px 16px rgba(255, 77, 109, 0.18);
}

.sh-icon {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

/* Sidebar Navigation Group */
.sidebar-nav {
  padding: 0.75rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  padding-inline-start: 0.5rem;
}

.s-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  color: #475569;
  font-size: 0.885rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.s-nav-item:hover {
  background: rgba(2, 132, 199, 0.07);
  color: #0284c7;
  transform: translateX(-2px);
}

body.ltr .s-nav-item:hover {
  transform: translateX(2px);
}

.s-nav-item.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.14) 0%, rgba(56, 189, 248, 0.06) 100%);
  border: 1.5px solid rgba(2, 132, 199, 0.3);
  color: #0284c7;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.1);
}

.s-nav-icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}

.s-nav-label {
  flex: 1;
  white-space: nowrap;
}

.s-nav-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
}

.s-badge-save {
  background: rgba(255, 77, 109, 0.12);
  color: #ff4d6d;
  border: 1px solid rgba(255, 77, 109, 0.25);
}

.s-badge-hot {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.s-badge-qr {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid rgba(2, 132, 199, 0.1);
  background: #f8fafc;
}

.sidebar-hotline-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(15, 34, 64, 0.03);
}

.shc-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.shc-badge {
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.shc-phone {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b2545;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.shc-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #25d366;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.shc-wa-btn:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

.sidebar-lang-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-lang-switch {
  font-size: 0.8rem;
  color: #0284c7;
  text-decoration: none;
  font-weight: 700;
}

.iso-chip {
  font-size: 0.68rem;
  color: #64748b;
  border: 1px solid rgba(2, 132, 199, 0.18);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
}

/* 2. MAIN VIEWPORT & TOP COMMAND BAR */
.main-viewport {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow-x: hidden;
}

.top-command-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1.5px solid rgba(2, 132, 199, 0.12);
  box-shadow: 0 4px 20px rgba(15, 34, 64, 0.04);
  padding-top: var(--sat);
  width: 100%;
  box-sizing: border-box;
}

.tcb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.5rem;
  gap: 1rem;
}

.tcb-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1 1 auto;
}

.sidebar-toggle-btn {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: #0284c7;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
  background: rgba(2, 132, 199, 0.15);
  border-color: #0284c7;
  transform: translateY(-1px);
}

.sidebar-toggle-btn.is-collapsed {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

/* Quick Direct Home / Scroll-to-Top Button */
.tcb-home-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: #0284c7;
  height: 38px;
  padding: 0 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.tcb-home-quick-btn:hover {
  background: rgba(2, 132, 199, 0.16);
  border-color: #0284c7;
  color: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18);
}

.tcb-home-quick-btn:active {
  transform: scale(0.95);
}

.tcb-home-quick-btn.is-active-home {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(56, 189, 248, 0.2) 100%);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.tcb-home-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tcb-home-text {
  font-weight: 800;
  white-space: nowrap;
}

@keyframes tcbHomePulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.92); filter: brightness(1.15); }
  100% { transform: scale(1); }
}

.tcb-home-pulse {
  animation: tcbHomePulse 0.4s ease;
}

.tcb-brand-mini {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
}

.tcb-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.tcb-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0b2545;
}

.tcb-ticker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.28);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: #059669;
  font-weight: 700;
  overflow: hidden;
  max-width: 650px;
  flex: 1 1 auto;
  position: relative;
  transition: all 0.25s ease;
}

.tcb-ticker:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.15);
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite;
  flex-shrink: 0;
}

.tcb-ticker-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  mask-image: linear-gradient(90deg, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
}

.tcb-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tcb-marquee 28s linear infinite;
  will-change: transform;
}

html[dir="rtl"] .tcb-ticker-track,
body.rtl .tcb-ticker-track {
  animation-name: tcb-marquee-rtl;
}

.tcb-ticker:hover .tcb-ticker-track {
  animation-play-state: paused;
}

.tcb-ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline-end: 1.5rem;
  flex-shrink: 0;
}

@keyframes tcb-marquee-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

@keyframes tcb-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tcb-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-inline-end: 0.35rem;
}

.tcb-item-icon-3d {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.tcb-item-icon-3d svg {
  vertical-align: middle;
  display: inline-block;
  overflow: visible;
}

.tcb-ticker-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.tcb-ticker-link:hover {
  color: #047857;
  text-decoration: underline;
  opacity: 0.95;
}

.tcb-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tcb-ticker-sep {
  margin: 0 0.5rem;
  opacity: 0.6;
  color: #059669;
  font-weight: 900;
}

.tcb-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.tcb-call-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b2545;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(15, 34, 64, 0.03);
  transition: all 0.2s ease;
}

.tcb-call-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}

.btn-wa-sm {
  background: #25d366;
  color: #fff !important;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.btn-wa-sm:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

.tcb-lang-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0284c7;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(2, 132, 199, 0.25);
  background: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tcb-lang-btn:hover {
  background: rgba(2, 132, 199, 0.08);
  border-color: #0284c7;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
}

/* ==========================================================================
   PATIENT COMMAND CENTER (FUTURISTIC FROSTED GLASS DECK)
   ========================================================================== */
.command-center-section {
  padding: 2.25rem 0 1.5rem;
  background: radial-gradient(circle at 85% 15%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(255, 77, 109, 0.05) 0%, transparent 60%),
              linear-gradient(180deg, #f0f7fc 0%, #fcfdff 100%);
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
  color: #0b2545;
}

.command-deck-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1.5px solid rgba(2, 132, 199, 0.18);
  border-radius: 22px;
  padding: 2rem 2.25rem;
  box-shadow: 0 16px 40px -8px rgba(15, 34, 64, 0.08), 0 0 25px rgba(2, 132, 199, 0.05);
}

.command-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(2, 132, 199, 0.1);
}

.deck-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 0.5px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.deck-main-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0b2545;
  line-height: 1.25;
  margin: 0;
}

.text-cyan-glow {
  color: #0284c7;
  font-size: 1.6rem;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(2, 132, 199, 0.25);
}

.deck-telemetry {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tele-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.15);
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(15, 34, 64, 0.03);
}

.tele-chip strong {
  font-size: 1.15rem;
  font-family: 'Outfit', sans-serif;
  color: #0b2545;
  display: block;
  line-height: 1.1;
}

.tele-chip small {
  font-size: 0.7rem;
  color: #64748b;
  display: block;
  font-weight: 600;
}

.tele-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.tele-dot.green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.tele-dot.cyan { background: #0284c7; box-shadow: 0 0 8px #0284c7; }
.tele-dot.coral { background: #ff4d6d; box-shadow: 0 0 8px #ff4d6d; }

/* 4-Pillar Tabs Navigation */
.pcc-tabs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.pcc-tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(2, 132, 199, 0.14);
  color: #334155;
  cursor: pointer;
  text-align: start;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 34, 64, 0.02);
}

.pcc-tab:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.1);
}

.pcc-tab.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(56, 189, 248, 0.06) 100%);
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.14);
}

.pcc-tab-icon {
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pcc-tab.active .pcc-tab-icon {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.pcc-tab-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.pcc-tab-text span {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
}

/* Tab Panels */
.pcc-panel {
  display: none;
  animation: fadeInPanel 0.3s ease;
}

.pcc-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pcc-search-inner .hero-search-box input {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-size: 1.05rem;
  padding: 1rem 3.25rem 1rem 1.25rem;
  border-radius: 14px;
}

body.ltr .pcc-search-inner .hero-search-box input {
  padding: 1rem 1.25rem 1rem 3.25rem;
}

.pcc-search-inner .hero-search-box input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.pcc-search-inner .hero-search-box input::placeholder,
.hero-search-box input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

.pcc-search-inner .hero-search-icon {
  color: #0284c7;
}

.pcc-search-inner .hero-tag-btn {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.2);
  color: #334155;
}

.pcc-search-inner .hero-tag-btn:hover {
  background: rgba(2, 132, 199, 0.1);
  border-color: #0284c7;
  color: #0284c7;
}

.pcc-form-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) auto;
  gap: 1rem;
  align-items: flex-end;
}

.pcc-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pcc-form-field label {
  font-size: 0.825rem;
  font-weight: 700;
  color: #334155;
}

.pcc-input {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #0f172a;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.pcc-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.pcc-rx-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.pcc-rx-info h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b2545;
  margin-bottom: 0.35rem;
}

.pcc-rx-info p {
  color: #64748b;
  font-size: 0.925rem;
  margin: 0;
}

.pcc-rx-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}



/* ==========================================================================
   FOOTER ACCORDION NAVIGATION (MATCHING SCREENSHOT)
   ========================================================================== */
.footer-accordion-container {
  margin-top: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.footer-accordion-item {
  border-top: 1px solid #e2e8f0;
}

.footer-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  text-align: start;
  transition: color 0.2s ease;
}

.footer-accordion-header:hover {
  color: #0284c7;
}

.f-acc-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.f-acc-indicator {
  font-size: 1.5rem;
  font-weight: 300;
  color: #0284c7;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.footer-accordion-item.active .f-acc-indicator {
  transform: rotate(45deg);
  color: #ff4d6d;
}

.footer-accordion-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.25s ease;
  padding: 0 0;
}

.footer-accordion-item.active .footer-accordion-body {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

.f-acc-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.f-sublink {
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.f-sublink:hover {
  color: #0284c7;
  transform: translateX(-3px);
}

body.ltr .f-sublink:hover {
  transform: translateX(3px);
}

.newsletter-inner-box {
  padding: 0.5rem 0 1rem;
}

.newsletter-subtext {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.nl-input-group {
  display: flex;
  gap: 0.5rem;
  max-width: 500px;
}

.nl-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.25rem;
  color: #0f172a;
  font-size: 0.9rem;
}

.nl-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.nl-feedback {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #10b981;
}

/* Footer Top Grid */
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.footer-brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 0.78rem;
  color: #0284c7;
  font-weight: 600;
  display: block;
}

.footer-desc {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-accred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.accred-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.footer-hotline-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.fhc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.fhc-pulse-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: #10b981;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.fhc-phone {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #0284c7;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.fhc-caption {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.fhc-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-wa-footer {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-email-footer {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155 !important;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}

/* ==========================================================================
/* ==========================================================================
   MODERN 3D & VECTOR MEDICAL ICONS (Zero Outdated Emojis)
   ========================================================================== */
.med-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
}

.sh-btn:hover .med-icon {
  transform: translateY(-2px) scale(1.1);
}

.s-nav-item:hover .med-icon {
  transform: scale(1.12);
}

.pcc-tab:hover .med-icon {
  transform: scale(1.15) translateY(-1px);
}

.hero-tag-btn:hover .med-icon {
  transform: scale(1.15);
}

/* ==========================================================================
   UNIFIED FLOATING ACTION CLUSTER (WHATSAPP LOGO + 3D ROBOT DOCTOR)
   ========================================================================== */
.sigma-agent-root {
  position: fixed;
  bottom: 24px;
  z-index: 995;
  font-family: inherit;
}

body.rtl .sigma-agent-root {
  left: 24px;
  right: auto;
}

body.ltr .sigma-agent-root,
body:not(.rtl) .sigma-agent-root {
  right: 24px;
  left: auto;
}

/* Unified Side-by-Side Floating Actions Dock */
.sigma-floating-dock {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* 1. Official WhatsApp Floating Button (Mark ONLY - Zero outer circle wrapper) */
.sigma-wa-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 6px 14px rgba(37, 211, 102, 0.42));
}

.sigma-wa-float:hover {
  transform: scale(1.12) translateY(-2px);
  filter: drop-shadow(0 10px 22px rgba(37, 211, 102, 0.65));
}

.wa-logo-svg {
  width: 54px;
  height: 54px;
  display: block;
  overflow: visible;
}

.wa-float-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #0b2545;
  color: #34d399;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.38rem;
  border-radius: 9999px;
  border: 1.5px solid #25d366;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* 2. Floating Speech Bubble */
.sigma-speech-bubble {
  position: fixed !important;
  bottom: 88px !important;
  width: 290px !important;
  max-width: calc(100vw - 48px) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1.5px solid rgba(0, 229, 255, 0.35) !important;
  border-radius: 18px !important;
  padding: 0.95rem 1rem !important;
  box-shadow: 0 12px 32px rgba(15, 34, 64, 0.18), 0 0 15px rgba(0, 229, 255, 0.15) !important;
  animation: bubbleFloat 4s ease-in-out infinite !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  z-index: 9998 !important;
}

body.rtl .sigma-speech-bubble {
  left: 24px !important;
  right: auto !important;
}

body.ltr .sigma-speech-bubble,
body:not(.rtl) .sigma-speech-bubble {
  right: 24px !important;
  left: auto !important;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.bubble-close-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
}

body.rtl .bubble-close-btn {
  right: auto;
  left: 8px;
}

.bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.bubble-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
}

.bubble-live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.bubble-text {
  font-size: 0.85rem;
  color: #1e293b;
  line-height: 1.45;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.bubble-cta {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ff4d6d;
}

/* 2. Mascot Container & Pedestal Aura */
.sigma-mascot-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}

.sigma-pedestal-aura {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.4) 0%, rgba(56, 189, 248, 0) 70%);
  animation: auraPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

.sigma-pedestal-ring {
  position: absolute;
  width: 66px;
  height: 22px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid rgba(2, 132, 199, 0.45);
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.5);
  pointer-events: none;
}

@keyframes auraPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

.sigma-mascot-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b2545 0%, #005691 100%);
  border: 2.5px solid #00e5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  overflow: visible;
  animation: mascotFloat 3.5s ease-in-out infinite;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.sigma-mascot-trigger:hover {
  transform: scale(1.1) translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(0, 229, 255, 0.7) !important;
}

.sigma-mascot-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.sigma-robot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.mascot-status-tag {
  position: absolute;
  bottom: -18px;
  background: rgba(11, 37, 69, 0.96);
  color: #38bdf8;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
  border: 1px solid rgba(0, 229, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 6px #00e5ff;
}

.mascot-mode-toggle {
  display: none !important;
}

/* 3. Glassmorphic Unified Chat Window */
.sigma-chat-window {
  position: fixed !important;
  bottom: 88px !important;
  width: 380px !important;
  max-width: calc(100vw - 32px) !important;
  height: 560px !important;
  max-height: calc(100vh - 110px) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(25px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(190%) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.25) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 50px rgba(15, 34, 64, 0.22), 0 0 30px rgba(2, 132, 199, 0.15) !important;
  display: none;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 10000 !important;
  box-sizing: border-box !important;
}

.sigma-chat-window.is-open {
  display: flex !important;
  animation: chatSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* RTL (Arabic): Bottom-LEFT of the screen, perfectly inside the viewport */
body.rtl .sigma-chat-window,
html[dir="rtl"] .sigma-chat-window {
  left: 24px !important;
  right: auto !important;
}

/* LTR (English): Bottom-RIGHT of the screen */
body.ltr .sigma-chat-window,
html[dir="ltr"] .sigma-chat-window,
body:not(.rtl) .sigma-chat-window {
  right: 24px !important;
  left: auto !important;
}

@keyframes chatSlideIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.scw-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #0b2545 0%, #005691 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scw-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scw-avatar-wrap {
  position: relative;
}

.scw-avatar-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
}

.scw-online-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0b2545;
}

.scw-name {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.scw-status-sub {
  font-size: 0.7rem;
  color: #38bdf8;
  font-weight: 600;
}

.scw-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scw-chips-bar {
  display: flex;
  overflow-x: auto;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: rgba(240, 246, 252, 0.8);
  border-bottom: 1px solid rgba(2, 132, 199, 0.1);
  scrollbar-width: none;
}
.scw-chips-bar::-webkit-scrollbar { display: none; }

.scw-chip {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(15, 34, 64, 0.04);
  transition: all 0.2s ease;
}

.scw-chip:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
}

.scw-chip.chip-coral {
  border-color: rgba(255, 77, 109, 0.3);
  color: #ff4d6d;
}

.scw-chip.chip-coral:hover {
  background: #ff4d6d;
  color: #ffffff;
}

.scw-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.scw-body::-webkit-scrollbar {
  width: 5px;
}
.scw-body::-webkit-scrollbar-thumb {
  background: rgba(2, 132, 199, 0.15);
  border-radius: 4px;
}

.scw-msg-row {
  display: flex;
  flex-direction: column;
}

.msg-incoming { align-items: flex-start; }
body.rtl .msg-incoming { align-items: flex-start; }

.msg-outgoing { align-items: flex-end; }
body.rtl .msg-outgoing { align-items: flex-end; }

.scw-bubble {
  max-width: 86%;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(15, 34, 64, 0.04);
}

.msg-incoming .scw-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-bottom-left-radius: 4px;
}

body.rtl .msg-incoming .scw-bubble {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 4px;
}

.msg-outgoing .scw-bubble {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

body.rtl .msg-outgoing .scw-bubble {
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 4px;
}

.scw-time {
  display: block;
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 0.35rem;
  text-align: end;
}

.scw-typing {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  color: #64748b;
  font-size: 0.75rem;
}
.scw-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.scw-typing span:nth-child(1) { animation-delay: -0.32s; }
.scw-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.scw-input-bar {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  border-top: 1px solid rgba(2, 132, 199, 0.14);
  gap: 0.5rem;
}

.scw-input {
  flex: 1;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 0.875rem;
  color: #0f172a;
}

.scw-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.scw-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.scw-send-btn:hover {
  transform: scale(1.05);
}

.scw-footer-note {
  padding: 0.45rem 1rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.scw-direct-wa {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  text-decoration: none;
}
.scw-direct-wa:hover { text-decoration: underline; }

/* Responsive Adjustments (Desktop, iPad, iPhone, Android, PWA/App Shell) */
@media (max-width: 1024px) {
  .clinical-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 86vw);
    min-width: unset;
    z-index: 1100;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-font-smoothing: antialiased;
  }
  body.rtl .clinical-sidebar {
    right: 0;
    left: auto;
    transform: translateX(100%);
  }
  body.ltr .clinical-sidebar,
  body:not(.rtl) .clinical-sidebar {
    left: 0;
    right: auto;
    transform: translateX(-100%);
  }
  .clinical-sidebar.sidebar-open {
    transform: translateX(0) !important;
  }
  body.drawer-open {
    overflow: hidden !important;
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 69, 0.6);
    z-index: 1050;
    transition: opacity 0.3s ease;
  }
  .sidebar-backdrop.active {
    display: block;
    animation: fadeInBackdrop 0.25s ease;
  }
  .tcb-brand-mini {
    display: none;
  }
  .tcb-ticker {
    display: flex;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .tcb-brand-mini {
    display: flex;
  }
  .tcb-ticker {
    display: none;
  }
}

/* Tablet & iPad (769px - 1024px) Specific Clean Spacing */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .teaser-packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .pcc-tabs-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .command-deck-card {
    padding: 2rem 1.75rem !important;
  }
}

/* Mobile Devices: iPhone (All Models), Android Phones (<= 768px) */
@media (max-width: 768px) {
  .top-command-bar {
    padding-top: max(0.4rem, var(--sat)) !important;
  }
  .tcb-inner {
    padding: 0.45rem 0.75rem !important;
    gap: 0.35rem !important;
  }
  .tcb-left {
    gap: 0.4rem !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  .tcb-actions {
    gap: 0.3rem !important;
    flex-shrink: 0 !important;
  }
  .tcb-hide-sm {
    display: none !important;
  }
  .tcb-hide-xs {
    display: none !important;
  }
  .tcb-call-btn,
  .btn-wa-sm {
    padding: 0.4rem 0.55rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
  }
  .tcb-lang-btn {
    padding: 0.38rem 0.55rem !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
  }
  .tcb-title {
    font-size: 0.85rem !important;
    max-width: 95px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .tcb-logo {
    height: 26px !important;
    width: 26px !important;
  }
  .sidebar-toggle-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 9px !important;
  }
  .tcb-home-quick-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 9px !important;
  }
  .tcb-home-text {
    display: none !important;
  }

  /* Floating Dock & Mascot in Mobile (Padded above safe-area Home Indicator) */
  .sigma-agent-root {
    bottom: max(16px, calc(var(--sab) + 12px)) !important;
  }
  body.rtl .sigma-agent-root {
    left: max(12px, var(--sal)) !important;
    right: auto !important;
  }
  body.ltr .sigma-agent-root,
  body:not(.rtl) .sigma-agent-root {
    right: max(12px, var(--sar)) !important;
    left: auto !important;
  }
  .sigma-speech-bubble {
    display: none !important; /* Hide intrusive speech bubble on mobile to keep viewport clean */
  }
  .sigma-floating-dock {
    gap: 10px !important;
  }
  .sigma-wa-float {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
  }
  .sigma-wa-float svg {
    width: 46px !important;
    height: 46px !important;
  }
  .sigma-mascot-container {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
  }
  .sigma-mascot-trigger {
    width: 48px !important;
    height: 48px !important;
  }
  .sigma-mascot-avatar {
    width: 42px !important;
    height: 42px !important;
  }
  .sigma-mascot-status-chip {
    display: none !important;
  }

  /* Native Mobile Bottom-Sheet Style for Dr. Sigma AI Chat */
  .sigma-chat-window {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 90vh !important;
    height: 90dvh !important;
    max-height: none !important;
    border-radius: 24px 24px 0 0 !important;
    margin: 0 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35) !important;
    z-index: 10000 !important;
  }

  /* Command Center Deck Mobile */
  .command-center-section {
    padding: 1.25rem 0 1rem;
  }
  .command-deck-card {
    padding: 1.15rem 0.85rem;
    border-radius: 18px;
  }
  .deck-main-title {
    font-size: 1.35rem;
  }
  .text-cyan-glow {
    font-size: 1.12rem;
  }
  .pcc-tabs-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem;
  }
  .pcc-tab {
    padding: 0.65rem 0.5rem;
    border-radius: 12px;
  }
  .pcc-tab-text strong,
  .pcc-tab-title {
    font-size: 0.82rem;
    line-height: 1.25;
  }
  .pcc-tab-text span,
  .pcc-tab-desc {
    font-size: 0.68rem;
    line-height: 1.2;
  }
  .pcc-form-inline {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .deck-telemetry {
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem;
  }
  .tele-chip {
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
  }
  .tele-chip strong {
    font-size: 0.95rem;
  }
  .tele-chip small {
    font-size: 0.65rem;
  }
  .hero-quick-tags {
    gap: 0.35rem;
  }
  .hero-tag-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.55rem;
  }
}

/* Small Screens / Compact Android (<= 480px) */
@media (max-width: 480px) {
  .command-center-section {
    padding: 1rem 0 0.75rem !important;
  }
  .command-deck-card {
    padding: 1rem 0.75rem !important;
    border-radius: 16px !important;
  }
  .deck-main-title {
    font-size: 1.2rem !important;
  }
  .pcc-tabs-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem !important;
  }
  .pcc-tab {
    padding: 0.55rem 0.4rem !important;
    gap: 0.35rem !important;
    border-radius: 10px !important;
  }
  .pcc-tab-text strong,
  .pcc-tab-title {
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
  }
  .pcc-tab-text span,
  .pcc-tab-desc {
    font-size: 0.65rem !important;
    line-height: 1.15 !important;
  }
  .pcc-tab-icon {
    font-size: 1rem !important;
  }
  .hero-blob-1,
  .hero-blob-2 {
    width: 220px !important;
    height: 220px !important;
  }
  .section-title {
    font-size: 1.45rem !important;
  }
  .section-subtitle {
    font-size: 0.9rem !important;
  }
}

@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}




