/* ===========================================================================
   Wellness Docs — Free Benefits Check Funnel
   Brand palette pulled from wellnessdocs.com
   =========================================================================== */

:root {
  --brand-blue: #26ACE2;
  --brand-blue-light: #34BCF3;
  --brand-blue-dark: #1E8DBB;
  --brand-black: #22211E;
  --brand-black-soft: #2D2C28;
  --ink: #373531;
  --ink-soft: #6B6964;
  --ink-muted: #9E9C97;
  --cream: #FAFAF7;
  --grey: #F5F5F7;
  --line: #E8E7E3;
  --white: #FFFFFF;

  --radius-sm: 0.6rem;
  --radius-md: 0.8rem;
  --radius-lg: 1rem;
  --radius-xl: 1.4rem;

  --shadow-sm: 0 1px 2px rgba(20, 24, 40, 0.06);
  --shadow-md: 0 4px 8px rgba(20, 24, 40, 0.04), 0 24px 48px -16px rgba(20, 24, 40, 0.12);
  --shadow-blue: 0 1px 2px rgba(20, 24, 40, 0.06), 0 12px 24px -10px rgba(38, 172, 226, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* The `hidden` attribute should always win over component display rules
   (e.g., `.row { display: grid }` would otherwise unhide `<div hidden>` elements). */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(38, 172, 226, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 30% at 100% 100%, rgba(38, 172, 226, 0.06), transparent 60%);
  background-attachment: fixed;
}

/* ---------- Layout ---------- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem 3rem;
}

.brand-bar {
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0 1.75rem;
}

.brand-bar img {
  height: 56px;
  width: auto;
  display: block;
}

.card {
  width: 100%;
  max-width: 540px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

@media (min-width: 640px) {
  .card { padding: 2.5rem 2.25rem; }
  .page { padding: 2.5rem 1.5rem 4rem; }
}

/* ---------- Progress ---------- */

.progress {
  display: flex;
  gap: 6px;
  margin-bottom: 1.75rem;
}
.progress span {
  flex: 1;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  transition: background 0.3s ease;
}
.progress span.active { background: var(--brand-blue); }

/* ---------- Typography ---------- */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.6rem;
}

/* Larger variant used for the landing-page hero kicker. */
.eyebrow-lg {
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.85rem;
}
@media (min-width: 520px) {
  .eyebrow-lg { font-size: 1.1rem; }
}

h1 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--brand-black);
  margin-bottom: 0.65rem;
}

@media (min-width: 640px) {
  h1 { font-size: 2.25rem; }
}

.lede {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* ---------- Form ---------- */

form { display: flex; flex-direction: column; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-black);
  letter-spacing: -0.005em;
}

.field .hint {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 400;
}

.field input,
.field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(38, 172, 226, 0.15);
}

.field input::placeholder { color: var(--ink-muted); }

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .row.two { grid-template-columns: 1fr 1fr; }
}

/* ---------- Button ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.75rem;
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-blue);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none; /* keep anchor-form .btn from showing the default underline */
}
.btn:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(20, 24, 40, 0.08), 0 18px 32px -12px rgba(38, 172, 226, 0.6);
}
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Trust strip ---------- */

.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
}
.trust svg { flex-shrink: 0; }

/* ---------- Voucher page ---------- */

.voucher-card {
  text-align: center;
}

.voucher-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px -8px rgba(38, 172, 226, 0.5);
  position: relative;
}
.voucher-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(38, 172, 226, 0.25);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.18); opacity: 0; }
}

.voucher-amount {
  margin: 1.25rem 0 0.4rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.benefits-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  background: var(--grey);
  border-radius: var(--radius-md);
  text-align: left;
}
.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.benefits-list svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-blue); }

/* ---------- Footer ---------- */

.foot {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-muted);
  max-width: 540px;
}
.foot a { color: var(--ink-soft); text-decoration: underline; }

/* ---------- Loading state ---------- */

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Errors ---------- */

.field input.invalid,
.field select.invalid {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}
.error-msg {
  margin-top: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: #FEE2E2;
  color: #991B1B;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===========================================================================
   Grand Opening RSVP funnel — additions
   =========================================================================== */

.card.event-card { max-width: 620px; }

.event-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 1.5rem 0 1.75rem;
  padding: 1.1rem 1.2rem;
  background: var(--grey);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.event-meta .meta-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.35;
}

.event-meta .meta-row svg {
  flex-shrink: 0;
  color: var(--brand-blue);
}

