/* Service modals - reusable modal overlay for static HTML content */

.service-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.service-modal-overlay.is-open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem 4rem;
}

.service-modal {
  position: relative;
  background: #fff;
  max-width: 640px;
  width: 100%;
  margin: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.service-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: #8b8b8b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  transition: color 0.2s;
}

.service-modal__close:hover {
  color: #f78f20;
}

.service-modal__body {
  padding: 2rem;
  padding-top: 2.5rem;
}

.service-modal__body img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.service-modal__body h4 {
  margin: 0 0 1rem;
  text-align: left;
}

.service-modal__body p {
  margin: 0 0 1rem;
}

.service-modal__body p:last-child {
  margin-bottom: 0;
}

/* Hidden content - never displayed directly, only cloned into modal */
.service-modal-content {
  display: none !important;
}

.service-modal a {
  margin-left: 3vw;
  margin-bottom: 2vh;
}
