/* ==================================================================
   RABBI · LUBAVITCH.PRO — page-specific components
   (homepage, sponsoring, contact) — extends styles.css
   ================================================================== */

/* ---- centered section head ---- */
.sechead--center { flex-direction: column; align-items: center; text-align: center; }
.sechead--center .htxt .kick { justify-content: center; }
.sechead--center p { margin-left: auto; margin-right: auto; }

/* ==================================================================
   Home hero — Chashmal (Ezekiel 1:4: "the gleam of electricity")
   ================================================================== */
.hero--home { padding: 86px 0 72px; text-align: center; }
.hero--home .hero__bolt { z-index: 0; }
.hero--home .home-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero--home .eyebrow { margin-bottom: 26px; }
.hero--home h1 {
  font-family: var(--serif); font-weight: 700; line-height: .98; letter-spacing: -.01em;
  font-size: clamp(48px, 8vw, 96px); margin-bottom: 18px;
}
.hero--home h1 .glow { color: var(--cyan-bright); text-shadow: var(--glow-lg); }
.hero--home .tagline { font-family: var(--tech); font-size: clamp(18px, 2.4vw, 26px); color: var(--ink-2); max-width: 22ch; margin-bottom: 36px; }
.hero--home .hero__cta { justify-content: center; }

/* the verse plate — glowing chashmal */
.chashmal {
  margin-top: 56px; max-width: 880px; width: 100%;
  border-radius: var(--r-xl); padding: 38px 44px;
  background: linear-gradient(150deg, rgba(var(--accent-rgb),0.10), rgba(var(--accent2-rgb),0.08));
  border: 1px solid var(--line-bright); box-shadow: var(--glow-md);
  position: relative; overflow: hidden;
}
.chashmal::before {
  content: "חשמל"; position: absolute; right: 24px; top: -28px;
  font-family: var(--serif); font-size: 150px; color: var(--cyan); opacity: .07; pointer-events: none;
}
.chashmal .he {
  font-family: var(--serif); direction: rtl; font-size: clamp(24px, 3vw, 38px);
  color: var(--cyan-bright); text-shadow: var(--glow-md); line-height: 1.5; margin-bottom: 16px;
}
.chashmal .src { font-family: var(--tech); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.chashmal .tr { color: var(--ink-2); font-size: var(--t-small); max-width: 62ch; margin: 0 auto; line-height: 1.6; }

/* ==================================================================
   Three pillars
   ================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  position: relative; padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, box-shadow .25s, transform .18s;
}
.pillar:hover { border-color: var(--line-bright); box-shadow: var(--glow-md); transform: translateY(-4px); }
.pillar__num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--cyan); text-shadow: var(--glow-sm); }
.pillar__num::after { content: ""; display: block; width: 40px; height: 1px; margin-top: 14px; background: linear-gradient(90deg, var(--cyan), transparent); box-shadow: var(--glow-sm); }
.pillar h3 { font-family: var(--serif); font-size: 23px; font-weight: 700; margin: 18px 0 12px; }
.pillar p { color: var(--muted); font-size: var(--t-small); }

/* ==================================================================
   Split feature (digital twin)
   ================================================================== */
.twin {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  border-radius: var(--r-xl); padding: 52px; border: 1px solid var(--line-bright);
  background: radial-gradient(600px 360px at 90% 10%, rgba(var(--accent2-rgb),0.16), transparent 60%), linear-gradient(150deg, var(--surface-2), var(--bg-2));
  box-shadow: var(--glow-md);
}
.twin .eyebrow { margin-bottom: 16px; }
.twin h2 { font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: 1.1; margin-bottom: 16px; }
.twin h2 em { font-style: normal; color: var(--cyan-bright); text-shadow: var(--glow-md); }
.twin p { color: var(--ink-2); margin-bottom: 26px; max-width: 46ch; }
.twin__viz { position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-3); overflow: hidden; display: grid; place-items: center; }
.twin__viz .aleph { font-family: var(--serif); font-size: 180px; color: var(--cyan); opacity: .5; text-shadow: var(--glow-lg); }
.twin__viz .ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line-bright); animation: spin 26s linear infinite; }
.twin__viz .ring.r2 { width: 56%; border-style: solid; animation-duration: 18s; animation-direction: reverse; }

/* ==================================================================
   Rabbi grid
   ================================================================== */
