/* =========================================================
   ESAR DIGITAL — RESOURCES CTA
   Premium Final Conversion Section
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

   .resources-cta {
    position: relative;

    padding: 120px 0;

    background:
        linear-gradient(
            180deg,
            #f8faff 0%,
            #eef2f8 100%
        );

    color: #0a1424;

    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.resources-cta__container {
    width: min(100% - 112px, 1320px);

    margin: 0 auto;
}


/* =========================================================
   MAIN CTA PANEL
   ========================================================= */

.resources-cta__inner {
    position: relative;

    min-height: 520px;

    padding: 78px 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;

    overflow: hidden;

    border: 1px solid rgba(20, 39, 70, .10);

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.98),
            rgba(245,248,253,.94)
        );

    box-shadow:
        0 35px 90px rgba(20, 39, 70, .09),
        inset 0 1px 0 rgba(255,255,255,.9);
}


/* =========================================================
   ATMOSPHERIC GLOWS
   ========================================================= */

.resources-cta__glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(5px);
}


.resources-cta__glow--one {
    width: 420px;
    height: 420px;

    right: -100px;
    top: -170px;

    background:
        radial-gradient(
            circle,
            rgba(97,124,255,.13),
            transparent 70%
        );
}


.resources-cta__glow--two {
    width: 320px;
    height: 320px;

    left: -150px;
    bottom: -180px;

    background:
        radial-gradient(
            circle,
            rgba(97,124,255,.08),
            transparent 70%
        );
}


/* =========================================================
   CONTENT
   ========================================================= */

.resources-cta__content {
    position: relative;

    z-index: 4;

    max-width: 650px;
}


.resources-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 24px;

    color:#FFCC00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .19em;

    text-transform: uppercase;
}


.resources-cta__eyebrow::before {
    content: "";

    width: 24px;
    height: 1px;

    background: #FFCC00;
}


/* =========================================================
   TITLE
   ========================================================= */

.resources-cta__title {
    max-width: 700px;

    margin: 0;

    color: #081426;

    font-size: clamp(
        44px,
        5vw,
        70px
    );

    font-weight: 650;

    line-height: .99;

    letter-spacing: -.06em;
}


.resources-cta__description {
    max-width: 590px;

    margin: 28px 0 0;

    color: #69778c;

    font-size: 16px;

    line-height: 1.85;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.resources-cta__actions {
    display: flex;
    align-items: center;

    gap: 28px;

    margin-top: 38px;

    flex-wrap: wrap;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.resources-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 56px;

    padding: 0 27px;

    border-radius: 8px;

    background: #FFCC00;

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 14px 35px rgba(7,16,31,.16);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


.resources-cta__button:hover {
    transform: translateY(-3px);

    background: #101d33;

    box-shadow:
        0 20px 45px rgba(7,16,31,.22);
}


.resources-cta__button-arrow {
    color: #91a4ff;

    font-size: 17px;

    transition:
        transform .3s ease;
}


.resources-cta__button:hover .resources-cta__button-arrow {
    transform: translateX(5px);
}


/* =========================================================
   SECONDARY LINK
   ========================================================= */

.resources-cta__secondary {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: #53627a;

    font-size: 13px;
    font-weight: 650;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}


.resources-cta__secondary span {
    color: #7d8ba2;

    font-size: 15px;

    transition: transform .25s ease;
}


.resources-cta__secondary:hover {
    color: #07101f;

    transform: translateX(3px);
}


.resources-cta__secondary:hover span {
    transform: translate(3px,-3px);
}


/* =========================================================
   VISUAL
   ========================================================= */

.resources-cta__visual {
    position: relative;

    width: 470px;
    height: 470px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
}


/* =========================================================
   ORBIT RINGS
   ========================================================= */

.resources-cta__orb {
    position: absolute;

    border: 1px solid rgba(97,124,255,.14);

    border-radius: 50%;

    pointer-events: none;
}


.resources-cta__orb--outer {
    width: 450px;
    height: 450px;
}


.resources-cta__orb--middle {
    width: 340px;
    height: 340px;
}


.resources-cta__orb--inner {
    width: 230px;
    height: 230px;

    border-color: rgba(97,124,255,.19);
}


/* =========================================================
   VISUAL CARD
   ========================================================= */

.resources-cta__card {
    position: relative;

    z-index: 5;

    width: 365px;

    min-height: 215px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid rgba(255,255,255,.8);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.96),
            rgba(240,244,251,.88)
        );

    box-shadow:
        0 30px 70px rgba(20,39,70,.14),
        inset 0 1px 0 rgba(255,255,255,1);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   CARD TOP
   ========================================================= */

.resources-cta__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #8a97aa;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .17em;
}


