/* =========================================================
   NX FOOTER DESKTOP – UNIFICADO, FHD FIRST
   ========================================================= */

:root {
  --nx-footer-space: 48px;
  --nx-footer-space-sm: 24px;
}

/* ---------- Newsletter (pre-footer) ---------- */
.nx-lead-banner-desktop {
  background: var(--nx-color-bg-soft);
  padding: var(--nx-footer-space);
  text-align: center;
}

.nx-lead-banner-desktop nx-sus-text {
  display: block;
  font-size: var(--nx-font-g);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--nx-color-text);
}

.nx-lead-banner-desktop p,
.nx-lead-banner-desktop small {
  color: var(--nx-color-muted);
}

.nx-lead-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 12px;
}

.nx-lead-form input {
  min-width: 320px;
  padding: 16px 20px;
  border-radius: var(--nx-radius-sm);
  background: var(--nx-color-bg);
  border: 1px solid var(--nx-color-button-dark);
  color: var(--nx-color-text);
}

.nx-lead-form button {
  padding: 16px 24px;
  border-radius: var(--nx-radius-sm);
  background: var(--nx-color-button-b);
  color: var(--nx-color-text);
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.nx-lead-form button:hover {
  background: var(--nx-color-button-bd);
}

/* ---------- Footer principal ---------- */
.nx-footer-desktop {
  background: var(--nx-color-bg);
  color: var(--nx-color-text);
  padding: var(--nx-footer-space) 80px 20px;
}

.nx-footer__columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--nx-footer-space);
  max-width: 1920px;
  margin: 0 auto;
}

.nx-footer__nav,
.nx-footer__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.nx-footer__title {
  font-size: var(--nx-font-m);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--nx-color-muted);
}

.nx-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nx-footer__list li + li {
  margin-top: 8px;
}

.nx-footer__list a {
  color: var(--nx-color-muted);
  text-decoration: none;
  font-size: var(--nx-font-m);
  font-weight: 500;
  opacity: 0.9;
}

.nx-footer__list a:hover {
  color: var(--nx-color-text);

  opacity: 1;
}

.nx-footer__info p {
  margin: 0;
  font-size: var(--nx-font-m);
  line-height: 1.6;
  color: var(--nx-color-muted);
}

.nx-footer__info strong {
  color: var(--nx-color-text);
}

/* =========================================================
   CIERRE INSTITUCIONAL – UNA SOLA FILA
   ========================================================= */

.nx-footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  background: var(--nx-color-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Bloques: SEGUINOS | CONFIANZA | PREMIOS */
.nx-footer-bottom-block {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

/* Labels */
.nx-footer-bottom-label {
  font-size: var(--nx-font-m);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--nx-color-muted);
}

/* ---------- Redes ---------- */
.nx-social-list {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nx-social-list a {
  width: 36px;
  height: 36px;
  background: var(--nx-color-bg-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nx-social-list a:hover {
  background: var(--nx-color-button-b);
  transform: translateY(-2px);
}

.nx-social-list img {
  width: 18px;
  height: 18px;
}

/* ---------- Badges ---------- */
.nx-footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nx-footer-badges img {
  height: 36px;
}

/* ---------- Premios ---------- */
.nx-badges-awards {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nx-badges-awards img {
  height: 44px;
  opacity: 0.85;
}

/* ---------- Legal (debajo, silencioso) ---------- */
.nx-footer-legal-text {
  max-width: 1200px;
  margin: 0 auto;
  font-size: var(--nx-font-xs);
  color: var(--nx-color-muted);
  text-align: center;
}

.nx-footer-legal-text a {
  color: var(--nx-color-muted);
  text-decoration: underline;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
  .nx-footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .nx-footer-bottom {
    flex-direction: column;
    gap: 24px;
  }

  .nx-footer-bottom-block {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nx-footer-desktop {
    padding: 32px 16px 0;
  }

  .nx-footer__columns {
    grid-template-columns: 1fr;
  }

  .nx-footer-legal-text {
    padding: 24px 16px 32px;
  }
}
/* ---------- Separadores verticales en footer bottom ---------- */
.nx-footer-bottom-block:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  margin-left: 48px;
}


/* En mobile no mostramos separadores */
@media (max-width: 1024px) {
  .nx-footer-bottom-block::after {
    content: none;
  }
}
/* ---------- Indicador de link en listas del footer ---------- */
.nx-footer__list li a {
  position: relative;
  padding-left: 14px;
  display: inline-block;
}

.nx-footer__list li a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nx-color-muted);
  font-size: var(--nx-font-m);
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover */
.nx-footer__list li a:hover::before {
  transform: translateX(2px);
  color: var(--nx-color-text);
}


.nx-footer__list li button {
  background: var(--nx-color-bg);
  border: 0;
  position: relative;
  padding-left: 14px;
  display: inline-block;
  font-weight: 500;
  cursor: pointer;
}

.nx-footer__list li button::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nx-color-muted);
  font-size: var(--nx-font-m);
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover */
.nx-footer__list li button:hover::before {
  transform: translateX(2px);
  color: var(--nx-color-text);
}

.nx-footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;              /* 🔑 clave */
  gap: 32px 64px;               /* vertical | horizontal */
  background: var(--nx-color-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nx-footer-bottom-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;               /* 🔑 no se aplasta */
}

.nx-footer-bottom-block:not(:last-child)::after {
  content: "|";
  margin-left: 48px;
  font-size: var(--nx-font-m);
  color: rgba(255,255,255,0.25);
}

/* Cuando hay wrap (pantallas más chicas), los sacamos */
@media (max-width: 1280px) {
  .nx-footer-bottom-block::after {
    content: none;
  }
}

@media (max-width: 768px) {
  .nx-footer-bottom {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }

  .nx-footer-bottom-block {
    justify-content: center;
    text-align: center;
  }
}
/* =========================================================
   SMART STICKY HEADER
   ========================================================= */

/* 1. Hacemos el header fijo */
.nx-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Asegura que esté por encima de todo */
  background-color: #111; /* O el color de fondo exacto de tu header */
  transition: transform 0.3s ease-in-out; /* La magia de la animación suave */
  will-change: transform;
}

/* 2. Clase para esconderlo (lo movemos hacia arriba fuera de la pantalla) */
.nx-header.is-hidden {
  transform: translateY(-100%);
}

/* 3. IMPORTANTE: Evitar que el contenido se solape */
/* Como el header es 'fixed', flota sobre el contenido.
   Necesitas empujar el cuerpo de la página hacia abajo.
   Ajusta los px según la altura real de tu header (aprox 120px a ojo). */
body {
  padding-top: 105px; 
}


.nx-enter-with-gmail p{
  font-size: var(--nx-space-md);
}