/* ==========================================================================
   NEXCARE SOLUTION — PROFESSIONAL MEDICAL BILLING & REVENUE CYCLE MANAGEMENT
   ZMED SOLUTIONS HEALTHCARE THEME (CLEAN, HUMAN, ESTABLISHED)
   ========================================================================== */

:root {
  /* ── Zmed Solutions Signature Color Palette ── */
  --blue-900: #1f365c;          /* ZMED Authoritative Medical Navy */
  --blue-800: #172a48;
  --blue-700: #254270;
  --blue-600: #2f528a;
  --blue-100: #eef3f9;          /* Subtle Medical Blue Tint */
  --blue-50:  #f6f9fc;
  
  --gold: #ffb536;              /* ZMED Warm Golden Amber Accent */
  --gold-hover: #f4a215;
  --gold-light: #fff8ee;
  
  --orange: #ffb536;            /* Primary Accent mapped to ZMED Gold */
  --orange-dark: #f4a215;
  --orange-light: #fff8ee;
  
  --text: #222222;              /* ZMED Deep Charcoal (Legible & Human) */
  --text-main: #222222;
  --text-muted: #555555;        /* Clear, High-Contrast Secondary */
  --text-subtle: #777777;
  --muted: #64748b;
  --soft: #f7f7f7;              /* ZMED Standard Off-White Section BG */
  --white: #ffffff;
  --line: #ebebeb;              /* ZMED Crisp Gray Divider */
  --line-focus: #ffb536;
  
  --green: #2e7d32;
  --green-light: #e8f5e9;
  --green-border: #c8e6c9;
  
  /* ── Authentic Corporate Shadows (No AI Neon Glow) ── */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 6px 18px rgba(31, 54, 92, 0.10);
  --shadow-lg: 0 10px 28px rgba(31, 54, 92, 0.12);
  --shadow-xl: 0 16px 36px rgba(31, 54, 92, 0.15);

  /* ── Semantic Mappings ── */
  --primary: #1f365c;
  --primary-hover: #172a48;
  --primary-light: #eef3f9;
  --primary-glow: rgba(31, 54, 92, 0.08);

  --secondary: #ffb536;
  --secondary-light: #fff8ee;
  --secondary-surface: #ffffff;

  --accent-teal: #1f365c;
  --accent-cyan: #2e7d32;
  --accent-blue: #1f365c;
  --accent-orange: #ffb536;
  --accent-orange-hover: #f4a215;
  --accent-red: #d32f2f;
  --accent-magenta: #1f365c;

  /* ── Clean Neutrals ── */
  --bg-main: #ffffff;
  --bg-subtle: #f7f7f7;
  --bg-muted: #f2f2f2;
  --bg-card: #ffffff;
  --border-light: #ebebeb;
  --border-subtle: #f2f2f2;
  --border-glow: rgba(31, 54, 92, 0.08);

  /* ── Layout & Typography (Open Sans Standard) ── */
  --container-max: 1220px;
  --radius-xs: 3px;
  --radius-sm: 4px;             /* ZMED Crisp 4px / 6px radius */
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-full: 999px;
  --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

/* ==========================================================================
   GLOBAL RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Clean body — No robotic scanline overlay */
body::before {
  display: none;
}

/* Typography — Authentic Human Editorial (No Cramped AI Tracking) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--blue-900);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

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

a:hover {
  color: var(--gold-hover);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TOPBAR — ASCEND BPO DEEP NAVY STRIP
   ========================================================================== */
.topbar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1002;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-sep {
  color: rgba(255, 255, 255, 0.35);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-link {
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 650;
  transition: var(--transition);
}

.topbar-link:hover {
  color: var(--orange);
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}

/* ==========================================================================
   BADGES & EYEBROWS (ASCEND BPO STYLE)
   ========================================================================== */
.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 750;
  background: var(--blue-100);
  color: var(--blue-700);
  border: 1px solid #D6E6FF;
}

.badge-pulse::before {
  display: none;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green-light);
  display: inline-block;
}

/* ==========================================================================
   BUTTONS — ZMED SOLUTIONS CORPORATE HEALTHCARE BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  border: 1.5px solid transparent;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--blue-900);
  border: 1.5px solid var(--gold);
  box-shadow: 0 2px 6px rgba(255, 181, 54, 0.3);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--blue-900);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 181, 54, 0.4);
}

.btn-secondary {
  background: var(--blue-900);
  color: #ffffff;
  border: 1.5px solid var(--blue-900);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 54, 92, 0.2);
}

.btn-outline-primary {
  background: var(--white);
  color: var(--blue-900);
  border: 1.5px solid var(--line);
}

.btn-outline-primary:hover {
  border-color: var(--blue-900);
  color: var(--blue-900);
  background: var(--soft);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--blue-800);
  color: var(--white);
  border: 1.5px solid transparent;
}

.btn-dark:hover {
  background: var(--blue-900);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.86rem;
  border-radius: var(--radius-full);
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.auth-tab-btn {
  flex: 1;
  padding: 12px;
  background: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-subtle);
  border-bottom: 3px solid transparent;
  text-align: center;
  transition: var(--transition);
}

.auth-tab-btn.active {
  color: var(--blue-800);
  border-bottom-color: var(--orange);
  background: var(--blue-100);
}

/* ==========================================================================
   OFFER BUTTONS & FLOATING BADGE (ASCEND BPO ORANGE ACCENT)
   ========================================================================== */
