/* ============================================================
   Care Medicus — Main Stylesheet v1.0
   ============================================================ */

/* ── Google Fonts loaded via functions.php ── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal-dark:   #1B6B6B;
  --teal-mid:    #2A9D9D;
  --teal-light:  #4CC9C9;
  --navy:        #1E2D40;
  --navy-mid:    #2C3E55;
  --accent:      #5ED4D4;
  --light-bg:    #F0FAFA;
  --white:       #ffffff;
  --gray:        #6B7A8D;
  --light-gray:  #F7F9FC;
  --border:      #D6EEF0;
  --font-head:   'Plus Jakarta Sans', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(30,45,64,.07);
  --shadow-md:   0 8px 30px rgba(30,45,64,.10);
  --shadow-lg:   0 16px 50px rgba(30,45,64,.14);
  --container:   1200px;
  --gap:         clamp(20px, 4vw, 40px);
}

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

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ─── SVG ICON SYSTEM ──────────────────────────────────────────── */
.cm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cm-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* ─── NOTICE BANNER ──────────────────────────────────────────────── */
.notice-bar {
  background: var(--teal-mid);
  padding: 10px var(--gap);
  text-align: center;
  font-size: 13px;
  color: white;
  font-weight: 500;
  font-family: var(--font-body);
}
.notice-bar a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

/* ─── TOP BAR ─────────────────────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  padding: 8px var(--gap);
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  font-family: var(--font-body);
}
.top-bar-item .cm-icon {
  font-size: 14px;
  color: var(--accent);
}

/* ─── NAVIGATION ──────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-shield {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-dark));
  border-radius: 8px 8px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.logo-shield svg { width: 22px; height: 22px; fill: white; }
.logo-wordmark {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
}
.logo-wordmark span { color: var(--teal-mid); }

/* Nav links */
.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.primary-nav a {
  font-size: 14px;
  color: var(--navy-mid);
  font-weight: 500;
  font-family: var(--font-body);
  transition: color .2s;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--teal-mid); }

/* Nav CTA */
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 300;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 250;
  flex-direction: column;
  padding: 90px 30px 40px;
  gap: 6px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  font-family: var(--font-head);
}
.mobile-nav .mobile-nav-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm  { padding: 8px 18px; font-size: 13px; }
.btn-md  { padding: 12px 24px; font-size: 14px; }
.btn-lg  { padding: 14px 28px; font-size: 15px; border-radius: 8px; }
.btn-xl  { padding: 16px 36px; font-size: 16px; border-radius: 8px; }

.btn-primary  { background: var(--teal-mid); color: white; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(42,157,157,.35); }

.btn-outline { background: transparent; color: var(--teal-mid); border: 1.5px solid var(--teal-mid); }
.btn-outline:hover { background: var(--light-bg); }

.btn-ghost-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost-white:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }

.btn-white { background: white; color: var(--teal-dark); font-weight: 700; }
.btn-white:hover { background: var(--light-bg); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,.08); }

.btn-full { width: 100%; }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1B4D6B 100%);
  padding: clamp(50px, 8vw, 90px) var(--gap) clamp(50px, 6vw, 70px);
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  min-height: clamp(400px, 65vh, 560px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 70px solid rgba(44,157,157,.1);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; right: 220px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 45px solid rgba(44,157,157,.06);
  pointer-events: none;
}

.hero-left { flex: 1; position: relative; z-index: 2; min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(44,157,157,.18);
  border: 1px solid rgba(94,212,212,.3);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-head);
  letter-spacing: .2px;
}
.hero-badge .cm-icon { font-size: 13px; }
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: white;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--accent); }
.hero-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--accent);
}
.hero-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  margin-top: 3px;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-right {
  flex: 0 0 clamp(260px, 30vw, 340px);
  position: relative;
  z-index: 2;
}
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
  backdrop-filter: blur(12px);
}
.hero-card h3 {
  color: white;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.form-row { margin-bottom: 12px; }
.form-row label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 600;
}
.form-row input,
.form-row select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  color: white;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-row input::placeholder { color: rgba(255,255,255,.4); }
.form-row input:focus,
.form-row select:focus { border-color: var(--accent); }
.form-row select option { background: var(--navy); color: white; }
.form-note {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-align: center;
  margin-top: 10px;
}

/* ─── TRUST STRIP ─────────────────────────────────────────────────── */
.trust-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 18px var(--gap);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  color: var(--gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
}
.trust-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--light-gray);
  white-space: nowrap;
}
.trust-badge .cm-icon { color: var(--teal-mid); font-size: 15px; }

/* ─── STATS SECTION ──────────────────────────────────────────────── */
.stats-section { background: var(--light-bg); padding: 50px var(--gap); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  border-top: 3px solid var(--teal-mid);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-number {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
}
.stat-unit { font-size: 20px; }
.stat-label { font-size: 12px; color: var(--gray); margin-top: 8px; line-height: 1.4; }

/* ─── SECTION COMMON ──────────────────────────────────────────────── */
.section { padding: clamp(50px, 8vw, 80px) var(--gap); }
.section-tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 30px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  font-family: var(--font-head);
}
.section-tag-dark {
  background: rgba(44,157,157,.18);
  color: var(--accent);
  border-color: rgba(94,212,212,.3);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-title span { color: var(--teal-mid); }
.section-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--gray);
  line-height: 1.75;
  max-width: 580px;
}
.section-header { margin-bottom: 50px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ─── SERVICES ──────────────────────────────────────────────────────── */
.services-section { background: white; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all .22s;
  position: relative;
  overflow: hidden;
  background: white;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-mid), var(--teal-light));
}
.service-card:hover {
  border-color: var(--teal-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-mid);
  font-size: 24px;
  transition: background .2s;
}
.service-card:hover .service-icon-wrap { background: rgba(42,157,157,.12); }
.service-icon-wrap svg { width: 26px; height: 26px; fill: var(--teal-mid); }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }
.service-link {
  font-size: 13px;
  color: var(--teal-mid);
  font-weight: 600;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.service-link:hover { gap: 8px; }

/* ─── HOW IT WORKS ──────────────────────────────────────────────────── */
.process-section { background: var(--navy); }
.process-section .section-title { color: white; }
.process-section .section-sub { color: rgba(255,255,255,.65); }
.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 60px; right: 60px;
  height: 2px;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.step-num {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--teal-mid);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  border: 3px solid rgba(94,212,212,.35);
  box-shadow: 0 0 0 6px rgba(44,157,157,.1);
}
.step-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(44,157,157,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--accent);
}
.step-icon-wrap svg { width: 20px; height: 20px; fill: var(--accent); }
.step h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.step p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.55; }

/* ─── WHY CHOOSE US ──────────────────────────────────────────────────── */
.why-section { background: var(--light-bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.why-visual {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.why-visual-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 20px;
}
.why-metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.why-metric:last-child { border-bottom: none; }
.metric-bar-wrap { flex: 1; }
.metric-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.metric-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-mid), var(--accent));
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(.25,.46,.45,.94);
}
.metric-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-dark);
  min-width: 52px;
  text-align: right;
}
.why-points { list-style: none; }
.why-points li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.why-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-mid);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.why-check svg { width: 13px; height: 13px; fill: white; }
.why-points li p { font-size: 15px; color: var(--navy-mid); line-height: 1.55; }
.why-points li p strong { color: var(--navy); }

/* ─── SPECIALTIES ───────────────────────────────────────────────────── */
.specialties-section { background: white; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.spec-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.spec-card:hover {
  background: white;
  border-color: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.spec-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(42,157,157,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--teal-mid);
  font-size: 24px;
  transition: background .2s;
}
.spec-card:hover .spec-icon-wrap { background: rgba(42,157,157,.18); }
.spec-icon-wrap svg { width: 26px; height: 26px; fill: var(--teal-mid); }
.spec-card p { font-size: 13px; font-weight: 600; color: var(--navy); }

/* ─── TESTIMONIALS ──────────────────────────────────────────────────── */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-title { color: white; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 28px 24px;
  transition: background .2s;
}
.testi-card:hover { background: rgba(255,255,255,.09); }
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--accent);
}
.testi-stars svg { width: 15px; height: 15px; fill: var(--accent); }
.testi-card blockquote {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
  border: none;
  padding: 0;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-mid);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; color: white; }
