

.footer__newsletter {
  margin-bottom: 40px; /* Espacio inferior debajo del bloque de newsletter */
}

.footer__newsletter-content {
  display: flex; /* Flexbox para organizar contenido en fila */
  flex-direction: row; /* Dirección horizontal por defecto */
  justify-content: space-between; /* Distribuye el espacio entre los elementos */
  align-items: center; /* Centra verticalmente los elementos */
  flex-wrap: wrap; /* Permite que los elementos bajen si no entran en una sola línea */
  gap: 24px; /* Espacio entre los elementos hijos */
  margin-left: 62px;
  margin-right: 67px; /* Márgenes laterales para alinear con el resto del contenido */
}

.footer__newsletter-title {
  font-size: 37px; /* Tamaño grande de título */
  line-height: 1.3; /* Espaciado entre líneas */
  max-width: 500px; /* Limita el ancho del texto */
  flex: 1; /* Permite que el título ocupe espacio flexible dentro del flexbox */
  font-family: 'Inter', sans-serif; /* Fuente moderna, clara y sin serifas */
}

.footer__form {
  display: flex; /* Flexbox para alinear input y botón */
  gap: 10px; /* Espacio entre ellos */
}

.footer__input {
  padding: 16px 16px; /* Espaciado interno uniforme */
  font-size: 16px; /* Tamaño de texto cómodo */
  border: 1px solid #ffffff; /* Borde blanco delgado */
  border-radius: 10px; /* Bordes redondeados */
  background-color: transparent; /* Fondo transparente */
  color: #ffffff; /* Texto blanco */
  min-width: 450px; /* Ancho mínimo del input */
}

.footer__input::placeholder {
  color: #ffffff; /* Texto de marcador (placeholder) blanco */
  opacity: 0.7; /* Ligeramente más transparente */
}

.footer__button {
  padding: 16px 20px; /* Espaciado interno */
  background-color: transparent; /* Sin fondo */
  border: 1px solid #ffffff; /* Borde blanco */
  color: #ffffff; /* Texto blanco */
  font-weight: 1000; /* Texto muy grueso */
  border-radius: 6px; /* Bordes redondeados */
  cursor: pointer; /* Cambia a mano al pasar el mouse */
}


