/* ==========================================================================
   YMC GROUP & YAHYA MRI CENTER - MODERN GRAPHICAL LITE THEMED STYLESHEET
   Brand Colors: Emerald Green (#008751), Crimson Red (#E52329), Azure Blue (#0077C8)
   ========================================================================== */

:root {
  /* Brand Palette from YMC Logo */
  --ymc-green: #008751;
  --ymc-green-light: #e6f7ef;
  --ymc-green-hover: #006f42;
  --ymc-green-glow: rgba(0, 135, 81, 0.25);

  --ymc-red: #E52329;
  --ymc-red-light: #fdeded;
  --ymc-red-hover: #c91b21;
  --ymc-red-glow: rgba(229, 35, 41, 0.25);

  --ymc-blue: #0077C8;
  --ymc-blue-light: #e6f3fb;
  --ymc-blue-hover: #0060a3;
  --ymc-blue-glow: rgba(0, 119, 200, 0.25);

  --ymc-dark: #0f172a;
  --ymc-dark-soft: #1e293b;
  --ymc-slate: #475569;
  --ymc-muted: #64748b;
  --ymc-border: #e2e8f0;
  --ymc-border-light: #f1f5f9;

  /* Lite Backgrounds */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.94);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow-red: 0 10px 30px -5px rgba(229, 35, 41, 0.3);
  --shadow-glow-green: 0 10px 30px -5px rgba(0, 135, 81, 0.3);
  --shadow-glow-blue: 0 10px 30px -5px rgba(0, 119, 200, 0.3);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--ymc-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 135, 81, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 119, 200, 0.05) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(229, 35, 41, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 78px;
  }
}

/* Graphical Background Mesh Pattern */
.bg-mesh-pattern {
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ymc-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Top Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, var(--ymc-blue) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  position: relative;
  z-index: 60;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.announcement-bar.mri-theme {
  background: linear-gradient(90deg, #b91c1c 0%, var(--ymc-red) 50%, var(--ymc-blue) 100%);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.announcement-badge {
  background: #ffffff;
  color: var(--ymc-red);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.announcement-badge.green {
  color: var(--ymc-green);
}

.announcement-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8rem;
}

.announcement-link {
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.announcement-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

.brand-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.08));
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ymc-dark);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-title span.group {
  color: var(--ymc-green);
}

.brand-title span.mri-tag {
  color: var(--ymc-red);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ymc-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav links */
.nav-menu {
  display: none;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-item-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ymc-dark-soft);
  padding: 0.5rem 0.2rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--ymc-green);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-item-link:hover {
  color: var(--ymc-green);
}

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

.nav-item-link.mri-pill-link {
  background: var(--ymc-red-light);
  color: var(--ymc-red);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  border: 1px solid rgba(229, 35, 41, 0.2);
}

.nav-item-link.mri-pill-link:hover {
  background: var(--ymc-red);
  color: #ffffff;
}

.nav-item-link.mri-pill-link::after {
  display: none;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-family: var(--font-sans);
  line-height: 1;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  height: 36px;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1.02rem;
  height: 48px;
}

/* Buttons Variants */
.btn-mri {
  background: linear-gradient(135deg, #e52329 0%, #c91b21 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(229, 35, 41, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-mri:hover {
  background: linear-gradient(135deg, #d3181e 0%, #b31015 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 35, 41, 0.45);
}

.btn-green {
  background: linear-gradient(135deg, var(--ymc-green) 0%, #006b40 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 135, 81, 0.35);
}

.btn-green:hover {
  background: linear-gradient(135deg, #007647 0%, #005634 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 135, 81, 0.45);
}

.btn-blue {
  background: linear-gradient(135deg, var(--ymc-blue) 0%, #005b99 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 119, 200, 0.35);
}

.btn-blue:hover {
  background: linear-gradient(135deg, #0067ad 0%, #004d80 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 119, 200, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: var(--ymc-dark);
  border: 1.5px solid var(--ymc-border);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--ymc-muted);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: #ffffff;
  color: var(--ymc-red);
  border: 1.5px solid var(--ymc-red);
}
.btn-outline-red:hover {
  background: var(--ymc-red-light);
  transform: translateY(-2px);
}

.btn-outline-green {
  background: #ffffff;
  color: var(--ymc-green);
  border: 1.5px solid var(--ymc-green);
}
.btn-outline-green:hover {
  background: var(--ymc-green-light);
  transform: translateY(-2px);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--ymc-border);
  color: var(--ymc-dark);
  font-size: 1.25rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 100;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 99;
  display: none;
}

.drawer-backdrop.active {
  display: block;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ymc-border);
  margin-bottom: 1.25rem;
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--ymc-slate);
  cursor: pointer;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.drawer-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ymc-dark-soft);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
}

.drawer-link:hover {
  color: var(--ymc-green);
  background: var(--ymc-green-light);
}

.drawer-link.priority {
  color: var(--ymc-red);
  background: var(--ymc-red-light);
}

/* ==========================================================================
   HERO SECTION (FOR GROUP PORTAL)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--ymc-border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ymc-dark-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-pill-badge {
  background: var(--ymc-green);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-heading {
  font-size: 2.35rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3.15rem;
  }
}

.text-gradient-ymc {
  background: linear-gradient(135deg, var(--ymc-green) 0%, var(--ymc-blue) 50%, var(--ymc-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-red {
  background: linear-gradient(135deg, #e52329 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--ymc-slate);
  margin-bottom: 1.75rem;
  max-width: 620px;
  line-height: 1.65;
}

/* Flagship Callout Banner inside Group Hero */
.hero-flagship-box {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 60%, #f0fdf4 100%);
  border: 1.5px solid rgba(229, 35, 41, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 20px rgba(229, 35, 41, 0.08);
  flex-wrap: wrap;
}

.flagship-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.flagship-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--ymc-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow-red);
}

