/* =========================================================
   BG LABS - WHITE CLINICAL THEME
   Bootstrap handles layout, grid, spacing, responsive utilities,
   dropdown/collapse and most common UI primitives.
   This file contains only BG Labs branding + premium visual/motion
   behavior that Bootstrap does not provide.
========================================================= */

:root {
  --brand-blue: #426597;
  --brand-blue-dark: #27476f;
  --brand-blue-soft: #eef3f8;
  --brand-orange: #ed872d;
  --brand-orange-dark: #d97722;
  --text: #18212f;
  --muted: #667085;
  --line: #e5eaf0;
  --white: #ffffff;
  --section-soft: #f8fafc;

  --shadow-xs: 0 5px 18px rgba(25, 48, 78, .045);
  --shadow-sm: 0 12px 30px rgba(25, 48, 78, .07);
  --shadow-md: 0 20px 50px rgba(25, 48, 78, .10);
  --shadow-lg: 0 30px 80px rgba(25, 48, 78, .13);

  --ease-premium: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,h5,h6 {
  color: var(--text);
  font-weight: 700;
}

p { color: var(--muted); }

.text-muted-custom { color: var(--muted) !important; }
.text-brand-blue { color: var(--brand-blue) !important; }
.text-brand-orange { color: var(--brand-orange) !important; }
.bg-brand-orange { background-color: var(--brand-orange) !important; }
.border-brand-orange { border-color: var(--brand-orange) !important; }
.bg-section-soft { background-color: var(--section-soft) !important; }

.content-width-md { max-width: 760px; }
.content-width-lg { max-width: 820px; }

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

.section-soft { background: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: var(--brand-blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow.orange { color: var(--brand-orange); }

.section-title {
  color: var(--text);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.lead-copy {
  color: var(--muted);
  line-height: 1.78;
}

/* HEADER */
.site-navbar {
  z-index: 1030;
  background: rgba(255,255,255,.96) !important;
  border-bottom-color: rgba(229,234,240,.86) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
}

.site-navbar.navbar-scrolled {
  background: rgba(255,255,255,.985) !important;
  box-shadow: 0 12px 34px rgba(28,49,76,.075);
}

.brand-logo-header {
  width: 76px;
  height: auto;
  transition: transform .3s var(--ease-premium);
}

.navbar-brand:hover .brand-logo-header { transform: scale(1.035); }

.site-navbar .nav-link {
  position: relative;
  color: #39465a !important;
  font-size: .91rem;
  font-weight: 600;
  white-space: nowrap;
}


.site-navbar .navbar-toggler:focus { box-shadow: none; }

/* BUTTONS */
.btn-pill {
  border-radius: 999px;
  padding: .74rem 1.3rem;
  font-size: .9rem;
  font-weight: 700;
}

.btn-brand,
.btn-outline-brand,
.btn-orange {
  transition:
    transform .22s var(--ease-premium),
    box-shadow .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.btn-brand {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.btn-brand:hover,.btn-brand:focus {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(66,101,151,.22);
}

.btn-outline-brand {
  background: #fff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-outline-brand:hover,.btn-outline-brand:focus {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(66,101,151,.14);
}

.btn-orange {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}

.btn-orange:hover,.btn-orange:focus {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(237,135,45,.24);
}

/* MEGA MENU */
.mega-dropdown { position: static; }

.mega-menu {
  width: min(1280px, calc(100vw - 32px));
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin-top: 14px !important;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
}

.mega-menu.show .mega-menu-shell {
  animation: megaMenuOpen .34s var(--ease-premium) both;
}

@keyframes megaMenuOpen {
  from { opacity: 0; transform: translateY(-12px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.mega-menu-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform-origin: top center;
}

.mega-menu-content {
  padding: 34px;
  background: #fff;
}

.mega-menu-left {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.mega-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--brand-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mega-label::before {
  content: "";
  width: 4px;
  height: 18px;
  flex: 0 0 4px;
  border-radius: 999px;
  background: var(--brand-blue);
}

.mega-link-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition:
    transform .28s var(--ease-premium),
    border-color .28s ease,
    background-color .28s ease,
    box-shadow .28s ease;
}

.mega-link-card:hover,.mega-link-card:focus {
  transform: translateX(5px);
  border-color: #cbd6e2;
  background: #fcfdff;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(32,58,86,.07);
}

.mega-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 1rem;
  font-weight: 800;
  transition: transform .28s var(--ease-premium), background-color .28s ease, color .28s ease;
}

.mega-link-card:hover .mega-icon {
  transform: translateY(-2px) rotate(-3deg);
  background: var(--brand-blue);
  color: #fff;
}

.mega-link-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: .95rem;
  font-weight: 700;
}

.mega-link-card small {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.35;
}

.mega-feature {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform .32s var(--ease-premium), box-shadow .32s ease, border-color .32s ease;
}

.mega-feature:hover {
  transform: translateY(-3px);
  border-color: #d7e0e9;
  box-shadow: var(--shadow-sm);
}

.mega-feature-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: .74rem;
  font-weight: 800;
}

.mega-feature h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
}

.mega-feature p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

.mega-feature-media {
  overflow: hidden;
  border-radius: 14px;
}

.mega-feature-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .7s var(--ease-premium);
}

.mega-feature:hover .mega-feature-image { transform: scale(1.035); }

.mega-menu-bottom {
  padding: 15px 28px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.mega-menu-bottom .badge {
  background: var(--brand-orange) !important;
  color: #fff !important;
}

.mega-menu-arrow {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: transform .28s var(--ease-premium), background-color .28s ease;
}

.mega-menu-arrow:hover {
  transform: translateX(4px);
  background: var(--brand-orange);
  color: #fff;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(circle at 84% 18%, rgba(66,101,151,.075), transparent 31%),
    radial-gradient(circle at 10% 78%, rgba(237,135,45,.045), transparent 24%),
    #fff;
  border-bottom: 1px solid #f1f3f6;
}

.hero h1 {
  color: var(--text);
  font-size: clamp(2.3rem,5vw,4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.042em;
}

.hero .eyebrow,
.hero h1,
.hero .lead-copy,
.hero .btn {
  animation: heroContentIn .78s var(--ease-premium) both;
}

.hero h1 { animation-delay: .08s; }
.hero .lead-copy { animation-delay: .16s; }
.hero .btn { animation-delay: .22s; }

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-media {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
  animation: heroMediaIn .92s .12s var(--ease-premium) both;
}

@keyframes heroMediaIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.17) 46%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 1s var(--ease-premium);
  pointer-events: none;
}

.hero-media:hover::after { transform: translateX(120%); }

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  transition: transform 1s var(--ease-premium);
}

.hero-media:hover img { transform: scale(1.035); }

/* CONTENT CARDS */
.service-card,.info-card,.quote-card,.standard-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform .34s var(--ease-premium), border-color .34s ease, box-shadow .34s ease;
}

.service-card::before,.info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--brand-blue), var(--brand-orange));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .34s var(--ease-premium);
}

