/* ═════════════════════════════════════════════════════════
   MENDRIX MEDICAL ASSOCIATES — GLOBAL STYLESHEET
═════════════════════════════════════════════════════════ */

:root {
  /* Brand Colors */
  --primary: #004792;      /* Mendrix Navy */
  --primary-light: #f0f7ff; /* Very light blue for backgrounds */
  --secondary: #002b5e;
  --accent: #168744; /* Mendrix Logo Green */
  --dark: #001f3f;         /* Deep Navy / Backgrounds */
  --darker: #001224;
  --text-main: #111827;
  --text-muted: #4b5563;
  --white: #ffffff;
  
  /* Utilities */
  --border-radius: 6px;
  --border-radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 30px rgba(0, 71, 146, 0.15);
  
  /* Spacing */
  --nav-height: 64px;

  /* Fonts */
  --font-serif: 'Montserrat', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ═══════════ CSS RESET & BASE ═══════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--dark);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--primary);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 4rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, rgba(22, 135, 68, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(22, 135, 68, 0.15);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--white);
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--accent);
  border-color: var(--white);
  box-shadow: 0 10px 20px rgba(22, 135, 68, 0.2);
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-outline-dark {
  display: inline-block;
  background-color: transparent;
  color: var(--dark);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--dark);
  transition: var(--transition);
}

.btn-outline-dark:hover {
  background-color: var(--dark);
  color: var(--white);
}

/* Animation Utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ NAVIGATION ═══════════ */
#main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: var(--transition);
}

#main-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(22, 135, 68, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(22, 135, 68, 0.15);
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--primary);
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.nav-cta:hover {
  color: var(--white) !important;
  background-color: transparent !important;
  border-color: var(--primary);
}

.nav-cta:hover::before {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

/* ═══════════ HERO SECTION ═══════════ */
.hero {
  position: relative;
  min-height: max(100dvh, 700px);
  display: flex;
  align-items: center;
  padding: 0 5%;
  padding-top: clamp(80px, 12dvh, 160px);
  padding-bottom: clamp(60px, 10dvh, 120px);
  overflow: hidden;
  background-color: var(--darker);
  height: 100%;
  z-index: 1;
  /* Fallback for browsers without dvh support */
  min-height: max(100vh, 700px);
  min-height: max(100svh, 700px); /* svh = small viewport (excludes browser UI) */
  min-height: max(100dvh, 700px); /* dvh = dynamic viewport (best for mobile) */
  /* Background handled via .hero-bg div and inline <style> for responsive switching */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* GPU compositing — ensures crisp render & avoids paint flickering */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,43,94,0.95) 0%, rgba(0,71,146,0.6) 40%, rgba(0,164,211,0) 100%);
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 3;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-left {
  color: var(--white);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  background: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 2rem;
}
.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background-color: var(--accent);
}

