/* =====================================================================
   AVORCMS v2 — WHY HEALTHCARE PROVIDERS CHOOSE US
   Premium enterprise benefit section
   ===================================================================== */

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

/* ---------------------------------------------------------------------
   Background atmosphere
   --------------------------------------------------------------------- */

.v2-why__background {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.v2-why__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.65;
}

.v2-why__orb--one {
    width: 420px;
    height: 420px;
    top: -250px;
    right: -120px;
    background: rgba(98, 34, 213, 0.06);
}

.v2-why__orb--two {
    width: 320px;
    height: 320px;
    bottom: -210px;
    left: -120px;
    background: rgba(255, 87, 87, 0.055);
}

.v2-why__grid {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: -130px;
    transform: translateY(-50%);
    opacity: 0.35;

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

    background-size: 18px 18px;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 35%,
        #000 70%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 35%,
        #000 70%,
        transparent
    );
}


/* ---------------------------------------------------------------------
   Main container
   --------------------------------------------------------------------- */

.v2-why__inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(55px, 7vw, 110px);

    align-items: center;
}


/* ---------------------------------------------------------------------
   Left introduction
   --------------------------------------------------------------------- */

.v2-why__intro {
    position: relative;
    max-width: 520px;
}

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

    margin-bottom: 22px;
    padding: 8px 14px;

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

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

    color: var(--v2-cta);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.3;
    text-transform: uppercase;

    box-shadow: 0 8px 22px rgba(57, 29, 119, 0.06);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.v2-why__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--v2-highlight);

    box-shadow:
        0 0 0 4px rgba(255, 87, 87, 0.1),
        0 0 14px rgba(255, 87, 87, 0.25);

    animation: v2WhyPulse 2.4s ease-in-out infinite;
}

@keyframes v2WhyPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.75);
        opacity: 0.65;
    }
}


.v2-why__title {
    margin: 0 0 22px;

    color: var(--v2-heading);

    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
}

.v2-why__title span {
    position: relative;
    display: inline-block;
    color: var(--v2-cta);
}

.v2-why__title span::after {
    content: "";

    position: absolute;
    left: 2px;
    right: 2px;
    bottom: -5px;

    height: 7px;

    background: rgba(255, 87, 87, 0.18);

    border-radius: 50%;
    transform: rotate(-1.5deg);
}


.v2-why__intro-text {
    margin: 0;

    max-width: 500px;

    color: var(--v2-subheading);

    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 500;
    line-height: 1.8;
}


/* ---------------------------------------------------------------------
   Partnership promise
   --------------------------------------------------------------------- */

.v2-why__promise {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 34px;
    padding: 16px 18px;

    max-width: 440px;

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

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

    box-shadow:
        0 14px 35px rgba(57, 29, 119, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.v2-why__promise:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 27, 179, 0.18);

    box-shadow:
        0 20px 42px rgba(57, 29, 119, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.v2-why__promise-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--v2-logo-soft);
    color: var(--v2-cta);
}

.v2-why__promise strong {
    display: block;
    margin-bottom: 3px;

    color: var(--v2-heading);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.v2-why__promise span {
    display: block;

    color: #7b7485;

    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.5;
}


/* ---------------------------------------------------------------------
   Benefits column
   --------------------------------------------------------------------- */

.v2-why__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


/* ---------------------------------------------------------------------
   Individual benefit
   --------------------------------------------------------------------- */

.v2-why__point {
    position: relative;

    display: grid;
    grid-template-columns: 34px 48px minmax(0, 1fr);
    align-items: start;
    gap: 13px;

    min-height: 185px;
    padding: 25px 22px;

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

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

    box-shadow:
        0 12px 30px rgba(57, 29, 119, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    overflow: hidden;

    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

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

    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--v2-cta),
        var(--v2-highlight)
    );

    transition: width 0.4s ease;
}

.v2-why__point:hover {
    transform: translateY(-6px);

    border-color: rgba(92, 27, 179, 0.17);

    box-shadow:
        0 22px 45px rgba(57, 29, 119, 0.11),
        0 4px 12px rgba(92, 27, 179, 0.04);
}

.v2-why__point:hover::before {
    width: 100%;
}


/* ---------------------------------------------------------------------
   Number
   --------------------------------------------------------------------- */

.v2-why__point-number {
    padding-top: 3px;

    color: rgba(92, 27, 179, 0.35);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1;
}


/* ---------------------------------------------------------------------
   Icon
   --------------------------------------------------------------------- */

.v2-why__point-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(98, 34, 213, 0.1),
            rgba(92, 27, 179, 0.045)
        );

    color: var(--v2-cta);

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.v2-why__point:hover .v2-why__point-icon {
    transform: translateY(-2px) scale(1.05);

    background:
        linear-gradient(
            145deg,
            rgba(98, 34, 213, 0.16),
            rgba(255, 87, 87, 0.08)
        );
}


/* ---------------------------------------------------------------------
   Content
   --------------------------------------------------------------------- */

.v2-why__point-content {
    min-width: 0;
}

