/* ============================================================
   Module: hero — home hype hero + standard page heroes.
   ============================================================ */

/* ---------- Shared hero shell ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(56px, 8vw, 96px); /* never 0 */
}
.hero .container { width: 100%; } /* flex item must fill the line */

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: var(--s5);
}
.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g1), var(--g3));
}

.hero h1 {
  font-size: var(--fs-display);
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin-bottom: var(--s5);
}
.hero .lead { margin-bottom: var(--s6); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s6);
}
.hero .chip-row { margin-top: var(--s2); }

/* ---------- Home: two-column hype hero ---------- */
.hero-home { min-height: min(86vh, 860px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1020px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; }
}

/* ---------- Product vignette (illustrative UI, no real data) ---------- */
.vignette {
  position: relative;
  display: grid;
  gap: var(--s4);
  max-width: 460px;
  margin-inline: auto;
}
@media (min-width: 1020px) { .vignette { margin-inline: 0 0; } }

.v-card {
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--surface);
  background-image: var(--card-wash);
  box-shadow: var(--shadow-md);
  padding: var(--s5) var(--s6);
}
.v-card .v-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.v-card .v-title { font-weight: 700; font-size: var(--fs-label); }
.v-card .v-tag {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* Slot grid inside the OPD vignette */
.v-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s2);
}
.v-slot {
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
}
.v-slot.is-busy { background: linear-gradient(135deg, var(--g1), var(--g2)); border-color: transparent; }
.v-slot.is-walkin { background: linear-gradient(135deg, var(--g2), var(--g3)); border-color: transparent; }

.v-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--text-2);
}
.v-row + .v-row { margin-top: var(--s3); }
.v-row svg { width: 18px; height: 18px; color: var(--accent-text); flex-shrink: 0; }
.v-row .v-ok { margin-left: auto; color: var(--ok-text); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* Gentle float on the side cards */
html.js .v-float { animation: v-float 7s ease-in-out infinite alternate; }
html.js .v-float2 { animation: v-float 8s 1.2s ease-in-out infinite alternate-reverse; }
@keyframes v-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  html.js .v-float, html.js .v-float2 { animation: none; }
}

/* ---------- Product stage (home hero) ----------
   The stage is the OPD vignette (schedule + floating status cards) over the brand glow. */
.hero-stage {
  position: relative;
  display: grid;
  align-items: center;
}
.stage-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--stage-glow);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}
.hero-stage .vignette { position: relative; z-index: 1; }

/* ---------- 404 hero ---------- */
.hero-404 { min-height: 100vh; }
/* QR / shared-link landing pages (dr.html, connect.html) */
.hero-404 .landing-note { max-width: 56ch; margin: var(--s6) auto 0; color: var(--text-2); font-size: var(--fs-label); }
.hero-404 .landing-legal { max-width: 70ch; margin: var(--s7) auto 0; color: var(--text-2); font-size: var(--fs-label); }
.hero-404 .landing-legal a { white-space: nowrap; }
.hero-404 .eyebrow,
.hero-404 .hero-ctas { justify-content: center; }
.hero-404 h1,
.hero-404 .lead { margin-inline: auto; }

/* ---------- Standard page hero (sub-pages) ---------- */
.hero-page {
  padding-top: clamp(28px, 4vw, 48px); /* breadcrumbs carry the nav offset */
  padding-bottom: clamp(48px, 7vw, 80px);
}
.hero-page h1 { max-width: 18ch; }
