/* =============================================
   Call Us Modal Popup
   ============================================= */

/* Overlay */
.acr-call-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.acr-call-modal-overlay.acr-modal-visible {
  opacity: 1;
  visibility: visible;
}

/* Modal box */
.acr-call-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  z-index: 1000000;
  width: 90%;
  max-width: 400px;
  padding: 48px 36px 36px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.acr-call-modal.acr-modal-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.acr-call-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  font-size: 18px;
  line-height: 32px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.acr-call-modal__close:hover {
  background: #ddd;
}

/* Phone icon */
.acr-call-modal__icon {
  width: 64px;
  height: 64px;
  background: #e02020;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.acr-call-modal__icon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Heading */
.acr-call-modal__heading {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.3;
}

/* Subtext */
.acr-call-modal__text {
  font-size: 15px;
  color: #777;
  margin: 0 0 28px;
  line-height: 1.5;
}

/* CTA button */
.acr-call-modal__cta {
  display: inline-block;
  background: #e02020;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.acr-call-modal__cta:hover {
  background: #c41a1a;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.acr-call-modal__cta:active {
  transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .acr-call-modal {
    width: 92%;
    padding: 40px 24px 28px;
    border-radius: 12px;
  }

  .acr-call-modal__heading {
    font-size: 20px;
  }

  .acr-call-modal__text {
    font-size: 14px;
  }

  .acr-call-modal__cta {
    padding: 12px 32px;
    font-size: 14px;
  }
}
