/* ==========================================================================
   ACL Healthcare Services - Enterprise Master Stylesheet
   Design Philosophy: World-Class Corporate Healthcare & Revenue Cycle Platform
   ========================================================================== */

:root {
  /* Brand Palette - Exactly matched to ACL Logo */
  --primary-navy: #0B2540;
  --primary-dark: #07192D;
  --primary-light: #16365C;
  --navy-surface: #0E2E4E;
  
  --brand-teal: #0090A8;
  --brand-teal-dark: #007386;
  --brand-teal-light: #E6F6F8;
  --brand-teal-soft: rgba(0, 144, 168, 0.08);
  --brand-teal-glow: rgba(0, 144, 168, 0.25);

  --accent-cyan: #0284C7;
  --accent-emerald: #0D9488;
  --success-green: #10B981;
  --warning-amber: #F59E0B;

  /* Surfaces & Backgrounds - Bright, Crisp & Trustworthy */
  --bg-page: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;
  
  /* Text */
  --text-title: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Dividers */
  --border-color: #E2E8F0;
  --border-subtle: #EDF2F7;
  --border-focus: #0090A8;

  /* Premium Multi-Layered Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 37, 64, 0.04);
  --shadow-sm: 0 2px 8px rgba(11, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 37, 64, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 37, 64, 0.12);
  --shadow-card: 0 4px 20px rgba(11, 37, 64, 0.05);
  --shadow-card-hover: 0 18px 40px -10px rgba(11, 37, 64, 0.12);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease-in-out;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 0.85rem;
  color: var(--primary-navy);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Badges, Pills & Status Indicators
   ========================================================================== */
.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background-color: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 144, 168, 0.2);
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success-green);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Corporate Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-teal) 0%, #007E94 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 144, 168, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00A0BA 0%, var(--brand-teal) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 144, 168, 0.45);
  color: #FFFFFF;
}

.btn-outline-navy {
  background-color: #FFFFFF;
  color: var(--primary-navy);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

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

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Top Header Bar & Credentials
   ========================================================================== */
.top-header {
  background-color: var(--primary-dark);
  color: #CBD5E1;
  font-size: 0.72rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  overflow: hidden;
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.85rem;
}

.top-header-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}

.top-header-left a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #CBD5E1;
  font-size: 0.72rem;
  white-space: nowrap;
}

.top-header-left a:hover {
  color: #38BDF8;
}

.top-header-left span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-credential-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #34D399;
  font-weight: 600;
  font-size: 0.70rem;
  white-space: nowrap;
}

.top-header-audit-link {
  color: #38BDF8;
  font-weight: 600;
  font-size: 0.70rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.top-header-audit-link:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Main Sticky Navbar & Mega Menu
   ========================================================================== */
.site-navbar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
  transition: all var(--transition-smooth);
}

.site-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(11, 37, 64, 0.1);
}

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

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 52px;
  width: auto;
  transition: transform var(--transition-fast);
}

.site-logo:hover img {
  transform: scale(1.02);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.navbar-nav > li {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-title);
  padding: 0.6rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-teal);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-teal);
  border-radius: 2px;
}

/* Mega Dropdown Menu for Services */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -240px;
  width: 780px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(11, 37, 64, 0.15);
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
  z-index: 1200;
}

.navbar-nav > li:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: 1.75rem;
}

.mega-column-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  margin-bottom: 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.65rem;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  margin-bottom: 0.25rem;
}

.mega-item:hover {
  background-color: var(--brand-teal-light);
  transform: translateX(3px);
}

.mega-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background-color: var(--bg-subtle);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background-color var(--transition-fast);
}

.mega-item:hover .mega-item-icon {
  background-color: var(--brand-teal);
  color: #FFFFFF;
}

.mega-item-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary-navy);
  line-height: 1.25;
}

