﻿/* =========================
   Wreet Footer (Self-contained)
   Works on ANY page
========================= */

:root {
    --wf-bg: #0b1220;
    --wf-bg2: #0f172a;
    --wf-text: rgba(148,163,184,.95);
    --wf-white: rgba(255,255,255,.92);
    --wf-border: rgba(255,255,255,.10);
    --wf-chip: rgba(255,255,255,.08);
    --wf-chip2: rgba(255,255,255,.12);
    --wf-shadow: 0 18px 44px rgba(0,0,0,.35);
    /* if your pages already have container width vars, no issue */
    --wf-container: 1200px;
}

.wreet-footer {
    background: radial-gradient(800px 380px at 18% 10%, rgba(96,165,250,.18), transparent 60%), radial-gradient(800px 420px at 80% 25%, rgba(37,99,235,.22), transparent 62%), linear-gradient(135deg, var(--wf-bg) 0%, var(--wf-bg2) 70%);
    color: var(--wf-text);
    padding: 58px 0 28px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.wreet-footer__container {
    width: min(var(--wf-container), 92%);
    margin-inline: auto;
}

.wreet-footer__top {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 44px;
    align-items: start;
}

/* About */
.wreet-footer__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.wreet-footer__logo {
    height: 62px;
    width: auto;
    display: block;
    object-fit: contain;
}

.wreet-footer__text {
    margin: 14px 0 18px;
    font-size: .95rem;
    line-height: 1.65;
    max-width: 520px;
    color: var(--wf-text);
}

/* Social */
.wreet-footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.wreet-footer__socialLink {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--wf-white);
    background: var(--wf-chip);
    border: 1px solid var(--wf-border);
    transition: transform .14s ease, background .14s ease, border-color .14s ease;
}

    .wreet-footer__socialLink:hover {
        transform: translateY(-2px);
        background: var(--wf-chip2);
        border-color: rgba(255,255,255,.16);
    }

/* Columns */
.wreet-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.wreet-footer__h {
    margin: 0 0 14px;
    font-size: 1.05rem;
    color: rgba(255,255,255,.96);
    letter-spacing: .01em;
    font-weight: 900;
}

.wreet-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.wreet-footer__link {
    color: var(--wf-text);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color .14s ease, transform .14s ease;
}

    .wreet-footer__link:hover {
        color: #fff;
        transform: translateX(2px);
    }

.wreet-footer__link--cta {
    color: rgba(255,255,255,.96);
    background: rgba(37,99,235,.22);
    border: 1px solid rgba(37,99,235,.35);
    padding: 10px 12px;
    border-radius: 14px;
    width: fit-content;
}

    .wreet-footer__link--cta:hover {
        transform: translateX(0) translateY(-1px);
        background: rgba(37,99,235,.28);
    }

/* Bottom row */
.wreet-footer__bottom {
    margin-top: 44px;
    padding-top: 18px;
    border-top: 1px solid var(--wf-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.wreet-footer__copyright {
    margin: 0;
    color: rgba(148,163,184,.92);
    font-weight: 700;
}

.wreet-footer__toTop {
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wf-chip);
    border: 1px solid var(--wf-border);
    padding: 10px 12px;
    border-radius: 999px;
    transition: transform .14s ease, background .14s ease, border-color .14s ease;
}

    .wreet-footer__toTop:hover {
        transform: translateY(-2px);
        background: var(--wf-chip2);
        border-color: rgba(255,255,255,.16);
    }

/* Responsive */
@media (max-width: 980px) {
    .wreet-footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .wreet-footer__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .wreet-footer__cols {
        grid-template-columns: 1fr;
    }

    .wreet-footer__logo {
        height: 56px;
    }
}
