/* Join page final visual layer.
   Future Join-only rules must stay scoped under body.join-page. */

body.join-page {
  overflow-x: hidden;
}

body.join-page #join-section {
  padding: 88px 0 92px;
  background: var(--white);
}

body.join-page .join-layout {
  gap: 72px;
  padding: 0;
}

/* Page hero */
body.join-page .page-hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(550px, 80vh, 760px) !important;
  height: clamp(550px, 80vh, 760px) !important;
  padding: calc(var(--nav-h, 80px) + 78px) 0 112px;
  text-align: center;
  background-color: var(--inner-hero-navy-950, #050b18);
  background:
    radial-gradient(ellipse 42% 58% at 50% 22%, rgba(var(--color-accent-rgb, 245, 166, 35), 0.14), transparent 66%),
    radial-gradient(ellipse 68% 86% at 82% 32%, rgba(var(--color-primary-rgb, 27, 58, 140), 0.24), transparent 62%),
    linear-gradient(135deg, var(--inner-hero-navy-950, #050b18) 0%, var(--inner-hero-navy-900, #071126) 54%, var(--inner-hero-navy-800, #0a1f53) 100%);
  border-bottom: 1px solid rgba(var(--color-accent-rgb, 245, 166, 35), 0.26);
}

body.join-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.04) 18% 18.12%, transparent 18.12% 82%, rgba(var(--color-accent-rgb, 245, 166, 35), 0.05) 82% 82.12%, transparent 82.12%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.038) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(var(--color-accent-rgb, 245, 166, 35), 0.03) 0 1px, transparent 1px 36px),
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.07), transparent 27%);
  pointer-events: none;
}

body.join-page .page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 96px;
  background:
    linear-gradient(180deg, rgba(var(--color-primary-strong-rgb, 5, 11, 24), 0), rgba(255, 255, 255, 0.84) 86%, #ffffff 100%),
    linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb, 245, 166, 35), 0.36), transparent);
  pointer-events: none;
}

body.join-page .page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

body.join-page .page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  color: var(--inner-hero-gold-soft, #f2c66f);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(var(--color-accent-rgb, 245, 166, 35), 0.26);
  border-left: 3px solid var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  letter-spacing: 0.14em;
}

body.join-page .page-hero h1 {
  max-width: 900px;
  margin: 28px auto 24px;
  color: #ffffff;
  font-size: clamp(48px, 5.8vw, 74px);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: none;
}

body.join-page .page-hero-sub {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 24px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(5, 11, 24, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top: 2px solid rgba(245, 166, 35, 0.56);
  border-radius: 3px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  font-size: 17px;
  line-height: 1.72;
  text-wrap: balance;
}

body.join-page .join-hero-emphasis {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 3px 8px;
  color: #f2c66f;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.22);
  border-radius: 2px;
  font-weight: 800;
}

/* Why Join cards */
body.join-page .join-reasons .eyebrow {
  color: var(--blue);
}

body.join-page .join-reasons .section-title {
  max-width: 680px;
  line-height: 1.08;
}

body.join-page .reasons-grid {
  margin-top: 32px;
  gap: 18px;
}

body.join-page .reason-card--wide {
  grid-column: 1 / -1;
}

body.join-page .reason-card {
  position: relative;
  overflow: hidden;
  min-height: 252px;
  padding: 28px 28px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96)),
    var(--white);
  border: 1px solid rgba(9, 31, 78, 0.14);
  border-top: 3px solid rgba(245, 166, 35, 0.72);
  border-left: 0;
  border-radius: 4px;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body.join-page .reason-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 31, 78, 0.065), transparent 32%),
    linear-gradient(180deg, rgba(245, 166, 35, 0.06), transparent 46%);
  opacity: 0.8;
  pointer-events: none;
}

body.join-page .reason-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(245, 166, 35, 0.72));
  opacity: 0.55;
}

body.join-page .reason-card>* {
  position: relative;
  z-index: 1;
}

body.join-page .reason-card:hover {
  background: var(--white);
  border-color: rgba(9, 31, 78, 0.24);
  box-shadow: 0 14px 32px rgba(9, 31, 78, 0.09);
  transform: translateY(-2px);
}