.testi-role { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ─── CTA SECTION ───────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
  padding: clamp(50px, 8vw, 80px) var(--gap);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 50px solid rgba(255,255,255,.07);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-section p {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── FOOTER ────────────────────────────────────────────────────────── */
footer {
  background: #0F1926;
  padding: clamp(40px, 6vw, 60px) var(--gap) 24px;
  color: rgba(255,255,255,.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 48px;
}
.footer-brand .logo-wordmark { color: white; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  margin-top: 12px;
  color: rgba(255,255,255,.5);
}
.footer-badges-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.footer-badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color .18s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); }

/* ─── FORM FEEDBACK ─────────────────────────────────────────────────── */
.form-message {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  display: none;
}
.form-message.success { background: rgba(94,212,212,.15); color: var(--accent); display: block; }
.form-message.error   { background: rgba(220,53,69,.12); color: #e05260; display: block; }

/* ─── SKIP LINK ──────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 0; left: 0;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--teal-mid);
  color: white;
  z-index: 999;
  font-size: 14px;
  font-weight: 600;
}

/* ─── UTILITY ─────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ── 1200px and below ── */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablet: 1024px ── */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .nav-actions  { display: none; }
  .nav-toggle   { display: flex; }

  .hero { flex-direction: column; min-height: auto; padding-bottom: 50px; }
  .hero-right { flex: 0 0 auto; width: 100%; max-width: 480px; margin: 0 auto; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile: 768px ── */
@media (max-width: 768px) {
  .notice-bar { font-size: 12px; padding: 8px 16px; }
  .top-bar { justify-content: center; gap: 14px; padding: 6px 16px; }
  .top-bar-item:last-child { display: none; }

  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 16px; }
  .hero-btns .btn-lg { padding: 12px 20px; font-size: 14px; }

  .services-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .process-steps {
    flex-direction: column;
    gap: 28px;
  }
  .process-steps::before { display: none; }
  .step { text-align: left; display: flex; gap: 16px; align-items: flex-start; padding: 0; }
  .step-num { margin: 0; flex-shrink: 0; }
  .step-text { text-align: left; }

  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-strip-inner { gap: 16px; }
  .trust-logos { gap: 8px; }
  .trust-badge { font-size: 12px; padding: 5px 10px; }
}

/* ── Small Mobile: 480px ── */
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat { min-width: calc(50% - 8px); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-right { display: none; }
  .hero-btns { width: 100%; }
  .hero-btns .btn { flex: 1; text-align: center; justify-content: center; }
}

/* ================================================================
   INNER PAGES & EXTENDED STYLES
   ================================================================ */

/* ─── Logo Image ──────────────────────────────────────────────── */
.logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.site-logo .custom-logo-link img,
.site-logo .custom-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  display: block;
}
.footer-logo-img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  /* Logo has white background — works fine on dark footer */
  border-radius: 6px;
}

/* ─── Top Bar Social Icons ────────────────────────────────────── */
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-family: var(--font-body);
  transition: color .2s;
}
.top-bar-item:hover { color: var(--accent); }
.top-bar-item .cm-icon { color: var(--accent); font-size: 14px; }
.top-bar-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.top-bar-social a {
  color: rgba(255,255,255,.6);
  font-size: 15px;
  transition: color .2s;
  display: flex;
  align-items: center;
}
.top-bar-social a:hover { color: var(--accent); }
.top-bar-social svg { width: 15px; height: 15px; fill: currentColor; }

/* ─── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1B4D6B 100%);
  padding: clamp(50px, 7vw, 80px) var(--gap);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 60px solid rgba(44,157,157,.08);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.page-hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  color: white;
  line-height: 1.14;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.page-hero-content h1 span { color: var(--accent); }
.page-hero-content p {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  max-width: 580px;
}
.page-hero-sm { padding: clamp(36px, 5vw, 56px) var(--gap); }

/* Two-col hero layout */
.two-col-hero {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--container);
}
.service-hero-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: rgba(44,157,157,.2);
  border: 1px solid rgba(94,212,212,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-hero-svg svg { width: 60px; height: 60px; fill: var(--accent); }

/* ─── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb-nav {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
}
.breadcrumb li + li::before {
  content: '/';
  color: var(--border);
}
.breadcrumb a { color: var(--teal-mid); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ─── LAYOUT HELPERS ──────────────────────────────────────────── */
.bg-white  { background: white; }
.bg-light  { background: var(--light-bg); }
.bg-navy   { background: var(--navy); }

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.two-col-grid.align-center { align-items: center; }

.container-narrow { max-width: 840px; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--navy-mid);
  line-height: 1.55;
}
.check-list .cm-icon { color: var(--teal-mid); flex-shrink: 0; margin-top: 2px; font-size: 16px; }
.check-list svg { width: 16px; height: 16px; fill: var(--teal-mid); }

/* Dark section check-list */
.bg-navy .check-list li { color: rgba(255,255,255,.8); }

/* ─── ABOUT PAGE ──────────────────────────────────────────────── */
.about-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.about-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--teal-dark);
}
.about-stat-lbl { font-size: 12px; color: var(--gray); margin-top: 2px; }

.about-image-wrap { display: flex; justify-content: center; }
.about-image-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
}
.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.about-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.about-icon-item .cm-icon { color: var(--teal-mid); font-size: 22px; }
.about-icon-item svg { width: 24px; height: 24px; fill: var(--teal-mid); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  transition: transform .2s, box-shadow .2s;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-mid);
  margin-bottom: 16px;
}
.value-icon svg { width: 24px; height: 24px; fill: var(--teal-mid); }
.value-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray); line-height: 1.65; }

.ai-feature-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-metric-row { display: flex; gap: 16px; }
.ai-metric {
  flex: 1;
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.ai-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--accent); display: block; }
.ai-lbl { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; display: block; }

/* ─── SERVICES PAGE ───────────────────────────────────────────── */
.services-grid-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-detail-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow .2s, transform .2s;
}
.service-detail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-detail-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-mid);
  flex-shrink: 0;
}
.service-detail-icon svg { width: 28px; height: 28px; fill: var(--teal-mid); }
.service-detail-content h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-detail-content p { font-size: 14px; color: var(--gray); line-height: 1.65; margin-bottom: 14px; }
.service-sub-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.service-sub-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--navy-mid); }
.service-sub-list .cm-icon { color: var(--teal-mid); }
.service-sub-list svg { width: 14px; height: 14px; fill: var(--teal-mid); flex-shrink: 0; }

/* Dark service cards (related services section) */
.service-card-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  text-decoration: none;
  display: block;
}
.service-card-dark h3 { color: white; }
.service-card-dark p  { color: rgba(255,255,255,.7); }
.service-card-dark .service-icon-wrap { background: rgba(44,157,157,.2); }
.service-card-dark:hover { background: rgba(255,255,255,.1); border-color: var(--teal-mid); }

/* ─── SINGLE SERVICE PAGE ─────────────────────────────────────── */
.service-metrics-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.svc-metric { text-align: center; padding: 16px; background: white; border-radius: 12px; border: 1px solid var(--border); }
.svc-metric-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--teal-dark); display: block; }
.svc-metric-lbl { font-size: 12px; color: var(--gray); margin-top: 4px; display: block; }

.service-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-step-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
}
.service-step-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--teal-light);
  opacity: .5;
  line-height: 1;
  margin-bottom: 10px;
}
.service-step-card h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.service-step-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ─── WHY US PAGE ─────────────────────────────────────────────── */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.differentiator-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.differentiator-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.diff-num {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--light-bg);
}
.diff-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-mid);
  margin-bottom: 14px;
}
.diff-icon svg { width: 22px; height: 22px; fill: var(--teal-mid); }
.differentiator-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.differentiator-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* Comparison table */
.comparison-table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th {
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}
.comparison-table .cm-col { background: var(--teal-dark); }
.comparison-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--navy-mid);
}
.comparison-table tr:nth-child(even) td { background: var(--light-gray); }
.comparison-table td.cm-col {
  color: var(--teal-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comparison-table td.cm-col svg { width: 14px; height: 14px; fill: var(--teal-mid); }

/* ─── SPECIALTIES PAGE ────────────────────────────────────────── */
.spec-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.spec-full-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all .2s;
  cursor: default;
}
.spec-full-card:hover { background: white; border-color: var(--teal-mid); box-shadow: var(--shadow-sm); }
.spec-full-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(42,157,157,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-mid);
  flex-shrink: 0;
}
.spec-full-icon svg { width: 20px; height: 20px; fill: var(--teal-mid); }
.spec-full-content h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.spec-full-content p  { font-size: 12px; color: var(--gray); line-height: 1.55; }

.specialty-stats-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.spc-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spc-stat { background: var(--light-bg); border-radius: 12px; padding: 20px; text-align: center; }
.spc-stat-num { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--teal-dark); display: block; }
.spc-stat-lbl { font-size: 12px; color: var(--gray); margin-top: 4px; display: block; }

/* ─── CONTACT PAGE ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.contact-form-title { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.contact-form-title span { color: var(--teal-mid); }

.cm-form .form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.form-field .req { color: var(--teal-mid); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--navy);
  font-family: var(--font-body);
  background: var(--light-gray);
  outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal-mid);
  background: white;
  box-shadow: 0 0 0 3px rgba(42,157,157,.1);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.contact-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.contact-info-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.contact-info-items { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-item .cm-icon { color: var(--teal-mid); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-info-item svg  { width: 20px; height: 20px; fill: var(--teal-mid); }
.contact-info-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.contact-info-item a, .contact-info-item span { font-size: 13px; color: var(--gray); margin-top: 2px; display: block; }
.contact-info-item a:hover { color: var(--teal-mid); }

.why-contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.why-contact-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--navy-mid); }
.why-contact-list svg { width: 14px; height: 14px; fill: var(--teal-mid); flex-shrink: 0; }

.contact-social-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  transition: all .2s;
}
.social-link:hover { background: var(--teal-mid); color: white; border-color: var(--teal-mid); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── CAREERS PAGE ────────────────────────────────────────────── */
.culture-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.culture-val-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}
.culture-val-card .cm-icon { font-size: 26px; color: var(--teal-mid); margin-bottom: 10px; display: block; }
.culture-val-card svg { width: 28px; height: 28px; fill: var(--teal-mid); margin-bottom: 10px; }
.culture-val-card h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.culture-val-card p { font-size: 13px; color: var(--gray); line-height: 1.55; }

