/* =========================================================================
   APSL - AURIGENE BIOLOGICS LANDING PAGE STYLESHEET
   Bootstrap 5 compatible | Drupal 10/11 Integration Ready
   Namespace: .apsl-bio-page
   Figma: APSL-Website-Pages (2) / node 5142:777 "Opt 1" (1600px frame)
   ========================================================================= */

:root {
  --apsl-bio-blue: #1F3FB7;
  --apsl-bio-blue-deep: #052086;
  --apsl-bio-teal: #00A6BE;
  --apsl-bio-yellow: #F9EE6A;
  --apsl-bio-ink: #212529;
  --apsl-bio-ink-nav: #0E1430;
  --apsl-bio-navy-btn: #1A4D85;
  --apsl-bio-footer: #133B6E;
  --apsl-bio-sky: #E2F3FF;
  --apsl-bio-card-grey: #F2F4FB;
  --apsl-bio-input-bg: #F4F6FC;
  --apsl-bio-input-border: #E6E8F2;
  --apsl-bio-font: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --apsl-bio-font-num: 'Montserrat', 'Raleway', sans-serif;
  --apsl-bio-grad-num: linear-gradient(120deg, #1F3FB7 8%, #00A6BE 85%, #EEE52F 140%);
}

/* =========================================================================
   BASE & NAMESPACED RESETS
   ========================================================================= */
.apsl-bio-page {
  font-family: var(--apsl-bio-font);
  color: var(--apsl-bio-ink);
  background-color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  /* clip, not hidden: hidden would break the sticky header */
}

/* Figma content width is 1320px (140px gutters on a 1600px frame) */
@media (min-width: 1400px) {
  .apsl-bio-page .container {
    max-width: 1344px;
  }
}

.apsl-bio-page :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--apsl-bio-font);
  color: var(--apsl-bio-ink);
  margin: 0;
}

.apsl-bio-page :where(p, blockquote, ul) {
  margin: 0;
}

.apsl-bio-page a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Numerals are set in Montserrat throughout the Figma file */
.apsl-bio-num {
  font-family: var(--apsl-bio-font-num);
}

/* Section Header Utility */
.apsl-bio-section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.9px;
  color: var(--apsl-bio-blue) !important;
  margin-bottom: 6px !important;
}

.apsl-bio-section-sub {
  font-size: 16px;
  line-height: 27px;
  color: var(--apsl-bio-ink);
}

/* Buttons */
.apsl-bio-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--apsl-bio-yellow);
  color: var(--apsl-bio-blue);
  font-family: var(--apsl-bio-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.apsl-bio-btn-gold--navy {
  color: var(--apsl-bio-navy-btn);
}

.apsl-bio-btn-gold:hover,
.apsl-bio-btn-gold:focus-visible {
  background-color: #F4E650;
  color: var(--apsl-bio-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(249, 238, 106, 0.45);
}

.apsl-bio-btn-gold--navy:hover,
.apsl-bio-btn-gold--navy:focus-visible {
  color: var(--apsl-bio-navy-btn);
}

.apsl-bio-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid #FFFFFF;
  white-space: nowrap;
}

.apsl-bio-btn-outline:hover,
.apsl-bio-btn-outline:focus-visible {
  background-color: #FFFFFF;
  color: var(--apsl-bio-blue);
}

/* Round slider arrows (Figma Ellipse 1515 + pepicons arrow) */
.apsl-bio-slider-btn {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 0.55px solid #FFFFFF;
  background: transparent;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.apsl-bio-slider-btn:hover,
.apsl-bio-slider-btn:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.apsl-bio-slider-btn[disabled],
.apsl-bio-slider-btn.is-dim {
  opacity: 0.38;
}

.apsl-bio-slider-btn--blue {
  border-color: var(--apsl-bio-blue);
  color: var(--apsl-bio-blue);
}

.apsl-bio-slider-btn--blue:hover,
.apsl-bio-slider-btn--blue:focus-visible {
  background: var(--apsl-bio-blue);
  color: #FFFFFF;
}

/* =========================================================================
   HEADER & NAVIGATION (Figma 5142:1214)
   ========================================================================= */
.apsl-bio-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #FFFFFF;
  box-shadow: 0 4px 7.3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.apsl-bio-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(14, 20, 48, 0.08);
}

.apsl-bio-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
}

