/* ============================================================
   BNI רום השרון — כך עושים עסקים
   Landing page stylesheet (RTL, dark premium theme)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette — sampled from the chapter logo */
  --purple: #7c1ef0;
  --violet: #9c0ccc;
  --magenta: #c90e74;
  --red: #ef1d3f;
  --pink: #fc4d72;
  --gold: #fcca0c;
  --amber: #fc9d0c;

  --grad: linear-gradient(115deg, var(--purple) 0%, var(--magenta) 42%, var(--red) 70%, var(--amber) 100%);
  --grad-soft: linear-gradient(115deg, rgba(124, 30, 240, .16), rgba(201, 14, 116, .16) 45%, rgba(239, 29, 63, .16) 75%, rgba(252, 157, 12, .16));

  /* Surfaces */
  --bg: #0d0913;
  --bg-2: #120d1b;
  --bg-3: #171022;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .18);

  /* Text */
  --text: #f6f3fb;
  --text-2: #beb3d2;
  --text-3: #9187a6;

  /* Type */
  --font-body: "Heebo", "Segoe UI", Tahoma, sans-serif;
  /* Headings deliberately share the body face — kept as its own token so a
     display font can be reintroduced in one place if ever wanted. */
  --font-display: var(--font-body);

  /* Layout */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, .55);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* Skip link (a11y) */
