/* =========================================================
   AVORCMS SERVICES — V2 ENTERPRISE FOOTER
   ========================================================= */

.v2-footer {
    --footer-purple: #391D77;
    --footer-purple-deep: #25134f;
    --footer-purple-light: #5C1BB3;
    --footer-cta: #6222D5;
    --footer-coral: #ff5757;
    --footer-white: #ffffff;
    --footer-muted: rgba(255, 255, 255, 0.68);
    --footer-soft: rgba(255, 255, 255, 0.1);
    --footer-border: rgba(255, 255, 255, 0.12);

    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(98, 34, 213, 0.28),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            var(--footer-purple-deep) 0%,
            var(--footer-purple) 48%,
            #32176d 100%
        );
    color: var(--footer-white);
    font-family: var(--v2-font, 'Manrope', 'Segoe UI', system-ui, sans-serif);
}


/* ---------------------------------------------------------
   BACKGROUND VISUAL SYSTEM
   --------------------------------------------------------- */

.v2-footer__visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.v2-footer__grid {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 45%,
        black 100%
    );
}

.v2-footer__orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.v2-footer__orb::before,
.v2-footer__orb::after {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.v2-footer__orb--one {
    width: 560px;
    height: 560px;
    right: -190px;
    top: -330px;
}

.v2-footer__orb--two {
    width: 360px;
    height: 360px;
    left: -250px;
    bottom: -280px;
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.v2-footer__container {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   MAIN GRID
   --------------------------------------------------------- */

.v2-footer__main {
    display: grid;
    grid-template-columns:
        minmax(330px, 1.65fr)
        minmax(180px, 0.9fr)
        minmax(270px, 1.1fr);
    gap: 80px;
    padding: 86px 0 72px;
}


/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.v2-footer__brand-column {
    min-width: 0;
}

.v2-footer__logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 26px;
}

.v2-footer__logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.v2-footer__intro {
    max-width: 500px;
    margin: 0 0 34px;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.005em;
}


/* ---------------------------------------------------------
   CONTACT
   --------------------------------------------------------- */

.v2-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.v2-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    width: fit-content;
    color: var(--footer-white);
    text-decoration: none;
}

.v2-footer__contact-item:hover {
    color: var(--footer-white);
}

.v2-footer__contact-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border: 1px solid var(--footer-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    transition:
        background 220ms ease,
        border-color 220ms ease,
        transform 220ms ease;
}

.v2-footer__contact-icon svg {
    width: 19px;
    height: 19px;
}

.v2-footer__contact-item:hover .v2-footer__contact-icon {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.v2-footer__contact-item > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 1px;
}

.v2-footer__contact-item small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.v2-footer__contact-item strong {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.v2-footer__contact-item--address strong {
    max-width: 390px;
}


/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

.v2-footer__nav-column h2,
.v2-footer__social h2 {
    margin: 8px 0 24px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.v2-footer__eyebrow {
    display: block;
    color: #ff8585;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.v2-footer__links {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v2-footer__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 9px 0;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    border-bottom: 1px solid transparent;
    transition:
        color 200ms ease,
        padding-left 200ms ease;
}

.v2-footer__links a svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform: translateX(-5px);
    transition:
        opacity 200ms ease,
        transform 200ms ease;
}

.v2-footer__links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.v2-footer__links a:hover svg {
    opacity: 1;
    transform: translateX(0);
}


/* ---------------------------------------------------------
   TRUST / COMPLIANCE
   --------------------------------------------------------- */

.v2-footer__trust-column {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.v2-footer__compliance {
    padding: 20px;
    border: 1px solid var(--footer-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.v2-footer__compliance-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.v2-footer__status-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #78e0ad;
    box-shadow: 0 0 0 4px rgba(120, 224, 173, 0.08);
}

.v2-footer__hipaa {
    display: flex;
    align-items: center;
    gap: 17px;
}

.v2-footer__hipaa-image {
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    padding: 6px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}

.v2-footer__hipaa-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.v2-footer__hipaa-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.v2-footer__hipaa-copy strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.v2-footer__hipaa-copy span {
    max-width: 180px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   SOCIAL
   --------------------------------------------------------- */

.v2-footer__social-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.v2-footer__social-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    color: rgba(255, 255, 255, 0.63);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition:
        color 200ms ease,
        transform 200ms ease;
}

.v2-footer__social-link svg {
    width: 18px;
    height: 18px;
}

.v2-footer__social-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}


/* ---------------------------------------------------------
   BOTTOM BAR
   --------------------------------------------------------- */

.v2-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 76px;
    border-top: 1px solid var(--footer-border);
}

.v2-footer__copyright {
    color: rgba(255, 255, 255, 0.47);
    font-size: 11px;
    line-height: 1.6;
}

.v2-footer__copyright a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    text-decoration: none;
}

.v2-footer__copyright a:hover {
    color: #ffffff;
}

.v2-footer__bottom-center {
    display: flex;
    align-items: center;
    gap: 5px;
}

.v2-footer__bottom-center span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.v2-footer__bottom-center span:nth-child(2) {
    width: 22px;
    border-radius: 999px;
    background: #ff5757;
}

.v2-footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.v2-footer__bottom-right i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}


