
/* =========================================================
   ESAR DIGITAL — CONTACT CTA
   Premium Final Conversion Section
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.contact-cta {
    position: relative;

    padding: 135px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 35%,
            rgba(97,124,255,.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #050c17 0%,
            #07101f 55%,
            #0a1425 100%
        );

    color: #fff;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.contact-cta__background {
    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;
}


/* =========================================================
   GRID
   ========================================================= */

.contact-cta__grid {
    position: absolute;

    inset: 0;

    opacity: .22;

    background-image:
        linear-gradient(
            rgba(255,255,255,.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.045) 1px,
            transparent 1px
        );

    background-size: 85px 85px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.8),
            transparent 92%
        );
}


/* =========================================================
   ATMOSPHERIC ORBS
   ========================================================= */

.contact-cta__orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(12px);

    pointer-events: none;
}


.contact-cta__orb--one {
    width: 620px;
    height: 620px;

    right: -250px;
    top: -240px;

    background:
        radial-gradient(
            circle,
            rgba(97,124,255,.19),
            rgba(97,124,255,.055) 42%,
            transparent 72%
        );
}


.contact-cta__orb--two {
    width: 360px;
    height: 360px;

    left: -230px;
    bottom: -220px;

    background:
        radial-gradient(
            circle,
            rgba(97,124,255,.09),
            transparent 70%
        );
}


/* =========================================================
   RINGS
   ========================================================= */

.contact-cta__rings {
    position: absolute;

    width: 620px;
    height: 620px;

    right: -230px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(143,161,255,.11);

    border-radius: 50%;
}


.contact-cta__rings::before,
.contact-cta__rings::after,
.contact-cta__rings span {
    content: "";

    position: absolute;

    border: 1px solid rgba(143,161,255,.08);

    border-radius: 50%;
}


.contact-cta__rings::before {
    inset: 70px;
}


.contact-cta__rings::after {
    inset: 140px;
}


.contact-cta__rings span:first-child {
    inset: 210px;
}


.contact-cta__rings span:last-child {
    inset: 275px;

    border-color: rgba(143,161,255,.12);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.contact-cta__container {
    position: relative;

    z-index: 3;

    width: min(
        calc(100% - 112px),
        1320px
    );

    margin: 0 auto;
}


/* =========================================================
   INNER PANEL
   ========================================================= */

.contact-cta__inner {
    position: relative;

    min-height: 470px;

    padding: 70px 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 40px 110px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.06);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   INNER HIGHLIGHT
   ========================================================= */

.contact-cta__inner::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 42%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            #8fa1ff,
            transparent
        );

    opacity: .8;
}


/* =========================================================
   CONTENT
   ========================================================= */

.contact-cta__content {
    position: relative;

    z-index: 3;

    max-width: 760px;
}


.contact-cta__eyebrow {
    display: inline-flex;

    align-items: center;

    margin-bottom: 24px;

    color: #ffcc00;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;
}


.contact-cta__eyebrow::before {
    content: "";

    width: 23px;
    height: 1px;

    margin-right: 11px;

    background: #ffcc00;
}


.contact-cta__title {
    margin: 0;

    color: #fff;

    font-size: clamp(
        46px,
        5.7vw,
        76px
    );

    font-weight: 620;

    line-height: .98;

    letter-spacing: -.06em;
}


.contact-cta__title span {
    color: #ffcc00;
}


.contact-cta__description {
    max-width: 620px;

    margin: 28px 0 0;

    color: #9aa8bd;

    font-size: 16px;

    line-height: 1.85;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.contact-cta__actions {
    display: flex;

    align-items: center;

    gap: 24px;

    margin-top: 38px;

    flex-wrap: wrap;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.contact-cta__button {
    min-height: 55px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 17px;

    padding: 0 25px;

    border-radius: 8px;

    background: #ffcc00;

    color: #101827;

    font-size: 13px;

    font-weight: 750;

    text-decoration: none;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


.contact-cta__button span {
    font-size: 17px;

    transition:
        transform .3s ease;
}


.contact-cta__button:hover {
    transform: translateY(-3px);

    background: #ffd21a;

    box-shadow:
        0 18px 45px rgba(0,0,0,.28);
}


.contact-cta__button:hover span {
    transform: translate(4px,-3px);
}


/* =========================================================
   EMAIL LINK
   ========================================================= */

.contact-cta__email {
    color: #aebacd;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid rgba(174,186,205,.25);

    padding-bottom: 4px;

    transition:
        color .25s ease,
        border-color .25s ease;
}


.contact-cta__email:hover {
    color: #fff;

    border-color: rgba(255,255,255,.65);
}


/* =========================================================
   SIDE SIGNAL
   ========================================================= */

.contact-cta__signal {
    position: relative;

    z-index: 3;

    width: 250px;

    min-height: 260px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    flex-shrink: 0;

    padding: 20px 0;
}


.contact-cta__signal-line {
    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.15),
            transparent
        );
}


.contact-cta__signal-content {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


.contact-cta__signal-label {
    color: #65748d;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .19em;
}


.contact-cta__signal strong {
    color: #d9dfeb;

    font-size: 20px;

    font-weight: 560;

    line-height: 1.35;

    letter-spacing: -.025em;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .contact-cta {
        padding: 115px 0;
    }


    .contact-cta__container {
        width: min(
            calc(100% - 80px),
            1000px
        );
    }


    .contact-cta__inner {
        padding: 60px;

        gap: 45px;
    }


    .contact-cta__signal {
        width: 210px;
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 900px) {

    .contact-cta__inner {
        min-height: auto;

        flex-direction: column;

        align-items: flex-start;

        padding: 60px;
    }


    .contact-cta__signal {
        width: 100%;

        min-height: 150px;

        padding: 15px 0;
    }


    .contact-cta__signal-content {
        gap: 12px;
    }


    .contact-cta__signal strong {
        font-size: 18px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .contact-cta {
        padding: 90px 0;
    }


    .contact-cta__container {
        width: calc(100% - 50px);
    }


    .contact-cta__inner {
        padding: 45px 30px;

        border-radius: 18px;

        gap: 45px;
    }


    .contact-cta__title {
        font-size: clamp(
            42px,
            11vw,
            58px
        );
    }


    .contact-cta__description {
        margin-top: 24px;

        font-size: 15px;

        line-height: 1.8;
    }


    .contact-cta__actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

        margin-top: 32px;
    }


    .contact-cta__button {
        width: 100%;
    }


    .contact-cta__email {
        margin-left: 2px;
    }


    .contact-cta__signal {
        min-height: 125px;
    }


    .contact-cta__rings {
        width: 430px;
        height: 430px;

        right: -250px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .contact-cta {
        padding: 75px 0;
    }


    .contact-cta__container {
        width: calc(100% - 36px);
    }


    .contact-cta__inner {
        padding: 38px 23px;

        border-radius: 16px;
    }


    .contact-cta__title {
        font-size: 43px;

        letter-spacing: -.055em;
    }


    .contact-cta__signal {
        min-height: 115px;
    }


    .contact-cta__signal strong {
        font-size: 17px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.contact-cta a:focus-visible {
    outline: 2px solid #8fa1ff;

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-cta *,
    .contact-cta *::before,
    .contact-cta *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }

}
