/* ==========================================================================
   RevoCentra - Medical Billing & Revenue Cycle Management
   Design System & Styling
   Brand Colors Extracted Directly From Official Logo:
   - Brand Teal: #11A394 (and Deep Teal #0A7F73)
   - Brand Midnight Navy: #0B2F4A (and Deep Navy #071D2E)
   - Brand Soft Mint / Ice: #C8EBE7 / #E8F7F5
   - Clean Background: Pure White (#FFFFFF)
   ========================================================================== */

:root {
  /* Official Logo Brand Colors */
  --brand-teal: #11A394;
  --brand-teal-dark: #0A7F73;
  --brand-teal-deeper: #065B52;
  --brand-teal-light: #E8F7F5;
  --brand-teal-subtle: #F2FAF9;
  --brand-teal-border: #C8EBE7;
  --brand-teal-glow: rgba(17, 163, 148, 0.28);

  --brand-navy: #0B2F4A;
  --brand-navy-dark: #071D2E;
  --brand-navy-light: #EDF4F9;
  --brand-navy-subtle: #F5F9FC;
  --brand-navy-border: #D0E0EC;

  /* Aliased Variables to Match Existing Classes */
  --sapphire: var(--brand-teal);
  --sapphire-dark: var(--brand-teal-dark);
  --sapphire-deeper: var(--brand-navy);
  --sapphire-light: var(--brand-teal-light);
  --sapphire-subtle: var(--brand-teal-subtle);
  --sapphire-glow: var(--brand-teal-glow);

  --arctic: var(--brand-teal-border);
  --arctic-light: var(--brand-teal-light);
  --arctic-soft: var(--brand-teal-subtle);
  --arctic-border: var(--brand-teal-border);

  /* Clean White & Light Neutrals */
  --bg-white: #FFFFFF;
  --bg-subtle: #F8FBFA;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-alt: #F3F8F7;

  /* High Contrast Slate & Navy Typography */
  --text-primary: #0B2F4A;
  --text-secondary: #2C485A;
  --text-muted: #5A7485;
  --text-light: #89A2B2;
  --text-inverse: #FFFFFF;

  /* Accent & Functional */
  --border-light: #E2ECE9;
  --border-medium: #D0E2DE;
  --border-focus: #11A394;
  --success: #11A394;
  --success-bg: #E8F7F5;
  --accent-gold: #D97706;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 3px rgba(11, 47, 74, 0.04);
  --shadow-sm: 0 2px 8px rgba(11, 47, 74, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 47, 74, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 47, 74, 0.10);
  --shadow-xl: 0 24px 56px rgba(11, 47, 74, 0.13);
  --shadow-sapphire: 0 10px 30px rgba(17, 163, 148, 0.32);

  /* Geometry & Timing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', var(--font-fallback, sans-serif);
  color: var(--brand-navy);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Page Loader Animation
   ========================================================================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  transform: translateY(0);
  animation: pulseBrand 2s infinite ease-in-out;
}

.loader-brand img {
  height: 52px;
  width: auto;
}

.loader-bar-wrap {
  width: 200px;
  height: 4px;
  background: var(--brand-teal-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-teal));
  border-radius: var(--radius-full);
  animation: loadProgress 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes loadProgress {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

@keyframes pulseBrand {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ==========================================================================
   Top Direct Contact & Trust Notification Bar (MTS Style)
   ========================================================================== */
.top-bar {
  background: var(--brand-navy-light);
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--brand-navy);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-teal);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(17, 163, 148, 0.25);
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

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

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-navy);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--brand-teal);
}

.top-bar-link svg {
  width: 14px;
  height: 14px;
  color: var(--brand-teal);
}

.top-divider {
  width: 1px;
  height: 14px;
  background-color: var(--brand-navy-border);
}

