/* Air ambulance billing page (v2/specialties/air-ambulance-billing.blade.php).
   Loaded after behavioral-health-v2.css, mental-health-v2.css, dermatology-v2.css,
   dme-v2.css and urgent-care-v2.css: the page reuses their sections (the wrapper
   carries .bh-v2, .mh-v2, .derm-v2 and .uc-v2 too). Everything here is scoped to
   .aa-v2 or uses aa-* classes, so the other pages are unaffected. */

/* ============================================================= */
/* Section rhythm: Figma stacks the page's frames 60px apart.     */
/* Content-only frames get that gap as a margin; frames with their */
/* own background carry their inner padding in their own rules.    */
/* Outranks the urgent care 60 / 60 padding rule.                  */
/* ============================================================= */
.uc-v2.aa-v2 > section[id],
.uc-v2.aa-v2 > .dme-v2 > section[id] {
  margin-top: 60px;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.uc-v2.aa-v2 > section:last-of-type {
  margin-bottom: 60px;
}

/* The hero and the strengths band sit flush, as in Figma 12411:12. */
.uc-v2.aa-v2 > section#aa-hero {
  margin-top: 0;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Banded frames keep Figma's inner padding. */
.uc-v2.aa-v2 > section#aa-no-surprises-act,
.uc-v2.aa-v2 > section#aa-ai-automation,
.uc-v2.aa-v2 > section#aa-why-choose-us,
.uc-v2.aa-v2 > section#or-consultation {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* The trust band sits flush under "Why choose us" (Figma 12411:10). */
.uc-v2.aa-v2 > section#aa-trust {
  margin-top: 0;
  padding-top: 64px;
  padding-bottom: 64px;
}

.uc-v2.aa-v2 > section.strengths {
  margin: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Figma's 376px band applies where the cards sit in one row; at 768px and
   below the shared component stacks them and sizes the band to fit. */
@media (min-width: 769px) {
  .uc-v2.aa-v2 > section.strengths {
    height: 376px;
  }
}

/* Shared centred section heading (title, the coral + navy bars, lead). */
.aa-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.aa-head-title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 32px;
  line-height: 45px;
  letter-spacing: -0.8px;
  color: var(--c-blue);
  text-transform: none;
}

.aa-head-title .accent {
  color: var(--c-orange);
}

.aa-head-bars {
  display: flex;
  gap: 6px;
  margin-top: 18px;
}

.aa-head-bars i {
  display: block;
  width: 44px;
  height: 4px;
  background: var(--c-orange);
  border-radius: 4px;
}

.aa-head-bars i + i {
  width: 12px;
  background: var(--c-blue);
}

.aa-head-lead {
  max-width: 900px;
  margin: 18.75px 0 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 17px;
  line-height: 29.75px;
  color: var(--c-text);
}

/* The bars grow out from the left once the section is in view. */
@keyframes aa-bar-grow {
  from { scale: 0 1; }
  to   { scale: 1 1; }
}