.apsl-bio-header__logo img {
  display: block;
  width: 128px;
  height: 81px;
  object-fit: contain;
}

.apsl-bio-header__nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.apsl-bio-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0;
  list-style: none;
}

.apsl-bio-nav__link {
  display: block;
  padding: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--apsl-bio-ink-nav);
  position: relative;
}

.apsl-bio-nav__link::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--apsl-bio-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.apsl-bio-nav__link:hover,
.apsl-bio-nav__link:focus-visible {
  color: var(--apsl-bio-blue);
}

.apsl-bio-nav__link:hover::after,
.apsl-bio-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.apsl-bio-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.apsl-bio-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px 8px;
  color: var(--apsl-bio-ink-nav);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* =========================================================================
   HERO (Figma 5142:1132)
   ========================================================================= */
.apsl-bio-hero {
  position: relative;
  min-height: 545px;
  color: #FFFFFF;
  overflow: hidden;
  background-image: linear-gradient(90.56deg, #1F3FB7 13.55%, #4CAAAD 77.74%, #F7EB4F 128.64%);
}

.apsl-bio-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Figma hero 3D antibody fallback / poster graphic */
@keyframes apslHeroFloat {
  0% { transform: translateY(-50%) rotate(0deg) scale(1); }
  25% { transform: translateY(calc(-50% - 10px)) rotate(2.5deg) scale(1.02); }
  50% { transform: translateY(calc(-50% + 6px)) rotate(-1.5deg) scale(0.98); }
  75% { transform: translateY(calc(-50% - 7px)) rotate(1.5deg) scale(1.01); }
  100% { transform: translateY(-50%) rotate(0deg) scale(1); }
}

.apsl-bio-hero__fallback {
  position: absolute;
  left: calc(50% - 120px);
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  max-width: 48vw;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  animation: apslHeroFloat 7s ease-in-out infinite;
  transition: opacity 0.8s ease;
}

.apsl-bio-hero__fallback-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(11, 30, 54, 0.25));
}

.apsl-bio-hero.is-video-ready .apsl-bio-hero__fallback {
  opacity: 0;
}

/* Figma "Comp 1_1" video layer: 1268x713 @ (233, -130), mix-blend multiply */
.apsl-bio-hero__video-layer {
  position: absolute;
  left: calc(50% - 567px);
  top: -130px;
  width: 1268px;
  height: 713px;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.6s ease;
  user-select: none;
  z-index: 2;
  /* Feather the frame edges so the off-white video background never shows a seam */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}

.apsl-bio-hero.is-video-ready .apsl-bio-hero__video-layer {
  opacity: 1;
}

.apsl-bio-hero__canvas,
.apsl-bio-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apsl-bio-hero.has-canvas .apsl-bio-hero__video {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.apsl-bio-hero:not(.has-canvas) .apsl-bio-hero__canvas {
  display: none;
}

.apsl-bio-hero__content-wrap {
  z-index: 2;
}

.apsl-bio-hero__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  min-height: 545px;
}

.apsl-bio-hero__copy {
  max-width: 584px;
  padding-top: 131px;
}

.apsl-bio-page .apsl-bio-hero__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 44px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -0.9px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.apsl-bio-hero__title-accent {
  color: var(--apsl-bio-yellow);
  line-height: 44.6px;
  letter-spacing: -0.6px;
}

.apsl-bio-hero__title-line {
  color: #FFFFFF;
}