/* ==========================================================================
   Main Header Navigation with Official Logo
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.99);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

/* Brand Logo (Official Image) */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 20px;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-logo-img {
  height: 35px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  white-space: nowrap; /* Prevents awkward multi-line wrapping */
  position: relative;
  transition: color var(--transition-fast);
  display: inline-block;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--brand-teal);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

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

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 10px 18px;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  font-size: 14.5px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(17, 163, 148, 0.35);
}

.btn-primary:hover {
  background-color: var(--brand-teal-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 163, 148, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--brand-teal-light);
  color: var(--brand-navy);
  border: 1px solid var(--brand-teal-border);
}

.btn-secondary:hover {
  background-color: var(--brand-teal-border);
  color: var(--brand-navy-dark);
  transform: translateY(-2px);
}

.btn-navy {
  background-color: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(11, 47, 74, 0.25);
}

.btn-navy:hover {
  background-color: var(--brand-navy-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 47, 74, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-navy);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--brand-navy);
  position: relative;
  z-index: 10002;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--bg-white);
  padding: 68px 0 90px;
  overflow: hidden;
}

/* Subtle background accent glow matching brand teal & navy */
.hero-glow-1 {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(17, 163, 148, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(11, 47, 74, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 24px;
}

.hero-pill-badge {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--brand-navy);
  margin-bottom: 22px;
}

.hero-title .highlight-text {
  color: var(--brand-teal);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-text::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(200, 235, 231, 0.45);
  z-index: -1;
  border-radius: 4px;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 580px;
}

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

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-badge-item svg {
  color: var(--brand-teal);
  width: 18px;
  height: 18px;
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

/* Floating Glass Cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--brand-teal-border);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-top {
  top: -24px;
  right: -24px;
}

.hero-float-bottom {
  bottom: -24px;
  left: -24px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-icon svg {
  width: 22px;
  height: 22px;
}

.float-text-bold {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

.float-text-muted {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Trust Metric Counter Strip
   ========================================================================== */
.metrics-strip {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 44px 0;
}

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

.metric-item {
  text-align: left;
  border-left: 3.5px solid var(--brand-teal);
  padding-left: 20px;
  transition: transform var(--transition-fast);
}

.metric-item:hover {
  transform: translateY(-3px);
  border-left-color: var(--brand-navy);
}

.metric-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-teal);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 2px;
}

.metric-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   EHR & Software Integration Bar (Zero Disruption)
   ========================================================================== */
.ehr-strip {
  background-color: var(--bg-subtle);
  padding: 36px 0;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.ehr-title {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.ehr-title span {
  color: var(--brand-teal);
}

.ehr-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  opacity: 0.9;
}

.ehr-logo-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

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

.ehr-logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-teal);
}

/* ==========================================================================
   Section Headers Common
   ========================================================================== */
section {
  max-width: 100%;
  overflow-x: clip;
}

.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  border: 1px solid var(--brand-teal-border);
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brand-navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   "Why Practices Choose Us" - 6 Core Pillars from PDF
   ========================================================================== */
.why-section {
  background-color: var(--bg-white);
}

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

.why-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-teal));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-teal-border);
  box-shadow: var(--shadow-lg);
}

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

.why-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon-wrap {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  transform: scale(1.08);
}

.why-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.why-card-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.why-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature Spotlight Split (Human vs Paperwork) */
.spotlight-split {
  margin-top: 70px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}

.spotlight-image {
  height: 100%;
  min-height: 400px;
}

.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-content {
  padding: 56px 48px;
}

.spotlight-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 18px;
}

.spotlight-text {
  font-size: 16.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
}

.spotlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-navy);
}

.spotlight-list li svg {
  width: 20px;
  height: 20px;
  color: var(--brand-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Full Scope of Services - Interactive Tabs (Front, Core, Back, Analytics)
   ========================================================================== */
.services-section {
  background-color: var(--bg-white);
}

.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.tab-btn:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.tab-btn.active {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  border-color: var(--brand-teal);
  box-shadow: 0 4px 14px rgba(17, 163, 148, 0.35);
}

.tab-btn.active svg {
  color: #FFFFFF;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
}

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

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

.service-card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.service-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.service-tag-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-teal-dark);
  background: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Interactive Revenue & ROI Calculator
   ========================================================================== */
.calculator-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-container {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.calc-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-navy);
}