.flagship-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ymc-red);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flagship-sub {
  font-size: 0.85rem;
  color: var(--ymc-dark-soft);
  margin-top: 0.2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

/* Quick Metrics Row */
.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--ymc-border);
  padding-top: 1.75rem;
}

@media (min-width: 640px) {
  .hero-metrics-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ymc-dark);
}

.metric-num.green { color: var(--ymc-green); }
.metric-num.red { color: var(--ymc-red); }
.metric-num.blue { color: var(--ymc-blue); }

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ymc-muted);
  margin-top: 0.25rem;
}

/* Hero Right: Group Divisions Spectrum Showcase */
.group-spectrum-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.group-spectrum-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--ymc-red) 0%, var(--ymc-green) 50%, var(--ymc-blue) 100%);
}

.spectrum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ymc-border);
}

.spectrum-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.spectrum-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.spectrum-items-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.spectrum-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--ymc-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.spectrum-item:hover {
  background: #ffffff;
  border-color: var(--ymc-blue);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.spectrum-item.priority {
  background: #fff8f8;
  border-color: rgba(229, 35, 41, 0.3);
}
.spectrum-item.priority:hover {
  border-color: var(--ymc-red);
}

.spectrum-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.spectrum-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.spectrum-item h5 {
  font-size: 0.88rem;
  color: var(--ymc-dark);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.spectrum-item p {
  font-size: 0.75rem;
  color: var(--ymc-muted);
}

/* ==========================================================================
   FLAGSHIP SHOWCASE BLOCK: YAHYA MRI CENTER (IN ROOT PAGE)
   ========================================================================== */
.flagship-showcase-section {
  padding: 5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--ymc-border);
  border-bottom: 1px solid var(--ymc-border);
}

.flagship-spotlight-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.flagship-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .flagship-spotlight-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.flagship-spotlight-info h3 {
  color: #ffffff;
  font-size: 2.15rem;
  margin-bottom: 0.75rem;
}

.flagship-spotlight-info p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.flagship-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.feature-badge-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.feature-badge-pill i {
  color: #f87171;
}

.flagship-photo-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000000;
}

.flagship-photo-preview img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
}

.flagship-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  color: #ffffff;
}

/* ==========================================================================
   YMC GROUP DIVISIONS SECTION - EQUAL HEIGHT & ALIGNMENT
   ========================================================================== */
.divisions-section {
  padding: 5rem 0;
  position: relative;
}

