/* ============================================
   PROMO BAR - Marzo 2026 $500 OFF
   ============================================ */

/* --- Promo Bar --- */
.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(135deg, #c44e1e 0%, #a83d15 100%);
  color: #fff;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.promo-bar.is-visible {
  display: flex;
}

.promo-bar__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 3rem;
  width: 100%;
  max-width: 1200px;
}

.promo-bar__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  white-space: nowrap;
}

.promo-bar__countdown {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}

.promo-bar__cta {
  display: inline-block;
  background: #fff;
  color: #b5401a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.promo-bar__cta:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

.promo-bar__close {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.75rem;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s;
}

.promo-bar__close:hover {
  color: #fff;
}

/* --- Body & Header offset --- */
body.has-promo-bar {
  padding-top: 48px;
}

body.has-promo-bar .header {
  top: 48px;
}

/* --- Hero Promo Badge --- */
.hero__promo-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.5);
  color: #FF8C5A;
  backdrop-filter: blur(4px);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 1rem;
  animation: promoPulse 2s ease-in-out infinite;
  transition: background 0.2s, border-color 0.2s;
}

.hero__promo-badge:hover {
  background: rgba(255, 107, 53, 0.25);
  border-color: rgba(255, 107, 53, 0.6);
}

@keyframes promoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(255, 107, 53, 0); }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 768px) {
  .promo-bar {
    height: auto;
    padding: 0.5rem 0;
  }

  .promo-bar__content {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.25rem 2.5rem 0.25rem 1rem;
    text-align: center;
  }

  .promo-bar__text {
    font-size: 0.8rem;
  }

  .promo-bar__text .promo-bar__text-full {
    display: none;
  }

  .promo-bar__text .promo-bar__text-short {
    display: inline;
  }

  .promo-bar__countdown {
    font-size: 0.8rem;
  }

  .promo-bar__cta {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }

  body.has-promo-bar {
    padding-top: 80px;
  }

  body.has-promo-bar .header {
    top: 80px;
  }
}

@media (min-width: 769px) {
  .promo-bar__text .promo-bar__text-short {
    display: none;
  }
}