.service-card:hover,.info-card:hover,.quote-card:hover,.standard-card:hover {
  transform: translateY(-7px);
  border-color: #d4dde7;
  box-shadow: var(--shadow-md);
}

.service-card:hover::before,.info-card:hover::before { transform: scaleY(1); }

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 10px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  transition: transform .3s var(--ease-premium), background-color .3s ease, color .3s ease;
}

.icon-box img {
  width: 21px;
  height: 21px;
}

.service-card:hover .icon-box,.info-card:hover .icon-box {
  transform: translateY(-3px) rotate(-3deg);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--brand-blue);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.card-link::after {
  content: "→";
  transition: transform .24s var(--ease-premium);
}

.card-link:hover::after { transform: translateX(5px); }

.feature-img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.feature-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform .9s var(--ease-premium);
}

.feature-img:hover img { transform: scale(1.04); }

.feature-img::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(24,33,47,.12), transparent);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.feature-img:hover::after { opacity: 1; }

.check-list {
  margin: 1.2rem 0 0;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: .72rem 0;
  color: var(--muted);
}

.check-list i {
  margin-top: .08rem;
  color: var(--brand-orange);
}

/* METRICS */
.metric-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--section-soft) 100%);
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-strip .section-title { color: var(--text) !important; }
.metric-strip p { color: var(--muted) !important; }

.metric-box {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 32px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  text-align: center;
  transition: transform .32s var(--ease-premium), box-shadow .32s ease, border-color .32s ease;
}

.metric-box:hover {
  transform: translateY(-5px);
  border-color: #d3dde7;
  box-shadow: var(--shadow-sm);
}

