/* Estilos generales para el footer */
.modern-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 0 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sección superior del footer (logo y redes) */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.brand-text h2 {
  color: #fff;
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.tagline {
  color: #bdc3c7;
  margin: 5px 0 0;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: #3498db;
  transform: translateY(-3px);
}

/* Sección media del footer (3 columnas) */
.footer-middle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  padding: 0 15px;
}

.footer-column h3 {
  color: #3498db;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #3498db;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  color: #3498db;
}

/* Estilos para la columna de contacto */
.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.contact-info .contact-item i {
  color: #3498db;
  font-size: 1.1rem;
  margin-top: 3px;
}

.contact-info .contact-item p,
.contact-info .contact-item a {
  margin: 0;
  color: #bdc3c7;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-info .contact-item a:hover {
  color: #3498db;
}

/* Sección inferior del footer (derechos de autor) */
.footer-bottom {
  background-color: #3498db;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: white;
  margin: 0;
  font-size: 0.9rem;
}

.legal-links {
  margin-top: 10px;
}

.legal-links a {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  margin: 0 10px;
  transition: opacity 0.3s;
}

.legal-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Estilos responsive */
@media (max-width: 992px) {
  .footer-middle {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-column:last-child {
    grid-column: span 2;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  
  .footer-middle {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-column:last-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    text-align: left;
    padding: 20px;
  }
  
  .legal-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
  }
  
  .legal-links a {
    margin: 0;
  }
}

@media (max-width: 576px) {
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-logo {
    margin-bottom: 10px;
  }
}