/* Estilos de footer */

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0b0b0f 0%, #1a1d29 100%);
  border-top: 2px solid rgba(255, 212, 0, 0.2);
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .site-footer {
    padding: 40px 0 20px;
    margin-top: 60px;
  }
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 212, 0, 0.2);
}

.footer-section p {
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--fg);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 212, 0, 0.3);
}

.footer-links a:hover::before {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .social-links {
    justify-content: center;
  }
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.3);
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 0, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 212, 0, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-links a:hover::before {
  left: 100%;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 2px solid rgba(255, 212, 0, 0.15);
  padding-top: 20px;
  text-align: center;
  color: var(--fg);
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-bottom a::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 212, 0, 0.4);
}

.footer-bottom a:hover::before {
  width: 100%;
}

/* Logos en footer */
.footer-section .logos {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-section .logos {
    justify-content: center;
  }
}

.footer-section .logos img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-section .logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Mejoras adicionales para iconos sociales */
.social-links a {
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.2);
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: var(--accent);
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
  transform: translateY(-3px) scale(1.05);
}