body.join-page .reason-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 6px 11px;
  color: var(--blue);
  background: rgba(9, 31, 78, 0.055);
  border: 1px solid rgba(9, 31, 78, 0.14);
  border-left: 3px solid var(--gold);
  border-radius: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.join-page .reason-title {
  max-width: 92%;
  margin-bottom: 14px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

body.join-page .reason-body {
  color: rgba(44, 62, 80, 0.88);
  font-size: 14px;
  line-height: 1.72;
}

/* Membership form */
body.join-page .form-card {
  position: sticky;
  top: calc(var(--nav-h, 80px) + 24px);
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(9, 31, 78, 0.16);
  border-radius: 4px;
  box-shadow: 0 24px 55px rgba(9, 31, 78, 0.14);
}

body.join-page .form-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue));
}

body.join-page .form-card>h2,
body.join-page .form-card>p,
body.join-page #join-form,
body.join-page .form-success {
  margin-left: 34px;
  margin-right: 34px;
}

body.join-page .form-card>h2 {
  margin-top: 32px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

body.join-page .form-card>h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold), rgba(245, 166, 35, 0));
}

body.join-page .form-card>p {
  max-width: 350px;
  margin-bottom: 26px;
  color: rgba(44, 62, 80, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

body.join-page #join-form {
  padding-bottom: 34px;
}

body.join-page #join-form .form-group {
  margin-bottom: 20px;
}

body.join-page #join-form .form-label {
  margin-bottom: 8px;
  color: rgba(9, 31, 78, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

body.join-page #join-form .form-label .req {
  margin-left: 4px;
  color: #b8332f;
  font-weight: 900;
}

body.join-page #join-form .form-input,
body.join-page #join-form .form-select,
body.join-page #join-form .form-textarea {
  min-height: 48px;
  padding: 13px 15px;
  color: var(--near-black);
  background: #fbfcfe;
  border: 1px solid rgba(9, 31, 78, 0.18);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(9, 31, 78, 0.03);
}

body.join-page #join-form .form-textarea {
  min-height: 116px;
  line-height: 1.62;
}

body.join-page #join-form .form-input::placeholder,
body.join-page #join-form .form-textarea::placeholder {
  color: rgba(107, 122, 141, 0.68);
}

body.join-page #join-form .form-input:focus,
body.join-page #join-form .form-select:focus,
body.join-page #join-form .form-textarea:focus {
  background: #ffffff;
  border-color: rgba(27, 58, 140, 0.72);
  box-shadow:
    0 0 0 3px rgba(27, 58, 140, 0.1),
    0 0 0 1px rgba(245, 166, 35, 0.28);
}

body.join-page #join-form .form-error {
  margin-top: 6px;
  margin-bottom: 0;
  color: #b8332f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

body.join-page #join-form .form-checkboxes {
  gap: 10px;
}

body.join-page #join-form .checkbox-label {
  min-height: 42px;
  padding: 11px 12px;
  color: rgba(44, 62, 80, 0.88);
  background: #fbfcfe;
  border: 1px solid rgba(9, 31, 78, 0.12);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

body.join-page #join-form .checkbox-label:focus-within {
  border-color: rgba(27, 58, 140, 0.5);
  box-shadow: 0 0 0 3px rgba(27, 58, 140, 0.08);
}

body.join-page #join-form .role-selector {
  margin: 26px 0 22px;
  padding: 18px 16px 16px;
  background:
    linear-gradient(180deg, rgba(9, 31, 78, 0.035), rgba(245, 166, 35, 0.045)),
    #ffffff;
  border: 1px solid rgba(9, 31, 78, 0.14);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
}

body.join-page #join-form .role-selector .form-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--navy);
}

body.join-page #join-form .role-selector .form-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(9, 31, 78, 0.18), transparent);
}

body.join-page #join-form .role-selector-grid {
  gap: 10px;
  margin-top: 0;
}

body.join-page #join-form .role-selector .checkbox-label {
  position: relative;
  align-items: center;
  min-height: 48px;
  padding: 12px 13px;
  color: rgba(9, 31, 78, 0.86);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(9, 31, 78, 0.14);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

body.join-page #join-form .role-selector .checkbox-label:hover {
  color: var(--navy);
  background: #ffffff;
  border-color: rgba(245, 166, 35, 0.62);
  box-shadow: 0 10px 22px rgba(9, 31, 78, 0.08);
  transform: translateY(-1px);
}

body.join-page #join-form .role-selector .checkbox-label:focus-within {
  color: var(--navy);
  background: #ffffff;
  border-color: rgba(27, 58, 140, 0.64);
  box-shadow: 0 0 0 3px rgba(27, 58, 140, 0.1);
}

