/* ==========================================================
   CAR CSR – footer.css
   Footer, insigne ANPC, banner cookie, buton "sus"
   ========================================================== */

.site-footer { background: var(--navy); color: #b6c7e3; padding-top: 4rem; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: .02em; }
.site-footer a { color: #b6c7e3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer li { margin-bottom: .55rem; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-text small { color: #9db5d9; max-width: none; }
.footer-brand p { max-width: 30em; }
.footer-contact strong { color: #fff; }
.footer-contact p { margin-bottom: 1.2rem; }



.badges { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: 1.75rem 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.badges a { 
  display: inline-flex; 
  align-items: center; 
  padding: .55rem 1rem; 
  background: #fff; 
  color: var(--navy); 
  font-weight: 700; 
  font-size: 0.85rem; 
  border-radius: 10px; 
  transition: transform .2s var(--ease), box-shadow .2s; 
}
.badges a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); text-decoration: none; color: var(--blue-dark); }

.copyright { padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #8ea6cc; }

/* Banner cookie */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; max-width: 880px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.4rem; display: none; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie.show { display: flex; animation: slideUp .5s var(--ease); }
.cookie p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1 1 320px; }
.cookie .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie .btn { padding: .65rem 1.2rem; font-size: .92rem; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blue-dark); }
.to-top svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cookie .actions, .cookie .btn { width: 100%; }
}

body .site-footer .container {
  max-width: 75%; /* Sau cât de lat dorești: 1400px, 100% etc. */
  width: 100%;
  margin-inline: auto;
  padding-inline: 2rem;
}