.v2-why__point-content h3 {
    margin: 1px 0 8px;

    color: var(--v2-heading);

    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.v2-why__point-content p {
    margin: 0;

    color: var(--v2-subheading);

    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.65;
}


/* ---------------------------------------------------------------------
   Featured 24/7 support
   --------------------------------------------------------------------- */

.v2-why__point--featured {
    grid-column: 1 / -1;

    min-height: 0;

    padding: 24px 24px;

    border-color: rgba(92, 27, 179, 0.16);

    background:
        linear-gradient(
            135deg,
            rgba(92, 27, 179, 0.055),
            rgba(255, 255, 255, 0.92) 48%,
            rgba(255, 87, 87, 0.045)
        );
}

.v2-why__point--featured::after {
    content: "";

    position: absolute;
    width: 150px;
    height: 150px;

    right: -70px;
    bottom: -80px;

    border-radius: 50%;

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

    pointer-events: none;
}

.v2-why__point--featured .v2-why__point-icon {
    background: rgba(255, 87, 87, 0.1);
    color: var(--v2-highlight);
}

.v2-why__featured-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.v2-why__featured-heading h3 {
    margin-bottom: 0;
}

.v2-why__featured-heading span {
    display: inline-flex;
    align-items: center;

    padding: 4px 8px;

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

    background: rgba(255, 87, 87, 0.09);

    color: var(--v2-highlight);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.v2-why__point--featured .v2-why__point-content p {
    max-width: 850px;
}


/* ---------------------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------------------- */

[data-v2-reveal] {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-v2-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.v2-why__points .v2-why__point:nth-child(1) {
    transition-delay: 80ms;
}

.v2-why__points .v2-why__point:nth-child(2) {
    transition-delay: 150ms;
}

.v2-why__points .v2-why__point:nth-child(3) {
    transition-delay: 220ms;
}

.v2-why__points .v2-why__point:nth-child(4) {
    transition-delay: 290ms;
}

.v2-why__points .v2-why__point:nth-child(5) {
    transition-delay: 360ms;
}


/* ---------------------------------------------------------------------
   Tablet
   --------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .v2-why__inner {
        grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
        gap: 45px;
    }

    .v2-why__point {
        grid-template-columns: 28px 44px minmax(0, 1fr);
        gap: 10px;
        padding: 21px 18px;
    }

    .v2-why__point-icon {
        width: 44px;
        height: 44px;
    }

    .v2-why__point-content h3 {
        font-size: 14px;
    }

    .v2-why__point-content p {
        font-size: 12px;
    }
}


/* ---------------------------------------------------------------------
   Tablet / small desktop
   --------------------------------------------------------------------- */

@media (max-width: 900px) {
    .v2-why {
        padding: 75px 0;
    }

    .v2-why__inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .v2-why__intro-text {
        max-width: 650px;
    }

    .v2-why__promise {
        max-width: 500px;
    }

    .v2-why__points {
        max-width: 760px;
        width: 100%;
    }
}


/* ---------------------------------------------------------------------
   Mobile
   --------------------------------------------------------------------- */

@media (max-width: 640px) {
    .v2-why {
        padding: 64px 0;
    }

    .v2-why__inner {
        width: min(100% - 32px, 560px);
        gap: 38px;
    }

    .v2-why__eyebrow {
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: 0.9px;
    }

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

        font-size: clamp(32px, 9vw, 42px);
        letter-spacing: -1.4px;
    }

    .v2-why__intro-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .v2-why__promise {
        margin-top: 26px;
        padding: 14px;
    }

    .v2-why__points {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .v2-why__point,
    .v2-why__point--featured {
        grid-column: auto;

        grid-template-columns: 30px 44px minmax(0, 1fr);

        min-height: 0;
        padding: 20px 17px;

        gap: 9px;
    }

    .v2-why__point-number {
        font-size: 9px;
    }

    .v2-why__point-icon {
        width: 44px;
        height: 44px;
    }

    .v2-why__point-content h3 {
        font-size: 14px;
        line-height: 1.4;
    }

    .v2-why__point-content p {
        font-size: 11.8px;
        line-height: 1.65;
    }

    .v2-why__featured-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .v2-why__featured-heading h3 {
        margin-bottom: 0;
    }
}


/* ---------------------------------------------------------------------
   Small mobile
   --------------------------------------------------------------------- */

@media (max-width: 400px) {
    .v2-why__inner {
        width: min(100% - 26px, 560px);
    }

    .v2-why__point,
    .v2-why__point--featured {
        grid-template-columns: 26px 40px minmax(0, 1fr);
        padding: 18px 14px;
        gap: 7px;
    }

    .v2-why__point-icon {
        width: 40px;
        height: 40px;
    }

    .v2-why__point-icon svg {
        width: 22px;
        height: 22px;
    }

    .v2-why__point-content h3 {
        font-size: 13px;
    }

    .v2-why__point-content p {
        font-size: 11.3px;
    }
}


/* ---------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .v2-why *,
    .v2-why *::before,
    .v2-why *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-v2-reveal] {
        opacity: 1;
        transform: none;
    }
}