.calc-val-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-teal);
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--brand-teal-border);
  border-radius: var(--radius-full);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--brand-teal);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(11, 47, 74, 0.25);
  transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-helper-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Results Output Card */
.calc-results-card {
  background: linear-gradient(145deg, #F2FAF9, #E4F4F2);
  border: 1px solid var(--brand-teal-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
}

.calc-result-header {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.calc-result-big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: var(--brand-teal);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.calc-result-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.calc-stat-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.stat-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.stat-pill-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 3px;
}

.stat-pill-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
}

/* Calculator Transparency & RCM Methodology */
.calc-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--brand-teal-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 12.5px;
}

.breakdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.breakdown-item span {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.breakdown-item strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  color: var(--brand-navy);
}

.breakdown-item.highlight strong {
  color: var(--brand-teal);
  font-weight: 800;
}

.breakdown-sep {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 14px;
}

.calc-benchmark-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benchmark-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.methodology-divider {
  height: 1px;
  background-color: var(--border-light);
  width: 100%;
}

.benchmark-footnote {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.benchmark-footnote strong {
  color: var(--brand-navy);
}

/* ==========================================================================
   Specialties We Support (From Overview PDF)
   ========================================================================== */
.specialties-section {
  background-color: var(--bg-white);
}

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

.specialty-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}

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

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

.specialty-icon svg {
  width: 22px;
  height: 22px;
}

.specialty-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.3;
}

.specialties-banner {
  margin-top: 40px;
  text-align: center;
  background: var(--brand-teal-light);
  border: 1px dashed var(--brand-teal-border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.specialties-banner strong {
  color: var(--brand-navy);
}

.dual-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .dual-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   15-Day Onboarding Roadmap Timeline
   ========================================================================== */
.timeline-section {
  background-color: var(--bg-subtle);
  position: relative;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

/* Connecting track line: starts precisely at node 1 center and ends at node 5 center */
.timeline-track::before {
  content: '';
  position: absolute;
  top: 25px; /* Vertical center of the 50px circle */
  left: 10%; /* Center of 1st column in a 5-column grid */
  right: 10%; /* Center of 5th column in a 5-column grid */
  height: 3px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-navy));
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0 16px 26px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-step:hover {
  transform: translateY(-6px);
  border-color: var(--brand-teal-border);
  box-shadow: var(--shadow-md);
}

.timeline-step.featured-step {
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-sm);
}

/* Step Number Node */
.timeline-node-wrap {
  margin-top: -25px; /* Pulls half of the node onto the connecting line */
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
}

.timeline-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--brand-teal);
  color: var(--brand-navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(11, 47, 74, 0.12);
  transition: all var(--transition-fast);
}

.timeline-step:hover .timeline-bubble {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(17, 163, 148, 0.35);
}

.timeline-bubble.highlight-bubble {
  background: var(--brand-teal);
  color: #FFFFFF;
  border-color: var(--brand-teal);
  box-shadow: 0 4px 16px rgba(17, 163, 148, 0.4);
}

/* Dedicated Timeframe Pill Badge */
.timeline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  color: var(--brand-teal-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.timeline-pill.highlight-pill {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}

.timeline-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Pricing Models (Transparent Options A, B, C from Quotation)
   ========================================================================== */
.pricing-section {
  background-color: var(--bg-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-teal-border);
}

.pricing-card.featured {
  border: 2.5px solid var(--brand-teal);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-teal);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(17, 163, 148, 0.4);
}

.pricing-model-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.pricing-model-desc {
  font-size: 14px;
  color: var(--text-secondary);
  min-height: 42px;
  margin-bottom: 24px;
}

