.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.promo-modal[hidden] {
  display: none;
}

.promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 10, 10, 0.78);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.promo-modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(204, 58, 58, 0.34);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
  color: #171111;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.promo-modal.is-open .promo-modal__backdrop,
.promo-modal.is-open .promo-modal__panel {
  opacity: 1;
}

.promo-modal.is-open .promo-modal__panel {
  transform: translateY(0) scale(1);
}

.promo-modal__close {
  position: sticky;
  top: 12px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  margin: 12px 12px -56px auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
}

.promo-modal__image {
  display: block;
  width: 100%;
  height: clamp(190px, 28dvh, 290px);
  object-fit: cover;
  object-position: center 48%;
}

.promo-modal__body {
  padding: 26px 30px 30px;
  text-align: center;
}

.promo-modal__eyebrow {
  color: #cc3a3a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo-modal__body h2 {
  margin-top: 7px;
  color: #171111;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.08;
}

.promo-modal__description {
  max-width: 58ch;
  margin: 12px auto 0;
  color: #5f5555;
}

.promo-modal__business {
  margin-top: 20px;
  padding: 17px 19px;
  border: 1px solid rgba(204, 58, 58, 0.3);
  border-radius: 14px;
  background: rgba(204, 58, 58, 0.07);
  text-align: left;
}

.promo-modal__business h3 {
  color: #cc3a3a;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-modal__business p {
  margin-top: 7px;
  color: #4f4545;
}

.promo-modal__actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 12px;
  margin-top: 22px;
}

.promo-modal__action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid #cc3a3a;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.promo-modal__action--primary {
  background: #cc3a3a;
  color: #fff;
}

.promo-modal__action--secondary {
  background: #171111;
  color: #fff;
}

.promo-modal__close:focus-visible,
.promo-modal__action:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #cc3a3a;
}

body.promo-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .promo-modal {
    padding: 16px;
  }

  .promo-modal__panel {
    width: 100%;
    max-height: calc(100dvh - 32px);
    border-radius: 16px;
  }

  .promo-modal__image {
    height: clamp(170px, 24dvh, 220px);
  }

  .promo-modal__body {
    padding: 22px 18px 20px;
  }

  .promo-modal__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 700px) {
  .promo-modal__image {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-modal__backdrop,
  .promo-modal__panel {
    transition: none;
  }
}