.mega-item-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.mega-featured-card {
  background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-featured-card h4 {
  font-size: 1.05rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.mega-featured-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.mega-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-teal-dark);
  background-color: var(--brand-teal-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

/* ==========================================================================
   Corporate Trust Strip (Continuous Smooth Infinite Marquee)
   ========================================================================== */
.hero-trust-strip {
  background-color: var(--primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0;
  font-size: 0.82rem;
  color: #CBD5E1;
  overflow: hidden;
  position: relative;
}

.trust-strip-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.trust-strip-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}

.trust-strip-marquee-track:hover {
  animation-play-state: paused;
}

.trust-strip-marquee-group {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-right: 2.75rem;
  flex-shrink: 0;
}

.trust-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: #E2E8F0;
  white-space: nowrap;
}

.trust-strip-item svg {
  color: #38BDF8;
  flex-shrink: 0;
}

.trust-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Global Smooth Infinite Marquee Animation */
@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   Accreditations & Compliance Ribbon (Continuous Smooth Infinite Marquee)
   ========================================================================== */
.accreditations-ribbon {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 1.15rem 0;
  overflow: hidden;
  position: relative;
}

.accreditations-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.accreditations-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
  will-change: transform;
}

.accreditations-marquee-track:hover {
  animation-play-state: paused;
}

.accreditations-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding-right: 1.35rem;
  flex-shrink: 0;
}

.accreditation-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.35rem;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.accreditation-item:hover {
  border-color: var(--brand-teal);
  background-color: #F0FDFA;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 144, 168, 0.1);
}

.accreditation-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: #E6F6F8;
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accreditation-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary-navy);
  line-height: 1.25;
}

.accreditation-item span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* ==========================================================================
/* ==========================================================================
   Hero Section - Cinematic Background Photo with Dark Overlay & Split Layout
   ========================================================================== */
.corporate-hero {
  position: relative;
  background: linear-gradient(90deg, rgba(7, 24, 43, 0.96) 0%, rgba(9, 32, 58, 0.91) 50%, rgba(7, 24, 43, 0.78) 100%),
              url('../images/hero_medical_team.jpg') no-repeat center right / cover;
  color: #FFFFFF;
  padding: 4.75rem 0 4.25rem 0;
  border-bottom: 3px solid var(--brand-teal);
  overflow: hidden;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content-left {
  max-width: 680px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 144, 168, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.hero-content-left h1 {
  font-size: 2.85rem;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-content-left h1 .highlight-cyan {
  color: #38BDF8;
}

.hero-content-left .hero-lead-text {
  font-size: 1.05rem;
  line-height: 1.68;
  color: #CBD5E1;
  margin-bottom: 1.65rem;
}

/* Credibility Checklist */
.hero-credential-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.85rem;
}

.hero-credential-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #F1F5F9;
  font-weight: 500;
}

.hero-credential-item svg {
  color: #34D399;
  flex-shrink: 0;
}

/* Hero Action Cluster */
.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all var(--transition-fast);
}

.hero-phone-cta:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #38BDF8;
  color: #38BDF8;
}

.hero-phone-cta svg {
  color: #38BDF8;
}

/* Quick Metrics Strip Docked Inside Left Column */
.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
}

.hero-stat-mini {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-stat-desc {
  font-size: 0.72rem;
  color: #CBD5E1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* Right Column: In-Hero Practice Audit Intake Card */
.hero-intake-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 2rem 2.25rem;
  color: var(--text-title);
  position: relative;
}

.hero-intake-card .intake-header {
  margin-bottom: 1.25rem;
}

.hero-intake-card .intake-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #007A87;
  background: #E6F6F8;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
  letter-spacing: 0.05em;
}

.hero-intake-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.hero-intake-card p {
  font-size: 0.84rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

.intake-form .form-group {
  margin-bottom: 0.85rem;
}

.intake-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.3rem;
}

.intake-form input,
.intake-form select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: #0F172A;
  background-color: #F8FAFC;
  transition: all var(--transition-fast);
}

.intake-form input:focus,
.intake-form select:focus {
  outline: none;
  border-color: #0090A8;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 144, 168, 0.15);
}