body.join-page #join-form .role-selector .checkbox-label:has(input:checked) {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #071f56);
  border-color: rgba(9, 31, 78, 0.94);
  box-shadow: 0 12px 24px rgba(9, 31, 78, 0.18);
}

body.join-page #join-form .role-selector input[type="checkbox"] {
  position: relative;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin: 0;
  appearance: none;
  background: #ffffff;
  border: 1.5px solid rgba(9, 31, 78, 0.34);
  border-radius: 2px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body.join-page #join-form .role-selector input[type="checkbox"]::before {
  content: "";
  width: 9px;
  height: 7px;
  background: var(--navy);
  clip-path: polygon(14% 44%, 0 59%, 38% 100%, 100% 16%, 84% 0, 36% 64%);
  transform: scale(0);
  transition: transform 140ms ease;
}

body.join-page #join-form .role-selector input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
}

body.join-page #join-form .role-selector input[type="checkbox"]:checked::before {
  transform: scale(1);
}

body.join-page #join-form .role-option--wide {
  grid-column: 1 / -1;
}

body.join-page #join-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0;
  accent-color: var(--blue);
}

body.join-page #join-form .consent-label {
  padding: 14px 15px;
  color: rgba(44, 62, 80, 0.9);
  background: rgba(9, 31, 78, 0.035);
  border: 1px solid rgba(9, 31, 78, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.62;
}

body.join-page #join-form .consent-label a {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.join-page #join-form .consent-label:focus-within {
  border-color: rgba(27, 58, 140, 0.44);
  box-shadow: 0 0 0 3px rgba(27, 58, 140, 0.08);
}

body.join-page #join-form .form-privacy {
  margin: 4px 0 0;
  padding: 12px 14px;
  color: rgba(44, 62, 80, 0.76);
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.18);
  border-radius: 3px;
  font-size: 11px;
  line-height: 1.58;
}

body.join-page #join-form .btn-full {
  min-height: 54px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--blue), #071f56);
  border-color: rgba(9, 31, 78, 0.95);
  box-shadow: 0 14px 28px rgba(9, 31, 78, 0.2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.join-page #join-form .btn-full:hover {
  background: linear-gradient(135deg, #071f56, var(--blue));
  box-shadow: 0 18px 34px rgba(9, 31, 78, 0.24);
}

/* Success state */
body.join-page .form-card:has(.form-success.show)>h2,
body.join-page .form-card:has(.form-success.show)>p {
  display: none;
}

body.join-page .form-success {
  padding: 34px 0 36px;
  text-align: center;
}

body.join-page .form-success.show {
  display: block;
}

body.join-page .success-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  color: var(--navy);
  background:
    radial-gradient(circle, rgba(245, 166, 35, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(9, 31, 78, 0.055), rgba(245, 166, 35, 0.08));
  border: 1px solid rgba(245, 166, 35, 0.34);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.82);
  font-size: 30px;
  line-height: 1;
}

body.join-page .success-headline {
  max-width: 340px;
  margin: 0 auto 13px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.14;
}

body.join-page .success-headline::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

body.join-page .success-body {
  max-width: 370px;
  margin: 0 auto 0;
  color: rgba(44, 62, 80, 0.84);
  font-size: 14px;
  line-height: 1.72;
}

body.join-page .success-share {
  margin-top: 28px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(9, 31, 78, 0.04), rgba(245, 166, 35, 0.055)),
    #fbfcfe;
  border: 1px solid rgba(9, 31, 78, 0.12);
  border-top: 3px solid rgba(245, 166, 35, 0.72);
  border-radius: 3px;
}

body.join-page .success-share-title {
  margin: 0 0 14px;
  color: rgba(9, 31, 78, 0.92);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.join-page .success-share-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.join-page .success-share-btn,
body.join-page .success-next-link {
  min-height: 42px;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
}

body.join-page .success-share-btn--whatsapp {
  background: #1f8f51;
  border-color: #1f8f51;
  color: #ffffff;
}

body.join-page .success-share-btn--whatsapp:hover {
  background: #167642;
  border-color: #167642;
}

body.join-page .success-next-link {
  width: 100%;
  margin-top: 18px;
  color: var(--navy);
  background: #ffffff;
  border-color: rgba(9, 31, 78, 0.22);
}

/* District grid */
body.join-page .district-grid-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0 94px;
  background:
    radial-gradient(ellipse 70% 90% at 12% 0%, rgba(245, 166, 35, 0.12), transparent 58%),
    radial-gradient(ellipse 64% 80% at 88% 20%, rgba(27, 58, 140, 0.32), transparent 64%),
    linear-gradient(145deg, #050b18 0%, #09152e 52%, #071126 100%);
  background-color: #050b18;
  border-top: 1px solid rgba(245, 166, 35, 0.18);
}

body.join-page .district-grid-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(245, 166, 35, 0.035) 0 1px, transparent 1px 38px);
  pointer-events: none;
}