.btn-offer {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 750;
  border: 1.5px solid transparent;
  box-shadow: 0 12px 26px rgba(242, 140, 40, 0.25);
  border-radius: var(--radius-full);
}

.btn-offer:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(242, 140, 40, 0.35);
}

.pulse-glow {
  animation: none;
}

.floating-offer-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--orange);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 30px rgba(242, 140, 40, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 0.9rem;
  transition: var(--transition);
}

.floating-offer-badge:hover {
  background: var(--orange-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 36px rgba(242, 140, 40, 0.45);
}

/* ==========================================================================
   CHOICE SELECTOR CARDS
   ========================================================================== */
.offer-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.offer-choice-card {
  border: 1.5px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
}

.offer-choice-card:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

.offer-choice-card.selected {
  border-color: var(--primary);
  background: rgba(2, 132, 199, 0.12);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.2), inset 0 0 20px rgba(2, 132, 199, 0.05);
}

.choice-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.choice-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.choice-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.35;
}

.offer-guarantee-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
}

.offer-guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.portal-link-highlight {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-cyan) !important;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.portal-link-highlight:hover {
  background: rgba(14, 165, 233, 0.2);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.2);
}

.badge-mini {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111827;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 4px;
}

.consult-banner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.consult-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

@media (max-width: 768px) {
  .consult-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.825rem;
  border-bottom: 1px solid #e2e8f0;
  padding: 7px 0;
  backdrop-filter: blur(8px);
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
}

.top-contact-link:hover {
  color: var(--primary);
  text-shadow: none;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portal-link {
  color: #94a3b8;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.portal-link:hover {
  color: var(--accent-teal);
}

.portal-divider {
  opacity: 0.2;
  color: var(--accent-teal);
}

/* ==========================================================================
   HEADER & STICKY NAVIGATION — CLEAN WHITE GLASS
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
  text-shadow: none;
}

.brand-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-icon-wrap {
  filter: drop-shadow(0 2px 8px rgba(31, 54, 92, 0.2));
  transform: scale(1.03);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-family);
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
}

.brand-title .nex {
  color: var(--blue-900);
  text-shadow: none;
}

.brand-title .care {
  color: var(--orange);
  margin-left: 2px;
}

.brand-sub {
  font-family: var(--font-family);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 2.2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-sub .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-900);
  border-radius: var(--radius-xs);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--gold-hover);
  background: var(--soft);
  text-shadow: none;
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mega Menu for Services */
.mega-menu {
  width: 640px;
  left: -120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(2, 132, 199, 0.06);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.dropdown-item-desc {
  font-size: 0.775rem;
  color: var(--text-subtle);
  line-height: 1.35;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  padding: 8px;
  color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION — ASCEND BPO CLEAN THEME
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 54px;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 181, 54, 0.12), transparent 28%),
    radial-gradient(circle at 6% 22%, rgba(31, 54, 92, 0.05), transparent 32%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
  border-bottom: 1px solid var(--line);
}

.hero-glow-1,
.hero-glow-2 {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 16px 0 18px;
  color: var(--blue-900);
  font-family: var(--font-family) !important;
}

.hero-title .highlight-navy,
.hero-title span {
  color: var(--blue-900);
}

.hero-desc.lead,
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.65;
  max-width: 600px;
}

/* Zmed Style Value Checklist */
.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.checklist-item .check-icon {
  color: var(--blue-900);
  background: var(--gold);
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* Corporate Proof Metrics Row */
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
  max-width: 680px;
}

.proof {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.proof strong {
  display: block;
  color: var(--blue-900);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.proof small {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.76rem;
  margin-top: 3px;
  display: block;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--gold);
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

/* ==========================================================================
   ROW 0: 4 VALUE PILLARS (ZMED SIGNATURE SECTION)
   ========================================================================== */
.pillars-section {
  padding: 44px 0 52px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(31, 54, 92, 0.25);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-light);
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 181, 54, 0.4);
}

.pillar-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   ROW 1: WELCOME & ABOUT SECTION (ZMED SIGNATURE SECTION)
   ========================================================================== */
