/* ══════════════════════════════════════════════════════════════
   BeThere for Venues — B2B page components.
   Kept out of styles.css: only for-venues.html loads this, and the
   marketing home page should not pay for it.
   Uses the same design tokens as styles.css / themes.css.
   ══════════════════════════════════════════════════════════════ */

/* ── B2B hero ── */

.vhero {
  position: relative;
  padding: 140px 48px 80px;
  overflow: hidden;
}

.vhero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.vhero h1 {
  font-family: 'Epilogue', 'Inter', sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin: 18px 0 20px;
}

.vhero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 28px;
}

.vhero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.vhero-note {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 18px;
}

/* ── Dashboard mock — a flat, honest sketch of the real staff dashboard ── */

.vdash {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--glow-card);
}

.vdash-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.vdash-bar strong { font-size: 14px; }

.vdash-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--highlight);
}

.vdash-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.vdash-tile {
  background: var(--bg-card-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.vdash-tile b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vdash-tile span {
  font-size: 11px;
  color: var(--text-3);
}

.vdash-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-3);
  margin-bottom: 8px;
}

.vdash-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 7px 0;
}

.vdash-row span:first-child { color: var(--text-2); min-width: 78px; }

.vdash-meter {
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: var(--bg-card-high);
  overflow: hidden;
}

.vdash-meter i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary-dark), var(--accent));
}

.vdash-row b { font-variant-numeric: tabular-nums; font-size: 13px; }

/* ── Value grid ── */

.vsection { padding: 96px 48px; position: relative; }

.vsection-inner { max-width: 1160px; margin: 0 auto; }

.vsection-head { max-width: 720px; margin-bottom: 48px; }

.vsection-head h2 {
  font-family: 'Epilogue', 'Inter', sans-serif;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 14px 0 14px;
}

.vsection-head p { color: var(--text-2); font-size: 17px; line-height: 1.6; }

.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.vcard:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.vcard-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(var(--glow-rgb), 0.12);
  color: var(--primary);
  margin-bottom: 16px;
}

.vcard h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.vcard p { font-size: 14px; line-height: 1.6; color: var(--text-3); }

/* ── Roles ── */

.vroles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vrole {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.vrole h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 14px;
}

.vrole ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.vrole li {
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.5;
}

.vrole li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── Numbered steps ── */

.vsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: vstep; }

.vstep {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}

.vstep-num {
  font-family: 'Epilogue', 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.vstep h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.vstep p { font-size: 14px; line-height: 1.6; color: var(--text-3); }

/* ── FAQ (also used on the home page) ── */

.faq { max-width: 820px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-1);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.45;
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s var(--ease);
}

.faq-item.open .faq-q::after { content: '−'; }

.faq-q:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.faq-a {
  padding: 0 40px 22px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
}

.faq-a a { color: var(--primary); }

/* ── B2B closing CTA ── */

.vcta {
  padding: 96px 48px 110px;
  text-align: center;
  position: relative;
}

.vcta-inner { max-width: 620px; margin: 0 auto; }

.vcta h2 {
  font-family: 'Epilogue', 'Inter', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 16px;
}

.vcta p { color: var(--text-2); font-size: 17px; line-height: 1.6; margin-bottom: 34px; }

.vcta .venue-form { max-width: 460px; }

.vcta .venue-form input,
.vcta .venue-form textarea { width: 100%; }

/* ── Responsive ── */

@media (max-width: 960px) {
  .vhero-inner { grid-template-columns: 1fr; gap: 40px; }
  .vgrid, .vroles, .vsteps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .vhero { padding: 110px 20px 56px; }
  .vsection { padding: 64px 20px; }
  .vcta { padding: 64px 20px 80px; }
  .vgrid, .vroles, .vsteps, .vdash-tiles { grid-template-columns: 1fr; }
  .vhero-sub { font-size: 16px; }
  .vsection-head { margin-bottom: 32px; }
}

/* ── The perk menu — what a venue puts on the door ──────────────
   Deliberately not .vcard: this is a menu of things you choose from,
   not a grid of equal features, so it reads as a list with prices. */

.perks {
  border-top: 1px solid var(--border);
  margin-block: 26px;
}

.perk {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.perk-glyph {
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

.perk h3 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.perk p { font-size: 14px; line-height: 1.6; color: var(--text-3); }

.perk-price {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(var(--glow-rgb), 0.12);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.perk-note {
  font-size: 13.5px;
  color: var(--text-3);
  margin-top: 18px;
  line-height: 1.65;
}

/* ── The loyalty ledger — what guests earn, and what it buys you ── */

.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-block: 26px;
}

.ledger-row {
  background: var(--bg-card);
  padding: 16px 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ledger-coin {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 52px;
}

.ledger-row div { min-width: 0; }
.ledger-row h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.ledger-row p { font-size: 13px; line-height: 1.55; color: var(--text-3); }

/* The two rows that exist to send guests to a venue. */
.ledger-row--venue { background: rgba(var(--glow-rgb), 0.07); }

.loop {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-block: 26px;
  font-size: 14px;
}

.loop-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
}

.loop-arrow { color: var(--primary); font-size: 16px; }

@media (max-width: 640px) {
  .ledger { grid-template-columns: 1fr; }
  .perk { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .perk-price { grid-column: 2; justify-self: start; margin-top: 4px; }
}
