/* Cruiser Readiness Quiz and its six result pages. Ported from
   bwc-landing-pages/cruiser-readiness-quiz/styles.css onto this site's tokens
   (Montserrat, #0063a3, #F3C125) so it reads as part of the site. Everything is
   scoped under .qz so it cannot touch another page's .btn-primary or .card.
   Shared by quiz.html and the six result pages, hence its own folder. */

.qz {
  --qz-blue: #0063a3;
  --qz-deep: #03172F;
  --qz-yellow: #F3C125;
  --qz-ink: #03172F;
  --qz-muted: #475569;
  --qz-line: #e2e8f0;
  --qz-max: 960px;
}
.qz .qz-wrap { max-width: var(--qz-max); margin: 0 auto; padding: 0 22px; }
.qz .hidden { display: none !important; }

/* ===== Hero, photo behind the card ===== */
.qz-hero {
  background-image: linear-gradient(rgba(3, 23, 47, .35), rgba(3, 23, 47, .45)), url('/quiz/hero.jpg');
  background-size: cover;
  background-position: center;
  padding: 44px 0 56px;
}

/* Darker overlay where white text sits straight on the photo (result pages). */
.qz-hero.qz-hero--dark { background-image: linear-gradient(rgba(3, 23, 47, .55), rgba(3, 23, 47, .68)), url('/quiz/hero.jpg'); }

/* ===== Progress ===== */
.qz-progress { max-width: var(--qz-max); margin: 0 auto 18px; }
.qz-progress-track { height: 9px; background: rgba(255, 255, 255, .3); border-radius: 99px; overflow: hidden; }
.qz-progress-bar { height: 100%; width: 0; background: var(--qz-yellow); border-radius: 99px; transition: width .35s ease; }
.qz-progress-meta { display: flex; justify-content: flex-end; margin-top: 8px; font-size: 12px; color: #ffffff; font-weight: 700; }

/* ===== Card ===== */
.qz-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(3, 23, 47, .28);
  padding: 44px 46px;
}
.qz-title { font-weight: 900; font-size: 44px; line-height: 1.1; text-align: center; color: var(--qz-deep); margin: 0 0 18px; text-wrap: balance; }
.qz-lede { font-size: 16px; line-height: 1.65; color: var(--qz-muted); text-align: center; margin: 0 auto 26px; max-width: 640px; }
.qz-tagline { font-size: 15px; font-weight: 700; color: var(--qz-deep); text-align: center; margin: 24px auto 0; max-width: 640px; }

/* Buttons */
.qz-btn {
  font-family: inherit; font-weight: 700; font-size: 15px;
  border: none; border-radius: 4px; padding: 15px 30px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
}
.qz-btn-primary { background: var(--qz-yellow); color: var(--qz-deep); }
.qz-btn-primary:hover { color: var(--qz-deep); opacity: .92; }
.qz-btn-primary[disabled] { background: #cbd5e1; color: #64748b; cursor: not-allowed; opacity: 1; }
.qz-btn-ghost { background: transparent; color: var(--qz-muted); padding: 14px 10px; text-transform: none; font-weight: 700; }
.qz-btn-ghost:hover { color: var(--qz-blue); }
.qz-btn-row { display: flex; justify-content: center; margin-top: 8px; }

/* ===== Question ===== */
.qz-step { animation: qz-fade .3s ease; }
@keyframes qz-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qz-q { font-size: 24px; line-height: 1.25; font-weight: 900; color: var(--qz-deep); margin: 0 0 6px; }
.qz-sub { font-size: 14px; color: var(--qz-muted); margin: 0 0 22px; }
.qz-options { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 0; }
.qz-opt {
  display: flex; align-items: center; gap: 14px; width: 100%;
  border: 1.5px solid var(--qz-line); background: #ffffff; border-radius: 6px;
  padding: 15px 18px; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--qz-ink);
}
.qz-opt:hover { border-color: var(--qz-blue); background: #f4f7fb; }
.qz-opt .qz-tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1; display: grid; place-items: center; }
.qz-opt.is-selected { border-color: var(--qz-blue); background: #e8f1f9; }
.qz-opt.is-selected .qz-tick { border-color: var(--qz-blue); background: var(--qz-blue); }
.qz-opt.is-selected .qz-tick::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffffff; }
.qz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }

/* ===== Result gate and details form ===== */
.qz-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--qz-blue); background: #e8f1f9; border-radius: 99px; padding: 6px 14px; margin: 0 0 14px; }
.qz-result-name { font-size: 34px; line-height: 1.15; font-weight: 900; color: var(--qz-deep); margin: 0 0 14px; }
.qz-result-teaser { font-size: 16px; line-height: 1.65; color: var(--qz-muted); margin: 0 0 8px; }
.qz-lock { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; justify-content: center; margin: 18px 0 14px; }
.qz-form { max-width: 520px; margin: 0 auto; }
.qz-form .native-form-card { border: none; padding: 0; }
.qz-form .qz-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qz-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; color: #64748b; margin: 0 0 16px; cursor: pointer; }
.qz-consent input { accent-color: var(--qz-blue); margin-top: 2px; flex-shrink: 0; }
.qz-redirecting { text-align: center; padding: 48px 10px; color: var(--qz-blue); font-weight: 700; }
.qz-spinner { width: 36px; height: 36px; border: 3px solid #dbe5ef; border-top-color: var(--qz-blue); border-radius: 50%; margin: 0 auto 16px; animation: qz-spin .8s linear infinite; }
@keyframes qz-spin { to { transform: rotate(360deg); } }

/* ===== Intro-only sections ===== */
.qz-steps { background: #f4f7fb; padding: 60px 0 64px; }
.qz-steps h2 { font-size: 30px; font-weight: 900; text-align: center; color: var(--qz-deep); margin: 0 0 16px; text-wrap: balance; }
.qz-steps .qz-intro { max-width: 760px; margin: 0 auto 36px; text-align: center; font-size: 16px; line-height: 1.65; color: var(--qz-muted); }
.qz-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--qz-max); margin: 0 auto; }
.qz-numcard { background: #ffffff; border: 1px solid var(--qz-line); border-radius: 8px; padding: 28px 22px; text-align: center; }
.qz-num { font-size: 44px; font-weight: 900; color: var(--qz-blue); line-height: 1; margin: 0 0 12px; }
.qz-numcard p:last-child { margin: 0; color: var(--qz-ink); font-weight: 600; font-size: 15px; line-height: 1.5; }

/* ===== Who we are ===== */
.qz-who { padding: 64px 0; }
.qz-who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.qz-kicker { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--qz-blue); font-weight: 800; margin: 0 0 14px; }
.qz-who h2 { font-size: 32px; font-weight: 900; color: var(--qz-deep); line-height: 1.15; margin: 0 0 20px; text-wrap: balance; }
.qz-who p { color: var(--qz-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.qz-who-photo img { width: 100%; height: auto; border-radius: 8px; display: block; }
.qz-stats { display: flex; gap: 22px; margin: 26px 0 0; }
.qz-stat { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.qz-stat-num { font-size: 30px; font-weight: 900; color: var(--qz-blue); line-height: 1; }
.qz-stat-label { font-size: 12px; color: var(--qz-muted); font-weight: 700; margin-top: 4px; }

/* ===== Result pages ===== */
.qz-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #dbe5ef; text-align: center; margin: 0 0 14px; font-weight: 800; }
.qz-hero-name { font-size: 40px; line-height: 1.15; font-weight: 900; color: #ffffff; margin: 0 0 16px; text-align: center; text-wrap: balance; }
.qz-hero-name em { font-style: normal; color: var(--qz-yellow); }
.qz-hero-teaser { font-size: 17px; line-height: 1.6; color: #e8eef6; text-align: center; max-width: 640px; margin: 0 auto 26px; }
.qz-video { max-width: 640px; margin: 0 auto 28px; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.qz-video iframe { width: 100%; height: 100%; border: none; display: block; }
.qz-hero-cta { display: flex; justify-content: center; }
.qz-cal-title { font-size: 20px; font-weight: 900; color: #ffffff; text-align: center; margin: 0 0 16px; }
.qz-cal { max-width: 640px; margin: 0 auto 10px; background: #ffffff; border-radius: 8px; padding: 4px; }
.qz-cal iframe { width: 100%; border: none; display: block; min-height: 560px; }

.qz-body { padding: 54px 0 10px; }
.qz-block { max-width: var(--qz-max); margin: 0 auto 36px; }
.qz-block h2 { font-size: 24px; font-weight: 900; color: var(--qz-deep); margin: 0 0 10px; }
.qz-block p { color: var(--qz-muted); font-size: 16px; line-height: 1.7; margin: 0 0 12px; }
.qz-block p:last-child { margin-bottom: 0; }

.qz-next { background: var(--qz-deep); color: #ffffff; border-radius: 8px; max-width: var(--qz-max); margin: 0 auto 54px; padding: 38px 30px; text-align: center; }
.qz-next h2 { font-size: 24px; font-weight: 900; margin: 0 0 12px; color: #ffffff; }
.qz-next p { color: #c2d1e9; font-size: 16px; line-height: 1.6; max-width: 600px; margin: 0 auto 24px; }

.qz-testimonials { background: #f4f7fb; padding: 60px 0; }
.qz-testimonials h2 { font-size: 28px; font-weight: 900; color: var(--qz-deep); text-align: center; margin: 0 0 34px; text-wrap: balance; }
.qz-tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: var(--qz-max); margin: 0 auto; }
.qz-tcard { background: #ffffff; border: 1px solid var(--qz-line); border-radius: 8px; padding: 22px 20px; }
.qz-stars { color: var(--qz-yellow); font-size: 15px; letter-spacing: 2px; margin: 0 0 10px; }
.qz-quote { color: var(--qz-ink); font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.qz-tname { color: #64748b; font-size: 13px; font-weight: 700; margin: 0; }

@media (max-width: 760px) {
  .qz-hero { padding: 24px 0 36px; }
  .qz-card { padding: 22px 16px; }
  .qz-title { font-size: 30px; }
  .qz-lede { font-size: 15px; }
  .qz-cards3, .qz-tgrid { grid-template-columns: 1fr; }
  .qz-who-grid { grid-template-columns: 1fr; gap: 28px; }
  .qz-btn-row .qz-btn { width: 100%; }
  .qz-q { font-size: 18px; }
  .qz-options { gap: 8px; margin-top: 12px; }
  .qz-opt { padding: 11px 14px; font-size: 14px; gap: 11px; }
  .qz-opt .qz-tick { width: 19px; height: 19px; }
  .qz-nav { margin-top: 16px; }
  .qz-result-name { font-size: 26px; }
  .qz-form .qz-name-row { grid-template-columns: 1fr; gap: 0; }
  .qz-hero-name { font-size: 28px; }
  .qz-hero-teaser { font-size: 15px; }
  .qz-block h2, .qz-who h2, .qz-steps h2, .qz-testimonials h2 { font-size: 22px; }
  .qz-next { padding: 28px 20px; margin-bottom: 40px; }
  .qz-steps, .qz-who, .qz-testimonials { padding: 44px 0; }
}