.metric-box .num {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.metric-box .num.text-brand-orange { color: var(--brand-orange) !important; }

.metric-box .label {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .82rem;
}

.standard-card {
  padding: 24px 12px;
  text-align: center;
}

.standard-card img {
  width: 28px;
  height: 28px;
  margin-bottom: .35rem;
  transition: transform .3s var(--ease-premium);
}

.standard-card:hover img { transform: scale(1.12) rotate(-3deg); }

.standard-card strong {
  display: block;
  margin: .35rem 0 .15rem;
  color: var(--brand-blue);
  font-size: 1.05rem;
}

.standard-card small { color: var(--muted); }

.quote-mark {
  width: 34px;
  height: auto;
  margin-bottom: 1rem;
  opacity: .6;
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(66,101,151,.065), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(237,135,45,.05), transparent 25%),
    #fff;
  border-top: 1px solid var(--line);
}

.cta p { color: var(--muted) !important; }

/* FOOTER */
.site-footer {
  position: relative;
  background: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange), var(--brand-blue));
  opacity: .9;
}

.brand-logo-footer {
  width: 85px;
  height: auto;
}

.site-footer h6 {
  color: var(--text);
  font-size: .84rem;
  font-weight: 800;
}

.footer-links a,
.footer-legal a {
  transition: color .2s ease, transform .2s var(--ease-premium);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--brand-blue) !important;
  transform: translateX(3px);
}

.social a {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-blue) !important;
  transition:
    transform .25s var(--ease-premium),
    border-color .25s ease,
    background-color .25s ease,
    color .25s ease,
    box-shadow .25s ease;
}

.social a:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #fff !important;
  box-shadow: var(--shadow-xs);
}

/* LIGHTWEIGHT SCROLL REVEAL */
.motion-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .72s var(--ease-premium),
    transform .72s var(--ease-premium);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

.motion-item.motion-left { transform: translateX(-32px); }
.motion-item.motion-right { transform: translateX(32px); }
.motion-item.motion-scale { transform: scale(.97); }

.motion-item.is-visible {
  opacity: 1;
  transform: none;
}

/* ICON FALLBACKS */
.bi::before {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}
.bi-check2-circle::before,.bi-check-circle::before { content: "✓"; }
.bi-linkedin::before { content: "in"; }
.bi-instagram::before { content: "◎"; }
.bi-facebook::before { content: "f"; }



/* =========================================================
   PREMIUM CONTENT SYSTEM V2
   Inspired by modern clinical-genomics experiences:
   strong content hierarchy, clinical pathways and restrained motion.
========================================================= */

/* Test explorer */
.test-explorer {
  position: relative;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.explorer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition:
    transform .32s var(--ease-premium),
    border-color .32s ease,
    box-shadow .32s ease;
}

.explorer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease-premium);
}

.explorer-card:hover {
  color: var(--text);
  transform: translateY(-6px);
  border-color: #d2dde8;
  box-shadow: var(--shadow-md);
}

.explorer-card:hover::before { transform: scaleX(1); }

.explorer-kicker {
  margin-bottom: 22px;
  color: var(--brand-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.explorer-card strong {
  max-width: 230px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.explorer-card small {
  max-width: 250px;
  color: var(--muted);
  line-height: 1.55;
}

.explorer-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-weight: 800;
  transition:
    transform .26s var(--ease-premium),
    background-color .26s ease,
    color .26s ease;
}

.explorer-card:hover .explorer-arrow {
  transform: translateX(4px);
  background: var(--brand-blue);
  color: #fff;
}

/* HelioLiver supporting points */
.clinical-point {
  position: relative;
  min-height: 155px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition:
    transform .28s var(--ease-premium),
    border-color .28s ease,
    box-shadow .28s ease;
}

.clinical-point:hover {
  transform: translateY(-4px);
  border-color: #d5dfe9;
  box-shadow: var(--shadow-sm);
}

.clinical-point-number {
  display: block;
  margin-bottom: 16px;
  color: var(--brand-orange);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.clinical-point strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: .92rem;
}

.clinical-point small {
  color: var(--muted);
  line-height: 1.5;
}

/* Women's health / NIFTY */
.womens-health-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(237,135,45,.05), transparent 23%),
    radial-gradient(circle at 4% 92%, rgba(66,101,151,.055), transparent 25%),
    #fff;
}

.nifty-stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.88);
}

.nifty-stat strong {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-blue);
  font-size: .98rem;
}

.nifty-stat span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.nifty-feature-img {
  box-shadow: var(--shadow-md);
}