.skip-link {
  position: absolute; top: -60px; right: 16px; z-index: 300;
  background: var(--gold); color: #201500; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 12px 12px; transition: top .25s;
}
.skip-link:focus { top: 0; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 700px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 600; font-size: .95rem; letter-spacing: .06em;
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700; line-height: 1.25;
}
.section-sub { color: var(--text-2); margin-top: 14px; font-size: 1.06rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; line-height: 1;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 34px -10px rgba(201, 14, 116, .55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -10px rgba(239, 29, 63, .6); }

.btn-ghost {
  border: 1px solid var(--border-strong); color: var(--text);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.btn-lg { padding: 18px 42px; font-size: 1.1rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.scrolled {
  background: rgba(13, 9, 19, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; }

/* Brand lockup: symbol + wordmark + BNI mark */
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-symbol { height: 44px; width: auto; }
.brand-text { line-height: 1.18; }
.brand-name { font-weight: 800; font-size: 1.22rem; letter-spacing: .01em; }
.brand-tag { font-size: .78rem; color: var(--text-2); font-weight: 400; letter-spacing: .05em; }
.brand-sep { width: 1px; height: 34px; background: var(--border-strong); margin-inline: 4px; }
.brand-bni { height: 20px; width: auto; opacity: .95; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  padding: 9px 14px; border-radius: 10px; font-size: .98rem; font-weight: 500;
  color: var(--text-2); transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); background: var(--surface-2); }

.header-cta { flex: none; padding: 12px 24px; font-size: .95rem; }

/* Burger (mobile) */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-inline-start: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 40px;
  position: relative; overflow: hidden;
}

/* Ambient gradient mesh */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero::before {
  width: 640px; height: 640px; top: -180px; inset-inline-start: -140px;
  background: radial-gradient(circle, rgba(124, 30, 240, .34), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero::after {
  width: 560px; height: 560px; bottom: -200px; inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(239, 29, 63, .22), transparent 62%);
  animation: drift 17s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

/* Giant watermark symbol */
.hero-watermark {
  position: absolute; inset-inline-end: -6%; top: 50%;
  width: min(54vw, 700px); transform: translateY(-50%) rotate(8deg);
  opacity: .07; pointer-events: none; user-select: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-size: .92rem; color: var(--text-2); margin-bottom: 26px;
}
.hero-badge img { height: 15px; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252, 202, 12, .5); }
  55% { box-shadow: 0 0 0 8px rgba(252, 202, 12, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 4.9rem);
  font-weight: 900; line-height: 1.12;
}
.hero h1 .line-2 { display: block; }

.hero-sub {
  margin-top: 24px; font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-2); max-width: 620px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .95rem; color: var(--text-2);
}
.meta-chip svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 26px; inset-inline: 0; z-index: 2;
  display: flex; justify-content: center; opacity: .55;
}
.scroll-hint span {
  width: 26px; height: 42px; border: 2px solid var(--text-3); border-radius: 14px; position: relative;
}
.scroll-hint span::after {
  content: ""; position: absolute; top: 7px; inset-inline-start: 50%; translate: -50% 0;
  width: 4px; height: 8px; border-radius: 4px; background: var(--gold);
  animation: scrollDot 1.8s infinite;
}
[dir="rtl"] .scroll-hint span::after { translate: 50% 0; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band { border-block: 1px solid var(--border); background: var(--bg-2); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { color: var(--text-2); font-size: .98rem; margin-top: 6px; }

/* ============================================================
   Value cards
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 26px; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, background .3s;
}
.value-card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.value-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.value-card:hover::before { opacity: 1; }

.value-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-soft); border: 1px solid var(--border);
}
.value-icon svg { width: 27px; height: 27px; color: var(--gold); }
.value-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { color: var(--text-2); font-size: .97rem; }

/* ============================================================
   Meeting agenda (timeline)
   ============================================================ */
.agenda-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.agenda-info h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.25; }
.agenda-info > p { color: var(--text-2); margin-top: 18px; font-size: 1.05rem; }

.agenda-place {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.agenda-place .row { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.agenda-place .row svg { width: 19px; height: 19px; color: var(--gold); flex: none; }
.agenda-place .row strong { color: var(--text); font-weight: 600; }
.place-links { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.place-links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .9rem; color: var(--gold); font-weight: 600;
  padding: 7px 14px; border: 1px solid rgba(252, 202, 12, .35); border-radius: 999px;
  transition: background .2s, color .2s;
}
.place-links a:hover { background: var(--gold); color: #201500; }
.place-links svg { width: 15px; height: 15px; }

.timeline { position: relative; padding-inline-start: 30px; }
.timeline::before {
  content: ""; position: absolute; inset-inline-start: 9px; top: 12px; bottom: 12px;
  width: 2px; background: linear-gradient(180deg, var(--purple), var(--magenta), var(--red), var(--amber));
  border-radius: 2px;
}
.timeline li { position: relative; padding: 16px 0 16px; }
.timeline li + li { border-top: 1px dashed var(--border); }
.timeline .t-dot {
  position: absolute; inset-inline-start: -30px; top: 26px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--pink);
  display: grid; place-items: center;
}
.timeline .t-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.timeline time { font-size: .85rem; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.timeline h3 { font-size: 1.12rem; font-weight: 700; margin: 3px 0 4px; }
.timeline p { color: var(--text-2); font-size: .95rem; }

/* ============================================================
   Atmosphere gallery
   ============================================================ */
/* Its own tinted band — this section sits between two plain-background
   sections and would otherwise blend into the one after it. */
#gallery {
  background:
    radial-gradient(130% 110% at 78% -10%, rgba(124, 30, 240, .17), transparent 58%),
    radial-gradient(110% 100% at 12% 110%, rgba(239, 29, 63, .13), transparent 60%),
    var(--bg-3);
  border-block: 1px solid var(--border);
}
#gallery .section-title .line-2 { display: block; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.gallery-grid figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: transform .35s, border-color .35s;
}
.gallery-grid figure:hover { transform: translateY(-6px); border-color: var(--border-strong); }

.gallery-grid img {
  /* height:auto is required — the width/height attributes (kept to reserve
     layout space) would otherwise win over aspect-ratio. */
  width: 100%; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}
.gallery-grid figure:hover img { transform: scale(1.06); }

.gallery-grid figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 42px 20px 18px; color: #fff;
  font-size: .97rem; font-weight: 600; line-height: 1.4;
  background: linear-gradient(0deg, rgba(10, 7, 16, .93) 12%, rgba(10, 7, 16, .55) 55%, transparent);
}

/* ============================================================
   Leadership
   ============================================================ */
.leaders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 980px; margin-inline: auto; }
.leader-card {
  text-align: center; padding: 38px 26px 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.leader-card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 110px;
  background: var(--grad-soft); opacity: .5;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.leader-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.leader-photo {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 18px; position: relative;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box;
}
.leader-role {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .05em;
  color: var(--gold); border: 1px solid rgba(252, 202, 12, .4); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 12px;
}
.leader-card h3 { font-size: 1.3rem; font-weight: 800; }
.leader-card .leader-biz { color: var(--text-2); font-size: .95rem; margin-top: 5px; }

/* ============================================================
   Members
   ============================================================ */
.members-tools { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.member-search { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.member-search input {
  width: 100%; padding: 14px 48px 14px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); font: inherit; font-size: .98rem;
  transition: border-color .2s, background .2s;
}
.member-search input::placeholder { color: var(--text-3); }
.member-search input:focus { outline: none; border-color: var(--magenta); background: var(--surface-2); }
.member-search svg {
  position: absolute; inset-inline-end: 18px; top: 50%; translate: 0 -50%;
  width: 18px; height: 18px; color: var(--text-3); pointer-events: none;
}

.members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.member-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 20px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .3s, border-color .3s, background .3s, opacity .3s;
}
.member-card:hover { transform: translateY(-5px); background: var(--surface-2); border-color: var(--border-strong); }
.member-card.hidden { display: none; }

.member-photo-wrap { position: relative; margin-bottom: 16px; }
.member-photo {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box;
  transition: transform .3s;
}
.member-card:hover .member-photo { transform: scale(1.05); }
/* Shown when a member hasn't supplied a photo. Keeps the same gradient ring as
   the real avatars so the grid stays even, but stays quiet inside the ring. */
.member-initials {
  width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
  letter-spacing: .02em; color: var(--text-2);
  border: 3px solid transparent;
  background: linear-gradient(150deg, #241a33, #1b1327) padding-box, var(--grad) border-box;
}

.member-card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.member-prof { color: var(--gold); font-size: .88rem; font-weight: 600; margin-top: 4px; }
.member-company { color: var(--text-2); font-size: .88rem; margin-top: 5px; min-height: 2.4em; }

.member-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
  transition: all .22s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { transform: translateY(-3px); color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 8px 18px -6px rgba(201, 14, 116, .5); }

.members-empty { text-align: center; color: var(--text-3); padding: 40px 0; display: none; }

/* ============================================================
   About BNI band
   ============================================================ */
.about-bni { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.25; }
.about-text p { color: var(--text-2); margin-top: 16px; font-size: 1.03rem; }
.about-text .btn { margin-top: 26px; }

.about-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow);
}
.about-panel img { height: 40px; margin-bottom: 22px; }
.about-facts { display: grid; gap: 0; }
.about-facts li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed var(--border);
}
.about-facts li:last-child { border-bottom: none; }
/* Isolated LTR so the "+" stays in front of the number instead of being
   flipped to the far side by the surrounding RTL context. */