.apsl-bio-page .apsl-bio-hero__subtitle {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.apsl-bio-hero__subtitle span {
  white-space: nowrap;
}

.apsl-bio-hero__form {
  flex: 0 0 329px;
  padding-top: 30px;
}

/* Hero Contact Card */
.apsl-bio-card-form {
  background: #FFFFFF;
  border: 0.8px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  box-shadow: 0 18px 24px -11px rgba(8, 16, 50, 0.1);
  padding: 20px 24px 24px 23px;
  color: var(--apsl-bio-ink-nav);
}

.apsl-bio-page .apsl-bio-card-form__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 33px;
  color: var(--apsl-bio-ink-nav);
  margin-bottom: 16px;
}

.apsl-bio-form-group {
  margin-bottom: 8px;
}

.apsl-bio-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.24px;
  color: var(--apsl-bio-ink-nav);
  padding-bottom: 6px;
}

.apsl-bio-form-input {
  display: block;
  width: 100%;
  padding: 10.8px 14.8px;
  font-family: var(--apsl-bio-font);
  font-size: 14px;
  line-height: 1.2;
  color: var(--apsl-bio-ink-nav);
  background: var(--apsl-bio-input-bg);
  border: 0.8px solid var(--apsl-bio-input-border);
  border-radius: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.apsl-bio-form-input::placeholder {
  color: rgba(14, 20, 48, 0.5);
}

.apsl-bio-form-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--apsl-bio-blue);
  box-shadow: 0 0 0 3px rgba(31, 63, 183, 0.12);
}

.apsl-bio-form-textarea {
  resize: vertical;
  min-height: 40px;
  height: 40px;
}

/* reCAPTCHA (Figma "image 2664" sprite, 180x48) */
.apsl-bio-recaptcha {
  width: 180px;
  height: 48px;
  margin: 13px 0 16px;
  background: url('../images/biologics-landing/fg-recaptcha.png') no-repeat -7px -69.6px / 187px 187px;
}

.apsl-bio-card-form__btn {
  width: 100%;
}

/* =========================================================================
   METRICS BAR (Figma 5142:1319)
   ========================================================================= */
.apsl-bio-metrics-section {
  position: relative;
  z-index: 3;
  margin-top: -65px;
  background: linear-gradient(180deg, transparent 65px, var(--apsl-bio-sky) 65px);
}

.apsl-bio-metrics-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 20px 24px;
  background: #FFFFFF;
  border-radius: 13px;
  box-shadow: 0 3px 17.7px -4px rgba(14, 20, 48, 0.12);
}

.apsl-bio-metric {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}

.apsl-bio-metric+.apsl-bio-metric {
  margin-left: 30px;
  padding-left: 30px;
  border-left: 1px solid #E3E6EF;
}

.apsl-bio-metric__num-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.apsl-bio-metric__num {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--apsl-bio-font-num);
  font-size: 44px;
  font-weight: 600;
  line-height: 44.6px;
  letter-spacing: -0.6px;
  background-image: var(--apsl-bio-grad-num);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--apsl-bio-blue);
}

.apsl-bio-metric__unit {
  max-width: 150px;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.23px;
  color: var(--apsl-bio-ink);
}

.apsl-bio-metric__label {
  max-width: 252px;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.8px;
  letter-spacing: 0.23px;
  color: var(--apsl-bio-ink);
}

.apsl-bio-metric__label .apsl-bio-num {
  font-size: 13px;
}

/* =========================================================================
   MODALITIES GRID (Figma 5142:841)
   ========================================================================= */
.apsl-bio-modalities {
  background: var(--apsl-bio-sky);
  padding: 52px 0 56px;
}

.apsl-bio-modalities__head {
  max-width: 981px;
  margin-bottom: 66px;
}

.apsl-bio-modalities__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 61px;
}

.apsl-bio-modality-card {
  position: relative;
  min-height: 228px;
  padding: 24px 28px 26px;
  background: #FFFFFF;
  border-radius: 14px;
  transition: box-shadow 0.3s ease;
}

.apsl-bio-modality-card:hover {
  box-shadow: 0 14px 30px -10px rgba(31, 63, 183, 0.22);
}

.apsl-bio-modality-card__icon {
  position: absolute;
  top: -34px;
  right: 9px;
  width: 85px;
  height: 90px;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.35s ease;
}

.apsl-bio-modality-card__icon--wide {
  width: 105px;
}

