/* =====================================================
   PREMIUM LUXURY CTA
   SPICEST WEBSITE THEME
===================================================== */

.sp-cta-section{
    --cta-olive: #4D1C2B;
    --cta-olive-light: #7A3348;
    --cta-olive-dark: #33121C;
    --cta-deep: #1F0A11;
    --cta-deeper: #120509;
    --cta-orange: #F28A2E;
    --cta-gold: #D4B46A;
    --cta-cream: #F7F4EA;
    --cta-white: #FFFFFF;

    position: relative;
    overflow: hidden;

    padding: 75px 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(77,28,43,.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(242,138,46,.08),
            transparent 25%
        ),
        #F7F4EA;
}


/* =====================================================
   WRAPPER
===================================================== */

.sp-cta-wrapper{
    position: relative;

    min-height: 500px;

    display: grid;
    grid-template-columns: 1fr 1.55fr 1fr;
    align-items: center;

    overflow: hidden;

    padding: 55px 35px 65px;

    border-radius: 34px;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(165, 75, 100, .18),
            transparent 40%
        ),
        radial-gradient(
            circle at 15% 50%,
            rgba(77, 28, 43, .40),
            transparent 50%
        ),
        radial-gradient(
            circle at 85% 50%,
            rgba(77, 28, 43, .40),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #33121C 0%,
            #4D1C2B 48%,
            #1E0A11 100%
        );

    border:
        1px solid
        rgba(255,255,255,.12);

    box-shadow:
        0 35px 90px rgba(30,10,17,.52),
        inset 0 1px 0 rgba(255,255,255,.10);

    isolation: isolate;
}


/* Inner border */

.sp-cta-wrapper::before{
    content: "";

    position: absolute;
    inset: 10px;

    z-index: 1;

    pointer-events: none;

    border-radius: 27px;

    border:
        1px solid
        rgba(255,255,255,.055);
}


/* Bottom dark fade */

.sp-cta-wrapper::after{
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 150px;

    z-index: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(8,11,7,.40)
        );
}


/* =====================================================
   TOP ANIMATED ACCENT LINE
===================================================== */

.sp-cta-top-line{
    position: absolute;

    top: 0;
    left: 12%;
    right: 12%;

    height: 2px;

    z-index: 8;

    overflow: hidden;

    background:
        rgba(255,255,255,.05);
}

.sp-cta-top-line::after{
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 35%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--cta-gold),
            var(--cta-orange),
            transparent
        );

    animation:
        spCtaLineMove 5s
        cubic-bezier(.4,0,.2,1)
        infinite;
}


/* =====================================================
   BACKGROUND TEXTURE
===================================================== */

.sp-cta-texture{
    position: absolute;
    inset: 0;

    z-index: 0;

    pointer-events: none;

    opacity: .18;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,.24) 1px,
            transparent 1.5px
        );

    background-size:
        32px 32px;

    mask-image:
        linear-gradient(
            90deg,
            black,
            transparent 35%,
            transparent 65%,
            black
        );

    -webkit-mask-image:
        linear-gradient(
            90deg,
            black,
            transparent 35%,
            transparent 65%,
            black
        );
}


/* =====================================================
   LIGHT SWEEP
===================================================== */

.sp-cta-light-sweep{
    position: absolute;

    top: -40%;
    left: -25%;

    width: 24%;
    height: 190%;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.055),
            transparent
        );

    transform: skewX(-18deg);

    animation:
        spCtaLightSweep 8s
        ease-in-out infinite;
}


/* =====================================================
   BACKGROUND GLOWS
===================================================== */

.sp-cta-glow{
    position: absolute;

    pointer-events: none;

    border-radius: 50%;

    filter: blur(5px);
}

.sp-cta-glow-one{
    width: 380px;
    height: 380px;

    left: -180px;
    top: -170px;

    background:
        radial-gradient(
            circle,
            rgba(205,115,140,.20),
            transparent 68%
        );

    animation:
        spGlowBreath 7s ease-in-out infinite;
}

.sp-cta-glow-two{
    width: 350px;
    height: 350px;

    right: -160px;
    bottom: -180px;

    background:
        radial-gradient(
            circle,
            rgba(242,138,46,.10),
            transparent 70%
        );

    animation:
        spGlowBreath 9s ease-in-out infinite reverse;
}


/* =====================================================
   SIDE VISUALS
===================================================== */

.sp-cta-visual{
    position: relative;

    z-index: 3;

    min-height: 390px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Product image */

.sp-cta-product-img{
    position: relative;

    z-index: 4;

    width: min(100%, 310px);
    max-height: 380px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 28px 35px
            rgba(0,0,0,.35)
        );

    transition:
        transform .8s
        cubic-bezier(.22,1,.36,1),
        filter .5s ease;
}