.image-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--text);
  font-size: .75rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(24,33,47,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.image-note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 5px rgba(237,135,45,.13);
}

.nifty-process {
  scroll-margin-top: 110px;
}

.process-card {
  position: relative;
  min-height: 225px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition:
    transform .3s var(--ease-premium),
    border-color .3s ease,
    box-shadow .3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: #d3dde7;
  box-shadow: var(--shadow-sm);
}

.process-card > span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: .76rem;
  font-weight: 800;
}

.process-card h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 800;
}

.process-card p {
  margin-bottom: 0;
  font-size: .84rem;
  line-height: 1.65;
}

.screening-note {
  padding: 16px 18px;
  border: 1px solid #eadfd5;
  border-radius: 14px;
  background: #fffaf6;
  color: #72523b;
  font-size: .82rem;
  line-height: 1.6;
}

.screening-note strong {
  color: var(--brand-orange-dark);
}

/* Clinical paths */
.clinical-pathways {
  background: #fff;
}

.pathway-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--text);
  text-decoration: none;
  transition:
    transform .34s var(--ease-premium),
    border-color .34s ease,
    box-shadow .34s ease;
}

.pathway-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -110px;
  border-radius: 50%;
  border: 1px solid rgba(66,101,151,.10);
  transition: transform .5s var(--ease-premium);
}

.pathway-provider {
  background:
    radial-gradient(circle at 90% 10%, rgba(66,101,151,.09), transparent 36%),
    #f9fbfd;
}

.pathway-patient {
  background:
    radial-gradient(circle at 90% 10%, rgba(237,135,45,.08), transparent 36%),
    #fffaf7;
}

.pathway-card:hover {
  color: var(--text);
  transform: translateY(-6px);
  border-color: #d0dbe6;
  box-shadow: var(--shadow-md);
}

.pathway-card:hover::after { transform: scale(1.12); }