.apsl-bio-modality-card:hover .apsl-bio-modality-card__icon {
  transform: translateY(-4px);
}

.apsl-bio-page .apsl-bio-modality-card__title {
  max-width: 188px;
  min-height: 50px;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  color: var(--apsl-bio-ink);
}

.apsl-bio-page .apsl-bio-modality-card__title--wide {
  max-width: 212px;
}

.apsl-bio-modality-card__desc {
  margin-top: 13px !important;
  max-width: 258px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.23px;
  color: var(--apsl-bio-ink);
}

.apsl-bio-modality-card__desc .apsl-bio-num {
  font-size: 12px;
}

/* =========================================================================
   WHY AURIGENE FOR BIOLOGICS (Figma 5142:1426 "Component 38")
   ========================================================================= */
.apsl-bio-why {
  position: relative;
  min-height: 411px;
  padding: 76px 0 76px;
  overflow: hidden;
  color: #FFFFFF;
  background-image: linear-gradient(119.57deg, #052086 6.36%, #0094A9 115.21%, #EEE52F 159.65%);
}

.apsl-bio-why__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Figma "BG video 1 1": full-bleed at 45% opacity over the gradient */
.apsl-bio-why__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: blur(2px) saturate(0.8);
  transform: scale(1.03);
}

.apsl-bio-page .apsl-bio-why__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.9px;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 84px;
}

.apsl-bio-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 371px);
  justify-content: center;
  row-gap: 48px;
}

.apsl-bio-why-card {
  position: relative;
  min-height: 133px;
  padding: 0 20px;
  text-align: center;
}

.apsl-bio-why-card+.apsl-bio-why-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.23);
}

/* 3-column rows: no divider on the first card of each row */
.apsl-bio-why-card:nth-child(3n+1)::before {
  display: none;
}

.apsl-bio-why-card__icon {
  display: block;
  width: 33px;
  height: 33px;
  padding: 2.75px;
  margin: 0 auto 11px;
}

.apsl-bio-why-card__stat {
  font-size: 32px;
  font-weight: 800;
  line-height: 44.6px;
  letter-spacing: -0.6px;
  color: var(--apsl-bio-yellow);
  margin-bottom: 5px;
  white-space: nowrap;
}

.apsl-bio-why-card__stat .apsl-bio-num {
  font-weight: 700;
}

.apsl-bio-why-card__text {
  max-width: 281px;
  margin: 0 auto !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.23px;
  color: #FFFFFF;
}

/* =========================================================================
   REGULATORY EXPERIENCE (Figma 5142:778 - logo marquee bleeding right)
   ========================================================================= */
.apsl-bio-regulatory {
  background: #FFFFFF;
  padding: 29px 0;
}

.apsl-bio-regulatory__inner {
  display: flex;
  align-items: center;
  gap: 42px;
  padding-left: max(12px, calc((100% - 1320px) / 2));
}

.apsl-bio-page .apsl-bio-regulatory__label {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 22px;
  color: var(--apsl-bio-ink);
  white-space: nowrap;
}

.apsl-bio-marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px);
}

.apsl-bio-marquee__track {
  display: flex;
  gap: 4px;
  width: max-content;
  padding: 0;
  list-style: none;
  animation: apslBioMarquee 45s linear infinite;
}

.apsl-bio-marquee:hover .apsl-bio-marquee__track {
  animation-play-state: paused;
}

.apsl-bio-reg-logo {
  flex: 0 0 200px;
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 8px;
}

/* Figma places each logo at its own size and lets the card clip the padding */
.apsl-bio-reg-logo img {
  flex-shrink: 0;
  max-width: none;
  object-fit: cover;
}

@keyframes apslBioMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================================
   EXPERTS (Figma 5142:1344)
   ========================================================================= */
.apsl-bio-experts {
  background: #FFFFFF;
  padding: 52px 0 59px;
}

.apsl-bio-experts__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 35px;
}

.apsl-bio-experts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.apsl-bio-expert-card {
  position: relative;
  height: 292px;
  perspective: 1200px;
  outline: none;
}