/* FOOTER GENERAL */
.footer {
  background: linear-gradient(135deg, #08398E 0%, #24336F 100%);
  color: #ffffff;
  padding: 60px 40px;
  font-family: 'Manrope', sans-serif;
}

/* CONTENIDO PRINCIPAL DEL FOOTER */
.footer__content {
  width: 1193px;
  height: 302px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

/* BLOQUE DE MARCA (LOGO, DESCRIPCIÓN, REDES) */
.footer__brand {
  width: 592px;
  height: 262px;
  display: flex;
  flex-direction: column;
  gap: 8px; /* Padding/Layout/xs */
}

.footer__logo {
  width: 272px;
  height: 122px;
}

.footer__description {
  width: 592px;
  height: 84px;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  color: #FFFFFF;
  padding-left: 25px;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-left: 25px;
}


.footer__icon {
  width: 215x;
  height: 15px;
  padding: 6px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

/* BLOQUE DE ENLACES (SEGUROS, OFICINAS, CONTACTO) */
.footer__links-container {
  width: 460px;
  height: 302px;
  padding-top: 64px; /* Padding/Layout/xxl */
}

.footer__links-wrapper {
  display: flex;
  gap: 50px; /* Padding/Layout/xxl */
  height: 238px;
  padding-top: 51px;
  padding-bottom: 51px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
}

.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  font-weight: 0;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 8px;

  color: #FFFFFF;
}

.footer__links li a {
  text-decoration: none;
  color: #FFFFFF;
}

.footer__links li a:hover {
  text-decoration: underline;
}

/* PARTE INFERIOR DEL FOOTER (INSTITUCIONAL) */
.footer__bottom {
  width: 1193px;
  height: 99px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px; /* Padding/Layout/xxs */
  padding-top: 16px;
}

.footer__bottom-logo {
  width: 380px;
  height: 63px;
  padding-left: 15px;
}

.footer__bottom-text {
  width: 1193px;
  height: 28px;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  color: #FFFFFF;
  padding-left: 25px;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.footer__icon {
  width: 16px;
  height: 16px;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #FFFFFF;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer__icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


.footer__divider {
  border: none;
  height: 1px;
  background-color: #ffffff; /* línea más suave */
  width: 1150px; /* o 40%, o 200px, como prefieras */
  margin: 20px auto; /* centrado con separación vertical */
}

@media screen and (max-width: 768px) {
  /* ----------- BLOQUE NEWSLETTER ----------- */
  .footer__newsletter {
    margin-bottom: 32px;
    padding: 0 16px;
  }

  .footer__newsletter-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
  }

  .footer__newsletter-title {
    font-size: 22px;
    line-height: 30px;
    max-width: 100%;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    hyphens: auto;
  }

  .footer__form {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .footer__input {
    width: 100%;
    font-size: 14px;
    padding: 14px;
    min-width: unset;
    box-sizing: border-box;
  }

  .footer__button {
    width: 100%;
    font-size: 14px;
    padding: 14px;
  }

  .footer__divider {
    width: 90%;
    margin: 20px auto;
  }

  /* --------------- FOOTER GENERAL --------------- */
  .footer {
    padding: 60px 30px;
    text-align: left;
  }

  .footer__content {
    width: 100%;
    flex-direction: column;
    gap: 32px;
    align-items: left;
    flex-wrap: wrap;
    height: auto !important;
  }

  .footer__brand {
    width: 100%;
    align-items: left;
    text-align: left;
    height: auto !important;
  }

  .footer__logo {
    width: 180px;
    height: auto;
  }

  .footer__description {
    width: 100%;
    font-size: 14px;
    line-height: 22px;
    padding-left: 0;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .footer__socials {
    justify-content: left;
    padding-left: 0;
    gap: 12px;
  }

  .footer__icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
    padding: 0;
  }

  /* ------------ LINKS --------------- */
  .footer__links-container {
    width: 100% !important;
    padding-top: 0;
    height: auto !important;
  }

  .footer__links-wrapper {
    flex-direction: column;
    align-items: left;
    gap: 24px;
    padding: 0;
    height: auto !important;
  }

  .footer__links {
    align-items: left;
    text-align: left;
  }

  .footer__links-title {
    font-size: 14px;
  }

  .footer__links li {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 6px;
  }

  /* ------------ PARTE INFERIOR ------------ */
  .footer__bottom {
    width: 100%;
    flex-direction: column;
    align-items: left;
    padding-top: 24px;
    text-align: left;
    gap: 8px;
    height: auto !important;
  }

  .footer__bottom-logo {
    width: 240px;
    height: auto;
    padding-left: 0;
  }

  .footer__bottom-text {
    width: 100%;
    font-size: 14px;
    line-height: 22px;
    padding-left: 0;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* -------- FOOTER FINAL -------- */

  footer .ssn-logo,
  footer .ssn-text {
    display: block;
    width: 100%;
    text-align: left;
    margin: 12px 0;
  }

  footer .ssn-logo img {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (min-width: 769px) and (max-width: 1300px) {
  .footer__content {
    width: 100%;
    flex-wrap: wrap;
    height: auto;
  }

  .footer__brand,
  .footer__links-container {
    width: 100%;
    align-items: left;
    text-align: left;
  }

  .footer__description {
    width: 100%;
    padding-left: 0;
    font-size: 16px;
  }
  .footer__newsletter-title {
    font-size: 28px;
    line-height: 36px;
    max-width: 100%;
    text-align: left;
  }

  .footer__form {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    width: 100%;
    gap: 12px;
  }

  .footer__input {
    min-width: 300px;
    max-width: 100%;
    font-size: 15px;
  }

  .footer__button {
    font-size: 15px;
    padding: 14px 18px;
  }

  .footer__links-wrapper {
    flex-direction: row;
    justify-content: left;
    gap: 40px;
  }

  .footer__bottom {
    width: 100%;
    align-items: left;
    text-align: left;
    gap: 10px;
  }

  .footer__bottom-logo {
    width: 260px;
    padding-left: 0;
  }

  .footer__bottom-text {
    width: 100%;
    font-size: 16px;
    padding-left: 0;
  }

  .footer__divider {
    width: 90%;
  }
}