.intake-form .btn-submit-intake {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.65rem;
  background: linear-gradient(135deg, #0090A8 0%, #006B7D 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 144, 168, 0.35);
  transition: all var(--transition-fast);
}

.intake-form .btn-submit-intake:hover {
  background: linear-gradient(135deg, #00A3BE 0%, #007E94 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 144, 168, 0.45);
}

.intake-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: #64748B;
  margin-top: 0.85rem;
  text-align: center;
}

.intake-footer-note svg {
  color: #10B981;
  flex-shrink: 0;
}

/* ==========================================================================
   Statistics Ribbon
   ========================================================================== */
.stats-ribbon {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 0;
}

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

.stat-entry {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.stat-entry:hover {
  background-color: var(--bg-page);
}

.stat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-teal-light);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-metric {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.stat-caption {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Accreditations Ribbon
   ========================================================================== */
.accreditations-ribbon {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.accreditations-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.accreditation-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.15rem;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.accreditation-item:hover {
  border-color: var(--brand-teal);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-xs);
  transform: translateY(-2px);
}

.accreditation-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: var(--brand-teal-light);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accreditation-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary-navy);
  line-height: 1.2;
}

.accreditation-item span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid & Cards
   ========================================================================== */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.corporate-service-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card-media {
  height: 150px;
  margin: -2.25rem -2rem 1.15rem;
  overflow: hidden;
  background: var(--primary-navy);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  position: relative;
}

.service-card-media::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 36, 69, 0.34) 100%);
  pointer-events: none;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.corporate-service-card:hover .service-card-media img {
  transform: scale(1.035);
}

.corporate-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background-color var(--transition-fast);
}

.corporate-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 144, 168, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.corporate-service-card:hover::before {
  background: linear-gradient(90deg, var(--brand-teal) 0%, #38BDF8 100%);
}

.card-top-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-teal-light);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.service-card-media + .card-top-icon {
  margin-top: -2.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  border: 4px solid #FFFFFF;
  box-sizing: content-box;
  box-shadow: 0 10px 24px rgba(0, 36, 69, 0.14);
}

.corporate-service-card:hover .card-top-icon {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  transform: scale(1.05);
}

.corporate-service-card h3 {
  font-size: 1.25rem;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.corporate-service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-features-list {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.card-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
}

.card-features-list li svg {
  color: var(--brand-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-category-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-teal-dark);
  background-color: var(--brand-teal-light);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  align-self: flex-start;
  border: 1px solid rgba(0, 144, 168, 0.2);
}

.service-category-tag.front {
  color: #0369A1;
  background-color: #E0F2FE;
  border-color: rgba(3, 105, 161, 0.2);
}

.service-category-tag.mid {
  color: var(--brand-teal-dark);
  background-color: var(--brand-teal-light);
  border-color: rgba(0, 144, 168, 0.2);
}

.service-category-tag.back {
  color: #4338CA;
  background-color: #EEF2FF;
  border-color: rgba(67, 56, 202, 0.2);
}

.service-category-tag.turnkey {
  color: #047857;
  background-color: #D1FAE5;
  border-color: rgba(4, 120, 87, 0.2);
}

.card-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-teal);
  margin-top: auto;
  transition: all var(--transition-fast);
}

.card-cta-link:hover {
  color: var(--brand-teal-dark);
  gap: 0.65rem;
}

/* EHR Platform Integration Badges */
.ehr-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
  max-width: 1060px;
  margin: 0 auto;
}

.ehr-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-navy);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.ehr-badge-item svg {
  color: var(--brand-teal);
  flex-shrink: 0;
}

.ehr-badge-item:hover {
  border-color: var(--brand-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--brand-teal-dark);
}

/* ==========================================================================
   Subpages: Banner & Breadcrumbs
   ========================================================================== */
.page-title-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 3.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.page-title-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-teal) 0%, #38BDF8 100%);
}

.breadcrumbs {
  font-size: 0.86rem;
  color: #94A3B8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumbs a {
  color: #CBD5E1;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #38BDF8;
}

.breadcrumbs .current {
  color: #38BDF8;
  font-weight: 600;
}