body.join-page .district-grid-section .container {
  position: relative;
  z-index: 1;
}

body.join-page .district-grid-section .eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  color: #f2c66f;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-left: 3px solid var(--gold);
}

body.join-page .district-grid-section .section-title {
  max-width: 780px;
  margin-top: 18px;
  scroll-margin-top: calc(var(--nav-h, 80px) + 28px);
  line-height: 1.08;
}

body.join-page .district-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}

body.join-page .district-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 11px 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.join-page .district-tag:hover {
  color: #ffffff;
  background: rgba(245, 166, 35, 0.14);
  border-color: rgba(245, 166, 35, 0.48);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  body.join-page .join-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  body.join-page .form-card {
    position: static;
    max-width: 640px;
    margin: 0 auto;
  }

  body.join-page .district-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.join-page .page-hero {
    min-height: auto;
    padding: calc(var(--nav-h, 80px) + 58px) 0 86px;
  }

  body.join-page #join-section {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  body.join-page .join-layout {
    gap: 42px;
    padding: 0;
  }

  body.join-page .page-hero .eyebrow {
    padding: 8px 11px;
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  body.join-page .page-hero h1 {
    max-width: 680px;
    margin: 22px auto 20px;
    font-size: clamp(38px, 10vw, 52px);
    line-height: 1.06;
  }

  body.join-page .page-hero-sub {
    max-width: 620px;
    padding: 16px 17px;
    font-size: 15px;
    line-height: 1.68;
  }

  body.join-page .reasons-grid {
    gap: 14px;
  }

  body.join-page .reason-card {
    min-height: auto;
    padding: 24px 22px 26px;
  }

  body.join-page .reason-card::after {
    left: 22px;
    right: 22px;
  }

  body.join-page .reason-title {
    max-width: none;
    font-size: 19px;
  }

  body.join-page .reason-body {
    font-size: 14px;
    line-height: 1.66;
  }

  body.join-page .form-card {
    position: static;
    max-width: none;
    width: 100%;
  }

  body.join-page .form-card>h2,
  body.join-page .form-card>p,
  body.join-page #join-form,
  body.join-page .form-success {
    margin-left: 22px;
    margin-right: 22px;
  }

  body.join-page .form-card>h2 {
    margin-top: 28px;
    font-size: 25px;
  }

  body.join-page #join-form {
    padding-bottom: 28px;
  }

  body.join-page #join-form .form-group {
    margin-bottom: 18px;
  }

  body.join-page #join-form .form-checkboxes {
    grid-template-columns: 1fr;
  }

  body.join-page #join-form .role-selector {
    padding: 16px 14px 14px;
  }

  body.join-page #join-form .checkbox-label {
    min-height: 44px;
    font-size: 13px;
  }

  body.join-page #join-form .role-selector .checkbox-label {
    min-height: 48px;
    padding: 13px 12px;
  }

  body.join-page #join-form .form-input,
  body.join-page #join-form .form-select,
  body.join-page #join-form .form-textarea {
    font-size: 16px;
  }

  body.join-page .form-success {
    padding: 30px 0 32px;
  }

  body.join-page .success-headline {
    font-size: 24px;
  }

  body.join-page .success-share {
    padding: 16px;
  }

  body.join-page .success-share-actions {
    grid-template-columns: 1fr;
  }

  body.join-page .success-share-btn,
  body.join-page .success-next-link {
    min-height: 44px;
  }

  body.join-page .district-grid-section {
    padding: 66px 0 72px;
  }

  body.join-page .district-grid-section .eyebrow {
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  body.join-page .district-grid-section .section-title {
    margin-top: 16px;
    font-size: clamp(30px, 8vw, 42px);
  }

  body.join-page .district-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 28px;
  }

  body.join-page .district-tag {
    min-height: 44px;
    padding: 10px 6px;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  body.join-page .district-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.join-page .district-tag {
    min-height: 46px;
    font-size: 10.5px;
  }
}