.jobs-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.job-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: box-shadow .2s;
}
.job-card:hover { box-shadow: var(--shadow-md); }
.job-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.job-type, .job-specialty {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--gray); font-weight: 500;
}
.job-type svg, .job-specialty svg { width: 13px; height: 13px; fill: var(--teal-mid); }
.job-desc { font-size: 13px; color: var(--gray); line-height: 1.6; max-width: 560px; }
.job-actions { flex-shrink: 0; }
.jobs-general-cta { text-align: center; padding: 28px; background: white; border: 1px dashed var(--border); border-radius: 14px; }
.jobs-general-cta p { color: var(--gray); margin-bottom: 14px; }

.apply-steps {
  display: flex;
  gap: 0;
  position: relative;
}
.apply-steps::before {
  content: '';
  position: absolute; top: 30px; left: 60px; right: 60px;
  height: 2px; background: rgba(94,212,212,.2);
}
.apply-step { flex: 1; text-align: center; padding: 0 16px; }
.apply-step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal-mid); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  margin: 0 auto 14px; position: relative; z-index: 1;
  border: 3px solid rgba(94,212,212,.35);
}
.apply-step-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(44,157,157,.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; color: var(--accent);
}
.apply-step-icon svg { width: 18px; height: 18px; fill: var(--accent); }
.apply-step h4 { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: white; margin-bottom: 6px; }
.apply-step p  { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ─── BLOG ────────────────────────────────────────────────────── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.blog-category-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat-pill {
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--gray);
  background: white;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
}
.cat-pill:hover, .cat-pill.active { background: var(--teal-mid); border-color: var(--teal-mid); color: white; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image {
  display: block;
  height: 200px;
  overflow: hidden;
  background: var(--light-bg);
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-image-placeholder {
  display: flex; align-items: center; justify-content: center;
}
.blog-placeholder-icon { color: var(--teal-light); }
.blog-placeholder-icon svg { width: 40px; height: 40px; fill: var(--teal-light); }
.blog-cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--teal-mid);
  background: var(--light-bg);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-decoration: none;
}
.blog-card-body { padding: 20px; }
.blog-card-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--teal-mid); }
.blog-card-excerpt { font-size: 13px; color: var(--gray); line-height: 1.65; margin-bottom: 14px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; }
.blog-meta { display: flex; gap: 12px; }
.blog-meta span { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gray); }
.blog-meta svg { width: 12px; height: 12px; fill: var(--gray); }
.blog-read-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--teal-mid); transition: gap .2s; }
.blog-read-more:hover { gap: 8px; }
.blog-read-more svg { width: 14px; height: 14px; fill: var(--teal-mid); }

.blog-pagination { margin-top: 40px; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.blog-pagination .page-numbers {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--navy);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all .2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current { background: var(--teal-mid); border-color: var(--teal-mid); color: white; }

/* Sidebar */
.blog-sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin-bottom: 20px; }
.sidebar-widget-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.sidebar-cat-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-cat-list li a { font-size: 13px; color: var(--gray); display: flex; justify-content: space-between; }
.sidebar-cat-list li a:hover { color: var(--teal-mid); }
.sidebar-recent-posts { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sidebar-recent-posts li { border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.sidebar-recent-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent-posts a { font-size: 13px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 3px; line-height: 1.4; }
.sidebar-recent-posts a:hover { color: var(--teal-mid); }
.sidebar-recent-posts span { font-size: 11px; color: var(--gray); }
.sidebar-cta { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-color: transparent; text-align: center; }
.sidebar-cta-icon { margin: 0 auto 12px; color: var(--accent); }
.sidebar-cta-icon svg { width: 32px; height: 32px; fill: var(--accent); }
.sidebar-cta h4 { color: white; font-family: var(--font-head); font-size: 16px; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 14px; }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form .search-field {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: var(--font-body);
  outline: none;
}
.search-form .search-field:focus { border-color: var(--teal-mid); }
.search-form .search-submit {
  padding: 10px 16px; background: var(--teal-mid); color: white;
  border: none; border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}

/* Single Post */
.single-post-hero { min-height: auto; }
.single-post-hero-content { max-width: 800px; }
.single-post-hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 14px 0 4px;
}
.single-post-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.post-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.post-meta-item svg { width: 14px; height: 14px; fill: rgba(255,255,255,.6); }
.single-post-thumbnail { border-radius: 14px; overflow: hidden; margin-bottom: 32px; }
.single-post-thumbnail img { width: 100%; height: 400px; object-fit: cover; }
.single-post-content { margin-bottom: 32px; }

/* Prose content styles */
.prose-content h2 { font-family: var(--font-head); font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; color: var(--navy); margin: 32px 0 14px; }
.prose-content h3 { font-family: var(--font-head); font-size: clamp(17px, 2vw, 21px); font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.prose-content h4 { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--navy); margin: 20px 0 8px; }
.prose-content p  { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 18px; }
.prose-content ul, .prose-content ol { padding-left: 24px; margin-bottom: 18px; }
.prose-content li { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 6px; }
.prose-content a  { color: var(--teal-mid); text-decoration: underline; }
.prose-content strong { color: var(--navy); font-weight: 600; }
.prose-content blockquote { border-left: 3px solid var(--teal-mid); padding: 12px 20px; background: var(--light-bg); border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; }
.prose-content img { border-radius: 10px; margin: 20px 0; }

.post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.post-tags span { font-size: 13px; font-weight: 600; color: var(--gray); }
.post-tag { font-size: 12px; background: var(--light-bg); border: 1px solid var(--border); color: var(--navy); padding: 4px 10px; border-radius: 4px; }
.post-tag:hover { background: var(--teal-mid); color: white; border-color: var(--teal-mid); }

.author-box { display: flex; gap: 16px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 24px; align-items: flex-start; }
.author-avatar img { border-radius: 50%; }
.author-info strong { font-size: 14px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 4px; }
.author-info p { font-size: 13px; color: var(--gray); line-height: 1.6; margin: 0; }

.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.post-nav-prev, .post-nav-next { flex: 1; }
.post-nav-prev a, .post-nav-next a { font-size: 13px; font-weight: 600; color: var(--teal-mid); display: block; }
.post-nav-next { text-align: right; }

/* Search Results */
.search-results-list { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.search-result-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.search-result-type { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--teal-mid); letter-spacing: .5px; margin-bottom: 6px; }
.search-result-card h2 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.search-result-card h2 a:hover { color: var(--teal-mid); }
.search-result-card p { font-size: 14px; color: var(--gray); line-height: 1.65; margin-bottom: 12px; }

/* No posts state */
.no-posts { text-align: center; padding: 60px 20px; }
.no-posts .cm-icon { font-size: 48px; color: var(--border); margin-bottom: 16px; display: block; }
.no-posts svg { width: 48px; height: 48px; fill: var(--border); margin-bottom: 16px; }
.no-posts h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.no-posts p { color: var(--gray); margin-bottom: 24px; }

/* Footer social & contact */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: all .2s;
}
.footer-social a:hover { background: var(--teal-mid); color: white; }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.footer-contact-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-contact-item svg { width: 14px; height: 14px; fill: var(--accent); }
.footer-contact-item:hover { color: white; }

/* Icon instagram helper */
.cm-icon svg { stroke: none; }

