/* ============ Visitor Management â€” page-specific layouts ============ */

/* --- Hero layered visual --- */
.vm-hero-visual { position: relative; }
.vm-hero-stack { position: relative; display: grid; gap: 14px; }
.vm-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-800);
  animation: floatY 6s ease-in-out infinite;
}
.vm-float .ico { width: 20px; height: 20px; color: var(--purple-600); }
.vm-float.qr { top: -18px; right: -14px; animation-delay: .8s; }
.vm-float.pass { bottom: 56px; left: -22px; animation-delay: 1.6s; }
.vm-float.park { bottom: -18px; right: 8px; animation-delay: 2.4s; }
@media (max-width: 1023px) {
  .vm-float.qr { right: 0; }
  .vm-float.pass { left: 0; }
}
@media (max-width: 520px) {
  .vm-float { padding: 9px 12px; font-size: 12px; }
  .vm-float.pass { bottom: 40px; }
}

/* --- Section 2: two visitor journeys --- */
.vm-journeys { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-journey {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.4rem, 2.4vw, 2rem);
}
.vm-journey h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.vm-journey > p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 18px; }
.vm-journey-media {
  border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--purple-50), #fff);
  border: 1.5px dashed var(--purple-200);
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  overflow: hidden;
}
.vm-journey-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vm-steps { position: relative; display: flex; flex-direction: column; }
.vm-steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-200), var(--green-100));
  border-radius: 2px;
}
.vm-step { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.vm-step .icon-badge { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; transition: transform .25s var(--ease), background .25s var(--ease); }
.vm-step .icon-badge.purple .ico { color: #fff; }
.vm-step:hover .icon-badge { transform: scale(1.08); }
.vm-step strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 15px; color: var(--ink-800); margin-bottom: 2px; }
.vm-step span { font-size: 13.5px; color: var(--text-muted); }

/* --- Section 3: horizontal contractor workflow --- */
.vm-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: vmflow; }
.vm-stage {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.vm-stage:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--purple-200); }
.vm-stage::before {
  content: attr(data-step);
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-purple);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.vm-stage h3 { font-size: 17px; margin-bottom: 6px; }
.vm-stage > p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 16px; }
.vm-stage .benefit-list { margin-bottom: 0; }

/* --- Section 4: benefits split --- */

/* --- Section 5: integration split (visual left) --- */
.vm-int-block + .vm-int-block { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border-soft); }
.vm-int-block h3 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.vm-int-block h3 .icon-badge { width: 38px; height: 38px; border-radius: 11px; }
.vm-int-block > p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 14px; }