.hero-headline {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-headline .bold {
  font-weight: 700;
}

.hero-headline .accent {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-body {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-body strong {
  color: var(--white);
  font-weight: 600;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust-item::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-actions .btn-outline-dark {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.hero-actions .btn-outline-dark:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* Social Proof Trust Signal in Hero */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero entrance stagger animation */
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  animation: heroFadeUp 1s ease 1.2s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

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

.avatars {
  display: flex;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--darker);
  margin-left: -12px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.avatar:first-child {
  margin-left: 0;
}

/* Professional diverse clinical avatars */
.avatar-1 { background-image: url('https://randomuser.me/api/portraits/men/32.jpg'); }
.avatar-2 { background-image: url('https://randomuser.me/api/portraits/women/44.jpg'); }
.avatar-3 { background-image: url('https://randomuser.me/api/portraits/men/46.jpg'); }
.avatar-4 { background-image: url('https://randomuser.me/api/portraits/women/68.jpg'); }

.proof-text {
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

.proof-text .stars {
  color: #fbbf24; /* Vibrant Gold */
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 4px;
}

.proof-text strong {
  color: var(--white);
  font-weight: 700;
}

/* Dynamic Hero Rotator Engine */
.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  perspective: 1000px;
}

.hero-rotator {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 420px;
}

.rotator-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  animation: heroRotate 9s infinite; /* 3s per card */
  transform: translateY(20px) scale(0.95);
}

.hero-rotator:hover .rotator-card {
  animation-play-state: paused;
}

.card-form { animation-delay: 0s; }
.card-leadership { animation-delay: 3s; }
.card-impact { animation-delay: 6s; }

@keyframes heroRotate {
  0%, 3% { opacity: 0; transform: translateY(20px) scale(0.95); pointer-events: none; }
  8%, 28% { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  33%, 100% { opacity: 0; transform: translateY(-20px) scale(0.95); pointer-events: none; }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 135, 68, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(22, 135, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(22, 135, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 135, 68, 0); }
}

.availability-body p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.availability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.availability-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.availability-list .icon {
  color: var(--accent);
  font-weight: bold;
}

/* Hero wave removed */

/* ═══════════ SECTION 2: TRUST BAR ═══════════ */
.trust-bar-section {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(0, 59, 126, 0.08);
  border-bottom: 1px solid rgba(0, 59, 126, 0.08);
  padding: 0;
  overflow: hidden;
}

.trust-bar-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.trust-bar-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: trust-scroll 50s linear infinite;
  will-change: transform;
}

/* Pause animation on hover for accessibility */
.trust-bar-track:hover {
  animation-play-state: paused;
}

@keyframes trust-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Dot separator between items */
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 1.25rem 2.5rem;
  position: relative;
  transition: background 0.2s ease;
}

.trust-item:hover {
  background: rgba(0, 71, 146, 0.03);
}

/* Dot separator rendered via pseudo-element on every item */
.trust-item + .trust-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(0, 59, 126, 0.25);
  font-size: 0.6rem;
  line-height: 1;
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: #003B7E;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Two-line text block */
.trust-text-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.trust-text-main {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0d1f3c;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.trust-text-main.accent-green {
  color: #168744;
}

.trust-text-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: #8a9bb0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

/* Fade edges */
.trust-bar-fade-left,
.trust-bar-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 2;
}

.trust-bar-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.trust-bar-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* ═══ RESPONSIVE: TABLET ═══ */
@media (max-width: 1024px) {
  .trust-item {
    padding: 1.1rem 2rem;
  }
  .trust-text-main { font-size: 0.875rem; }
  .trust-icon { width: 20px; height: 20px; }
}

/* ═══ RESPONSIVE: MOBILE ═══ */
@media (max-width: 767px) {
  .trust-item {
    padding: 1rem 1.5rem;
    gap: 0.6rem;
  }
  .trust-text-main { font-size: 0.8125rem; }
  .trust-text-sub { font-size: 0.55rem; }
  .trust-icon { width: 16px; height: 16px; }
  .trust-bar-fade-left,
  .trust-bar-fade-right { width: 60px; }
  .trust-bar-track { animation-duration: 35s; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .trust-bar-track { animation: none; }
}

/* ═══════════ SERVICES ═══════════ */
/* ═══════════ SERVICES — SECTION 3 ═══════════ */
/* ═══════════ SERVICES — EXPAND ON HOVER/TAP ═══════════ */
.services {
  padding: clamp(3.5rem, 6vw, 6rem) 5%;
  background-color: var(--primary-light);
}

.svc-header {
  max-width: 860px;
  margin: 0 auto 3rem;
  text-align: center;
}
.svc-header .eyebrow { font-size: 0.85rem; justify-content: center; }
.svc-header .section-title { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1.1rem; }
.svc-header-left { margin-bottom: 1rem; }
.svc-header-desc {
  max-width: 660px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Accordion wrapper ── */
.svc-accordion {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,31,63,0.08);
  border: 1px solid rgba(0,71,146,0.09);
}

/* ── Each card row ── */
.svc-ac-card {
  background: var(--white);
  border-bottom: 1px solid rgba(0,71,146,0.07);
  cursor: pointer;
  outline: none;
  transition: background 0.25s ease;
}
.svc-ac-card:last-child { border-bottom: none; }

/* Hover: desktop only — CSS hover expand */
@media (hover: hover) and (pointer: fine) {
  .svc-ac-card:hover {
    background: #f7faff;
  }
  .svc-ac-card:hover .svc-ac-body {
    max-height: 320px;
    opacity: 1;
  }
  .svc-ac-card:hover .svc-ac-toggle svg {
    transform: rotate(180deg);
  }
  .svc-ac-card:hover .svc-ac-num {
    color: var(--primary);
  }
  .svc-ac-card:hover .svc-ac-icon {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
  }
  .svc-ac-card:hover .svc-ac-tags span {
    background: var(--primary-light);
    border-color: rgba(0,71,146,0.2);
    color: var(--primary);
  }
}

/* Touch/mobile: JS-driven open class */
.svc-ac-card.open {
  background: #f7faff;
}
.svc-ac-card.open .svc-ac-body {
  max-height: 400px;
  opacity: 1;
}
.svc-ac-card.open .svc-ac-toggle svg {
  transform: rotate(180deg);
}
.svc-ac-card.open .svc-ac-num { color: var(--primary); }
.svc-ac-card.open .svc-ac-icon {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ── Summary row (always visible) ── */
.svc-ac-summary {
  display: grid;
  grid-template-columns: 40px 46px 1fr 28px;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.75rem;
  user-select: none;
}

/* Service number */
.svc-ac-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(0,31,63,0.3);
  text-transform: uppercase;
  transition: color 0.25s ease;
  line-height: 1;
}

/* Icon box */
.svc-ac-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid rgba(0,71,146,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Head: title + tags */
.svc-ac-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.svc-ac-title {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  flex-shrink: 0;
  min-width: 180px;
}

/* Tag pills */
.svc-ac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.svc-ac-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(0,71,146,0.04);
  border: 1px solid rgba(0,71,146,0.1);
  border-radius: 50px;
  padding: 0.22rem 0.65rem;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Toggle chevron */
.svc-ac-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,31,63,0.3);
  flex-shrink: 0;
}
.svc-ac-toggle svg {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Expandable body ── */
.svc-ac-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

.svc-ac-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  padding: 0 1.75rem 1.75rem 7.5rem; /* align with title column */
  align-items: start;
}

.svc-ac-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  grid-column: 1;
}

.svc-ac-feats {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-ac-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  background: var(--primary-light);
  border: 1px solid rgba(0,71,146,0.08);
}

.svc-ac-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.svc-ac-cta {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1.5px solid var(--primary);
  padding-bottom: 2px;
  align-self: end;
  justify-self: start;
  transition: gap 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  margin-top: 0.25rem;
}
.svc-ac-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 10px;
}

/* ── RESPONSIVE: tablet ── */
@media (max-width: 900px) {
  .svc-ac-summary {
    grid-template-columns: 32px 40px 1fr 24px;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }
  .svc-ac-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .svc-ac-title { min-width: unset; font-size: 0.95rem; }
  .svc-ac-body-inner {
    grid-template-columns: 1fr;
    padding: 0 1.25rem 1.5rem 5rem;
    gap: 1rem;
  }
  .svc-ac-feats { grid-column: 1; }
  .svc-ac-cta { grid-column: 1; }
}

/* ── RESPONSIVE: mobile ── */
@media (max-width: 600px) {
  .svc-accordion { border-radius: 12px; }
  .svc-ac-summary {
    grid-template-columns: 28px 38px 1fr 20px;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
  }
  .svc-ac-num { font-size: 0.6rem; }
  .svc-ac-icon { width: 38px; height: 38px; border-radius: 8px; }
  .svc-ac-title { font-size: 0.88rem; }
  .svc-ac-tags { display: none; } /* hidden on mobile — shown in expanded body */
  .svc-ac-body-inner {
    padding: 0 1rem 1.25rem 1rem;
    gap: 0.85rem;
  }
  .svc-ac-feat { font-size: 0.78rem; padding: 0.5rem 0.75rem; }
  .svc-ac-body { max-height: 0; opacity: 0; }
  .svc-ac-card.open .svc-ac-body { max-height: 600px; opacity: 1; }
  .svc-ac-desc { font-size: 0.83rem; }
}

/* ═══════════ PILLARS (WHY MENDRIX) ═══════════ */
.pillars {
  padding: clamp(3.5rem, 6vw, 6rem) 5%;
  background-image: url('secondary_clinical.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pillars::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 31, 63, 0.9);
  z-index: 0;
}

.pillars-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,164,211,0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.pillars-header {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.pillars-header .eyebrow {
  justify-content: center;
  color: var(--accent);
}

.pillars-header .section-title {
  color: var(--white);
}

.pillars-header .section-sub {
  margin: 0 auto 5rem;
  color: rgba(255,255,255,0.7);
}

.pillars-grid {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  position: relative;
}

.pillar:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
}

.pillar-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.pillar h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pillar p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-list-item {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
}

.pillar-list-item::before {
  content: '—';
  color: var(--accent);
}

/* ═══════════ TECHNOLOGY ═══════════ */
.tech {
  padding: clamp(3.5rem, 6vw, 6rem) 5%;
  background-color: var(--white);
}

.tech-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.tech-features {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tech-feature {
  display: flex;
  gap: 1.5rem;
}

.tech-feature-icon {
  font-size: 1.5rem;
  color: var(--primary);
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.tech-feature-desc {
  color: var(--text-muted);
}

.tech-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tech-card {
  background-color: var(--dark);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-card.span-2 {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.tech-card-n {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.tech-card.span-2 .tech-card-n {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 0;
}

.tech-card-l {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tech-card.span-2 .tech-card-l {
  color: var(--white);
}

/* ═══════════ CONTINUUM ═══════════ */
.continuum {
  padding: clamp(3.5rem, 6vw, 6rem) 5%;
  background-color: var(--primary-light);
  text-align: center;
}

.continuum-header {
  max-width: 1000px;
  margin: 0 auto 5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.continuum-header .section-sub {
  margin: 0 auto;
}

.continuum-track {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.continuum-line {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: rgba(0,71,146,0.1);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 1.2s ease forwards 0.3s;
}

@keyframes drawLine {
  to {
    transform: scaleX(1);
  }
}

.continuum-step {
  flex: 1;
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: stepFadeIn 0.6s ease forwards;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Stagger animation delays for each step */
.continuum-step:nth-child(2) { animation-delay: 0.5s; }
.continuum-step:nth-child(3) { animation-delay: 0.7s; }
.continuum-step:nth-child(4) { animation-delay: 0.9s; }
.continuum-step:nth-child(5) { animation-delay: 1.1s; }
.continuum-step:nth-child(6) { animation-delay: 1.3s; }

@keyframes stepFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.continuum-step:hover {
  transform: translateY(-8px);
}

.continuum-circle {
  width: 72px;
  height: 72px;
  background-color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 0 8px var(--primary-light);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

/* Subtle pulse animation */
.continuum-circle::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.15);
  }
}

.continuum-step:hover .continuum-circle {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
  border-color: var(--accent);
  box-shadow: 
    0 0 0 8px var(--primary-light),
    0 8px 24px rgba(0, 71, 146, 0.15),
    0 0 0 0 rgba(22, 135, 68, 0.4);
  animation: glow 1.5s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 
      0 0 0 8px var(--primary-light),
      0 8px 24px rgba(0, 71, 146, 0.15),
      0 0 20px rgba(22, 135, 68, 0.3);
  }
  50% {
    box-shadow: 
      0 0 0 8px var(--primary-light),
      0 12px 32px rgba(0, 71, 146, 0.25),
      0 0 30px rgba(22, 135, 68, 0.5);
  }
}

.continuum-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.continuum-step:hover .continuum-num {
  color: var(--primary);
  transform: translateY(-2px);
  font-weight: 500;
}

.continuum-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.continuum-step:hover .continuum-label {
  color: var(--primary);
  transform: translateY(-2px);
}

.continuum-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  line-height: 1.6;
}

.continuum-step:hover .continuum-desc {
  color: var(--text-main);
}

/* ═══════════ SECTION 7: PERFORMANCE SCOREBOARD ═══════════ */
/* ═══════════ PERFORMANCE SCOREBOARD ═══════════ */
.scoreboard {
  padding: clamp(4rem, 7vw, 7rem) 5%;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative pattern */
.scoreboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(0, 71, 146, 0.03) 0%, transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(22, 135, 68, 0.03) 0%, transparent 55%);
  pointer-events: none;
}

.scoreboard-header {
  max-width: 760px;
  margin: 0 auto 4.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.scoreboard-header .eyebrow {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* eyebrow line inherits brand color via --primary */
.scoreboard-header .eyebrow::before {
  background-color: var(--primary);
}

.scoreboard-header .section-title {
  color: var(--dark);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.scoreboard-header .section-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

.scoreboard-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Metric Card ── */
.metric-card {
  background: #ffffff;
  border: 1px solid rgba(0, 71, 146, 0.1);
  border-radius: 16px;
  padding: 2.5rem 1.75rem 2rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 31, 63, 0.05);
}

/* Accent bar on top — appears on hover */
.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 71, 146, 0.2);
  box-shadow: 0 16px 40px rgba(0, 31, 63, 0.1);
}

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

/* ── Icon circle ── */
.metric-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 71, 146, 0.07);
  border-radius: 50%;
  border: 1px solid rgba(0, 71, 146, 0.15);
  transition: all 0.3s ease;
}

.metric-card:hover .metric-icon {
  background: rgba(0, 71, 146, 0.12);
  border-color: rgba(0, 71, 146, 0.3);
  transform: scale(1.06);
}

.metric-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

/* ── Big stat number ── */
.metric-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.875rem;
  letter-spacing: -0.03em;
}

/* ── Label ── */
.metric-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

/* ── Supporting text ── */
.metric-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 1200px) {
  .scoreboard-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 1024px) {
  .scoreboard {
    padding: 5rem 4%;
  }
  .metric-card {
    padding: 2rem 1.5rem;
  }
  .metric-number {
    font-size: 2.4rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .scoreboard {
    padding: 4rem 5%;
  }
  .scoreboard-header {
    margin-bottom: 3rem;
  }
  .scoreboard-header .section-sub {
    font-size: 1rem;
  }
  .scoreboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .metric-card {
    padding: 1.75rem 1.25rem;
  }
  .metric-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1.1rem;
  }
  .metric-icon svg {
    width: 22px;
    height: 22px;
  }
  .metric-number {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  .metric-title {
    font-size: 0.9375rem;
  }
  .metric-desc {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .scoreboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .metric-card,
  .metric-icon {
    transition: none;
  }
  .metric-card:hover {
    transform: none;
  }
}

   LEADERSHIP — REDESIGNED
═══════════════════════════════════════════════════════════ */
.leadership {
  padding: clamp(4rem, 7vw, 7rem) 5%;
  background: #f4f7fc;
  position: relative;
  overflow: hidden;
}

/* Subtle background geometry */
.leadership::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,71,146,0.055) 0%, transparent 70%);
  pointer-events: none;
}
.leadership::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,135,68,0.045) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Header ── */
.leadership-header {
  max-width: 760px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  text-align: center;
  position: relative;
  z-index: 2;
}
.leadership-header .eyebrow {
  justify-content: center;
}
.leadership-header .section-sub {
  margin: 0 auto;
  margin-bottom: 0;
}

