/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background-color: #1e1c1a; }

.footer-top { padding: 48px 0 28px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
}

/* ── Brand col ── */
.footer-logo {
    height: 40px;
    width: auto;
    opacity: 0.95;
    margin-bottom: 12px;
    display: block;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
}
.footer-tagline {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
    margin: 0 0 16px;
    max-width: 300px;
}

/* Social icons */
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.6);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ── Heading ── */
.footer-heading {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── Quick links ── */
.footer-links {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.25s ease, gap 0.25s ease;
}
.footer-links a i { font-size: 16px; color: var(--primary-color); transition: transform 0.25s ease; }
.footer-links a:hover { color: #fff; gap: 8px; }
.footer-links a:hover i { transform: translateX(2px); }

/* ── Contact list ── */
.footer-contact {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: color 0.25s ease;
}
.footer-contact a:hover { color: #fff; }
.fc-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: rgba(var(--primary-color-rgb), 0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fc-icon i { font-size: 13px; color: var(--primary-color); }

/* ── Bottom bar ── */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 16px 0;
    text-align: center;
}
.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    text-align: left;
}
.footer-bottom p {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.3px;
}
.footer-credit {
    margin-left: auto;
}
.dev-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 1px 7px;
    border-radius: 3px;
    transition: color 0.25s ease;
}
.dev-link:hover { color: var(--secondary-color); }
.footer-credit a {
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}
.footer-credit a:hover { color: var(--primary-color); }

@media (max-width: 520px) {
    .footer-bottom-row { flex-direction: column; text-align: center; }
    .footer-credit { margin-left: 0; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 36px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-tagline { max-width: 100%; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { padding: 36px 0 24px; }
}