.event-meta a {
  color: var(--brand-black);
  text-decoration: none;
  font-weight: 500;
}
.event-meta a:hover { color: var(--brand-blue); }

.section-label {
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand-black);
  letter-spacing: -0.01em;
}

.perks-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 520px) {
  .perks-grid { grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; }
}

.perks-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.3;
}
.perks-grid li svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-blue); }

.divider {
  height: 1px;
  background: var(--line);
  margin: 1.5rem 0 1.5rem;
}

/* Confirmation screen */
.confirm-card { text-align: center; }
.confirm-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin: 1.5rem 0 0.5rem;
}
@media (min-width: 520px) {
  .confirm-actions { grid-template-columns: 1fr 1fr; }
}
.confirm-actions .btn { margin-top: 0; }

.confirm-actions .btn-secondary {
  background: var(--white);
  color: var(--brand-black);
  border: 1.5px solid var(--brand-black);
  box-shadow: none;
}
.confirm-actions .btn-secondary:hover {
  background: var(--brand-black);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ===========================================================================
   Follow-up flow — insurance form + service interests
   =========================================================================== */

.interests-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 520px) {
  .interests-grid { grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; }
}

.interest-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  font-size: 0.95rem;
  color: var(--ink);
  user-select: none;
}

.interest-option:hover {
  border-color: var(--brand-blue);
  background: var(--cream);
}

.interest-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.interest-option input[type="checkbox"]:checked {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.interest-option input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 11px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.interest-option:has(input:checked) {
  border-color: var(--brand-blue);
  background: rgba(38, 172, 226, 0.06);
  box-shadow: 0 0 0 3px rgba(38, 172, 226, 0.10);
}

.followup-card { max-width: 580px; }

/* Welcome-back banner at the top of the follow-up page. */
.welcome-back {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(38, 172, 226, 0.08);
  border: 1px solid rgba(38, 172, 226, 0.20);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
}
.welcome-back svg { color: var(--brand-blue); flex-shrink: 0; }
.welcome-back .name { font-weight: 600; }

/* ===========================================================================
   FLIER MODE — Direct-mail aesthetic for the Grand Opening landing page only
   =========================================================================== */

/* Flier accent color — now on-brand: deeper blue for badges/banners,
   yellow reserved as a small high-energy splash (door prizes only). */
:root {
  --flier-accent:      #1E8DBB;  /* deep brand blue — primary accent surface */
  --flier-accent-dark: #0F5C82;  /* darkest brand blue — gradient pair */
  --flier-yellow:      #FFD23F;  /* tiny pops only (door prize highlight) */
}

/* The flier landing page uses its own wider layout (the card constraint is broken) */
.page.flier {
  max-width: none;
  padding: 0;
}
.page.flier > * { max-width: none; }

/* ---------- HERO ---------- */

.flier-hero {
  position: relative;
  width: 100%;
  min-height: 460px;
  background: var(--brand-black);
  overflow: hidden;
  border-radius: 0;
  margin: 0 0 0 0;
}
.flier-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.05);
}
.flier-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 24, 40, 0.35) 0%,
    rgba(20, 24, 40, 0.55) 50%,
    rgba(20, 24, 40, 0.85) 100%
  );
}
.flier-hero__content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem 3rem;
  color: var(--white);
  text-align: center;
}

.flier-hero__brand {
  display: inline-block;
  margin-bottom: 1.75rem;
}
.flier-hero__brand img { height: 72px; width: auto; display: block; }
@media (min-width: 640px) {
  .flier-hero__brand img { height: 88px; }
}

.flier-hero__kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  margin-bottom: 0.85rem;
}

.flier-hero__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 0.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.flier-hero__title .accent {
  display: block;
  color: var(--brand-blue-light);
  font-size: 0.6em;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
  font-weight: 600;
}

.flier-hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 540px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.92);
}

.flier-hero__dates {
  margin-top: 2rem;
  display: inline-block;
  background: var(--brand-blue);
  color: var(--white);
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(38, 172, 226, 0.4), 0 2px 6px rgba(0,0,0,0.2);
}
.flier-hero__dates .day { font-size: 1.3rem; }
.flier-hero__dates .pipe { opacity: 0.6; margin: 0 0.5rem; }

@media (min-width: 640px) {
  .flier-hero { min-height: 580px; }
  .flier-hero__content { padding: 4rem 2rem 4.5rem; }
}

/* ---------- INFO STRIP ---------- */

