/* ================================================================
   footer.css — Footer și bara de jos
   ================================================================ */

.site-footer {
    background: var(--c-ink);
    margin-top: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-block: 3.5rem 2.5rem;
}

/* Coloana brand */
.footer-brand__logo img {
    height: 36px;
    filter: brightness(0) invert(1);
}
.footer-brand__desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.7;
    max-width: 200px;
    margin-block: 0.85rem 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}
.footer-social__link {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    transition: background var(--t-fast), color var(--t-fast);
}
.footer-social__link:hover {
    background: var(--c-orange);
    color: #fff;
}

/* Coloane linkuri */
.footer-col h4 {
    font-family: var(--f-sans);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.1rem;
}
.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.55rem;
    transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--c-orange); }

/* Bara de jos */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-block: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-bottom span,
.footer-bottom a {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.22);
}
.footer-bottom a:hover { color: var(--c-orange); }
.footer-bottom__links { display: flex; gap: 1.5rem; }

/* Responsive */
@media (max-width: 800px) {
    .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

.donate-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.donate-popup[hidden] { display: none; }

.donate-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(3px);
}

.donate-popup__box {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    animation: popup-in .25s ease;
}

@keyframes popup-in {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

.donate-popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-muted, #aaa);
    padding: 4px;
    transition: color .2s;
}
.donate-popup__close:hover { color: var(--clr-text); }

.donate-popup__header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.donate-popup__icon {
    width: 56px;
    height: 56px;
    background: var(--clr-primary-light, #fff3e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .75rem;
    color: var(--clr-primary);
}
.donate-popup__header h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.donate-popup__header p  { color: var(--clr-muted); font-size: .9rem; }

.donate-popup__bank {
    background: var(--clr-surface, #f9f5f0);
    border: 1px solid var(--clr-border, #e8ddd0);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
}
.donate-popup__bank-header {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--clr-muted, #888);
    margin-bottom: .75rem;
}
.donate-popup__rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem .5rem;
}
.donate-popup__row {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.donate-popup__row--full { grid-column: 1 / -1; }
.donate-popup__key {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--clr-muted, #aaa);
}
.donate-popup__val { font-weight: 500; font-size: .875rem; }
.donate-popup__iban {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: monospace;
    font-size: .85rem;
    word-break: break-all;
}
.donate-popup__copy {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-muted, #aaa);
    flex-shrink: 0;
    padding: 2px;
    transition: color .2s;
}
.donate-popup__copy:hover { color: var(--clr-primary); }

@media (max-width: 768px) {
    .custom-logo {
        height: 40px;
        width: auto;
    }
}

.footer-credit {
    color: var(--c-faint);
    font-size: 0.82rem;
}

.footer-credit a {
    color: #CDB7FF;
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover {
    color: #ffffff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--c-faint);
    font-size: 0.92rem;
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact__item:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-contact__icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #CDB7FF;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact__cif {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--c-faint);
    font-size: 0.92rem;
    line-height: 1.4;
    margin-top: 0.25rem;
}