/* IMPORTS */

@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/* ── FOOTER ── */
footer {
  width: 100%;
  background: #1a3a6b;
  background: linear-gradient(90deg, #1a3a6b, #0571cf);
  border-radius: 160px 160px 0 0;
  height: auto;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px 36px;
  /* Misma sombra suave que el header pero invertida (hacia arriba) */
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.disfooter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

.logoescuelafooter {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logoescuelafooter img {
  height: 12rem;
  object-fit: contain;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
}

.texto-footer {
  flex: 2;
  text-align: center;
  color: white;
  position: relative;
}

.texto-footer b {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 28px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lineatextofooter {
  margin: 10px auto 18px auto;
  height: 5px;
  width: 90%;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ── SOCIALS ──
   Íconos blancos PNG sobre el mismo gradiente del header.
   Se despegan con un borde semitransparente + sombra suave,
   igual al efecto del header pero aplicado a cada chip.
*/
.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 4px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  /* Mismo gradiente del header para coherencia visual */
  background: linear-gradient(135deg, #1a3a6b, #0571cf);
  /* Borde blanco semitransparente que "recorta" el ícono del fondo */
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  /* Sombra suave igual al header */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.socials a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.socials a:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

.socials a img {
  height: 1.6rem;
  width: 1.6rem;
  object-fit: contain;
  display: block;
  /* Sombra sobre el ícono blanco para despegarlo del chip */
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

/* ── LÍNEA FONDO ── */
.lineafondofooter {
  display: flex;
  height: 25px;
  width: 100%;
  background-color: rgb(172, 42, 42);
  justify-content: center;
  text-align: center;
}

.lineafondofooter p a {
  text-decoration: none;
  padding-left: 5px;
  color: #ffffff;
}

.lineafondofooter p {
  display: flex;
  color: #fff;
  justify-content: center;
  text-align: center;
  align-items: center;
  margin: 0;
  font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  footer {
    min-height: unset;
    padding: 32px 20px 28px;
    border-radius: 80px 80px 0 0;
  }

  .disfooter {
    flex-direction: column;
    gap: 20px;
  }

  .logoescuelafooter img {
    height: 6rem;
  }

  .texto-footer b {
    font-size: 20px;
  }

  .socials {
    gap: 0.8rem;
    padding-bottom: 4px;
  }

  .socials a {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .socials a img {
    height: 1.4rem;
    width: 1.4rem;
  }

  .lineafondofooter p {
    display: none;
  }
}