/* ============================================================
   Revenue Wizards — RevOps Self-Assessment
   Brand tokens + screens + transitions + responsive + a11y.
   ============================================================ */

:root {
  --rw-navy:        #1D2335;
  --rw-teal:        #337B6E;
  --rw-yellow:      #F5C800;
  --rw-coral:       #E8664A;
  --rw-cyan:        #1DC5E8;
  --rw-purple:      #8B7BD8;
  --rw-white:       #FFFFFF;
  --rw-gray-light:  #F2F3F6;
  --rw-gray-mid:    #E0E2E8;
  --rw-text-dark:   #1D2335;
  --rw-text-muted:  #6B7280;

  --rw-radius-sm:   4px;
  --rw-radius-md:   8px;
  --rw-radius-lg:   16px;

  --rw-gap-xs:      12px;
  --rw-gap-sm:      24px;
  --rw-gap-md:      40px;
  --rw-gap-lg:      64px;

  --rw-max-width:   1140px;
  --rw-margin:      40px;

  --rw-font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  margin: 0; padding: 0;
  font-family: var(--rw-font);
  color: var(--rw-text-dark);
  background: var(--rw-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--rw-yellow);
  outline-offset: 2px;
  border-radius: var(--rw-radius-sm);
}

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

.container {
  max-width: var(--rw-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.screen {
  position: relative;
  min-height: 100vh;
  padding: clamp(40px, 8vw, 96px) 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms var(--ease-spring), transform 320ms var(--ease-spring);
  overflow: hidden;
}
.screen.screen--enter { opacity: 1; transform: none; }

.screen[data-bg="navy"]   { background: var(--rw-navy); color: var(--rw-white); }
.screen[data-bg="light"]  { background: var(--rw-gray-light); color: var(--rw-text-dark); }
.screen[data-bg="white"]  { background: var(--rw-white); color: var(--rw-text-dark); }

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

.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.12em;
  font-weight: 700; text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow--yellow  { color: var(--rw-yellow); }
.eyebrow--teal    { color: var(--rw-teal); }
.eyebrow--inverse { color: var(--rw-navy); background: rgba(255,255,255,0.85); padding: 6px 10px; border-radius: 999px; }
.screen[data-text="white"] .eyebrow--inverse { background: rgba(29,35,53,0.15); color: var(--rw-white); }
.eyebrow--accent  { color: var(--accent, var(--rw-coral)); }

.h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.h1 em { font-style: normal; }
.h1 strong { font-weight: 800; }

.h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 16px;
}
.h2--invert { color: var(--rw-white); }

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--rw-text-dark);
  max-width: 60ch;
}
.screen[data-bg="navy"] .lead { color: rgba(255,255,255,0.92); }
.lead--invert { color: rgba(255,255,255,0.92); }

.subhead {
  font-size: 16px; line-height: 1.55;
  color: var(--rw-text-muted);
  margin: 0 0 32px;
  max-width: 64ch;
}
.screen[data-bg="navy"] .subhead { color: rgba(255,255,255,0.78); }

/* ------------------ Buttons ------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--rw-radius-md);
  font-weight: 700; font-size: 15px;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  transition: transform 200ms var(--ease-spring), box-shadow 200ms var(--ease-spring), background 200ms;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled, .btn[disabled] {
  opacity: 0.45; cursor: not-allowed; transform: none;
}
.btn--yellow  { background: var(--rw-yellow); color: var(--rw-navy); }
.btn--yellow:hover { background: #ffd520; }
.btn--navy    { background: var(--rw-navy); color: var(--rw-white); }
.btn--navy:hover { background: #2a3147; }
.btn--ghost   { background: transparent; color: var(--rw-navy); border: 1px solid var(--rw-gray-mid); }
.btn--ghost:hover { background: var(--rw-gray-light); }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: var(--rw-white); border: 1px solid rgba(255,255,255,0.25); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.15); }
.btn--full    { width: 100%; }
.btn--lg      { padding: 18px 28px; font-size: 16px; min-height: 56px; }
.btn--sm      { padding: 10px 16px; font-size: 14px; min-height: 40px; }

.btn-link {
  color: var(--rw-yellow);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------ Hero ------------------- */