/* Left entrance */

.sp-cta-visual-left
.sp-cta-product-img{
    opacity: 0;

    transform:
        translateX(-60px)
        translateY(20px)
        scale(.92);

    transition:
        opacity 1s ease .2s,
        transform 1.15s
        cubic-bezier(.22,1,.36,1)
        .2s;
}


/* Right entrance */

.sp-cta-visual-right
.sp-cta-product-img{
    opacity: 0;

    transform:
        translateX(60px)
        translateY(20px)
        scale(.92);

    transition:
        opacity 1s ease .35s,
        transform 1.15s
        cubic-bezier(.22,1,.36,1)
        .35s;
}


/* Visible state */

.sp-cta-wrapper.is-visible
.sp-cta-product-img{
    opacity: 1;

    transform:
        translateX(0)
        translateY(0)
        scale(1);
}


/* Hover image */

.sp-cta-visual:hover
.sp-cta-product-img{
    transform:
        translateY(-9px)
        scale(1.035);

    filter:
        drop-shadow(
            0 35px 42px
            rgba(0,0,0,.42)
        );
}


/* =====================================================
   IMAGE HALO
===================================================== */

.sp-cta-image-halo{
    position: absolute;

    width: 250px;
    height: 250px;

    z-index: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(205,115,140,.24),
            rgba(103,42,60,.12) 45%,
            transparent 72%
        );

    animation:
        spHaloBreath
        4.5s ease-in-out infinite;
}


/* =====================================================
   MINI TAGS
===================================================== */

.sp-cta-mini-tag{
    position: absolute;

    z-index: 7;

    display: flex;
    align-items: center;

    gap: 9px;

    padding:
        10px 13px;

    border-radius: 15px;

    color: #fff;

    background:
        rgba(255,255,255,.10);

    border:
        1px solid
        rgba(255,255,255,.13);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

    box-shadow:
        0 16px 35px
        rgba(0,0,0,.18);

    opacity: 0;

    transition:
        opacity .8s ease .8s,
        transform .9s
        cubic-bezier(.22,1,.36,1)
        .8s;
}

.sp-tag-left{
    left: 0;
    bottom: 45px;

    transform:
        translateY(25px);
}

.sp-tag-right{
    right: 0;
    top: 45px;

    transform:
        translateY(-25px);
}

.sp-cta-wrapper.is-visible
.sp-cta-mini-tag{
    opacity: 1;

    transform:
        translateY(0);
}


/* Tag icon */

.sp-tag-icon{
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 11px;

    color:
        var(--cta-deep);

    background:
        #F4CEDB;
}

.sp-cta-mini-tag > span:last-child{
    display: flex;
    flex-direction: column;
}

.sp-cta-mini-tag small{
    color:
        rgba(255,255,255,.60);

    font-size: 7px;

    text-transform: uppercase;

    letter-spacing: .7px;
}

.sp-cta-mini-tag strong{
    margin-top: 1px;

    color: #fff;

    font-size: 9px;
}


/* =====================================================
   CENTER CONTENT
===================================================== */

.sp-cta-content{
    position: relative;

    z-index: 6;

    max-width: 680px;

    margin: auto;

    padding: 20px 10px;

    text-align: center;
}


/* =====================================================
   KICKER
===================================================== */

.sp-cta-kicker{
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 18px;

    color:
        #F3C4CF;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}

.sp-kicker-line{
    width: 38px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(243,196,207,.70)
        );
}

.sp-kicker-line:last-child{
    background:
        linear-gradient(
            90deg,
            rgba(243,196,207,.70),
            transparent
        );
}

.sp-kicker-icon{
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color:
        var(--cta-deep);

    background:
        #F4CEDB;

    box-shadow:
        0 8px 22px
        rgba(244,206,219,.16);

    animation:
        spIconLift
        3.5s ease-in-out infinite;
}


/* =====================================================
   TITLE
===================================================== */

.sp-cta-title{
    margin:
        0 auto 17px;

    max-width: 650px;

    color: #fff;

    font-size:
        clamp(35px, 3.7vw, 58px);

    font-weight: 900;

    line-height: 1.03;

    letter-spacing: -2px;
}

.sp-cta-title span{
    position: relative;

    display: inline-block;

    color:
        #F7C6D2;
}


/* Animated underline */

.sp-cta-title span::after{
    content: "";

    position: absolute;

    left: 5%;
    right: 5%;
    bottom: -5px;

    height: 6px;

    border-radius: 50%;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--cta-orange),
            var(--cta-gold),
            transparent
        );

    opacity: .50;

    transform:
        scaleX(0);

    transform-origin:
        left;

    transition:
        transform 1.1s
        cubic-bezier(.22,1,.36,1)
        .7s;
}

