/* Footer — misma familia visual que header / Nina */
.sc-footer {
  --sc-navy: #002055;
  --sc-warn: #fcb92c;
  --sc-danger: #bd0811;
  --sc-footer-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sc-pill: 999px;
  position: relative;
  z-index: 10;
  /* Evita overflow-x del .row (márgenes negativos Bootstrap + px-2) */
  --bs-gutter-x: 1.5rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
  background: linear-gradient(180deg, #0a2a6b 0%, var(--sc-navy) 72%) !important;
  background-color: var(--sc-navy) !important;
  padding: 2.75rem 1rem 0 !important;
  color: #fff;
}

.sc-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sc-danger);
}

.sc-footer-title {
  margin: 0 0 0.45rem;
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.sc-footer-sub {
  display: block;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
}

.sc-footer-sub--contact {
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}

.sc-footer-col-title {
  margin: 0.35rem 0 0.75rem;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sc-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-footer-list li {
  margin: 0 0 0.55rem;
}

.sc-footer-link,
a.sc-footer-link {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 140ms ease-out;
}

.sc-footer-link:hover,
a.sc-footer-link:hover {
  color: #fff !important;
}

.sc-footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
}

.sc-footer-contact-row i {
  color: var(--sc-warn) !important;
  font-size: 1rem;
  flex-shrink: 0;
}

.sc-footer-input {
  display: block;
  width: 100%;
  min-height: 2.65rem;
  margin: 0 0 0.55rem !important;
  padding: 0.55rem 1rem !important;
  border-radius: var(--sc-pill) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--sc-navy) !important;
  font-size: 0.9rem;
  box-shadow: none !important;
}

.sc-footer-input::placeholder {
  color: rgba(0, 32, 85, 0.45);
}

.sc-footer-input:focus {
  outline: none;
  border-color: rgba(252, 185, 44, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(252, 185, 44, 0.22) !important;
}

.sc-footer-submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.55rem;
  min-height: 2.55rem;
  padding: 0 1.25rem !important;
  margin: 0.25rem 0 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: var(--sc-pill) !important;
  background: linear-gradient(135deg, #ffd56a 0%, var(--sc-warn) 55%, #f0a20f 100%) !important;
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow:
    0 6px 16px rgba(252, 185, 44, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  transition:
    transform 180ms var(--sc-footer-ease),
    box-shadow 220ms ease-out,
    background 180ms ease-out,
    border-color 180ms ease-out,
    filter 180ms ease-out;
}

.sc-footer-submit:hover,
.sc-footer-submit:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
  background: linear-gradient(135deg, #ffe08a 0%, #ffc94a 45%, #f5b01a 100%) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow:
    0 10px 22px rgba(252, 185, 44, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.28) !important;
  outline: none;
}

.sc-footer-brand-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sc-footer-brand img {
  display: block;
  max-width: 220px;
  width: 75%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .sc-footer-brand-col {
    /* Empuja el bloque logo+redes al centro óptico del newsletter */
    padding-top: 0.75rem;
  }
}

.sc-footer-social {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.sc-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--sc-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  text-decoration: none !important;
  transition:
    background 160ms ease-out,
    border-color 160ms ease-out,
    transform 160ms var(--sc-footer-ease);
}

.sc-footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  color: #fff !important;
}

.sc-footer-social-btn svg {
  width: 1rem;
  height: 1rem;
}

.sc-footer-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
  min-height: 100%;
}

.sc-footer-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 132px));
  gap: 0.55rem;
  width: 100%;
  max-width: calc(132px * 2 + 0.55rem);
}

.sc-footer-badge {
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.4rem 0.45rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  width: 100%;
  min-height: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sc-footer-badge img,
.sc-footer-badge .widCOEImg {
  max-width: 100%;
  max-height: 102px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sc-footer-badge .TA_certificateOfExcellence,
.sc-footer-badge .TA_links {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-footer-badge .TA_links li {
  margin: 0 !important;
  padding: 0 !important;
}

.sc-footer-payments {
  width: 100%;
  max-width: calc(132px * 2 + 0.55rem);
  text-align: left;
}

.sc-footer-payments .sc-footer-col-title {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
}

.sc-footer-awards {
  width: 100%;
  max-width: calc(132px * 2 + 0.55rem);
  text-align: left;
}

.sc-footer-awards-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.sc-footer-awards-head .sc-footer-col-title {
  margin: 0;
  font-size: 0.86rem;
}

.sc-footer-awards-link,
a.sc-footer-awards-link {
  color: var(--sc-warn) !important;
  -webkit-text-fill-color: var(--sc-warn);
  background: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  white-space: nowrap;
  filter: none;
}

.sc-footer-awards-link:hover,
a.sc-footer-awards-link:hover {
  color: #ffd56a !important;
  -webkit-text-fill-color: #ffd56a;
  text-decoration: underline !important;
}

.sc-footer-badge-dark {
  filter: brightness(0);
}

.sc-footer-cols {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.sc-footer-pay-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.32rem;
  margin-top: 0;
}

.sc-footer-pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.28rem 0.35rem;
  border-radius: 0.55rem;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(255, 255, 255, 0.18) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
}

.sc-footer-pay-logo img {
  display: block;
  max-height: 1.1rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(1.08) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

/* Visa wordmark is navy by default — force white for contrast on blue footer */
.sc-footer-pay-logo.is-visa img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.sc-footer-pay-logo.is-icon {
  color: rgba(255, 255, 255, 0.96);
}

.sc-footer-pay-logo.is-icon i {
  font-size: 1rem;
  line-height: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sc-footer-pay-logo {
    background: rgba(255, 255, 255, 0.2);
  }
}

.sc-footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.95rem 1rem !important;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sc-footer-copy p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.82rem;
  line-height: 1.4;
}

.sc-footer-copy-ico {
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
}

.sc-footer-copy-ico i {
  font-size: 0.85rem;
  line-height: 1;
  color: #fff;
}

@media (max-width: 991.98px) {
  .sc-footer-aside {
    align-items: center;
  }

  .sc-footer-payments,
  .sc-footer-awards,
  .sc-footer-badges {
    max-width: 22rem;
  }

  .sc-footer-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px) {
  .sc-footer {
    padding-top: 2.1rem !important;
  }

  .sc-footer-badges {
    margin: 1rem 0;
  }
}