/* ── Entity row wrapper ── */
.ldr-entity-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Entity label divider: line — Company Name — line ── */
.ldr-entity-label {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ldr-entity-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,71,146,0.2));
}
.ldr-entity-label .ldr-entity-line:last-child {
  background: linear-gradient(270deg, transparent, rgba(0,71,146,0.2));
}
.ldr-entity-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.ldr-entity-name svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Fix Uche Lord Eme's PNG — show full body, not just top ── */
.ldr-photo--uche {
  object-fit: cover !important;
  object-position: center 20% !important;
  background-color: transparent;
}

/* ── Outer stage: constrains width ── */
.leaders-stage {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

/* ════════════════════════════
   BASE CARD
════════════════════════════ */
.ldr-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,71,146,0.1);
  box-shadow: 0 4px 24px rgba(0,31,63,0.07);
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.ldr-card:hover {
  box-shadow: 0 16px 48px rgba(0,71,146,0.14);
  transform: translateY(-5px);
  border-color: rgba(0,71,146,0.28);
}

/* ════════════════════════════
   HERO CARD (Dr. Ijagha — full-width horizontal)
════════════════════════════ */
.ldr-card--hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: stretch;
  border: 2px solid var(--primary);
  box-shadow: 0 8px 40px rgba(0,71,146,0.13);
}
.ldr-card--hero:hover {
  box-shadow: 0 20px 60px rgba(0,71,146,0.2);
  transform: translateY(-6px);
}