/* ─── RESPONSIVE ADDITIONS ────────────────────────────────────── */
@media (max-width: 1100px) {
  .differentiators-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-full-grid { grid-template-columns: repeat(2, 1fr); }
  .service-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid-full { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-card { flex-direction: column; }
  .apply-steps { flex-direction: column; gap: 24px; }
  .apply-steps::before { display: none; }
  .apply-step { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .apply-step-num { margin: 0; flex-shrink: 0; }
  .apply-step-text { text-align: left; }
  .comparison-table { font-size: 13px; }
}

@media (max-width: 768px) {
  .top-bar-left .hide-mobile { display: none; }
  .spec-full-grid { grid-template-columns: 1fr; }
  .service-steps-grid { grid-template-columns: 1fr; }
  .differentiators-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .spc-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-values-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .blog-grid-3 { grid-template-columns: 1fr; }
  .cm-form .form-row-group { grid-template-columns: 1fr; }
  .about-icon-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-metric-row { flex-direction: column; }
  .top-bar-social { display: none; }
  .service-metrics-card { grid-template-columns: 1fr 1fr; }
  .two-col-hero { flex-direction: column; gap: 24px; }
  .service-hero-icon { width: 80px; height: 80px; }
  .service-hero-svg svg { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .about-stats { flex-wrap: wrap; }
  .about-stat { min-width: calc(50% - 12px); }
  .service-metrics-card { grid-template-columns: 1fr; }
  .spc-stat-grid { grid-template-columns: 1fr 1fr; }
  .blog-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ================================================================
   COMMENTS, FORMS & REMAINING UI
   ================================================================ */

/* ─── COMMENTS ────────────────────────────────────────────────── */
.comments-area {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.comments-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.comments-title span { color: var(--teal-mid); }

.comment-list { list-style: none; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-list .children { list-style: none; padding-left: 40px; }
.comment-body { }
.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.comment-author img { border-radius: 50%; flex-shrink: 0; }
.comment-author-info cite {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
  display: block;
}
.comment-author-info time { font-size: 12px; color: var(--gray); }
.comment-content { font-size: 14px; color: var(--navy-mid); line-height: 1.7; margin-bottom: 10px; }
.comment-reply { }
.comment-reply a { font-size: 12px; font-weight: 600; color: var(--teal-mid); }
.comment-awaiting-moderation { font-size: 12px; color: var(--gray); font-style: italic; margin-bottom: 8px; }
.no-comments { font-size: 14px; color: var(--gray); padding: 20px 0; }
.comment-password-required { font-size: 14px; color: var(--gray); }

/* Comment form */
.comment-respond { margin-top: 40px; }
.comment-reply-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.comment-reply-title small { margin-left: 10px; }
.comment-reply-title small a { font-size: 12px; color: var(--teal-mid); }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form .form-field label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; display: block; }
.comment-form .form-field input,
.comment-form .form-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: var(--font-body);
  background: var(--light-gray); outline: none;
  transition: border-color .2s;
}
.comment-form .form-field input:focus,
.comment-form .form-field textarea:focus { border-color: var(--teal-mid); background: white; }
.comment-form .form-field textarea { resize: vertical; min-height: 110px; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray); }
.comment-pagination { display: flex; gap: 8px; margin-top: 20px; }
.comment-pagination a, .comment-pagination span { padding: 6px 12px; border-radius: 6px; font-size: 13px; border: 1px solid var(--border); color: var(--navy); }
.comment-pagination a:hover { border-color: var(--teal-mid); color: var(--teal-mid); }

/* ─── SEARCH FORM EXTRA ───────────────────────────────────────── */
.search-form .search-submit .cm-icon { display: flex; }
.search-form .search-submit svg { width: 16px; height: 16px; fill: white; }

/* ─── PAGE LINKS (multi-page posts) ──────────────────────────── */
.page-links {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
}
.page-links a, .page-links > span:not(:first-child) {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 600;
  color: var(--navy);
}
.page-links a:hover { border-color: var(--teal-mid); color: var(--teal-mid); }
.page-links > span:not(:first-child) { background: var(--teal-mid); border-color: var(--teal-mid); color: white; }

/* ─── STICKY SIDEBAR OFFSET ──────────────────────────────────── */
@media (min-width: 1025px) {
  .blog-sidebar { position: sticky; top: 88px; max-height: calc(100vh - 100px); overflow-y: auto; }
}

/* ─── HOMEPAGE RECENT BLOG STRIP ─────────────────────────────── */
.home-blog-section { background: var(--light-bg); }
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.home-blog-cta { text-align: center; }

/* ─── TESTIMONIALS SECTION (homepage + why-us) ───────────────── */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-title { color: white; }
.testimonials-section .section-sub { color: rgba(255,255,255,.65); }

/* ─── FOCUS RING ACCESSIBILITY ───────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--teal-mid);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ─── PRINT STYLES ────────────────────────────────────────────── */
@media print {
  .notice-bar, .top-bar, .site-header, .mobile-nav,
  .nav-toggle, .cta-section, footer, .blog-sidebar,
  .blog-pagination { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .prose-content h2, .prose-content h3 { color: #000; }
}

/* ─── UTILITY CLASSES ─────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.flip { transform: scaleX(-1); display: inline-block; }

/* ─── FAQ ACCORDION ───────────────────────────────────────────── */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--teal-mid); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: color .2s;
}
.faq-question:hover { color: var(--teal-mid); }
.faq-item.open .faq-question { color: var(--teal-mid); }
.faq-icon { flex-shrink: 0; transition: transform .25s; color: var(--teal-mid); }
.faq-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-answer[hidden] { display: block !important; max-height: 0; padding-top: 0; padding-bottom: 0; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { font-size: 15px; color: var(--gray); line-height: 1.75; }

/* ─── HOME BLOG SECTION ───────────────────────────────────────── */
@media (max-width: 900px) {
  .home-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .home-blog-grid { grid-template-columns: 1fr; }
}

/* ================================================================

/* ================================================================
   v3.0 — ALL 10 CHANGES (clean consolidated append)
   ================================================================ */

/* ──────────────────────────────────────────────────────────────
   CHANGE #1 — LOGO: correct size & positioning
   The logo is landscape (roughly 4:1 ratio).
   We fix the HEIGHT and let width grow naturally.
   ────────────────────────────────────────────────────────────── */
.site-logo { gap: 0; padding: 6px 0; }

/* Header logo image */
.header-logo-img,
.site-logo .custom-logo-link img,
.site-logo .custom-logo {
  height: 58px !important;      /* fixed height — preserves proportion  */
  width: auto !important;
  max-width: 230px;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: none;
  padding: 0;
}

/* Remove the old shield-div completely */
.logo-shield { display: none !important; }
.logo-wordmark { display: none !important; }

/* Nav phone button */
.nav-phone-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--border);
  padding: 7px 14px;
  border-radius: 6px;
  background: transparent;
  transition: all .2s;
}
.nav-phone-btn:hover { border-color: var(--teal-mid); color: var(--teal-mid); }
.nav-phone-btn svg { width: 14px; height: 14px; fill: var(--teal-mid); }

/* Footer logo */
.footer-logo-img {
  height: 72px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  padding: 8px 12px;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-phone-btn { display: none; }
}
@media (max-width: 768px) {
  .header-logo-img,
  .site-logo .custom-logo-link img,
  .site-logo .custom-logo { height: 46px !important; max-width: 180px; }
  .footer-logo-img { height: 60px; }
}

/* ──────────────────────────────────────────────────────────────
   CHANGE #2 — HERO BACKGROUND SLIDER
   ────────────────────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  min-height: clamp(520px, 72vh, 700px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* Slide image layers */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

/* Dark gradient overlay — keeps text readable over any photo */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10,22,36,.90) 0%,
    rgba(20,45,64,.78) 50%,
    rgba(20,70,90,.55) 100%
  );
  z-index: 1;
}

/* Prev / Next arrows */
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 12;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.hero-arrow:hover { border-color: var(--accent); background: rgba(0,0,0,.45); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* Dot nav */
.hero-dots {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 12;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 10px; height: 10px; padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  transition: all .3s;
}
.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 28px; border-radius: 5px;
}

/* Slide captions (bottom-left) */
.hero-captions {
  position: absolute;
  bottom: 68px; left: var(--gap);
  z-index: 12; max-width: 460px;
}
.hero-caption {
  display: none;
  flex-direction: column; gap: 5px;
  animation: captionSlideIn .5s ease forwards;
}
.hero-caption.active { display: flex; }
@keyframes captionSlideIn {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}
.caption-tag {
  display: inline-block;
  background: var(--teal-mid); color: white;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 4px;
  width: fit-content;
}
.hero-caption strong {
  font-family: var(--font-head);
  font-size: clamp(13px,1.6vw,16px);
  color: rgba(255,255,255,.88);
  font-weight: 600;
}

/* Hero inner sits above slider overlay */
.hero-inner {
  position: relative; z-index: 5;
  display: flex; align-items: center;
  gap: clamp(28px,5vw,70px);
  width: 100%;
  padding-top:  clamp(60px,8vw,96px);
  padding-bottom: clamp(90px,11vw,110px);
}

/* Collapse to column on tablet */
@media (max-width: 1024px) {
  .hero-inner    { flex-direction: column; padding-bottom: 80px; }
  .hero-right    { width: 100%; max-width: 480px; margin: 0 auto; }
  .hero-captions { display: none; }
  .hero-arrow    { display: none; }
}
@media (max-width: 480px) {
  .hero-right  { display: none; }
  .hero-dots   { bottom: 14px; }
}

/* ──────────────────────────────────────────────────────────────
   CHANGE #3 — CERTIFICATION LOGOS (enhanced trust badges)
   ────────────────────────────────────────────────────────────── */
.trust-strip {
  background: white;
  border-bottom: 2px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}
.trust-strip-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.trust-label {
  font-size: 11px; font-weight: 700; color: var(--gray);
  text-transform: uppercase; letter-spacing: .8px; white-space: nowrap;
}
.trust-logos { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust-badge {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  background: var(--light-gray);
  transition: box-shadow .2s, transform .2s, border-color .2s;
  cursor: default;
}
.trust-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--teal-mid);
}
.cert-logo svg { width: 72px; height: 52px; border-radius: 5px; display: block; }
.trust-badge span {
  font-size: 11px; font-weight: 600; color: var(--navy);
  white-space: nowrap; text-align: center;
}
/* Hide any old text-only version */
.trust-badge > .cm-icon { display: none !important; }

@media (max-width: 768px) {
  .trust-logos { gap: 8px; }
  .trust-badge { padding: 8px 10px; }
  .cert-logo svg { width: 56px; height: 40px; }
  .trust-badge span { font-size: 10px; }
}