/* Final membership authority pass */
html body.join-page main .page-hero {
  min-height: clamp(520px, 68vh, 660px);
  padding: calc(var(--nav-h, 72px) + 72px) 0 92px;
  background:
    radial-gradient(circle at 18% 18%, rgba(202, 169, 91, 0.18), transparent 34%),
    linear-gradient(135deg, #061022 0%, #081735 48%, #0b1f48 100%);
  border-bottom: 1px solid rgba(202, 169, 91, 0.22);
  overflow: hidden;
}

html body.join-page main .page-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.12;
}

html body.join-page main .page-hero::after {
  background:
    linear-gradient(180deg, transparent 0%, rgba(6, 16, 34, 0.2) 62%, rgba(6, 16, 34, 0.76) 100%),
    linear-gradient(90deg, rgba(202, 169, 91, 0.14), transparent 36%);
  opacity: 0.72;
}

html body.join-page main .page-hero .page-hero-inner {
  max-width: 1040px;
}

html body.join-page main .page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(202, 169, 91, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f0d98c;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

html body.join-page main .page-hero .eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #caa95b;
  box-shadow: 0 0 0 5px rgba(202, 169, 91, 0.14);
}

html body.join-page main .page-hero h1 {
  max-width: 900px;
  margin-top: 26px;
  color: #ffffff;
  font-size: clamp(44px, 5.3vw, 72px);
  line-height: 0.99;
  letter-spacing: 0;
  text-wrap: balance;
}

html body.join-page main .page-hero h1::after {
  width: min(360px, 48vw);
  height: 2px;
  margin: 26px 0 0;
  background: linear-gradient(90deg, #d6b96c, rgba(214, 185, 108, 0));
  box-shadow: none;
}

html body.join-page main .page-hero .page-hero-sub {
  max-width: 780px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid #caa95b;
  border-radius: 2px;
  background: rgba(4, 13, 31, 0.58);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

html body.join-page main .page-hero .join-hero-emphasis {
  color: #f5df95;
  font-weight: 800;
}

body.join-page #join-section {
  background:
    linear-gradient(180deg, #f8f6ef 0%, #ffffff 38%, #f8f6ef 100%);
}

body.join-page .join-layout {
  align-items: start;
}

body.join-page .join-reasons .section-title {
  margin-bottom: 18px;
  color: #071126;
}

body.join-page .join-reasons .section-title::after {
  content: "";
  display: block;
  width: 116px;
  height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, #caa95b, transparent);
}

body.join-page .join-reasons .section-lead {
  max-width: 620px;
  color: #526070;
  line-height: 1.74;
}

body.join-page .reasons-grid {
  gap: 20px;
  margin-top: 34px;
}

body.join-page .reason-card {
  min-height: 228px;
  padding: 28px 26px 30px;
  border: 1px solid rgba(7, 17, 38, 0.13);
  border-top: 4px solid #caa95b;
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 239, 0.96)),
    #ffffff;
  box-shadow: 0 18px 38px rgba(7, 17, 38, 0.07);
}

body.join-page .reason-card::before {
  background:
    linear-gradient(90deg, rgba(202, 169, 91, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(7, 17, 38, 0.045), transparent);
  opacity: 1;
}

body.join-page .reason-card:hover {
  border-color: rgba(202, 169, 91, 0.58);
  box-shadow: 0 22px 46px rgba(7, 17, 38, 0.1);
}

body.join-page .reason-badge {
  align-self: flex-start;
  padding: 8px 11px;
  border: 1px solid rgba(202, 169, 91, 0.5);
  border-radius: 2px;
  background: rgba(202, 169, 91, 0.1);
  color: #75581a;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.join-page .reason-title {
  margin-top: 20px;
  color: #071126;
  font-size: 1.08rem;
  letter-spacing: 0;
}

body.join-page .reason-body {
  margin-top: 12px;
  color: #526070;
  line-height: 1.7;
}

body.join-page .form-card {
  border: 1px solid rgba(7, 17, 38, 0.16);
  border-top: 5px solid #caa95b;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 239, 0.98)),
    #ffffff;
  box-shadow: 0 28px 70px rgba(7, 17, 38, 0.16);
}

body.join-page .form-card::before {
  background:
    linear-gradient(90deg, rgba(202, 169, 91, 0.16), transparent 54%),
    linear-gradient(180deg, rgba(7, 17, 38, 0.04), transparent);
}

body.join-page .form-card h2 {
  color: #071126;
  letter-spacing: 0;
}

body.join-page .form-card h2::after {
  width: 92px;
  height: 2px;
  background: linear-gradient(90deg, #caa95b, transparent);
}

body.join-page #join-form label {
  color: #17243a;
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

body.join-page #join-form label::after {
  color: #a87512;
}

body.join-page #join-form input,
body.join-page #join-form select,
body.join-page #join-form textarea {
  min-height: 52px;
  border: 1px solid rgba(7, 17, 38, 0.16);
  border-radius: 3px;
  background: #fbfaf6;
  color: #071126;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

body.join-page #join-form input:focus,
body.join-page #join-form select:focus,
body.join-page #join-form textarea:focus {
  border-color: #caa95b;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(202, 169, 91, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.join-page .role-selector {
  gap: 12px;
  padding-top: 6px;
}