.pathway-label {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--brand-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pathway-patient .pathway-label { color: var(--brand-orange-dark); }

.pathway-card h3 {
  max-width: 500px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.pathway-card p {
  max-width: 500px;
  line-height: 1.72;
}

.pathway-link {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  color: var(--brand-blue);
  font-size: .87rem;
  font-weight: 800;
}

.pathway-patient .pathway-link { color: var(--brand-orange-dark); }

.pathway-link b {
  display: inline-block;
  margin-left: 5px;
  transition: transform .25s var(--ease-premium);
}

.pathway-card:hover .pathway-link b { transform: translateX(5px); }

@media (max-width: 991.98px) {
  .explorer-card { min-height: 190px; }
  .pathway-card { min-height: 300px; padding: 30px; }
}

@media (max-width: 767.98px) {
  .explorer-card { min-height: 175px; padding: 20px; }
  .clinical-point { min-height: auto; }
  .process-card { min-height: 190px; }
  .pathway-card { min-height: 270px; padding: 25px; }
  .image-note { left: 12px; bottom: 12px; }
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
  .site-navbar .nav-link {
    padding-left: .55rem !important;
    padding-right: .55rem !important;
    font-size: .84rem;
  }
}

@media (max-width: 991.98px) {
  .section-pad { padding: 68px 0; }
  .hero { padding: 56px 0; }
  .hero-media,.hero-media img { min-height: 330px; }

  .site-navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-navbar .navbar-collapse {
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .site-navbar .nav-link::after { display: none; }

  .mega-menu {
    position: static !important;
    width: 100%;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin-top: 8px !important;
  }

  .mega-menu-shell {
    border-radius: 14px;
    box-shadow: none;
  }

  .mega-menu-content { padding: 20px; }

  .mega-menu-left {
    padding-right: 0;
    border-right: 0;
  }

  .mega-feature { margin-top: 4px; }
  .mega-feature-image { height: 220px; }
  .mega-menu-bottom { padding: 14px 20px; }

  .motion-item,
  .motion-item.motion-left,
  .motion-item.motion-right,
  .motion-item.motion-scale {
    transform: translateY(20px);
  }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 54px 0; }
  .hero { padding: 44px 0; }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .section-title { font-size: 1.8rem; }
  .feature-img img { min-height: 290px; }
  .mega-menu-content { padding: 16px; }

  .mega-link-card {
    min-height: 70px;
    padding: 11px 12px;
  }

  .mega-feature { padding: 18px; }
  .mega-feature h3 { font-size: 1.55rem; }
  .mega-feature-image { height: 180px; }

  .service-card:hover,
  .info-card:hover,
  .quote-card:hover,
  .standard-card:hover,
  .metric-box:hover {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .brand-logo-header { width: 64px; }
  .hero h1 { font-size: 2rem; }
  .hero-media,.hero-media img { min-height: 250px; }
  .feature-img img { min-height: 240px; }
  .mega-link-card small { font-size: .76rem; }
  .mega-menu-bottom { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .motion-item,
  .motion-item.motion-left,
  .motion-item.motion-right,
  .motion-item.motion-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   FINAL HEADER / MEGA MENU FIX
   Paste at the VERY END of css/style.css
========================================================= */

.site-navbar {
  z-index: 1050;
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid rgba(229,234,240,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-navbar .container,
.site-navbar .navbar-collapse,
.site-navbar .navbar-nav {
  position: static;
}

/*
 * IMPORTANT:
 * Bootstrap uses .dropdown-toggle::after for its caret.
 * So our custom orange underline must use ::before.
 */
.site-navbar .nav-link {
  position: relative;
}

.site-navbar .nav-link::before {
  content: "";
  position: absolute;
  left: .55rem;
  right: .55rem;
  bottom: .12rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s var(--ease-premium);
}

.site-navbar .nav-link:hover::before,
.site-navbar .nav-link:focus::before,
.site-navbar .nav-link.show::before {
  transform: scaleX(1);
}

/* Keep Bootstrap caret working */
.site-navbar .dropdown-toggle::after {
  margin-left: .38rem;
  vertical-align: .15em;
  transition: transform .25s var(--ease-premium);
}

.site-navbar .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

/* =========================================================
   MEGA MENU
========================================================= */

.mega-dropdown {
  position: static !important;
}

.mega-dropdown > .dropdown-menu {
  top: calc(100% - 1px);
}

.mega-menu {
  position: absolute !important;
  width: min(1240px, calc(100vw - 32px));

  left: 50% !important;
  right: auto !important;

  transform: translateX(-50%) !important;

  margin-top: 0 !important;
  padding: 14px 0 0;

  border: 0 !important;
  background: transparent !important;

  --bs-dropdown-min-width: 0;
}

.mega-menu.show {
  display: block;
}

.mega-menu-shell {
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: rgba(255,255,255,.995);

  box-shadow:
    0 28px 80px rgba(25,48,78,.16);
}

.mega-menu.show .mega-menu-shell {
  animation:
    megaMenuOpen .28s
    var(--ease-premium)
    both;
}

@keyframes megaMenuOpen {

  from {
    opacity: 0;
    transform: translateY(-10px) scale(.99);
  }

  to {
    opacity: 1;
    transform: none;
  }

}

.mega-menu-content {
  padding: 30px;
}

.mega-menu-left {
  padding-right: 30px;
  border-right: 1px solid var(--line);
}

.mega-label {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 20px;

  color: var(--brand-blue);

  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;

  text-transform: uppercase;
}

.mega-label::before {
  content: "";

  width: 4px;
  height: 18px;

  flex: 0 0 4px;

  border-radius: 999px;

  background: var(--brand-blue);
}

/* Mega menu links */

.mega-link-card {
  display: flex;
  align-items: center;
  gap: 15px;

  min-height: 72px;

  padding: 13px 15px;

  border: 1px solid var(--line);
  border-radius: 12px;

  background: #fff;

  color: var(--text);

  text-decoration: none;

  transition:
    transform .28s var(--ease-premium),
    border-color .28s ease,
    background-color .28s ease,
    box-shadow .28s ease;
}

.mega-link-card:hover,
.mega-link-card:focus {
  transform: translateX(5px);

  border-color: #cbd6e2;

  background: #fcfdff;

  color: var(--text);

  box-shadow:
    0 8px 22px rgba(32,58,86,.07);
}

/* Mega icons */

.mega-icon {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: var(--brand-blue-soft);

  color: var(--brand-blue);

  font-size: 1rem;
  font-weight: 800;

  transition:
    transform .28s var(--ease-premium),
    background-color .28s ease,
    color .28s ease;
}

.mega-link-card:hover .mega-icon {
  transform: translateY(-2px) rotate(-3deg);

  background: var(--brand-blue);

  color: #fff;
}

.mega-link-card strong {
  display: block;

  margin-bottom: 4px;

  color: var(--text);

  font-size: .95rem;
  font-weight: 700;
}

.mega-link-card small {
  display: block;

  color: var(--muted);

  font-size: .8rem;
  line-height: 1.35;
}

/* Right featured area */

.mega-feature {
  display: flex;
  flex-direction: column;

  height: 100%;

  padding: 24px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: #fff;

  transition:
    transform .32s var(--ease-premium),
    box-shadow .32s ease,
    border-color .32s ease;
}

.mega-feature:hover {
  transform: translateY(-3px);

  border-color: #d7e0e9;

  box-shadow: var(--shadow-sm);
}

.mega-feature-badge {
  display: inline-block;

  align-self: flex-start;

  margin-bottom: 20px;

  padding: 7px 15px;

  border-radius: 999px;

  background: var(--brand-blue-soft);

  color: var(--brand-blue);

  font-size: .74rem;
  font-weight: 800;
}

.mega-feature h3 {
  margin-bottom: 12px;

  color: var(--text);

  font-size:
    clamp(1.65rem, 2.4vw, 2.05rem);

  font-weight: 800;

  line-height: 1.14;

  letter-spacing: -.02em;
}

.mega-feature p {
  margin-bottom: 22px;

  color: var(--muted);

  font-size: .95rem;
  line-height: 1.65;
}

.mega-feature-media {
  overflow: hidden;

  margin-top: auto;

  border-radius: 14px;
}

.mega-feature-image {
  display: block;

  width: 100%;
  height: 180px;

  object-fit: cover;

  transition:
    transform .7s
    var(--ease-premium);
}

.mega-feature:hover .mega-feature-image {
  transform: scale(1.035);
}

/* Bottom strip */

.mega-menu-bottom {
  padding: 15px 28px;

  border-top: 1px solid var(--line);

  background: #fff;

  color: var(--text);
}

.mega-menu-bottom .badge {
  background:
    var(--brand-orange) !important;

  color: #fff !important;
}

.mega-menu-arrow {
  width: 32px;
  height: 32px;

  flex: 0 0 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--brand-blue);

  color: #fff;

  text-decoration: none;

  font-weight: 800;

  transition:
    transform .28s var(--ease-premium),
    background-color .28s ease;
}

.mega-menu-arrow:hover {
  transform: translateX(4px);

  background: var(--brand-orange);

  color: #fff;
}

/* Anchor offset for sticky header */

#helioliver,
#nifty,
#cancerdiagnosis,
#providers,
#patients,
#about,
#standards,
#services,
#contact {
  scroll-margin-top: 100px;
}

/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 991.98px) {

  .site-navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-navbar .navbar-collapse {
    max-height:
      calc(100vh - 82px);

    overflow-y: auto;

    overscroll-behavior: contain;
  }

  .site-navbar .nav-link::before {
    display: none;
  }

  .mega-dropdown {
    position: relative !important;
  }

  .mega-menu {
    position: static !important;

    width: 100%;

    left: auto !important;
    right: auto !important;

    transform: none !important;

    padding-top: 8px;
  }

  .mega-menu-shell {
    border-radius: 14px;

    box-shadow: none;
  }

  .mega-menu-content {
    padding: 16px;
  }

  .mega-menu-left {
    padding-right: 0;

    border-right: 0;
  }

  .mega-feature {
    margin-top: 8px;
  }

  .mega-feature-image {
    height: 200px;
  }

  .mega-menu-bottom {
    padding: 14px 16px;
  }

}

@media (max-width: 575.98px) {

  .mega-link-card {
    min-height: 68px;
  }

  .mega-feature {
    padding: 18px;
  }

  .mega-feature-image {
    height: 160px;
  }

  .mega-menu-bottom .small {
    font-size: .76rem;
  }

}

/* =========================================================
   HOME HERO - FINAL RESPONSIVE 3-SLIDE CAROUSEL
   Slider order remains controlled by index.php.
========================================================= */

.home-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f7fafc;
  border-bottom: 1px solid var(--line);
}

.home-hero-slider .carousel,
.home-hero-slider .carousel-inner,
.home-hero-slider .carousel-item {
  width: 100%;
}

.home-hero-slider .carousel-inner {
  overflow: hidden;
}

.home-hero-slider .carousel-item {
  background: #f7fafc;
}

.hero-slide {
  position: relative;
  height: clamp(560px, 40vw, 680px);
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: #f7fafc;
}

.min-vh-hero {
  min-height: 560px;
}

.hero-slide-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fafc 0%, var(--brand-blue-soft) 100%);
}

.hero-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  pointer-events: none;
  transform: scale(1.005);
  transition: transform 7s var(--ease-premium);
}

