/* ============================================================
   Popup Oferta
   ============================================================ */
.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.offer-popup.active {
  opacity: 1;
  visibility: visible;
}

.offer-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.offer-popup__content {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: #000;
  overflow: hidden;
}

.offer-popup__bg {
  position: absolute;
  inset: 0;
  background: url('images/oferta.jpg') center/cover no-repeat;
  filter: brightness(0.35);
  z-index: 0;
}

.offer-popup__inner {
  position: relative;
  z-index: 1;
  padding: 3rem;
}

.offer-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
}

.offer-popup__close:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
}

.offer-popup__header {
  text-align: center;
  margin-bottom: 2rem;
}

.offer-popup__header .section__label {
  color: var(--accent-lighter);
}

.offer-popup__header .section__title {
  color: var(--white);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.offer-popup__header .section__title strong {
  font-weight: 800;
}

.offer-popup__header .section__desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
}

.offer-popup .offer-form {
  max-width: 100%;
}

.offer-popup .offer-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.offer-popup .offer-form__field label {
  color: rgba(255,255,255,0.8);
  font-size: 0.8125rem;
}

.offer-popup .offer-form__field input,
.offer-popup .offer-form__field select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.offer-popup .offer-form__field input::placeholder {
  color: rgba(255,255,255,0.4);
}

.offer-popup .offer-form__field input:focus,
.offer-popup .offer-form__field select:focus {
  border-color: var(--accent-lighter);
  outline: none;
  box-shadow: 0 0 0 3px rgba(138,61,140,0.2);
}

.offer-popup .offer-form__field select option {
  background: #1a1a1a;
  color: #fff;
}

.offer-popup .offer-form__consent span {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
}

@media (max-width: 600px) {
  .offer-popup__inner {
    padding: 2rem 1.5rem;
  }

  .offer-popup .offer-form__row {
    grid-template-columns: 1fr;
  }
}