.pricing-price-box {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.price-rate {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
}

.price-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-guarantee-note {
  margin-top: 36px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-secondary);
  background: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
}

.pricing-guarantee-note strong {
  color: var(--brand-navy);
}

/* ==========================================================================
   Testimonials & Social Proof
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-subtle);
}

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

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

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

.stars-row {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 16px;
}

.stars-row svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--brand-navy);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy-light), var(--brand-teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 15px;
  border: 1px solid var(--brand-teal-border);
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
}

.author-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (Accordion from Overview PDF)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-white);
}

.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.faq-icon-toggle svg {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
}

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

.faq-item.active .faq-icon-toggle svg {
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   Consultation & Practice Review Form Section (High Converting)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-subtle);
  position: relative;
}

.contact-card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.contact-info-side {
  background: linear-gradient(150deg, var(--brand-navy-dark), var(--brand-navy));
  color: #FFFFFF;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-info-side::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(17, 163, 148, 0.22) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.contact-info-title {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-info-sub {
  color: #B2CDE0;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(17, 163, 148, 0.2);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-circle svg {
  width: 18px;
  height: 18px;
}

.contact-detail-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #7DA4BE;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail-val {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.contact-trust-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px;
  color: #D3E5F0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-trust-pill svg {
  width: 20px;
  height: 20px;
  color: var(--brand-teal);
  flex-shrink: 0;
}

/* Contact Form Side */
.contact-form-side {
  padding: 56px 48px;
  background: #FFFFFF;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-navy);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--text-primary);
  background-color: #FFFFFF;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(17, 163, 148, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.form-submit-row {
  margin-top: 10px;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

.form-success-banner {
  display: none;
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--brand-teal-dark);
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 70px 0 30px;
  font-size: 14.5px;
}

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

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 18px 0 24px;
  max-width: 320px;
}

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

.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-navy);
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-teal);
}

.footer-disclaimer-box {
  background-color: var(--brand-navy-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--brand-teal);
}

/* ==========================================================================
   Audit Modal Popup
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 47, 74, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

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

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   Smooth Scroll Reveal Animations
   ========================================================================== */
