/**
 * Sticky "Call Now — Free Consultation" CTA for the /v2 & /v3 landing pages.
 * The elements are only output on those pages (see pds_v2v3_sticky_cta), so
 * these rules are safe to be unscoped.
 */

/* Full-width frosted-white bar pinned to the bottom of the viewport; the green
   button sits centered on top of it. */
.v2v3-sticky-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    display: flex;
    justify-content: center;

    box-sizing: border-box;
    padding: 20px 10px;

    background-color: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.v2v3-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 24px;

    /* Green base with a translucent-white sheen along the top that fades
       back into the green. */
    background-color: #00BC7D;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    border-radius: 50px;
    @media (max-width: 340px) {
        padding: 12px 3px;
    }
}


.v2v3-sticky-cta:hover,
.v2v3-sticky-cta:focus {
    color: #fff;
    text-decoration: none;
}

.v2v3-sticky-cta svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Mobile only — hide the sticky CTA from the tablet breakpoint up. */
@media (min-width: 768px) {
    .v2v3-sticky-cta-bar {
        display: none;
    }
}
