/* =====================================================================
   AVORCMS v2 — WHO WE ARE
   Premium healthcare / RCM section
   ===================================================================== */

.v2-who {
    position: relative;
    overflow: hidden;
    background: var(--v2-bg);
    padding: clamp(80px, 8vw, 120px) 0;
    font-family: var(--v2-font);
}

/* Very subtle background glow */
.v2-who::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(98, 34, 213, 0.035);
    top: 50%;
    right: -260px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ================================================================
   Main layout
   ================================================================ */

.v2-who__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
    align-items: center;

    gap: clamp(55px, 7vw, 105px);

    position: relative;
    z-index: 2;
}

/* ================================================================
   LEFT CONTENT
   ================================================================ */

.v2-who__content {
    max-width: 650px;

    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.v2-who__content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------
   Eyebrow
   ------------------------------------------------ */

.v2-who__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 15px;

    background: #fff;

    border: 1px solid rgba(92, 27, 179, 0.13);
    border-radius: var(--v2-radius-pill);

    color: var(--v2-cta);

    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    box-shadow:
        0 7px 18px rgba(57, 29, 119, 0.07);

    margin-bottom: 21px;
}

.v2-who__eyebrow::before {
    content: "";

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--v2-secondary);

    box-shadow:
        0 0 0 4px rgba(255, 87, 87, 0.10);
}

/* ------------------------------------------------
   Heading
   ------------------------------------------------ */

.v2-who__title {
    margin: 0 0 24px;

    max-width: 630px;

    color: var(--v2-heading);

    font-size: clamp(34px, 3.55vw, 50px);
    line-height: 1.08;
    letter-spacing: -1.7px;
    font-weight: 800;
}

.v2-who__title span {
    position: relative;
    display: inline;

    color: var(--v2-cta);
}

/*
 * Small coral underline beneath the highlighted phrase
 */
.v2-who__title span::after {
    content: "";

    position: absolute;

    left: 2px;
    right: 4px;
    bottom: -7px;

    height: 4px;

    border-radius: 999px;

    background: var(--v2-secondary);

    transform-origin: left center;
    transform: scaleX(0);

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.v2-who__content.is-visible .v2-who__title span::after {
    transform: scaleX(1);
}

/* ------------------------------------------------
   Copy
   ------------------------------------------------ */

.v2-who__copy {
    max-width: 610px;
}

.v2-who__text,
.v2-who__copy p {
    margin: 0 0 17px;

    color: var(--v2-subheading);

    font-size: 15px;
    line-height: 1.78;
    font-weight: 500;
}

.v2-who__copy p:last-child {
    margin-bottom: 27px;
}

/* ================================================================
   HIGHLIGHTS
   ================================================================ */

.v2-who__highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;

    max-width: 650px;

    margin-bottom: 28px;
}

.v2-who__highlight {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    min-width: 0;

    padding: 11px 9px;

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(92, 27, 179, 0.07);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.v2-who__highlight:hover {
    transform: translateY(-3px);

    background: #fff;

    box-shadow:
        0 10px 24px rgba(57, 29, 119, 0.08);
}

.v2-who__highlight-icon {
    width: 31px;
    height: 31px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color: var(--v2-cta);

    background: rgba(98, 34, 213, 0.08);
}

.v2-who__highlight-icon svg {
    width: 17px;
    height: 17px;
}

.v2-who__highlight strong {
    display: block;

    color: var(--v2-heading);

    font-size: 10.5px;
    font-weight: 800;

    line-height: 1.3;
}

.v2-who__highlight small {
    display: block;

    margin-top: 3px;

    color: #8b8598;

    font-size: 9px;
    font-weight: 600;

    line-height: 1.35;
}

/* ================================================================
   CTA
   ================================================================ */

.v2-who__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 23px;

    background: var(--v2-cta);
    color: #fff;

    border-radius: var(--v2-radius-pill);

    font-family: var(--v2-font);
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 12px 25px rgba(98, 34, 213, 0.22);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.v2-who__button:hover {
    color: #fff;

    background: var(--v2-cta-hover);

    transform: translateY(-3px);

    box-shadow:
        0 16px 30px rgba(57, 29, 119, 0.24);
}

.v2-who__button svg {
    width: 17px;
    height: 17px;

    transition: transform 0.25s ease;
}

.v2-who__button:hover svg {
    transform: translateX(4px);
}

/* ================================================================
   RIGHT VISUAL
   ================================================================ */

.v2-who__visual-wrap {
    position: relative;

    width: 100%;
    min-height: 570px;

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

    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.9s ease 0.15s,
        transform 0.9s ease 0.15s;
}

.v2-who__visual-wrap.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   Purple orb
   ================================================================ */

.v2-who__orb {
    position: absolute;
    z-index: 1;

    width: min(440px, 80%);
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(98, 34, 213, 0.13) 0%,
            rgba(92, 27, 179, 0.07) 52%,
            rgba(92, 27, 179, 0) 72%
        );

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    animation: v2WhoOrbPulse 7s ease-in-out infinite;
}