/* Photo column */
.ldr-photo-col {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.ldr-photo-col .ldr-photo-frame {
  height: 100%;
  min-height: 420px;
}
.ldr-photo-col .ldr-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.55s ease;
}
.ldr-card--hero:hover .ldr-photo-col .ldr-photo {
  transform: scale(1.04);
}

/* Info column */
.ldr-info-col {
  padding: 3rem 3rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ════════════════════════════
   SECONDARY ROW (two cards)
════════════════════════════ */
.ldr-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.ldr-card--secondary {
  display: flex;
  flex-direction: column;
}

/* ── Small photo frame (secondary cards) ── */
.ldr-photo-frame--sm {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.ldr-photo-frame--sm .ldr-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.55s ease;
}
.ldr-card--secondary:hover .ldr-photo-frame--sm .ldr-photo {
  transform: scale(1.04);
}

/* ── Shared photo frame elements ── */
.ldr-photo-frame {
  position: relative;
  overflow: hidden;
}
.ldr-photo-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,18,36,0.45) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.ldr-photo-tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}
.ldr-photo-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(22,135,68,0.7);
  animation: ldrPulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes ldrPulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,135,68,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(22,135,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,135,68,0); }
}

/* ── Info (secondary cards) ── */
.ldr-info-sm {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ── Shared info elements ── */
.ldr-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  width: fit-content;
}
.ldr-badge--blue {
  background: rgba(0,71,146,0.08);
  color: var(--primary);
  border: 1px solid rgba(0,71,146,0.18);
}
.ldr-badge--green {
  background: rgba(22,135,68,0.08);
  color: var(--accent);
  border: 1px solid rgba(22,135,68,0.2);
}