@keyframes aa-rise {
  from { opacity: 0; translate: 0 26px; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes aa-pop {
  0%   { opacity: 0; scale: 0.6; }
  70%  { opacity: 1; scale: 1.1; }
  100% { opacity: 1; scale: 1; }
}

@keyframes aa-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

@keyframes aa-spin {
  to { rotate: 360deg; }
}

@keyframes aa-bob-tilt {
  0%, 100% { translate: 0 0; rotate: -8deg; }
  50%      { translate: 0 -10px; rotate: 4deg; }
}

@keyframes aa-twinkle {
  0%, 100% { opacity: 1; scale: 1; }
  50%      { opacity: 0.45; scale: 0.7; }
}

[data-bh-reveal].is-armed:not(.is-in) :is(.aa-head > *) {
  opacity: 0;
}

[data-bh-reveal].is-in .aa-head > * {
  animation: aa-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

[data-bh-reveal].is-in .aa-head > :nth-child(2) { animation-delay: 0.12s; }
[data-bh-reveal].is-in .aa-head > :nth-child(3) { animation-delay: 0.2s; }

[data-bh-reveal].is-in .aa-head-bars i {
  transform-origin: left center;
  animation: aa-bar-grow 0.7s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

[data-bh-reveal].is-in .aa-head-bars i + i {
  animation-delay: 0.5s;
}

/* ============================================================= */
/* Hero — Figma node 12371:2899 (1440 x 856)                      */
/* BG blue at 40% over white with the corner-circle backdrop       */
/* (12371:2900); a 565px copy column and the 658 x 560 artwork,    */
/* 20px apart and centred; the form bar 50px below them.           */
/* ============================================================= */
.aa-v2 .aa-hero {
  z-index: 3; /* the open service list stays above the next section */
  background: rgba(239, 242, 255, 0.4);
}

/* The backdrop is clipped to the hero (the section itself must not clip, so
   the Service dropdown can open past its bottom edge). */
.aa-hero-bg-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aa-hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  max-width: none;
  height: 1000px;
  margin-left: -720px;
  pointer-events: none;
}

.aa-hero .container-page {
  position: relative;
}

.aa-v2 .aa-hero-top {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  margin-bottom: 50px;
}

.aa-v2 .aa-hero-copy {
  flex: 0 1 565px;
  width: auto;
  min-width: 0;
}

.aa-v2 .aa-hero .bh-hero-heading {
  line-height: 55px;
  text-transform: none;
}

.aa-v2 .aa-hero .bh-hero-heading .accent {
  display: inline;
}

/* The lead runs a little wider than the column in Figma (622px). */
.aa-v2 .aa-hero .bh-hero-lead {
  width: 622px;
  max-width: 100%;
}

.aa-v2 .aa-hero .bh-hero-list li::before {
  top: 2.4px;
  background-image: url("../../images/air-ambulance-v2/hero-tick.svg");
}

.aa-v2 .aa-hero .bh-hero-list li:nth-child(6) {
  animation-delay: 0.73s;
}

/* ---------- Artwork (Figma 12372:3081, 658 x 560) ---------- */
.aa-hero-art {
  position: relative;
  flex: none;
  width: 658px;
  height: 560px;
  margin-right: -18px; /* Figma lets the art run 18px past the 1240 line */
}

/* 12371:2996: a 470 x 480 navy card, 40px corners, turned -4deg in the
   502.34 x 511.62 box at 39.83 / 32.19. */
.aa-hero-card {
  position: absolute;
  top: 47.997px;
  left: 55.999px;
  width: 470px;
  height: 480px;
  background: var(--c-blue);
  border-radius: 40px;
  rotate: -4deg;
}

/* 12371:2997: the 120px coral tile at 30 / 440. */
.aa-hero-tile {
  position: absolute;
  top: 440px;
  left: 30px;
  width: 120px;
  height: 120px;
  background: var(--c-orange);
  border-radius: 28px;
}

/* 12371:2998: 480 x 500 at 40 / 40, an 8px white border, 36px corners. */
.aa-hero-photo {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 480px;
  height: 500px;
  overflow: hidden;
  background: var(--c-white);
  border: 8px solid var(--c-white);
  border-radius: 36px;
  box-shadow: 0 30px 70px 0 rgba(39, 55, 117, 0.2);
}

.aa-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* 12371:2992: the dashed orbit (inset 11.25% 3.19% 19.64% 54.1%, drawn 0.35%
   past its box) and the two beads on it (12371:2994 / 12372:3077). */
.aa-hero-orbit {
  position: absolute;
  top: 61.67px;
  left: 354.98px;
  width: 282.988px;
  height: 388.975px;
  max-width: none;
}

.aa-hero-bead {
  position: absolute;
  left: 613px;
  width: 10px;
  height: 10px;
}

.aa-hero-bead--a { top: 185px; }
.aa-hero-bead--b { top: 380px; }

/* ---------- Status chips (12371:3019 / 3032 / 3042) ---------- */
.aa-hero-chip {
  position: absolute;
  z-index: 1;
}

.aa-hero-chip--flight { top: 30px;  left: 298px; width: 280px; }
.aa-hero-chip--clean  { top: 225px; left: 438px; width: 220px; }
.aa-hero-chip--paid   { top: 420px; left: 328px; width: 250px; }

.aa-hero-chip-in {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--c-white);
  border: 1px solid #e6eaf4;
  border-radius: 18px;
  filter: drop-shadow(0 18px 20px rgba(39, 55, 117, 0.14));
}

.aa-hero-chip--clean .aa-hero-chip-in { filter: drop-shadow(0 18px 20px rgba(39, 55, 117, 0.16)); }
.aa-hero-chip--paid .aa-hero-chip-in  { filter: drop-shadow(0 18px 20px rgba(39, 55, 117, 0.18)); }

.aa-hero-chip-ic {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--c-orange);
  border-radius: 12px;
}

.aa-hero-chip--clean .aa-hero-chip-ic { background: var(--c-blue); }
.aa-hero-chip--paid .aa-hero-chip-ic  { background: #fdedee; }

.aa-hero-chip-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  min-width: 0;
  padding-top: 2px;
}

.aa-hero-chip-label {
  padding-bottom: 1px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 13px;
  line-height: normal;
  letter-spacing: 0.6px;
  color: var(--c-blue);
  text-transform: uppercase;
}

.aa-hero-chip-bar {
  position: relative;
  display: block;
  height: 6px;
  overflow: hidden;
  background: #e3e8f3;
  border-radius: 999px;
}

.aa-hero-chip-bar--b {
  background: #eef1f8;
}

/* A soft light runs along the skeleton bars, as if the record is loading. */
.aa-hero-chip-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  translate: -100% 0;
  animation: aa-hero-shimmer 2.6s ease-in-out infinite;
}

.aa-hero-chip--clean .aa-hero-chip-bar::after { animation-delay: 0.6s; }
.aa-hero-chip--paid .aa-hero-chip-bar::after  { animation-delay: 1.2s; }

@keyframes aa-hero-shimmer {
  0%, 30% { translate: -100% 0; }
  100%    { translate: 100% 0; }
}

.aa-hero-chip-check {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--c-blue);
  border-radius: 11px;
}

/* ---------- Hero animation (plays on first paint, like the BH hero) ---------- */
/* The navy card swings in to its tilt, the photo rises, the coral tile pops,
   the orbit draws round and the chips drop in one by one; then the card
   sways, the chips float out of step, the beads pulse and the bars shimmer. */
@keyframes aa-hero-card-in {
  from { opacity: 0; rotate: -14deg; scale: 0.9; }
  to   { opacity: 1; rotate: -4deg; scale: 1; }
}

@keyframes aa-hero-card-sway {
  0%, 100% { rotate: -4deg; }
  50%      { rotate: -2deg; }
}