.rabbi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rabbicard {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); cursor: pointer;
  transition: transform .16s, border-color .2s, box-shadow .25s;
}
.rabbicard:hover { transform: translateY(-4px); border-color: var(--line-bright); box-shadow: var(--glow-md); }
.rabbicard__top { display: flex; align-items: center; gap: 14px; }
.rabbicard__av {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--cyan-bright);
  background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb),0.28), var(--surface-2));
  border: 1px solid var(--line-bright); box-shadow: var(--glow-sm);
}
.rabbicard__av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rabbicard__name { font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.15; }
.rabbicard__role { color: var(--muted); font-size: 13px; min-height: 3em; }
.rabbicard__open { font-family: var(--tech); font-size: 13px; color: var(--cyan); display: flex; align-items: center; gap: 7px; margin-top: auto; }
.rabbicard:hover .rabbicard__open { color: var(--cyan-bright); }
.rabbicard__open svg { transition: transform .16s; }
.rabbicard:hover .rabbicard__open svg { transform: translateX(3px); }

/* ==================================================================
   Role cards (students / sponsors / managers)
   ================================================================== */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rolecard {
  display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: transform .18s, border-color .2s, box-shadow .25s;
}
.rolecard:hover { transform: translateY(-4px); border-color: var(--line-bright); box-shadow: var(--glow-md); }
.rolecard__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--accent-rgb),0.12); border: 1px solid var(--line-bright); color: var(--cyan-bright); box-shadow: var(--glow-sm); }
.rolecard h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.rolecard p { color: var(--muted); font-size: var(--t-small); flex: 1; }
.rolecard a { font-family: var(--tech); font-size: 14px; font-weight: 600; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; }
.rolecard a:hover { color: var(--cyan-bright); }

/* ==================================================================
   Reach band
   ================================================================== */
.reach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.reach__item { padding: 28px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.reach__num { font-family: var(--tech); font-size: 48px; font-weight: 700; color: var(--cyan-bright); text-shadow: var(--glow-sm); line-height: 1; }
.reach__lab { font-family: var(--tech); font-size: 13px; color: var(--muted); margin-top: 10px; letter-spacing: .06em; }

/* ==================================================================
   Blessing band (birkat kohanim)
   ================================================================== */
.blessing { text-align: center; padding: 72px 0; }
.blessing .he { font-family: var(--serif); direction: rtl; font-size: clamp(34px, 5vw, 60px); color: var(--cyan-bright); text-shadow: var(--glow-lg); line-height: 1.3; }
.blessing .tr { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 24px); color: var(--ink-2); margin-top: 18px; font-style: italic; }

/* ==================================================================
   Page hero (sponsoring / contact)
   ================================================================== */
.pagehero { position: relative; padding: 72px 0 30px; overflow: hidden; }
.pagehero .hero__bolt { z-index: 0; }
.pagehero__inner { position: relative; z-index: 2; max-width: 760px; }
.pagehero .eyebrow { margin-bottom: 20px; }
.pagehero h1 { font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); font-weight: 700; line-height: 1; margin-bottom: 20px; }
.pagehero h1 em { font-style: normal; color: var(--cyan-bright); text-shadow: var(--glow-lg); }
.pagehero p { font-size: 19px; color: var(--ink-2); max-width: 58ch; }

