/* ===== Footer Base ===== */
.footer-mino {
  background: #003899;
  color: white;
  padding: 2.5rem 1.25rem; /* 40px 20px */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.footer-mino hr {
  border: none;
  height: 0.0625rem; /* 1px */
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 auto 2.5rem; /* 40px */
  max-width: 75rem; /* 1200px */
}

/* ===== Grid principal ===== */
.footer-container {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.6fr 1fr;
  gap: 1.875rem; /* 30px */
  align-items: start;
  padding: 0 1rem; /* 16px */
}

/* ===== Columnas ===== */
.footer-column {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px */
  position: relative;
}

/* Separadores verticales */
.footer-container > .footer-column:not(:first-child):before {
  content: "";
  position: absolute;
  left: -1.125rem; /* 18px */
  top: 0.625rem; /* 10px */
  bottom: 0.625rem;
  width: 0.0625rem; /* 1px */
  background: #FFFFFF1A;
  opacity: 1;
  pointer-events: none;
}

/* ===== Logo + Contacto ===== */
.brand-top {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.75rem; /* 12px */
  margin-bottom: 0.5rem; /* 8px */
}

.brand-small {
  font-weight: 700;
  letter-spacing: 0.0625rem; /* 1px */
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
}

.footer-logo {
  /* width: 20rem;  */
  height: 1.7rem; /* 35px */
  margin: 0;
  filter: brightness(0) invert(1);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.875rem; /* 14px */
  font-size: 18px;
  color: rgba(255,255,255,0.95);
}

.contact-list .icon {
  margin-right: 0.75rem; /* 12px */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem; /* 18px */
  height: 1.125rem;
  flex-shrink: 0;
}

.contact-list .icon img {
  width: 1rem; /* 16px */
  height: 1rem;
  filter: brightness(0) invert(1);
}

/* ===== Menús ===== */
.footer-menu h4 {
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 1.125rem 0; /* 18px */
  color: white;
  letter-spacing: 0.05rem; /* 0.8px */
  text-align: center;
}

.links-grid {
  text-align: center !important;
  display: grid;
  grid-template-columns: 1fr; /* 👈 solo una columna */
  gap: 0.5rem 1.5rem; /* 8px 24px */
  justify-items: center; /* 👈 ESTA ES LA CLAVE */
}

.links-grid.single {
  grid-template-columns: 1fr;
  justify-items: center;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 18px;
  line-height: 1.9;
  transition: color 0.3s ease;
  display: inline-block;
  text-align: center; /* 👈 texto alineado a la izquierda */

}

.footer-menu a:hover {
  color: white;
}


/* ===== Newsletter ===== */
.newsletter-form h4 {
  font-size: 22px;
  color: white;
  font-weight: 700;
  margin-bottom: 1rem; /* 8px */
}

.newsletter-inline {
  position: relative;
  width: 100%;
  max-width: 20rem;
}

.newsletter-inline input[type="email"] {
  width: 100%;
  padding: 0.5rem 6.5rem 0.5rem 0.625rem; /* 👈 espacio para botón */
  height: 41px;

  border: 0.0625rem solid rgba(255,255,255,0.12);
  border-radius: 0.25rem;
  background: #1142A5;
  color: white;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-inline button {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);

  height: 80%;
  padding: 0 0.75rem;

  background: #003899;
  border: none;
  border-radius: 0.25rem;

  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

/* .newsletter-inline {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 20rem; 
} */

.newsletter-inline input[type="email"] {
  flex: 1;
  padding: 0.5rem 0.625rem; /* 8px 10px */
  height: 41px; /* 34px */
  border: 0.0625rem solid rgba(255,255,255,0.12);
  border-radius: 0.125rem; /* 2px */
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-inline input[type="email"]::placeholder {
  color: rgba(255,255,255,0.65);
}

/* .newsletter-inline button {
  padding: 0.5rem 0.625rem;
  height: 41px;
  background: rgba(255,255,255,0.08);
  border: 0.0625rem solid rgba(255,255,255,0.18);
  border-radius: 0.125rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.05rem;
} */

.newsletter-inline button:hover {
  background: rgba(255,255,255,0.14);
}

.newsletter-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin: 0.375rem 0 0 0; /* 6px */
  font-style: italic;
}

.small-note {
  max-width: 16.25rem; /* 260px */
  font-size: 1rem;
  text-align: center;
}

.rojo{
  color: red;
}


/* Centrar todo el bloque del newsletter */
.newsletter-form{
  text-align: center;
  align-items: center;
}

/* Centrar el título */
.newsletter-form h4{
  text-align: center;
}

/* Centrar el formulario */
.newsletter-inline{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

/* Centrar los textos */
.newsletter-note{
  text-align: center;
}



/* ===== Responsive ===== */
@media (max-width: 64rem) { /* 1024px */
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.875rem; /* 40px 30px */
  }
  .footer-container > .footer-column:before {
    display: none;
  }
}

@media (max-width: 48rem) { /* 768px */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-menu,
  .newsletter-form {
    text-align: center;
    align-items: center;
  }
  .links-grid {
    justify-items: center;
  }
  .newsletter-inline {
    max-width: 21.875rem; /* 350px */
    margin: 0 auto;
  }
}

@media (max-width: 30rem) { /* 480px */
  .footer-container {
    width: 100%;
    max-width: 312px;
    margin: 0 auto;
  }

  .contact-list {
    text-align: left; /* 👈 solo este texto */
  }

  .contact-list li {
    text-align: left;
    justify-content: flex-start; /* 👈 por si usas flex */
    font-size: 14px;
  }
  .footer-menu a{
    font-size: 14px;
  }
  .newsletter-form h4{
    font-size: 22.15px;
  }
  .small-note{
    font-size: 12px;
  }
}


@media (max-width: 23.4375rem) { /* 375px */
  .footer-container {
    width: 100%;
    max-width: 312px;
    margin: 0 auto;
  }

  .contact-list {
    text-align: left; /* 👈 solo este texto */
  }

  .contact-list li {
    text-align: left;
    justify-content: flex-start; /* 👈 por si usas flex */
    font-size: 14px;
  }
  .footer-menu a{
    font-size: 14px;
  }
  .newsletter-form h4{
    font-size: 22.15px;
  }
  .small-note{
    font-size: 12px;
  }
}