/* Supports both the final markup and the earlier direct-image markup. */
.hero-slide > .hero-slide-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-slider .carousel-item.active .hero-slide-image {
  transform: scale(1.035);
}

.hero-image-helioliver { object-position: center center; }
.hero-image-nifty { object-position: center center; }
.hero-image-genomics { object-position: center center; }

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.995) 0%,
      rgba(255,255,255,.985) 18%,
      rgba(255,255,255,.94) 31%,
      rgba(255,255,255,.76) 42%,
      rgba(255,255,255,.38) 53%,
      rgba(255,255,255,.08) 64%,
      rgba(255,255,255,0) 74%
    );
}

.hero-slide-container {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-slide-row {
  height: 100%;
  min-height: 560px;
}

.hero-slide-content {
  position: relative;
  max-width: 620px;
  padding-top: 58px;
  padding-bottom: 76px;
}

.hero-slide h1,
.hero-slide-title {
  max-width: 670px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.6rem, 4.15vw, 4.2rem);
  font-weight: 800;
  line-height: 1.035;
  letter-spacing: -.046em;
  text-wrap: balance;
}

.hero-slide .lead-copy {
  max-width: 575px;
  color: #536174;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.72;
}

.hero-slide .eyebrow {
  margin-bottom: 1rem;
  font-size: .73rem;
  letter-spacing: .105em;
}

