/* Slush 2026 promo — primera franja visible (sticky con el header) */

.site-top-chrome {
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-top-chrome [data-site-header] {
  position: relative;
  top: auto;
}

.slush-banner {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #083344 0%, #0e7490 48%, #0891b2 100%);
  color: #ecfeff;
  border-bottom: 1px solid rgba(165, 243, 252, 0.25);
}

.slush-banner[hidden] {
  display: none !important;
}

.slush-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem 0;
  min-height: 2.75rem;
}

.slush-banner__copy {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.35;
}

.slush-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 243, 252, 0.35);
  background: rgba(8, 51, 68, 0.35);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a5f3fc;
  white-space: nowrap;
}

.slush-banner__text {
  font-weight: 600;
  color: #f0fdfa;
  text-wrap: balance;
}

.slush-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.slush-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #0e7490;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.slush-banner__cta:hover {
  background: #ecfeff;
  color: #155e75;
}

.slush-banner__cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.slush-banner__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: #ecfeff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.slush-banner__close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.slush-banner__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .slush-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.7rem 0 0.75rem;
  }

  .slush-banner__copy {
    font-size: 0.8125rem;
    padding-right: 2.25rem;
  }

  .slush-banner__actions {
    width: 100%;
  }

  .slush-banner__cta {
    flex: 1;
    justify-content: center;
  }

  .slush-banner__close {
    position: absolute;
    top: 0.35rem;
    right: max(0.35rem, env(safe-area-inset-right));
  }
}
