/* Final cross-page visual QA corrections loaded after the legacy stylesheet. */
.image-page-hero .container{width:min(1180px,calc(100% - 48px));max-width:1180px;margin-inline:auto;padding-inline:0}
.about-page-hero::before{background-image:url("../images/about-team.webp")}
.services-page-hero::before{background-image:url("../images/specialties-team.webp")}
.specialties-page-hero::before{background-image:url("../images/specialties-exclusive.webp")}
.contact-page-hero::before{background-image:url("../images/contact-support.webp")}
.privacy-page-hero::before{background-image:url("../images/privacy-exclusive.webp")}
.terms-page-hero::before{background-image:url("../images/terms-exclusive.webp")}
.service-detail-page-hero::before{background-image:url("../images/service-detail-exclusive.webp")}
.specialty-detail-page-hero::before{background-image:url("../images/specialty-detail-exclusive.webp")}
.about-operations-photo{position:relative;min-height:480px;background:#dfeaf2}
.about-operations-photo img{width:100%;height:100%;max-height:none;min-height:480px;object-fit:cover;object-position:center}
.photo-caption{position:absolute;left:24px;right:24px;bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:18px 22px;border:1px solid rgba(255,255,255,.35);border-radius:10px;color:#fff;background:rgba(3,30,70,.86);backdrop-filter:blur(10px);box-shadow:0 16px 36px rgba(2,22,52,.24)}
.photo-caption strong{font:700 1.05rem/1.35 "Poppins",sans-serif}.photo-caption span{max-width:570px;color:rgba(255,255,255,.84);font-size:.9rem;line-height:1.55}
.card-eyebrow{display:block;margin-bottom:8px;color:#1f6fb5;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.commitment-card{position:relative;overflow:hidden;border-color:rgba(31,111,181,.2);background:linear-gradient(145deg,#fff 0%,#f1f8ff 100%)}
.commitment-card::before{content:"";position:absolute;width:180px;height:180px;right:-76px;top:-78px;border-radius:50%;background:radial-gradient(circle,rgba(102,217,216,.24),transparent 68%)}
.commitment-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:18px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#0b4f9c,#189fa3);box-shadow:0 12px 25px rgba(11,79,156,.22)}
.commitment-points{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:20px;color:#0b386c;font-size:.84rem;font-weight:700}.commitment-points i{margin-right:5px;color:#55b947}
@media(max-width:800px){.image-page-hero .container{width:min(100% - 36px,1180px)}.image-page-hero h1 br{display:none}.about-operations-photo,.about-operations-photo img{min-height:330px}.photo-caption{position:relative;left:auto;right:auto;bottom:auto;margin:-1px 0 0;border-radius:0;flex-direction:column;align-items:flex-start;gap:5px}}
@media(max-width:480px){.image-page-hero .container{width:calc(100% - 28px)}.image-page-hero h1{font-size:clamp(2.15rem,11vw,3rem)}.about-operations-photo,.about-operations-photo img{min-height:250px}}

/* Page-aware hero context rails: useful content for formerly empty left space. */
.hero-context-rail{position:absolute;z-index:7;left:max(22px,calc((100vw - 1400px)/2 + 18px));top:50%;width:215px;min-height:250px;padding:24px 22px 22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#fff;border:1px solid rgba(146,222,255,.23);border-radius:16px;background:linear-gradient(145deg,rgba(4,36,84,.88),rgba(7,61,119,.62));box-shadow:0 24px 55px rgba(1,18,48,.28),inset 0 1px rgba(255,255,255,.12);backdrop-filter:blur(12px);transform:translateY(-50%);overflow:hidden}
.hero-context-rail::before{content:"";position:absolute;right:-72px;top:-78px;width:165px;height:165px;border:1px solid rgba(118,224,215,.25);border-radius:50%;box-shadow:0 0 55px rgba(77,194,223,.14)}
.hero-context-rail::after{content:"";position:absolute;right:20px;top:28px;bottom:28px;width:1px;background:linear-gradient(transparent,rgba(134,229,225,.54),transparent)}
.rail-icon{position:relative;z-index:1;width:48px;height:48px;margin-bottom:20px;display:grid;place-items:center;border-radius:14px;color:#062b63;background:linear-gradient(135deg,#fff,#8ee8e4);font-size:1.15rem;box-shadow:0 12px 26px rgba(0,0,0,.19);animation:railFloat 4s ease-in-out infinite}
.rail-kicker{position:relative;z-index:1;margin-bottom:8px;color:#9be77c;font-size:.66rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.hero-context-rail strong{position:relative;z-index:1;max-width:155px;font:700 1.02rem/1.4 "Poppins",sans-serif}
.hero-context-rail small{position:relative;z-index:1;margin-top:9px;max-width:160px;color:rgba(255,255,255,.68);font-size:.69rem;line-height:1.55}
.rail-pulse{position:absolute;right:13px;top:50%;display:grid;gap:17px;transform:translateY(-50%)}
.rail-pulse i{width:7px;height:7px;border-radius:50%;background:#70d65f;box-shadow:0 0 0 5px rgba(112,214,95,.08),0 0 18px rgba(112,214,95,.55);animation:railPulse 2.6s ease-in-out infinite}.rail-pulse i:nth-child(2){animation-delay:.45s;background:#77e1e0}.rail-pulse i:nth-child(3){animation-delay:.9s}
.hero .hero-copy{margin-left:245px;width:min(600px,calc(100% - 270px))}
.image-page-hero .container{padding-left:245px}
@keyframes railFloat{50%{transform:translateY(-6px) rotateY(8deg)}}
@keyframes railPulse{50%{opacity:.4;transform:scale(.7)}}
@media(max-width:1100px){.hero-context-rail{left:18px;width:185px;min-height:228px;padding:20px 18px}.hero .hero-copy{margin-left:205px;width:calc(100% - 220px)}.image-page-hero .container{padding-left:205px}.hero-context-rail strong{max-width:132px;font-size:.9rem}.hero-context-rail small{max-width:135px}}
@media(max-width:700px){.hero-context-rail{display:none}.hero .hero-copy{margin-left:0;width:100%}.image-page-hero .container{padding-left:0}}
@media(prefers-reduced-motion:reduce){.rail-icon,.rail-pulse i{animation:none}}

/* V8 production polish: stable media, keyboard access and graceful motion. */
img{max-width:100%;height:auto}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #71d961;outline-offset:4px}
.hero,.image-page-hero{overflow:clip}
.hero::before,.image-page-hero::before{background-position:center;background-size:cover}
.about-page-hero::before{background-position:64% center}
.services-page-hero::before{background-position:62% center}
.specialties-page-hero::before{background-position:66% center}
.contact-page-hero::before{background-position:64% center}
.privacy-page-hero::before,.terms-page-hero::before{background-position:68% center}
@media(max-width:700px){.hero::before,.image-page-hero::before{background-position:62% center}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* V8.2 catalogue navigation and comprehensive-directory presentation. */
.catalog-cta{display:flex;justify-content:center;margin:30px 0 8px}
.catalog-cta .btn{min-width:210px;justify-content:center}
.specialty-more{text-decoration:none}
.content-section .specialty{
  min-height:132px;
  padding:22px 14px;
  justify-content:center;
  text-align:center;
}
.content-section .specialty i{
  min-height:34px;
  display:grid;
  place-items:center;
  font-size:1.5rem;
}
.content-section .specialty span{line-height:1.35}

/* V8.1 header corrections: crisper supplied logo and mathematically centered social glyphs. */
.brand img{
  display:block;
  filter:contrast(1.16) saturate(1.08);
  image-rendering:auto;
  -webkit-font-smoothing:antialiased;
  backface-visibility:hidden;
}
.topbar-right a,.socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  line-height:1;
  text-align:center;
}
.topbar-right a i,.socials a i{
  display:block;
  width:auto;
  margin:0;
  padding:0;
  line-height:1;
  text-align:center;
  transform:none;
}


/* 2026 page-hero image overrides */
.about-page-hero::before{background-image:url("../images/hero-about-premium.webp");background-position:center center}
.services-page-hero::before{background-image:url("../images/hero-services-premium.webp");background-position:center center}
.specialties-page-hero::before{background-image:url("../images/hero-specialties-premium.webp");background-position:center center}
.contact-page-hero::before{background-image:url("../images/hero-contact-premium.webp");background-position:center center}
.privacy-page-hero::before{background-image:url("../images/hero-privacy-premium.webp");background-position:center center}
.terms-page-hero::before{background-image:url("../images/hero-terms-premium.webp");background-position:center center}
@media(max-width:900px){
  .about-page-hero::before,.services-page-hero::before,.specialties-page-hero::before,.contact-page-hero::before,.privacy-page-hero::before,.terms-page-hero::before{background-position:68% center}
}


/* V8.3 final QA: performance strip containment and fixed-control spacing. */
.performance-grid{grid-template-columns:repeat(5,minmax(0,1fr));overflow:hidden;padding:20px 22px}
.performance-item{min-width:0;gap:10px;padding:0 10px}
.performance-item span{min-width:0;white-space:normal;line-height:1.25;text-align:left}
.performance-item strong{font-size:clamp(1rem,1.28vw,1.28rem);line-height:1.18;overflow-wrap:anywhere}
.performance-item>i{width:44px;height:44px;flex-basis:44px}
.social-placeholder{display:inline-flex;align-items:center;justify-content:center;opacity:.72;cursor:default;line-height:1}
@media(max-width:1180px){.performance-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 0}.performance-item{justify-content:flex-start}.performance-item:nth-child(3){border-right:0}.performance-item:nth-child(n+4){padding-top:8px}.performance-item:nth-child(5){border-right:0}}
@media(max-width:700px){.performance-grid{grid-template-columns:1fr 1fr;padding:16px}.performance-item,.performance-item:nth-child(3){border:0;padding:8px 5px}.performance-item:last-child{grid-column:1/-1}.performance-item strong{font-size:1.05rem}.action-dock{right:12px;bottom:14px}.nexora-assistant{left:12px;bottom:14px}.back-to-top.show{right:18px;bottom:132px}}
.topbar-right .social-placeholder{width:28px;height:28px;border:1px solid rgba(255,255,255,.2);border-radius:50%}
.topbar-right .social-placeholder i{color:var(--secondary);margin:0}
.socials .social-placeholder{width:36px;height:36px;border:1px solid rgba(255,255,255,.2);border-radius:50%}

/* Final QA: preserve five performance highlights cleanly on desktop. */
@media(min-width:1181px){.performance-strip .container{max-width:1280px}.performance-grid{grid-template-columns:repeat(5,minmax(0,1fr));padding:20px 18px}.performance-item{padding:0 12px}.performance-item strong{font-size:clamp(.98rem,1.15vw,1.2rem)}}
/* Keep page-hero subjects visible while retaining readable text contrast. */
.image-page-hero::before{background-position:center 28%!important;background-size:cover!important}
@media(max-width:700px){.image-page-hero::before{background-position:68% 25%!important}}

/* =========================================================
   V8.5 consolidated production QA fixes
   - consistent hero image framing/motion
   - consistent main header/footer
   - improved resources hero readability
   - responsive navigation/footer polish
   ========================================================= */

/* Main page hero images are pre-composed 3:1 assets with safe text space.
   Do not crop them with cover on wide desktop screens. */
.image-page-hero{
  min-height:390px;
  background:#052b63;
}
.image-page-hero::before{
  background-size:auto 100%!important;
  background-position:right center!important;
  background-repeat:no-repeat!important;
  transform:scale(1.015);
  transform-origin:right center;
  animation:nexoraHeroDrift 18s ease-in-out infinite alternate!important;
}
.image-page-hero::after{
  background:linear-gradient(90deg,#03245a 0%,#052c65 40%,rgba(4,39,88,.78) 56%,rgba(4,39,88,.18) 78%,rgba(4,39,88,0) 100%)!important;
}
.about-page-hero::before{background-image:url("../images/hero-about-premium.webp")!important}
.services-page-hero::before{background-image:url("../images/hero-services-premium.webp")!important}
.specialties-page-hero::before{background-image:url("../images/hero-specialties-premium.webp")!important}
.contact-page-hero::before{background-image:url("../images/hero-contact-premium.webp")!important}
.privacy-page-hero::before{background-image:url("../images/hero-privacy-premium.webp")!important}
.terms-page-hero::before{background-image:url("../images/hero-terms-premium.webp")!important}

/* Resource / assessment / tool hero images use the same subtle motion language. */
.growth-hero::before{
  background-size:auto 100%!important;
  background-position:right center!important;
  opacity:.72!important;
  transform:scale(1.015);
  transform-origin:right center;
  animation:nexoraHeroDrift 18s ease-in-out infinite alternate;
}
.growth-hero::after{
  background:linear-gradient(90deg,rgba(3,36,80,.99) 0%,rgba(5,43,99,.94) 42%,rgba(5,43,99,.56) 63%,rgba(5,43,99,.12) 86%,rgba(5,43,99,.04) 100%)!important;
}
.page-resources .growth-hero::before{background-image:url("../images/hero-resources-premium.webp")!important}
.page-assessment .growth-hero::before,.page-credentialing-timeline .growth-hero::before{background-image:url("../images/hero-assessment-premium.webp")!important}
.page-calculator .growth-hero::before{background-image:url("../images/hero-calculator-premium.webp")!important}
.page-consultation .growth-hero::before,.page-sms-consent .growth-hero::before{background-image:url("../images/hero-contact-premium.webp")!important}

@keyframes nexoraHeroDrift{
  from{transform:scale(1.015) translate3d(0,0,0)}
  to{transform:scale(1.045) translate3d(-.45%,0,0)}
}

/* Keep all supplied hero faces in frame on desktop. */
@media(min-width:901px){
  .image-page-hero::before,.growth-hero::before{background-size:auto 100%!important;background-position:right center!important}
}
@media(max-width:900px){
  .image-page-hero::before,.growth-hero::before{background-size:cover!important;background-position:68% center!important}
  .image-page-hero::after,.growth-hero::after{background:linear-gradient(90deg,rgba(3,36,80,.97),rgba(5,43,99,.78))!important}
}
@media(max-width:650px){
  .image-page-hero::before,.growth-hero::before{background-position:70% center!important}
}

/* Common footer is intentionally full on every public page. */
.site-footer .footer-grid{align-items:start}
.site-footer a{color:inherit}
.site-footer .footer-brand img{object-fit:contain}
.site-footer .footer-grid>div:not(.footer-brand)>a{display:block;margin:.48rem 0;text-decoration:none}
.site-footer .footer-grid>div:not(.footer-brand)>a:hover{text-decoration:underline}
.site-footer .footer-bottom>div{display:flex;flex-wrap:wrap;gap:18px}
.site-footer .footer-bottom>div a{text-decoration:none}

/* Prevent unnecessarily tall blank areas before the footer on resource pages. */
.page-resources .growth-section:last-of-type{padding-bottom:64px}
.page-resources .site-footer{margin-top:0}

/* Header consistency for every page. */
.site-header .main-nav a{white-space:nowrap}
@media(max-width:980px){
  .site-header .main-nav{max-height:calc(100vh - 110px);overflow:auto}
}

/* Remove legacy extension text even if an old cached fragment remains. */
.phone-ext,.footer-ext{display:none!important}

@media(prefers-reduced-motion:reduce){
  .image-page-hero::before,.growth-hero::before{animation:none!important;transform:none!important}
}

/* Home hero — match the animated ambient ring used on image-page heroes */
#home .hero-grid {
    perspective: 1200px;
    transform-style: preserve-3d;
}

#home .hero-grid::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -90px;
    top: 50%;
    border: 1px solid rgba(102, 205, 255, .18);
    border-radius: 50%;
    transform: translateY(-50%) translateZ(-35px);
    box-shadow:
        0 0 80px rgba(51, 168, 255, .11),
        inset 0 0 50px rgba(88, 227, 255, .08);
    pointer-events: none;
    animation: ambient-orbit 10s ease-in-out infinite;
}
/* Home services — open revenue cycle visual */
#services .reference-heading{
    max-width:none;
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);
    column-gap:72px;
    align-items:center;
    position:relative;
    margin-bottom:34px;
}

#services .reference-heading > .section-kicker,
#services .reference-heading > h2,
#services .reference-heading > p{
    grid-column:1;
}

#services .rcm-visual{
    grid-column:2;
    grid-row:1 / span 3;
    position:relative;
    min-height:285px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px 20px 54px;
}

#services .rcm-visual-main{
    position:relative;
    width:390px;
    height:220px;
}

#services .rcm-visual-main::before{
    content:"";
    position:absolute;
    width:190px;
    height:190px;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    border:1px solid rgba(21,111,181,.16);
    border-radius:50%;
    box-shadow:
        0 0 0 28px rgba(40,151,203,.035),
        0 22px 60px rgba(8,48,103,.08);
}