.hero-slide .btn {
  min-width: 145px;
}

.home-hero-slider .carousel-item.active .hero-slide-content > * {
  animation: heroSliderContentIn .72s var(--ease-premium) both;
}

.home-hero-slider .carousel-item.active .hero-slide-content > *:nth-child(1) { animation-delay: .04s; }
.home-hero-slider .carousel-item.active .hero-slide-content > *:nth-child(2) { animation-delay: .10s; }
.home-hero-slider .carousel-item.active .hero-slide-content > *:nth-child(3) { animation-delay: .16s; }
.home-hero-slider .carousel-item.active .hero-slide-content > *:nth-child(4) { animation-delay: .22s; }

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

.home-hero-slider .carousel-indicators {
  z-index: 6;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}

.home-hero-slider .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: var(--brand-blue);
  opacity: .28;
  transition:
    width .3s var(--ease-premium),
    opacity .3s ease,
    background-color .3s ease;
}

.home-hero-slider .carousel-indicators .active {
  width: 30px;
  background-color: var(--brand-orange);
  opacity: 1;
}

.hero-carousel-control {
  z-index: 6;
  top: 50%;
  bottom: auto;
  width: 46px;
  height: 46px;
  margin: 0 20px;
  border: 1px solid rgba(66,101,151,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.91);
  box-shadow: 0 10px 30px rgba(25,48,78,.10);
  opacity: .88;
  transform: translateY(-50%);
  transition:
    opacity .25s ease,
    transform .25s var(--ease-premium),
    background-color .25s ease,
    box-shadow .25s ease;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus-visible {
  background: #fff;
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 14px 34px rgba(25,48,78,.15);
}

.hero-carousel-control .carousel-control-prev-icon,
.hero-carousel-control .carousel-control-next-icon {
  width: 17px;
  height: 17px;
  filter:
    invert(37%)
    sepia(19%)
    saturate(1344%)
    hue-rotate(174deg)
    brightness(91%)
    contrast(91%);
}

@media (max-width: 1199.98px) {
  .hero-slide {
    height: 610px;
    min-height: 610px;
  }

  .min-vh-hero,
  .hero-slide-row {
    min-height: 610px;
  }

  .hero-slide-content {
    max-width: 540px;
    padding-top: 52px;
    padding-bottom: 76px;
  }

  .hero-slide h1,
  .hero-slide-title {
    font-size: clamp(2.4rem, 4.4vw, 3.55rem);
  }

  .hero-slide-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.995) 0%,
        rgba(255,255,255,.98) 24%,
        rgba(255,255,255,.88) 39%,
        rgba(255,255,255,.50) 55%,
        rgba(255,255,255,.08) 72%,
        rgba(255,255,255,0) 100%
      );
  }
}