.ldr-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.ldr-card--secondary .ldr-name {
  font-size: 1.35rem;
}

.ldr-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.ldr-org {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}
.ldr-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(0,71,146,0.12), transparent);
  margin: 1.25rem 0;
}
.ldr-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.ldr-cred {
  font-size: 0.72rem;
  background: rgba(0,71,146,0.05);
  color: var(--primary);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  border-left: 2px solid var(--primary);
  font-weight: 500;
}
.ldr-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ldr-info-col .ldr-highlights {
  gap: 1.25rem;
}
.ldr-hi {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ldr-hi-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.ldr-hi p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.ldr-info-col .ldr-hi p {
  font-size: 0.925rem;
}

/* ── Providers strip ── */
.providers-strip {
  max-width: 1240px;
  margin: 2rem auto 0;
  background: var(--white);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  border: 1px solid rgba(0,71,146,0.09);
  box-shadow: 0 2px 12px rgba(0,31,63,0.05);
  position: relative;
  z-index: 2;
}
.providers-strip-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
.providers-strip-label::before,
.providers-strip-label::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,71,146,0.2));
}
.providers-strip-label::after {
  background: linear-gradient(270deg, transparent, rgba(0,71,146,0.2));
}
.providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}
.provider-pill {
  background: #f4f7fc;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(0,71,146,0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.provider-pill:hover {
  background: var(--primary-light);
  border-color: rgba(0,71,146,0.18);
}
.provider-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.p-name {
  font-weight: 600;
  color: var(--dark);
}
.p-spec {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */

/* Tablet: hero card goes vertical */
@media (max-width: 1024px) {
  .ldr-card--hero {
    grid-template-columns: 1fr;
  }
  .ldr-photo-col .ldr-photo-frame {
    min-height: auto;
  }
  .ldr-photo-col .ldr-photo {
    height: 360px;
  }
  .ldr-info-col {
    padding: 2.25rem 2.5rem 2.5rem;
    justify-content: flex-start;
  }
  .ldr-name {
    font-size: 1.5rem;
  }
}

/* Tablet: secondary row stays 2-col but tighter */
@media (max-width: 960px) {
  .ldr-secondary-row {
    gap: 1.25rem;
  }
  .ldr-photo-frame--sm .ldr-photo {
    height: 260px;
  }
}

/* Mobile: everything stacks */
@media (max-width: 680px) {
  .ldr-secondary-row {
    grid-template-columns: 1fr;
  }
  .ldr-photo-col .ldr-photo {
    height: 300px;
  }
  .ldr-photo-frame--sm .ldr-photo {
    height: 280px;
  }
  .ldr-info-col {
    padding: 1.75rem 1.5rem 2rem;
  }
  .ldr-info-sm {
    padding: 1.5rem;
  }
  .ldr-name {
    font-size: 1.35rem;
  }
  .ldr-card--secondary .ldr-name {
    font-size: 1.2rem;
  }
  .ldr-hi p {
    font-size: 0.85rem;
  }
  .providers-strip {
    padding: 1.75rem 1.5rem;
  }
  .providers-list {
    gap: 0.5rem;
  }
  .provider-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .ldr-card--hero {
    border-radius: 16px;
  }
  .ldr-photo-col .ldr-photo {
    height: 260px;
  }
  .ldr-photo-frame--sm .ldr-photo {
    height: 240px;
  }
  .ldr-info-col,
  .ldr-info-sm {
    padding: 1.25rem;
  }
  .ldr-name {
    font-size: 1.2rem;
  }
  .ldr-hi p {
    font-size: 0.825rem;
  }
  .providers-strip {
    padding: 1.25rem;
    border-radius: 12px;
  }
  .provider-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }
}