.apsl-bio-expert-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.apsl-bio-expert-card--flip:hover .apsl-bio-expert-card__inner,
.apsl-bio-expert-card--flip:focus-visible .apsl-bio-expert-card__inner {
  transform: rotateY(180deg);
}

.apsl-bio-expert-card__face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.apsl-bio-expert-card__front {
  background: var(--apsl-bio-card-grey);
  text-align: center;
  padding-top: 20px;
}

.apsl-bio-expert-card__photo {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
}

.apsl-bio-expert-card__photo img {
  position: absolute;
  max-width: none;
  object-fit: cover;
}

.apsl-bio-expert-card__photo--amit img {
  left: -10px;
  top: 6px;
  width: 181px;
  height: 180px;
  object-fit: fill;
}

.apsl-bio-expert-card__photo--ruksana img {
  left: -10px;
  top: -12px;
  width: 189px;
  height: 197px;
}

.apsl-bio-expert-card__photo--akshay img {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apsl-bio-expert-card__photo--ujwal img {
  left: -6px;
  top: 18px;
  width: 178px;
  height: 163px;
}

.apsl-bio-page .apsl-bio-expert-card__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 18.6px;
  color: var(--apsl-bio-ink);
  margin-bottom: 8px;
}

.apsl-bio-expert-card__role {
  max-width: 291px;
  margin: 0 auto !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  color: var(--apsl-bio-blue);
}

.apsl-bio-expert-card__role--wide {
  max-width: 328px;
}

.apsl-bio-expert-card__back {
  background: var(--apsl-bio-blue);
  color: #FFFFFF;
  text-align: center;
  padding: 85px 24px 24px;
  transform: rotateY(180deg);
}

.apsl-bio-page .apsl-bio-expert-card__back-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 18.6px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.apsl-bio-expert-card__back-role {
  font-size: 14px;
  font-weight: 500;
  line-height: 18.6px;
  margin-bottom: 18px !important;
}

.apsl-bio-expert-card__back-text {
  max-width: 267px;
  margin: 0 auto !important;
  font-size: 14px;
  line-height: 21.8px;
  letter-spacing: 0.23px;
}

/* =========================================================================
   TESTIMONIALS (Figma 5142:1251)
   ========================================================================= */
.apsl-bio-testimonials {
  position: relative;
  min-height: 441px;
  padding: 63px 0 49px;
  overflow: hidden;
  color: #FFFFFF;
  background: var(--apsl-bio-blue);
}

.apsl-bio-testimonials__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Figma "testimonial video 1 1": 874x492, anchored right (-29px), top -19px */
.apsl-bio-testimonials__video {
  position: absolute;
  right: -29px;
  top: -19px;
  width: 874px;
  height: 492px;
  object-fit: cover;
  /* Figma shows this footage soft and washed into the brand blue */
  filter: blur(8px) saturate(0.7);
  opacity: 0.75;
}

/* Solid brand blue on the left, fading out over the video */
.apsl-bio-testimonials__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1F3FB7 52.6%, rgba(31, 63, 183, 0) 77.4%);
}

/* "Design elements 2": soft circle pattern on the left, multiply @ 23% */
.apsl-bio-testimonials__pattern {
  position: absolute;
  left: 0;
  top: -40px;
  bottom: -40px;
  width: 337px;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background:
    radial-gradient(circle, #0A1A6B 0 41px, transparent 42px) 30px 18px / 155px 155px,
    repeating-linear-gradient(45deg, transparent 0 52px, rgba(10, 26, 107, 0.6) 52px 54px, transparent 54px 110px);
}

.apsl-bio-page .apsl-bio-testimonials__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.9px;
  color: #FFFFFF;
  margin-bottom: 39px;
}

.apsl-bio-testimonials__stage {
  position: relative;
  max-width: 778px;
  margin-left: 3px;
}

.apsl-bio-testimonials__quote {
  position: absolute;
  left: 578px;
  top: -58px;
  width: 188px;
  height: 143px;
  z-index: 2;
  pointer-events: none;
}