/* ================================================================
   Rings
   ================================================================ */

.v2-who__ring {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.v2-who__ring--one {
    z-index: 0;

    width: 470px;
    height: 470px;

    border: 1px solid rgba(92, 27, 179, 0.13);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(-8deg);
}

.v2-who__ring--two {
    z-index: 0;

    width: 510px;
    height: 510px;

    border: 1px dashed rgba(255, 87, 87, 0.15);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(12deg);
}

/* ================================================================
   Dots
   ================================================================ */

.v2-who__dots {
    position: absolute;

    z-index: 0;

    width: 105px;
    height: 105px;

    top: 5%;
    right: 2%;

    opacity: 0.7;

    background-image: radial-gradient(
        rgba(92, 27, 179, 0.38) 1.2px,
        transparent 1.2px
    );

    background-size: 13px 13px;

    mask-image: linear-gradient(
        135deg,
        black 0%,
        transparent 85%
    );

    -webkit-mask-image: linear-gradient(
        135deg,
        black 0%,
        transparent 85%
    );
}

/* ================================================================
   Main image
   ================================================================ */

.v2-who__visual {
    position: relative;

    z-index: 3;

    width: min(100%, 450px);
    aspect-ratio: 4 / 5.45;

    overflow: hidden;

    border-radius: 30px;

    background: #fff;

    border: 7px solid rgba(255, 255, 255, 0.92);

    box-shadow:
        0 30px 70px rgba(57, 29, 119, 0.16),
        0 8px 20px rgba(57, 29, 119, 0.07);

    transform: rotate(1.2deg);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.v2-who__visual:hover {
    transform: rotate(0deg) translateY(-5px);

    box-shadow:
        0 38px 80px rgba(57, 29, 119, 0.19),
        0 10px 25px rgba(57, 29, 119, 0.08);
}

.v2-who__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    transition: transform 0.8s ease;
}

.v2-who__visual:hover .v2-who__image {
    transform: scale(1.025);
}

/* ================================================================
   Floating healthcare badge
   ================================================================ */

.v2-who__badge {
    position: absolute;

    z-index: 6;

    left: 0;
    bottom: 58px;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 13px 17px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(92, 27, 179, 0.08);

    border-radius: 15px;

    box-shadow:
        0 18px 40px rgba(57, 29, 119, 0.14);

    animation: v2WhoFloat 4.5s ease-in-out infinite;
}

.v2-who__badge-icon {
    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: rgba(98, 34, 213, 0.09);

    color: var(--v2-cta);
}

.v2-who__badge-icon svg {
    width: 21px;
    height: 21px;
}

.v2-who__badge strong,
.v2-who__mini-card strong {
    display: block;

    color: var(--v2-heading);

    font-size: 11px;
    font-weight: 800;

    line-height: 1.3;
}

.v2-who__badge small,
.v2-who__mini-card small {
    display: block;

    margin-top: 3px;

    color: #8b8598;

    font-size: 9.5px;
    font-weight: 600;

    line-height: 1.3;
}

/* ================================================================
   Coral accent
   ================================================================ */

.v2-who__coral {
    position: absolute;

    z-index: 5;

    width: 72px;
    height: 72px;

    right: 1%;
    bottom: 7%;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--v2-secondary);

    color: #fff;

    box-shadow:
        0 16px 32px rgba(255, 87, 87, 0.27);

    animation: v2WhoFloat 4s ease-in-out infinite;
    animation-delay: 0.8s;
}

.v2-who__coral svg {
    width: 29px;
    height: 29px;
}

/* ================================================================
   Mini floating card
   ================================================================ */

.v2-who__mini-card {
    position: absolute;

    z-index: 5;

    top: 11%;
    left: 1%;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 13px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(92, 27, 179, 0.08);

    border-radius: 13px;

    box-shadow:
        0 15px 32px rgba(57, 29, 119, 0.11);

    animation: v2WhoFloat 5s ease-in-out infinite;
    animation-delay: 1.1s;
}

.v2-who__mini-card-dot {
    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--v2-secondary);

    box-shadow:
        0 0 0 4px rgba(255, 87, 87, 0.10);
}

/* ================================================================
   Animations
   ================================================================ */

@keyframes v2WhoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes v2WhoOrbPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.85;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
}

/* ================================================================
   Tablet
   ================================================================ */