.resources-cta__card-line {
    width: 100%;
    height: 1px;

    margin: 22px 0;

    background:
        linear-gradient(
            90deg,
            rgba(18,35,61,.13),
            rgba(18,35,61,.03)
        );
}


/* =========================================================
   CARD MAIN
   ========================================================= */

.resources-cta__card-main {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #18253a;

    font-size: 12px;
    font-weight: 650;
}


.resources-cta__card-main strong {
    color: #617cff;

    font-size: 15px;
}


/* =========================================================
   CARD BOTTOM
   ========================================================= */

.resources-cta__card-bottom {
    display: flex;
    justify-content: space-between;

    color: #9aa6b7;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: .16em;
}


/* =========================================================
   HOVER / DEPTH
   ========================================================= */

.resources-cta__card {
    transition:
        transform .45s ease,
        box-shadow .45s ease;
}


.resources-cta__visual:hover .resources-cta__card {
    transform: translateY(-7px);

    box-shadow:
        0 40px 85px rgba(20,39,70,.18),
        inset 0 1px 0 rgba(255,255,255,1);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1150px) {

    .resources-cta {
        padding: 100px 0;
    }


    .resources-cta__container {
        width: min(100% - 80px, 1000px);
    }


    .resources-cta__inner {
        padding: 65px;

        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }


    .resources-cta__visual {
        width: 100%;

        height: 400px;

        margin-top: 10px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .resources-cta {
        padding: 80px 0;
    }


    .resources-cta__container {
        width: calc(100% - 40px);
    }


    .resources-cta__inner {
        min-height: auto;

        padding: 48px 28px;

        border-radius: 20px;

        gap: 45px;
    }


    .resources-cta__title {
        font-size: clamp(
            40px,
            11vw,
            55px
        );
    }


    .resources-cta__description {
        font-size: 15px;

        line-height: 1.75;
    }


    .resources-cta__actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }


    .resources-cta__button {
        width: 100%;
    }


    .resources-cta__visual {
        width: 100%;

        height: 330px;
    }


    .resources-cta__orb--outer {
        width: 320px;
        height: 320px;
    }


    .resources-cta__orb--middle {
        width: 250px;
        height: 250px;
    }


    .resources-cta__orb--inner {
        width: 175px;
        height: 175px;
    }


    .resources-cta__card {
        width: min(
            calc(100% - 20px),
            330px
        );

        min-height: 190px;

        padding: 25px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .resources-cta__container {
        width: calc(100% - 30px);
    }


    .resources-cta__inner {
        padding: 40px 22px;

        border-radius: 18px;
    }


    .resources-cta__title {
        font-size: 40px;

        letter-spacing: -.055em;
    }


    .resources-cta__visual {
        height: 285px;
    }


    .resources-cta__orb--outer {
        width: 275px;
        height: 275px;
    }


    .resources-cta__orb--middle {
        width: 215px;
        height: 215px;
    }


    .resources-cta__orb--inner {
        width: 155px;
        height: 155px;
    }


    .resources-cta__card {
        width: 290px;

        min-height: 175px;

        padding: 22px;
    }


    .resources-cta__card-main {
        font-size: 10px;

        gap: 7px;
    }


    .resources-cta__card-main strong {
        font-size: 13px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.resources-cta a:focus-visible {
    outline: 2px solid #617cff;

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .resources-cta *,
    .resources-cta *::before,
    .resources-cta *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

}