.apsl-bio-testimonial-box {
  position: relative;
  width: 707px;
  max-width: 100%;
  min-height: 248px;
  padding: 26px 33px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(20.4px);
  backdrop-filter: blur(20.4px);
}

.apsl-bio-testimonial-slide {
  display: none;
}

.apsl-bio-testimonial-slide.is-active {
  display: block;
  animation: apslBioSlideIn 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.apsl-bio-testimonial-text {
  max-width: 562px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: #FFFFFF;
  margin-bottom: 16px !important;
}

.apsl-bio-testimonial-bar {
  width: 47px;
  height: 1.5px;
  background: var(--apsl-bio-yellow);
  border-radius: 1px;
  margin-bottom: 16px;
}

.apsl-bio-testimonial-author__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 18.9px;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.apsl-bio-testimonial-author__company {
  font-size: 14px;
  line-height: 18.2px;
  color: rgba(255, 255, 255, 0.71);
}

.apsl-bio-testimonial-nav {
  position: absolute;
  left: 721px;
  bottom: 0;
  display: flex;
  gap: 11px;
}

/* =========================================================================
   RESOURCES & BROCHURE (Figma 5142:1377)
   ========================================================================= */
.apsl-bio-resources {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  /* Background stops 62px short so the CTA banner sits half on the footer */
  background:
    linear-gradient(90deg, rgba(31, 63, 183, 0.15) 0%, rgba(0, 166, 190, 0.15) 78.6%, rgba(238, 229, 47, 0.15) 125.6%) top / 100% calc(100% - 62px) no-repeat,
    linear-gradient(#FFFFFF, #FFFFFF) top / 100% calc(100% - 62px) no-repeat;
}

.apsl-bio-resources__head {
  margin-bottom: 35px;
}

.apsl-bio-resource {
  position: relative;
  min-height: 338px;
  margin-bottom: 61px;
}

.apsl-bio-resource__visual {
  position: relative;
  width: 698px;
  height: 338px;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
}

.apsl-bio-resource__visual img {
  position: absolute;
  left: -2.7%;
  top: -38.5%;
  width: 116.5%;
  height: auto;
  max-width: none;
}

.apsl-bio-resource__card {
  position: absolute;
  left: 653px;
  top: 93px;
  width: 640px;
  min-height: 245px;
  padding: 30px 49px 31px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 27.7px -4px rgba(49, 110, 180, 0.22);
}

.apsl-bio-resource__icon {
  display: block;
  width: 47px;
  height: 47px;
  margin-bottom: 19px;
}

.apsl-bio-page .apsl-bio-resource__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 21px;
  color: var(--apsl-bio-ink);
  margin-bottom: 12px;
}

.apsl-bio-resource__desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 22.8px;
  letter-spacing: 0.23px;
  color: var(--apsl-bio-ink);
  margin-bottom: 16px !important;
}

.apsl-bio-resource__nav {
  display: none !important;
}

/* Bottom CTA Banner - overlaps the footer by 62px */
.apsl-bio-cta-banner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 135px;
  margin-bottom: -62px;
  padding: 30px 51px;
  border-radius: 12px;
  color: #FFFFFF;
  background-image: linear-gradient(90deg, #1F3FB7 0%, #00A6BE 92.66%, #EEE52F 148.03%);
}

.apsl-bio-cta-banner__text {
  font-size: 26px;
  line-height: 35px;
  letter-spacing: -0.9px;
}

.apsl-bio-cta-banner__text strong {
  display: block;
  font-weight: 700;
}

.apsl-bio-cta-banner__text span {
  display: block;
  font-weight: 400;
}

.apsl-bio-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

/* =========================================================================
   FOOTER (Figma 5142:1371)
   ========================================================================= */
.apsl-bio-footer {
  background: var(--apsl-bio-footer);
  color: #FFFFFF;
  padding: 172px 0 47px;
}

.apsl-bio-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.apsl-bio-footer__logo img {
  display: block;
  width: 153px;
  height: 89px;
  object-fit: contain;
}