@keyframes aa-hero-photo-in {
  from { opacity: 0; translate: 0 34px; scale: 0.96; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes aa-hero-zoom {
  from { scale: 1.14; }
  to   { scale: 1; }
}

@keyframes aa-hero-orbit-in {
  from { opacity: 0; clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes aa-hero-chip-in {
  from { opacity: 0; translate: 26px 0; scale: 0.94; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

.aa-hero-card {
  animation:
    aa-hero-card-in 1.1s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards,
    aa-hero-card-sway 8s 1.4s ease-in-out infinite;
}

.aa-hero-photo {
  animation: aa-hero-photo-in 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-hero-photo img {
  animation: aa-hero-zoom 2.2s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-hero-tile {
  animation:
    aa-pop 0.7s 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards,
    aa-float 6s 1.4s ease-in-out infinite;
}

.aa-hero-orbit {
  animation: aa-hero-orbit-in 1.2s 0.7s ease-out backwards;
}

.aa-hero-bead {
  animation:
    aa-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards,
    aa-twinkle 2.4s ease-in-out infinite;
}

.aa-hero-bead--a { animation-delay: 1.3s, 1.8s; }
.aa-hero-bead--b { animation-delay: 1.5s, 3s; }

.aa-hero-chip {
  animation: aa-hero-chip-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-hero-chip--flight { animation-delay: 0.85s; }
.aa-hero-chip--clean  { animation-delay: 1.05s; }
.aa-hero-chip--paid   { animation-delay: 1.25s; }

.aa-hero-chip-in {
  animation: aa-float 5.5s ease-in-out infinite;
}

.aa-hero-chip--flight .aa-hero-chip-in { animation-delay: 1.8s; }
.aa-hero-chip--clean .aa-hero-chip-in  { animation-delay: 2.6s; animation-duration: 6.2s; }
.aa-hero-chip--paid .aa-hero-chip-in   { animation-delay: 3.3s; animation-duration: 5s; }

.aa-hero-chip-check {
  animation: aa-pop 0.5s 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

/* Between 1200 and 1290px the artwork scales down to keep clear of the copy. */
@media (max-width: 1289px) and (min-width: 1200px) {
  .aa-hero-art {
    width: 600px;
    margin-right: 0;
    zoom: 0.91;
  }
}

/* Below 1200px the artwork stacks under the copy, centred and scaled. */
@media (max-width: 1199px) {
  .aa-v2 .aa-hero-top {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 48px;
  }

  .aa-v2 .aa-hero-copy {
    flex: none;
  }

  .aa-hero-art {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .aa-v2 .aa-hero .bh-hero-heading {
    line-height: 40px;
  }

  .aa-hero-art {
    zoom: 0.8;
  }
}

/* Phones: the art scales to the column. */
@media (max-width: 575px) {
  .uc-v2.aa-v2 > section#aa-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .aa-hero .container-page {
    --page-gutter: 20px;
  }

  .aa-v2 .aa-hero .bh-hero-heading {
    font-size: 28px;
    line-height: 36px;
  }

  .aa-hero-art {
    zoom: 0.55;
  }
}

@media (max-width: 400px) {
  .aa-hero-art {
    zoom: 0.5;
  }
}

/* ============================================================= */
/* Why air ambulance claims need specialized billing —            */
/* Figma 12371:379 (1440 x 604). Builds on the urgent care .uc-why */
/* section; the photo fills the card at 60% opacity and the 393px  */
/* card sits 20px in, centred top to bottom.                       */
/* ============================================================= */
.aa-v2 .aa-why .uc-why-text p {
  color: var(--c-text);
}

.aa-v2 .aa-why-photo {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.aa-v2 .aa-why-card {
  top: 50%;
  left: 20px;
  width: 393px;
  margin-top: -136px; /* centred: 273 tall, 0.5px low as in Figma */
}

.aa-v2 .aa-why-card .uc-why-card-list {
  width: 363px;
}

@media (max-width: 1199px) {
  .aa-v2 .aa-why-card {
    left: 50%;
    max-width: calc(100% - 40px);
    margin-left: -196.5px;
  }
}

@media (max-width: 575px) {
  .uc-v2.aa-v2 > section#aa-why {
    padding-top: 0;
  }

  .aa-why .container-page {
    --page-gutter: 20px;
  }

  .aa-v2 .aa-why-media::after {
    display: none;
  }

  .aa-v2 .aa-why-photo {
    aspect-ratio: auto;
    height: 100%;
    object-fit: cover;
  }

  .aa-v2 .aa-why-card {
    top: 50%;
    right: auto;
    left: 50%;
    width: 290px;
    margin: -105px 0 0 -145px;
  }

  .aa-v2 .aa-why-card .uc-why-card-title {
    white-space: normal;
  }

  .aa-v2 .aa-why-card .uc-why-card-list {
    width: 100%;
  }
}

/* ============================================================= */
/* CTA bar — Figma 12371:421 (1240 x 132): the urgent care bar     */
/* with the coral "Get a Free Claim Audit" pill.                   */
/* ============================================================= */
/* (No overrides needed: .uc-ctabar matches this frame.) */

/* ============================================================= */
/* Our complete air ambulance billing services —                  */
/* Figma 12371:436 (1440 x 1377.75). White, with the corner rings, */
/* beads, glow and tilted "+" tile; a 2 x 3 grid of numbered       */
/* service cells split by #c4c6c9 hairlines; the gradient-bordered */
/* "What We Review Before Billing" panel 56px below.               */
/* ============================================================= */
.aa-svc {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
}

.aa-svc .container-page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.aa-svc .aa-head-title {
  padding-top: 21px;
}

/* Decorations, placed from the frame's left / right edges (12371:437 - 443). */
.aa-svc-ring,
.aa-svc-bead,
.aa-svc-glow,
.aa-svc-plus {
  position: absolute;
  pointer-events: none;
}

.aa-svc-ring--a {
  top: -220px;
  left: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid #dce3f2;
  border-radius: 50%;
}

.aa-svc-ring--b {
  top: -160px;
  left: -120px;
  width: 440px;
  height: 440px;
  border: 1px dashed #e1e7f4;
  border-radius: 50%;
}

.aa-svc-bead { border-radius: 50%; }
.aa-svc-bead--a { top: 62px;  left: 88px;  width: 12px; height: 12px; background: var(--c-orange); }
.aa-svc-bead--b { top: 212px; left: 236px; width: 8px;  height: 8px;  background: var(--c-blue); opacity: 0.55; }
.aa-svc-bead--c { top: 268px; left: 30px;  width: 16px; height: 16px; background: var(--c-blue); }

.aa-svc-glow {
  top: -120px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle closest-side, rgba(227, 233, 248, 0.2) 0%, rgba(227, 233, 248, 0) 70%);
  border-radius: 50%;
}

/* 12371:443: a 64px white tile turned -8deg, 115.86px in from the right. */
.aa-svc-plus {
  top: 69.99px;
  right: 119.99px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--c-white);
  border-radius: 18px;
  filter: drop-shadow(0 14px 15px rgba(39, 55, 117, 0.1));
  rotate: -8deg;
}

.aa-svc-plus img {
  width: 30.0012px;
  height: 30.0012px;
}

/* ---------- Service grid (12376:3340) ---------- */
.aa-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.aa-svc-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid #c4c6c9;
}

.aa-svc-item:nth-child(2n) {
  border-left: 1px solid #c4c6c9;
}

.aa-svc-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.aa-svc-title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  line-height: 25px;
  letter-spacing: -0.3px;
  color: var(--c-blue);
  text-transform: none;
}

.aa-svc-num {
  color: var(--c-orange);
}

.aa-svc-text {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: var(--c-text);
}

/* ---------- "What We Review Before Billing" panel (12377:3385) ---------- */
/* 2px border running navy to coral, 18px corners; the clipboard + title
   20.5px down; a 4 x 3 grid 27px in from the sides, 85.5px down, with
   #e5e7eb column rules (and short row rules under the first row). */
.aa-review {
  position: relative;
  min-height: 258px;
  padding: 20.5px 27px 24px;
  background:
    linear-gradient(var(--c-white), var(--c-white)) padding-box,
    linear-gradient(90deg, #273775 0%, #273775 30%, #fc5d61 100%) border-box;
  border: 2px solid transparent;
  border-radius: 18px;
  filter: drop-shadow(0 3px 6.5px rgba(39, 55, 117, 0.07));
}

.aa-review-head {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* Figma 12377:3392: a 46 x 3 coral underline centred under the heading. */
.aa-review-head::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 46px;
  height: 3px;
  background: var(--c-orange);
  border-radius: 2px;
  translate: -50% 0;
}

.aa-review-head img {
  flex: none;
  width: 36px;
  height: 36px;
}

.aa-review-title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 24px;
  line-height: normal;
  color: var(--c-blue);
  text-transform: none;
}

.aa-review-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, 36px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 26px;
  margin: 29px 0 0; /* 85.5px from the panel top */
  padding: 0;
  list-style: none;
}

.aa-review-grid li {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: center;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--c-blue);
}

/* Figma keeps this one label on a single line, running into the gutter. */
@media (min-width: 1200px) {
  .aa-review-grid li:nth-child(10) span {
    white-space: nowrap;
  }
}

.aa-review-grid li img {
  flex: none;
  height: 20px;
}

/* Column rules: 146px tall, centred in each 26px gutter. */
.aa-review-grid li:nth-child(3n + 1):not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -13px;
  width: 1px;
  height: 146px;
  background: var(--c-light-grey);
}

/* Row rules: 181px lines under rows 1 and 2 of every column, centred in the
   20px row gap (Figma 12377:3405 - 3407 style). */
.aa-review-grid li:not(:nth-child(3n))::after {
  content: "";
  position: absolute;
  top: 45.91px;
  left: 47.5px;
  width: 181px;
  max-width: calc(100% - 47.5px);
  height: 1px;
  background: var(--c-light-grey);
}

/* ---------- Animation (script-v2.js .is-armed / .is-in) ---------- */
/* Heading rises; the decorations drift in; the service cells rise in
   reading order with the rules drawing between them; the review panel
   rises and its rows tick in column by column. Idle: the "+" tile bobs and
   the beads twinkle. */
@keyframes aa-svc-ring-in {
  from { opacity: 0; scale: 0.85; }
  to   { opacity: 1; scale: 1; }
}

.aa-svc.is-armed:not(.is-in) :is(.aa-svc-item, .aa-review, .aa-review-grid li, .aa-svc-ring, .aa-svc-plus, .aa-svc-bead) {
  opacity: 0;
}

.aa-svc.is-in .aa-svc-ring {
  animation: aa-svc-ring-in 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-svc.is-in .aa-svc-ring--b {
  animation:
    aa-svc-ring-in 1.4s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) backwards,
    aa-spin 60s 1.6s linear infinite;
}

.aa-svc.is-in .aa-svc-bead,
.aa-svc:not(.is-armed) .aa-svc-bead {
  animation:
    aa-pop 0.5s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards,
    aa-twinkle 3s 1.2s ease-in-out infinite;
}

.aa-svc.is-in .aa-svc-bead--b { animation-delay: 0.65s, 2s; }
.aa-svc.is-in .aa-svc-bead--c { animation-delay: 0.8s, 2.6s; }

.aa-svc.is-in .aa-svc-plus,
.aa-svc:not(.is-armed) .aa-svc-plus {
  animation:
    aa-pop 0.6s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards,
    aa-bob-tilt 6s 1.2s ease-in-out infinite;
}

.aa-svc.is-in .aa-svc-item {
  animation: aa-rise 0.7s calc(0.3s + var(--i, 0) * 0.1s) cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-svc-num {
  display: inline-block;
}

.aa-svc.is-in .aa-svc-num {
  animation: aa-pop 0.5s calc(0.5s + var(--i, 0) * 0.1s) cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.aa-svc.is-in .aa-review {
  animation: aa-rise 0.8s 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-svc.is-in .aa-review-grid li {
  animation: aa-rise 0.5s calc(1.15s + var(--i, 0) * 0.06s) cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-svc-item,
.aa-review-head img {
  transition: background-color 0.3s ease;
}

.aa-svc-item:hover {
  background: rgba(239, 242, 255, 0.55);
}

.aa-svc.is-in .aa-review-head img,
.aa-svc:not(.is-armed) .aa-review-head img {
  animation: aa-float 4.5s 2s ease-in-out infinite;
}

@media (max-width: 1199px) {
  .aa-review-grid {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
  }

  .aa-review-grid li {
    min-height: 36px;
  }

  .aa-review-grid li::before,
  .aa-review-grid li::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .aa-head-title {
    font-size: 28px;
    line-height: 38px;
  }

  .aa-head-lead {
    font-size: 15px;
    line-height: 26px;
  }

  .aa-svc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .aa-svc-item:nth-child(2n) {
    border-left: 0;
  }

  .aa-svc-item:nth-last-child(2) {
    border-bottom: 1px solid #c4c6c9;
  }

  .aa-svc-title {
    font-size: 20px;
    line-height: 26px;
  }

  .aa-svc-plus {
    display: none;
  }
}

@media (max-width: 575px) {
  .aa-svc .container-page,
  .aa-codes .container-page {
    --page-gutter: 20px;
  }

  .aa-svc .container-page {
    gap: 32px;
  }

  .aa-head-title {
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.5px;
  }

  .aa-svc-item {
    padding: 20px 0;
  }

  .aa-svc-text {
    font-size: 14px;
    line-height: 24px;
  }

  .aa-review {
    padding: 20px 16px;
  }

  .aa-review-title {
    font-size: 20px;
  }

  .aa-review-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 20px;
  }
}

/* ============================================================= */
/* Accurate air ambulance procedure coding —                      */
/* Figma 12371:636 (1440 x 810.34). White, with the corner rings   */
/* and beads; the centred heading; 12 cards (80.39 tall) in two    */
/* columns 32px apart, 16px between rows, alternating BG blue and  */
/* blush rows; navy (left) and coral (right) number badges.        */
/* ============================================================= */
.aa-codes {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
}

.aa-codes .container-page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.aa-head--codes .aa-head-title {
  max-width: 942px;
  letter-spacing: -1px;
}

.aa-head--codes .aa-head-bars {
  margin-top: 10px;
}

.aa-head--codes .aa-head-bars i { width: 56px; }
.aa-head--codes .aa-head-bars i + i { width: 14px; }

.aa-head--codes .aa-head-lead {
  max-width: 976px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 28px;
}

.aa-codes-ring,
.aa-codes-bead,
.aa-codes-dot {
  position: absolute;
  pointer-events: none;
}

.aa-codes-ring--a {
  top: -170px;
  left: -150px;
  width: 420px;
  height: 420px;
  border: 1px solid #e1e7f4;
  border-radius: 50%;
}

.aa-codes-ring--b {
  top: -110px;
  left: -90px;
  width: 300px;
  height: 300px;
  border: 1px dashed #e1e7f4;
  border-radius: 50%;
}

.aa-codes-bead { border-radius: 50%; }
.aa-codes-bead--a { top: 58px;  left: 112px; width: 16px; height: 16px; background: var(--c-orange); }
.aa-codes-bead--b { top: 110px; left: 150px; width: 8px;  height: 8px;  background: var(--c-blue); opacity: 0.55; }

/* 12371:642: a 120 x 48 box 40px off the bottom, 100px in, holding a small
   #c9d2ea ellipse at its centre. */
.aa-codes-dot {
  bottom: 40px;
  left: calc(50% - 620px);
  width: 120px;
  height: 48px;
  background: radial-gradient(ellipse 12px 4.8px at 50% 50%, #c9d2ea 99%, transparent 100%);
}

.aa-codes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aa-code {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 80.39px;
  padding: 16px 22px 16px 16px;
  background: var(--c-bg-blue);
  border: 1px solid var(--c-light-grey);
  border-radius: 18px;
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}

.aa-code--blush {
  background: #fff4f4;
  border-color: #fddcdd;
}

.aa-code:hover {
  translate: 0 -3px;
  box-shadow: 0 14px 26px rgba(39, 55, 117, 0.1);
}

.aa-code-num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding-top: 1px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 13px;
  line-height: normal;
  color: var(--c-white);
  background: var(--c-blue);
  border-radius: 14px;
  filter: drop-shadow(0 8px 9px rgba(39, 55, 117, 0.14));
}

.aa-code:nth-child(2n) .aa-code-num {
  background: var(--c-orange);
}

.aa-code-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.aa-code-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--c-blue);
}

.aa-code-title .accent {
  color: var(--c-orange);
}

.aa-code-note {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: var(--c-text);
}

.aa-code-check {
  flex: none;
  width: 22px;
  height: 22px;
}

/* ---------- Animation ---------- */
/* Cards slide in from their own side in reading order, the badges pop and
   the ticks land last. */
@keyframes aa-from-left {
  from { opacity: 0; translate: -28px 0; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes aa-from-right {
  from { opacity: 0; translate: 28px 0; }
  to   { opacity: 1; translate: 0 0; }
}

.aa-codes.is-armed:not(.is-in) :is(.aa-code, .aa-codes-ring, .aa-codes-bead) {
  opacity: 0;
}

.aa-codes.is-in .aa-codes-ring {
  animation: aa-svc-ring-in 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-codes.is-in .aa-codes-ring--b {
  animation:
    aa-svc-ring-in 1.4s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) backwards,
    aa-spin 50s 1.6s linear infinite reverse;
}

.aa-codes.is-in .aa-codes-bead {
  animation:
    aa-pop 0.5s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards,
    aa-twinkle 3s 1.4s ease-in-out infinite;
}

.aa-codes.is-in .aa-code:nth-child(odd) {
  animation: aa-from-left 0.6s calc(0.3s + var(--i, 0) * 0.07s) cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-codes.is-in .aa-code:nth-child(even) {
  animation: aa-from-right 0.6s calc(0.3s + var(--i, 0) * 0.07s) cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-codes.is-in .aa-code-num {
  animation: aa-pop 0.5s calc(0.5s + var(--i, 0) * 0.07s) cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.aa-codes.is-in .aa-code-check {
  animation: aa-pop 0.45s calc(0.75s + var(--i, 0) * 0.07s) cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@media (max-width: 991px) {
  .aa-codes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* One column: keep the blue / blush rhythm card by card. */
  .aa-code,
  .aa-code--blush {
    background: var(--c-bg-blue);
    border-color: var(--c-light-grey);
  }

  .aa-code:nth-child(4n + 3),
  .aa-code:nth-child(4n + 4) {
    background: #fff4f4;
    border-color: #fddcdd;
  }
}

@media (max-width: 575px) {
  .aa-codes .container-page {
    gap: 32px;
  }

  .aa-code {
    gap: 12px;
    padding: 14px;
  }

  .aa-code-title {
    font-size: 15px;
  }

  .aa-code-note {
    font-size: 13px;
    line-height: 19px;
  }
}

/* ============================================================= */
/* One billing team for every patient — Figma 12371:864           */
/* (1440 x 239). The urgent care clinic-types cards; the head has  */
/* no pill: a 32 / 45 title and a 16 / 25.2 lead, 10px apart, then */
/* the cards 20px below.                                           */
/* ============================================================= */
.aa-v2 .aa-transport .bh-sub-head {
  gap: 10px;
  margin-bottom: 0;
}

.aa-v2 .aa-transport .bh-sub-title {
  font-size: 32px;
  line-height: 45px;
  letter-spacing: 0;
}

.aa-v2 .aa-transport .bh-sub-lead {
  width: 100%;
  max-width: 834px;
  font-size: 16px;
  line-height: 25.2px;
  color: var(--c-text);
}

.aa-v2 .aa-transport .bh-sub-card {
  border-radius: 18px;
  filter: drop-shadow(0 12px 15px rgba(39, 55, 117, 0.07));
  box-shadow: none;
  transition: translate 0.3s ease, border-color 0.3s ease;
}

.aa-v2 .aa-transport .bh-sub-card:hover {
  translate: 0 -4px;
  border-color: var(--c-orange);
}

.aa-v2 .aa-transport .bh-sub-card-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: var(--c-blue);
}

/* Idle: each icon bobs gently once the cards are in, out of step. */
.aa-transport.is-in .uc-clinic-icon img,
.aa-transport:not(.is-armed) .uc-clinic-icon img {
  animation: aa-float 4s calc(1.2s + var(--i, 0) * 0.35s) ease-in-out infinite;
}

.aa-transport .bh-sub-card:first-child .uc-clinic-icon img {
  transform-origin: 50% 50%;
}

.aa-transport.is-in .bh-sub-card:first-child .uc-clinic-icon img,
.aa-transport:not(.is-armed) .bh-sub-card:first-child .uc-clinic-icon img {
  animation: aa-spin 6s 1.2s linear infinite;
}

/* ============================================================= */
/* Out-of-network / No Surprises Act — Figma 12371:823            */
/* (1440 x 618.9). The urgent care denial banner: the photo box is */
/* 707 x 685 from 733px (Figma lets it run past the band, which    */
/* clips it), the photo square at the top; two feature rows.       */
/* ============================================================= */
.aa-v2 .aa-nsa-media {
  bottom: auto;
  height: 685px;
}

.aa-v2 .aa-nsa-photo {
  height: 103.21%;
  object-fit: cover;
  object-position: 50% 0;
}

.aa-v2 .aa-nsa-copy {
  gap: 20px;
}

.aa-nsa-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aa-nsa-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.aa-nsa-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-white);
  border-radius: 50%;
  filter: drop-shadow(0 1.6px 1.6px rgba(0, 0, 0, 0.15));
}

.aa-nsa-icon > span {
  position: relative;
  width: 27.2px;
  height: 27.2px;
}

.aa-nsa-icon img {
  position: absolute;
  top: var(--y, 0);
  left: var(--x, 0);
  max-width: none;
}

.aa-nsa-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.aa-nsa-title {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-blue);
  text-transform: none;
}

.aa-nsa-text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--c-text);
}

/* The feature rows slide in after the copy, their icons popping in; idle,
   the icons pulse a soft ring. */
@keyframes aa-ring-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(252, 93, 97, 0.35); }
  70%  { box-shadow: 0 0 0 12px rgba(252, 93, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 93, 97, 0); }
}

.aa-nsa.is-armed:not(.is-in) .aa-nsa-list li {
  opacity: 0;
}

.aa-nsa.is-in .aa-nsa-list li {
  animation: aa-from-right 0.6s calc(0.5s + var(--i, 0) * 0.15s) cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.aa-nsa.is-in .aa-nsa-icon {
  animation:
    aa-pop 0.5s calc(0.65s + var(--i, 0) * 0.15s) cubic-bezier(0.34, 1.56, 0.64, 1) backwards,
    aa-ring-pulse 2.8s calc(1.6s + var(--i, 0) * 1.4s) ease-out infinite;
}

@media (max-width: 991px) {
  .uc-v2.aa-v2 > section#aa-no-surprises-act {
    padding-bottom: 0;
  }

  /* Stacked: the whole square photo shows under the copy (Figma's 707px
     width at most), fading in from the band at the top. */
  .aa-v2 .aa-nsa-media {
    width: 100%;
    max-width: 707px;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    aspect-ratio: 1 / 1;
  }

  .aa-v2 .aa-nsa-photo {
    height: 100%;
    object-position: 50% 50%;
  }
}

@media (max-width: 575px) {
  .aa-nsa .container-page {
    --page-gutter: 20px;
  }

  .aa-v2 .aa-nsa-media {
    max-width: none;
  }
}

/* ============================================================= */
/* Billing solutions for every provider — Figma 12371:903         */
/* (1440 x 541). The urgent care tailored block on white: no pill, */
/* the 32 / 45 title and 16 / 25.2 lead 10px apart, 4 x 2 white    */
/* cards (16 / 20 padding + 2px, 18px corners, soft navy shadow),  */
/* 20px gaps; 14 / 20 #3d3d3d card copy. The right-hand glow and   */
/* ring sit at 1308.1 / -114.36 and 1250 / 30.78 (as orthopedic).  */
/* ============================================================= */
.uc-v2 .aa-providers {
  background: var(--c-white);
}

.aa-v2 .aa-providers .bh-sub-head {
  gap: 10px;
  margin-bottom: 0;
}

.aa-v2 .aa-providers .bh-sub-title {
  font-size: 32px;
  line-height: 45px;
  letter-spacing: 0;
}

.aa-v2 .aa-providers .bh-sub-lead {
  width: 100%;
  max-width: 834px;
  font-size: 16px;
  line-height: 25.2px;
  color: var(--c-text);
}

/* Inline links in the lead (hospital / emergency billing services), styled like
   the other specialty pages' inline links. */
.aa-v2 .aa-providers .bh-sub-lead a {
  color: var(--c-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aa-v2 .aa-providers .bh-sub-lead a:hover,
.aa-v2 .aa-providers .bh-sub-lead a:focus-visible {
  color: var(--c-blue);
}

.aa-v2 .aa-providers .bh-sub-grid {
  gap: 20px;
}

.aa-v2 .aa-providers .bh-sub-card {
  padding: 18px 20px 16px;
  background: var(--c-white);
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  filter: drop-shadow(0 12px 15px rgba(39, 55, 117, 0.07));
  transition: translate 0.3s ease, filter 0.3s ease;
}

.aa-v2 .aa-providers .bh-sub-card:hover {
  translate: 0 -4px;
  filter: drop-shadow(0 18px 22px rgba(39, 55, 117, 0.14));
}

.aa-v2 .aa-providers .bh-sub-card-body {
  gap: 10px;
}

.aa-v2 .aa-providers .bh-sub-card-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  color: var(--c-blue);
}

.aa-v2 .aa-providers .bh-sub-card-text {
  font-size: 14px;
  line-height: 20px;
  color: var(--c-text);
}

.aa-provider-icon {
  width: var(--box-w, 46px);
  height: 46px;
}

/* Idle: once the cards are in, each icon drifts a few px, staggered. */
.aa-providers.is-in .aa-provider-icon img,
.aa-providers:not(.is-armed) .aa-provider-icon img {
  animation: aa-float 5s calc(1.6s + var(--i, 0) * 0.25s) ease-in-out infinite;
}

@media (min-width: 576px) {
  .aa-v2 .aa-providers .bh-sub-deco {
    top: -84.36px;
    right: -268.1px;
  }
}

/* ============================================================= */
/* AI & RPA — Figma 12371:1005 (1440 x 370.1). The urgent care AI  */
/* band; Figma's photo box is 707 x 425, a little taller than the  */
/* band, from its top.                                             */
/* ============================================================= */
.aa-v2 .aa-ai-media {
  bottom: auto;
  height: 425px;
}

@media (max-width: 991px) {
  .uc-v2.aa-v2 > section#aa-ai-automation {
    padding-bottom: 0;
  }

  .aa-v2 .aa-ai-media {
    height: 340px;
  }
}

@media (max-width: 575px) {
  .aa-ai .container-page,
  .aa-providers .container-page,
  .aa-transport .container-page {
    --page-gutter: 20px;
  }

  .aa-v2 .aa-ai-media {
    height: 240px;
  }
}

/* ============================================================= */
/* Credentialing — Figma 12371:1015 (1440 x 550). The orthopedic   */
/* panel; the first metric adds a 10px "7 of 9" line between its   */
/* title and bar, the second reads "41 Days ↓ 18%" in coral.       */
/* ============================================================= */
.aa-cred-count {
  display: block;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 10px;
  line-height: 10px;
  color: var(--c-text);
}

.aa-v2 .aa-cred-days {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--c-orange);
}

.aa-v2 .aa-cred-days b {
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
}

.aa-v2 .aa-cred-days small {
  font-weight: 400;
  font-size: 10px;
  line-height: 20px;
}

/* ============================================================= */
/* Integrations — Figma 12371:1328 (1440 x 834). The orthopedic    */
/* diagram; Figma lets some logo crops run past their tile's        */
/* padding, and the ZOLL emsCHARTS crop fills its tile edge to edge. */
/* ============================================================= */
.aa-v2 .aa-int .bh-int-logo img {
  max-width: none;
}

.aa-v2 .aa-int .aa-int-logo--bleed {
  padding: 0;
}

/* ============================================================= */
/* Testimonials — Figma 12371:2162 (1440 x 925.6): the urgent care */
/* carousel; its band keeps Figma's 60px inner padding.             */
/* ============================================================= */
.uc-v2.aa-v2 > .dme-v2 > section#aa-testimonials {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ============================================================= */
/* CTA banner — Figma 12410:1187 (1240 x 361). The shared banner:   */
/* a 644px copy column (36 / 45 title, 16px text, 24px gaps), one    */
/* 284px coral button, the wave at 572 / -9 and the 499 x 220        */
/* claim-flow artwork at 699px, centred top to bottom.               */
/* ============================================================= */
.aa-v2 .aa-cta .bh-cta-wave {
  top: calc(-9px + (537.861px - 353.884px) / 2);
  right: calc(-181.23px + (849.232px - 786px) / 2);
}

.aa-v2 .aa-cta .bh-cta-copy {
  flex: 0 1 644px;
  gap: 24px;
}

.aa-v2 .aa-cta .bh-cta-title {
  width: 100%;
}

.aa-v2 .aa-cta .bh-cta-text {
  font-size: 16px;
  line-height: normal;
}

.aa-v2 .aa-cta .bh-cta-actions {
  width: auto;
}

.aa-v2 .aa-cta .bh-cta-btn {
  flex: none;
  width: 284px;
  font-weight: 600;
  line-height: normal;
}

.aa-v2 .aa-cta .aa-cta-art {
  position: absolute;
  top: 50%;
  left: 697px; /* 699px in the frame, less the banner's 2px border */
  width: 499px;
  max-width: none;
  height: 220px;
  margin: -110px 0 0;
  object-fit: fill;
}

@media (max-width: 1199px) {
  .aa-v2 .aa-cta .bh-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .aa-v2 .aa-cta .bh-cta-copy {
    flex: none;
    width: 100%;
  }

  .aa-v2 .aa-cta .aa-cta-art {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 499px;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .aa-cta .container-page {
    --page-gutter: 20px;
  }

  .aa-v2 .aa-cta .bh-cta-title {
    font-size: 26px;
    line-height: 34px;
  }

  /* The button keeps its own width and lines up with the copy on the left. */
  .aa-v2 .aa-cta .bh-cta-actions {
    justify-content: flex-start;
    width: auto;
    align-self: flex-start;
  }

  .aa-v2 .aa-cta .bh-cta-btn {
    flex: none;
    width: auto;
    padding-right: 24px;
    padding-left: 24px;
  }
}

/* ============================================================= */
/* Payers — Figma 12371:1986 (1240 x 1100.5). The orthopedic frame; */
/* here the logo and orbit parts carry no padding of their own, and  */
/* the navy banner has 40px padding with a 237px title column.       */
/* ============================================================= */
@media (min-width: 1200px) {
  .aa-v2 #or-payers .bh-pay-top,
  .aa-v2 #or-payers .bh-pay-bottom {
    padding-top: 0;
    padding-bottom: 0;
  }

  .aa-v2 #or-payers .bh-pay-banner {
    padding: 40px;
  }

  /* Figma 12371:2101: the copy, orbit and payer-types block are centred
     against each other (items-center), not top-aligned. */
  .aa-v2 #or-payers .bh-pay-bottom {
    align-items: center;
  }

  .aa-v2 #or-payers .bh-pay-banner-title {
    flex-basis: 237px;
    width: 237px;
  }

  /* Figma keeps the third credentialing label on one line. */
  .aa-v2 #or-cred .bh-cred-key:nth-child(3) strong {
    line-height: 16px;
    white-space: nowrap;
  }
}


