/* ══════════════════════════════════════════
   PPS CORPS — Welcome Popup
   popup.css
══════════════════════════════════════════ */

.pps-popup-overlay {
  position:         fixed;
  inset:            0;
  background:       rgba(0, 0, 0, 0.75);
  backdrop-filter:  blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index:          99999;
  display:          flex;
  align-items:      center;
  justify-content:  center;
  padding:          16px;
  opacity:          0;
  visibility:       hidden;
  transition:       opacity 0.4s ease, visibility 0.4s ease;
}

.pps-popup-overlay.is-visible {
  opacity:    1;
  visibility: visible;
}

/* ── Modal ── */
.pps-popup-modal {
  position:      relative;
  display:       flex;
  width:         100%;
  max-width:     900px;
  max-height:    90vh;
  background:    #111111;
  border-radius: 20px;
  overflow:      hidden;
  box-shadow:    0 32px 80px rgba(0,0,0,0.6);
  transform:     translateY(30px) scale(0.97);
  transition:    transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border:        1px solid rgba(255,255,255,0.06);
}

.pps-popup-overlay.is-visible .pps-popup-modal {
  transform: translateY(0) scale(1);
}

/* ── Close Button ── */
.pps-popup-close {
  position:   absolute;
  top:        14px;
  right:      14px;
  z-index:    10;
  width:      36px;
  height:     36px;
  background: rgba(255,255,255,0.08);
  border:     1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color:      rgba(255,255,255,0.7);
  cursor:     pointer;
  display:    flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pps-popup-close:hover {
  background: rgba(243,110,54,0.2);
  border-color: rgba(243,110,54,0.4);
  color: #f36e36;
}

/* ══════════════════════════════════════════
   LEFT — Photo
══════════════════════════════════════════ */
.pps-popup-left {
  position:   relative;
  flex:       0 0 42%;
  overflow:   hidden;
}

.pps-popup-img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

.pps-popup-img-overlay {
  position:   absolute;
  bottom:     0;
  left:       0;
  right:      0;
  padding:    24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.pps-popup-img-tag {
  display:       inline-block;
  background:    rgba(243,110,54,0.9);
  color:         #fff;
  font-size:     11px;
  font-weight:   700;
  padding:       4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.pps-popup-img-caption {
  margin:      0;
  color:       rgba(255,255,255,0.85);
  font-size:   13px;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   RIGHT — Content
══════════════════════════════════════════ */
.pps-popup-right {
  flex:       1;
  padding:    32px 28px;
  overflow-y: auto;
  display:    flex;
  flex-direction: column;
  gap:        20px;
}

/* Scrollbar */
.pps-popup-right::-webkit-scrollbar { width: 4px; }
.pps-popup-right::-webkit-scrollbar-track { background: transparent; }
.pps-popup-right::-webkit-scrollbar-thumb { background: rgba(243,110,54,0.3); border-radius: 2px; }

/* ── Logo ── */
.pps-popup-logo img {
  height:     48px;
  width:      auto;
  object-fit: contain;
}

/* ── Heading ── */
.pps-popup-badge {
  display:       inline-block;
  background:    rgba(243,110,54,0.12);
  color:         #f36e36;
  border:        1px solid rgba(243,110,54,0.25);
  border-radius: 20px;
  padding:       4px 12px;
  font-size:     12px;
  font-weight:   600;
  margin-bottom: 10px;
}

.pps-popup-heading h2 {
  margin:      0 0 8px;
  font-size:   22px;
  font-weight: 700;
  color:       #ffffff;
  line-height: 1.3;
}

.pps-popup-heading h2 span {
  color: #f36e36;
}

.pps-popup-heading p {
  margin:      0;
  font-size:   13px;
  color:       rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ── Contact Items ── */
.pps-popup-contacts {
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.pps-popup-contact-item {
  display:     flex;
  align-items: flex-start;
  gap:         12px;
  padding:     12px 14px;
  background:  rgba(255,255,255,0.03);
  border:      1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition:  all 0.2s ease;
}

.pps-popup-contact-item:hover {
  background:   rgba(243,110,54,0.06);
  border-color: rgba(243,110,54,0.2);
}

.pps-popup-contact-icon {
  flex:            0 0 36px;
  height:          36px;
  background:      rgba(243,110,54,0.1);
  border-radius:   8px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           #f36e36;
}

.pps-popup-contact-text {
  display:        flex;
  flex-direction: column;
  gap:            2px;
}

.pps-popup-contact-label {
  font-size:   11px;
  font-weight: 600;
  color:       rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pps-popup-contact-value {
  font-size:   13px;
  color:       rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ── CTA Buttons ── */
.pps-popup-ctas {
  display: flex;
  gap:     10px;
}

.pps-popup-btn {
  flex:            1;
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  padding:         12px 16px;
  border-radius:   10px;
  font-size:       14px;
  font-weight:     600;
  text-decoration: none;
  transition:      all 0.25s ease;
  cursor:          pointer;
}

.pps-popup-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1da851);
  color:      #ffffff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}

.pps-popup-btn-whatsapp:hover {
  transform:  translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.pps-popup-btn-call {
  background:   rgba(243,110,54,0.1);
  color:        #f36e36;
  border:       1px solid rgba(243,110,54,0.3);
}

.pps-popup-btn-call:hover {
  background:  rgba(243,110,54,0.2);
  border-color: rgba(243,110,54,0.5);
  transform:   translateY(-2px);
}

/* ══════════════════════════════════════════
   RESPONSIVE — Mobile
══════════════════════════════════════════ */
@media (max-width: 640px) {
  .pps-popup-modal {
    flex-direction: column;
    max-height:     92vh;
  }

  .pps-popup-left {
    flex:       0 0 180px;
    min-height: 180px;
  }

  .pps-popup-right {
    padding: 20px 18px;
    gap:     14px;
  }

  .pps-popup-heading h2 {
    font-size: 18px;
  }

  .pps-popup-ctas {
    flex-direction: column;
  }
}
