/* ==========================================================================
   Kampanya şeridi — sadece anasayfada, sayfanın altında sabit duran bir
   kart. Üzerindeki CTA, footer.css'teki contact-modal'ı açar (lead formu).
   ========================================================================== */

/* Mobil menü açıkken kampanya şeridi menünün üzerine biniyordu — menü
   açıkken gizleniyor (bkz. main.js, initMobileMenu → body.is-menu-open). */
body.is-menu-open .promo-bar {
  display: none;
}

.promo-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(46, 37, 156, .85);
  border-radius: var(--r-xs);
  box-shadow: var(--shadow-card-lg);
  padding: 30px 24px;
  overflow: hidden;
  transform: translateY(120%);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease;
}

.promo-bar.is-visible {
  transform: translateY(0);
}

.promo-bar:hover {
  box-shadow: 0 30px 70px -16px rgba(13, 16, 96, .4);
}

.promo-bar__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-bar__badge {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, .16);
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

.promo-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.promo-bar__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-bar__lede {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-bar__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px 11px 20px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--indigo);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease;
  white-space: nowrap;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.promo-bar__cta:hover {
  background: var(--pink-tint);
}

.promo-bar__close {
  flex: none;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .14);
  border: none;
  border-radius: 50%;
  color: rgba(255, 255, 255, .75);
  cursor: pointer;
  padding: 0;
}

.promo-bar__close svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 640px) {
  .promo-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 10px;
    padding: 14px 12px;
  }

  .promo-bar__lede {
    display: none;
  }

  .promo-bar__cta {
    padding: 10px 14px;
    font-size: 13px;
  }

  .promo-bar__cta span {
    display: none;
  }
}

@media (max-width: 420px) {
  .promo-bar__badge {
    display: none;
  }
}