@media (prefers-reduced-motion: reduce) {
  .aa-v2 [class*="aa-"],
  .aa-v2 [class*="aa-"]::before,
  .aa-v2 [class*="aa-"]::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Top-left ring + bead decoration on narrow screens. The providers block
   places it from a 1440px frame (50% - 720px), which pushes it off-screen
   below 1440px, so there it is anchored to the section's left edge. On phones
   the rings and beads of the providers, services and coding sections shrink
   into the corner so they frame the centred headings without covering them. */
@media (max-width: 1439px) {
  .aa-providers .uc-tailor-ring--solid  { left: -150px; }
  .aa-providers .uc-tailor-ring--dashed { left: -90px; }
  .aa-providers .uc-tailor-dot--orange  { left: 112px; }
  .aa-providers .uc-tailor-dot--blue    { left: 150px; }
}

@media (max-width: 767px) {
  .aa-providers .uc-tailor-ring--solid,
  .aa-svc-ring--a,
  .aa-codes-ring--a {
    top: -120px;
    left: -110px;
    width: 260px;
    height: 260px;
  }

  .aa-providers .uc-tailor-ring--dashed,
  .aa-svc-ring--b,
  .aa-codes-ring--b {
    top: -80px;
    left: -70px;
    width: 180px;
    height: 180px;
  }

  .aa-providers .uc-tailor-dot--orange,
  .aa-svc-bead--a,
  .aa-codes-bead--a {
    top: 14px;
    left: 12px;
    width: 10px;
    height: 10px;
  }

  .aa-providers .uc-tailor-dot--blue,
  .aa-svc-bead--b,
  .aa-codes-bead--b {
    top: 96px;
    left: 6px;
    width: 6px;
    height: 6px;
  }

  .aa-providers .uc-tailor-ring,
  .aa-providers .uc-tailor-dot {
    display: block;
    opacity: 1;
  }

  .aa-svc-bead--c,
  .aa-svc-glow,
  .aa-codes-dot {
    display: none;
  }
}

/* Hero backdrop: up to 1440px one centred copy fills the hero (the right copy
   is hidden). Wider than that, the left half is pinned to the left edge and the
   right half to the right edge, so the corner circles stay in the corners. */
.aa-hero-bg--r {
  display: none;
}

@media (min-width: 1441px) {
  .aa-hero-bg--l {
    left: 0;
    margin-left: 0;
    clip-path: inset(0 50% 0 0);
  }

  .aa-hero-bg--r {
    display: block;
    right: 0;
    left: auto;
    margin-left: 0;
    clip-path: inset(0 0 0 50%);
  }
}

/* Content-doc badges above the centred services / coding headings. */
.aa-head-pill {
  margin-bottom: 12px;
}

.aa-svc .aa-head-pill + .aa-head-title {
  padding-top: 0;
}

/* Inline link in the "Why" copy ("Specialized billing services"). */
.aa-v2 .aa-why .uc-why-text a {
  color: var(--c-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aa-v2 .aa-why .uc-why-text a:hover,
.aa-v2 .aa-why .uc-why-text a:focus-visible {
  color: var(--c-blue);
}

/* Phone-only line breaks. */
.aa-br-m {
  display: none;
}

/* Phones: the integrations heading sits on two lines
   ("Your ePCR. Our Billing" / "Expertise. Faster Payments."). */
@media (max-width: 575px) {
  .aa-br-m {
    display: inline;
  }

  .aa-v2 #or-integrations .bh-int-title {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Phones: the "Coverage Across All Payer Types" note fits on two lines. */
@media (max-width: 575px) {
  .aa-v2 #or-payers .bh-pay-trust p {
    font-size: 13px;
    line-height: 20px;
  }
}

@media (max-width: 389px) {
  .aa-v2 #or-payers .bh-pay-trust p {
    font-size: 12px;
    line-height: 19px;
  }
}

@media (max-width: 359px) {
  .aa-v2 #or-payers .bh-pay-trust p {
    font-size: 11px;
    line-height: 18px;
  }
}

/* Phones: the testimonials intro sits on three lines, the cards' width. */
@media (max-width: 575px) {
  .aa-v2 #aa-testimonials .dme-testi-lead {
    font-size: 13px;
    line-height: 21px;
  }
}

@media (max-width: 389px) {
  .aa-v2 #aa-testimonials .dme-testi-lead {
    font-size: 12.5px;
    line-height: 20px;
  }
}

@media (max-width: 359px) {
  .aa-v2 #aa-testimonials .dme-testi-lead {
    font-size: 11px;
    line-height: 18px;
  }
}