/* ═══════════ PARTNERSHIP ═══════════ */
.partner {
  padding: clamp(3.5rem, 6vw, 6rem) 5%;
  background-color: var(--dark);
  color: var(--white);
}

.partner-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.partner-inner .section-title {
  color: var(--white);
}

.partner-inner .section-sub {
  color: rgba(255,255,255,0.7);
}

.partner-steps {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.partner-step {
  display: flex;
  gap: 2rem;
}

.partner-step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  line-height: 1;
}

.partner-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.partner-step-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.cf-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

/* Subtle top accent line */
.cf-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(16,185,129,0.4) 60%, transparent 100%);
  z-index: 1;
}

/* ── Header ── */
.cf-header {
  padding: 2.25rem 2.5rem 0;
}

.cf-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cf-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.cf-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(22,135,68,0.6);
  animation: cfPulse 2s ease infinite;
  flex-shrink: 0;
}

@keyframes cfPulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,135,68,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(22,135,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,135,68,0); }
}

.cf-secure {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.cf-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.cf-title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cf-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Form ── */
.cf-form {
  padding: 1.75rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cf-field {
  margin-bottom: 1.1rem;
}

/* Label */
.cf-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.55rem;
  transition: color 0.25s ease;
}

.cf-field:focus-within .cf-label {
  color: var(--accent);
}

.cf-label svg {
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.cf-field:focus-within .cf-label svg {
  opacity: 1;
}

/* Input */
.cf-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  -webkit-appearance: none;
}

.cf-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.cf-input:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.cf-input:focus {
  background: rgba(255,255,255,0.09);
  border-color: rgba(16,185,129,0.6);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.cf-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

/* Submit button */
.cf-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #10b981 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 20px rgba(22,135,68,0.35);
}

.cf-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
}