/* ==================================================================
   Donor tiers
   ================================================================== */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tiercard {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .18s, border-color .2s, box-shadow .25s;
}
.tiercard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tier-c, var(--cyan)); box-shadow: 0 0 16px var(--tier-c, var(--cyan)); }
.tiercard:hover { transform: translateY(-5px); border-color: var(--line-bright); box-shadow: var(--glow-md); }
.tiercard__rank { font-family: var(--tech); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tiercard h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--tier-c, var(--cyan-bright)); }
.tiercard p { color: var(--ink-2); font-size: var(--t-small); flex: 1; }
.tiercard .badge { font-family: var(--serif); font-size: 30px; color: var(--tier-c, var(--cyan)); text-shadow: 0 0 18px var(--tier-c, var(--cyan)); }
.t-bronze  { --tier-c: #d89b5a; }
.t-silver  { --tier-c: #b9c6dd; }
.t-gold    { --tier-c: #ffce5a; }
.t-platinum{ --tier-c: #8af3ff; }

/* ==================================================================
   Donation channels + bank card
   ================================================================== */
.donch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.donch__item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.donch__item .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb),0.12); color: var(--cyan-bright); border: 1px solid var(--line-bright); }
.donch__item b { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 4px; }
.donch__item span { color: var(--muted); font-size: var(--t-small); }

.bankcard {
  border-radius: var(--r-lg); border: 1px solid var(--line-bright); padding: 36px;
  background: radial-gradient(500px 300px at 100% 0, rgba(var(--accent-rgb),0.12), transparent 60%), var(--surface);
  box-shadow: var(--glow-sm);
}
.bankcard h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.bankrow { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.bankrow:last-of-type { border-bottom: none; }
.bankrow .k { font-family: var(--tech); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.bankrow .v { font-family: var(--mono); font-size: 15px; color: var(--cyan-bright); }
.banknote { margin-top: 22px; padding: 16px 20px; border-radius: var(--r-md); background: rgba(255,206,90,0.08); border: 1px solid rgba(255,206,90,0.25); color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.banknote b { color: var(--gold); }

/* ==================================================================
   Contact cards + form
   ================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contactcard { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .25s; }
.contactcard:hover { border-color: var(--line-bright); box-shadow: var(--glow-sm); }
.contactcard h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.contactcard p { color: var(--muted); font-size: var(--t-small); margin-bottom: 14px; }
.contactcard a { font-family: var(--mono); font-size: 14px; color: var(--cyan); word-break: break-all; }
.contactcard a:hover { color: var(--cyan-bright); }
.contactcard .ph1 { display: block; margin-top: 8px; font-family: var(--tech); font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }

.cform { display: grid; gap: 18px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--tech); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: var(--t-small); color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; outline: none; transition: border-color .16s, box-shadow .16s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--line-bright); box-shadow: var(--glow-sm); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.cform__note { font-size: 13px; color: var(--muted); padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }

/* ==================================================================
   How-it-works steps (jak-funguje)
   ================================================================== */
.steps { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column; gap: 18px; max-width: 880px; }
.step {
  display: flex; gap: 22px; align-items: flex-start; padding: 28px 30px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  position: relative; transition: transform .18s, border-color .2s, box-shadow .25s;
}
.step:hover { transform: translateY(-3px); border-color: var(--line-bright); box-shadow: var(--glow-md); }
.step__num {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--cyan-bright);
  background: rgba(var(--accent-rgb), 0.12); border: 1px solid var(--line-bright); text-shadow: var(--glow-sm);
}
.step__body h3 { font-family: var(--serif); font-size: 23px; font-weight: 700; margin: 4px 0 10px; }
.step__body p { color: var(--ink-2); font-size: var(--t-small); max-width: 64ch; }

/* ==================================================================
   FAQ accordion (faq)
   ================================================================== */
[x-cloak] { display: none !important; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.faq__item.is-open { border-color: var(--line-bright); box-shadow: var(--glow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: start;
  font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink);
}
.faq__chev { color: var(--cyan); transition: transform .22s; flex: none; }
.faq__item.is-open .faq__chev { transform: rotate(180deg); color: var(--cyan-bright); }
.faq__a { padding: 0 24px 22px; }
.faq__a p { color: var(--ink-2); font-size: var(--t-small); line-height: 1.7; max-width: 70ch; }

/* ==================================================================
   Plans (plany) — grouped categories + plan cards
   ================================================================== */
.plangroup { margin-bottom: 40px; }
.plangroup__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.plangroup__ic {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 22px; background: rgba(var(--accent-rgb), 0.12); border: 1px solid var(--line-bright);
  color: var(--cyan-bright); box-shadow: var(--glow-sm);
}
.plangroup__head h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plancard {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 24px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: transform .18s, border-color .2s, box-shadow .25s;
}
.plancard:hover { transform: translateY(-4px); border-color: var(--line-bright); box-shadow: var(--glow-md); }
.plancard h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.2; }
.plancard p { color: var(--muted); font-size: var(--t-small); flex: 1; }
.plancard__open { font-family: var(--tech); font-size: 13px; color: var(--cyan); display: flex; align-items: center; gap: 7px; margin-top: auto; }
.plancard:hover .plancard__open { color: var(--cyan-bright); }

/* ==================================================================
   Auth (login / register) — cosmic shell card
   ================================================================== */
.pagehero--auth { padding-bottom: 10px; }
.authcard {
  display: flex; flex-direction: column; gap: 16px; padding: 34px 32px; text-align: center;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow-md);
}
.authcard__cta { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.authcard__note { color: var(--ink-2); font-size: var(--t-small); }
.authcard__soon { font-family: var(--tech); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.authcard__socials { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; opacity: .55; }
.authchip { font-family: var(--tech); font-size: 12.5px; color: var(--muted); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); }
.authcard__small { font-size: 13px; color: var(--muted); }
.authcard__small a { color: var(--cyan); }
.authcard__small a:hover { color: var(--cyan-bright); }

/* ==================================================================
   Responsive
   ================================================================== */
@media (max-width: 1080px) {
  .pillars, .role-grid, .reach { grid-template-columns: repeat(2, 1fr); }
  .rabbi-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .twin { grid-template-columns: 1fr; }
  .donch { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pillars, .role-grid, .reach, .rabbi-grid, .tier-grid, .plan-grid { grid-template-columns: 1fr; }
  .twin, .bankcard, .chashmal { padding: 28px 22px; }
  .step { padding: 22px 20px; gap: 16px; }
  .cform .row2 { grid-template-columns: 1fr; }
}