.sp-cta-wrapper.is-visible
.sp-cta-title span::after{
    transform:
        scaleX(1);
}


/* =====================================================
   DESCRIPTION
===================================================== */

.sp-cta-description{
    max-width: 590px;

    margin:
        0 auto 23px;

    color:
        rgba(255,255,255,.68);

    font-size: 13px;

    line-height: 1.8;
}


/* =====================================================
   TRUST POINTS
===================================================== */

.sp-cta-trust{
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 26px;
}

.sp-trust-item{
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding:
        8px 11px;

    border-radius: 999px;

    color:
        rgba(255,255,255,.78);

    background:
        rgba(255,255,255,.055);

    border:
        1px solid
        rgba(255,255,255,.075);

    font-size: 8px;

    font-weight: 700;

    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease;
}

.sp-trust-item i{
    width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color:
        var(--cta-deep);

    background:
        #F4CEDB;

    font-size: 7px;
}

.sp-trust-item:hover{
    transform:
        translateY(-3px);

    background:
        rgba(255,255,255,.09);

    border-color:
        rgba(255,255,255,.14);
}


/* =====================================================
   ACTION BUTTONS
===================================================== */

.sp-cta-actions{
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}

.sp-cta-btn{
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    overflow: hidden;

    padding:
        7px 9px 7px 20px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 10px;

    font-weight: 850;

    transition:
        transform .4s
        cubic-bezier(.22,1,.36,1),
        box-shadow .35s ease,
        background .35s ease;
}


/* Primary */

.sp-cta-btn-primary{
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #F59A3C,
            #E77B1C
        );

    box-shadow:
        0 16px 35px
        rgba(242,138,46,.23);
}


/* Button shimmer */

.sp-cta-btn-primary::before{
    content: "";

    position: absolute;

    top: 0;
    left: -110%;

    width: 55%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.30),
            transparent
        );

    transform:
        skewX(-20deg);

    animation:
        spButtonShine
        4.5s ease-in-out infinite;
}


/* Arrow circle */

.sp-btn-arrow{
    position: relative;

    z-index: 2;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color:
        #E77B1C;

    background:
        #fff;

    transition:
        transform .4s
        cubic-bezier(.22,1,.36,1);
}

.sp-cta-btn-primary:hover{
    color: #fff;

    transform:
        translateY(-4px);

    box-shadow:
        0 22px 45px
        rgba(242,138,46,.32);
}

.sp-cta-btn-primary:hover
.sp-btn-arrow{
    transform:
        translateX(3px);
}


/* Secondary */

.sp-cta-btn-secondary{
    padding:
        13px 20px;

    color:
        rgba(255,255,255,.88);

    background:
        rgba(255,255,255,.07);

    border:
        1px solid
        rgba(255,255,255,.13);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}

.sp-cta-btn-secondary i{
    color:
        #C9D7AF;
}

.sp-cta-btn-secondary:hover{
    color: #fff;

    background:
        rgba(255,255,255,.12);

    transform:
        translateY(-4px);
}


/* =====================================================
   BOTTOM NOTE
===================================================== */

.sp-cta-bottom-note{
    position: absolute;

    left: 50%;
    bottom: 18px;

    z-index: 8;

    display: flex;
    align-items: center;

    gap: 8px;

    transform:
        translateX(-50%);

    color:
        rgba(255,255,255,.42);

    font-size: 7px;

    letter-spacing: .8px;

    text-transform: uppercase;

    white-space: nowrap;
}

.sp-note-dot{
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        #C8D6AE;

    box-shadow:
        0 0 0 5px
        rgba(200,214,174,.08);

    animation:
        spNotePulse
        2.2s ease-in-out infinite;
}


/* =====================================================
   SCROLL REVEAL
===================================================== */

.sp-cta-reveal{
    opacity: 0;

    transform:
        translateY(26px);

    transition:
        opacity .85s
        cubic-bezier(.22,1,.36,1),

        transform .9s
        cubic-bezier(.22,1,.36,1);
}

.sp-cta-reveal:nth-child(1){
    transition-delay: .15s;
}

.sp-cta-reveal:nth-child(2){
    transition-delay: .27s;
}

.sp-cta-reveal:nth-child(3){
    transition-delay: .39s;
}

.sp-cta-reveal:nth-child(4){
    transition-delay: .51s;
}

.sp-cta-reveal:nth-child(5){
    transition-delay: .63s;
}

.sp-cta-wrapper.is-visible
.sp-cta-reveal{
    opacity: 1;

    transform:
        translateY(0);
}


