.machinasphere-footer-subscribe {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: none;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 4rem 1.5rem;
    background: radial-gradient(circle at 10% 110%, rgba(199, 124, 75, 0.28), transparent 38%), linear-gradient(120deg, #24272b, #17191c 72%);
    border-top: 1px solid rgba(218, 157, 106, 0.35);
    border-bottom: 1px solid rgba(218, 157, 106, 0.2);
    color: #f7f4f0;
}

.jeg_footer_custom .jeg_vc_content > .vc_row:has(.machinasphere-footer-subscribe) + .vc_row-full-width + .vc_row {
    margin-top: 0 !important;
}

.machinasphere-footer-subscribe--motion-ready {
    clip-path: inset(100% 0 0);
    transition: clip-path 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.machinasphere-footer-subscribe--motion-ready.machinasphere-footer-subscribe--in-view {
    clip-path: inset(0);
}

.machinasphere-footer-subscribe--motion-ready .machinasphere-footer-subscribe__motion {
    opacity: 0;
    transform: translate3d(0, 2.5rem, 0);
    transition: opacity 700ms ease, transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.machinasphere-footer-subscribe--motion-ready.machinasphere-footer-subscribe--in-view .machinasphere-footer-subscribe__motion {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.machinasphere-footer-subscribe__inner {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    max-width: 1120px;
    margin: 0 auto;
    transform: translate3d(0, var(--machinasphere-subscribe-parallax-y, 0px), 0);
}

.machinasphere-footer-subscribe__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
    color: #e3ad82;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.machinasphere-footer-subscribe__eyebrow::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    background: #e3ad82;
    border-radius: 50%;
}

.machinasphere-footer-subscribe h2 {
    margin: 0 0 0.7rem;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.18;
}

.machinasphere-footer-subscribe p {
    max-width: 31rem;
    margin: 0;
    color: #c7c4c1;
    font-size: 1rem;
    line-height: 1.55;
}

.machinasphere-footer-subscribe__form-wrap {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 1.25rem;
    background: #f9f7f4;
    border: 1px solid rgba(227, 173, 130, 0.3);
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.machinasphere-footer-subscribe--in-view .machinasphere-footer-subscribe__form-wrap {
    animation: machinasphere-subscribe-float 9s ease-in-out infinite;
}

.machinasphere-footer-subscribe__form-wrap:hover,
.machinasphere-footer-subscribe__form-wrap:focus-within {
    animation-play-state: paused;
}

@keyframes machinasphere-subscribe-float {
    0%, 100% {
        transform: translate3d(0, 3px, 0);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    }

    25% {
        transform: translate3d(8px, -3px, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0);
        box-shadow: 0 21px 36px rgba(0, 0, 0, 0.3);
    }

    75% {
        transform: translate3d(-8px, 2px, 0);
    }
}

.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 {
    width: 100%;
}

.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 [data-testid="form-row"] {
    gap: 0.75rem;
}

.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 [data-testid="form-component"] {
    padding: 0 !important;
}

.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 input[type="email"],
.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 .klaviyo-form-button {
    box-sizing: border-box !important;
    min-height: 3.25rem !important;
    border-radius: 0.5rem !important;
    font-family: inherit !important;
}

.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 input[type="email"] {
    border: 1px solid rgba(36, 39, 43, 0.3) !important;
    background: #fff !important;
    color: #24272b !important;
}

.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 input[type="email"]:focus {
    border-color: #b87549 !important;
    outline: 2px solid rgba(184, 117, 73, 0.22) !important;
    outline-offset: 1px;
}

.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 .klaviyo-form-button {
    background: #b87549 !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 .klaviyo-form-button:hover,
.machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 .klaviyo-form-button:focus-visible {
    background: #955b37 !important;
}

body.jnews-dark-mode .machinasphere-footer-subscribe {
    background: radial-gradient(circle at 10% 110%, rgba(184, 117, 73, 0.16), transparent 38%), linear-gradient(120deg, #1d1f22, #121315 72%);
    border-top-color: rgba(227, 173, 130, 0.24);
    border-bottom-color: rgba(227, 173, 130, 0.12);
}

body.jnews-dark-mode .machinasphere-footer-subscribe__form-wrap {
    color-scheme: dark;
    background: #25272a;
    border-color: rgba(227, 173, 130, 0.28);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

body.jnews-dark-mode .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 input[type="email"] {
    background: #16181b !important;
    border-color: #55514e !important;
    color: #f7f4f0 !important;
}

body.jnews-dark-mode .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 input[type="email"]::placeholder {
    color: #ada9a5 !important;
    opacity: 1;
}

body.jnews-dark-mode .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 input[type="email"]:focus {
    border-color: #d49a6e !important;
    outline-color: rgba(212, 154, 110, 0.28) !important;
}

body.jnews-dark-mode .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 .klaviyo-form-button {
    background: #c58b5e !important;
    color: #17191c !important;
}

body.jnews-dark-mode .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 .klaviyo-form-button:hover,
body.jnews-dark-mode .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 .klaviyo-form-button:focus-visible {
    background: #dea678 !important;
}

@media (max-width: 900px) {
    .machinasphere-footer-subscribe__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 520px;
    }

    .machinasphere-footer-subscribe__intro {
        text-align: center;
    }

    .machinasphere-footer-subscribe p {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .machinasphere-footer-subscribe {
        padding: 2.5rem 1.25rem;
    }

    .machinasphere-footer-subscribe h2 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .machinasphere-footer-subscribe p {
        font-size: 0.9375rem;
    }

    .machinasphere-footer-subscribe__form-wrap {
        padding: 1rem;
    }

    .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 [data-testid="form-row"] {
        flex-direction: column !important;
    }

    .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 [data-testid="form-component"],
    .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 input[type="email"],
    .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 .klaviyo-form-button {
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .machinasphere-footer-subscribe .klaviyo-form-Rr2Xc5 [data-testid="form-component"] {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .machinasphere-footer-subscribe {
        clip-path: none !important;
    }

    .machinasphere-footer-subscribe__motion,
    .machinasphere-footer-subscribe__inner {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .machinasphere-footer-subscribe__form-wrap {
        animation: none !important;
    }
}
