/* =========================
   FOOTER — Mendieta v2
   ========================= */

.footer {
  background: #0c433d;
  color: rgba(255, 255, 255, 0.9);
  padding-top: 44px;
}

/* =========================
   GRID
   ========================= */

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr 0.9fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 32px;
}

/* =========================
   BRAND
   ========================= */

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
  display: flex;
  justify-content: center;
}

.footer__logo img {
  width: 175px;
  height: auto;
  display: block;
  margin-bottom: 6px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

/* texto debajo del logo */
.footer__tagline {
  margin: 12px 0 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  max-width: 360px;
}

/* redes */
.footer__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: 0.2s ease;
}

.footer__social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

/* =========================
   TITULOS
   ========================= */

.footer__title {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 20px;
  color: #ffffff;
}

/* =========================
   TEXTOS
   ========================= */

.footer__text {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  font-weight: 600;
}

/* =========================
   LISTAS
   ========================= */

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer__item {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
  font-weight: 600;
}

.footer__icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* links */
.footer__link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 700;
}

.footer__link:hover {
  text-decoration: underline;
}

/* =========================
   MENU
   ========================= */

.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer__menu a {
  font-size: 17px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.footer__menu a:hover {
  text-decoration: underline;
}

/* =========================
   BOTTOM BAR
   ========================= */

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.12);
}

.footer__bottomInner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================
   RESPONSIVE
   ========================= */

/* Tablet */
@media (max-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .footer {
    padding-top: 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__tagline {
    max-width: 100%;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__list,
  .footer__menu {
    justify-items: center;
  }

  .footer__item {
    justify-content: center;
  }

  .footer__title {
    text-align: center;
  }
}

/* Extra pequeño */
@media (max-width: 420px) {
  .footer__logo img {
    width: 145px;
  }
}