.about-facts .fact-num {
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
  color: var(--gold); white-space: nowrap;
  direction: ltr; unicode-bidi: isolate;
}
.about-facts .fact-label { color: var(--text-2); font-size: .96rem; }

/* ============================================================
   Register / contact form
   ============================================================ */
.register { position: relative; overflow: hidden; }
.register::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 30, 240, .16), transparent 65%);
  top: -260px; inset-inline-start: -200px; filter: blur(60px); pointer-events: none;
}
.register-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: start; position: relative; z-index: 1; }

.register-info h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.22; }
.register-info > p { color: var(--text-2); margin-top: 16px; font-size: 1.04rem; }

.register-points { margin-top: 28px; display: grid; gap: 16px; }
.register-points li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-2); }
.register-points svg { width: 21px; height: 21px; color: var(--gold); flex: none; margin-top: 2px; }
.register-points strong { color: var(--text); }

.form-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.form-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
/* The intro sits inside the <form>, so a child combinator on .form-card misses it.
   `form > p` still excludes .form-note, which lives inside .form-grid. */
.form-card form > p { color: var(--text-2); font-size: .95rem; line-height: 1.6; margin-bottom: 34px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 600; color: var(--text-2); }
.form-field label .req { color: var(--pink); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px; border-radius: 12px;
  background: rgba(13, 9, 19, .55); border: 1px solid var(--border);
  color: var(--text); font: inherit; font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 92px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(201, 14, 116, .22);
}
.form-field input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 29, 63, .18); }
.field-error { font-size: .82rem; color: var(--pink); min-height: 1em; }

