.sfcta {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 9998;
    width: min(1120px, calc(100% - 40px));
    transform: translate(-50%, calc(100% + 48px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility .3s ease;
    font-family: inherit;
}

.sfcta.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sfcta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 16px 18px 16px 28px;
    background: var(--sfcta-bg, #F2D600);
    color: var(--sfcta-text, #17351F);
    border-radius: 999px;
    box-shadow: 0 14px 42px rgba(0,0,0,.16);
}

.sfcta__copy {
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 10px;
    line-height: 1.25;
}

.sfcta__title {
    font-size: clamp(16px, 1.15vw, 20px);
    font-weight: 700;
}

.sfcta__subtitle {
    font-size: clamp(14px, .95vw, 17px);
    font-weight: 500;
}

.sfcta__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    background: var(--sfcta-button, #17351F);
    color: var(--sfcta-button-text, #fff) !important;
    border: 0;
    border-radius: 999px;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease;
}

.sfcta__button:hover,
.sfcta__button:focus-visible {
    transform: translateY(-2px);
    background: var(--sfcta-accent, #E63328);
    color: #fff !important;
}

.sfcta__button:focus-visible {
    outline: 3px solid rgba(255,255,255,.95);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .sfcta {
        bottom: 12px;
        width: calc(100% - 24px);
    }

    .sfcta__inner {
        align-items: stretch;
        gap: 12px;
        padding: 15px;
        border-radius: 24px;
    }

    .sfcta__copy {
        display: block;
        align-self: center;
    }

    .sfcta__title,
    .sfcta__subtitle {
        display: block;
    }

    .sfcta__title {
        font-size: 15px;
    }

    .sfcta__subtitle {
        margin-top: 3px;
        font-size: 12px;
    }

    .sfcta__button {
        min-height: 44px;
        padding-left: 18px;
        padding-right: 18px;
        font-size: 12px;
    }
}

@media (max-width: 520px) {
    .sfcta__inner {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .sfcta__subtitle {
        max-width: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sfcta,
    .sfcta__button {
        transition: none;
    }
}