.about-section {
  padding: 84px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.about-content {
  position: relative;
}

.about-text {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-quote-box {
  background: var(--soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-top: 24px;
}

.quote-text {
  font-size: 0.96rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 8px;
}

.quote-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-feature-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
}

.about-feature-box:hover {
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.feature-box-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.about-feature-box:hover .feature-box-icon {
  background: var(--blue-900);
  color: var(--gold);
  border-color: var(--blue-900);
}

.feature-box-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
  line-height: 1.35;
}

.feature-box-desc {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==========================================================================
   ROW 2: CALLOUT STRIP BANNER (ZMED SIGNATURE CALLOUT)
   ========================================================================== */
.consult-callout-strip {
  background: var(--blue-900);
  color: var(--white);
  padding: 44px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.callout-strip-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.callout-strip-text {
  max-width: 780px;
}

.callout-strip-badge {
  display: inline-block;
  background: rgba(255, 181, 54, 0.2);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 181, 54, 0.35);
}

.callout-strip-title {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.callout-strip-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.94rem;
  line-height: 1.55;
}

.callout-strip-action {
  flex-shrink: 0;
}

/* Hero Visual / Doctor Showcase */
.hero-visual {
  position: relative;
}

.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #C9D9F2;
}

.dashboard-card::after {
  display: none;
}

.dashboard-header {
  background: var(--soft);
  color: var(--text-main);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 750;
  color: var(--blue-800);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green-light);
}

.dashboard-body {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.metric-box {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-align: center;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--blue-800);
  line-height: 1.15;
  font-family: var(--font-family) !important;
}

.metric-name {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

/* ==========================================================================
   STATS COUNTER STRIP — ASCEND BPO LIGHT THEME
   ========================================================================== */
.stats-section {
  background: var(--soft);
  color: var(--text-main);
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.stats-section::before {
  display: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  border-right: 1px solid var(--line);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 850;
  color: var(--blue-800);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
  font-family: var(--font-family) !important;
}

.stat-number span {
  color: var(--orange);
  text-shadow: none;
}

.stat-desc {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 650;
}

/* ==========================================================================
   SECTION HEADER (ASCEND BPO CLEAN STYLE)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.section-subtitle {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blue-900);
  margin-bottom: 14px;
  font-family: var(--font-family) !important;
  line-height: 1.25;
}

.section-divider-bar {
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  margin: 0 auto 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   AI AGENTS SUITE (INTERACTIVE SHOWCASE)
   ========================================================================== */
.agents-section {
  padding: 90px 0;
  background: var(--bg-subtle);
  position: relative;
}

.agent-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.agent-tab-btn, .workflow-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--glass-bg);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.agent-tab-btn:hover, .workflow-step-btn:hover {
  background: #eff6ff;
  color: var(--primary);
  border-color: rgba(2, 132, 199, 0.3);
}

.agent-tab-btn.active, .workflow-step-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-neon-purple);
  border-color: transparent;
}

.agent-showcase-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.agent-info-pane {
  padding: 44px;
}