.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}
.hero-cta-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 8px;
}
.hero-trust {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.hero-trust-text { display: inline-block; }
.hero-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.hero-logos li { display: inline-flex; align-items: center; }
.hero-logos img {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.78;
  filter: brightness(0) invert(1);
  transition: opacity 200ms;
}
/* Stacked icon+text logos need extra height to read at the same weight as wordmarks. */
.hero-logos img[alt="Fresh at Work"],
.hero-logos img[alt="FeedbackFruits"] { height: 32px; }
.hero-logos img:hover { opacity: 1; }
@media (max-width: 540px) {
  .hero-trust { gap: 10px 14px; }
  .hero-logos { gap: 10px 20px; }
  .hero-logos img { height: 16px; }
  .hero-logos img[alt="Fresh at Work"],
  .hero-logos img[alt="FeedbackFruits"] { height: 26px; }
}
.hero-art { display: flex; justify-content: center; align-items: center; }

.rw-bigcircles { width: 100%; max-width: 480px; height: auto; opacity: 0.95; }

/* ------------------ "What you'll get" list (under hero) ------------------- */

.explainer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--rw-white);
}
.explainer-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 24px;
}
.explainer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
.explainer-list > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.explainer-list > li:first-child { border-top: 0; }
@media (min-width: 880px) {
  .explainer-list > li {
    grid-template-columns: 80px 1fr;
    gap: 32px;
  }
}
.explainer-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--rw-yellow);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.explainer-body h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rw-white);
  letter-spacing: -0.005em;
}
.explainer-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin: 0;
  max-width: 60ch;
}

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

.progress {
  display: flex; align-items: center; gap: 16px;
  max-width: var(--rw-max-width);
  margin: 0 auto 32px;
  padding: 0 24px;
}
.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--rw-gray-mid);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--rw-teal);
  transition: width 280ms var(--ease-spring);
}
.progress-label {
  font-size: 12px; font-weight: 600;
  color: var(--rw-text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .progress { gap: 10px; }
  .progress-label { font-size: 11px; }
}

/* ------------------ Question screens ------------------- */

.screen--question {
  padding: clamp(24px, 4vw, 56px) 0;
  display: flex;
  flex-direction: column;
}
.screen--question .container.question-grid { flex: 1 1 auto; }

.screen--question .h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 12px;
}
.screen--question .subhead {
  font-size: 14px;
  margin: 0 0 20px;
}

.question-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  align-items: start;
}
@media (min-width: 980px) {
  .question-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
.question-main {
  display: flex;
  flex-direction: column;
}

.q-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  min-height: 56px;
}
.q-nav--single { justify-content: flex-end; }
.q-nav .btn { min-width: 140px; }
.q-nav .btn[disabled],
.q-nav .btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}
@media (max-width: 540px) {
  .q-nav { gap: 12px; padding-top: 24px; }
  .q-nav .btn { min-width: 0; flex: 1; }
}

.answer-grid {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
.answer-grid--2x2 { grid-template-columns: 1fr; }
.answer-grid--3   { grid-template-columns: 1fr; }
.answer-grid--4   { grid-template-columns: 1fr; }
.answer-grid--5   { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .answer-grid--2x2 { grid-template-columns: 1fr 1fr; }
  .answer-grid--3   { grid-template-columns: repeat(3, 1fr); }
  .answer-grid--4   { grid-template-columns: repeat(2, 1fr); }
  .answer-grid--5   { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .answer-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .answer-grid--5 { grid-template-columns: repeat(5, 1fr); }
}

.answer-card {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  justify-content: center;
  padding: 16px 18px;
  background: var(--rw-white);
  border: 2px solid var(--rw-gray-mid);
  border-radius: var(--rw-radius-md);
  text-align: left;
  transition: border-color 180ms, transform 180ms var(--ease-spring), box-shadow 180ms;
  min-height: 64px;
}
.answer-card:hover {
  border-color: var(--rw-navy);
  transform: translateY(-1px);
}
.answer-card:active { transform: translateY(0) scale(0.99); }
.answer-card--checked {
  border-color: var(--rw-navy);
  background: var(--rw-navy);
  color: var(--rw-white);
}
.answer-card--checked .answer-descriptor { color: rgba(255,255,255,0.78); }

.answer-label {
  font-weight: 500; font-size: 16px; line-height: 1.4;
  color: var(--rw-text-dark);
}
.answer-card--checked .answer-label { color: var(--rw-white); font-weight: 600; }
.answer-descriptor {
  font-size: 13px; color: var(--rw-text-muted); line-height: 1.45;
}
.answer-pill {
  position: absolute; top: 12px; right: 12px;
  background: var(--rw-yellow); color: var(--rw-navy);
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase;
}

.ctx-block { border: 0; padding: 0; margin: 0 0 32px; }
.ctx-legend {
  font-weight: 700; font-size: 14px;
  color: var(--rw-text-dark);
  margin-bottom: 12px;
  padding: 0;
}

/* ------------------ Educational reveal ------------------- */

.reveal-column {
  position: sticky;
  top: 24px;
  align-self: start;
}
.reveal {
  position: relative;
}
.reveal--shown { /* opacity managed by stat-card */ }

.reveal-placeholder {
  padding: 24px 4px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  color: var(--rw-text-muted);
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  max-width: 36ch;
}
.reveal-placeholder-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rw-yellow);
  box-shadow: 0 0 0 0 rgba(245,200,0,0.4);
  animation: pulse 2s var(--ease-spring) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,200,0,0.45); }
  70%  { box-shadow: 0 0 0 12px rgba(245,200,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,200,0,0); }
}

