/* hc-lead-modal.css - global lead/contact modal. */
.hc-lead-modal {
  position: fixed;
  inset: 0;
  z-index: var(--hc-z-modal, 100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 13, 10, 0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: hcFadeIn 160ms var(--hc-ease-out);
}

.hc-lead-modal[x-cloak],
.hc-modal[x-cloak] {
  display: none;
}

.hc-lead-modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: var(--hc-sp-6) var(--hc-sp-5);
  overflow: hidden;
  border: 1px solid rgba(46, 34, 24, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 242, 234, 0.98));
  box-shadow: 0 40px 120px rgba(28, 22, 16, 0.18), 0 10px 30px rgba(28, 22, 16, 0.10);
  animation: hcSlideUp 260ms var(--hc-ease-out);
}

.hc-lead-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--hc-ink-soft);
  box-shadow: 0 8px 24px rgba(27, 20, 13, 0.08);
  transition: background var(--hc-dur-fast), color var(--hc-dur-fast);
}

.hc-lead-modal__close:hover {
  background: var(--hc-paper-2);
  color: var(--hc-ink);
}

.hc-lead-modal__title {
  max-width: 18ch;
  margin: 0;
  color: var(--hc-ink);
  font-family: var(--hc-serif);
  font-size: var(--hc-fs-xl);
  font-weight: 500;
}
