.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: white;
  border-radius: 16px;
  padding: 48px 40px 40px;
  width: 90%;
  max-width: 760px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: #F3F4F6;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal__close:hover { background: #E5E7EB; }
.modal__title {
  font-size: 26px;
  font-weight: 800;
  color: #051C2C;
  text-align: center;
  margin-bottom: 32px;
}
.modal__inputs {
  display: flex;
  gap: 12px;
  align-items: center;
}
.modal__input {
  height: 52px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  font-family: var(--font);
  color: #051C2C;
  outline: none;
}
.modal__input:focus { border-color: #003DA5; }
.modal__input--wide { flex: 1; }
.modal__input--sm   { width: 110px; }
.modal__btn {
  height: 52px;
  padding: 0 28px;
  background: #E8450A;
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  flex-shrink: 0;
}
.modal__btn:hover { background: #c73a08; }

@media (max-width: 600px) {
  .modal { padding: 40px 20px 32px; }
  .modal__inputs { flex-direction: column; }
  .modal__input,
  .modal__input--sm,
  .modal__input--wide { width: 100%; }
  .modal__btn { width: 100%; }
}

.modal__honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

