/* ═══════════════════════════════════════════════════════════
   registration.css  —  Page-specific styles for registration.html
   All shared tokens and base styles live in global.css.
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   HERO COMPACT VARIANT
   Consistent with results.css / events.css
───────────────────────────────────────── */
.hero-compact {
  min-height: unset;
}

.hero-content-compact {
  padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
  gap: var(--space-lg);
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(189, 212, 240, 0.80);
  max-width: 520px;
  line-height: 1.6;
}

/* Active nav link highlight */
.main-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* ─────────────────────────────────────────
   REGISTRATION STEPS
───────────────────────────────────────── */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 760px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-950);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ── Contact pills inside step 2 ── */
.step-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: var(--space-md) var(--space-lg);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.contact-pill:hover {
  background: var(--blue-100);
  border-color: var(--blue-300);
  transform: translateX(4px);
}

.contact-pill-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-950);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-pill-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.contact-pill-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
}

.contact-pill-role {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.contact-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.contact-pill-icon svg {
  width: 15px;
  height: 15px;
}

.contact-pill:hover .contact-pill-icon {
  background: var(--blue-950);
}

/* ─────────────────────────────────────────
   DIVISION CARDS
───────────────────────────────────────── */
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.division-card {
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.division-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Division I — gold accent */
.division-card-i {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  border: 2px solid var(--amber-400);
  color: var(--white);
}

/* Division II — blue-300 accent */
.division-card-ii {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  border: 2px solid var(--blue-300);
  color: var(--white);
}

/* Division III — subtle white border */
.division-card-iii {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.division-header-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.division-roman {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  opacity: 0.18;
  flex-shrink: 0;
  user-select: none;
}

/* Per-division roman numeral accent colour */
.division-card-i   .division-roman { color: var(--amber-400); opacity: 0.5; }
.division-card-ii  .division-roman { color: var(--blue-300);  opacity: 0.5; }
.division-card-iii .division-roman { color: var(--white);     opacity: 0.25; }

.division-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue-300);
  margin-bottom: 2px;
}

.division-card-i .division-label { color: var(--amber-300); }

.division-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

.division-threshold {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
}

.division-threshold-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.10);
  color: var(--blue-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.division-card-i .division-threshold-icon { color: var(--amber-400); }

.division-threshold-icon svg {
  width: 16px;
  height: 16px;
}

.division-threshold-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.division-threshold-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.division-note {
  font-size: 0.85rem;
  color: rgba(189, 212, 240, 0.75);
  line-height: 1.6;
}

.division-chip-row {
  margin-top: auto;
}

.division-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px var(--space-md);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.division-card-i .division-chip {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.40);
  color: var(--amber-300);
}

.division-card-ii .division-chip {
  background: rgba(147, 184, 232, 0.12);
  border-color: rgba(147, 184, 232, 0.35);
  color: var(--blue-200);
}

/* ─────────────────────────────────────────
   REGISTRATION NOTES
───────────────────────────────────────── */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.note-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.note-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.note-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xl);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.note-icon svg {
  width: 20px;
  height: 20px;
}

.note-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.note-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.note-link {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.note-link:hover {
  color: var(--blue-950);
  text-decoration-style: solid;
}

/* ─────────────────────────────────────────
   CONTACT / CTA CARD — dark section
───────────────────────────────────────── */
.reg-cta-card {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl) var(--space-4xl);
  flex-wrap: wrap;
}

.reg-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-2xl);
  background: rgba(251, 191, 36, 0.15);
  color: var(--amber-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-cta-icon svg {
  width: 28px;
  height: 28px;
}

.reg-cta-text {
  flex: 1;
  min-width: 220px;
}

.reg-cta-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.reg-cta-desc {
  font-size: 0.9rem;
  color: rgba(189, 212, 240, 0.75);
  line-height: 1.6;
}

.reg-cta-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
  .step-card {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .division-grid {
    grid-template-columns: 1fr;
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }

  .reg-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-2xl);
    gap: var(--space-xl);
  }

  .reg-cta-buttons {
    width: 100%;
  }

  .reg-cta-buttons .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .step-contacts {
    gap: var(--space-sm);
  }

  .contact-pill {
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-md);
  }

  .reg-cta-buttons {
    flex-direction: column;
  }

  .reg-cta-buttons .btn {
    width: 100%;
  }
}