.form-submit { grid-column: 1 / -1; margin-top: 6px; width: 100%; }
.form-note { grid-column: 1 / -1; font-size: .84rem; color: var(--text-3); text-align: center; }

.form-success {
  display: none; text-align: center; padding: 34px 10px;
}
.form-success.show { display: block; }
.form-success .success-icon {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(201, 14, 116, .6);
}
.form-success .success-icon svg { width: 34px; height: 34px; color: #fff; }
.form-success h4 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--text-2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s;
}
.faq-item.open { border-color: var(--border-strong); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: start; font-weight: 700; font-size: 1.05rem;
}
.faq-q .faq-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong); color: var(--gold);
  transition: transform .3s, background .3s, color .3s;
}
.faq-q .faq-icon svg { width: 15px; height: 15px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #201500; border-color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--text-2); font-size: .99rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #0a0710; border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .brand-symbol { height: 52px; }
.footer-brand p { color: var(--text-3); font-size: .93rem; margin-top: 16px; max-width: 340px; }
.footer-logos { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.footer-logos img { height: 26px; opacity: .85; }
.footer-col h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 16px; color: var(--gold); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: var(--text-2); font-size: .95rem; }
.footer-col a:hover { color: var(--text); }
.footer-col .row { display: flex; gap: 10px; align-items: flex-start; }
.footer-col .row svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-bottom {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: var(--text-3); font-size: .85rem;
}

/* Build credit — matches the treatment used across BizDesign-built sites */
.bd-credit {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .35); font-weight: 700;
  transition: color .2s;
}
.bd-credit .logo-icon { width: 17px; height: auto; display: block; }
.bd-credit:hover { color: #00a0ff; }

/* Floating WhatsApp */
.float-wa {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .55);
  transition: transform .25s;
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg { width: 30px; height: 30px; }

/* Back to top */
.to-top {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll (only when JS is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .members-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  /* Stack the gallery so faces stay large enough to read */
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: var(--header-h); inset-inline: 0; z-index: 190;
    background: rgba(13, 9, 19, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
    margin-inline-start: 0;
  }
  .main-nav.open { max-height: 60vh; }
  .main-nav ul { flex-direction: column; padding: 18px 6vw 26px; gap: 2px; }
  .main-nav a { display: block; padding: 13px 10px; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .agenda-wrap, .about-grid, .register-grid { grid-template-columns: 1fr; }
  .leaders-grid { grid-template-columns: 1fr; max-width: 440px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-watermark { width: 80vw; opacity: .05; }

  /* One value card per row, full width */
  .values-grid { grid-template-columns: 1fr; }

  /* The scroll cue is desktop-only decoration */
  .scroll-hint { display: none; }
}

@media (max-width: 700px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .member-card { padding: 22px 12px 18px; }
  .member-photo, .member-initials { width: 92px; height: 92px; }
  .form-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1.05rem; }
  .brand-symbol { height: 38px; }
  .brand-bni { height: 16px; }
}

@media (max-width: 430px) {
  .members-grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .hero-actions .btn { width: 100%; }
  .float-wa { width: 52px; height: 52px; bottom: 18px; inset-inline-start: 18px; }
  .to-top { bottom: 18px; inset-inline-end: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   === WP adaptations ===
   Everything above this line is the static design stylesheet,
   copied verbatim. Below: WordPress / plugin integration only.
   ============================================================ */

/* ---------- Admin bar ----------
   The admin bar is fixed above the fixed site header for logged-in users. */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* ---------- Media Library images ----------
   wp_get_attachment_image() emits width/height attributes; the design sizes
   these logos with `height` (or `width`) alone, so release the other axis. */
.hero-badge img,
.about-panel img,
.footer-logos img { width: auto; }
.hero-watermark { height: auto; }

/* ---------- Accessibility ---------- */
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute;
  white-space: nowrap; word-wrap: normal !important;
}

/* ============================================================
   Contact Form 7 — the plugin owns the <form>, so re-attach the
   design's field styling to its wrappers.
   ============================================================ */

/* The intro paragraph now sits directly in .form-card (it used to be a
   child of the static <form>). .form-note keeps its own smaller style. */
.form-card > p:not(.form-note) {
  color: var(--text-2); font-size: .95rem; line-height: 1.6; margin-bottom: 34px;
}

/* CF7 wraps every control in a <span>; make it behave like a block child,
   and let the <label> stack its text above the control like the static markup. */
.form-field label { display: block; }
.form-field .wpcf7-form-control-wrap { display: block; margin-top: 7px; }

/* Validation tips get the .field-error look. */
.wpcf7-not-valid-tip {
  display: block; margin-top: 7px;
  font-size: .82rem; color: var(--pink); min-height: 1em;
}
.form-field input.wpcf7-not-valid,
.form-field select.wpcf7-not-valid,
.form-field textarea.wpcf7-not-valid {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 29, 63, .18);
}

/* Form-level response message. */
.wpcf7-response-output {
  margin: 18px 0 0; padding: 12px 16px;
  border: 1px solid var(--border-strong); border-radius: 12px;
  font-size: .9rem; line-height: 1.5; color: var(--text-2); text-align: center;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: var(--red); color: var(--pink);
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--gold); color: var(--gold); }

/* Submit button + spinner sit on the full grid width. */
.form-grid .wpcf7-submit { grid-column: 1 / -1; margin-top: 6px; width: 100%; }
.form-grid .wpcf7-spinner { grid-column: 1 / -1; margin: 0 auto; }

/* ============================================================
   Accessible Poetry (AccessibleWP) — brand colors + position.
   Same override approach as the nirscop build, mapped to this
   site's palette (brand purple instead of nirscop green).
   !important is required: the plugin's own rules win on
   specificity/source order otherwise.
   ============================================================ */
html #acwp-toolbar-btn-wrap {
  border: none;
}
html #acwp-toolbar-btn,
html .acwp-heading,
html input:checked + .acwp-switch {
  background-color: #7c1ef0 !important; /* --purple */
}
html #acwp-toolbar-btn {
  border-color: #7c1ef0 !important;
}
html body #acwp-toolbar-btn:hover,
html body #acwp-toolbar-btn:focus {
  border-color: #fff !important;
  background-color: #9750f3 !important; /* lighter purple tint */
}
html #acwp-toolbar.acwp-style-columns .acwp-toggler input:checked + .acwp-switch {
  background-color: #7c1ef0 !important;
}

/* Pin the toggle to the LEFT edge, above the to-top arrow (RTL: .to-top
   uses inset-inline-end → left). to-top: 46px tall at bottom 26px →
   toolbar starts at 26+46+12 = 84px. Physical `left` on purpose: the site
   is RTL-only, and a fresh plugin install has no side class
   (`acwp-right`/`acwp-left`) to hook onto. */
html body #acwp-toolbar-btn-wrap,
html body #acwp-toolbar-btn-wrap.acwp-right,
html body #acwp-toolbar-btn-wrap.acwp-left,
html body #acwp-toolbar-btn-wrap.show {
  top: auto !important;
  bottom: 84px !important;
  left: 26px !important;
  right: auto !important;
  margin-top: 0 !important;
}
@media (max-width: 430px) {
  /* to-top moves to bottom 18px on small screens. */
  html body #acwp-toolbar-btn-wrap,
  html body #acwp-toolbar-btn-wrap.show {
    bottom: 76px !important;
    left: 18px !important;
  }
}