.cf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(22,135,68,0.45);
}

.cf-submit:hover::before {
  background: rgba(255,255,255,0.06);
}

.cf-submit:active {
  transform: translateY(0);
}

.cf-submit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.cf-submit:hover .cf-submit-icon {
  transform: translateX(3px);
}

/* ── Footer: phone + trust badges ── */
.cf-footer {
  padding: 1.5rem 2.5rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 1.5rem;
}

.cf-direct {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cf-direct svg {
  color: var(--accent);
  flex-shrink: 0;
}

.cf-direct:hover {
  color: var(--white);
}

.cf-trust-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cf-trust-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
}

.cf-trust-badge svg {
  opacity: 0.6;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .cf-header {
    padding: 1.75rem 1.75rem 0;
  }
  .cf-form {
    padding: 1.5rem 1.75rem 0;
  }
  .cf-footer {
    padding: 1.25rem 1.75rem 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
  }
  .cf-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cf-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 480px) {
  .cf-header {
    padding: 1.5rem 1.25rem 0;
  }
  .cf-form {
    padding: 1.25rem 1.25rem 0;
  }
  .cf-footer {
    padding: 1.25rem;
  }
  .cf-trust-badges {
    gap: 0.4rem;
  }
  .cf-trust-badge {
    font-size: 0.55rem;
    padding: 0.28rem 0.5rem;
  }
}

