/* Offer — promo banner with optional background image */

.offer__panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(28rem, 42vw, 40rem);
  padding: clamp(3.2rem, 6vw, 5.6rem) clamp(1.6rem, 4vw, 3.2rem);
  background: var(--color-primary);
  color: var(--btn-primary-color, #fff);
}

.offer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.offer__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, var(--offer-overlay, 0.5));
  pointer-events: none;
}

.offer__content {
  z-index: 2;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
}

.offer__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  font-weight: var(--subheading-weight, 500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.offer__panel:not(.offer__panel--has-media) .offer__badge {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.offer__kicker,
.offer__heading,
.offer__description {
  color: inherit;
}

.offer__kicker.section-header__eyebrow {
  color: inherit;
  opacity: 0.92;
}

.offer__kicker.section-header__eyebrow::before {
  background: currentColor;
  opacity: 0.7;
}

.offer__heading {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.15;
}

.offer__description {
  max-width: 40rem;
  margin-inline: auto;
  opacity: 0.94;
}

.offer__description a {
  color: inherit;
}

.offer__content.text-start .offer__description,
.offer__content.text-end .offer__description {
  margin-inline: 0;
}

.offer__btn {
  min-height: 4.8rem;
  padding: 0 2.2rem;
  border-radius: 999px;
  background: var(--bg-surface, #fff);
  color: var(--color-heading, #111);
  font-family: var(--btn-font, var(--body-font));
  font-size: 1.4rem;
  font-weight: var(--subheading-weight, 500);
  line-height: 1.3;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.offer__btn:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

@media (max-width: 749px) {
  .offer__panel {
    min-height: 26rem;
  }

  .offer__btn {
    width: 100%;
    max-width: 32rem;
  }
}