#services .rcm-visual-main::after{
    content:"";
    position:absolute;
    left:54px;
    right:54px;
    top:50%;
    height:1px;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(11,91,161,.22) 18%,
        rgba(82,199,175,.28) 50%,
        rgba(11,91,161,.22) 82%,
        transparent
    );
}

#services .rcm-visual-badge{
    position:absolute;
    top:-2px;
    left:50%;
    transform:translateX(-50%);
    color:#0875be;
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
    white-space:nowrap;
}

#services .rcm-visual-center{
    position:absolute;
    z-index:3;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:145px;
    height:145px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-radius:50%;
    background:linear-gradient(145deg,#073674,#0a5794);
    box-shadow:0 20px 42px rgba(5,44,99,.18);
    color:#fff;
}

#services .rcm-visual-center i{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    margin-bottom:9px;
    border-radius:13px;
    background:linear-gradient(135deg,#e9fbff,#e7ffe3);
    color:#07518f;
    font-size:1.08rem;
}

#services .rcm-visual-center strong{
    font-family:"Poppins",sans-serif;
    font-size:.88rem;
    line-height:1.25;
}

#services .rcm-visual-center small{
    max-width:112px;
    margin-top:4px;
    color:rgba(255,255,255,.74);
    font-size:.62rem;
    line-height:1.35;
}

#services .rcm-visual-node{
    position:absolute;
    z-index:4;
    display:flex;
    align-items:center;
    gap:8px;
    color:#173e70;
    font-size:.72rem;
    font-weight:700;
    white-space:nowrap;
}

#services .rcm-visual-node i{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:#0664aa;
    background:#fff;
    border:1px solid rgba(12,99,169,.12);
    box-shadow:0 9px 24px rgba(5,38,87,.10);
}

#services .node-one{left:2px;top:52px;}
#services .node-two{right:0;top:52px;}
#services .node-three{left:4px;bottom:22px;}
#services .node-four{right:0;bottom:22px;}

@media(max-width:1000px){
    #services .reference-heading{
        grid-template-columns:1fr;
        row-gap:24px;
    }

    #services .reference-heading > .section-kicker,
    #services .reference-heading > h2,
    #services .reference-heading > p,
    #services .rcm-visual{
        grid-column:1;
        grid-row:auto;
    }

    #services .rcm-visual{
        min-height:270px;
        padding-bottom:24px;
    }
}

@media(max-width:560px){
    #services .rcm-visual{
        display:none;
    }
}