/* ── Site footer ── */
.site-footer {
    margin-top: auto;
    background: #0f172a;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
}

.footer-cta {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(124, 58, 237, 0.14) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
    flex-wrap: wrap;
}

.footer-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #93c5fd;
    margin-bottom: 0.5rem;
}

.footer-cta-copy h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.footer-cta-copy p {
    font-size: 0.9375rem;
    color: #94a3b8;
    max-width: 520px;
    line-height: 1.65;
    margin: 0;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.375rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s, opacity 0.15s, background 0.15s, border-color 0.15s;
}

.footer-btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.footer-btn-primary:hover {
    opacity: 0.94;
    transform: translateY(-1px);
}

.footer-btn-ghost {
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

.footer-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.footer-body {
    padding: 3rem 0 2.5rem;
}

.footer-body-grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: 3rem 2.5rem;
    align-items: start;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: #fff;
    width: fit-content;
}

.footer-logo img {
    width: 36px;
    height: 36px;
}

.footer-logo span {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #93c5fd, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}

.footer-stat-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.8125rem;
    color: #94a3b8;
    width: fit-content;
}

.footer-stat-pill strong {
    font-size: 1.125rem;
    font-weight: 800;
    color: #fff;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-trust-item {
    padding: 0.3125rem 0.6875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #cbd5e1;
}

.footer-about {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}

.footer-nav-col {
    min-width: 0;
}

.footer-nav-heading {
    margin: 0 0 0.875rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-title {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: color 0.15s;
}

.footer-nav-title:hover {
    color: #fff;
}

.footer-nav-title .tooltia-icon {
    color: #93c5fd;
    flex-shrink: 0;
}

.footer-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4375rem;
}

.footer-nav-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
    transition: color 0.15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-nav-links a:hover {
    color: #fff;
}

.footer-view-all a {
    color: #93c5fd !important;
    font-weight: 600;
    margin-top: 0.25rem;
}

.footer-view-all a:hover {
    color: #bfdbfe !important;
}

.footer-links-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.footer-links-bar-inner {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.footer-links-bar-col {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.footer-links-bar-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    flex-shrink: 0;
}

.footer-inline-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.footer-inline-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.15s;
}

.footer-inline-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

.footer-bottom-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.footer-bottom-nav a {
    font-size: 0.8125rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-bottom-nav a:hover {
    color: #cbd5e1;
}

@media (max-width: 1100px) {
    .footer-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .footer-body-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .footer-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1rem;
    }

    .footer-body {
        padding: 2rem 0 1.75rem;
    }

    .footer-links-bar-col {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 400px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }
}

[dir="rtl"] .footer-body-grid,
[dir="rtl"] .footer-cta-inner,
[dir="rtl"] .footer-bottom-inner,
[dir="rtl"] .footer-links-bar-col {
    direction: rtl;
}

[dir="rtl"] .footer-brand-block {
    align-items: flex-start;
}
