/* =========================================================
   Web4Less Pro — shared footer (includes/footer.php)
   Loaded on every page after web4lesspro-style.css.
   All selectors are .w4l-* so nothing else on the site changes.
   ========================================================= */

.site-footer.w4l-footer {
    --f-teal: var(--teal, #68f2d5);
    --f-cyan: var(--cyan, #69bfff);
    --f-purple: var(--purple, #bc7aff);
    --f-text: #e6edf7;
    --f-muted: rgba(203, 213, 225, 0.72);
    --f-line: rgba(148, 163, 184, 0.16);

    position: relative;
    z-index: 5;
    overflow: hidden;
    margin: 0;
    padding: 72px 0 0;
    background: linear-gradient(180deg, rgba(6, 10, 24, 0) 0%, rgba(6, 10, 24, 0.85) 18%, #060a18 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--f-text);
    font-size: 15px;
}
.w4l-footer::before {           /* gradient hairline across the top */
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--f-teal) 25%, var(--f-cyan) 50%, var(--f-purple) 75%, transparent);
    opacity: .55;
}
.w4l-footer-glow {
    position: absolute;
    width: 720px; height: 720px;
    left: 50%; top: -420px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(104, 242, 213, .10) 0%, rgba(105, 191, 255, .06) 40%, transparent 70%);
    pointer-events: none;
}
.w4l-footer-shell {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.w4l-footer a { text-decoration: none; }

/* ---------- CTA strip ---------- */
.w4l-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 34px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(104, 242, 213, .10), rgba(105, 191, 255, .08) 50%, rgba(188, 122, 255, .10));
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.w4l-footer-kicker {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--f-teal);
    margin-bottom: 6px;
}
.w4l-footer-cta h3 {
    margin: 0 0 6px;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}
.w4l-footer-cta p { margin: 0; color: var(--f-muted); font-size: .95rem; }
.w4l-footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

.w4l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.w4l-btn--primary {
    color: #06121f !important;
    background: linear-gradient(135deg, var(--f-teal), var(--f-cyan));
    box-shadow: 0 10px 28px -10px rgba(104, 242, 213, .6);
}
.w4l-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(104, 242, 213, .75); }
.w4l-btn--ghost {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .04);
}
.w4l-btn--ghost:hover { background: rgba(255, 255, 255, .10); transform: translateY(-2px); }

/* ---------- Main grid ---------- */
.w4l-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.4fr);
    gap: 56px;
    padding: 56px 0 44px;
}
.w4l-footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.w4l-footer-logo img { width: 44px; height: 44px; object-fit: contain; }
.w4l-footer-logo .logo-text { font-size: 1.45rem; }
.w4l-footer-tagline { margin: 0 0 22px; color: var(--f-muted); line-height: 1.7; max-width: 360px; }

.w4l-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.w4l-footer-contact li { display: flex; align-items: center; gap: 12px; color: var(--f-muted); font-size: .93rem; }
.w4l-footer-contact a { color: var(--f-text); font-weight: 600; }
.w4l-footer-contact a:hover { color: var(--f-teal); }
.w4l-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 10px;
    color: var(--f-teal);
    background: rgba(104, 242, 213, .08);
    border: 1px solid rgba(104, 242, 213, .22);
}
.w4l-ico svg { width: 16px; height: 16px; display: block; }

.w4l-footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}
.w4l-footer-col h5 {
    position: relative;
    margin: 4px 0 18px;
    padding-bottom: 12px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
}
.w4l-footer-col h5::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 26px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--f-teal), var(--f-cyan));
}
.w4l-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.w4l-footer-col a {
    display: inline-block;
    color: var(--f-muted);
    font-size: .93rem;
    line-height: 1.4;
    transition: color .2s ease, transform .2s ease;
}
.w4l-footer-col a:hover { color: var(--f-teal); transform: translateX(3px); }

/* ---------- Bottom bar ---------- */
.w4l-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 26px;
    border-top: 1px solid var(--f-line);
    font-size: .85rem;
    color: var(--f-muted);
}
.w4l-footer-bottom p { margin: 0; }
.w4l-footer-bottom-right { display: flex; align-items: center; gap: 16px; }
.w4l-footer-bottom-right a { color: var(--f-teal); font-weight: 600; }
.w4l-totop {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    color: #fff !important;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    transition: background .2s ease, transform .2s ease;
}
.w4l-totop:hover { background: rgba(104, 242, 213, .18); transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .w4l-footer-main { grid-template-columns: 1fr; gap: 40px; }
    .w4l-footer-tagline { max-width: 560px; }
}
@media (max-width: 760px) {
    .site-footer.w4l-footer { padding-top: 48px; }
    .w4l-footer-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .w4l-footer-cta-actions { width: 100%; }
    .w4l-btn { flex: 1 1 220px; }
    .w4l-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
    .w4l-footer-bottom { flex-direction: column; align-items: flex-start; }
    .w4l-footer-bottom-right { width: 100%; justify-content: space-between; }
}
@media (max-width: 380px) {
    .w4l-footer-shell { padding: 0 16px; }
    .w4l-footer-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .w4l-btn, .w4l-footer-col a, .w4l-totop { transition: none; }
}
