/* ============================================================
   HMC PODIUM — REGISTRATION.CSS
   ============================================================ */

/* ══════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 110px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.07;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  background: var(--pink);
  border-radius: 50%;
  opacity: 0.05;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ══════════════════════════════════════════
   REGISTRATION FORM
══════════════════════════════════════════ */
.registration-section { background: var(--bg-light); }

.registration-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 18px;
  padding: 44px;
  box-shadow: 0 10px 40px rgba(18,41,95,0.06);
}

.registration-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.registration-form__field {
  margin-bottom: 20px;
}

.registration-form__field--full {
  margin-bottom: 24px;
}

.registration-form__field label {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.registration-form__field label span {
  color: var(--text-gray);
  font-weight: 400;
  font-size: 0.78rem;
}

.registration-form__field input,
.registration-form__field select,
.registration-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--platinum);
  background: var(--bg-light);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--navy);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.registration-form__field input:focus,
.registration-form__field select:focus,
.registration-form__field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(102,198,186,0.15);
  background: var(--white);
}

.registration-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.registration-form__submit {
  display: block;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.registration-form__submit:hover {
  background: var(--teal);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102,198,186,0.35);
}

/* ══════════════════════════════════════════
   CONFIRMATION MODAL
══════════════════════════════════════════ */
.reg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18,41,95,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  padding: 20px;
}
.reg-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.reg-modal {
  background: var(--white);
  border-radius: 18px;
  padding: 44px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reg-modal-overlay.active .reg-modal {
  transform: translateY(0) scale(1);
}

.reg-modal__icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(102,198,186,0.12);
  border: 2px solid var(--teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.reg-modal h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.reg-modal p {
  color: var(--text-gray);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 26px;
}

.reg-modal__close {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 36px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.reg-modal__close:hover {
  background: var(--teal);
  color: var(--navy-dark);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 640px) {
  .registration-form-wrap { padding: 28px 22px; }
  .registration-form__row { grid-template-columns: 1fr; }
}