/* ===== FOOTER ELEGANTE - DORADO ESTÁTICO ===== */
/* Diseño profesional con títulos dorados y texto nítido */

/* === Variables del footer === */
:root {
  --footer-bg: #0a0a0a;
  --footer-gradient: linear-gradient(135deg, #8d0b91, #ff00ea);
  --footer-title: #FFBF00;  /* Dorado sólido */
  --footer-title-glow: 0 0 10px rgba(255, 191, 0, 0.3);
  --footer-text: #ffffff;    /* Blanco puro */
  --footer-text-secondary: rgba(255, 255, 255, 0.85); /* Blanco más suave */
  --footer-accent: #FFBF00;
  --footer-border: rgba(255, 255, 255, 0.05);
  --footer-card-bg: rgba(255, 255, 255, 0.02);
}

/* === Estilos Generales === */
.footer {
  position: relative;
  padding: 80px 0 0;
  background-color: var(--footer-bg);
  font-family: 'Poppins', sans-serif;
  width: 100%;
  overflow: hidden;
}

/* Fondo con textura sutil */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--footer-accent), transparent);
  opacity: 0.5;
  z-index: 2;
}

.footer .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Estructura Grid === */
.footer .row {
  display: grid;
  gap: 40px;
}

/* Desktop - 4 Columnas */
@media (min-width: 992px) {
  .footer .row {
    grid-template-columns: 2.2fr 2.2fr 1.3fr 1.3fr;
    gap: 30px;
  }
  
  .footer .widget1,
  .footer .widget2,
  .footer .widget3,
  .footer .widget4 {
    text-align: left;
    transition: transform 0.4s ease;
  }
  
  .footer .widget1:hover,
  .footer .widget2:hover,
  .footer .widget3:hover,
  .footer .widget4:hover {
    transform: translateY(-5px);
  }
  
  .footer .logo {
    justify-content: flex-start;
  }
  
  .socialLinks ul {
    justify-content: flex-start;
  }
  
  .footer .widget2 .media-body {
    text-align: left;
  }
}

/* Tablet - 2 Columnas */
@media (min-width: 768px) and (max-width: 991px) {
  .footer .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .footer .widget1,
  .footer .widget2,
  .footer .widget3,
  .footer .widget4 {
    text-align: center;
  }
  
  .footer .logo {
    justify-content: center;
  }
  
  .socialLinks ul {
    justify-content: center;
  }
  
  .footer .widget2 .media-body {
    text-align: center;
  }
}

/* MÓVIL - UNA SOLA COLUMNA - TÍTULOS DORADOS */
@media (max-width: 767px) {
  .footer .row {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .footer .widget1,
  .footer .widget2,
  .footer .widget3,
  .footer .widget4 {
    text-align: center !important;
    width: 100%;
    padding: 0 !important;
    animation: fadeInUp 0.6s ease forwards;
  }
  
  /* Separadores con gradiente más notorios */
  .footer .widget1,
  .footer .widget2,
  .footer .widget3 {
    position: relative;
    padding-bottom: 40px !important;
  }
  
  .footer .widget1::after,
  .footer .widget2::after,
  .footer .widget3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--footer-accent), transparent);
    opacity: 0.4;
  }
  
  /* Logo centrado */
  .footer .logo {
    justify-content: center !important;
    margin-bottom: 25px;
  }
  
  /* Redes sociales centradas */
  .socialLinks ul {
    justify-content: center !important;
    padding-left: 0;
    gap: 15px;
  }
  
  /* Noticias con diseño de tarjeta */
  .footer .widget2 .media {
    flex-direction: column;
    text-align: center !important;
    margin-bottom: 30px;
    padding: 25px 20px;
    background: var(--footer-card-bg);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid var(--footer-border);
  }
  
  .footer .widget2 .media:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 191, 0, 0.2);
  }
  
  .footer .widget2 .media img {
    margin-right: 0 !important;
    margin-bottom: 20px;
    width: 130px;
    height: 130px;
    border-radius: 20px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
    transition: all 0.4s ease;
  }
  
  .footer .widget2 .media:hover img {
    border-color: var(--footer-accent);
  }
  
  .footer .widget2 .media p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--footer-text);
  }
  
  .footer .widget2 .media span {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 191, 0, 0.1);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--footer-accent);
    border: 1px solid rgba(255, 191, 0, 0.2);
  }
  
  /* Enlaces centrados */
  .footer .widget3 ul,
  .footer .widget4 ul {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    padding-left: 0;
  }
  
  .footer .widget3 ul li,
  .footer .widget4 ul li {
    text-align: center !important;
    width: 100%;
    margin-bottom: 18px;
  }
  
  .footer .widget3 ul li a,
  .footer .widget4 ul li a {
    text-align: center !important;
    display: inline-block;
    width: auto;
    color: var(--footer-text-secondary);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    padding: 6px 12px;
    position: relative;
    transition: all 0.3s ease;
  }
  
  /* Efecto de subrayado dorado */
  .footer .widget3 ul li a::after,
  .footer .widget4 ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: var(--footer-accent);
    transition: transform 0.3s ease;
    border-radius: 2px;
  }
  
  .footer .widget3 ul li a:hover::after,
  .footer .widget4 ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
  }
  
  .footer .widget3 ul li a:hover,
  .footer .widget4 ul li a:hover {
    color: #ffffff;
    transform: translateY(-2px);
  }
  
  /* Descripción con texto blanco */
  .footer .widget1 p {
    text-align: center !important;
    margin: 20px auto;
    color: var(--footer-text-secondary);
    font-size: 15px;
    line-height: 1.8;
    max-width: 300px;
    font-weight: 400;
    letter-spacing: 0.5px;
  }
}