.agent-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.agent-code-badge {
  background: rgba(2, 132, 199, 0.12);
  color: var(--accent-teal);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.agent-name {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.agent-tagline {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.agent-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.agent-features-list {
  list-style: none;
  margin-bottom: 28px;
}

.agent-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.agent-features-list li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Agent Interactive Console — Sci-Fi Terminal */
.agent-console-pane {
  background: #0f172a;
  color: #ffffff;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  position: relative;
  overflow: hidden;
}

/* Console scanline */
.agent-console-pane::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(2, 132, 199, 0.02) 2px,
    rgba(2, 132, 199, 0.02) 4px
  );
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(2, 132, 199, 0.1);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #f43f5e; box-shadow: 0 0 6px rgba(244, 63, 94, 0.5); }
.dot-yellow { background: #fbbf24; box-shadow: 0 0 6px rgba(251, 191, 36, 0.5); }
.dot-green { background: #0ea5e9; box-shadow: 0 0 6px rgba(14, 165, 233, 0.5); }

.console-terminal-body {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.log-line {
  margin-bottom: 8px;
}

.log-highlight {
  color: var(--accent-teal);
  text-shadow: 0 0 6px rgba(2, 132, 199, 0.3);
}

.log-success {
  color: var(--accent-cyan);
  text-shadow: 0 0 6px rgba(14, 165, 233, 0.3);
}

.agent-metrics-row {
  background: rgba(2, 132, 199, 0.04);
  border: 1px solid rgba(2, 132, 199, 0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.agent-m-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: none;
}

.agent-m-label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
}

/* ==========================================================================
   ROI REVENUE RECOVERY CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 100%);
  color: var(--text-main);
  position: relative;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-inputs-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

/* Top glow line */
.calc-inputs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.calc-group {
  margin-bottom: 24px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-val-display {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: none;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.calc-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
}

.calc-select option {
  background: #ffffff;
  color: var(--text-main);
}

.calc-results-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--glass-border);
}

.calc-result-box {
  background: var(--blue-100);
  border: 1.5px solid rgba(18, 59, 115, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.calc-result-title {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--blue-800);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.calc-result-number {
  font-size: 3.2rem;
  font-weight: 850;
  color: var(--blue-900);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-shadow: none;
  font-family: var(--font-family);
}

.calc-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.breakdown-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}

.breakdown-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.breakdown-val {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--blue-900);
}

/* ==========================================================================
   SERVICES GRID — 3D GLASS CARDS
   ========================================================================== */
.services-section {
  padding: 88px 0;
  background: var(--white);
  position: relative;
}

.section-divider-bar {
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  margin: 14px auto 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card-featured {
  text-align: center;
  align-items: center;
  padding: 36px 24px 30px;
}

.service-img-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 22px;
  padding: 4px;
  background: var(--blue-100);
  border: 2px solid var(--line);
  box-shadow: 0 8px 24px rgba(7, 30, 65, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.service-card:hover .service-img-wrap {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 12px 30px rgba(7, 30, 65, 0.14);
}

.service-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #f1f5f9;
  transition: transform 0.4s ease;
}

.service-card:hover .service-circle-img {
  transform: scale(1.04);
}

.service-card-featured .service-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 12px;
  line-height: 1.35;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}

.service-card-featured .service-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-card-featured .service-link {
  background: var(--blue-100);
  border: 1px solid rgba(31, 54, 92, 0.15);
  color: var(--blue-900);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.service-card-featured:hover .service-link {
  background: var(--gold);
  color: var(--blue-900);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(255, 181, 54, 0.35);
  transform: translateY(-2px);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 30, 65, 0.18);
  box-shadow: var(--shadow-hover);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid rgba(18, 59, 115, 0.15);
}

.service-card:hover .service-icon-box {
  background: var(--blue-800);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(7, 30, 65, 0.2);
  border-color: transparent;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features-mini {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 20px;
}

.service-features-mini li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 8px;
}

.service-features-mini li svg {
  color: var(--green);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-800);
  transition: all 0.25s ease;
}

.service-link:hover {
  gap: 10px;
  color: var(--orange);
}

/* ==========================================================================
   SPECIALTIES SECTION
   ========================================================================== */
.specialties-section {
  padding: 88px 0;
  background: var(--soft);
  position: relative;
}

.specialty-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.specialty-filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 650;
  transition: var(--transition);
  border: 1px solid var(--line);
  cursor: pointer;
}

.specialty-filter-btn:hover {
  background: var(--blue-100);
  color: var(--blue-900);
  border-color: rgba(7, 30, 65, 0.18);
}

.specialty-filter-btn.active {
  background: var(--blue-900);
  color: #ffffff;
  border-color: var(--blue-900);
  box-shadow: 0 4px 14px rgba(7, 30, 65, 0.18);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.specialty-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specialty-card:hover {
  background: #ffffff;
  border-color: rgba(7, 30, 65, 0.2);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.specialty-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(18, 59, 115, 0.15);
}

.specialty-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.specialty-highlight {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   EMR SECTION
   ========================================================================== */
.emr-section {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.emr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.emr-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.emr-card:hover {
  border-color: rgba(7, 30, 65, 0.2);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  background: var(--white);
}

.emr-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.emr-badge-status {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--blue-800);
  background: var(--blue-100);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(18, 59, 115, 0.15);
}

/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */
.case-studies-section {
  padding: 88px 0;
  background: var(--soft);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: rgba(7, 30, 65, 0.2);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.case-banner {
  background: var(--blue-100);
  color: var(--blue-900);
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.case-client-type {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.case-client-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.25;
}

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-section-block {
  margin-bottom: 16px;
}

.case-block-label {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--blue-800);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.case-block-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.case-metrics-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--soft);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: auto;
  border: 1px solid var(--line);
}

.case-stat-num {
  font-size: 1.3rem;
  font-weight: 850;
  color: var(--blue-900);
  text-shadow: none;
}

.case-stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   ONBOARDING TIMELINE — 3D STEPS
   ========================================================================== */
.onboarding-section {
  padding: 88px 0;
  background: var(--white);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.timeline-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.timeline-step {
  background: var(--soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.timeline-step:hover {
  border-color: rgba(7, 30, 65, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  background: var(--white);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-weight: 850;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(242, 140, 40, 0.35);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   COMPLETE MEDICAL BILLING CYCLE (9-STAGE WORKFLOW)
   ========================================================================== */
.billing-cycle-strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cycle-strip-header {
  max-width: 680px;
  margin: 0 auto 24px;
}

.cycle-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-100);
  color: var(--blue-800);
  border: 1px solid rgba(18, 59, 115, 0.15);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(242, 140, 40, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 140, 40, 0);
  }
}

.cycle-strip-title {
  font-size: 1.4rem;
  font-weight: 850;
  color: var(--blue-900);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cycle-strip-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cycle-flow-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cycle-pill {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cycle-pill:hover,
.cycle-pill.active {
  background: var(--blue-100);
  color: var(--blue-900);
  border-color: rgba(7, 30, 65, 0.2);
}

.cycle-arrow {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.95rem;
}

/* 9-Grid Cards */
.billing-cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.cycle-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.cycle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(31, 54, 92, 0.25);
}

.cycle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-900), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 3px 3px;
}

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

.cycle-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cycle-step-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--blue-900);
  background: var(--gold-light);
  border: 1px solid rgba(255, 181, 54, 0.4);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
}

.cycle-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-900);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.cycle-card:hover .cycle-icon-box {
  transform: scale(1.06);
  background: var(--blue-900);
  color: var(--gold);
  border-color: var(--blue-900);
}

.cycle-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.cycle-card-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.cycle-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.cycle-card-metric {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.cycle-card-metric .metric-label {
  color: var(--text-muted);
  font-weight: 600;
}

.cycle-card-metric .metric-value {
  color: var(--green);
  font-weight: 700;
}

/* Quick Action Callout in Billing Cycle */
.cycle-cta-strip {
  background: var(--blue-900);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
  padding: 32px 36px;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

.cycle-cta-text h4 {
  font-size: 1.35rem;
  font-weight: 850;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cycle-cta-text p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.cycle-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cycle-cta-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.cycle-cta-actions .btn-secondary:hover {
  background: #ffffff;
  color: var(--blue-900);
}

/* Onboarding Subsection */
.onboarding-subsection {
  padding-top: 48px;
  border-top: 1px dashed var(--line);
}

@media (max-width: 1024px) {
  .billing-cycle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cycle-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .cycle-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cycle-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .billing-cycle-grid {
    grid-template-columns: 1fr;
  }
  .cycle-flow-pills {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
  }
  .cycle-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */
.comparison-section {
  padding: 88px 0;
  background: var(--soft);
}

.comp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comp-table th, .comp-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.comp-table th {
  background: var(--soft);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--blue-900);
}

.comp-table th.col-highlight {
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 850;
  border-left: 2px solid var(--blue-800);
  border-right: 2px solid var(--blue-800);
}

.comp-table td {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.comp-table td.col-highlight {
  background: rgba(234, 242, 255, 0.4);
  border-left: 2px solid var(--blue-800);
  border-right: 2px solid var(--blue-800);
  font-weight: 700;
  color: var(--blue-900);
}

.comp-check {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.comp-cross {
  color: #EF4444;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ==========================================================================
   FAQ SECTION — GLASS ACCORDION
   ========================================================================== */
.faq-section {
  padding: 88px 0;
  background: var(--white);
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: rgba(7, 30, 65, 0.2);
}

.faq-card.open {
  border-color: var(--blue-800);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  background: none;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.35rem;
  color: var(--orange);
  transition: transform 0.25s ease;
  font-weight: 700;
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: none;
}

.faq-card.open .faq-answer {
  display: block;
}

/* ==========================================================================
   ROW 5: WHY WORK WITH US (5 KEY REASONS — ZMED SIGNATURE SECTION)
   ========================================================================== */
.why-us-section {
  padding: 88px 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(31, 54, 92, 0.25);
}

.why-card-featured {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .why-card-featured {
    grid-column: span 1;
  }
}

.why-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.why-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(31, 54, 92, 0.2);
  line-height: 1;
}

.why-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-light);
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 181, 54, 0.4);
}

.why-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.why-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.why-metric {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.why-metric-label {
  color: var(--text-subtle);
  font-weight: 600;
}

.why-metric-val {
  color: var(--blue-900);
  font-weight: 700;
}

/* ==========================================================================
   CTA BOOKING SECTION
   ========================================================================== */
.booking-section {
  padding: 96px 0;
  background: var(--soft);
  color: var(--text-main);
  position: relative;
  border-top: 1px solid var(--line);
}

.booking-section::before {
  display: none;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.booking-content h2 {
  color: var(--blue-900);
  font-size: 2.5rem;
  font-weight: 850;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
  font-family: var(--font-family);
  line-height: 1.2;
}

.booking-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.guarantee-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid rgba(18, 59, 115, 0.15);
}

.guarantee-title {
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 2px;
}

/* ==========================================================================
   BOOKING ACTION CARD (POPUP TRIGGER CARD)
   ========================================================================== */
.booking-action-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}

.booking-action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.action-card-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--blue-100);
  color: var(--blue-800);
  border: 1px solid rgba(18, 59, 115, 0.15);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.action-card-title {
  font-size: 1.65rem;
  font-weight: 850;
  color: var(--blue-900);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.action-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.action-card-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.action-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--blue-900);
}

.action-perk svg {
  color: var(--green);
  flex-shrink: 0;
}

.action-card-btn {
  width: 100%;
  margin-bottom: 16px;
  font-size: 1rem;
  padding: 16px 28px;
}

.action-card-footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.action-card-footer a {
  color: var(--blue-800);
  font-weight: 750;
  text-decoration: none;
}

.action-card-footer a:hover {
  color: var(--orange);
}

.booking-form-card {
  background: var(--white);
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.booking-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}

.form-title {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--blue-900);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 650;
  color: var(--blue-900);
  margin-bottom: 6px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
  background: var(--soft);
  color: var(--text-main);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus, .form-select:focus {
  border-color: var(--blue-800);
  box-shadow: 0 0 0 3px rgba(11, 47, 99, 0.12);
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   EXECUTIVE SEGMENTED CONTROLS & RADIO SELECTORS
   ========================================================================== */
.segmented-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 540px) {
  .segmented-choice-grid {
    grid-template-columns: 1fr;
  }
}

.segmented-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.segmented-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.segmented-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--white);
  border: 1.5px solid var(--line);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.segmented-card:hover .segmented-content {
  border-color: rgba(7, 30, 65, 0.25);
  background: var(--blue-100);
}

.segmented-card .segmented-radio:checked + .segmented-content {
  background: var(--blue-100);
  border-color: var(--blue-800);
  box-shadow: 0 0 0 1px var(--blue-800);
}

.segmented-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.segmented-card .segmented-radio:checked + .segmented-content .segmented-indicator {
  border-color: var(--orange);
  background: var(--orange);
}

.segmented-card .segmented-radio:checked + .segmented-content .segmented-indicator::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.segmented-text {
  display: flex;
  flex-direction: column;
}

.segmented-title {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--blue-900);
  line-height: 1.2;
}

