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

    :root {
      --red:      #b60000;
      --red-dark: #8a0000;
      --red-glow: rgba(182,0,0,0.15);
      --bg:       #F8F4F0;
      --card:     #FFFFFF;
      --text:     #1a1208;
      --muted:    #7a6a58;
      --border:   #e4d9cf;
      --input-bg: #FAF6F2;
    }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
    }

    /* ══════════════════════════════════════════════════════
       HERO  — dark all the way, no white bleed
    ══════════════════════════════════════════════════════ */
.appt-hero {
  position: relative;
  height: 300px;
  background-image: url('/Photos/engine.jpg');
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.appt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.10) 0%,
      rgba(0,0,0,0.35) 20%,
      rgba(15,0,0,0.72) 40%,
      rgba(0,0,0,0.90) 100%
    );
}
.appt-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.appt-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(182,0,0,0.22);
  border: 1px solid rgba(182,0,0,0.5);
  border-radius: 40px;
  padding: 5px 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #ff4040;
  border-radius: 50%;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.appt-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0 4px 28px rgba(0,0,0,0.5);
}
.appt-hero-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  letter-spacing: 0.3px;
}

    /* ══════════════════════════════════════════════════════
       MEMBERSHIP STRIP — rich card redesign
    ══════════════════════════════════════════════════════ */
    .member-strip {
      background: #111111;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      padding: 0;
      position: relative;
      overflow: hidden;
    }

    /* Subtle red diagonal glow */
    .member-strip::before {
      content: '';
      position: absolute;
      top: -60%;
      left: -10%;
      width: 50%;
      height: 250%;
      background: radial-gradient(ellipse, rgba(182,0,0,0.14) 0%, transparent 70%);
      pointer-events: none;
    }

    .strip-inner {
      position: relative;
      z-index: 1;
      max-width: 900px;
      margin: 0 auto;
      padding: 20px 28px;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 28px;
    }

    .strip-left {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex-shrink: 0;
    }

    .strip-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #ff4040;
    }
    .strip-badge::before {
      content: '✦';
      font-size: 0.6rem;
    }

    .strip-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: #ffffff;
      line-height: 1.2;
    }

    /* 3 perks */
    .strip-perks {
      display: flex;
      gap: 4px;
      flex-wrap: wrap;
    }

    .strip-perk {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px;
      padding: 10px 14px;
      flex: 1;
      min-width: 120px;
    }

    .perk-icon {
      font-size: 1.2rem;
      flex-shrink: 0;
    }
    .perk-name {
      font-size: 0.78rem;
      font-weight: 600;
      color: rgba(255,255,255,0.88);
      line-height: 1.2;
    }
    .perk-desc {
      font-size: 0.67rem;
      color: rgba(255,255,255,0.38);
      font-weight: 400;
      margin-top: 1px;
    }

    /* CTA buttons */
    .strip-actions {
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex-shrink: 0;
    }

    .sa-primary {
      display: inline-block;
      padding: 10px 22px;
      background: linear-gradient(135deg, #cc0000, #b60000);
      color: #fff;
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 700;
      border-radius: 8px;
      letter-spacing: 0.3px;
      text-align: center;
      box-shadow: 0 4px 16px rgba(182,0,0,0.45), 0 0 0 1px rgba(255,80,80,0.2);
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .sa-primary:hover {
      box-shadow: 0 6px 24px rgba(182,0,0,0.65), 0 0 0 1px rgba(255,80,80,0.35);
      transform: translateY(-1px);
    }

    .sa-secondary {
      display: inline-block;
      padding: 9px 22px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.14);
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 600;
      border-radius: 8px;
      text-align: center;
      transition: background 0.2s, color 0.2s;
    }
    .sa-secondary:hover {
      background: rgba(255,255,255,0.1);
      color: #fff;
    }

    /* ══════════════════════════════════════════════════════
       WIZARD WRAP
    ══════════════════════════════════════════════════════ */
    .wizard-wrap {
      padding: 36px 16px 60px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* ── Progress dots ───────────────────────────────────── */
    .progress-header {
      width: 100%;
      max-width: 560px;
      margin-bottom: 24px;
    }
    .progress-steps {
      display: flex;
      align-items: flex-start;
      position: relative;
    }
    .step-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      flex: 1;
      position: relative;
    }
    .step-item:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 17px;
      left: 50%;
      width: 100%;
      height: 2px;
      background: var(--border);
      z-index: 0;
      transition: background 0.4s;
    }
    .step-item.done:not(:last-child)::after { background: var(--red); }
    .step-item.active:not(:last-child)::after { background: var(--border); }

    .step-dot {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--card);
      border: 2px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
      color: #bbb;
      z-index: 1;
      transition: all 0.3s cubic-bezier(.4,0,.2,1);
    }
    .step-item.active .step-dot {
      background: var(--red);
      border-color: var(--red);
      color: #fff;
      box-shadow: 0 0 0 5px var(--red-glow);
    }
    .step-item.done .step-dot {
      background: var(--red);
      border-color: var(--red);
      color: #fff;
    }
    /* Checkmark for done steps */
    .step-item.done .step-dot::after {
      content: '✓';
      font-size: 0.8rem;
    }
    .step-item.done .step-dot { font-size: 0; }
    .step-item.done .step-dot::after { font-size: 0.85rem; }

    .step-label {
      font-size: 0.65rem;
      font-weight: 600;
      color: #ccc;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      text-align: center;
      transition: color 0.3s;
    }
    .step-item.active .step-label { color: var(--red); }
    .step-item.done .step-label   { color: var(--red); opacity: 0.7; }

    /* ── Card ───────────────────────────────────────────── */
    .wizard-card {
      width: 100%;
      max-width: 560px;
      background: var(--card);
      border-radius: 20px;
      box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 12px 32px rgba(0,0,0,0.1),
        0 0 0 1px var(--border);
      overflow: hidden;
      animation: fadeUp 0.45s cubic-bezier(.4,0,.2,1) both;
    }
    @keyframes fadeUp {
      from { opacity:0; transform: translateY(18px); }
      to   { opacity:1; transform: translateY(0); }
    }

    /* Red progress bar at top */
    .card-top-bar {
      height: 3px;
      background: linear-gradient(90deg, var(--red) 0%, #ff5555 100%);
      width: 33%;
      transition: width 0.5s cubic-bezier(.4,0,.2,1);
    }

    /* ── Slide viewport ─────────────────────────────────── */
    .steps-viewport {
      overflow: hidden;
      /* height set dynamically via JS with transition */
      transition: height 0.4s cubic-bezier(.4,0,.2,1);
    }
    .steps-track {
      display: flex;
      width: 300%;
      align-items: flex-start; /* KEY: panels don't stretch to tallest */
      transition: transform 0.42s cubic-bezier(.4,0,.2,1);
    }
    .step-panel {
      width: calc(100% / 3);
      flex-shrink: 0;
      padding: 28px 32px 24px;
    }

    .step-heading {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 3px;
    }
    .step-sub {
      font-size: 0.8rem;
      color: var(--muted);
      margin-bottom: 20px;
      font-style: italic;
      font-weight: 300;
    }

    /* ── Fields ─────────────────────────────────────────── */
    .field-group {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .field {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .field label {
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.9px;
    }
    .field input,
    .field select {
      width: 100%;
      padding: 13px 15px;
      background: var(--input-bg);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.93rem;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
      appearance: none;
      -webkit-appearance: none;
    }
    .field select {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a6a58' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 38px;
    }
    .field input:focus,
    .field select:focus {
      border-color: var(--red);
      box-shadow: 0 0 0 4px var(--red-glow);
      background: #fff;
    }
    .field-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    /* ── Step meta info card (fills space in steps 1 & 2) ── */
    .step-meta {
      margin-top: 18px;
      padding: 14px 16px;
      background: var(--input-bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }
    .meta-row {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.4;
    }
    .meta-row svg {
      width: 14px;
      height: 14px;
      stroke: var(--red);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
      opacity: 0.85;
    }

    /* ── Email hint ─────────────────────────────────────── */
    .email-hint {
      font-size: 0.74rem;
      color: var(--muted);
      padding: 9px 13px;
      background: #FFF8F6;
      border-left: 3px solid var(--red);
      border-radius: 0 8px 8px 0;
      line-height: 1.5;
      margin-top: -4px;
    }

    /* ── Consent ────────────────────────────────────────── */
    .consent-row {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      padding: 14px;
      background: var(--input-bg);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      cursor: pointer;
    }
    .consent-row input[type="checkbox"] {
      width: 17px;
      height: 17px;
      accent-color: var(--red);
      flex-shrink: 0;
      margin-top: 2px;
      cursor: pointer;
    }
    .consent-row label {
      font-size: 0.81rem;
      color: var(--muted);
      line-height: 1.55;
      cursor: pointer;
    }

    /* ── Guest hint ─────────────────────────────────────── */
    .guest-hint {
      font-size: 0.76rem;
      color: var(--muted);
      background: #FFF8F8;
      border-left: 3px solid var(--red);
      border-radius: 0 8px 8px 0;
      padding: 10px 13px;
      line-height: 1.5;
    }
    .guest-hint a {
      color: var(--red);
      text-decoration: none;
      font-weight: 700;
    }

    /* ── Card footer (nav buttons) ───────────────────────── */
    .card-footer {
      padding: 18px 32px 26px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid var(--border);
    }

    .btn-back {
      display: flex;
      align-items: center;
      gap: 6px;
      background: none;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 11px 18px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.86rem;
      font-weight: 600;
      color: var(--muted);
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-back:hover { border-color: var(--red); color: var(--red); }
    .btn-back svg   { width: 15px; height: 15px; flex-shrink: 0; }

    .btn-next {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--red);
      border: none;
      border-radius: 10px;
      padding: 13px 26px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: #fff;
      cursor: pointer;
      letter-spacing: 0.2px;
      transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
      box-shadow: 0 4px 16px rgba(182,0,0,0.35);
    }
    .btn-next:hover:not(:disabled) {
      background: var(--red-dark);
      box-shadow: 0 6px 22px rgba(182,0,0,0.5);
      transform: translateY(-1px);
    }
    .btn-next:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
    .btn-next svg { width: 15px; height: 15px; flex-shrink: 0; }

    .step-counter {
      font-size: 0.73rem;
      color: var(--muted);
      font-weight: 500;
    }

    /* ── Spinner ─────────────────────────────────────────── */
    .spinner {
      width: 15px; height: 15px;
      border: 2px solid rgba(255,255,255,0.35);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ══════════════════════════════════════════════════════
       MOBILE OVERRIDES
    ══════════════════════════════════════════════════════ */
    @media (max-width: 600px) {
      .appt-hero { height: 200px; }
      .appt-hero-content h1 { font-size: 1.65rem; }

      /* Member strip: stack vertically */
      .strip-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px 20px;
      }
      .strip-left {
        align-items: center;
        text-align: center;
      }
      .strip-perks { gap: 6px; }
      .strip-perk  { min-width: 0; }
      .strip-actions {
        flex-direction: row;
        gap: 10px;
      }
      .sa-primary, .sa-secondary { flex: 1; text-align: center; }

      .wizard-wrap { padding: 22px 12px 52px; }

      .step-panel { padding: 22px 18px 18px; }
      .card-footer { padding: 14px 18px 20px; }
      .step-heading { font-size: 1.15rem; }
      .field-row { grid-template-columns: 1fr; }

      .step-dot   { width: 30px; height: 30px; font-size: 0.72rem; }
      .step-label { font-size: 0.6rem; }

      .btn-next { padding: 12px 20px; font-size: 0.86rem; }
      .btn-back { padding: 11px 14px; font-size: 0.84rem; }
    }

    @media (max-width: 380px) {
      .appt-hero-content h1 { font-size: 1.45rem; }
      .hero-eyebrow { font-size: 0.6rem; letter-spacing: 1.8px; }
    }