.reveal {
  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.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1.5px solid var(--brand-teal-border);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--brand-teal);
  color: #FFFFFF;
  border-color: var(--brand-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* Medium Desktop & Small Laptops: Refined spacing so nav NEVER collides or wraps */
@media (max-width: 1220px) {
  .header-inner {
    gap: 16px;
  }
  .brand-logo {
    margin-right: 14px;
  }
  .brand-logo-img {
    height: 35px;
  }
  .nav-menu {
    gap: clamp(12px, 1.4vw, 18px);
  }
  .nav-link {
    font-size: 14px;
  }
  .header-actions .btn {
    padding: 10px 18px;
    font-size: 13.5px;
  }
}

/* Tablets & Smaller Screens (Under 1040px): Switch to mobile drawer */
@media (max-width: 1040px) {
  .site-header {
    height: 72px;
    z-index: 10000;
  }
  .header-inner {
    height: 72px;
  }
  .brand-logo-img {
    height: 32px;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    box-shadow: 0 16px 36px rgba(11, 47, 74, 0.18);
    border-bottom: 2px solid var(--brand-teal);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 10001;
  }
  .nav-menu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
  }
  .nav-menu .nav-link {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--brand-navy);
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    display: block;
  }
  .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
    color: var(--brand-teal);
    padding-left: 4px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .spotlight-split {
    grid-template-columns: 1fr !important;
  }
  .calc-container {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  /* Vertical Connected Roadmap on Tablet / Mobile */
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
    position: relative;
    padding-left: 20px;
  }
  .timeline-track::before {
    top: 20px;
    bottom: 20px;
    left: 45px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .timeline-step {
    padding: 20px 20px 20px 60px;
    align-items: flex-start;
    text-align: left;
    position: relative;
  }
  .timeline-node-wrap {
    position: absolute;
    left: -25px;
    top: 24px;
    margin: 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card-box {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Phones (Under 768px) */
@media (max-width: 768px) {
  /* Section Spacing - Eliminates giant dead white space on mobile */
  .section-padding {
    padding: 48px 0 !important;
  }
  .section-head {
    margin: 0 auto 32px !important;
  }

  /* Top Bar - Clean centered single badge with zero overflow */
  .top-bar {
    padding: 6px 0;
    overflow: hidden;
  }
  .top-bar-inner {
    justify-content: center;
    text-align: center;
    padding: 0;
  }
  .top-bar-contacts {
    display: none !important;
  }
  .top-bar-tagline, .top-divider {
    display: none !important;
  }
  .top-bar-badge {
    font-size: 11.5px;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 6px;
  }

  /* Header - Clean Logo (left) and Hamburger (right) */
  .header-actions .btn {
    display: none !important;
  }
  .site-header {
    height: 68px;
  }
  .header-inner {
    height: 68px;
  }
  .brand-logo-img {
    height: 30px;
  }
  .nav-menu {
    top: 68px !important;
    max-height: calc(100vh - 68px) !important;
  }

  /* Hero Section - Hide massive offscreen background radial glows */
  .hero-section {
    padding: 36px 0 44px !important;
    overflow: hidden;
  }
  .hero-glow-1, .hero-glow-2 {
    display: none !important;
  }
  .hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 11.5px;
    max-width: 100%;
    margin-bottom: 18px;
    line-height: 1.35;
  }
  .hero-pill-badge {
    font-size: 9.5px;
    padding: 2px 7px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-float-card {
    display: none !important;
  }

  /* Metrics Counter Strip - Clean Full-Width Stacked Cards */
  .metrics-strip {
    padding: 36px 0;
  }
  .metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .metric-item {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--brand-teal);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-xs);
  }
  .metric-number {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .metric-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-navy);
  }
  .metric-desc {
    font-size: 13px;
  }

  /* EHR Integrations */
  .ehr-strip {
    padding: 28px 0;
  }
  .ehr-logos {
    gap: 10px !important;
  }
  .ehr-logo-pill {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }

  /* 4 Service Lifecycle Tabs */
  .services-tabs-nav {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
    margin-bottom: 28px !important;
  }
  .tab-btn {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
    border-radius: var(--radius-md) !important;
  }

  /* Service Cards */
  .service-card-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .service-card {
    padding: 22px 18px;
    gap: 14px;
    border-radius: var(--radius-md);
  }
  .service-card-title {
    font-size: 17px;
  }
  .service-card-desc {
    font-size: 13.5px;
  }

  /* Detailed Service Breakdown Cards (Phase 01-04) */
  .service-deep-card {
    padding: 24px 18px !important;
    margin-bottom: 24px !important;
    border-radius: var(--radius-lg) !important;
  }
  .service-deep-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
    padding-bottom: 18px !important;
  }
  .service-phase-badge {
    margin-bottom: 10px !important;
    padding: 3px 10px !important;
  }
  .service-phase-badge .phase-number,
  .service-phase-badge .phase-label {
    font-size: 10.5px !important;
  }
  .service-deep-title-group {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .service-deep-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }
  .service-deep-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
  .service-deep-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
  .service-deep-desc {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
  .service-deep-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .service-deep-item {
    padding: 16px 16px !important;
    border-left: 3px solid var(--brand-teal) !important;
    border-radius: var(--radius-md) !important;
  }
  .service-deep-item h4 {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }
  .service-deep-item p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  .sim-encounter-selector {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .sim-pill {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Feature Spotlight Splits */
  .spotlight-split {
    grid-template-columns: 1fr !important;
    margin-top: 32px !important;
    border-radius: var(--radius-lg);
  }
  .spotlight-image {
    min-height: 200px !important;
    max-height: 240px !important;
  }
  .spotlight-content {
    padding: 24px 18px !important;
  }
  .spotlight-title {
    font-size: 24px;
  }

  /* Practice Transformation Switcher */
  .transform-section {
    padding: 28px 16px !important;
  }
  .transform-toggle-pill {
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius-md);
    gap: 4px;
  }
  .transform-btn {
    width: 100%;
    border-radius: var(--radius-sm);
    text-align: center;
    padding: 10px 14px;
    font-size: 13.5px;
  }
  .transform-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Other Grids */
  .why-grid {
    grid-template-columns: 1fr;
  }
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .modal-window {
    padding: 24px;
  }
}

/* Small Smartphone Optimization (Under 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-padding {
    padding: 40px 0 !important;
  }
  .hero-title {
    font-size: 27px;
    letter-spacing: -0.02em;
  }
  .page-hero-title {
    font-size: 25px;
  }
  .section-title {
    font-size: 22px;
  }
  .calc-container {
    padding: 20px 14px !important;
  }
  .calc-result-big {
    font-size: 34px !important;
  }
  .calc-stat-pills {
    grid-template-columns: 1fr !important;
  }
  .timeline-step {
    padding: 16px 14px 16px 48px;
  }
  .timeline-track::before {
    left: 36px;
  }
  .timeline-node-wrap {
    left: -18px;
  }
  .timeline-circle {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .btn-lg {
    padding: 12px 20px;
    font-size: 14.5px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .cta-banner-buttons .btn {
    width: 100%;
  }
  .comparison-wrap {
    margin-left: -8px;
    margin-right: -8px;
    border-radius: var(--radius-md);
  }
}

/* ==========================================================================
   Inner Page Styling (Services, Specialties, Pricing, How It Works, About, Contact)
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  max-width: 840px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb-nav a {
  color: var(--text-secondary);
}

.breadcrumb-nav a:hover {
  color: var(--brand-teal);
}

.breadcrumb-sep {
  color: var(--brand-teal-border);
}

.page-hero-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  margin-bottom: 16px;
  line-height: 1.18;
}

.page-hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 26px;
}

.page-hero-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy);
  box-shadow: var(--shadow-xs);
}

.hero-chip-item svg {
  color: var(--brand-teal);
  width: 16px;
  height: 16px;
}

/* Detailed Service Breakdown Cards */
.service-deep-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 40px;
  transition: all var(--transition-normal);
}