.page-title-banner h1 {
  color: #FFFFFF;
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 1.12rem;
  color: #CBD5E1;
  max-width: 780px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================================================
   Service Subpage Detail Layout & Sidebar
   ========================================================================== */
.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 3.5rem;
  align-items: start;
}

.service-main-content h2 {
  font-size: 2.1rem;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.service-main-content h3 {
  font-size: 1.35rem;
  color: var(--primary-navy);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.service-main-content p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

/* Service KPI Grid (4 Metrics) */
.service-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 2.5rem 0;
}

.service-kpi-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  text-align: center;
}

.service-kpi-metric {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-teal);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.service-kpi-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Workflow Steps */
.workflow-steps-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin: 2.5rem 0;
}

.workflow-step-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.workflow-step-row:last-child {
  margin-bottom: 0;
}

.step-circle-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 144, 168, 0.25);
}

.step-content h4 {
  font-size: 1.08rem;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: 0.94rem;
  color: var(--text-body);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-widget {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-teal-light);
}

.sidebar-service-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sidebar-service-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  background-color: var(--bg-page);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.sidebar-service-links li a:hover {
  background-color: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  border-color: rgba(0, 144, 168, 0.2);
  transform: translateX(3px);
}

.sidebar-service-links li a.active {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 144, 168, 0.25);
}

.sidebar-service-links li a span {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.sidebar-service-links li a:hover span {
  transform: translateX(3px);
}

.sidebar-audit-cta {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.sidebar-audit-cta h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.sidebar-audit-cta p {
  color: #CBD5E1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Two-Col Feature Grid & Photo Cards
   ========================================================================== */
.two-col-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-photo-card {
  position: relative;
}

.feature-photo-card img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  width: 100%;
}

.who-we-are-grid {
  align-items: stretch;
}

.who-we-are-photo {
  min-height: 560px;
}

.who-we-are-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}

.three-col-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   Specialties Grid
   ========================================================================== */
.specialties-corporate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.specialty-item-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-smooth);
}

.specialty-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-md);
}

.specialty-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-xs);
  background-color: var(--brand-teal-light);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.specialty-item-card h4 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.specialty-item-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   Interactive Practice ROI Calculator
   ========================================================================== */
.corporate-calculator-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
}

.calculator-left-controls {
  padding: 3rem;
}

.calculator-right-summary {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-slider-group {
  margin-bottom: 2rem;
}

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

.calc-label-row label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-navy);
}

.calc-current-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-teal);
}

.calc-range-input {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-teal);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-lead-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38BDF8;
  margin-bottom: 0.5rem;
}

.calc-big-amount {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.calc-caption-text {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.calc-submetrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 2rem;
}

.calc-submetrics-grid small {
  display: block;
  font-size: 0.78rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.calc-submetrics-grid strong {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #34D399;
}

/* ==========================================================================
   Testimonial Cards
   ========================================================================== */
.testimonial-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.testimonial-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 144, 168, 0.3);
}

.star-rating-row {
  color: #F59E0B;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.testi-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1.75rem;
}

.testi-client-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-headshot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-teal-light);
}

.client-details strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-navy);
}

.client-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-teal);
  box-shadow: 0 4px 16px rgba(0, 144, 168, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  cursor: pointer;
  text-align: left;
}

.faq-icon-arrow {
  transition: transform var(--transition-smooth);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--brand-teal);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Contact & Form Elements
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.form-group-item {
  margin-bottom: 1.25rem;
}

.form-group-item label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 0.45rem;
}

.form-input-field {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  background-color: #FFFFFF;
  font-size: 0.95rem;
  color: var(--text-title);
  transition: all var(--transition-fast);
}

.form-input-field:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(0, 144, 168, 0.15);
}

textarea.form-input-field {
  resize: vertical;
  min-height: 120px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #94A3B8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-four-col-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-logo img {
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}

.footer-column h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--brand-teal);
}

.footer-nav-list li {
  margin-bottom: 0.65rem;
}

.footer-nav-list a {
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-nav-list a:hover {
  color: #38BDF8;
  padding-left: 3px;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Floating Action Dock
   ========================================================================== */
.floating-contact-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.floating-contact-dock.is-context-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.dock-action-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition-fast);
  border: none;
  color: #FFFFFF;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.dock-action-btn svg {
  color: inherit;
}