@media (max-width: 991.98px) {
  .hero-slide {
    height: 590px;
    min-height: 590px;
  }

  .min-vh-hero,
  .hero-slide-row {
    min-height: 590px;
  }

  .hero-slide-content {
    max-width: 500px;
    padding-top: 54px;
    padding-bottom: 78px;
  }

  .hero-slide h1,
  .hero-slide-title {
    font-size: clamp(2.35rem, 5.8vw, 3.3rem);
    line-height: 1.055;
  }

  .hero-slide .lead-copy {
    max-width: 490px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.995) 0%,
        rgba(255,255,255,.98) 34%,
        rgba(255,255,255,.83) 50%,
        rgba(255,255,255,.30) 70%,
        rgba(255,255,255,.02) 100%
      );
  }

  .hero-image-helioliver { object-position: 60% center; }
  .hero-image-nifty { object-position: 62% center; }
  .hero-image-genomics { object-position: 61% center; }

  .hero-carousel-control {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Complete mobile treatment: text first, visible image below. */
@media (max-width: 767.98px) {
  .home-hero-slider {
    background: #fff;
  }

  .hero-slide {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #fff;
  }

  .min-vh-hero {
    min-height: 0 !important;
  }

  .hero-slide-container {
    order: 1;
    height: auto;
  }

  .hero-slide-row {
    height: auto;
    min-height: 0;
  }

  .hero-slide-visual {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: clamp(285px, 67vw, 420px);
    margin-top: 0;
    background: var(--brand-blue-soft);
  }

  .hero-slide > .hero-slide-image {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: clamp(285px, 67vw, 420px);
    flex: 0 0 auto;
    object-fit: cover;
  }

  .hero-slide-overlay {
    display: none;
  }

  .hero-slide-visual .hero-slide-image {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-slide-image {
    transform: none !important;
    transition: none;
  }

  .hero-image-helioliver { object-position: center center; }
  .hero-image-nifty { object-position: 67% center; }
  .hero-image-genomics { object-position: 63% center; }

  .hero-slide-content {
    width: 100%;
    max-width: 100%;
    padding: 48px 0 42px;
  }

  .hero-slide .eyebrow {
    margin-bottom: .85rem;
    font-size: .68rem;
    letter-spacing: .09em;
  }

  .hero-slide h1,
  .hero-slide-title {
    max-width: 620px;
    font-size: clamp(2rem, 8.3vw, 2.75rem);
    line-height: 1.07;
    letter-spacing: -.04em;
  }

  .hero-slide .lead-copy {
    max-width: 620px;
    margin-top: 1rem !important;
    font-size: .96rem;
    line-height: 1.62;
  }

  .hero-slide .btn {
    min-width: 0;
  }

  .home-hero-slider .carousel-indicators {
    bottom: 18px;
    margin-bottom: 0;
  }

  .home-hero-slider .carousel-indicators [data-bs-target] {
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(39,71,111,.18);
    opacity: .72;
  }

  .home-hero-slider .carousel-indicators .active {
    background-color: var(--brand-orange);
    opacity: 1;
  }

  .hero-carousel-control {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-slide-content {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .hero-slide h1,
  .hero-slide-title {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1.075;
  }

  .hero-slide .lead-copy {
    font-size: .93rem;
    line-height: 1.58;
  }

  .hero-slide .btn {
    width: 100%;
  }

  .hero-slide-visual,
  .hero-slide > .hero-slide-image {
    height: clamp(260px, 74vw, 340px);
  }

  .hero-image-helioliver { object-position: center center; }
  .hero-image-nifty { object-position: 69% center; }
  .hero-image-genomics { object-position: 64% center; }

  .home-hero-slider .carousel-indicators {
    bottom: 14px;
  }
}

@media (max-width: 399.98px) {
  .hero-slide-content {
    padding-top: 32px;
    padding-bottom: 30px;
  }

  .hero-slide h1,
  .hero-slide-title {
    font-size: 1.78rem;
    letter-spacing: -.035em;
  }

  .hero-slide .lead-copy {
    font-size: .9rem;
  }

  .hero-slide-visual,
  .hero-slide > .hero-slide-image {
    height: 250px;
  }
}

@media (min-width: 1400px) {
  .hero-slide {
    height: 680px;
  }

  .min-vh-hero,
  .hero-slide-row {
    min-height: 680px;
  }

  .hero-slide-content {
    max-width: 630px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-image {
    transform: none !important;
    transition: none !important;
  }

  .home-hero-slider .carousel-item,
  .home-hero-slider .carousel-item.active .hero-slide-content > * {
    transition: none !important;
    animation: none !important;
  }
}
