/* footer.css */

.footer {
  background: #050505;
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-md);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ── Brand ── */
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer__brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Social ── */
.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color var(--transition-base), box-shadow var(--transition-base),
              transform var(--transition-fast);
}

.footer__social a:hover {
  border-color: var(--color-purple-mid);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text-muted);
  transition: fill var(--transition-fast);
}

.footer__social a:hover svg { fill: var(--color-purple-light); }

/* ── Tagline ── */
.footer__tagline {
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

/* ── Copyright ── */
.footer__copy {
  width: 100%;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(232, 69, 0, 0.1);
  padding-top: 1rem;
}

/* Línea legal (NIT / registro): mismo estilo que el copyright pero más
   pequeña y recesada, justo debajo, sin competir con el resto del footer. */
.footer__legal {
  width: 100%;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
  opacity: 0.8;
}

/* ── Email ── */
.footer__email {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  margin-top: 0.25rem;
}

.footer__email a {
  color: var(--color-purple-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__email a:hover { color: #fff; text-decoration: underline; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__copy { margin-top: 0; }
}