/* --- Section 6: industries showcase --- */
.vm-showcase { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.vm-facility {
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #ece4ff, #ffffff 55%, #e9e4ff);
  border: 1px solid var(--purple-100);
  min-height: 340px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.vm-facility::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 70% 20%, rgba(101,40,247,.12), transparent 70%);
}
.vm-irow {
  display: grid;
  grid-template-columns: 44px 44px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.vm-irow + .vm-irow { border-top: 1px solid var(--border-soft); }
.vm-irow:hover { background: #fff; border-color: var(--purple-100); transform: translateX(4px); }
.vm-irow.active { background: #fff; border-color: var(--purple-200); box-shadow: var(--shadow-sm); }
.vm-irow .num { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--purple-300); font-size: 15px; }
.vm-irow .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.vm-irow h3 { font-size: 15.5px; margin-bottom: 2px; }
.vm-irow p { font-size: 13.5px; color: var(--text-muted); }

/* --- Section 7: asymmetric features --- */
.vm-asym { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.vm-big {
  background: linear-gradient(160deg, var(--purple-50), #fff 60%);
  border: 1px solid var(--purple-100);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.vm-big .icon-badge { width: 58px; height: 58px; border-radius: 17px; }
.vm-big .icon-badge .ico { width: 26px; height: 26px; }
.vm-big h3 { font-size: clamp(1.3rem, 1.6vw, 1.6rem); margin: 18px 0 10px; }
.vm-big p { font-size: 15.5px; color: var(--text-body); max-width: 40ch; }
.vm-big-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vm-big-visual span {
  background: #fff;
  border: 1px solid var(--purple-100);
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--purple-700);
}
.vm-big-visual .ico { display: block; margin: 0 auto 6px; color: var(--purple-600); width: 20px; height: 20px; }
.vm-side { display: flex; flex-direction: column; }
.vm-srow { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border-soft); }
.vm-srow:first-child { padding-top: 0; }
.vm-srow:last-child { border-bottom: 0; padding-bottom: 0; }
.vm-srow .icon-badge { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; }
.vm-srow h3 { font-size: 16px; margin-bottom: 4px; }
.vm-srow p { font-size: 14px; color: var(--text-muted); }

/* --- Section 8: numbered timeline --- */
.vm-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vm-timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-200), var(--purple-400), var(--purple-200));
}
.vm-tstep { text-align: center; padding: 0 8px; position: relative; }
.vm-tstep .num {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--purple-300);
  color: var(--purple-600);
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 15px;
  position: relative;
  z-index: 1;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.vm-tstep:hover .num { background: var(--grad-purple); color: #fff; border-color: transparent; }
.vm-tstep h3 { font-size: 15.5px; margin-bottom: 6px; }
.vm-tstep p { font-size: 13.5px; color: var(--text-muted); }
@media (min-width: 900px) {
  .vm-timeline { padding-bottom: 26px; align-items: start; }
}

/* --- Full-width final CTA --- */

/* --- Tinted section variants --- */
.section-ice { background: linear-gradient(180deg, #f4f7ff, #ffffff); }
.section-soft { background: linear-gradient(180deg, #ffffff, var(--bg-lav) 30%, var(--bg-lav) 70%, #ffffff); }

/* --- Responsive --- */
@media (max-width: 1023px) {
  .vm-journeys { grid-template-columns: 1fr; }
  .vm-flow { grid-template-columns: 1fr; }
  .vm-showcase { grid-template-columns: 1fr; }
  .vm-asym { grid-template-columns: 1fr; }
  .vm-timeline { grid-template-columns: repeat(2, 1fr); }
  .vm-timeline::before { display: none; }
  .vm-tstep:nth-child(even) { transform: none; }
  .vm-facility { min-height: 260px; }
}
@media (max-width: 640px) {
  .vm-timeline { grid-template-columns: 1fr; gap: 26px; }
  .vm-irow { grid-template-columns: 34px 40px 1fr; gap: 12px; padding: 16px 10px; }
  .vm-irow .icon-badge { width: 40px; height: 40px; }
  .vm-big-visual { grid-template-columns: 1fr; }
  .vm-steps::before { left: 21px; }
}

/* ==========================================================================
   Visitor Management — brand colour system
   Same devices as the HRMS / Attendance / Leave / Canteen / AI pages: dual
   colour headings, a tapered gradient rule under every section title, pink
   icon plates, glyph centring and a two-column lead form. The colour code is
   this module's home page menu tab accent (--acc #EC4899 / soft #FDF2F8).
   ========================================================================== */

/* ---- Hero: no breadcrumb band, no photo strip ---------------------------
   The breadcrumb band (which carried the shared background photo) is gone
   from the markup, so the hero keeps its own top spacing and gets a painted
   brand background with soft blooms instead. */
.page-visitor .page-hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(720px 420px at 90% -12%, rgba(236, 72, 153, 0.14), transparent 70%),
    radial-gradient(620px 420px at 4% 108%, rgba(108, 53, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #fff7fb 0%, #fdf7ff 58%, #ffffff 100%);
}

.page-visitor .page-hero::before {
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.14), transparent 70%);
}

.page-visitor .page-hero::after {
  background: radial-gradient(closest-side, rgba(108, 53, 255, 0.12), transparent 70%);
}

/* ---- Dual-colour headings: solid ink + ONE gradient accent phrase -------- */
.page-visitor .section-title em.vm-dual,
.page-visitor .inner-hero-copy h1 .grad {
  background: linear-gradient(96deg, #be185d 0%, #ec4899 55%, #f9a8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

/* ---- Tapered accent rule under every section title ---------------------- */
.page-visitor .section-title { position: relative; }

.page-visitor .section-title::after {
  content: "";
  display: block;
  width: 148px;
  max-width: 42%;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: #6C35FF;
}

.page-visitor .section-head.center .section-title::after { margin-inline: auto; }

/* ---- Icon plates: gradient tile, white glyph ----------------------------
   The CTA band sets its own inline colours on its badges, which win over
   this rule, so the dark band keeps its translucent white tiles. */
.page-visitor .icon-badge {
  background-image: var(--plate, linear-gradient(135deg, #be185d 0%, #ec4899 55%, #f9a8d4 100%));
  background-color: transparent;
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--plate-shadow, 0 8px 18px rgba(236, 72, 153, 0.24));
}

.page-visitor .icon-badge .ico {
  background-image: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

/* step and row numbers in the page's primary colour */
.page-visitor .vm-irow .num,
.page-visitor .vm-step .num,
.page-visitor .vm-tstep .num { color: #ec4899; }

/* the numbered discs get the page's gradient plate, matching the icon tiles */
.page-visitor .vm-tstep .num {
  border-color: #f472b6;
  background: #fdf2f8;
}

.page-visitor .vm-tstep:hover .num {
  background: linear-gradient(135deg, #be185d 0%, #ec4899 55%, #f9a8d4 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.30);
}

/* ---- Alternating image / text sides -------------------------------------
   The interface section puts its visual on the left; this one flips it so the
   visual sits on the right, giving the page the expected left/right rhythm.
   The column ratio is mirrored too, so the copy still gets the wider track. */
.page-visitor .vm-showcase--flip { grid-template-columns: 1.2fr 1fr; }
.page-visitor .vm-showcase--flip > .reveal { order: 2; }
.page-visitor .vm-showcase--flip > div:last-child { order: 1; }

@media (max-width: 900px) {
  /* single column: copy first, then the visual */
  .page-visitor .vm-showcase--flip > .reveal { order: 2; }
  .page-visitor .vm-showcase--flip > div:last-child { order: 1; }
}

/* ---- Retint: page components that were still on the shared purple -------
   The section shell (header, footer, lead band) stays brand purple; only the
   page's own components move to the module's pink ramp, so nothing clashes
   with the site chrome. */
.page-visitor .vm-float .ico { color: #ec4899; }
.page-visitor .vm-journey-media {
  background: linear-gradient(160deg, #fdf2f8, #fff);
  border-color: #f9a8d4;
}
.page-visitor .vm-steps::before {
  left: 22px;
  background: linear-gradient(180deg, #fbcfe8, #fde2ee);
}
.page-visitor .vm-stage:hover { border-color: #f9a8d4; }
.page-visitor .vm-stage::before {
  background: linear-gradient(135deg, #be185d 0%, #ec4899 55%, #f9a8d4 100%);
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.26);
}
.page-visitor .vm-facility {
  background: linear-gradient(160deg, #fde7f3, #ffffff 55%, #fbe3ef);
  border-color: #fbcfe8;
}
.page-visitor .vm-facility::before {
  background: radial-gradient(closest-side at 70% 20%, rgba(236, 72, 153, 0.12), transparent 70%);
}
.page-visitor .vm-irow:hover { border-color: #fbcfe8; }
.page-visitor .vm-irow.active { border-color: #f9a8d4; }
.page-visitor .vm-big {
  background: linear-gradient(160deg, #fdf2f8, #ffffff 60%);
  border-color: #fbcfe8;
}
.page-visitor .vm-big-visual span { border-color: #fbcfe8; color: #9d174d; }
.page-visitor .vm-big-visual .ico { color: #ec4899; }
.page-visitor .vm-timeline::before {
  background: linear-gradient(90deg, #fbcfe8, #f472b6, #fbcfe8);
}

/* ---- Spacing pass -------------------------------------------------------
   Component rows sit flush against each other on small screens; give the
   stacked layouts room to breathe. */
.page-visitor .vm-step { padding: 12px 0; }
.page-visitor .vm-irow { padding: 18px 16px; gap: 14px; }
.page-visitor .vm-srow { padding: 20px 0; }
.page-visitor .vm-int-block + .vm-int-block { margin-top: 28px; padding-top: 28px; }
.page-visitor .vm-big-visual { gap: 12px; }

@media (max-width: 900px) {
  .page-visitor .vm-step { padding: 14px 0; }
  .page-visitor .vm-irow { padding: 16px 12px; }
}

/* ---- Glyph sizing and centring ------------------------------------------
   FA glyphs scale with font-size, so a fixed width/height smaller than the
   inherited size clipped them and pushed them off centre. */
.page-visitor .ico {
  width: 1em;
  height: 1em;
  line-height: 1;
  vertical-align: middle;
}

.page-visitor .icon-badge .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

/* ---- Lead band: checklist spacing + tinted tick (HRMS pattern) ---------- */
.page-visitor .lead-band .lead-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-visitor .lead-band .lead-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.page-visitor .lead-band .lead-list .ico {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  font-size: 16px;
  color: #f9a8d4;
}

/* section title accent phrase: one solid colour (no gradient) */
.page-visitor .section-title em.vm-dual {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #DB2777;
  -webkit-text-fill-color: #DB2777;
}

/* ==== Photo image cards with animated dashboard pop cards ==================
   Real photos replace the demo vector images; small UI cards pop in over
   them. Layout of each card area is unchanged. */
@keyframes vmPopIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes vmScan { 0% { top: 8%; opacity: 0; } 12% { opacity: .9; } 88% { opacity: .9; } 100% { top: 92%; opacity: 0; } }
@keyframes vmLive { 0% { box-shadow: 0 0 0 0 rgba(236,72,153,.55); } 100% { box-shadow: 0 0 0 9px rgba(236,72,153,0); } }
@keyframes vmRing { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 85% { transform: rotate(-12deg); } 92% { transform: rotate(6deg); } }
@keyframes vmQrLine { 0%, 100% { top: 3px; } 50% { top: calc(100% - 5px); } }
@keyframes vmTap { 0%, 60%, 100% { transform: none; box-shadow: none; } 70% { transform: scale(.92); box-shadow: 0 0 0 5px rgba(236,72,153,.25); } }
@keyframes vmKen { from { transform: scale(1); } to { transform: scale(1.07); } }

.page-visitor .vm-photo-frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); box-shadow: 0 24px 60px -18px rgba(190,24,93,.35), var(--shadow-md);
  border: 1px solid #fbcfe8; aspect-ratio: 1 / 1; max-height: 560px;
}
.page-visitor .vm-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; animation: vmKen 18s ease-in-out infinite alternate; }
.page-visitor .vm-scan {
  position: absolute; left: 6%; right: 6%; height: 2px; top: 8%;
  background: linear-gradient(90deg, transparent, #f9a8d4, #fff, #f9a8d4, transparent);
  box-shadow: 0 0 14px 3px rgba(236,72,153,.45); animation: vmScan 4.5s ease-in-out infinite;
}

/* shared pop card */
.page-visitor .vm-pop, .page-visitor .vm-mpop {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid #fbcfe8; border-radius: 14px;
  box-shadow: 0 14px 32px -12px rgba(80,12,50,.35);
  color: var(--ink-800); line-height: 1.25;
}
.page-visitor .vm-pop b, .page-visitor .vm-mpop b { display: block; font-size: 13px; font-weight: 700; color: var(--ink-900); }
.page-visitor .vm-pop small, .page-visitor .vm-mpop small { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-muted); }
.page-visitor .vm-pop-ic {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #ec4899, #be185d); color: #fff;
}
.page-visitor .vm-pop-ic .ico, .page-visitor .vm-float .vm-pop-ic .ico { font-size: 15px; color: #fff; }
.page-visitor .vm-ok, .page-visitor .vm-float .vm-ok { flex: none; font-size: 17px; color: #16a34a; }
.page-visitor .vm-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ec4899; animation: vmLive 1.6s ease-out infinite; }
.page-visitor .vm-pop { padding: 10px 14px 10px 10px; z-index: 2; }
.page-visitor .vm-pop.qr { top: 22px; right: -18px; }
.page-visitor .vm-pop.pass { bottom: 96px; left: -26px; }
.page-visitor .vm-pop.park { bottom: -16px; right: 18px; }

/* cards over photos inside a frame */
.page-visitor .vm-journey-media.vm-photo { position: relative; border-style: solid; }
.page-visitor .vm-journey-media.vm-photo img { transition: transform .8s var(--ease); }
.page-visitor .vm-journey:hover .vm-journey-media.vm-photo img { transform: scale(1.05); }
.page-visitor .vm-mpop { position: absolute; z-index: 2; padding: 8px 12px 8px 8px; max-width: calc(100% - 24px); }
.page-visitor .vm-mpop .vm-pop-ic { width: 30px; height: 30px; border-radius: 9px; }
.page-visitor .vm-mpop--tl { top: 12px; left: 12px; }
.page-visitor .vm-mpop--br { bottom: 12px; right: 12px; }
.page-visitor .vm-mpop--tr { top: 56px; right: -14px; }
.page-visitor .vm-mpop--bl { bottom: -16px; left: 22px; }
.page-visitor .vm-qr {
  position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: #fdf2f8; color: #be185d; overflow: hidden;
}
.page-visitor .vm-qr .ico { font-size: 15px; }
.page-visitor .vm-qr-line { position: absolute; left: 3px; right: 3px; height: 2px; background: #ec4899; box-shadow: 0 0 6px #ec4899; animation: vmQrLine 1.8s ease-in-out infinite; }
.page-visitor .vm-bell .ico { animation: vmRing 3s ease-in-out infinite; transform-origin: 50% 10%; }
.page-visitor .vm-mpop--act { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
.page-visitor .vm-btns { display: flex; gap: 6px; }
.page-visitor .vm-btns span { flex: 1; text-align: center; padding: 5px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700; }
.page-visitor .vm-btn-no { background: #f4f1f6; color: #6b6080; }
.page-visitor .vm-btn-yes { background: #ec4899; color: #fff; animation: vmTap 3.2s ease-in-out infinite; }

/* dashboard screenshot */
.page-visitor .vm-screen {
  position: relative; background: #fff; border: 1px solid #fbcfe8; border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -20px rgba(190,24,93,.3), var(--shadow-md);
}
.page-visitor .vm-screen .panel-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 18px;
  border-bottom: 1px solid #fbe3ef; background: #fdf7fa; border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.page-visitor .vm-screen .panel-title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 700; color: var(--text-muted); margin-left: 8px; letter-spacing: .02em; }
.page-visitor .vm-screen > img { display: block; width: 100%; height: auto; border-radius: 0 0 var(--r-lg) var(--r-lg); }

/* venues mosaic */
.page-visitor .vm-venues {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; min-height: 0; place-items: stretch;
}
.page-visitor .vm-venue { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 16 / 11; z-index: 1; transition: box-shadow .4s; }
.page-visitor .vm-venue img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); transition: transform .9s var(--ease), filter .5s; }
.page-visitor .vm-venue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(40,8,28,.72)); pointer-events: none; }
.page-visitor .vm-venue figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 1;
  display: flex; align-items: center; gap: 7px; color: #fff; font-size: 12.5px; font-weight: 700;
}
.page-visitor .vm-venue figcaption .ico { font-size: 13px; color: #f9a8d4; }
.page-visitor .vm-vchip {
  position: absolute; top: 9px; right: 9px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.95); color: #be185d; font-size: 11px; font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease);
}
.page-visitor .vm-vchip .ico { font-size: 11px; }
.page-visitor .vm-venue.is-on { box-shadow: 0 0 0 2px #ec4899, 0 14px 28px -12px rgba(190,24,93,.5); }
.page-visitor .vm-venue.is-on img { transform: scale(1.06); filter: none; }
.page-visitor .vm-venue.is-on .vm-vchip { opacity: 1; transform: none; }

/* pop-in once the card area is revealed */
.page-visitor .reveal .vm-pop, .page-visitor .reveal .vm-mpop { opacity: 0; }
.page-visitor .reveal.is-visible .vm-pop, .page-visitor .reveal.is-visible .vm-mpop { animation: vmPopIn .6s var(--ease) both, floatY 6s ease-in-out infinite; }
.page-visitor .reveal.is-visible .vm-pop.qr { animation-delay: .5s, 1.1s; }
.page-visitor .reveal.is-visible .vm-pop.pass { animation-delay: .9s, 1.5s; }
.page-visitor .reveal.is-visible .vm-pop.park { animation-delay: 1.3s, 1.9s; }
.page-visitor .reveal.is-visible .vm-mpop--tl, .page-visitor .reveal.is-visible .vm-mpop--tr { animation-delay: .4s, 1s; }
.page-visitor .reveal.is-visible .vm-mpop--br, .page-visitor .reveal.is-visible .vm-mpop--bl { animation-delay: .9s, 1.5s; }

@media (max-width: 1023px) {
  .page-visitor .vm-pop.qr, .page-visitor .vm-mpop--tr { right: 8px; }
  .page-visitor .vm-pop.pass { left: 8px; }
}
@media (max-width: 520px) {
  .page-visitor .vm-pop { padding: 7px 10px 7px 7px; gap: 8px; }
  .page-visitor .vm-pop-ic, .page-visitor .vm-mpop .vm-pop-ic, .page-visitor .vm-qr { width: 26px; height: 26px; }
  .page-visitor .vm-pop b, .page-visitor .vm-mpop b { font-size: 12px; }
  .page-visitor .vm-pop small, .page-visitor .vm-mpop small { font-size: 10.5px; }
  .page-visitor .vm-pop.pass { bottom: 70px; }
  .page-visitor .vm-mpop--tl { top: 8px; left: 8px; }
  .page-visitor .vm-mpop--br { bottom: 8px; right: 8px; }
  .page-visitor .vm-mpop--tr { top: 44px; }
  .page-visitor .vm-venue figcaption { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-visitor .vm-photo-frame img, .page-visitor .vm-scan, .page-visitor .vm-live, .page-visitor .vm-qr-line,
  .page-visitor .vm-bell .ico, .page-visitor .vm-btn-yes { animation: none !important; }
  .page-visitor .vm-scan { display: none; }
  .page-visitor .reveal .vm-pop, .page-visitor .reveal .vm-mpop { opacity: 1; animation: none !important; }
}

/* ---- FAQ: two columns of three (one column on phones) ---- */
.vm-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.vm-faq-col { display: grid; gap: 16px; }
.vm-faq-item {
  background: #fff;
  border: 1px solid #fbcfe8;
  border-radius: var(--r-md);
  box-shadow: 0 8px 22px -16px rgba(190, 24, 93, 0.35);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.vm-faq-item:hover { border-color: #f9a8d4; }
.vm-faq-item[open] { border-color: #ec4899; box-shadow: 0 14px 30px -18px rgba(190, 24, 93, 0.45); }
.vm-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-900);
}
.vm-faq-item summary::-webkit-details-marker { display: none; }
.vm-faq-item summary:focus-visible { outline: 2px solid #ec4899; outline-offset: 3px; border-radius: var(--r-md); }
.vm-faq-item summary .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fdf2f8;
  color: #db2777;
  font-size: 13px;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.vm-faq-item[open] summary .ico { transform: rotate(45deg); background: #ec4899; color: #fff; }
.vm-faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 860px) {
  .vm-faq { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .vm-faq-item summary { padding: 15px 16px; font-size: 14.5px; }
  .vm-faq-item p { padding: 0 16px 15px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .vm-faq-item summary .ico { transition: none; }
}