.divisions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.division-card {
  background: #ffffff;
  border: 1px solid var(--ymc-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.division-card.blue::before { background: var(--ymc-blue); }
.division-card.green::before { background: var(--ymc-green); }
.division-card.purple::before { background: #8b5cf6; }
.division-card.teal::before { background: #0d9488; }
.division-card.red::before { background: var(--ymc-red); }

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.division-card.blue:hover { border-color: var(--ymc-blue); }
.division-card.green:hover { border-color: var(--ymc-green); }
.division-card.purple:hover { border-color: #8b5cf6; }
.division-card.teal:hover { border-color: #0d9488; }
.division-card.red:hover { border-color: var(--ymc-red); }

.division-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.division-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.division-card.blue .division-icon { background: var(--ymc-blue-light); color: var(--ymc-blue); }
.division-card.green .division-icon { background: var(--ymc-green-light); color: var(--ymc-green); }
.division-card.purple .division-icon { background: #f5f3ff; color: #7c3aed; }
.division-card.teal .division-icon { background: #f0fdfa; color: #0d9488; }
.division-card.red .division-icon { background: var(--ymc-red-light); color: var(--ymc-red); }

.division-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.division-card.blue .division-badge { background: var(--ymc-blue-light); color: var(--ymc-blue); }
.division-card.green .division-badge { background: var(--ymc-green-light); color: var(--ymc-green); }
.division-card.purple .division-badge { background: #f5f3ff; color: #7c3aed; }
.division-card.teal .division-badge { background: #f0fdfa; color: #0d9488; }
.division-card.red .division-badge { background: var(--ymc-red-light); color: var(--ymc-red); }

.division-title {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--ymc-dark);
}

.division-desc {
  font-size: 0.95rem;
  color: var(--ymc-slate);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  min-height: 3.5rem;
}

/* Feature tags inside division */
.division-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
  align-items: stretch;
}

@media (min-width: 640px) {
  .division-features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-mini-item {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  height: 100%;
}

.feature-mini-icon {
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.feature-mini-text h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ymc-dark);
  margin-bottom: 0.15rem;
}

.feature-mini-text p {
  font-size: 0.75rem;
  color: var(--ymc-muted);
}

.division-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ymc-border);
  gap: 1rem;
}

.division-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-line {
  font-size: 0.82rem;
  color: var(--ymc-slate);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-line strong {
  color: var(--ymc-dark);
}

.contact-line a:hover {
  color: var(--ymc-blue);
  text-decoration: underline;
}

/* ==========================================================================
   ASSOCIATED COMPANIES NETWORK SECTION - STRICT ALIGNMENT
   ========================================================================== */
.associated-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--ymc-border);
}

.associated-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .associated-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .associated-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .associated-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.associated-card {
  background: var(--bg-surface);
  border: 1px solid var(--ymc-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.associated-card:hover {
  transform: translateY(-4px);
  border-color: var(--ymc-blue);
  box-shadow: var(--shadow-md);
}

.assoc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.assoc-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ymc-dark);
  margin-bottom: 0.35rem;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assoc-sector {
  font-size: 0.75rem;
  color: var(--ymc-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.assoc-phone-btn {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ymc-blue);
  background: var(--ymc-blue-light);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  justify-content: center;
}

.assoc-phone-btn:hover {
  background: var(--ymc-blue);
  color: #ffffff;
}

/* ==========================================================================
   FOUNDER & MD SECTION
   ========================================================================== */
.founder-section {
  padding: 5rem 0;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.founder-card {
  background: #ffffff;
  border: 1px solid var(--ymc-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .founder-card {
    grid-template-columns: 0.75fr 1.25fr;
    padding: 3.5rem;
  }
}

.founder-media-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-avatar-wrap {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--ymc-green) 0%, var(--ymc-blue) 50%, var(--ymc-red) 100%);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.founder-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-avatar-inner img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.founder-title-badge {
  background: var(--ymc-green-light);
  color: var(--ymc-green);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.founder-name {
  font-size: 1.65rem;
  color: var(--ymc-dark);
  margin-bottom: 0.25rem;
}

.founder-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ymc-slate);
}

.founder-bio p {
  font-size: 1.05rem;
  color: var(--ymc-slate);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.founder-quote {
  font-style: italic;
  padding-left: 1.25rem;
  border-left: 3px solid var(--ymc-green);
  color: var(--ymc-dark-soft);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.founder-contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ==========================================================================
   YMC CORE PRINCIPLES - ALIGNED GRID
   ========================================================================== */
.principles-section {
  padding: 4.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--ymc-border);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .principles-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.principle-box {
  background: var(--bg-surface);
  border: 1px solid var(--ymc-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.principle-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ymc-green);
}

.principle-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.principle-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ymc-dark);
  margin-bottom: 0.35rem;
}

.principle-desc {
  font-size: 0.78rem;
  color: var(--ymc-slate);
  flex-grow: 1;
}

/* ==========================================================================
   EXCLUSIVE MRI PORTAL STYLES (/mri/)
   ========================================================================== */
.mri-exclusive-hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.mri-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .mri-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.mri-hero-photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--ymc-border);
  background: #0f172a;
}

.mri-hero-img-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}

.mri-hero-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.mri-hero-photo-card:hover .mri-hero-real-img {
  transform: scale(1.03);
}

.mri-badge-top-left {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--ymc-green);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.mri-badge-top-right {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ymc-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(229, 35, 41, 0.4);
  z-index: 2;
}

.mri-hero-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 70%, transparent 100%);
  color: #ffffff;
  z-index: 2;
}

/* Facility Comfort Spotlight Grid (/mri/) */
.mri-comfort-section {
  padding: 5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--ymc-border);
}

.comfort-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .comfort-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comfort-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .comfort-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comfort-card {
  background: var(--bg-subtle);
  border: 1px solid var(--ymc-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-fast);
}

.comfort-card:hover {
  background: #ffffff;
  border-color: var(--ymc-green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.comfort-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.comfort-card h5 {
  font-size: 0.95rem;
  color: var(--ymc-dark);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.comfort-card p {
  font-size: 0.82rem;
  color: var(--ymc-slate);
  line-height: 1.5;
  margin: 0;
}

/* Scan Cards (/mri/) - Equal Height & Aligned Buttons */
.mri-scans-section {
  padding: 5rem 0;
  background: var(--bg-page);
  border-top: 1px solid var(--ymc-border);
}

.mri-scans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .mri-scans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mri-scans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scan-card {
  background: #ffffff;
  border: 1px solid var(--ymc-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.scan-card:hover {
  border-color: var(--ymc-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.scan-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.scan-emoji-avatar {
  font-size: 2.25rem;
  width: 58px;
  height: 58px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ymc-border-light);
  flex-shrink: 0;
}

.scan-tech-badge {
  background: var(--ymc-red-light);
  color: var(--ymc-red);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.scan-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--ymc-dark);
  min-height: 3rem;
  display: flex;
  align-items: center;
}

.scan-description {
  font-size: 0.88rem;
  color: var(--ymc-slate);
  margin-bottom: 1.25rem;
  min-height: 3.8rem;
  line-height: 1.5;
}

.scan-indications {
  list-style: none;
  font-size: 0.82rem;
  color: var(--ymc-dark-soft);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.scan-indications li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scan-indications li i {
  color: var(--ymc-green);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.scan-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--ymc-border);
  gap: 0.75rem;
}

.study-pricing-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ymc-slate);
  background: var(--bg-subtle);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ymc-border-light);
}

/* Barka Hub Banner Strip */
.mri-hub-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  margin-top: 4rem;
}

.mri-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .mri-hub-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.mri-hub-info h4 {
  color: #ffffff;
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.mri-hub-info p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.mri-hotlines-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.hotline-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.hotline-chip:hover {
  background: var(--ymc-red);
  border-color: var(--ymc-red);
  transform: translateY(-2px);
}

.mri-meta-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.mri-meta-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mri-meta-link:hover {
  color: #38bdf8;
}

.mri-hub-action-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0b1120;
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  position: relative;
  font-size: 0.9rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-contact-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-contact-items li i {
  color: var(--ymc-green);
  margin-top: 0.2rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   MODALS SYSTEM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modal-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.92) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--ymc-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 5;
}

.modal-title-wrap h3 {
  font-size: 1.35rem;
  color: var(--ymc-dark);
}

.modal-title-wrap p {
  font-size: 0.82rem;
  color: var(--ymc-muted);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ymc-border);
  background: var(--bg-subtle);
  color: var(--ymc-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-close-btn:hover {
  background: var(--ymc-red-light);
  color: var(--ymc-red);
}

.modal-body {
  padding: 1.75rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ymc-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--ymc-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ymc-dark);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--ymc-red);
  box-shadow: 0 0 0 3px rgba(229, 35, 41, 0.15);
}

select.form-control {
  cursor: pointer;
}

/* Floating Bottom Action Bar for Mobile */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--ymc-border);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.65rem 1rem;
  z-index: 45;
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-bar-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ymc-slate);
  gap: 0.2rem;
}

.bottom-bar-action.mri-book {
  background: var(--ymc-red);
  color: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  flex-direction: row;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(229, 35, 41, 0.3);
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  pointer-events: none;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--ymc-green);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Hotlines List in Modal */
.modal-hotlines-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-hotline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--ymc-border);
  transition: all var(--transition-fast);
}

.modal-hotline-item:hover {
  background: #ffffff;
  border-color: var(--ymc-blue);
  box-shadow: var(--shadow-sm);
}

.hotline-label-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ymc-dark);
}

.hotline-label-sub {
  font-size: 0.75rem;
  color: var(--ymc-muted);
}
