/* ==========================================================================
   css/site-footer.css — Premium footer & pre-footer CTA
   ========================================================================== */

/* ── Pre-footer CTA Band ── */
.prefooter-cta {
    background: linear-gradient(135deg, #0052d9 0%, #0066FF 50%, #0074ff 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.prefooter-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.prefooter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.prefooter-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}
.prefooter-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}
.prefooter-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}
.prefooter-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: #25D366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}
.prefooter-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}
.prefooter-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: rgba(255,255,255,0.12);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.prefooter-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

/* ── Main Footer Shell ── */
.site-footer {
    background: #080f22;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #0066FF 30%, #25D366 60%, transparent 100%);
}

/* Main grid: wide brand col + 3 nav cols */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 0 2.5rem;
    align-items: start;
}

/* Brand column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-brand-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.footer-brand-head img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
}
.footer-brand-head span {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -0.01em;
}

/* Title + slogan stacked group */
.footer-brand-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

/* Slogan under site name */
.footer-brand-slogan {
    font-style: italic;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #0066FF 0%, #4F46E5 50%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}
.footer-brand-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.75;
    margin: 0;
    max-width: 290px;
}

/* Contact links */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-contact-item:hover { color: #60a5fa; }
.footer-contact-item svg { flex-shrink: 0; opacity: 0.7; }

/* Stats row */
.footer-stats {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.footer-stat strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0066FF;
    line-height: 1;
}
.footer-stat span {
    font-size: 0.72rem;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Nav columns */
.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.footer-nav-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #e2e8f0;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-nav-col a {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: none;
    padding: 0.35rem 0;
    line-height: 1.55;
    transition: all 0.2s ease;
}
.footer-nav-col a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Bottom bar — 3-column: copyright | slogan | right */
.footer-bottom-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0.5rem;
}
.footer-bottom-bar p:not(.footer-copyright):not(.footer-slogan-bar) {
    grid-column: 1;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    margin: 0;
}

/* Copyright — same small size, bold */
.footer-copyright {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: 0.01em;
    justify-self: start;
}

/* Slogan — full blue→purple→pink gradient, centred */
.footer-slogan-bar {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0;
    font-style: italic;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    color: #ffffff;
}
.footer-slogan-bar span {
    color: inherit;
    font-weight: inherit;
}
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-self: end;
    grid-column: 3;
}
.footer-bottom-right span {
    font-size: 0.88rem;
    color: #ffffff;
}
.footer-wa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 50px;
    color: #25D366 !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-wa-badge:hover {
    background: rgba(37, 211, 102, 0.18);
    border-color: rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
    .footer-main-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 2rem; }
    .prefooter-inner { flex-direction: column; text-align: center; }
    .prefooter-actions { justify-content: center; }
    .footer-bottom-bar { grid-template-columns: 1fr; text-align: center; }
    .footer-copyright { justify-self: center; order: 1; }
    .footer-slogan-bar { order: 2; white-space: normal; }
    .footer-bottom-right { justify-self: center; order: 3; flex-direction: column; gap: 0.75rem; grid-column: auto; }
    .footer-stats { justify-content: space-between; }
}