/* TÍTULOS - VERSIÓN DORADA ESTÁTICA */
.footer h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--footer-title); /* Dorado sólido */
  text-shadow: 0 0 10px rgba(255, 191, 0, 0.3);
}

/* Línea decorativa dorada */
.footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--footer-accent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 191, 0, 0.5);
}

/* Centrar la línea en móvil */
@media (max-width: 767px) {
  .footer h5 {
    text-align: center !important;
    display: block;
    width: 100%;
    font-size: 22px;
  }
  
  .footer h5::after {
    left: 50% !important;
    transform: translateX(-50%);
    width: 120px !important;
  }
}

/* MÓVILES MUY PEQUEÑOS */
@media (max-width: 480px) {
  .footer {
    padding: 50px 0 0;
  }
  
  .footer h5 {
    font-size: 20px;
  }
  
  .footer .widget2 .media img {
    width: 130px;
    height: 130px;
  }
  
  .footer .widget1 p {
    font-size: 14px;
    max-width: 260px;
  }
  
  .footer .widget3 ul li a,
  .footer .widget4 ul li a {
    font-size: 15px;
  }
}

/* === Logo Premium === */
.footer .logo {
  width: 100%;
  display: flex;
  margin-bottom: 25px;
  position: relative;
}

.footer .logo img {
  max-width: 180px;
  height: auto;
  display: block;
  filter: brightness(1.1);
  transition: all 0.4s ease;
}

.footer .logo img:hover {
  filter: brightness(1.2);
  transform: scale(1.03);
}

/* === REDES SOCIALES - ICONOS EN BLANCO === */
.footer .socialLinks {
  margin-top: 25px;
}

.socialLinks ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.socialLinks ul li {
  display: inline-block;
}

.socialLinks ul li a {
  text-decoration: none !important;
  outline: none;
  display: block;
  position: relative;
}

.socialLinks ul li a i {
  display: block;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 48px;
  transition: all 0.4s ease;
  font-size: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* TODOS LOS ICONOS EN BLANCO POR DEFECTO */
.socialLinks ul li a i {
  color: #ffffff !important;
}

/* Efectos hover - color de fondo según red */
.socialLinks ul li a:hover i {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Colores de fondo al hover */
.socialLinks ul li a:hover .fa-facebook-f { 
  background: #4267b2; 
  border-color: #4267b2;
}
.socialLinks ul li a:hover .fa-instagram { 
  background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
  border-color: transparent;
}
.socialLinks ul li a:hover .fa-tiktok { 
  background: #000000;
  border-color: #333;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}
.socialLinks ul li a:hover .fa-whatsapp { 
  background: #25D366; 
  border-color: #25D366;
}

/* === Widget Noticias Premium === */
.footer .widget2 .media {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--footer-border);
}

.footer .widget2 .media img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 16px;
  margin-right: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid transparent;
}

.footer .widget2 .media:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  border-color: rgba(255, 191, 0, 0.2);
}

.footer .widget2 .media:hover img {
  border-color: var(--footer-accent);
}

.footer .widget2 .media-body {
  flex: 1;
}

.footer .widget2 .media p {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 500;
  line-height: 1.5;
}

.footer .widget2 .media span {
  color: var(--footer-accent);
  font-size: 12px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(255, 191, 0, 0.1);
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 191, 0, 0.2);
}

/* === Widgets Enlaces - Texto más blanco === */
.footer .widget3 ul,
.footer .widget4 ul {
  list-style: none;
  padding: 0;
}

.footer .widget3 ul li,
.footer .widget4 ul li {
  margin-bottom: 18px;
}

.footer .widget3 ul li a,
.footer .widget4 ul li a {
  color: rgba(255, 255, 255, 0.9); /* Más blanco */
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
  letter-spacing: 0.5px;
}

/* Efecto de subrayado dorado */
.footer .widget3 ul li a::after,
.footer .widget4 ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--footer-accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.footer .widget3 ul li a:hover::after,
.footer .widget4 ul li a:hover::after {
  width: 100%;
}

.footer .widget3 ul li a:hover,
.footer .widget4 ul li a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

/* === Copyright Premium === */
.copyRightArea {
  grid-column: 1 / -1;
  margin-top: 80px;
  padding: 30px 0;
  border-top: 1px solid var(--footer-border);
  text-align: center;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
}

.copyRightArea::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--footer-accent), transparent);
  opacity: 0.6;
}

.copyRightArea p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
  letter-spacing: 1px;
  font-weight: 300;
}

.copyRightArea a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.copyRightArea a:hover {
  color: var(--footer-accent);
}

/* === ANIMACIONES GLOBALES === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer .widget1 { animation-delay: 0.1s; }
.footer .widget2 { animation-delay: 0.2s; }
.footer .widget3 { animation-delay: 0.3s; }
.footer .widget4 { animation-delay: 0.4s; }

/* === UTILIDADES === */
.text-center {
  text-align: center;
}

.no-underline {
  text-decoration: none !important;
}