/* Footer – compact, fundal mai închis decât restul paginii */
.footer {
  position: relative;
  background: #070d18;
  padding: 1.85rem 0 1.35rem;
  border-top: none;
}

/* Linie fină de separare (tranziție discretă spre footer) */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 146, 79, 0.08) 18%,
    rgba(184, 146, 79, 0.36) 50%,
    rgba(184, 146, 79, 0.08) 82%,
    transparent 100%
  );
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand-block {
  flex: 1 1 280px;
  max-width: 520px;
}

.footer__legal-name {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.footer__meta {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.footer__link-inline {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

.footer__link-inline:hover {
  color: #e5e7eb;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  align-items: center;
}

.footer__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

.footer__link:hover {
  color: #e5e7eb;
}

.footer__copy {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0 1.25rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .footer__copy {
    text-align: left;
  }
}
