/* =========================
   NEW FOOTER - DARK PUNTERS STYLE
========================= */

.pp-new-footer {
    position: relative;
    margin-top: 48px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 18% 0%, rgba(245, 166, 35, .10), transparent 30%),
        radial-gradient(circle at 82% 10%, rgba(79, 140, 255, .08), transparent 32%),
        linear-gradient(180deg, #0d1118 0%, #000000 55%, #000000 100%);
    color: #e8edf7;
}

.pp-new-footer-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .22;
}

.pp-new-footer-inner {
    position: relative;
    z-index: 2;
    width: min(1400px, calc(100% - 24px));
    margin: 0 auto;
    padding: 42px 0 34px;
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(160px, .8fr));
    gap: 34px;
}

.pp-new-footer-brand {
    min-width: 0;
    max-width: 440px;
}

.pp-new-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.pp-new-footer-logo img {
    display: block;
    max-width: 210px;
    max-height: 56px;
    object-fit: contain;
}

.pp-new-footer-brand p {
    margin: 0 0 16px;
    color: #aab8cf;
    font-size: 14px;
    line-height: 1.75;
}

.pp-new-footer-brand strong {
    color: #ffffff;
}

.pp-new-footer-mail {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(245, 166, 35, .30);
    background: rgba(245, 166, 35, .08);
    color: #f8d77a;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: .2s ease;
}

.pp-new-footer-mail:hover {
    border-color: rgba(245, 166, 35, .55);
    background: rgba(245, 166, 35, .13);
    color: #ffffff;
}

.pp-new-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.pp-new-footer-socials a {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .045);
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
    text-decoration: none;
    transition: .2s ease;
}

.pp-new-footer-socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 166, 35, .42);
    background: rgba(245, 166, 35, .12);
    color: #facc15;
}

.pp-new-footer-col {
    min-width: 0;
}

.pp-new-footer-col h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.pp-new-footer-col h3::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5a623, #facc15);
}

.pp-new-footer-col a {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 0 11px;
    padding-left: 14px;
    color: #b6c4da;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.35;
    transition: .18s ease;
}

.pp-new-footer-col a::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: #facc15;
    font-weight: 950;
}

.pp-new-footer-col a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.pp-new-footer-bottom {
    position: relative;
    z-index: 2;
    width: min(1400px, calc(100% - 24px));
    margin: 0 auto;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #8898b3;
    font-size: 13px;
}

.pp-new-footer-bottom span:last-child {
    color: #6f7f99;
    text-align: right;
}

/* =========================
   SP LAYOUT - FOOTER AFTER SIDEBAR
========================= */

.sp-app {
    align-items: stretch !important;
}

.sp-sidebar-wrap {
    align-self: stretch !important;
}

.sp-sidebar {
    position: relative !important;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow: visible !important;
}

.sp-main {
    min-width: 0 !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.sp-page {
    flex: 0 0 auto !important;
    padding-bottom: 56px;
}

/* Desktop: footer starts at its normal place, then sticks while scrolling */
@media (min-width: 901px) {
    .sp-main > .pp-new-footer {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 30;
        margin-top: auto !important;
        max-height: none !important;
        overflow: hidden !important;
        box-shadow: 0 -18px 45px rgba(0, 0, 0, .45);
    }
}

/* =========================
   FOOTER RESPONSIVE
========================= */

@media (max-width: 1050px) {
    .pp-new-footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .pp-new-footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 900px) {
    .sp-main > .pp-new-footer {
        position: relative !important;
        bottom: auto !important;
        z-index: 1;
        margin-top: 36px !important;
        box-shadow: none !important;
    }

    .sp-page {
        padding-bottom: 0;
    }
}

@media (max-width: 650px) {
    .pp-new-footer {
        margin-top: 34px;
    }

    .pp-new-footer-inner {
        width: min(100% - 24px, 1400px);
        padding: 32px 0 26px;
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .pp-new-footer-logo img {
        max-width: 180px;
    }

    .pp-new-footer-brand p {
        font-size: 13px;
        line-height: 1.65;
    }

    .pp-new-footer-bottom {
        width: min(100% - 24px, 1400px);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
        font-size: 12px;
    }

    .pp-new-footer-bottom span:last-child {
        text-align: left;
    }

    .pp-new-footer-col a {
        font-size: 13px;
    }
}

/* =========================
   CLEAN OLD FIXED FOOTER EFFECTS
========================= */

body {
    padding-bottom: 0 !important;
}

.pp-new-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pp-new-footer-socials .elementor-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.13);
    color: #ffffff;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.pp-new-footer-socials .elementor-icon svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: currentColor;
}

.pp-new-footer-socials .elementor-icon:hover {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(245,166,35,.55);
}

/* Brand backgrounds like Elementor */
.pp-new-footer-socials .elementor-social-icon-x-twitter {
    background: #000000;
}

.pp-new-footer-socials .elementor-social-icon-telegram {
    background: #08c;
}

.pp-new-footer-socials .elementor-social-icon-tiktok {
    background: #000000;
}

.pp-new-footer-socials .elementor-social-icon-facebook-f {
    background: #3b5998;
}

.pp-new-footer-socials .elementor-social-icon-instagram {
    background: #262626;
}

.pp-new-footer-socials .elementor-social-icon-youtube {
    background: #cd201f;
}

.pp-new-footer-socials .elementor-social-icon-threads {
    background: #000000;
}

.pp-new-footer-socials .elementor-social-icon-rumble {
    background: #1b1b1b;
}

.pp-new-footer-socials .elementor-social-icon-pinterest {
    background: #bd081c;
}

.pp-new-footer-socials .elementor-social-icon-rumble svg {
    width: 22px;
    height: 22px;
}

/* Push animation like Elementor */
.pp-new-footer-socials .elementor-animation-push:hover {
    animation: footerSocialPush .28s linear 1;
}

@keyframes footerSocialPush {
    50% {
        transform: scale(.92);
    }

    100% {
        transform: translateY(-2px) scale(1.04);
    }
}