.stat-card {
  position: relative;
  background: var(--rw-white);
  padding: 28px;
  border-radius: var(--rw-radius-md);
  border: 1px solid rgba(29,35,53,0.06);
  animation: fadeInUp 320ms var(--ease-spring);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.stat-bignum {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800; line-height: 0.95;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}
.stat-card--coral  .stat-bignum { color: var(--rw-coral); }
.stat-card--teal   .stat-bignum { color: var(--rw-teal); }
.stat-card--cyan   .stat-bignum { color: var(--rw-cyan); }
.stat-card--purple .stat-bignum { color: var(--rw-purple); }

.stat-label {
  font-size: 15px; font-weight: 600;
  color: var(--rw-text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.stat-context {
  font-size: 14px; line-height: 1.6;
  color: var(--rw-text-muted);
  margin: 0 0 12px;
}
.stat-source {
  font-size: 12px;
  color: var(--rw-text-muted);
  font-weight: 500;
}
.stat-source a { color: var(--rw-text-muted); }
.stat-source a:hover { color: var(--rw-navy); }

/* ------------------ Gate (lead capture) ------------------- */

.screen--gate {
  padding: clamp(24px, 4vw, 56px) 0;
  display: flex;
  flex-direction: column;
}
.screen--gate .h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 8px;
}
.screen--gate .subhead {
  font-size: 14px;
  margin: 0 0 16px;
}
.gate-wrap { display: flex; justify-content: center; }
.gate-card {
  background: var(--rw-white);
  border: 1px solid rgba(29,35,53,0.08);
  border-radius: var(--rw-radius-md);
  padding: 32px 36px;
  max-width: 540px; width: 100%;
}
.gate-form { display: grid; gap: 12px; margin-top: 16px; }
.form-row { display: flex; flex-direction: column; gap: 4px; }
.form-row label {
  font-size: 13px; font-weight: 600;
  color: var(--rw-text-dark);
}
.form-row input,
.form-row select {
  padding: 10px 12px;
  border: 1.5px solid var(--rw-gray-mid);
  border-radius: var(--rw-radius-sm);
  font-family: var(--rw-font);
  font-size: 15px;
  background: var(--rw-white);
  color: var(--rw-text-dark);
  min-height: 40px;
  transition: border-color 180ms;
}
.form-row input:focus,
.form-row select:focus { border-color: var(--rw-navy); }
.form-error {
  font-size: 13px; color: var(--rw-coral); margin: 4px 0 0;
}
.form-consent {
  font-size: 12px; color: var(--rw-text-muted);
  line-height: 1.5; margin: 4px 0 0;
}
.form-meta {
  font-size: 13px; color: var(--rw-text-muted);
  text-align: center; margin: 8px 0 0;
}

/* ------------------ Result ------------------- */

.screen--result-hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.screen--result-hero[data-band="coral"]  { background: var(--rw-coral); }
.screen--result-hero[data-band="yellow"] { background: var(--rw-yellow); }
.screen--result-hero[data-band="cyan"]   { background: var(--rw-cyan); }
.screen--result-hero[data-band="teal"]   { background: var(--rw-teal); }
.screen--result-hero[data-text="white"] { color: var(--rw-white); }
.screen--result-hero[data-text="navy"]  { color: var(--rw-navy); }

.result-hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start;
}
@media (min-width: 900px) {
  .result-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
}

.screen--result-hero .lead {
  color: inherit; opacity: 0.92;
  max-width: 60ch;
}
.result-bigscore {
  margin-top: 24px;
  display: inline-flex; align-items: baseline; gap: 8px;
  background: rgba(0,0,0,0.08);
  padding: 16px 24px; border-radius: var(--rw-radius-md);
}
.screen--result-hero[data-text="white"] .result-bigscore { background: rgba(255,255,255,0.12); }
.result-bigscore .bignum {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800; line-height: 1;
}
.result-bigscore .den { font-size: 22px; font-weight: 600; opacity: 0.7; }

.result-stage {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: inherit;
  opacity: 0.78;
}

.result-hero-art { display: flex; justify-content: center; }

/* Animated "scroll for more" affordance on the result hero */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--rw-radius-sm);
  transition: opacity 200ms;
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.scroll-hint-arrow {
  font-size: 20px;
  line-height: 1;
  animation: scroll-hint-bounce 1.6s ease-in-out infinite;
}
@keyframes scroll-hint-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (max-width: 540px) {
  .scroll-hint { bottom: 16px; font-size: 12px; }
  .scroll-hint-arrow { font-size: 18px; }
}

