/* ===== JOIN PAGE ===== */

nav a.nav-active { color: var(--saffron); border-bottom: 2px solid var(--saffron); padding-bottom: 2px; }

/* ── HERO + FORM ──────────────────────────────────── */
.jh-section {
  position: relative;
  min-height: 580px;
  background: linear-gradient(135deg, #fff5ee 0%, #fdf3e8 50%, #f0fff4 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}
.jh-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,.92) 55%, rgba(255,255,255,.1) 100%),
    linear-gradient(180deg, rgba(255,106,0,.12) 0%, rgba(255,255,255,0) 33%, rgba(19,136,8,.1) 100%);
}
/* tricolor right strip */
.jh-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(255,106,0,.2) 0%,
    rgba(255,255,255,.05) 33%,
    rgba(19,136,8,.18) 100%);
  z-index: 0;
}
.jh-portrait {
  position: absolute;
  right: 28%;
  bottom: 0;
  height: 520px;
  object-fit: contain;
  z-index: 1;
  animation: floatUp .8s ease both;
}
.jh-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}
.jh-left h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
}
.jh-left h1 span { color: var(--saffron); }
.jh-left > p { font-size: .95rem; color: #555; line-height: 1.7; margin-bottom: 28px; }
.jh-points { display: flex; flex-direction: column; gap: 16px; }
.jh-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,.85);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.jh-point-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.jh-point-icon.orange { background: rgba(255,106,0,.12); color: var(--saffron); }
.jh-point-icon.green  { background: rgba(19,136,8,.12);  color: var(--green); }
.jh-point strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 2px; }
.jh-point span   { font-size: .78rem; color: #666; line-height: 1.4; }

/* FORM */
.jh-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 12px 48px rgba(0,0,0,.14);
  position: relative;
  z-index: 3;
}
.jh-form-wrap h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; color: var(--dark); }
.jh-form-wrap h3 span { color: var(--saffron); }
.jh-success {
  background: #e6f9ee; border: 1px solid var(--green); color: var(--green);
  padding: 10px 14px; border-radius: 8px; font-size: .82rem; font-weight: 600;
  margin-bottom: 14px;
}
.jh-field {
  position: relative;
  margin-bottom: 12px;
}
.jh-field i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: .85rem;
  pointer-events: none;
}
.jh-field--ta i { top: 14px; transform: none; }
.jh-field input,
.jh-field select,
.jh-field textarea {
  width: 100%;
  padding: 11px 12px 11px 36px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: .85rem;
  font-family: inherit;
  outline: none;
  transition: .2s;
  background: #fafafa;
  color: var(--dark);
}
.jh-field input:focus,
.jh-field select:focus,
.jh-field textarea:focus { border-color: var(--saffron); background: #fff; box-shadow: 0 0 0 3px rgba(255,106,0,.08); }
.jh-field textarea { padding-left: 12px; resize: vertical; min-height: 72px; }
.jh-submit { width: 100%; font-size: .95rem; padding: 13px; margin-top: 4px; }
.jh-privacy { font-size: .72rem; color: #aaa; text-align: center; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* ── SECTION COMMON ───────────────────────────────── */
.j-section { padding: 70px 0; background: #fff; }
.j-head { text-align: center; margin-bottom: 40px; }
.j-head h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.j-line { display: flex; gap: 5px; justify-content: center; }
.ol { display: block; width: 40px; height: 3px; background: var(--saffron); border-radius: 2px; }
.gl { display: block; width: 24px; height: 3px; background: var(--green);   border-radius: 2px; }

/* ── HOW TO JOIN ──────────────────────────────────── */
.j-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.j-opt-card {
  border: 1px solid #f0e8e0;
  border-radius: 14px;
  padding: 28px 20px 22px;
  text-align: center;
  transition: .3s;
  opacity: 0;
  transform: translateY(20px);
}
.j-opt-card.in { opacity: 1; transform: translateY(0); }
.j-opt-card:nth-child(2) { transition-delay: .08s; }
.j-opt-card:nth-child(3) { transition-delay: .16s; }
.j-opt-card:nth-child(4) { transition-delay: .24s; }
.j-opt-card:hover { box-shadow: 0 10px 32px rgba(255,106,0,.14); transform: translateY(-6px); }
.j-opt-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.j-opt-icon.orange { background: rgba(255,106,0,.1); color: var(--saffron); }
.j-opt-icon.green  { background: rgba(19,136,8,.1);  color: var(--green); }
.j-opt-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.j-opt-card p  { font-size: .8rem; color: #666; line-height: 1.6; margin-bottom: 16px; }
.j-opt-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  transition: .2s;
  border: 2px solid;
}
.j-opt-btn.orange { border-color: var(--saffron); color: var(--saffron); }
.j-opt-btn.orange:hover { background: var(--saffron); color: #fff; }
.j-opt-btn.green  { border-color: var(--green); color: var(--green); }
.j-opt-btn.green:hover  { background: var(--green); color: #fff; }

/* ── BENEFITS ─────────────────────────────────────── */
.j-benefits-section { background: var(--light); }
.j-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.j-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  opacity: 0;
  transform: translateY(14px);
  transition: .35s;
}
.j-benefit.in { opacity: 1; transform: translateY(0); }
.j-benefit:nth-child(2) { transition-delay: .06s; }
.j-benefit:nth-child(3) { transition-delay: .12s; }
.j-benefit:nth-child(4) { transition-delay: .18s; }
.j-benefit:nth-child(5) { transition-delay: .24s; }
.j-benefit i { color: var(--green); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.j-benefit span { font-size: .82rem; color: #444; line-height: 1.5; font-weight: 500; }

/* ── COMMUNITY GALLERY ────────────────────────────── */
.j-gallery-section { background: #fff; }
.j-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.j-gal-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: scale(.96);
  transition: .4s;
}
.j-gal-item.in { opacity: 1; transform: scale(1); }
.j-gal-item:nth-child(2) { transition-delay: .06s; }
.j-gal-item:nth-child(3) { transition-delay: .12s; }
.j-gal-item:nth-child(4) { transition-delay: .18s; }
.j-gal-item:nth-child(5) { transition-delay: .24s; }
.j-gal-item img { width: 100%; height: 160px; object-fit: cover; display: block; transition: .4s; }
.j-gal-item:hover img { transform: scale(1.07); }
.j-gal-overlay {
  position: absolute; inset: 0;
  background: rgba(255,106,0,.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  opacity: 0; transition: .3s;
}
.j-gal-item:hover .j-gal-overlay { opacity: 1; }

/* ── CTA ──────────────────────────────────────────── */
.j-cta {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background: var(--saffron);
}
.j-cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.1) 100%);
}
.j-cta-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.j-cta-inner h2 { font-size: 1.8rem; font-weight: 800; color: #fff; }
.j-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.j-cta .btn-primary { background: #fff; color: var(--saffron); }
.j-cta .btn-primary:hover { background: var(--dark); color: #fff; }
.j-btn-green {
  background: var(--green); color: #fff;
  padding: 12px 28px; border-radius: 6px;
  font-weight: 700; display: inline-block;
  transition: .3s; font-family: inherit;
}
.j-btn-green:hover { background: #0f6b06; }

/* ── SCROLL TOP ───────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--saffron); color: #fff;
  border: none; border-radius: 50%;
  font-size: 1rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: .3s; z-index: 999;
  box-shadow: 0 4px 16px rgba(255,106,0,.4);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media(max-width:1100px) {
  .j-benefits-grid { grid-template-columns: repeat(3,1fr); }
  .j-gallery-grid  { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:992px) {
  .jh-wrap { grid-template-columns: 1fr; }
  .jh-portrait { display: none !important; }
  .jh-section::after { display: none; }
  .j-options-grid { grid-template-columns: repeat(2,1fr); }
  .j-cta-inner { flex-direction: column; text-align: center; }
  .j-cta-btns { justify-content: center; }
}
@media(max-width:640px) {
  nav, .header .btn-primary { display: none; }
  .hamburger { display: block; }
  .jh-left h1 { font-size: 2.2rem; }
  .j-options-grid { grid-template-columns: 1fr; }
  .j-benefits-grid { grid-template-columns: repeat(2,1fr); }
  .j-gallery-grid  { grid-template-columns: repeat(2,1fr); }
}

/* ── FONT INHERIT ─────────────────────────────────── */
input, select, textarea, button { font-family: 'Poppins', sans-serif; }

/* ── FLOAT UP KEYFRAME ────────────────────────────── */
@keyframes floatUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