/* ──────────────────────────────────────────────────────────────
   CHANGES #4 #5 #6 #7 — SERVICE PICTURE CARDS
   ────────────────────────────────────────────────────────────── */

/* 3-col grid, taller cards */
.services-pic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Change #7: Larger card */
.svc-pic-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .28s, box-shadow .28s;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.svc-pic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(30,45,64,.15);
}

/* Change #6: Picture / illustration header */
.svc-pic-header {
  position: relative;
  height: 220px;          /* taller image area */
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Subtle radial glow */
.svc-pic-header::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(94,212,212,.15) 0%, transparent 70%);
  pointer-events: none;
}
.svc-pic-illustration {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  position: relative; z-index: 1;
}
.svc-pic-illustration svg {
  width: 100%; max-width: 220px; height: auto;
  max-height: 180px;
}
/* Service name tag on image */
.svc-pic-tag {
  position: absolute;
  bottom: 14px; left: 16px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .7px;
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
}

/* Card body */
.svc-pic-body {
  padding: 26px 24px 24px;
  flex: 1; display: flex; flex-direction: column;
}
.svc-pic-body h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
  line-height: 1.25;
}
.svc-pic-body > p {
  font-size: 14px; color: var(--gray);
  line-height: 1.65; margin-bottom: 16px;
}
.svc-pic-list {
  list-style: none; flex: 1;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
}
.svc-pic-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--navy-mid); font-weight: 500;
}
.svc-pic-list .cm-icon { color: var(--teal-mid); flex-shrink: 0; }
.svc-pic-list svg { width: 14px; height: 14px; fill: var(--teal-mid); flex-shrink: 0; }
.svc-pic-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700;
  color: var(--teal-mid);
  padding: 10px 0; border-top: 1px solid var(--border);
  margin-top: auto;
  transition: gap .2s;
}
.svc-pic-btn:hover { gap: 12px; color: var(--teal-dark); }
.svc-pic-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* 2-col on tablet */
@media (max-width: 1100px) {
  .services-pic-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .services-pic-grid { grid-template-columns: 1fr; }
  .svc-pic-header { height: 180px; }
}

/* ──────────────────────────────────────────────────────────────
   CHANGE #8 — HOW IT WORKS: clickable step links
   ────────────────────────────────────────────────────────────── */
.step {
  flex: 1; position: relative;
  text-align: center; padding: 0 12px;
  list-style: none;
}
.step-inner-link {
  display: block;
  border-radius: 16px;
  padding: 20px 10px 16px;
  text-decoration: none;
  transition: background .22s;
  cursor: pointer;
}
.step-inner-link:hover { background: rgba(94,212,212,.08); }
.step-inner-link:hover .step-num {
  background: var(--teal-light);
  box-shadow: 0 0 0 6px rgba(76,201,201,.2);
}
.step-learn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  margin-top: 10px;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.step-inner-link:hover .step-learn { opacity: 1; transform: translateY(0); }
.step-learn svg { width: 13px; height: 13px; fill: var(--accent); }

/* Mobile: stack steps vertically */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column; gap: 14px;
  }
  .process-steps::before { display: none; }
  .step { flex: none; text-align: left; display: flex; gap: 0; padding: 0; }
  .step-inner-link { display: flex; gap: 14px; align-items: flex-start; padding: 16px; width: 100%; }
  .step-num { margin: 0 !important; flex-shrink: 0; }
  .step-text { text-align: left; flex: 1; }
  .step-learn { opacity: 1; transform: none; }
}

/* ──────────────────────────────────────────────────────────────
   CHANGE #9 — FOOTER CONTACT: physical address styling
   ────────────────────────────────────────────────────────────── */
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: rgba(255,255,255,.6);
  line-height: 1.55;
}
.footer-contact-item .cm-icon,
.footer-contact-item svg {
  width: 16px; height: 16px;
  fill: var(--accent); flex-shrink: 0; margin-top: 2px;
}
.footer-contact-item a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-contact-item a:hover { color: white; }
/* Address block — slightly larger icon for map pin */
.footer-contact-item .address-block { display: block; }
.footer-contact-item .address-block strong { color: rgba(255,255,255,.8); font-size: 12px; display: block; margin-bottom: 2px; }

/* ──────────────────────────────────────────────────────────────
   CHANGE #10 — FOOTER LOGO: blinking sparkle stars
   ────────────────────────────────────────────────────────────── */
.footer-logo-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}
/* Stars positioned to match the actual sparkle stars in the logo
   (top-right area between the shield and the wordmark) */
.star-blink {
  position: absolute;
  pointer-events: none;
  font-style: normal;
  line-height: 1;
  color: var(--accent);
  animation: starPulse 2.4s ease-in-out infinite;
  z-index: 2;
}
.star-blink-1 {
  top: 5px; right: 60px;
  font-size: 18px;
  animation-delay: 0s;
}
.star-blink-2 {
  top: 14px; right: 44px;
  font-size: 12px;
  animation-delay: 0.5s;
}
.star-blink-3 {
  top: 3px; right: 47px;
  font-size: 9px;
  animation-delay: 1.0s;
}
@keyframes starPulse {
  0%,100% { opacity: 0;   transform: scale(0.5) rotate(0deg); }
  30%,70% { opacity: 1;   transform: scale(1.2) rotate(15deg); }
  50%      { opacity: 0.9; transform: scale(1.0) rotate(0deg); }
}

/* ──────────────────────────────────────────────────────────────
   HOW IT WORKS STEP INNER PAGES
   ────────────────────────────────────────────────────────────── */
.hiw-page-hero { background: linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 60%,#1B4D6B 100%); }
.hiw-step-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(44,157,157,.18);
  border: 1px solid rgba(94,212,212,.35);
  border-radius: 30px; padding: 6px 18px;
  margin-bottom: 16px;
}
.hiw-step-badge .step-badge-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal-mid); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 14px; font-weight: 800;
}
.hiw-step-badge span { font-size: 12px; font-weight: 600; color: var(--accent); }

/* Step detail content card */
.hiw-detail-card {
  background: white; border: 1px solid var(--border);
  border-radius: 20px; padding: clamp(24px,4vw,40px);
  box-shadow: var(--shadow-md);
}
.hiw-detail-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--light-bg); color: var(--teal-mid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.hiw-detail-icon svg { width: 32px; height: 32px; fill: var(--teal-mid); }
.hiw-detail-card h2 {
  font-family: var(--font-head); font-size: clamp(22px,3vw,30px);
  font-weight: 800; color: var(--navy); margin-bottom: 14px;
}
.hiw-detail-card h2 span { color: var(--teal-mid); }
.hiw-detail-card p { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 20px; }

/* Step navigation pills */
.hiw-step-nav {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.hiw-step-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 30px;
  border: 1.5px solid var(--border); background: white;
  font-size: 13px; font-weight: 600; color: var(--gray);
  text-decoration: none; transition: all .2s;
}
.hiw-step-pill:hover  { border-color: var(--teal-mid); color: var(--teal-mid); }
.hiw-step-pill.active { background: var(--teal-mid); border-color: var(--teal-mid); color: white; }
.hiw-step-pill-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,.1); color: inherit;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.hiw-step-pill.active .hiw-step-pill-num { background: rgba(255,255,255,.25); }

/* Prev / next nav at bottom of step page */
.hiw-prev-next {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
}
.hiw-nav-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  border: 1.5px solid var(--border); background: white;
  font-size: 14px; font-weight: 600; color: var(--navy);
  text-decoration: none; transition: all .2s;
  min-width: 160px;
}
.hiw-nav-btn:hover { border-color: var(--teal-mid); color: var(--teal-mid); background: var(--light-bg); }
.hiw-nav-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.hiw-nav-btn.next { margin-left: auto; }

@media (max-width: 768px) {
  .hiw-step-nav { gap: 4px; }
  .hiw-step-pill { padding: 6px 10px; font-size: 12px; }
  .hiw-nav-btn { min-width: auto; font-size: 13px; padding: 10px 14px; }
  .hiw-prev-next { flex-direction: column; }
}

/* ──────────────────────────────────────────────────────────────
   COMMENTS, FORMS & MISC (carried over from previous session)
   ────────────────────────────────────────────────────────────── */