/* ═══════════ FAQ ═══════════ */
.faq {
  padding: clamp(3.5rem, 6vw, 6rem) 5%;
  background-color: var(--primary-light);
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  transition: var(--transition);
}

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

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  padding: 0 2rem 2rem;
  color: var(--text-muted);
}

/* ═══════════ FOOTER ═══════════ */
/* ═══════════ FOOTER ═══════════ */
footer {
  background-color: var(--darker);
  color: var(--white);
  position: relative;
}

/* ── Pre-footer CTA band ── */
.footer-cta-band {
  background: linear-gradient(135deg, #003B7E 0%, #004792 60%, #005aad 100%);
  border-top: 3px solid var(--accent);
  padding: 2.75rem 5%;
}

.footer-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-cta-label {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.footer-cta-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}

/* ── Main footer body ── */
.footer-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 5% 4rem;
  display: grid;
  grid-template-columns: 1.8fr 2.2fr;
  gap: 5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ── Brand column ── */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-brand-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 320px;
  margin-bottom: 2.25rem;
}

/* Contact block */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: color 0.2s ease;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.8;
}

.footer-contact-item:hover {
  color: var(--white);
}

/* ── Link columns grid ── */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.footer-col-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-col-links a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.25s ease;
  flex-shrink: 0;
}

.footer-col-links a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-col-links a:hover::before {
  width: 12px;
}

/* ── Bottom bar ── */
.footer-bottom {
  padding: 1.75rem 5%;
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.footer-badges {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.footer-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.4);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-badge:hover {
  border-color: rgba(22,135,68,0.4);
  color: rgba(255,255,255,0.65);
}

.footer-badge svg {
  color: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-body {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 4rem 5% 3rem;
  }
  .footer-brand-desc {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-body {
    padding: 3rem 5% 2.5rem;
  }
  .footer-cta-band {
    padding: 2.25rem 5%;
  }
}

/* Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ═══════════ MOBILE STICKY CTA — hidden by default, shown on mobile only ═══════════ */
.mobile-sticky-cta {
  display: none;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-body {
    margin: 0 auto 2.5rem;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-right {
    flex-direction: row;
    justify-content: center;
  }
  .tech-inner {
    grid-template-columns: 1fr;
  }
  .leaders-grid {
    grid-template-columns: 1fr;
  }
  .leaders-row--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .continuum-track {
    flex-direction: column;
  }
  .continuum-line {
    top: 0;
    left: 36px;
    width: 2px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
  }
  .continuum-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 80px;
  }
  .continuum-step:hover {
    transform: translateX(8px);
  }
  .continuum-circle {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
  .partner-inner {
    grid-template-columns: 1fr;
  }
  .locations-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .stat-card-modern {
    padding: 2rem 1.5rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .benefit-card {
    padding: 1.75rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-right {
    display: none;
  }
  .hero-body {
    margin: 0 auto 1.5rem;
  }
  .hero-trust {
    margin-bottom: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
  }
  .hero-actions {
    flex-direction: column;
    padding-bottom: 1.5rem;
    gap: 0.75rem;
  }
  .hero-social-proof {
    margin-top: 0.5rem;
  }
  .tech-visual, .partner-steps {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    margin-left: -5%;
    padding-left: 5%;
    padding-right: 5%;
    scrollbar-width: none;
  }
  .tech-visual::-webkit-scrollbar,
  .partner-steps::-webkit-scrollbar {
    display: none;
  }
  .tech-card, .partner-step {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-width: 280px;
  }
  .tech-card.span-2 {
    flex-direction: column;
    text-align: center;
  }
  .partner-step {
    flex-direction: column;
    gap: 1rem;
  }
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    gap: 1rem;
    justify-content: center;
  }
  .mobile-sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 0.8rem;
    font-size: 0.875rem;
  }
  body {
    padding-bottom: 80px; 
  }
}
