/* ==========================================================
   RM2026 — Footer global
   Archivo: /rm2026/assets/css/rm2026-footer.css
   Scope: .rm2026-footer
   ========================================================== */

.rm2026-footer,
.rm2026-footer *,
.rm2026-footer *::before,
.rm2026-footer *::after {
  box-sizing: border-box;
}

.rm2026-footer {
  --rm2026-footer-blue: #0b2f6b;
  --rm2026-footer-blue-dark: #08265a;
  --rm2026-footer-blue-soft: #123f86;
  --rm2026-footer-gold: #b7791f;
  --rm2026-footer-gold-soft: #d7a64a;
  --rm2026-footer-white: #ffffff;
  --rm2026-footer-soft: #eef4ff;
  --rm2026-footer-muted: #dbeafe;
  --rm2026-footer-green: #166534;
  --rm2026-footer-focus: rgba(255, 255, 255, 0.38);
  --rm2026-footer-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--rm2026-footer-gold);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, var(--rm2026-footer-blue) 0%, var(--rm2026-footer-blue-dark) 100%);
  color: var(--rm2026-footer-white);
  font-family: var(--rm2026-footer-font);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  overflow: hidden;
}

.rm2026-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 42px) 0 clamp(24px, 3vw, 34px);
}

.rm2026-footer a,
.rm2026-footer a:visited,
.rm2026-footer a:active {
  color: inherit;
  text-decoration: none;
}

.rm2026-footer a:hover {
  text-decoration: none;
}

.rm2026-footer__nav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 650;
  line-height: 1.3;
}

.rm2026-footer__nav-link {
  position: relative;
  padding: 4px 2px;
}

.rm2026-footer__nav-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rm2026-footer__separator {
  color: rgba(255, 255, 255, 0.55);
}

.rm2026-footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 24px;
}

.rm2026-footer__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
}

.rm2026-footer__contact:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.rm2026-footer__newsletter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid rgba(183, 121, 31, 0.88);
  border-radius: 16px;
  background: #ffffff;
  color: var(--rm2026-footer-blue);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.rm2026-footer__newsletter:hover {
  background: #f7faff;
  color: var(--rm2026-footer-blue-dark);
  transform: translateY(-1px);
}

.rm2026-footer__newsletter-icon,
.rm2026-footer__newsletter-icon path {
  flex: 0 0 auto;
  color: currentColor;
  fill: currentColor !important;
}

.rm2026-footer__trust {
  width: min(760px, 100%);
  margin: 0 auto 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rm2026-footer__trust-title {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
}

.rm2026-footer__payment-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
}

.rm2026-footer__payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.rm2026-footer__ssl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(183, 121, 31, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  text-align: left;
}

.rm2026-footer__ssl-icon,
.rm2026-footer__ssl-icon path {
  flex: 0 0 auto;
  color: var(--rm2026-footer-green);
  fill: currentColor !important;
}