.comments-area { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments-title { font-family:var(--font-head); font-size:22px; font-weight:700; color:var(--navy); margin-bottom:28px; }
.comment-list { list-style:none; }
.comment-list .comment { padding:20px 0; border-bottom:1px solid var(--border); }
.comment-list .children { list-style:none; padding-left:36px; }
.comment-body { }
.comment-author { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.comment-author img { border-radius:50%; flex-shrink:0; }
.comment-author-info cite { font-family:var(--font-head); font-size:14px; font-weight:700; color:var(--navy); font-style:normal; display:block; }
.comment-author-info time { font-size:12px; color:var(--gray); }
.comment-content { font-size:14px; color:var(--navy-mid); line-height:1.7; margin-bottom:10px; }
.comment-reply a { font-size:12px; font-weight:600; color:var(--teal-mid); }
.comment-awaiting-moderation { font-size:12px; color:var(--gray); font-style:italic; margin-bottom:8px; }
.comment-respond { margin-top:40px; }
.comment-reply-title { font-family:var(--font-head); font-size:20px; font-weight:700; color:var(--navy); margin-bottom:20px; }
.comment-reply-title small { margin-left:10px; }
.comment-reply-title small a { font-size:12px; color:var(--teal-mid); }
.comment-form { display:flex; flex-direction:column; gap:14px; }
.comment-form .form-field label { font-size:13px; font-weight:600; color:var(--navy); margin-bottom:5px; display:block; }
.comment-form .form-field input,
.comment-form .form-field textarea { width:100%; padding:11px 14px; border:1.5px solid var(--border); border-radius:8px; font-size:14px; font-family:var(--font-body); background:var(--light-gray); outline:none; transition:border-color .2s; }
.comment-form .form-field input:focus,
.comment-form .form-field textarea:focus { border-color:var(--teal-mid); background:white; }
.comment-form .form-field textarea { resize:vertical; min-height:110px; }

/* Search form */
.search-form { display:flex; gap:8px; }
.search-form .search-field { flex:1; padding:10px 14px; border:1.5px solid var(--border); border-radius:8px; font-size:14px; font-family:var(--font-body); outline:none; }
.search-form .search-field:focus { border-color:var(--teal-mid); }
.search-form .search-submit { padding:10px 16px; background:var(--teal-mid); color:white; border:none; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:4px; }
.search-form .search-submit svg { width:15px; height:15px; fill:white; }

/* FAQ */
.faq-list { max-width:860px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item { background:white; border:1.5px solid var(--border); border-radius:12px; overflow:hidden; transition:border-color .2s; }
.faq-item.open { border-color:var(--teal-mid); }
.faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; background:none; border:none; cursor:pointer; text-align:left; font-family:var(--font-head); font-size:16px; font-weight:600; color:var(--navy); transition:color .2s; }
.faq-question:hover, .faq-item.open .faq-question { color:var(--teal-mid); }
.faq-icon { flex-shrink:0; transition:transform .25s; color:var(--teal-mid); }
.faq-icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; }
.faq-item.open .faq-icon { transform:rotate(180deg); }
.faq-answer { padding:0 24px; max-height:0; overflow:hidden; transition:max-height .3s ease, padding .3s ease; }
.faq-answer[hidden] { display:block !important; max-height:0; padding-top:0; padding-bottom:0; }
.faq-item.open .faq-answer { max-height:400px; padding-bottom:20px; }
.faq-answer p { font-size:15px; color:var(--gray); line-height:1.75; }

/* Blog home grid */
.home-blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px) { .home-blog-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px) { .home-blog-grid { grid-template-columns:1fr; } }

/* General focus ring */
:focus-visible { outline:2px solid var(--teal-mid); outline-offset:2px; border-radius:3px; }

/* Print */
@media print {
  .notice-bar,.top-bar,.site-header,.mobile-nav,.nav-toggle,.cta-section,footer,.blog-sidebar,.blog-pagination { display:none !important; }
  body { font-size:12pt; color:#000; }
  a { color:#000; text-decoration:underline; }
}

/* Active step highlight in full process section */
.step-num-active {
  background: white !important;
  color: var(--teal-dark) !important;
  box-shadow: 0 0 0 4px var(--accent), 0 0 0 8px rgba(94,212,212,.25) !important;
  font-size: 20px;
}

/* ──────────────────────────────────────────────────────────────
   STATS INTRO TEXT
   ────────────────────────────────────────────────────────────── */
.stats-intro {
  text-align: center;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 28px;
}

/* ──────────────────────────────────────────────────────────────
   FOUNDER / LEADERSHIP SECTION
   ────────────────────────────────────────────────────────────── */
.founder-section { background: var(--light-bg); }
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 36px;
}
.founder-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}
.founder-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: var(--light-bg);
  border: 3px solid var(--border);
}
.founder-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.founder-card h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.founder-role {
  font-size: 13px; font-weight: 600;
  color: var(--teal-mid); margin-bottom: 12px;
}
.founder-bio {
  font-size: 14px; color: var(--gray);
  line-height: 1.65;
}
.founder-baa-note {
  display: flex; align-items: center;
  justify-content: center; gap: 10px;
  background: white;
  border: 2px solid var(--teal-mid);
  border-radius: 12px;
  padding: 18px 24px;
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
}
.founder-baa-note .cm-icon { color: var(--teal-mid); font-size: 20px; flex-shrink: 0; }
.founder-baa-note svg { width: 20px; height: 20px; fill: var(--teal-mid); flex-shrink: 0; }

@media (max-width: 640px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-baa-note { flex-direction: column; text-align: center; }
}

/* ──────────────────────────────────────────────────────────────
   TESTIMONIAL PLACEHOLDERS
   ────────────────────────────────────────────────────────────── */
.testi-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  min-height: 200px;
  border-style: dashed;
}
.testi-placeholder-text {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 280px;
}

/* ──────────────────────────────────────────────────────────────
   PRICING SECTION
   ────────────────────────────────────────────────────────────── */
.pricing-section { background: var(--light-bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
}
.pricing-card h3 {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700;
  color: var(--navy); margin-bottom: 16px;
}
.pricing-model { text-align: center; margin-bottom: 24px; }
.pricing-range {
  font-family: var(--font-head);
  font-size: 42px; font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
}
.pricing-range-label {
  font-size: 14px; color: var(--gray);
  margin-top: 4px;
}
.pricing-includes {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
}
.pricing-includes li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--navy-mid);
}
.pricing-includes .cm-icon { color: var(--teal-mid); flex-shrink: 0; }
.pricing-includes svg { width: 14px; height: 14px; fill: var(--teal-mid); flex-shrink: 0; }
.pricing-card-alt {
  background: var(--navy);
  border-color: var(--navy-mid);
}
.pricing-card-alt h3 { color: white; }
.pricing-card-alt p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.65; margin-bottom: 20px; }
.pricing-card-alt .pricing-includes li { color: rgba(255,255,255,.8); }
.pricing-card-alt .pricing-includes .cm-icon { color: var(--accent); }
.pricing-card-alt .pricing-includes svg { fill: var(--accent); }

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

/* ──────────────────────────────────────────────────────────────
   FORM VALIDATION VISUAL FEEDBACK
   ────────────────────────────────────────────────────────────── */
.form-row input.invalid,
.form-row select.invalid {
  border-color: #e05260;
  box-shadow: 0 0 0 3px rgba(224,82,96,.15);
}
.form-row .field-error {
  font-size: 11px;
  color: #e05260;
  margin-top: 4px;
  display: block;
}

/* ═══════════════════════════════════════════════════════
   REVIEW / TRUST STRIP
   ═══════════════════════════════════════════════════════ */
.review-trust-strip {
  background: #f8fafb;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.review-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.review-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
}
.review-stars {
  display: flex;
  gap: 2px;
}
.review-score strong { color: var(--navy); }
.review-source { color: var(--gray); font-size: 13px; }
.bbb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 22px;
  background: #005a8c;
  color: white;
  font-size: 10px;
  font-weight: 800;
  border-radius: 3px;
  letter-spacing: .5px;
}
@media(max-width:640px) {
  .review-trust-inner { gap: 20px; }
  .review-badge { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════
   PAYER LOGO MARQUEE
   ═══════════════════════════════════════════════════════ */
.payer-marquee-section {
  padding: 40px 0 32px;
  overflow: hidden;
}
.payer-marquee-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-bottom: 20px;
}
.payer-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.payer-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.payer-marquee:hover .payer-marquee-track {
  animation-play-state: paused;
}
.payer-logo-item {
  flex-shrink: 0;
  padding: 10px 28px;
  display: flex;
  align-items: center;
}
.payer-logo-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  opacity: .5;
  white-space: nowrap;
  transition: opacity .2s;
}
.payer-logo-item:hover span { opacity: 1; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════
   COST COMPARISON CALCULATOR
   ═══════════════════════════════════════════════════════ */
.cost-compare-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2640 100%);
  padding: 80px 0;
}
.cost-calculator {
  max-width: 900px;
  margin: 0 auto;
}
.calc-slider-wrap {
  text-align: center;
  margin-bottom: 40px;
}
.calc-slider-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.calc-slider-value {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 16px;
}
.calc-range {
  width: 100%;
  max-width: 600px;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  cursor: grab;
}
.calc-range::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  cursor: grab;
}
.calc-slider-range {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 8px auto 0;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.calc-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.calc-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
}
.calc-card-ribbon {
  position: absolute;
  top: -1px; right: 20px;
  background: var(--teal);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 12px 6px;
  border-radius: 0 0 8px 8px;
}
.calc-card-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.calc-card-amount {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}
.calc-card-amount span { font-size: 16px; font-weight: 400; opacity: .5; }
.calc-inhouse .calc-card-amount { color: #ff6b6b; }
.calc-cm .calc-card-amount { color: #5ED4D4; }
.calc-cm { border-color: rgba(94,212,212,.3); }
.calc-breakdown {
  list-style: none;
  padding: 0; margin: 0;
}
.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.calc-breakdown li:last-child { border-bottom: none; }
.calc-free { color: #5ED4D4; font-weight: 600; }
.calc-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.calc-vs-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: rgba(255,255,255,.5);
  font-size: 14px;
}
.calc-savings {
  text-align: center;
}
.savings-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.4);
}
.savings-amount {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: #5ED4D4;
  margin: 4px 0;
}
@media(max-width:768px) {
  .calc-comparison {
    grid-template-columns: 1fr;
  }
  .calc-vs {
    flex-direction: row;
    padding: 8px 0;
  }
}