/* =====================================================
   LARGE TABLET
===================================================== */

@media(max-width:1199.98px){

    .sp-cta-wrapper{
        grid-template-columns:
            .8fr 1.6fr .8fr;

        padding:
            50px 25px 65px;
    }

    .sp-cta-product-img{
        width:
            min(100%, 250px);
    }

    .sp-cta-mini-tag{
        display: none;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:991.98px){

    .sp-cta-section{
        padding:
            60px 0;
    }

    .sp-cta-wrapper{
        min-height: auto;

        grid-template-columns:
            1fr;

        padding:
            55px 30px 65px;
    }

    .sp-cta-content{
        order: 1;

        max-width: 700px;
    }

    .sp-cta-visual-left{
        order: 2;
    }

    .sp-cta-visual-right{
        display: none;
    }

    .sp-cta-visual-left{
        min-height: 250px;

        margin-top: 20px;
    }

    .sp-cta-product-img{
        max-height: 250px;
    }

    .sp-cta-image-halo{
        width: 200px;
        height: 200px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:767.98px){

    .sp-cta-section{
        padding:
            50px 0;
    }

    .sp-cta-wrapper{
        padding:
            48px 20px 62px;

        border-radius:
            27px;
    }

    .sp-cta-wrapper::before{
        inset: 7px;

        border-radius:
            21px;
    }

    .sp-cta-title{
        font-size:
            clamp(34px, 10vw, 47px);

        letter-spacing:
            -1.5px;
    }

    .sp-cta-description{
        font-size:
            12.5px;
    }

    .sp-cta-kicker{
        font-size:
            8px;
    }

    .sp-kicker-line{
        width: 25px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media(max-width:575.98px){

    .sp-cta-section{
        padding:
            42px 0;
    }

    .sp-cta-wrapper{
        padding:
            42px 16px 58px;
    }

    .sp-cta-title{
        font-size:
            clamp(31px, 11vw, 40px);
    }

    .sp-cta-description{
        line-height:
            1.7;
    }

    .sp-cta-trust{
        gap: 7px;
    }

    .sp-trust-item{
        font-size: 7px;

        padding:
            7px 9px;
    }

    .sp-cta-actions{
        flex-direction:
            column;

        width: 100%;
    }

    .sp-cta-btn{
        width: 100%;
    }

    .sp-cta-btn-primary{
        justify-content:
            space-between;
    }

    .sp-cta-btn-secondary{
        min-height: 48px;
    }

    .sp-cta-visual-left{
        min-height:
            220px;
    }

    .sp-cta-product-img{
        max-height:
            220px;
    }

    .sp-cta-bottom-note{
        max-width: 85%;

        text-align: center;

        white-space: normal;

        justify-content: center;
    }

}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes spCtaLineMove{

    0%{
        transform:
            translateX(-130%);
    }

    50%{
        transform:
            translateX(300%);
    }

    100%{
        transform:
            translateX(300%);
    }

}


@keyframes spCtaLightSweep{

    0%,
    20%{
        left: -30%;
        opacity: 0;
    }

    35%{
        opacity: 1;
    }

    65%{
        left: 115%;
        opacity: .7;
    }

    100%{
        left: 115%;
        opacity: 0;
    }

}


@keyframes spGlowBreath{

    0%,
    100%{
        opacity: .55;
        transform: scale(1);
    }

    50%{
        opacity: 1;
        transform: scale(1.08);
    }

}


@keyframes spHaloBreath{

    0%,
    100%{
        opacity: .65;
        transform: scale(1);
    }

    50%{
        opacity: 1;
        transform: scale(1.08);
    }

}


@keyframes spIconLift{

    0%,
    100%{
        transform:
            translateY(0);
    }

    50%{
        transform:
            translateY(-4px);
    }

}


@keyframes spButtonShine{

    0%,
    55%{
        left: -110%;
    }

    78%{
        left: 145%;
    }

    100%{
        left: 145%;
    }

}


@keyframes spNotePulse{

    0%,
    100%{
        box-shadow:
            0 0 0 4px
            rgba(200,214,174,.08);
    }

    50%{
        box-shadow:
            0 0 0 8px
            rgba(200,214,174,.015);
    }

}


/* =====================================================
   ACCESSIBILITY
===================================================== */

@media(prefers-reduced-motion:reduce){

    .sp-cta-top-line::after,
    .sp-cta-light-sweep,
    .sp-cta-glow,
    .sp-cta-image-halo,
    .sp-kicker-icon,
    .sp-cta-btn-primary::before,
    .sp-note-dot{
        animation:
            none !important;
    }

    .sp-cta-reveal,
    .sp-cta-product-img,
    .sp-cta-mini-tag{
        opacity: 1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }

}