.apsl-bio-footer__tagline {
  font-size: 15px;
  font-weight: 800;
  line-height: 23.25px;
  color: #FFFFFF;
}

.apsl-bio-footer__divider {
  margin: 49px 0 30px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  opacity: 1;
}

.apsl-bio-footer__desc {
  max-width: 886px;
  font-size: 13px;
  line-height: 22.1px;
  color: #FFFFFF;
  margin-bottom: 14px !important;
}

.apsl-bio-footer__copy {
  max-width: 780px;
  font-size: 11.5px;
  line-height: 19.55px;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================================
   MODAL & TOASTS
   ========================================================================= */
.apsl-bio-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14, 20, 48, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.apsl-bio-modal-backdrop.is-active {
  display: flex;
  animation: apslBioFadeIn 0.25s ease;
}

.apsl-bio-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px 32px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.apsl-bio-page .apsl-bio-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--apsl-bio-blue);
  margin-bottom: 8px;
}

.apsl-bio-modal__sub {
  font-size: 14px;
  line-height: 22px;
  color: var(--apsl-bio-ink);
  margin-bottom: 20px !important;
}

.apsl-bio-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--apsl-bio-input-bg);
  color: var(--apsl-bio-ink-nav);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.apsl-bio-modal__close:hover {
  background: var(--apsl-bio-input-border);
}

.apsl-bio-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1070;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--apsl-bio-blue);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(31, 63, 183, 0.35);
  animation: apslBioSlideUp 0.3s ease;
}

.apsl-bio-toast.is-active {
  display: flex;
}

/* =========================================================================
   ANIMATIONS & REVEAL
   ========================================================================= */
[data-apsl-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-apsl-animate].is-inview {
  opacity: 1;
  transform: none;
}

@keyframes apslBioFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes apslBioSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes apslBioSlideIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-apsl-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .apsl-bio-marquee__track {
    animation: none;
  }

  .apsl-bio-expert-card__inner {
    transition: none;
  }
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 1399.98px) {
  .apsl-bio-nav {
    gap: 6px;
  }

  .apsl-bio-metric+.apsl-bio-metric {
    margin-left: 20px;
    padding-left: 20px;
  }

  .apsl-bio-metric__num {
    font-size: 38px;
  }

  .apsl-bio-modality-card {
    padding: 24px 22px;
  }

  .apsl-bio-resource__visual {
    width: 620px;
  }

  .apsl-bio-resource__card {
    left: auto;
    right: 0;
    width: 560px;
  }

  .apsl-bio-resource__nav {
    right: 0;
  }
}

@media (max-width: 1199.98px) {
  .apsl-bio-nav-toggle {
    display: block;
  }

  .apsl-bio-header__nav {
    display: none;
    position: absolute;
    top: 94px;
    left: -12px;
    right: -12px;
    transform: none;
    background: #FFFFFF;
    box-shadow: 0 15px 30px rgba(14, 20, 48, 0.1);
  }

  .apsl-bio-header__nav.is-open {
    display: block;
  }

  .apsl-bio-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
  }

  .apsl-bio-nav__link {
    padding: 12px 10px;
  }

  .apsl-bio-hero__video-layer {
    left: calc(50% - 760px);
  }

  .apsl-bio-hero__fallback {
    left: calc(50% - 180px);
    width: 440px;
  }

  .apsl-bio-hero__copy {
    max-width: 520px;
  }

  .apsl-bio-metrics-card {
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .apsl-bio-metric,
  .apsl-bio-metric+.apsl-bio-metric {
    flex: 0 0 33.333%;
    width: 33.333%;
    margin: 0;
    padding: 0 16px;
    border: 0;
  }

  .apsl-bio-modalities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apsl-bio-modality-card__desc {
    max-width: none;
  }

  .apsl-bio-why__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apsl-bio-testimonials__stage {
    max-width: 707px;
  }

  .apsl-bio-testimonials__quote {
    left: auto;
    right: -40px;
  }

  .apsl-bio-testimonial-nav {
    position: static;
    margin-top: 16px;
  }

  .apsl-bio-resource {
    display: flex;
    flex-direction: column;
  }

  .apsl-bio-resource__nav {
    position: static;
    order: -1;
    justify-content: flex-end;
    margin-bottom: 16px;
  }

  .apsl-bio-resource__visual {
    width: 100%;
    max-width: 698px;
  }

  .apsl-bio-resource__card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    max-width: 640px;
    margin: -45px 0 0 auto;
  }
}

