/* ================================================================
   SITE FOOTER — Ultra-modern redesign
   ================================================================ */

.wn-site-footer {
    margin-top: 0;
    border-top: 1px solid var(--wn-border-light, #f2f2f7);
    background:
        radial-gradient(circle at top left, rgba(209, 168, 111, 0.12), transparent 24%),
        linear-gradient(180deg, #f7f3ec 0%, #f3efe8 100%);
    color: #3a3a3c;
    font-family: var(--wn-font, 'Inter', system-ui, sans-serif);
}

.wn-footer-top {
    background: transparent;
}

/* ── Discovery section ───────────────────────────────────── */
.wn-footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 44px 32px 28px;
}

.wn-footer-discovery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
    gap: 18px;
}

.wn-footer-discovery-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 252, 247, 0.78);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(44, 34, 23, 0.08);
}

.wn-footer-discovery-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    right: -80px;
    top: -80px;
    background: radial-gradient(circle, rgba(209, 168, 111, 0.18), rgba(209, 168, 111, 0));
    pointer-events: none;
}

.wn-footer-card-head {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.wn-footer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(45, 106, 79, 0.1);
    color: #1f513b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wn-footer-card-head h4 {
    margin: 0;
    font-family: 'Space Grotesk', var(--wn-font, 'Inter', system-ui, sans-serif);
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: #1c1917;
}

.wn-footer-card-head p {
    margin: 12px 0 0;
    max-width: 56ch;
    color: #6b665f;
    font-size: 0.94rem;
    line-height: 1.75;
}

.wn-footer-tool-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wn-footer-tool-link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 14px 16px;
    text-decoration: none;
    border-radius: 18px;
    border: 1px solid rgba(28, 25, 23, 0.08);
    background: rgba(255, 255, 255, 0.72);
    color: #3a3a3c;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.015em;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.wn-footer-tool-link:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 106, 79, 0.22);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 24px rgba(44, 34, 23, 0.08);
}

.wn-footer-category-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.wn-footer-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid rgba(28, 25, 23, 0.08);
    background: rgba(255, 255, 255, 0.72);
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.wn-footer-category-link:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 106, 79, 0.22);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 24px rgba(44, 34, 23, 0.08);
}

.wn-footer-category-name {
    color: #1c1917;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.wn-footer-category-arrow {
    color: #1f513b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Middle disclaimer band ───────────────────────────────── */
.wn-footer-middle {
    border-top: 1px solid var(--wn-border-light, #f2f2f7);
    background: rgba(255, 255, 255, 0.3);
}

.wn-footer-middle-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 32px;
}

.wn-footer-middle-wrap p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.75;
    color: #aeaeb2;
    font-family: var(--wn-font, 'Inter', system-ui, sans-serif);
}

/* ── Bottom legal bar ─────────────────────────────────────── */
.wn-footer-bottom {
    background: rgba(255, 255, 255, 0.24);
    border-top: 1px solid var(--wn-border-light, #f2f2f7);
}

.wn-footer-bottom-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 32px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
}

.wn-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
}

.wn-footer-legal a {
    text-decoration: none;
    color: #86868b;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--wn-font, 'Inter', system-ui, sans-serif);
    transition: color .14s ease;
    letter-spacing: -.015em;
}

.wn-footer-legal a:hover {
    color: #1c1c1e;
}

.wn-copyright {
    margin: 0;
    color: #b0b0b8;
    font-size: 0.70rem;
    line-height: 1.5;
    letter-spacing: -.01em;
    font-family: var(--wn-font, 'Inter', system-ui, sans-serif);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 899px) {
    .wn-footer-wrap,
    .wn-footer-middle-wrap,
    .wn-footer-bottom-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wn-footer-wrap {
        padding-top: 28px;
        padding-bottom: 20px;
    }

    .wn-footer-discovery-grid,
    .wn-footer-tool-grid {
        grid-template-columns: 1fr;
    }

    .wn-footer-discovery-card {
        padding: 22px;
        border-radius: 22px;
    }

    .wn-footer-bottom-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media print {
    .wn-site-footer,
    .wn-site-footer * {
        display: none !important;
    }
}