@media (max-width: 1100px) {

    .v2-who__inner {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);

        gap: 45px;
    }

    .v2-who__title {
        font-size: clamp(32px, 4vw, 43px);
    }

    .v2-who__text,
    .v2-who__copy p {
        font-size: 14px;
    }

    .v2-who__highlights {
        gap: 7px;
    }

    .v2-who__highlight {
        padding: 10px 7px;
    }

    .v2-who__highlight strong {
        font-size: 9.5px;
    }

    .v2-who__highlight small {
        font-size: 8px;
    }

    .v2-who__visual-wrap {
        min-height: 500px;
    }

    .v2-who__visual {
        width: min(100%, 390px);
    }

    .v2-who__ring--one {
        width: 420px;
        height: 420px;
    }

    .v2-who__ring--two {
        width: 455px;
        height: 455px;
    }
}

/* ================================================================
   Tablet / smaller screens
   ================================================================ */

@media (max-width: 900px) {

    .v2-who {
        padding: 75px 0 85px;
    }

    .v2-who__inner {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .v2-who__content {
        max-width: 720px;
    }

    .v2-who__title {
        max-width: 680px;
    }

    .v2-who__copy {
        max-width: 680px;
    }

    .v2-who__highlights {
        max-width: 700px;
    }

    .v2-who__visual-wrap {
        min-height: 560px;
    }

    .v2-who__visual {
        width: min(100%, 450px);
    }
}

/* ================================================================
   Mobile
   ================================================================ */

@media (max-width: 767.98px) {

    .v2-who {
        padding: 65px 0 75px;
    }

    .v2-who__inner {
        gap: 45px;
    }

    .v2-who__eyebrow {
        margin-bottom: 18px;

        font-size: 9.5px;

        padding: 7px 12px;
    }

    .v2-who__title {
        margin-bottom: 21px;

        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.1;

        letter-spacing: -1.1px;
    }

    .v2-who__title span::after {
        height: 3px;
        bottom: -5px;
    }

    .v2-who__copy p,
    .v2-who__text {
        font-size: 14px;
        line-height: 1.72;
    }

    .v2-who__highlights {
        grid-template-columns: 1fr;

        gap: 8px;

        margin-bottom: 25px;
    }

    .v2-who__highlight {
        padding: 11px;
    }

    .v2-who__highlight strong {
        font-size: 10.5px;
    }

    .v2-who__highlight small {
        font-size: 9px;
    }

    .v2-who__button {
        padding: 12px 20px;

        font-size: 13.5px;
    }

    .v2-who__visual-wrap {
        min-height: 490px;
    }

    .v2-who__visual {
        width: calc(100% - 40px);

        max-width: 400px;

        border-radius: 25px;

        border-width: 5px;
    }

    .v2-who__orb {
        width: 330px;
    }

    .v2-who__ring--one {
        width: 365px;
        height: 365px;
    }

    .v2-who__ring--two {
        width: 400px;
        height: 400px;
    }

    .v2-who__dots {
        width: 80px;
        height: 80px;

        top: 3%;
        right: 0;
    }

    .v2-who__badge {
        left: 0;
        bottom: 35px;

        padding: 10px 12px;
    }

    .v2-who__badge-icon {
        width: 35px;
        height: 35px;
    }

    .v2-who__badge strong {
        font-size: 10px;
    }

    .v2-who__badge small {
        font-size: 8.5px;
    }

    .v2-who__coral {
        width: 59px;
        height: 59px;

        right: 0;
        bottom: 5%;
    }

    .v2-who__coral svg {
        width: 24px;
        height: 24px;
    }

    .v2-who__mini-card {
        top: 6%;
        left: 0;

        padding: 8px 10px;
    }

    .v2-who__mini-card strong {
        font-size: 9px;
    }

    .v2-who__mini-card small {
        font-size: 8px;
    }
}

/* ================================================================
   Small phones
   ================================================================ */

@media (max-width: 420px) {

    .v2-who {
        padding: 55px 0 65px;
    }

    .v2-who__inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .v2-who__title {
        font-size: 29px;
    }

    .v2-who__copy p,
    .v2-who__text {
        font-size: 13.5px;
    }

    .v2-who__visual-wrap {
        min-height: 440px;
    }

    .v2-who__visual {
        width: calc(100% - 30px);
    }

    .v2-who__orb {
        width: 285px;
    }

    .v2-who__ring--one {
        width: 315px;
        height: 315px;
    }

    .v2-who__ring--two {
        width: 345px;
        height: 345px;
    }

    .v2-who__badge {
        bottom: 22px;
    }

    .v2-who__badge small {
        display: none;
    }

    .v2-who__mini-card {
        top: 4%;
    }
}

/* ================================================================
   Reduced motion
   ================================================================ */

@media (prefers-reduced-motion: reduce) {

    .v2-who__content,
    .v2-who__visual-wrap {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .v2-who__title span::after {
        transform: scaleX(1);
        transition: none;
    }

    .v2-who__orb,
    .v2-who__badge,
    .v2-who__coral,
    .v2-who__mini-card {
        animation: none;
    }

    .v2-who__visual,
    .v2-who__visual:hover {
        transform: none;
    }

    .v2-who__visual:hover .v2-who__image {
        transform: none;
    }
}