body.join-page .role-selector label {
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(7, 17, 38, 0.16);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(7, 17, 38, 0.04);
}

body.join-page .role-selector label:hover,
body.join-page .role-selector label:focus-within {
  border-color: rgba(202, 169, 91, 0.58);
  background: #fffdf7;
}

body.join-page .role-selector label:has(input:checked) {
  border-color: #caa95b;
  background: linear-gradient(180deg, rgba(202, 169, 91, 0.16), rgba(255, 255, 255, 0.96));
  color: #071126;
}

body.join-page .consent-label {
  border-radius: 3px;
  background: #f7f3e8;
}

body.join-page #join-form .consent-label {
  position: relative;
  display: block;
  padding: 16px 16px 16px 52px;
  color: #3f4b5c;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.58;
  text-transform: none;
}

body.join-page #join-form .consent-label::after {
  content: none;
}

body.join-page #join-form .consent-label input[type="checkbox"],
body.join-page #join-form .role-selector input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 auto;
  margin-top: 3px;
  box-shadow: none;
}

body.join-page #join-form .consent-label input[type="checkbox"] {
  position: absolute;
  top: 18px;
  left: 18px;
  margin: 0;
}

body.join-page #join-form .consent-label a {
  color: #0b2f77;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

body.join-page .form-privacy {
  border-left: 3px solid #caa95b;
  border-radius: 2px;
  background: #f7f3e8;
}

body.join-page #join-form button[type="submit"] {
  margin-top: 16px;
  min-height: 54px;
  border-radius: 3px;
  background: linear-gradient(135deg, #061022 0%, #0c2351 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(7, 17, 38, 0.22);
}

body.join-page #join-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #0b1f48 0%, #12306c 100%);
  box-shadow: 0 22px 42px rgba(7, 17, 38, 0.28);
}

body.join-page #wings {
  margin-top: 58px !important;
  padding: 34px !important;
  border: 1px solid rgba(202, 169, 91, 0.3) !important;
  border-top: 4px solid #caa95b !important;
  border-radius: 3px !important;
  background:
    linear-gradient(135deg, rgba(6, 16, 34, 0.98), rgba(10, 29, 66, 0.96)) !important;
  box-shadow: 0 24px 56px rgba(7, 17, 38, 0.16);
}

body.join-page #wings h3 {
  margin-bottom: 20px !important;
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.join-page #wings>div {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.join-page #wings>div>div {
  padding: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-left: 3px solid rgba(202, 169, 91, 0.72) !important;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  box-shadow: none !important;
}

body.join-page #wings>div>div:nth-child(5) {
  grid-column: 1 / -1 !important;
}

body.join-page #wings strong {
  display: block !important;
  margin-bottom: 8px !important;
  color: transparent !important;
  font-size: 0 !important;
}

body.join-page #wings strong::after {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(202, 169, 91, 0.48);
  border-radius: 2px;
  background: rgba(202, 169, 91, 0.12);
  color: #f2d98b;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.join-page #wings>div>div:nth-child(1) strong::after {
  content: "Youth Wing";
}

body.join-page #wings>div>div:nth-child(2) strong::after {
  content: "Women's Wing";
}

body.join-page #wings>div>div:nth-child(3) strong::after {
  content: "Tribal Wing";
}

