/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.75);
    padding-top: var(--sp-12);
}

/* ── Grid footer ────────────────────────────────────────── */

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--sp-8);
    align-items: start;
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--container-px);
}

/* Toate coloanele pornesc de la același nivel */
.footer__brand,
.footer__col {
    margin-top: 0;
    padding-top: 0;
}

/* ── Coloana brand ──────────────────────────────────────── */

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.footer__logo,
.footer__logo a,
.footer__logo .custom-logo-link {
    display: block;
    line-height: 0;
}

.footer__logo img,
.footer__logo .custom-logo {
    display: block;
    height: auto;
    width: 180px;
    filter: brightness(0) invert(1);
}


.footer__tagline {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: var(--leading-loose);
    max-width: 240px;
}

.footer__social {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-2);
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: background-color var(--trans-fast), color var(--trans-fast);
}

.footer__social-link:hover {
    background-color: var(--color-pink);
    color: var(--color-white);
}

.footer__social-link svg {
    width: 16px;
    height: 16px;
}

/* ── Coloane meniu ──────────────────────────────────────── */

.footer__col-title {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-4);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    list-style: none;
}

.footer__nav a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--trans-fast);
}

.footer__nav a:hover {
    color: var(--color-white);
}

/* ── Contact info ───────────────────────────────────────── */

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    list-style: none;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-pink);
}

.footer__contact-item a {
    color: inherit;
    transition: color var(--trans-fast);
}

.footer__contact-item a:hover {
    color: var(--color-white);
}

/* ── Bottom bar ─────────────────────────────────────────── */

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-block: var(--sp-6);
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--container-px);
}

.footer__copy {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
    display: flex;
    gap: var(--sp-6);
    list-style: none;
}

.footer__legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--trans-fast);
}

.footer__legal a:hover {
    color: var(--color-white);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-10);
    }
}

@media (max-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--sp-4);
    }
}