/* Breakdown */

.scorecard {
  margin-top: 32px;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(29,35,53,0.08);
}
.scorerow {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  padding: 22px 0;
  border-bottom: 1px solid rgba(29,35,53,0.08);
}
@media (min-width: 760px) {
  .scorerow {
    grid-template-columns: 1.1fr 1fr 1.4fr;
    gap: 32px;
    align-items: center;
  }
}
.scorerow-name strong {
  display: block;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rw-navy);
  margin-bottom: 6px;
  font-weight: 700;
}
.scorerow-name span {
  font-size: 14px; color: var(--rw-text-muted); line-height: 1.4;
}
.scorerow-bar {
  display: flex; gap: 6px;
}
.bar-cell {
  flex: 1; height: 12px;
  background: var(--rw-gray-mid);
  border-radius: 999px;
}
.bar-cell--filled { background: var(--c, var(--rw-teal)); }
.scorerow-next {
  font-size: 14px; color: var(--rw-text-dark);
  font-weight: 500;
}

.lowest-callout {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(29,35,53,0.08);
}
.lowest-callout .eyebrow {
  margin-bottom: 20px;
  display: inline-block;
}
.lowest-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 720px) {
  .lowest-grid { grid-template-columns: auto 1fr; gap: 40px; }
}
.lowest-stat {
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 800;
  line-height: 0.9;
  color: var(--c, var(--rw-coral));
  letter-spacing: -0.02em;
}
.lowest-label {
  font-weight: 700; font-size: 17px;
  margin-bottom: 8px;
  color: var(--rw-text-dark);
  letter-spacing: -0.005em;
}
.lowest-callout p {
  font-size: 15px; color: var(--rw-text-muted); line-height: 1.6; margin: 0 0 12px;
  max-width: 60ch;
}
.dim-tag {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--c, var(--rw-coral));
}

/* CTA section */

.cta-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .screen--cta[data-layout="split"] .cta-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: stretch;
  }
}
.cta-copy { max-width: 64ch; }
.cta-copy .lead { margin-bottom: 28px; }
.cta-copy .btn--lg { margin-top: 8px; }
.cta-secondary {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.cta-pointer {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--rw-yellow);
  letter-spacing: -0.005em;
}
.cta-pointer-arrow {
  display: inline-block;
  margin-left: 4px;
  transform: translateX(0);
  transition: transform 240ms var(--ease-spring);
  animation: cta-pointer-drift 2s ease-in-out infinite;
}
@keyframes cta-pointer-drift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}
@media (max-width: 900px) {
  .cta-pointer-arrow { transform: rotate(90deg); animation-name: cta-pointer-drift-down; }
}
@keyframes cta-pointer-drift-down {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50%      { transform: rotate(90deg) translateX(6px); }
}
.cta-booking {
  width: 100%;
  display: flex;
  align-items: stretch;
}
.cta-booking-frame {
  width: 100%;
  min-height: 560px;
  border-radius: var(--rw-radius-md);
  background: var(--rw-white);
  overflow: hidden;
}
@media (max-width: 900px) {
  .cta-booking-frame { min-height: 720px; }
}

/* ------------------ Reduced motion ------------------- */

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

/* ------------------ Mobile fine-tune ------------------- */

@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .progress { padding: 0 16px; margin-bottom: 24px; }
  .gate-card { padding: 24px 20px; }
  .scorerow { padding: 18px 0; }
}
