/**
 * rnt-footer.css — Footer premium upgrade
 * RNT Design System · AppCors S.A.S. × Red Nacional de Transportes
 */

/* ═══════════════════════════════════════════════════════
   FOOTER PREMIUM
   ═══════════════════════════════════════════════════════ */

.footer {
  position: relative;
}

/* Línea superior gold accent */
.footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold, #C9A227), var(--gold-light, #E2C87A), var(--gold, #C9A227), transparent);
}

/* Social icons — círculo con borde gold */
.footer .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(200,169,81,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  font-size: 15px;
  background: rgba(255,255,255,0.04);
}

.footer .social-links a:hover {
  background: var(--gold, #C9A227);
  border-color: var(--gold, #C9A227);
  color: var(--navy-deep, #0B1D3A) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(200,169,81,0.30);
}

/* Footer brand name — gradiente gold */
.footer .footer-brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  background: linear-gradient(135deg, var(--gold, #C9A227), var(--gold-light, #E2C87A));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

/* Footer headings — underline gold */
.footer h4 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 16px !important;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--gold, #C9A227);
  border-radius: 2px;
}

/* Footer links hover gold */
.footer .footer-links a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer .footer-links a:hover {
  color: var(--gold, #C9A227) !important;
  padding-left: 6px;
}

/* Footer stats mini strip */
.footer-stats-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-stat .fs-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold, #C9A227);
  line-height: 1;
}

.footer-stat .fs-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Copyright bar */
.footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  padding: 16px 0 !important;
}

/* ── AppCors — crédito hegemónico profesional ── */
.appcors-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(200,169,81,0.15);
}

.appcors-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.appcors-link {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.appcors-link:hover {
  filter: brightness(1.25);
  transform: translateY(-1px);
}

.appcors-brand {
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--gold, #C8A951) 0%, var(--gold-light, #E2C87A) 50%, var(--gold, #C8A951) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.appcors-suffix {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(200,169,81,0.6);
}

/* Mobile: padding-bottom para que el copyright no quede detrás de ATLAS + WhatsApp */
@media (max-width: 575.98px) {
  .footer .copyright {
    padding-bottom: calc(var(--atlas-h, 180px) + 2rem) !important;
  }
}
