/* --- VARIABILE (păstrate doar ce folosești în footer) --- */
:root {
    --hm-blue: #1a1a1a;
    --hm-accent: #f5f5f5;
    --hm-text: #222;
    --hm-hover: #f9f9f9;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #666666;
}

.footer-left {
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.footer-right-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-right,
.footer-right a {
    color: #666666;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: #000;
}

.scroll-top {
    color: #666;
    width: 30px;
    height: 30px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-3px);
}

/* --- RESPONSIVE MOBIL (doar pentru footer) --- */
@media screen and (max-width: 768px) {
    .site-footer {
        padding: 12px 10px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-left {
        font-size: 10px;
        white-space: nowrap;
    }

    .footer-right-group {
        gap: 8px;
    }

    .footer-right,
    .footer-right a {
        font-size: 10px;
        white-space: nowrap;
    }

    .scroll-top {
        width: 28px;
        height: 28px;
        font-size: 12px;
        display: none !important;          /* <--- ASCUNDE SAGEATA PE MOBIL */
    }
}

/* === ADAUGARE MINIMA PENTRU A LIPSA FOOTER-UL JOS PE PAGINI CU PUȚIN CONȚINUT === */
html, body {
    min-height: 100vh;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.site-footer {
    margin-top: auto;                      /* <--- împinge footer-ul jos */
}