/* =========================
   FOOTER - SCOPED ONLY
========================= */
.site-footer{
    margin-top:90px;
    background:linear-gradient(180deg,#0f172a 0%, #111827 100%);
    color:#e5e7eb;
    overflow:hidden;
    position:relative;
    border-top:1px solid rgba(255,255,255,0.06);
}

/* top glow */
.site-footer::before{
    content:"";
    position:absolute;
    top:-120px;
    left:50%;
    transform:translateX(-50%);
    width:700px;
    height:260px;
  
    pointer-events:none;
}

/* =========================
   NEWSLETTER BOX
========================= */
.site-footer .footer-newsletter{
    max-width:1200px;
    margin:0 auto;
    padding:38px 20px 20px;
    position:relative;
    z-index:2;
}

.site-footer .footer-newsletter-box{
    background:linear-gradient(135deg, rgba(37,99,235,0.18), rgba(255,255,255,0.03));
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    padding:34px 30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    box-shadow:0 20px 50px rgba(0,0,0,0.22);
    backdrop-filter:blur(8px);
}

.site-footer .footer-newsletter-content{
    max-width:560px;
}

.site-footer .footer-newsletter-title{
    font-size:32px;
    line-height:1.15;
    font-weight:900;
    margin:0 0 10px;
    color:#ffffff;
    letter-spacing:-0.8px;
}

.site-footer .footer-newsletter-text{
    font-size:15px;
    line-height:1.7;
    color:#cbd5e1;
    margin:0;
}

.site-footer .newsletter-form{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
    min-width:340px;
}

.site-footer .newsletter-input-wrap{
    flex:1;
    min-width:240px;
}

.site-footer .newsletter-input{
    width:100%;
    height:54px;
    padding:0 18px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(15,23,42,0.95);
    color:#ffffff;
    font-size:15px;
    box-sizing:border-box;
}

.site-footer .newsletter-input::placeholder{
    color:#94a3b8;
}

.site-footer .newsletter-input:focus{
    outline:none;
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,0.16);
}

.site-footer .newsletter-btn{
    height:54px;
    padding:0 24px;
    border:0;
    border-radius:16px;
    background:linear-gradient(135deg,#3b82f6,#2563eb);
    color:#ffffff;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space:nowrap;
}

.site-footer .newsletter-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(37,99,235,0.30);
}

/* =========================
   MAIN FOOTER AREA
========================= */
.site-footer .footer-wrap{
    max-width:1200px;
    margin:28px auto 0;
    padding:0 20px 30px;
    position:relative;
    z-index:2;
}

.site-footer .footer-panel{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:5px;
    padding:38px 34px 24px;
    box-shadow:0 22px 50px rgba(0,0,0,0.18);
}

.site-footer .footer-grid{
    display:grid;
    grid-template-columns:1.55fr 1fr 1fr 1fr;
    gap:34px;
}

/* =========================
   BRAND COLUMN
========================= */
.site-footer .footer-brand{
    padding-right:10px;
}

.site-footer .footer-logo{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:30px;
    font-weight:900;
    letter-spacing:-1px;
    color:#ffffff;
    margin-bottom:16px;
}

.site-footer .footer-logo-mark{
    width:42px;
    height:42px;
    border-radius:14px;
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:900;
    color:#ffffff;
    box-shadow:0 10px 20px rgba(37,99,235,0.25);
}

.site-footer .footer-logo span{
    color:#60a5fa;
}

.site-footer .footer-brand-text{
    font-size:14px;
    line-height:1.8;
    color:#cbd5e1;
    margin:0 0 14px;
}

.site-footer .footer-badges{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.site-footer .footer-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.07);
    color:#dbeafe;
    font-size:12px;
    font-weight:700;
}

/* =========================
   LINK COLUMNS
========================= */
.site-footer .footer-col-title{
    font-size:14px;
    font-weight:900;
    letter-spacing:.4px;
    text-transform:uppercase;
    color:#ffffff;
    margin:0 0 18px;
}

.site-footer .footer-links{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.site-footer .footer-link{
    display:inline-flex;
    align-items:center;
    width:fit-content;
    color:#cbd5e1;
    text-decoration:none;
    font-size:14px;
    line-height:1.5;
    transition:color .18s ease, transform .18s ease;
}

.site-footer .footer-link:hover{
    color:#ffffff;
    transform:translateX(4px);
}

/* =========================
   BOTTOM BAR
========================= */
.site-footer .footer-bottom{
    margin-top:28px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,0.08);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.site-footer .footer-copy{
    font-size:13px;
    color:#94a3b8;
}

.site-footer .footer-bottom-links{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}

.site-footer .footer-bottom-link{
    color:#94a3b8;
    text-decoration:none;
    font-size:13px;
    transition:color .18s ease;
}

.site-footer .footer-bottom-link:hover{
    color:#ffffff;
}

/* =========================
   MOBILE
========================= */
@media (max-width:980px){
    .site-footer .footer-newsletter-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .site-footer .newsletter-form{
        width:100%;
        min-width:0;
        justify-content:flex-start;
    }

    .site-footer .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:640px){
    .site-footer{
        margin-top:70px;
    }

    .site-footer .footer-newsletter{
        padding:28px 14px 14px;
    }

    .site-footer .footer-newsletter-box{
        padding:24px 18px;
        border-radius:20px;
    }

    .site-footer .footer-newsletter-title{
        font-size:24px;
    }

    .site-footer .footer-newsletter-text{
        font-size:14px;
    }

    .site-footer .newsletter-form{
        flex-direction:column;
        align-items:stretch;
        width:100%;
    }

    .site-footer .newsletter-input-wrap{
        width:100%;
        min-width:0;
    }

    .site-footer .newsletter-btn{
        width:100%;
    }

    .site-footer .footer-wrap{
        padding:0 14px 24px;
    }

    .site-footer .footer-panel{
        padding:26px 18px 18px;
        border-radius:22px;
    }

    .site-footer .footer-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

    .site-footer .footer-logo{
        font-size:26px;
    }

    .site-footer .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }

    .site-footer .footer-bottom-links{
        gap:12px;
    }
}