.flier-strip {
  background: var(--brand-black);
  color: var(--white);
  padding: 1.4rem 1.5rem;
  text-align: center;
  font-weight: 500;
}
.flier-strip__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.flier-strip__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
}
.flier-strip__item svg { color: var(--brand-blue-light); flex-shrink: 0; }
.flier-strip a { color: var(--white); text-decoration: none; font-weight: 600; }
.flier-strip a:hover { color: var(--brand-blue-light); }

@media (min-width: 640px) {
  .flier-strip__row { flex-direction: row; gap: 2.5rem; }
}

/* ---------- "FREE" PERKS SECTION ---------- */

.flier-section {
  padding: 3rem 1.5rem;
}

.flier-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.flier-section__eyebrow {
  display: inline-block;
  background: var(--brand-blue);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.flier-section__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-black);
}
.flier-section__title .free {
  color: var(--flier-accent);
  font-style: italic;
}

.flier-perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 520px) { .flier-perks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .flier-perks { grid-template-columns: 1fr 1fr 1fr; } }

.flier-perk {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--brand-black);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.flier-perk:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}
.flier-perk__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.flier-perk__body {
  padding: 1rem 1.1rem 1.25rem;
}
.flier-perk__label {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-black);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.flier-perk__sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* FREE! starburst badge */
.flier-perk__badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 78px;
  height: 78px;
  background: var(--flier-accent);
  color: var(--white);
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
  transform: rotate(12deg);
  /* Starburst polygon */
  clip-path: polygon(
    50% 0%, 60% 18%, 80% 10%, 75% 30%, 95% 35%,
    80% 50%, 95% 65%, 75% 70%, 80% 90%, 60% 82%,
    50% 100%, 40% 82%, 20% 90%, 25% 70%, 5% 65%,
    20% 50%, 5% 35%, 25% 30%, 20% 10%, 40% 18%
  );
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Text-only tiles for perks without dedicated photos */
.flier-perk--text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  padding: 1.5rem 1.25rem;
  background: var(--brand-blue);
  color: var(--white);
  border: 2px solid var(--brand-black);
}
.flier-perk--text .flier-perk__label { color: var(--white); font-size: 1.4rem; }
.flier-perk--text .flier-perk__sub { color: rgba(255,255,255,0.85); }

/* ---------- DOOR PRIZES BANNER ---------- */

.flier-prize-banner {
  background: var(--flier-accent);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.flier-prize-banner::before,
.flier-prize-banner::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.25;
}
.flier-prize-banner::before { left: -30px; }
.flier-prize-banner::after { right: -30px; }

.flier-prize-banner__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 2;
}
.flier-prize-banner__sub {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}

/* ---------- TICKET / COUPON RSVP ---------- */

.flier-ticket {
  position: relative;
  max-width: 580px;
  margin: 3rem auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 3px dashed var(--brand-black);
  padding: 2.25rem 1.5rem 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}
.flier-ticket__stamp {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--brand-black);
  color: var(--brand-blue-light);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.flier-ticket__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  text-align: center;
  color: var(--brand-black);
  margin-bottom: 0.45rem;
}
.flier-ticket__sub {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

/* ---------- FOOTER ---------- */

.flier-footer {
  background: var(--brand-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}
.flier-footer a { color: var(--brand-blue-light); text-decoration: none; }

/* ---------- FLIER · Confirmation page ---------- */

/* Success hero — bright blue gradient, no photo overlay */
.flier-hero--success {
  min-height: 380px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, var(--brand-blue-light) 0%, var(--brand-blue) 50%, var(--brand-blue-dark) 100%);
}
.flier-hero--success .flier-hero__overlay { display: none; }
.flier-hero--success .flier-hero__img { display: none; }

.flier-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-blue);
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* The admission ticket — the centerpiece of the confirmation */
.flier-admit {
  position: relative;
  max-width: 580px;
  margin: -2.5rem auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 3px dashed var(--brand-black);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  overflow: hidden;
  z-index: 5;
}