.dock-action-btn:hover {
  transform: scale(1.08);
}

.dock-whatsapp-btn {
  background-color: #25D366;
}

.dock-call-btn {
  background-color: var(--brand-teal);
}

.dock-scroll-top-btn {
  background-color: var(--primary-navy);
  display: none;
}

/* ==========================================================================
   Mobile Off-Canvas Navigation Drawer & Backdrop
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 25, 45, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 2050;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-logo img {
  height: 42px;
  width: auto;
}

.drawer-close-btn {
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  cursor: pointer;
  background-color: var(--bg-subtle);
  transition: background-color var(--transition-fast);
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.drawer-close-btn:hover {
  background-color: var(--border-color);
}

.drawer-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  flex-grow: 1;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-navy);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.drawer-nav-link:hover,
.drawer-nav-link.active {
  background-color: var(--brand-teal-light);
  color: var(--brand-teal-dark);
}

.drawer-accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding-right: 1rem;
  user-select: none;
}

.drawer-accordion-trigger .chevron-icon {
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.drawer-accordion-trigger.expanded .chevron-icon {
  transform: rotate(180deg);
  color: var(--brand-teal);
}

.drawer-subnav-list {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid var(--border-color);
  margin-left: 1rem;
  gap: 0.2rem;
}

.drawer-subnav-list.open {
  display: flex;
}

.drawer-subnav-link {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.92rem;
  color: var(--text-body);
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.drawer-subnav-link:hover {
  color: var(--brand-teal-dark);
  background-color: var(--brand-teal-light);
}

.drawer-action-block {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.drawer-quick-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 0.5rem 0.75rem;
  background-color: var(--bg-page);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.drawer-badge-hipaa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #10B981;
  padding: 0.5rem;
  background-color: #ECFDF5;
  border-radius: var(--radius-xs);
}

.mobile-phone-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 144, 168, 0.2);
  transition: all var(--transition-fast);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-phone-btn:hover {
  background-color: var(--brand-teal);
  color: #FFFFFF;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--primary-navy);
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle-btn svg,
.drawer-close-btn svg,
.mobile-phone-btn svg {
  color: inherit;
  stroke: currentColor;
}

.mobile-toggle-btn:focus:not(:focus-visible),
.drawer-close-btn:focus:not(:focus-visible),
.mobile-phone-btn:focus:not(:focus-visible),
.dock-action-btn:focus:not(:focus-visible) {
  outline: none;
}

.mobile-toggle-btn:focus-visible,
.drawer-close-btn:focus-visible,
.mobile-phone-btn:focus-visible {
  outline: 3px solid rgba(0, 144, 168, 0.38);
  outline-offset: 3px;
}

/* ==========================================================================
   Enterprise EHR & Health Tech Integration Bar
   ========================================================================== */
.ehr-compatibility-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFD 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 2.75rem 0;
  text-align: center;
}

.ehr-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.ehr-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.ehr-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 58px;
  padding: 0.7rem 1.1rem;
  background-color: #FFFFFF;
  border: 1px solid #DCE7EF;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #18324A;
  box-shadow: 0 5px 16px rgba(15, 45, 74, 0.045);
  transition: all var(--transition-fast);
}

.ehr-pill > img,
.ehr-paired-logos img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.ehr-paired-logos {
  display: inline-flex;
  align-items: center;
}

.ehr-paired-logos img + img {
  margin-left: -6px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #FFFFFF;
}

.ehr-pill:hover {
  border-color: var(--brand-teal);
  background-color: #F0FDFA;
  color: var(--brand-teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 144, 168, 0.12);
}

/* ==========================================================================
   Provider Segment Cards (Who We Serve)
   ========================================================================== */
.segment-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.segment-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.85rem 1.5rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
}

.segment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.segment-card:hover {
  border-color: var(--brand-teal);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 37, 64, 0.08);
}

