.groundwp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000000001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.groundwp-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.groundwp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
}

.groundwp-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 448px);
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
  transform: translateY(18px) scale(0.96);
  transition: transform 220ms ease;
}

.groundwp-lightbox.is-visible .groundwp-lightbox__dialog {
  transform: translateY(0) scale(1);
}

.groundwp-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.groundwp-lightbox__close:hover,
.groundwp-lightbox__close:focus-visible {
  background: transparent;
  color: #ffffff;
  outline: none;
}

.groundwp-lightbox__header {
  padding: 28px 28px 20px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #14628b 0%, #0d4a6b 100%);
}

.groundwp-lightbox__eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #ffd857;
}

.groundwp-lightbox__tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.groundwp-lightbox__eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.groundwp-lightbox__title {
  margin: 0;
  font-size: clamp(34px, 6vw, 44px);
  line-height: 0.95;
  font-weight: 900;
  color: #ffffff;
}

.groundwp-lightbox__subtitle {
  margin: 12px 0 0;
  font-size: clamp(15px, 2.6vw, 17px);
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.groundwp-lightbox__body {
  padding: 26px 24px 18px;
  text-align: center;
}

.groundwp-lightbox__copy {
  color: #475569;
  font-size: 16px;
  line-height: 1.55;
}

.groundwp-lightbox__copy p {
  margin: 0 0 10px;
}

.groundwp-lightbox__copy p + p {
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 600;
  color: #4b5563;
}

.groundwp-lightbox__actions {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.groundwp-lightbox__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.groundwp-lightbox__button:hover,
.groundwp-lightbox__button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
  outline: none;
}

.groundwp-lightbox__button--call {
  background: #d10800;
}

.groundwp-lightbox__button--email {
  background: #14628b;
}

.groundwp-lightbox__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.groundwp-lightbox__dismiss {
  margin-top: 22px;
  border: 0;
  background: transparent;
  color: rgb(156 163 175);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 160ms ease;
}

.groundwp-lightbox__dismiss:hover,
.groundwp-lightbox__dismiss:focus-visible {
  color: #475569;
  outline: none;
}

.groundwp-lightbox__disclaimer {
  margin: 14px 0 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.4;
}

body.groundwp-lightbox-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .groundwp-lightbox {
    padding: 12px;
  }

  .groundwp-lightbox__header {
    padding: 24px 20px 18px;
  }

  .groundwp-lightbox__body {
    padding: 22px 18px 18px;
  }

  .groundwp-lightbox__button {
    font-size: 17px;
  }

  .groundwp-lightbox__dismiss {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .groundwp-lightbox,
  .groundwp-lightbox__dialog,
  .groundwp-lightbox__button,
  .groundwp-lightbox__dismiss,
  .groundwp-lightbox__close {
    transition: none;
  }
}
