footer {
  background: var(--azul-prussia);
  padding: 4rem 2rem;
  color: white;
  width: 100%;

}

.footer-container {
  width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-left h3 {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-tagline {
  color: var(--blanco);
}
.footer-left p {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--azul-columbia);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

/* LinkedIn - Azul */
.social-links a[aria-label="LinkedIn"]:hover {
  background: var(--azul);
}

.social-links a[aria-label="LinkedIn"]:hover img {
  filter: brightness(0) invert(1);
}

/* Instagram - Rojo/Rosa */
.social-links a[aria-label="Instagram"]:hover {
  background: #E4405F;
}

.social-links a[aria-label="Instagram"]:hover img {
  filter: brightness(0) invert(1);
}

/* Twitter/X - Negro */
.social-links a[aria-label="Twitter/X"]:hover {
  background: #ffffff;
}

.social-links a[aria-label="Twitter/X"]:hover img {
  filter: none(0) invert(1); 
  
}
.designer-credit {
  font-size: 0.9rem;
  text-align: right;
}

.designer-credit a {
  color: var(--azul-grisaseo);  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.designer-credit a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

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

  .footer-right {
    align-items: flex-start;
  }

  .designer-credit {
    text-align: left;
  }
}
/* ========================
  SCROLL TOP
=========================== */
.footer-container .back-to-top {
  position: fixed;
  bottom: clamp(1.5rem, 3vw + 1rem, 2rem);
  right: clamp(1.5rem, 3vw + 1rem, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;       /* un poco más pequeño */
  height: 60px;      /* igual altura para mantener proporción */
  font-size: 1.2rem; /* tamaño de texto más legible */
  padding: 0.5rem;   /* espacio interno para que el texto no toque bordes */
  background-color: var(--azul-logo);
  color: var(--blanco);
  text-decoration: none;
  border-radius: 50%;
  opacity: 0.8;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  z-index: 1000;
}

.footer-container .back-to-top:hover {
  transform: translateY(-5px);
  opacity: 1;
  background-color: var(--rosa-brillante); /* cambia a rojo al pasar el mouse */
}