.offer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.offer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.offer-modal {
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 1.5rem;
  background: #141720;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.2), 0 24px 64px rgba(0, 0, 0, 0.45);
  transform: translateY(22px) scale(0.96);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-overlay.open .offer-modal {
  transform: translateY(0) scale(1);
}

.offer-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1117;
}

.offer-modal-title {
  color: #60a5fa;
  font-family: var(--font-display, sans-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-modal-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  background: #1a1e2a;
  color: #e8eaf0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.offer-modal-close:hover,
.offer-modal-close:focus-visible {
  border-color: rgba(96, 165, 250, 0.7);
  outline: none;
}

.offer-modal-img {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  background: #000;
}

.offer-modal-cta {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1117;
}

.offer-modal-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.service-hero-image {
  width: min(100%, 900px);
  aspect-ratio: 16 / 9;
  margin: 0 auto 2rem;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 1.5rem;
  object-fit: contain;
  background: #05070a;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38), 0 0 40px rgba(59, 130, 246, 0.12);
}

@media (max-width: 480px) {
  .offer-overlay {
    padding: 0.75rem;
  }

  .offer-modal-img {
    max-height: 58vh;
  }

  .service-hero-image {
    margin-bottom: 1.5rem;
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-overlay,
  .offer-modal {
    transition: none;
  }
}