@media (max-width: 991.98px) {
  .apsl-bio-hero__grid {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 96px;
  }

  .apsl-bio-hero__copy {
    padding-top: 64px;
  }

  .apsl-bio-hero__form {
    flex-basis: auto;
    width: 100%;
    max-width: 380px;
    padding-top: 8px;
  }

  .apsl-bio-hero__video-layer {
    left: 50%;
    top: -60px;
    width: 900px;
    height: 506px;
    transform: translateX(-30%);
  }

  .apsl-bio-hero__fallback {
    left: 50%;
    top: 220px;
    width: 340px;
    transform: translateX(-40%);
    opacity: 0.65;
  }

  .apsl-bio-experts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apsl-bio-why__grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .apsl-bio-why-card+.apsl-bio-why-card::before {
    display: none;
  }

  .apsl-bio-why-card {
    min-height: 0;
  }

  .apsl-bio-page .apsl-bio-why__title {
    margin-bottom: 40px;
  }

  .apsl-bio-testimonials__quote {
    right: 8px;
  }

  .apsl-bio-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
}

@media (max-width: 767.98px) {
  .apsl-bio-hero__video-layer {
    left: 50%;
    top: -30px;
    width: 700px;
    height: 394px;
    transform: translateX(-40%);
  }

  .apsl-bio-hero__fallback {
    left: 50%;
    top: 180px;
    width: 280px;
    transform: translateX(-50%);
    opacity: 0.5;
  }

  .apsl-bio-section-title,
  .apsl-bio-page .apsl-bio-why__title,
  .apsl-bio-page .apsl-bio-testimonials__title {
    font-size: 28px;
  }

  .apsl-bio-page .apsl-bio-hero__title {
    font-size: 34px;
    line-height: 38px;
  }

  .apsl-bio-hero__title-accent {
    line-height: 38px;
  }

  .apsl-bio-page .apsl-bio-hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .apsl-bio-header__btn {
    display: none;
  }

  .apsl-bio-header__inner {
    height: 76px;
  }

  .apsl-bio-header__logo img {
    width: 96px;
    height: 61px;
  }

  .apsl-bio-header__nav {
    top: 76px;
  }

  .apsl-bio-metric,
  .apsl-bio-metric+.apsl-bio-metric {
    flex-basis: 100%;
    width: 100%;
  }

  .apsl-bio-modalities__grid {
    grid-template-columns: 1fr;
    row-gap: 52px;
  }

  .apsl-bio-modalities__head {
    margin-bottom: 56px;
  }

  .apsl-bio-regulatory__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-left: 0;
  }

  .apsl-bio-page .apsl-bio-regulatory__label {
    padding-left: 16px;
  }

  .apsl-bio-experts__grid {
    grid-template-columns: 1fr;
  }

  .apsl-bio-testimonials__video {
    width: 100%;
    right: 0;
    opacity: 0.5;
  }

  .apsl-bio-testimonials__fade {
    background: linear-gradient(90deg, #1F3FB7 30%, rgba(31, 63, 183, 0.6) 100%);
  }

  .apsl-bio-testimonials__quote {
    width: 110px;
    height: 84px;
    top: -40px;
  }

  .apsl-bio-testimonial-box {
    padding: 24px 20px;
  }

  .apsl-bio-resource__card {
    margin: -24px 12px 0;
    padding: 24px;
  }

  .apsl-bio-cta-banner__text {
    font-size: 21px;
    line-height: 29px;
  }

  .apsl-bio-footer {
    padding-top: 120px;
  }

  .apsl-bio-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
}