.segment-card:hover::before {
  background: var(--brand-teal);
}

.segment-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #E6F6F8;
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.segment-card h3 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 0.65rem;
  font-weight: 700;
  line-height: 1.3;
}

.segment-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.segment-metric {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0D9488;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
}

/* ==========================================================================
   7-Step Clinical Revenue Cycle Lifecycle Pipeline
   ========================================================================== */
.rcm-process-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.process-step-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.35rem 0.85rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
}

.process-step-item:hover {
  border-color: var(--brand-teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(11, 37, 64, 0.08);
}

.step-number-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem auto;
  box-shadow: 0 3px 8px rgba(11, 37, 64, 0.2);
}

.process-step-item:hover .step-number-circle {
  background-color: var(--brand-teal);
}

.process-step-item h4 {
  font-size: 0.88rem;
  color: var(--primary-navy);
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.process-step-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Executive Transformation & Comparison Matrix
   ========================================================================== */
.comparison-table-wrapper {
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow-x: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-top: 2rem;
}

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

.corp-comparison-table th {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.corp-comparison-table th.highlight-col-th {
  background: #007A87;
  color: #FFFFFF;
}

.corp-comparison-table td {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.9rem;
  color: var(--text-body);
}

.corp-comparison-table tr:hover td {
  background-color: #F8FAFC;
}

.corp-comparison-table td.highlight-col {
  background-color: #F0FDFA;
  font-weight: 700;
  color: #0F766E;
}

.corp-comparison-table tr:hover td.highlight-col {
  background-color: #E6F8F6;
}

/* ==========================================================================
   Executive Practice Case Studies Grid
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.case-study-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.case-study-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: 0 14px 32px rgba(11, 37, 64, 0.09);
}

.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.case-specialty-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #007A87;
  background: #E6F6F8;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.case-study-card h3 {
  font-size: 1.22rem;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  font-weight: 700;
}

.case-study-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.case-study-stat-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.95rem;
  margin: 1rem 0 1.25rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  text-align: center;
}

.case-stat-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}

.case-stat-lbl {
  font-size: 0.7rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .segment-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rcm-process-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-text-block {
    text-align: center;
  }
  .hero-lead-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  .services-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .specialties-corporate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col-feature-grid {
    grid-template-columns: 1fr;
  }
  .who-we-are-photo {
    min-height: 440px;
  }
  .three-col-feature-grid {
    grid-template-columns: 1fr;
  }
  .corporate-calculator-card {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-four-col-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .accreditations-flex {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .ehr-compatibility-section {
    padding: 2.25rem 0;
  }
  .ehr-title {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.72rem;
    line-height: 1.45;
  }
  .ehr-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.65rem;
  }
  .ehr-pill {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.74rem;
    line-height: 1.15;
    text-align: left;
  }
  .ehr-pill > img,
  .ehr-paired-logos img {
    width: 27px;
    height: 27px;
  }
  .ehr-pill:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .comparison-table-wrapper {
    margin-top: 1.5rem;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .corp-comparison-table,
  .corp-comparison-table tbody {
    display: block;
    width: 100%;
  }
  .corp-comparison-table thead {
    display: none;
  }
  .corp-comparison-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #DCE7EF;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15, 45, 74, 0.08);
  }
  .corp-comparison-table td,
  .corp-comparison-table tr:hover td {
    display: block;
    padding: 1rem !important;
    border: 0;
    background: #FFFFFF;
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .corp-comparison-table td:first-child,
  .corp-comparison-table tr:hover td:first-child {
    grid-column: 1 / -1;
    padding: 0.8rem 1rem !important;
    background: linear-gradient(135deg, #002445 0%, #073A62 100%);
    color: #FFFFFF;
    font-size: 0.9rem;
  }
  .corp-comparison-table td:nth-child(2) {
    border-right: 1px solid #E2E8F0;
    color: #475569;
  }
  .corp-comparison-table td:nth-child(2)::before,
  .corp-comparison-table td:nth-child(3)::before,
  .corp-comparison-table td:nth-child(4)::before {
    display: block;
    margin-bottom: 0.45rem;
    font-family: var(--font-heading);
    font-size: 0.67rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }
  .corp-comparison-table td:nth-child(2)::before {
    content: 'Traditional';
    color: #64748B;
  }
  .corp-comparison-table td:nth-child(3),
  .corp-comparison-table tr:hover td:nth-child(3) {
    background: linear-gradient(145deg, #ECFEFF 0%, #F0FDFA 100%);
    color: #087B74;
  }
  .corp-comparison-table td:nth-child(3)::before {
    content: 'ACL Healthcare';
    color: #0090A8;
  }
  .corp-comparison-table td:nth-child(4),
  .corp-comparison-table tr:hover td:nth-child(4) {
    grid-column: 1 / -1;
    padding: 0.8rem 1rem !important;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    color: #18324A;
    font-weight: 650;
  }
  .corp-comparison-table td:nth-child(4)::before {
    content: 'Your Advantage';
    color: #0090A8;
  }

  /* Top header on mobile - show ONLY Phone and Email in one single clean line */
  .top-header {
    padding: 0.35rem 0;
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
  }
  .top-header::-webkit-scrollbar {
    display: none;
  }
  .top-header .container {
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .top-header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 480px;
    gap: 0.75rem;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .top-header-left a {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    gap: 0.3rem;
    white-space: nowrap;
    color: #CBD5E1;
    font-weight: 500;
  }
  .top-header-left a:hover {
    color: #38BDF8;
  }
  .top-header-left a svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #38BDF8;
  }
  .top-header-left span {
    display: none !important;
  }
  .top-header-right {
    display: none !important;
  }

  /* Main Sticky Navbar on mobile */
  .site-navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
  }
  .site-navbar .container {
    height: 64px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .site-logo img {
    height: 40px;
  }
  .navbar-nav {
    display: none;
  }
  .nav-cta-btn {
    display: none;
  }
  .mobile-phone-btn {
    display: flex;
  }
  .mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-xs);
    background-color: var(--bg-subtle);
  }

  /* Headings on mobile */
  .hero-content-left h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-content-center h1 {
    font-size: 2.1rem;
  }
  .page-title-banner h1 {
    font-size: 1.85rem;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }
  .service-main-content h2 {
    font-size: 1.65rem;
  }
  .service-main-content h3 {
    font-size: 1.2rem;
  }

  /* Section paddings */
  .section-padding {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
  .section-padding-sm {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  /* Hero & Trust Strip Mobile */
  .corporate-hero {
    padding: 3rem 0 2.75rem 0;
  }
  .hero-quick-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem 0.85rem !important;
    padding: 0.95rem !important;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  .hero-stat-num {
    font-size: 1.45rem !important;
    line-height: 1.1;
  }
  .hero-stat-desc {
    font-size: 0.66rem !important;
  }
  .hero-intake-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    margin-top: 1.5rem;
  }
  .hero-intake-card h3 {
    font-size: 1.25rem;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .hero-metric-val {
    font-size: 1.75rem;
  }
  .rcm-process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .segment-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Stats Ribbon */
  .stats-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .stat-metric {
    font-size: 1.75rem;
  }

  /* Services Grid */
  .services-overview-grid {
    grid-template-columns: 1fr;
  }
  .service-card-media {
    height: 150px;
  }
  .who-we-are-photo {
    min-height: 320px;
  }
  .specialties-corporate-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-cards-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-two {
    grid-template-columns: 1fr;
  }

  /* Workflows */
  .workflow-steps-box {
    padding: 1.5rem;
  }
  .workflow-step-row {
    flex-direction: row;
    gap: 1rem;
  }
  .step-circle-num {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* Calculator on Mobile */
  .calculator-left-controls {
    padding: 2rem 1.5rem;
  }
  .calculator-right-summary {
    padding: 2rem 1.5rem;
  }
  .calc-big-amount {
    font-size: 2.4rem;
  }

  /* Footer */
  .footer-four-col-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Floating Dock */
  .floating-contact-dock {
    bottom: 18px;
    right: 18px;
    gap: 8px;
  }
  .dock-action-btn {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 480px) {
  .top-header {
    padding: 0.3rem 0;
  }
  .top-header-left {
    justify-content: space-between;
    gap: 0.45rem;
  }
  .top-header-left a {
    font-size: 0.63rem;
    gap: 0.25rem;
  }
  .top-header-left a svg {
    width: 12px;
    height: 12px;
  }

  .hero-content-left h1 {
    font-size: 1.75rem;
  }
  .hero-content-center h1 {
    font-size: 1.85rem;
  }
  .page-title-banner h1 {
    font-size: 1.75rem;
  }
  .hero-quick-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem 0.75rem !important;
    padding: 0.85rem !important;
  }
  .hero-stat-mini {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.55rem 0.4rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }
  .hero-stat-num {
    font-size: 1.35rem !important;
  }
  .hero-stat-desc {
    font-size: 0.64rem !important;
  }
  .hero-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions-row .btn,
  .hero-actions-row .hero-phone-cta {
    width: 100%;
    justify-content: center;
  }
  .rcm-process-timeline {
    grid-template-columns: 1fr;
  }
  .case-study-stat-box {
    grid-template-columns: 1fr;
  }
  .hero-cta-group.center {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group.center .btn {
    width: 100%;
  }
  .hero-metrics-bar {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .stats-grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-entry {
    padding: 1rem;
  }
}

/* ========================================================================== 
   Professional polish & accessibility pass
   ========================================================================== */
.corporate-hero {
  background-image:
    linear-gradient(90deg, rgba(7, 24, 43, 0.92) 0%, rgba(7, 24, 43, 0.86) 43%, rgba(7, 24, 43, 0.56) 72%, rgba(7, 24, 43, 0.32) 100%),
    url('../images/hero-healthcare-operations-v2.png');
  background-position: center, center;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5000;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--primary-dark);
  border: 2px solid #fff;
  border-radius: var(--radius-xs);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.72);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.corporate-service-card,
.testimonial-card-item,
.hero-intake-card {
  border-color: rgba(148, 163, 184, 0.34);
}

.corporate-service-card:hover,
.testimonial-card-item:hover {
  transform: translateY(-4px);
}

.page-title-banner {
  background-image:
    radial-gradient(circle at 82% 25%, rgba(0, 144, 168, 0.16), transparent 34%),
    linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .corporate-hero {
    padding: 2.5rem 0 2.75rem;
    background-image:
      linear-gradient(180deg, rgba(7, 24, 43, 0.90), rgba(7, 24, 43, 0.84)),
      url('../images/hero-healthcare-operations-v2.png');
    background-position: center, 68% center;
  }

  .hero-split-grid {
    gap: 1.5rem;
  }

  .hero-kicker {
    font-size: 0.68rem;
    line-height: 1.4;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
  }

  .hero-content-left .hero-lead-text {
    font-size: 0.98rem;
    line-height: 1.58;
    margin-bottom: 1.35rem;
  }

  .hero-credential-list {
    gap: 0.7rem;
    margin-bottom: 1.4rem;
  }

  .hero-credential-item {
    align-items: flex-start;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .hero-credential-item svg {
    margin-top: 0.15rem;
  }

  .hero-actions-row {
    margin-bottom: 0;
  }

  .hero-quick-stats {
    display: none;
  }

  .hero-intake-card {
    margin-top: 0.25rem;
    box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.55);
  }

  .floating-contact-dock {
    display: none;
  }

  .dock-action-btn {
    width: 42px;
    height: 42px;
    box-shadow: 0 8px 20px rgba(11, 37, 64, 0.2);
  }

  .dock-action-btn svg {
    width: 20px;
    height: 20px;
  }

  .page-title-banner {
    padding: 3rem 0;
  }
}

@media (max-width: 420px) {
  .top-header-left {
    gap: 0.55rem;
  }

  .top-header-left a {
    min-width: 0;
  }

  .top-header-left a:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-content-left h1 {
    font-size: clamp(1.72rem, 8vw, 2rem);
    line-height: 1.17;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
