/* SKYEFIRE — self-serve email-capture modal */
.sf-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(3, 5, 16, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.sf-modal-overlay.is-open { opacity: 1; visibility: visible; }

.sf-modal {
  position: relative;
  width: 100%; max-width: 460px;
  background: linear-gradient(180deg, #0b1024 0%, #070a18 100%);
  border: 1px solid rgba(138, 46, 255, 0.28);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,0,122,0.06),
              0 0 60px rgba(138,46,255,0.15);
  transform: translateY(16px) scale(0.98);
  transition: transform .3s cubic-bezier(.16,.84,.44,1);
}
.sf-modal-overlay.is-open .sf-modal { transform: none; }

.sf-modal__close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: none; color: #9aa3c7;
  font-size: 28px; line-height: 1; cursor: pointer;
  width: 38px; height: 38px; border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.sf-modal__close:hover { background: rgba(255,255,255,0.06); color: #fff; }

.sf-modal__body { padding: clamp(1.6rem, 4vw, 2.4rem); }
.sf-modal__eyebrow { display: block; margin-bottom: .5rem; }
.sf-modal__title {
  font-family: "Orbitron", sans-serif; font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem); line-height: 1.1;
  margin: 0 0 .5rem; color: #fff;
}
.sf-modal__lede { color: #aeb6d6; font-size: .95rem; margin: 0 0 1.4rem; }

.sf-modal__row { margin-bottom: 1rem; text-align: left; }
.sf-modal__label {
  display: block; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: #8891b5; margin-bottom: .4rem;
}
.sf-modal__input {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: .8rem .9rem;
  color: #fff; font-size: 1rem; font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sf-modal__input:focus {
  outline: none; border-color: rgba(0,207,255,0.7);
  box-shadow: 0 0 0 3px rgba(0,207,255,0.15);
}
.sf-modal__submit { width: 100%; margin-top: .5rem; }
.sf-modal__error { color: #ff6b8a; font-size: .85rem; margin: .8rem 0 0; }

.sf-modal__success { text-align: center; padding: 1rem 0 .5rem; }
.sf-modal__check {
  width: 60px; height: 60px; margin: 0 auto 1rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff;
  background: linear-gradient(135deg, #8a2eff, #00cfff);
  box-shadow: 0 0 30px rgba(138,46,255,0.5);
}
.sf-modal__success-title {
  font-family: "Orbitron", sans-serif; color: #fff;
  font-size: 1.3rem; margin: 0 0 .4rem;
}
.sf-modal__success-msg { color: #aeb6d6; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .sf-modal-overlay, .sf-modal { transition: none; }
}

/* ---- contact.html qualification booking block ---- */
.sf-booking { margin-top: 1.6rem; text-align: center; }
.sf-booking__divider {
  display: flex; align-items: center; gap: 1rem;
  color: var(--text-muted, #8891b5); font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
}
.sf-booking__divider::before, .sf-booking__divider::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(255,255,255,0.12);
}
.sf-booking__text { color: #aeb6d6; margin: 0 0 1rem; font-size: .95rem; }

/* ---- SKYEFIRE brand challenge (contact form human check) ---- */
.sf-challenge {
  margin: 1.25rem 0;
  padding: 1.1rem 1.2rem;
  background: rgba(138,46,255,0.06);
  border: 1px solid rgba(138,46,255,0.22);
  border-radius: 14px;
  transition: border-color .25s ease, transform .15s ease, background .25s ease;
}
.sf-challenge--ok  { border-color: rgba(0,207,255,0.55); background: rgba(0,207,255,0.07); }
.sf-challenge--err { border-color: rgba(255,0,122,0.6);  animation: sf-ch-shake .35s; }
@keyframes sf-ch-shake {
  0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)}
}
.sf-challenge__head { display:flex; align-items:center; gap:.7rem; margin-bottom:.7rem; }
.sf-challenge__badge {
  flex:0 0 auto; width:34px; height:34px; border-radius:9px;
  display:flex; align-items:center; justify-content:center; color:#fff;
  background:linear-gradient(135deg,#8a2eff,#00cfff);
}
.sf-challenge__badge svg { width:18px; height:18px; }
.sf-challenge__label { display:block; font-family:"Orbitron",sans-serif; font-size:.82rem; color:#fff; letter-spacing:.04em; }
.sf-challenge__hint  { display:block; font-size:.72rem; color:var(--text-muted,#8891b5); }
.sf-challenge__q {
  font-size:1rem; color:#e8ebfa; margin:.2rem 0 .8rem; line-height:1.5; font-weight:500;
}
.sf-challenge__row { display:flex; gap:.6rem; align-items:stretch; }
.sf-challenge__input {
  flex:1; box-sizing:border-box; background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.14); border-radius:10px;
  padding:.7rem .85rem; color:#fff; font-size:1rem; font-family:inherit;
}
.sf-challenge__input:focus { outline:none; border-color:rgba(0,207,255,0.7); box-shadow:0 0 0 3px rgba(0,207,255,0.15); }
.sf-challenge__input:disabled { opacity:.55; }
.sf-challenge__refresh {
  flex:0 0 auto; width:44px; border-radius:10px; cursor:pointer;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.14);
  color:#aeb6d6; font-size:1.2rem; line-height:1; transition:background .2s ease,color .2s ease;
}
.sf-challenge__refresh:hover { background:rgba(255,255,255,0.1); color:#fff; }
.sf-challenge__msg { margin:.6rem 0 0; font-size:.85rem; min-height:1.1em; }
.sf-challenge__msg--err { color:#ff6b8a; }
.sf-challenge__msg--ok  { color:#00cfff; }