/* ═══════════════════════════════════════════════════════
   SMALL PRACTICES SECTION
   ═══════════════════════════════════════════════════════ */
.small-practice-section {
  background: var(--light-bg);
}
.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.sp-pain-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sp-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.sp-point-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.sp-point-icon svg { width: 16px; height: 16px; fill: white; }
.sp-point strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 2px;
}
.sp-point p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}
.sp-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.sp-before-after {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.sp-ba-card {
  flex: 1;
  border-radius: 16px;
  padding: 24px 20px;
}
.sp-before {
  background: #fff5f5;
  border: 1px solid #fecdd3;
}
.sp-after {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
}
.sp-ba-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.sp-before .sp-ba-label { color: #e05260; }
.sp-after .sp-ba-label { color: var(--teal-mid); }
.sp-ba-card ul {
  list-style: none;
  padding: 0; margin: 0;
}
.sp-ba-card li {
  font-size: 13px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-before li { color: #9b2c3c; }
.sp-after li { color: #115e59; }
.sp-ba-card li svg { width: 14px; height: 14px; flex-shrink: 0; }
.sp-before li svg { fill: #e05260; }
.sp-after li svg { fill: var(--teal-mid); }
.sp-ba-arrow {
  display: flex;
  align-items: center;
  font-size: 28px;
  color: var(--teal);
  font-weight: 700;
}
@media(max-width:768px) {
  .sp-grid { grid-template-columns: 1fr; }
  .sp-before-after { flex-direction: column; }
  .sp-ba-arrow { justify-content: center; transform: rotate(90deg); }
}

/* ═══════════════════════════════════════════════════════
   NATIONWIDE SECTION
   ═══════════════════════════════════════════════════════ */
.nationwide-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(44,157,157,.08), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(94,212,212,.07), transparent 40%),
    linear-gradient(135deg, #f4fbfb 0%, #eef6f8 100%);
}
.nw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.nw-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nw-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.nw-feature-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nw-feature-icon svg { width: 16px; height: 16px; fill: white; }
.nw-feature strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.nw-feature p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.5; }
.nw-map {
  display: flex;
  align-items: center;
  justify-content: center;
}
.us-map-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}
@media(max-width:768px) {
  .nw-grid { grid-template-columns: 1fr; }
  .nw-map { order: -1; }
}

/* ═══════════════════════════════════════════════════════
   FLOATING CONTACT BUTTON
   ═══════════════════════════════════════════════════════ */
.floating-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fc-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fcSlideUp .25s ease;
}
.fc-options[hidden] { display: none; }
@keyframes fcSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 28px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .15s, box-shadow .15s;
}
.fc-option:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.fc-whatsapp { background: #25D366; }
.fc-phone    { background: var(--teal-mid); }
.fc-email    { background: var(--navy); }
.fc-trigger {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(42,157,157,.4);
  transition: transform .2s, background .2s;
}
.fc-trigger:hover {
  transform: scale(1.08);
  background: var(--teal-mid);
}
.fc-trigger.active .fc-icon-open  { display: none; }
.fc-trigger.active .fc-icon-close { display: block !important; }
@media(max-width:640px) {
  .floating-contact { bottom: 16px; right: 16px; }
  .fc-option span { display: none; }
  .fc-option { padding: 12px; border-radius: 50%; }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE REVISION (2026) — lighter/smaller hero, compact cards,
   real cert icons, smaller How-It-Works
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero: reduce size + light background ─────────────────────── */
.hero-slider { min-height: clamp(340px, 48vh, 440px); }
.hero-slider .hero-inner {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
/* Light overlay instead of the dark one */
.hero-slider .hero-overlay {
  background: linear-gradient(110deg,
    rgba(238,248,249,.55) 0%,
    rgba(224,242,244,.42) 50%,
    rgba(208,236,238,.30) 100%);
}
/* Dark text on the now-light hero */
.hero-slider h1 { color: var(--navy); }
.hero-slider .hero-desc { color: var(--gray); }
.hero-slider .hero-stat-num { color: var(--navy); }
.hero-slider .hero-stat-lbl { color: var(--gray); }
.hero-slider .hero-badge {
  background: rgba(44,157,157,.12);
  color: var(--teal-dark);
  border-color: rgba(44,157,157,.35);
}
.hero-slider .hero-caption strong { color: var(--navy); }
.hero-slider .btn-ghost-white { color: var(--navy); border-color: rgba(20,45,64,.3); }
.hero-slider .btn-ghost-white:hover { background: rgba(20,45,64,.06); }
/* Arrows + dots readable on light bg */
.hero-slider .hero-arrow { color: var(--navy); border-color: rgba(20,45,64,.2); background: rgba(255,255,255,.6); }
.hero-slider .hero-arrow:hover { border-color: var(--teal-mid); background: rgba(255,255,255,.85); }
.hero-slider .hero-dot { border-color: rgba(20,45,64,.35); }

/* ── Certification badges: real icons ────────────────────────── */
.trust-badge .cert-logo {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(44,157,157,.10);
  border: 1px solid rgba(44,157,157,.22);
  color: var(--teal-mid);
}
.trust-badge .cert-logo svg,
.trust-badge .cert-logo .cm-icon svg {
  width: 26px; height: 26px;
  border-radius: 0;
  color: var(--teal-mid);
}

/* ── Compact "What We Offer" cards ───────────────────────────── */
.services-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.svc-mini-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(44,157,157,.35);
}
.svc-mini-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--light-bg);
  color: var(--teal-mid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-mini-icon svg { width: 24px; height: 24px; color: var(--teal-mid); }
.svc-mini-card h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.svc-mini-card p {
  font-size: 14px; color: var(--gray);
  line-height: 1.6; margin-bottom: 16px;
}
.svc-mini-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--teal-mid); transition: gap .2s, color .2s;
}
.svc-mini-btn:hover { gap: 10px; color: var(--teal-dark); }
.svc-mini-btn svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .services-grid-compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid-compact { grid-template-columns: 1fr; } }

/* ── How It Works: reduced size ──────────────────────────────── */
.process-section { padding-top: clamp(40px,5vw,60px); padding-bottom: clamp(40px,5vw,60px); }
.process-section .step-num { transform: scale(.85); }
.process-section .step-text h4 { font-size: 16px; }
.process-section .step-text p { font-size: 13px; }

/* ── Top bar: push social icons to the extreme right ─────────── */
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; }
.top-bar-social { margin-left: auto; }