/* Top stub with admit-one stamp */
.flier-admit__stub {
  position: relative;
  background: var(--brand-black);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  text-align: center;
  letter-spacing: 0.25em;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.flier-admit__stub::before,
.flier-admit__stub::after {
  /* Ticket perforation dots */
  content: "";
  position: absolute;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: var(--cream);
  border-radius: 50%;
  z-index: 2;
}
.flier-admit__stub::before { left: -8px; }
.flier-admit__stub::after { right: -8px; }

.flier-admit__body {
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
}
.flier-admit__name {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  color: var(--brand-black);
  line-height: 1.05;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.flier-admit__sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.flier-admit__details {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.55rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.flier-admit__detail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--brand-black);
}
.flier-admit__detail svg { color: var(--brand-blue); flex-shrink: 0; }
.flier-admit__detail a { color: var(--brand-black); text-decoration: none; font-weight: 500; }
.flier-admit__detail a:hover { color: var(--brand-blue); }

.flier-admit__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (min-width: 480px) {
  .flier-admit__actions { grid-template-columns: 1fr 1fr; }
}

/* The pre-event insurance CTA banner */
.flier-coverage {
  background: var(--brand-black);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}
.flier-coverage__eyebrow {
  display: inline-block;
  background: var(--flier-accent);
  color: var(--white);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.flier-coverage__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.flier-coverage__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}
.flier-coverage__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--brand-black);
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.flier-coverage__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ---------- FLIER · Followup (insurance) page ---------- */

/* Slim banner hero — orange "FREE COVERAGE CHECK" callout */
.flier-banner {
  background: linear-gradient(135deg, var(--flier-accent) 0%, var(--flier-accent-dark) 100%);
  color: var(--white);
  padding: 2rem 1.5rem 2.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.flier-banner__brand {
  display: inline-block;
  background: var(--white);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.flier-banner__brand img { height: 22px; width: auto; display: block; }
.flier-banner__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}
.flier-banner__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* Ticket card for the insurance form — overlapping the banner */
.flier-form-ticket {
  position: relative;
  max-width: 620px;
  margin: -1.5rem auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 3px dashed var(--brand-black);
  padding: 2rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  z-index: 3;
}
.flier-form-ticket__stamp {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--brand-black);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.flier-form-ticket h1 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  margin: 0.5rem 0 0.5rem;
  text-align: center;
}
.flier-form-ticket .lede {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Welcome-back banner (flier variant) */
.flier-welcome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(38, 172, 226, 0.10);
  border: 2px solid rgba(38, 172, 226, 0.30);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
}
.flier-welcome svg { color: var(--flier-accent); flex-shrink: 0; }
.flier-welcome .name { font-weight: 700; }

/* ---------- FLIER · Book (Zenoti CTA) page ---------- */

/* Use the same success hero as confirmation */
.flier-hero--book {
  min-height: 320px;
  /* Brand-black, matching the print flier + RSVP confirmation heroes. */
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(38,172,226,0.15), transparent 60%),
    linear-gradient(135deg, var(--brand-black) 0%, #1A1916 100%);
}
.flier-hero--book .flier-hero__overlay,
.flier-hero--book .flier-hero__img { display: none; }

/* Book ticket — borrows admit card pattern */
.flier-book-card {
  position: relative;
  max-width: 580px;
  margin: -3rem auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 3px solid var(--brand-black);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  overflow: hidden;
  z-index: 5;
}
.flier-book-card__stub {
  background: var(--brand-black);
  color: var(--brand-blue-light);
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.flier-book-card__body {
  padding: 2rem 1.5rem;
  text-align: center;
}
.flier-book-card__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--brand-black);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.flier-book-card__sub {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}
.flier-book-perks {
  list-style: none;
  text-align: left;
  margin: 0 auto 1.5rem;
  max-width: 360px;
  display: grid;
  gap: 0.55rem;
}
.flier-book-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--brand-black);
}
.flier-book-perks li svg { color: var(--flier-accent); flex-shrink: 0; }

/* Limited spots banner */
.flier-limited {
  display: inline-block;
  background: var(--flier-yellow);
  color: var(--brand-black);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 2px solid var(--brand-black);
}

/* ---------- FLIER · "Why come?" outcome cards ---------- */

.flier-why {
  background: var(--cream);
  padding: 3rem 1.5rem;
}
.flier-why__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) { .flier-why__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.flier-why__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--brand-black);
  padding: 1.75rem 1.4rem;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.flier-why__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(38, 172, 226, 0.35);
}
.flier-why__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand-black);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.flier-why__body {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- FLIER · "What to expect" timeline ---------- */

.flier-timeline {
  background: var(--brand-black);
  color: var(--white);
  padding: 3rem 1.5rem;
}
.flier-timeline__inner {
  max-width: 760px;
  margin: 0 auto;
}
.flier-timeline__header {
  text-align: center;
  margin-bottom: 2rem;
}
.flier-timeline__eyebrow {
  display: inline-block;
  background: var(--brand-blue);
  color: var(--white);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.flier-timeline__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.flier-timeline__steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: step;
  padding: 0;
  margin: 0;
}
.flier-timeline__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.1rem;
  align-items: start;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--brand-blue);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.flier-timeline__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.flier-timeline__step h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}
