/* ==========================================================================
   POPUP — "Need prices over the phone?" exit-intent / time-delayed modal
   ========================================================================== */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 13, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms cubic-bezier(.2,.7,.2,1), visibility 320ms;
}
.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  position: relative;
  width: 100%;
  max-width: 1020px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 60px 120px rgba(0,0,0,.45);
  transform: translateY(24px) scale(.98);
  opacity: 0;
  transition: transform 380ms cubic-bezier(.2,.7,.2,1), opacity 380ms;
}
.popup-overlay.is-open .popup-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  font-size: 20px;
  line-height: 1;
  transition: background 180ms, transform 180ms;
}
.popup-close:hover { background: #fff; transform: rotate(90deg); }

.popup-body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.popup-eyebrow {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #b08a4c;
  font-weight: 600;
  margin: 0 0 14px;
}
.popup-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: .03em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.popup-title strong { font-weight: 800; }
.popup-text {
  font-size: 15px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 360px;
}
.popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  padding: 19px 28px;
  background: #0e0e0c;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 180ms, transform 180ms, box-shadow 180ms;
  gap: 10px;
}
.popup-cta:hover {
  background: #b08a4c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(176,138,76,.36);
}
.popup-cta svg { width: 16px; height: 16px; fill: currentColor; }

.popup-skip {
  margin-top: 14px;
  font-size: 13px;
  color: #888;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  align-self: flex-start;
  transition: color 180ms;
}
.popup-skip:hover { color: #b08a4c; }

.popup-image {
  position: relative;
  background: #1a1a1a;
  min-height: 100%;
}
.popup-image img {
  width: 100%; height: 100%; object-fit: cover;
}

@media (max-width: 760px) {
  .popup-card {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .popup-image {
    height: 200px;
    order: -1;
  }
  .popup-body { padding: 36px 28px 32px; }
  .popup-cta { max-width: 100%; }
}