.service-deep-card:hover {
  border-color: var(--brand-teal-border);
  box-shadow: var(--shadow-md);
}

.service-deep-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.service-deep-title-wrap {
  display: flex;
  flex-direction: column;
}

.service-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: fit-content;
}

.service-phase-badge .phase-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-teal-dark);
}

.service-phase-badge .phase-sep {
  color: var(--brand-teal);
  font-size: 11px;
  opacity: 0.6;
}

.service-phase-badge .phase-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-deep-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-deep-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-teal-light);
  border: 1px solid var(--brand-teal-border);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(17, 163, 148, 0.12);
}

.service-deep-icon svg {
  width: 26px;
  height: 26px;
}

.service-deep-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-deep-desc {
  max-width: 440px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.service-deep-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--brand-teal);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: all var(--transition-fast);
}

.service-deep-item:hover {
  border-color: var(--brand-teal-border);
  border-left-color: var(--brand-teal-dark);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.service-deep-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.service-deep-item p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Comparison Table (In-House vs Generic vs RevoCentra) */
.comparison-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}

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

.comp-table th, .comp-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14.5px;
}

.comp-table th {
  background: var(--bg-subtle);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 15px;
}

.comp-table th.col-revocentra {
  background: var(--brand-teal-light);
  color: var(--brand-navy);
  border-top: 3px solid var(--brand-teal);
}

.comp-table td.col-revocentra {
  background: rgba(232, 247, 245, 0.4);
  font-weight: 600;
  color: var(--brand-navy);
}

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

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

/* Specialty Deep Grid Cards */
.specialty-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.specialty-deep-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

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