.segmented-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Channel Toggle (Phone vs Email) */
.channel-toggle-group {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.channel-pill {
  flex: 1;
  position: relative;
  cursor: pointer;
  text-align: center;
}

.channel-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.channel-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 650;
  color: var(--text-main);
  background: var(--white);
  border: 1.5px solid var(--line);
  transition: all 0.2s ease;
}

.channel-pill:hover .channel-box {
  border-color: rgba(7, 30, 65, 0.25);
  color: var(--blue-900);
}

.channel-radio:checked + .channel-box {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(7, 30, 65, 0.15);
}

/* Date & Time Inputs Light Mode */
input[type="date"].form-input {
  color-scheme: light;
}

.schedule-card-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.schedule-card-title {
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   FOOTER — ASCEND BPO DEEP NAVY STYLE
   ========================================================================== */
.site-footer {
  background: var(--blue-900);
  color: #94a3b8;
  padding: 0 0 32px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  display: none;
}

.contact-strip {
  background: var(--blue-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}

.contact-strip-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

.contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--orange);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 850;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 22px;
}

/* Footer Brand Name High Contrast (White 'Nex' + Orange 'Care') */
.site-footer .brand-title .nex {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.site-footer .brand-title .care {
  color: var(--orange) !important;
}

.site-footer .brand-sub {
  color: #cbd5e1 !important;
  font-weight: 750;
  letter-spacing: 2px;
}

.site-footer .brand-sub .status-dot {
  background: #22c55e !important;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

/* Footer Contact Info Items (Phone, Email, LinkedIn) */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
}

.footer-contact-lbl {
  color: #94a3b8;
  font-weight: 600;
  min-width: 58px;
}

.footer-contact-val {
  color: #ffffff !important;
  font-weight: 750;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-val:hover {
  color: var(--orange) !important;
  text-decoration: underline;
}

.footer-contact-val.highlight {
  color: #38bdf8 !important;
  font-weight: 700;
}

.footer-contact-val.highlight:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cert-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #ffffff;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.office-card {
  margin-bottom: 16px;
}

.office-state {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}

.office-addr {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   MODALS — CLEAN WHITE & BLUE ACCENTS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

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

.modal-header {
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.modal-close-btn {
  background: none;
  color: #64748b;
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px;
}

.modal-close-btn:hover {
  color: #0f172a;
  text-shadow: none;
}

.modal-body {
  padding: 28px 24px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

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

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */

/* ── Tablet / Small Desktop ── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-desc {
    max-width: 100%;
  }

  .services-grid, .services-grid-4, .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(2, 132, 199, 0.06);
    padding-bottom: 20px;
  }

  .agent-showcase-box {
    grid-template-columns: 1fr;
  }

  .agent-info-pane {
    padding: 28px;
  }

  .calc-grid, .booking-grid {
    grid-template-columns: 1fr;
  }

  .timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .emr-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: 2rem;
  }

  .booking-content h2 {
    font-size: 2rem;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.875rem;
  }

  .container {
    padding: 0 20px;
  }
}

/* ── Mobile / Portrait Tablet ── */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  /* Mobile Navigation */
  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 20px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid #e2e8f0;
    z-index: 999;
    gap: 4px;
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-menu .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-menu .nav-link {
    color: #0f172a;
  }

  .nav-menu .nav-link:hover {
    background: #eff6ff;
    color: #0284c7;
  }

  .nav-actions .btn-outline-primary,
  .nav-actions .btn-offer {
    display: none;
  }

  .mobile-toggle {
    display: block;
    color: #0f172a;
  }

  .brand-title {
    font-size: 1.25rem;
  }
  .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 2.2px;
  }
  .brand-icon-wrap {
    width: 38px;
    height: 38px;
  }

  /* Hero */
  .hero {
    padding: 50px 0 50px;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  /* Sections */
  .services-section,
  .onboarding-section,
  .booking-section,
  .specialties-section,
  .faq-section,
  .case-studies-section,
  .agents-section,
  .calculator-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* Service Cards */
  .services-grid, .services-grid-4, .case-grid, .specialties-grid {
    grid-template-columns: 1fr;
  }

  .service-card-featured {
    padding: 28px 20px 24px;
  }

  .service-img-wrap {
    width: 120px;
    height: 120px;
  }

  /* Timeline */
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline-step {
    padding: 20px 16px;
  }

  /* Booking / Contact */
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .booking-content h2 {
    font-size: 1.7rem;
  }

  .booking-content p {
    font-size: 1rem;
  }

  .booking-form-card,
  .booking-action-card {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-title {
    font-size: 1.25rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding: 50px 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .emr-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Modals */
  .modal-container {
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-header {
    padding: 18px 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-title {
    font-size: 1.1rem;
  }

  /* Offer / Floating */
  .offer-choice-grid {
    grid-template-columns: 1fr;
  }

  .floating-offer-badge {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.825rem;
  }

  .top-promo-content {
    font-size: 0.775rem;
    gap: 8px;
  }

  /* Stats */
  .stat-number {
    font-size: 2.2rem;
  }

  /* Agent Showcase */
  .agent-info-pane {
    padding: 24px 20px;
  }

  .agent-name {
    font-size: 1.5rem;
  }

  .agent-console-pane {
    padding: 24px 20px;
  }

  .agent-metrics-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  /* Calculator */
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-inputs-card,
  .calc-results-card {
    padding: 24px 20px;
  }

  .calc-result-number {
    font-size: 2.2rem;
  }

  .calc-breakdown {
    grid-template-columns: 1fr;
  }

  /* Schedule card boxes */
  .schedule-card-box {
    padding: 14px 12px;
  }

  .schedule-card-box .form-row {
    grid-template-columns: 1fr;
  }

  .channel-toggle-group {
    flex-direction: column;
    gap: 8px;
  }

  /* Comparison table horizontal scroll */
  .comp-table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  /* Guarantee box */
  .guarantee-box {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  /* Grid background scale down */
  body::before {
    background-size: 40px 40px;
  }

  /* Segmented controls */
  .segmented-choice-grid {
    grid-template-columns: 1fr;
  }

  /* Consult banner */
  .consult-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 14px;
  }

  /* Mega menus — full width */
  .mega-menu {
    width: 100%;
    left: 0;
    grid-template-columns: 1fr;
  }

  /* Case study metrics */
  .case-metrics-strip {
    grid-template-columns: 1fr 1fr;
  }

  /* Specialty filter bar */
  .specialty-filter-bar {
    gap: 6px;
  }

  .specialty-filter-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* Agent tabs */
  .agent-tab-btn, .workflow-step-btn {
    padding: 8px 14px;
    font-size: 0.825rem;
  }
}

/* ── Small Mobile ── */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 36px 0 40px;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.925rem;
    line-height: 1.55;
  }

  .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    gap: 5px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 0.875rem;
  }

  .btn-sm {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }

  .section-desc {
    font-size: 0.875rem;
  }

  .booking-content h2 {
    font-size: 1.45rem;
  }

  .booking-content p {
    font-size: 0.925rem;
  }

  .booking-form-card {
    padding: 20px 16px;
  }

  .form-title {
    font-size: 1.15rem;
  }

  .form-subtitle {
    font-size: 0.825rem;
  }

  .form-input, .form-select {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .form-label {
    font-size: 0.775rem;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .stat-desc {
    font-size: 0.8rem;
  }

  /* Metric strips in hero */
  .metric-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .metric-val {
    font-size: 1.1rem;
  }

  .metric-name {
    font-size: 0.65rem;
  }

  .metric-box {
    padding: 10px 6px;
  }

  /* Dashboard card */
  .dashboard-header {
    padding: 12px 14px;
  }

  .dashboard-body {
    padding: 14px;
  }

  /* Service image */
  .service-img-wrap {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }

  .service-card-featured .service-title {
    font-size: 1.05rem;
    min-height: unset;
  }

  .service-card-featured .service-desc {
    font-size: 0.825rem;
  }

  /* Timeline */
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .step-title {
    font-size: 0.9rem;
  }

  .step-desc {
    font-size: 0.725rem;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-col h5 {
    font-size: 0.925rem;
    margin-bottom: 12px;
  }

  .footer-links a {
    font-size: 0.825rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  .cert-pill {
    font-size: 0.675rem;
    padding: 3px 8px;
  }

  /* Floating badge */
  .floating-offer-badge {
    bottom: 12px;
    right: 12px;
    padding: 8px 14px;
    font-size: 0.775rem;
    gap: 6px;
  }

  .floating-offer-badge svg {
    width: 14px;
    height: 14px;
  }

  /* Modal */
  .modal-container {
    max-width: 100%;
    margin: 0 8px;
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-title {
    font-size: 1rem;
  }

  /* Offer guarantees */
  .offer-guarantee-list {
    flex-direction: column;
    gap: 8px;
  }

  .offer-guarantee-item {
    font-size: 0.725rem;
  }

  /* Calculator */
  .calc-result-number {
    font-size: 1.85rem;
  }

  .calc-result-title {
    font-size: 0.775rem;
  }

  /* Agent */
  .agent-name {
    font-size: 1.3rem;
  }

  .agent-tagline {
    font-size: 0.9rem;
  }

  .agent-description {
    font-size: 0.875rem;
  }

  .agent-features-list li {
    font-size: 0.825rem;
  }

  .agent-metrics-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .agent-m-val {
    font-size: 1.05rem;
  }

  /* EMR grid */
  .emr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .emr-card {
    padding: 16px 10px;
  }

  .emr-logo-text {
    font-size: 0.95rem;
  }

  /* Specialty card */
  .specialty-card {
    padding: 18px;
  }

  .specialty-name {
    font-size: 0.975rem;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 18px;
    font-size: 0.925rem;
  }

  .faq-answer {
    padding: 0 18px 16px;
    font-size: 0.875rem;
  }

  /* Case study */
  .case-banner {
    padding: 18px;
  }

  .case-client-name {
    font-size: 1.1rem;
  }

  .case-body {
    padding: 18px;
  }

  .case-metrics-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-stat-num {
    font-size: 1.1rem;
  }

  /* Segmented controls */
  .segmented-content {
    padding: 10px 12px;
    gap: 10px;
  }

  .segmented-title {
    font-size: 0.8rem;
  }

  .segmented-desc {
    font-size: 0.675rem;
  }

  /* Channel box */
  .channel-box {
    padding: 8px 12px;
    font-size: 0.775rem;
  }

  /* Contact info in booking */
  .booking-content a {
    font-size: 0.95rem !important;
  }
}

/* ── Extra Small Mobile ── */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .hero-desc {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .booking-content h2 {
    font-size: 1.3rem;
  }

  .btn {
    padding: 9px 14px;
    font-size: 0.825rem;
  }

  .metric-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .metric-val {
    font-size: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .navbar {
    height: 64px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-icon-wrap {
    width: 34px;
    height: 34px;
  }

  .floating-offer-badge span {
    display: none;
  }

  .floating-offer-badge {
    padding: 12px;
    border-radius: 50%;
  }

  .emr-grid {
    grid-template-columns: 1fr;
  }
}

/* Form Submit Loading Spinner */
.spin-animation {
  animation: spinRing 0.85s linear infinite;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   DOCTOR SHOWCASE & PHYSICIAN AUTHORITY STYLES
   ========================================================================== */

/* Hero Doctor Avatar Stack in Trust Bar */
.doctor-avatar-stack {
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.doc-stack-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0284c7;
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
  transition: transform 0.25s ease, z-index 0.25s ease;
  position: relative;
}

.doc-stack-img:first-child {
  margin-left: 0;
}

.doc-stack-img:hover {
  transform: translateY(-4px) scale(1.15);
  z-index: 10;
  border-color: #0ea5e9;
}

.doc-stack-count {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  border: 2px solid #0284c7;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Hero Doctors Team Visual Frame (Male & Female American Physicians) */
.hero-doctors-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px rgba(7, 30, 65, 0.12), 0 4px 16px rgba(7, 30, 65, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-doctors-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 72px rgba(7, 30, 65, 0.16), 0 6px 20px rgba(7, 30, 65, 0.06);
}

.hero-doctors-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-doctors-frame:hover .hero-doctors-img {
  transform: scale(1.025);
}

/* ==========================================================================
   PHYSICIAN TESTIMONIALS SECTION
   ========================================================================== */
.physicians-section {
  padding: 96px 0 88px;
  position: relative;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.physicians-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.physician-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.physician-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--blue-800);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.physician-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 30, 65, 0.2);
  box-shadow: var(--shadow-hover);
}

.physician-card:hover::before {
  background: var(--orange);
}

.physician-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.physician-avatar-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.physician-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-100);
  box-shadow: 0 4px 12px rgba(7, 30, 65, 0.1);
  display: block;
}

.physician-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.physician-meta {
  display: flex;
  flex-direction: column;
}

.physician-name {
  font-size: 1.18rem;
  font-weight: 850;
  color: var(--blue-900);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.physician-specialty-pill {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-800);
  border: 1px solid rgba(18, 59, 115, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 750;
  padding: 3px 10px;
  margin-bottom: 4px;
  align-self: flex-start;
}

.physician-clinic {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.physician-stars {
  display: flex;
  gap: 4px;
  color: var(--orange);
  margin-bottom: 14px;
}

.physician-quote {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #334155;
  font-style: italic;
  margin-bottom: 22px;
  flex-grow: 1;
  position: relative;
}

.physician-quote::before {
  content: '“';
  font-size: 3rem;
  position: absolute;
  top: -24px;
  left: -8px;
  color: rgba(7, 30, 65, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.physician-stat-banner {
  background: var(--blue-100);
  border: 1px solid rgba(18, 59, 115, 0.15);
  border-radius: 12px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stat-banner-label {
  font-size: 0.74rem;
  color: var(--blue-800);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-banner-val {
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--blue-900);
  text-shadow: none;
}

.physician-footer-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.emr-tag {
  color: var(--blue-800);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Specialties Banner */
.specialties-strip-box {
  margin-top: 60px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.specialties-strip-title {
  font-size: 0.92rem;
  font-weight: 850;
  color: var(--blue-900);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.specialties-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.specialty-pill-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--text-main);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.specialty-pill-item:hover {
  background: var(--blue-100);
  border-color: rgba(7, 30, 65, 0.2);
  color: var(--blue-900);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 30, 65, 0.08);
}

@media (max-width: 992px) {
  .physicians-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