/* ── Blog: auto-scrolling (leftward) marquee ─────────────────── */
.blog-marquee {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.blog-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: blogScrollLeft 45s linear infinite;
}
.blog-marquee:hover .blog-marquee-track { animation-play-state: paused; }
.blog-marquee .blog-card {
  flex: 0 0 340px;
  width: 340px;
  margin: 0;
}
@keyframes blogScrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 560px) {
  .blog-marquee .blog-card { flex-basis: 280px; width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-marquee-track { animation: none; }
}

/* ── Footer: reduced size + transparent logo (no white box) ──── */
footer { padding: clamp(28px, 4vw, 40px) var(--gap) 18px; }
.footer-grid { margin-bottom: 28px; gap: clamp(20px, 3vw, 36px); }
.footer-brand p { margin-top: 10px; font-size: 13px; line-height: 1.6; }
.footer-col h4 { margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-social { margin-top: 14px; }
.footer-bottom { padding-top: 16px; }

/* Logo: transparent PNG rendered directly, no white plate, smaller */
.footer-logo-img {
  height: 58px;
  background: none;
  padding: 0;
  border-radius: 0;
  max-width: 240px;
}
@media (max-width: 768px) { .footer-logo-img { height: 48px; } }

/* ── Certifications: rotating logo marquee (real logos) ──────── */
.cert-marquee {
  overflow: hidden; width: 100%; padding: 8px 0; margin-top: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.cert-marquee-track {
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  animation: certScroll 32s linear infinite;
}
.cert-marquee:hover .cert-marquee-track { animation-play-state: paused; }
.cert-item {
  flex: 0 0 auto;
  height: 76px; padding: 12px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.cert-item img { height: 100%; width: auto; max-width: 190px; object-fit: contain; display: block; }
@keyframes certScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cert-marquee-track { animation: none; } }

/* ── Save Money: lighter amounts for contrast on dark bg ─────── */
.calc-slider-value { color: #8fe9e9; }
.calc-cm .calc-card-amount, .savings-amount { color: #9ff0f0; }
.calc-inhouse .calc-card-amount { color: #ff9a9a; }

/* ── "Talk to Us Now" button hover animation ────────────────── */
.sp-talk-btn { transition: transform .2s, box-shadow .2s; }
.sp-talk-btn:hover { animation: talkBounce 1s ease infinite; box-shadow: 0 8px 20px rgba(44,157,157,.25); }
.sp-talk-btn svg { transition: transform .3s; transform-origin: center; }
.sp-talk-btn:hover svg { animation: talkRing .6s ease infinite; }
@keyframes talkBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes talkRing { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }

/* ── "With Care Medicus" card: looping line-by-line reveal ───── */
/* Both cards reveal their points in sync, line by line, looping (faster) */
.sp-before ul, .sp-after ul { min-height: 1px; }
.sp-before ul li, .sp-after ul li { opacity: 0; }
.sp-before ul li:nth-child(1), .sp-after ul li:nth-child(1) { animation: spReveal1 6s infinite; }
.sp-before ul li:nth-child(2), .sp-after ul li:nth-child(2) { animation: spReveal2 6s infinite; }
.sp-before ul li:nth-child(3), .sp-after ul li:nth-child(3) { animation: spReveal3 6s infinite; }
.sp-before ul li:nth-child(4), .sp-after ul li:nth-child(4) { animation: spReveal4 6s infinite; }
.sp-before ul li:nth-child(5), .sp-after ul li:nth-child(5) { animation: spReveal5 6s infinite; }
@keyframes spReveal1 { 0%,4%{opacity:0;transform:translateY(8px);} 9%,90%{opacity:1;transform:none;} 96%,100%{opacity:0;transform:translateY(-4px);} }
@keyframes spReveal2 { 0%,17%{opacity:0;transform:translateY(8px);} 22%,90%{opacity:1;transform:none;} 96%,100%{opacity:0;transform:translateY(-4px);} }
@keyframes spReveal3 { 0%,30%{opacity:0;transform:translateY(8px);} 35%,90%{opacity:1;transform:none;} 96%,100%{opacity:0;transform:translateY(-4px);} }
@keyframes spReveal4 { 0%,43%{opacity:0;transform:translateY(8px);} 48%,90%{opacity:1;transform:none;} 96%,100%{opacity:0;transform:translateY(-4px);} }
@keyframes spReveal5 { 0%,56%{opacity:0;transform:translateY(8px);} 61%,90%{opacity:1;transform:none;} 96%,100%{opacity:0;transform:translateY(-4px);} }
@media (prefers-reduced-motion: reduce) { .sp-before ul li, .sp-after ul li { opacity: 1 !important; animation: none !important; } }

/* ── Partner (payer/EHR) marquee: real logo images ──────────── */
.payer-logo-item { padding: 12px 22px; }
.payer-logo-item img {
  height: 44px; width: auto; max-width: 158px;
  object-fit: contain; display: block;
  transition: filter .25s, opacity .25s;
}
.payer-logo-item:hover img { filter: none; opacity: 1; }
@media (max-width: 560px) { .payer-logo-item img { height: 34px; max-width: 120px; } }

/* ── Nationwide: distinguished, blinking "50 States" ─────────── */
.nw-50 {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--teal-mid);
  letter-spacing: .5px;
  padding: 0 2px;
  animation: nw50Blink 5s steps(1, end) infinite;
}
/* blinks a couple of times, then stays lit — repeats on a regular interval */
@keyframes nw50Blink {
  0%, 74%   { opacity: 1; }
  78%       { opacity: .15; }
  82%       { opacity: 1; }
  86%       { opacity: .15; }
  90%, 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .nw-50 { animation: none; } }

/* ── Nationwide map dots: twinkle in sync with the "50 States" blink ── */
.nw-dots circle {
  animation: nw50Blink 5s steps(1, end) infinite;
}
/* light stagger so the dots twinkle rather than flash as one block,
   while still riding the same 5s rhythm as the text */
.nw-dots circle:nth-child(3n)   { animation-delay: .4s; }
.nw-dots circle:nth-child(3n+1) { animation-delay: .8s; }
@media (prefers-reduced-motion: reduce) { .nw-dots circle { animation: none; } }

/* ── Top bar: equal, generous spacing between elements ───────── */
.top-bar-inner { gap: 44px; }
.top-bar-left { gap: 44px; }
.top-bar-social { gap: 18px; }

/* ── Primary menu: animated hover (sliding underline + lift) ── */
.primary-nav > li > a { position: relative; transition: color .2s ease, transform .2s ease; }
.primary-nav > li > a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: var(--teal-mid);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.primary-nav > li > a:hover { color: var(--teal-mid); transform: translateY(-2px); }
.primary-nav > li > a:hover::after { transform: scaleX(1); }
/* submenu items: subtle slide + highlight on hover */
.primary-nav .sub-menu a { transition: color .2s ease, padding-left .2s ease, background .2s ease; }
.primary-nav .sub-menu a:hover { padding-left: 22px; }
@media (prefers-reduced-motion: reduce) {
  .primary-nav > li > a:hover { transform: none; }
}

/* ── Pricing: align both cards' buttons on the same bottom row ── */
.pricing-card { display: flex; flex-direction: column; }
.pricing-card .btn { margin-top: auto; }

/* ═══════════════════════════════════════════════════════════════
   MARQUEE UNIFORM SIZING + NAVBAR LOGO + RESPONSIVE POLISH
   ═══════════════════════════════════════════════════════════════ */

/* Same-size logo tiles in BOTH marquees (certifications + partners) */
.cert-item, .payer-logo-item {
  flex: 0 0 160px; width: 160px; height: 72px;
  padding: 10px 16px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
}
.cert-item img, .payer-logo-item img {
  width: auto; height: auto;
  max-width: 128px; max-height: 42px;
  object-fit: contain; display: block;
}

/* Navbar logo height */
.header-logo-img,
.site-logo .custom-logo-link img,
.site-logo .custom-logo { height: 48px !important; width: auto !important; max-width: 200px; }

/* ── Stats cards: auto-fit, max 3 per row, wrapped rows fill width ── */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.stats-grid .stat-card {
  flex: 1 1 30%;      /* 3 per row max; 4th/5th wrap and grow to fill the row */
  min-width: 200px;
  max-width: 100%;
}

/* ── Tablet ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sp-grid { grid-template-columns: 1fr; gap: 32px; }
  .cost-compare-section { padding: 56px 0; }
  /* NOTE: In-house vs Care Medicus stay side by side (base 1fr auto 1fr) */

  /* Center the logo once the desktop nav is hidden — absolute centering is
     immune to flex free-space quirks (custom logo has an extra <a> wrapper) */
  .nav-inner { position: relative; justify-content: center; min-height: 70px; }
  .nav-actions { display: none; }
  .site-logo {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .nav-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
  .header-logo-img,
  .site-logo .custom-logo-link img,
  .site-logo .custom-logo { height: 56px !important; max-width: 260px; }
}

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .top-bar-inner { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .top-bar-left  { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .top-bar-social { gap: 12px; margin-left: 0; }
  .header-logo-img,
  .site-logo .custom-logo-link img,
  .site-logo .custom-logo { height: 44px !important; max-width: 170px; }
  .cert-item, .payer-logo-item { flex-basis: 130px; width: 130px; height: 60px; }
  .cert-item img, .payer-logo-item img { max-width: 104px; max-height: 36px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .sp-before-after { flex-direction: column; align-items: stretch; }
  .sp-ba-arrow { transform: rotate(90deg); align-self: center; }
  .review-trust-inner { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
}

@media (max-width: 560px) {
  .cert-item, .payer-logo-item { flex-basis: 116px; width: 116px; height: 52px; padding: 8px 12px; }
  .cert-item img, .payer-logo-item img { max-width: 90px; max-height: 30px; }
  .hero-stats { gap: 12px 18px; }
  .hero-stat { min-width: 42%; }
}

/* ── Logo: fixed display size regardless of uploaded image dimensions ── */
.site-logo { flex: 0 0 auto; }
.site-logo img,
.header-logo-img,
.site-logo .custom-logo-link img,
.site-logo .custom-logo {
  height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  display: block;
}
.mobile-nav-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  z-index: 2;
  transition: background .2s, color .2s;
}
.mobile-nav-close:hover { background: var(--teal-mid); color: #fff; border-color: var(--teal-mid); }
@media (max-width: 1024px) {
  .site-logo img, .header-logo-img,
  .site-logo .custom-logo-link img, .site-logo .custom-logo {
    height: 60px !important; max-width: 260px !important;
  }
}
@media (max-width: 768px) {
  .site-logo img, .header-logo-img,
  .site-logo .custom-logo-link img, .site-logo .custom-logo {
    height: 44px !important; max-width: 170px !important;
  }
}

/* ── Custom logo (Site Identity upload): hard size cap regardless of DOM ── */
.custom-logo,
img.custom-logo,
.custom-logo-link img {
  height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  max-height: 48px !important;
  object-fit: contain;
  display: block;
}
.site-logo { max-height: 64px; overflow: hidden; }
.site-logo .custom-logo-link { display: block; line-height: 0; }
@media (max-width: 1024px) {
  .custom-logo, img.custom-logo, .custom-logo-link img {
    height: 56px !important; max-height: 56px !important; max-width: 240px !important;
  }
  .site-logo { max-height: 68px; }
}
@media (max-width: 768px) {
  .custom-logo, img.custom-logo, .custom-logo-link img {
    height: 42px !important; max-height: 42px !important; max-width: 160px !important;
  }
  .site-logo { max-height: 54px; }
}