.specialty-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.specialty-deep-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.specialty-deep-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.specialty-codes-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.specialty-codes-box strong {
  color: var(--brand-navy);
}

/* Values & Mission Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.value-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

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

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 16px 0 10px;
}

.value-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Callout CTA Banner */
.cta-banner {
  background: linear-gradient(145deg, var(--brand-navy), var(--brand-navy-dark));
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(17, 163, 148, 0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  color: #C1D8E6;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================================
   Bespoke Enterprise Animations (Human-Crafted, High Polish)
   ========================================================================= */

/* 1. Global Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-teal), #2DD4BF);
  z-index: 999999;
  transition: width 0.08s ease-out;
  pointer-events: none;
}

/* 2. Living Radar Pulse on Status Dots */
@keyframes radarPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(17, 163, 148, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(17, 163, 148, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(17, 163, 148, 0);
  }
}
.status-dot {
  position: relative;
  display: inline-block;
  animation: radarPulse 2.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* 3. Liquid Cursor Spotlight Sheen (Stripe / Apple style) */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(17, 163, 148, 0.085), transparent 45%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.spotlight-card:hover::before {
  opacity: 1;
}

/* 4. Practice Transformation Switcher (In-House vs RevoCentra) */
.transform-section {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-top: 50px;
}
.transform-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.transform-toggle-pill {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 6px;
  border-radius: var(--radius-full);
}
.transform-btn {
  padding: 10px 24px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}
.transform-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.transform-btn.active-revocentra {
  background: var(--brand-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(17, 163, 148, 0.35);
}
.transform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.transform-metric-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: all 0.35s ease;
  position: relative;
}
.transform-metric-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.transform-metric-val {
  font-size: 34px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}
.transform-metric-meter {
  height: 6px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}
.transform-metric-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}
.transform-metric-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* 5. Interactive Claim Lifecycle Simulator */
.claim-simulator {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  margin-top: 50px;
}
.sim-encounter-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.sim-pill {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-pill:hover {
  border-color: var(--brand-teal);
  background: #FFFFFF;
}
.sim-pill.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}
.sim-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.sim-step-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
  transition: all 0.35s ease;
}
.sim-step-box.sim-completed {
  border-color: var(--brand-teal-border);
  background: #F0FAF9;
}
.sim-step-num {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.sim-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 6px;
}
.sim-step-status {
  font-size: 12.5px;
  color: var(--brand-teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 992px) {
  .service-deep-grid {
    grid-template-columns: 1fr;
  }
  .specialty-deep-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .service-deep-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner {
    padding: 40px 24px;
  }
  .transform-grid {
    grid-template-columns: 1fr;
  }
  .sim-pipeline-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .sim-pipeline-grid {
    grid-template-columns: 1fr;
  }
  .transform-section {
    padding: 28px 18px;
  }
  .claim-simulator {
    padding: 28px 18px;
  }
  .calc-breakdown-row {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 12px 10px;
  }
  .breakdown-item {
    min-width: 85px;
  }
}

/* ==========================================================================
   Legal & Compliance Pages Styling
   ========================================================================== */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: flex-start;
  padding: 50px 0 80px;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.legal-sidebar-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.legal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-nav-link {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.legal-nav-link:hover,
.legal-nav-link.active {
  color: var(--brand-teal);
  background: var(--brand-teal-light);
  border-left-color: var(--brand-teal);
  font-weight: 600;
}

.legal-article {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xs);
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.legal-meta-item strong {
  color: var(--brand-navy);
}

.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 120px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 22px 0 10px;
}

.legal-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 18px 24px;
  padding: 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-callout {
  background: var(--brand-teal-light);
  border-left: 4px solid var(--brand-teal);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
}

.legal-callout p {
  color: var(--brand-navy);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.legal-callout strong {
  color: var(--brand-teal-dark);
}

@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0 60px;
  }
  .legal-sidebar {
    position: static;
  }
  .legal-article {
    padding: 28px 20px;
  }
}

