
/* ESTILOS DEL FOOTER */

.footer {
  background-color: #FFFFFF;
  color: #e5e7eb;
  padding: 60px 40px 20px;
  font-family: system-ui, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
  transform: translateX(40px); 
}

.footer-logo {
  width: 290px;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 350px;
  color: #000;
}

.footer-social {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-social a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #ffffff;
  color: #970028;
  transform: translateY(-4px);
}

.footer-divider {
  width: 1px;
  height: 80%;
  background-color: #334155;
}

.footer-right {
  display: flex;
  flex-direction: column; 
  gap: 40px;
  align-items: center;   
  text-align: center;
  transform: translateX(-40px);
}

.footer-column h4 {
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #000;
}

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

.footer-column li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #000;
}

.footer-services a {
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-services a:hover {
  color: #970028;
  transform: translateX(6px);
}

.footer-services a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #970028;
  transition: width 0.3s ease;
}

.footer-services a:hover::after {
  width: 100%;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
}

/***************************/
/*****DISEÑO RESPONSIVO*****/
/***************************/
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr auto 1fr;
    gap: 25px;
  }

  .footer-left,
  .footer-right {
    transform: none;
  }

  .footer-logo {
    width: 240px;
  }

  .footer-social a {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-divider {
    display: none;
  }

  .footer-left,
  .footer-right {
    transform: none;
    max-width: 500px;
    margin: auto;
  }

  .footer-right {
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 50px 25px 20px;
  }

  .footer-logo {
    width: 210px;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .footer-social a {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .footer-column h4 {
    font-size: 1.05rem;
  }

  .footer-column li,
  .footer-services a {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .footer {
    padding: 40px 20px 15px;
  }

  .footer-logo {
    width: 180px;
  }

  .footer-text {
    font-size: 0.85rem;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }
}