body.join-page #wings>div>div:nth-child(4) strong::after {
  content: "Farmer's Wing";
}

body.join-page #wings>div>div:nth-child(5) strong::after {
  content: "Professional Support";
}

body.join-page #wings span {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.94rem !important;
  line-height: 1.66 !important;
}

body.join-page .success-message,
body.join-page .form-success {
  border: 1px solid rgba(202, 169, 91, 0.4);
  border-top: 5px solid #caa95b;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 239, 0.98)),
    #ffffff;
  box-shadow: 0 26px 66px rgba(7, 17, 38, 0.14);
}

body.join-page .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(202, 169, 91, 0.7);
  border-radius: 50%;
  background: #071126;
  color: #f1d98a;
  font-size: 0 !important;
  box-shadow: 0 14px 30px rgba(7, 17, 38, 0.18);
}

body.join-page .success-icon::before {
  content: "OJC";
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body.join-page .success-message h3,
body.join-page .success-headline {
  color: #071126;
}

body.join-page .share-row,
body.join-page .success-share-actions {
  justify-content: center;
  gap: 12px;
}

body.join-page .share-button,
body.join-page .success-share-btn,
body.join-page .success-next-link {
  border-radius: 3px;
}

body.join-page .district-grid-section {
  border-top: 1px solid rgba(202, 169, 91, 0.22);
  background:
    radial-gradient(circle at 14% 0%, rgba(202, 169, 91, 0.1), transparent 30%),
    linear-gradient(180deg, #061022 0%, #0b1f48 100%);
}

body.join-page .district-grid-section .section-title {
  color: #ffffff;
}

body.join-page .district-grid-section .section-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, #caa95b, transparent);
}

body.join-page .district-grid-section .section-lead {
  color: rgba(255, 255, 255, 0.76);
}

body.join-page .district-tag {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 3px solid rgba(202, 169, 91, 0.72);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

body.join-page .district-tag:hover {
  border-color: rgba(202, 169, 91, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  html body.join-page main .page-hero {
    min-height: auto;
    padding: calc(var(--nav-h, 72px) + 44px) 0 58px;
  }

  html body.join-page main .page-hero .page-hero-inner {
    width: min(100% - 32px, 1040px);
  }

  html body.join-page main .page-hero h1 {
    font-size: clamp(2.42rem, 13vw, 3.35rem);
    line-height: 1.04;
  }

  html body.join-page main .page-hero h1::after {
    width: 190px;
    margin-top: 20px;
  }

  html body.join-page main .page-hero .page-hero-sub {
    margin-top: 20px;
    padding: 17px 18px;
    font-size: 1rem;
    line-height: 1.66;
  }

  body.join-page #join-section {
    padding: 60px 0 66px;
  }

  body.join-page .join-layout {
    gap: 42px;
  }

  body.join-page .reasons-grid {
    gap: 16px;
  }

  body.join-page .reason-card,
  body.join-page .form-card {
    border-radius: 3px;
  }

  body.join-page #wings {
    margin-top: 42px !important;
    padding: 24px 20px !important;
  }

  body.join-page #wings>div {
    grid-template-columns: 1fr !important;
  }

  body.join-page #wings>div>div:nth-child(5) {
    grid-column: auto !important;
  }

  body.join-page .role-selector {
    grid-template-columns: 1fr;
  }

  body.join-page .role-selector label {
    min-height: 54px;
  }

  body.join-page .share-row,
  body.join-page .success-share-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.join-page .share-button,
  body.join-page .success-share-btn,
  body.join-page .success-next-link {
    width: 100%;
    justify-content: center;
  }

  body.join-page .district-grid-section {
    padding: 62px 0;
  }

  body.join-page .district-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.join-page .district-tag {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  html body.join-page main .page-hero h1 {
    font-size: clamp(2.1rem, 12vw, 2.75rem);
  }

  body.join-page .form-card {
    padding: 26px 18px;
  }

  body.join-page .district-grid {
    grid-template-columns: 1fr;
  }
}

html body.join-page main section.district-grid-section {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 0%, rgba(202, 169, 91, 0.1), transparent 30%),
    linear-gradient(180deg, #061022 0%, #0b1f48 100%) !important;
}

html body.join-page main section.district-grid-section .eyebrow,
html body.join-page main section.district-grid-section .section-title {
  color: #ffffff !important;
}

html body.join-page main section.district-grid-section .district-tag {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}