/* =========================
   FOOTER BASE
========================= */

.site-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* WRAPPER FULL WIDTH */

.footer-wrapper {

  position: relative;
  width: 100%;
  min-height: 420px;

  background-image: url("/img/footer.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 80px 0;
}

/* CAPA OSCURA PARA MEJOR CONTRASTE */

.footer-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

/* CONTENIDO INTERNO */

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

/* =========================
   FORMULARIO
========================= */

.footer-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px 60px;
  max-width: 420px;

  margin-left: 80px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* =========================
   TEXTOS
========================= */

.footer-title {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
}

.footer-label {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.footer-label span {
  display: block;
  margin-bottom: 6px;
}

/* =========================
   FORM
========================= */

.footer-form{
  display: flex;
  flex-direction: column;
}

/* =========================
   INPUTS
========================= */

.footer-input {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  font-size: 14px;
  outline: none;
  color: #000;
}

.footer-input:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
}

.footer-error {
  font-size: 12px;
  color: #fca5a5;
}

/* =========================
   BOTÓN
========================= */

.footer-button {
  margin: 20px auto 0;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #0b78c6;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

/* =========================
   LINK
========================= */

.footer-privacy {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  color: #fff;
}

/* =========================
   BARRA INSTITUCIONAL (AZUL)
========================= */

.footer-institucional {
  background: #1f6fb2;
  color: #ffffff;
  padding: 18px 20px;
  font-size: 13px;
}

.footer-institucional-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-institucional-col {
  display: flex;
  gap: 10px;
}

.footer-institucional-copy {
  text-align: center;
  margin-top: 10px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

  .footer-inner {
    display: flex;
    justify-content: center;
  }

  .footer-content {
    margin: 0;
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .footer-wrapper {
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 16px 80px;
  }

  .footer-inner {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-content {
    width: 100%;
    max-width: 380px;

    margin: 0 auto;

    padding: 28px 20px 32px;

    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
  }

  .footer-title {
    font-size: 22px;
  }

  .footer-button {
    width: 100%;
  }

  .footer-institucional-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

}