/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.v2-footer a:focus-visible {
    outline: 2px solid #ff8585;
    outline-offset: 4px;
    border-radius: 4px;
}


/* ---------------------------------------------------------
   LARGE DESKTOP
   --------------------------------------------------------- */

@media (max-width: 1199px) {
    .v2-footer__main {
        grid-template-columns:
            minmax(280px, 1.5fr)
            minmax(180px, 0.9fr)
            minmax(240px, 1fr);
        gap: 48px;
    }

    .v2-footer__container {
        width: min(1120px, calc(100% - 48px));
    }
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 991px) {
    .v2-footer__main {
        grid-template-columns: 1.25fr 0.9fr;
        gap: 54px 45px;
        padding: 68px 0 58px;
    }

    .v2-footer__brand-column {
        grid-column: 1 / -1;
    }

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

    .v2-footer__trust-column {
        gap: 38px;
    }

    .v2-footer__bottom {
        flex-wrap: wrap;
        padding: 22px 0;
    }

    .v2-footer__bottom-center {
        display: none;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {
    .v2-footer__container {
        width: min(100% - 36px, 620px);
    }

    .v2-footer__main {
        display: flex;
        flex-direction: column;
        gap: 46px;
        padding: 58px 0 48px;
    }

    .v2-footer__logo {
        height: 52px;
        max-width: 200px;
    }

    .v2-footer__intro {
        margin-bottom: 28px;
        font-size: 13px;
        line-height: 1.8;
    }

    .v2-footer__nav-column h2,
    .v2-footer__social h2 {
        margin-bottom: 17px;
    }

    .v2-footer__links a {
        padding: 10px 0;
    }

    .v2-footer__links a svg {
        opacity: 0.65;
        transform: none;
    }

    .v2-footer__trust-column {
        gap: 38px;
    }

    .v2-footer__compliance {
        padding: 17px;
    }

    .v2-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        min-height: auto;
        padding: 23px 0 26px;
    }

    .v2-footer__bottom-right {
        flex-wrap: wrap;
        row-gap: 7px;
    }

    .v2-footer__grid {
        background-size: 55px 55px;
    }

    .v2-footer__orb--one {
        width: 380px;
        height: 380px;
        right: -240px;
        top: -230px;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 430px) {
    .v2-footer__container {
        width: calc(100% - 30px);
    }

    .v2-footer__main {
        padding-top: 48px;
    }

    .v2-footer__logo {
        height: 47px;
        max-width: 185px;
    }

    .v2-footer__hipaa {
        align-items: flex-start;
    }

    .v2-footer__hipaa-image {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .v2-footer__hipaa-copy span {
        max-width: 170px;
    }

    .v2-footer__bottom-right {
        font-size: 8px;
        gap: 8px;
    }
}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

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