.flier-timeline__step p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

/* ---------- FLIER · Risk reversal callout ---------- */

.flier-no-catch {
  background: var(--brand-blue);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.flier-no-catch__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.flier-no-catch__body {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.95;
}
.flier-no-catch strong { color: var(--white); font-weight: 700; }

/* ---------- Hero refinements: clearer subhead + better date pill ---------- */

.flier-hero__title .accent {
  color: var(--brand-blue-light);
}

/* Tighter trust line for tickets */
.flier-ticket .trust,
.flier-form-ticket .trust {
  margin-top: 0.75rem;
}

/* ============================================================================
   Guest invite rows (RSVP form) + invited-by banner
   ============================================================================ */
.guests-section {
  margin-top: 0.25rem;
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(38, 172, 226, 0.06);
  border: 1.5px dashed var(--brand-blue);
  border-radius: var(--radius-md);
}
.guests-section__lede {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--brand-black);
}
.guests-section__lede strong { display: block; margin-bottom: 0.2rem; }
.guests-section__lede .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }

.guests-list { display: flex; flex-direction: column; gap: 0.8rem; }
.guest-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  padding: 0.85rem 1rem 0.85rem 1rem;
  background: var(--white);
  border: 1px solid rgba(34, 33, 30, 0.12);
  border-radius: var(--radius-sm);
}
/* Wider: 2-up — first + last on row 1, email + phone on row 2. */
@media (min-width: 520px) {
  .guest-row { grid-template-columns: 1fr 1fr; }
}
.guest-row .field { margin: 0; }
.guest-row__remove {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.guest-row__remove:hover { background: rgba(34, 33, 30, 0.08); color: var(--brand-black); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 0.55rem 0.9rem;
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover { background: var(--brand-blue); color: var(--white); }

/* Invited-by banner (top of page when ?invitedBy=… is in URL) */
.invite-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: var(--brand-blue);
  color: var(--white);
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: left;
}
.invite-banner__icon { font-size: 1.25rem; line-height: 1; }
.invite-banner__text strong { font-weight: 700; }
.invite-banner[hidden] { display: none; }

/* ============================================================================
   "Our services, year-round." — mirrors the back of the print flier exactly
   ============================================================================ */
.flier-services-section .flier-section__title em {
  font-style: italic;
  color: var(--brand-blue);
}

.flier-menu {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0.9rem;
  row-gap: 0.7rem;
  margin-top: 1.4rem;
}
@media (min-width: 720px) {
  .flier-menu { grid-template-columns: 1fr 1fr; }
}

.flier-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.flier-menu__bullet {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--brand-blue);
  margin-top: 0.35rem;
}
.flier-menu__body { flex: 1; min-width: 0; }
.flier-menu__name {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--brand-black);
  letter-spacing: -0.005em;
}
.flier-menu__sub {
  font-size: 0.87rem;
  line-height: 1.4;
  color: var(--ink-soft);
  margin-top: 0.18rem;
}

/* Bottom row callouts: "Plus more." + "We are the Longevity Experts."
   Same italic + blue treatment as the print flier so the back-of-card
   sign-off reads the same on screen. */
.flier-menu__item--callout .flier-menu__name {
  font-style: italic;
  color: var(--brand-blue);
}
.flier-menu__item--callout .flier-menu__bullet {
  background: var(--brand-blue);
  width: 0.85rem;
  height: 0.85rem;
}
.flier-menu__item--longevity .flier-menu__name {
  font-style: normal;
  font-weight: 900;
  font-size: 1.15rem;
}

/* ============================================================================
   Confirmation-page bookings card — shows the user's scheduled IV/Massage slots
   ============================================================================ */
.flier-bookings {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.flier-bookings__head { text-align: center; margin-bottom: 0.9rem; }
.flier-bookings__eyebrow {
  display: inline-block;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}
.flier-bookings__title {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand-black);
}
.flier-bookings__list { list-style: none; padding: 0; margin: 0 0 0.9rem; }
.flier-bookings__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 1.02rem;
}
.flier-bookings__item:last-child { border-bottom: none; }
.flier-bookings__svc { font-weight: 700; color: var(--brand-black); }
.flier-bookings__when { color: var(--ink-soft); font-weight: 500; }
.flier-bookings__edit {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 700;
  color: var(--brand-blue);
}
.flier-bookings__edit:hover { color: var(--brand-blue-dark); }