.rm2026-footer__ssl-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.rm2026-footer__ssl-text strong {
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.rm2026-footer__ssl-text span {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
}

.rm2026-footer__legal {
  width: min(860px, 100%);
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.55;
}

.rm2026-footer__bottom {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.rm2026-footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

.rm2026-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0;
}

.rm2026-footer__social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border: 1px solid rgba(183, 121, 31, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rm2026-footer-blue) !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.rm2026-footer__social-link:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: var(--rm2026-footer-blue-soft);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.rm2026-footer__icon {
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  color: currentColor !important;
  fill: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.rm2026-footer__icon path {
  color: currentColor !important;
  fill: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.rm2026-footer__sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.rm2026-footer a:focus-visible {
  outline: 3px solid var(--rm2026-footer-focus);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .rm2026-footer {
    border-top-width: 3px;
  }

  .rm2026-footer__inner {
    width: min(100% - 32px, 1180px);
    padding: 28px 0 30px;
  }

  .rm2026-footer__nav {
    margin-bottom: 18px;
    font-size: 0.94rem;
  }

  .rm2026-footer__actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }

  .rm2026-footer__contact {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.94rem;
  }

  .rm2026-footer__newsletter {
    width: min(100%, 360px);
    min-height: 48px;
    padding: 12px 18px;
    font-size: 1rem;
  }

  .rm2026-footer__trust {
    padding: 16px 14px 15px;
    border-radius: 20px;
  }

  .rm2026-footer__trust-title {
    margin-bottom: 12px;
    font-size: 0.98rem;
  }

  .rm2026-footer__payment-list {
    gap: 8px;
  }

  .rm2026-footer__payment-badge {
    min-height: 29px;
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .rm2026-footer__ssl {
    width: min(100%, 390px);
    justify-content: flex-start;
    padding: 9px 12px;
  }

  .rm2026-footer__ssl-text strong,
  .rm2026-footer__ssl-text span {
    font-size: 0.8rem;
  }

  .rm2026-footer__legal {
    margin-bottom: 20px;
    font-size: 0.79rem;
    line-height: 1.52;
  }

  .rm2026-footer__copy {
    max-width: 320px;
    font-size: 0.79rem;
  }

  .rm2026-footer__social {
    gap: 10px;
  }

  .rm2026-footer__social-link {
    width: 40px !important;
    height: 40px !important;
  }

  .rm2026-footer__icon {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 420px) {
  .rm2026-footer__inner {
    width: min(100% - 28px, 1180px);
  }

  .rm2026-footer__payment-list {
    gap: 7px;
  }

  .rm2026-footer__payment-badge {
    font-size: 0.73rem;
  }

  .rm2026-footer__ssl {
    gap: 9px;
  }
}
/* ==========================================================
   RM2026 Footer — FIX botón Suscríbete visible
   Añadir al final de rm2026-footer.css
   ========================================================== */

.rm2026-footer .rm2026-footer__newsletter,
.rm2026-footer .rm2026-footer__newsletter:visited,
.rm2026-footer .rm2026-footer__newsletter:active {
  width: auto !important;
  min-width: 220px !important;
  max-width: 300px !important;
  background: #ffffff !important;
  color: #0b2f6b !important;
  -webkit-text-fill-color: #0b2f6b !important;
  border-color: #b7791f !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.rm2026-footer .rm2026-footer__newsletter span {
  display: inline-block !important;
  color: #0b2f6b !important;
  -webkit-text-fill-color: #0b2f6b !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.rm2026-footer .rm2026-footer__newsletter-icon,
.rm2026-footer .rm2026-footer__newsletter-icon path {
  display: block !important;
  color: #0b2f6b !important;
  fill: #0b2f6b !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.rm2026-footer .rm2026-footer__newsletter:hover,
.rm2026-footer .rm2026-footer__newsletter:focus-visible {
  background: #f7faff !important;
  color: #08265a !important;
  -webkit-text-fill-color: #08265a !important;
}

.rm2026-footer .rm2026-footer__newsletter:hover span,
.rm2026-footer .rm2026-footer__newsletter:focus-visible span,
.rm2026-footer .rm2026-footer__newsletter:hover .rm2026-footer__newsletter-icon,
.rm2026-footer .rm2026-footer__newsletter:focus-visible .rm2026-footer__newsletter-icon,
.rm2026-footer .rm2026-footer__newsletter:hover .rm2026-footer__newsletter-icon path,
.rm2026-footer .rm2026-footer__newsletter:focus-visible .rm2026-footer__newsletter-icon path {
  color: #08265a !important;
  fill: #08265a !important;
  -webkit-text-fill-color: #08265a !important;
}

@media (max-width: 767px) {
  .rm2026-footer .rm2026-footer__newsletter,
  .rm2026-footer .rm2026-footer__newsletter:visited,
  .rm2026-footer .rm2026-footer__newsletter:active {
    width: auto !important;
    min-width: 220px !important;
    max-width: 280px !important;
    min-height: 46px !important;
    padding: 11px 18px !important;
    font-size: 0.98rem !important;
  }
}
/* ==========================================================
   RM2026 Footer — enlaces secundarios de formas de pago
   ========================================================== */

.rm2026-footer .rm2026-footer__payment-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.rm2026-footer .rm2026-footer__payment-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-underline-offset: 4px;
}

.rm2026-footer .rm2026-footer__payment-links a:hover,
.rm2026-footer .rm2026-footer__payment-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.rm2026-footer .rm2026-footer__payment-links span {
  color: rgba(255, 255, 255, 0.45);
}