/* ===============================
   FOOTER REITEL CHILE
   =============================== */

#am-rupan {
  background:
    linear-gradient(180deg, #0b0b0b 0%, #000000 100%);
  color: #e6e6e6;
  position: relative;
  overflow: hidden;
}

/* Línea decorativa superior */
#am-rupan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    #E10600,
    transparent
  );
  opacity: 0.7;
}

/* TÍTULOS */
#footer h3,
#footer h5 {
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Logo / nombre */
#footer h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Descripción */
#footer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

/* ===============================
   LINKS
   =============================== */

.footer-link {
  display: inline-block;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  padding: 4px 0;
  position: relative;
  transition: all 0.25s ease;
}

.footer-link::before {
  content: "▸";
  position: absolute;
  left: -14px;
  opacity: 0;
  color: #E10600;
  transition: all 0.25s ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-link:hover::before {
  opacity: 1;
  left: -10px;
}

/* ===============================
   CONTACTO
   =============================== */

#footer i {
  font-size: 0.95rem;
}

#footer .fa-envelope { color: #00ff99; }
#footer .fa-phone { color: #ff6f00; }
#footer .fa-map-marker-alt { color: #8a2be2; }

/* ===============================
   REDES SOCIALES
   =============================== */

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.15);
}

.footer-social:hover {
  background: #E10600;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(225,6,0,0.45);
}

/* ===============================
   CRÉDITOS
   =============================== */

#footer .border-top {
  border-color: rgba(255,255,255,0.15) !important;
}

#footer .small {
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 768px) {

  #footer {
    text-align: center;
  }

  #footer .row > div {
    margin-bottom: 1.5rem;
  }

  .footer-link {
    padding: 6px 0;
  }

  .footer-social {
    margin: 0 auto;
  }
}
