/* ── FSP Disney Quote v2 — Magical Theme ────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;600&display=swap');

:root {
  --navy:       #072D4C;
  --blue:       #1070AC;
  --gold:       #BE9152;
  --gold-light: #d4a96a;
  --gold-dark:  #9a7340;
  --purple:     #6B21C8;
  --white:      #ffffff;
  --cream:      #ffffff;
  --border:     #dce8f0;
  --text:       #1a2a3a;
  --muted:      #7a8f9e;
  --radius:     12px;
  --shadow:     0 8px 32px rgba(7,45,76,0.12);
}

/* Wrap */
#fsp-disney-wrap {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
  color: var(--text);
  position: relative;
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(7,45,76,0.18), 0 0 0 1px rgba(190,145,82,0.2);
  padding-bottom: 8px;
}

/* Starfield background */
.fsp-stars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.fsp-star-particle {
  position: absolute;
  color: var(--gold);
  animation: fspTwinkle ease-in-out infinite alternate;
}
@keyframes fspTwinkle {
  from { opacity: 0.05; transform: scale(0.8); }
  to   { opacity: 0.45; transform: scale(1.2); }
}

/* Header band */
#fsp-disney-wrap > * { position: relative; z-index: 1; }

/* Progress */
.fsp-progress-track {
  height: 4px;
  background: rgba(7,45,76,0.12);
}
.fsp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 0.5s cubic-bezier(.4,0,.2,1);
  width: 0%;
}

/* Breadcrumb */
.fsp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 20px 0;
  flex-wrap: wrap;
}
.fsp-crumb {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
  white-space: nowrap;
}
.fsp-crumb.active { color: var(--navy); }
.fsp-crumb.done   { color: var(--gold); }
.fsp-crumb-sep    { color: var(--border); font-size: 12px; }

/* Steps */
.fsp-step { display: none; padding: 28px 32px 8px; }
.fsp-step.active { display: block; }

@media (max-width: 540px) {
  .fsp-step { padding: 20px 16px 4px; }
}

/* Step header */
.fsp-step-header {
  text-align: center;
  margin-bottom: 28px;
}
.fsp-fairy-dust {
  font-size: 38px;
  display: block;
  margin-bottom: 10px;
  animation: fspFloat 3s ease-in-out infinite;
}
@keyframes fspFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.fsp-step-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}
.fsp-step-header p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Choice cards (destination) */
.fsp-choice-grid { display: grid; gap: 14px; margin-bottom: 8px; }
.fsp-choice-grid-2 { grid-template-columns: 1fr 1fr; }
.fsp-choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.fsp-choice-grid-4 { grid-template-columns: repeat(4, 1fr); }

.fsp-choice-card { display: block; cursor: pointer; }
.fsp-choice-card input { display: none; }
.fsp-choice-inner {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  background: white;
  transition: all 0.25s;
  user-select: none;
}
.fsp-choice-card input:checked + .fsp-choice-inner,
.fsp-choice-inner.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf7, #fef8ec);
  box-shadow: 0 4px 20px rgba(190,145,82,0.2);
}
.fsp-choice-emoji { font-size: 34px; display: block; margin-bottom: 10px; }
.fsp-choice-inner strong { display: block; font-size: 14px; color: var(--navy); font-weight: 700; }
.fsp-choice-inner small  { color: var(--muted); font-size: 12px; }
.fsp-err-group .fsp-choice-inner { border-color: #e53e3e; }

/* Pill cards (budget, occasion) */
.fsp-pill-card {
  display: block;
  cursor: pointer;
  text-align: center;
}
.fsp-pill-card input { display: none; }
.fsp-pill-card span {
  display: block;
  padding: 10px 8px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: white;
  transition: all 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fsp-pill-card.selected span,
.fsp-pill-card input:checked ~ span {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: white;
  box-shadow: 0 3px 12px rgba(190,145,82,0.35);
}
.fsp-pill-wide { grid-column: 1 / -1; }

/* Toggle buttons (add-ons) */
.fsp-toggle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}
.fsp-toggle-btn {
  display: block;
  cursor: pointer;
}
.fsp-toggle-btn input { display: none; }
.fsp-toggle-btn span {
  display: inline-block;
  padding: 9px 16px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: white;
  transition: all 0.2s;
}
.fsp-toggle-btn.active span,
.fsp-toggle-btn input:checked ~ span {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #1585cc);
  color: white;
  box-shadow: 0 3px 10px rgba(16,112,172,0.3);
}

/* Section labels */
.fsp-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Hotel dropdowns */
.fsp-select-styled {
  width: 100%;
  padding: 13px 40px 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: white;
  appearance: none;
  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='%23072D4C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-bottom: 16px;
  min-height: 48px;
}
.fsp-select-styled:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190,145,82,0.15);
}

/* Off-property toggle */
.fsp-offproperty-toggle { text-align: center; margin: -6px 0 14px; }
.fsp-btn-ghost-sm {
  background: none;
  border: 1.5px dashed var(--muted);
  color: var(--muted);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.fsp-btn-ghost-sm:hover { border-color: var(--navy); color: var(--navy); }
.fsp-gn-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 8px;
}

/* Date row */
.fsp-date-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
}
.fsp-arrow-sep {
  color: var(--gold);
  font-size: 20px;
  padding-bottom: 12px;
  font-weight: bold;
}

/* Party counter */
.fsp-party-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.fsp-counter-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fsp-counter-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: white;
  color: var(--gold);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.fsp-counter-btn:hover { background: var(--gold); color: white; }
.fsp-counter-val {
  font-size: 28px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--navy);
  min-width: 32px;
  text-align: center;
}

/* Child age dropdowns */
.fsp-label-ages {
  display: block;
  margin-bottom: 10px;
}
.fsp-child-ages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.fsp-child-age-item { display: flex; flex-direction: column; gap: 4px; }
.fsp-child-age-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.fsp-child-age-select {
  padding: 9px 10px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: white;
  cursor: pointer;
  box-sizing: border-box;
}
.fsp-child-age-select:focus { outline: none; border-color: var(--gold); }

/* Fields */
.fsp-field { margin-bottom: 16px; }
.fsp-field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fsp-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--navy);
  margin-bottom: 6px;
}
.fsp-optional { font-weight: 400; text-transform: none; color: var(--muted); font-size: 11px; }
.fsp-input, .fsp-select, .fsp-textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  min-height: 48px;
}
.fsp-input:focus, .fsp-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190,145,82,0.15);
}
.fsp-input.fsp-input-err { border-color: #e53e3e; }
.fsp-textarea { resize: vertical; }
.fsp-field-note, .fsp-privacy-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Partner badge */
.fsp-partner-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #3d0f8a, #6B21C8);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0 8px;
}
.fsp-partner-logo-wrap {
  flex-shrink: 0;
}
.fsp-partner-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  background: #7c3aed;
}
.fsp-partner-name {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}
.fsp-partner-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* Navigation */
.fsp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px 28px;
  gap: 12px;
}
.fsp-btn {
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.3px;
}
.fsp-btn-back {
  background: transparent;
  color: var(--muted);
  border: 2px solid var(--border);
}
.fsp-btn-back:hover { border-color: var(--navy); color: var(--navy); }
.fsp-btn-next {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  margin-left: auto;
  box-shadow: 0 4px 18px rgba(7,45,76,0.25);
}
.fsp-btn-next:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(7,45,76,0.3); }
.fsp-btn-submit {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: white;
  margin-left: auto;
  box-shadow: 0 4px 18px rgba(190,145,82,0.4);
  font-size: 16px;
  padding: 14px 36px;
  animation: fspPulseGold 2.5s ease-in-out infinite;
}
@keyframes fspPulseGold {
  0%,100% { box-shadow: 0 4px 18px rgba(190,145,82,0.4); }
  50%      { box-shadow: 0 6px 28px rgba(190,145,82,0.65); }
}
.fsp-btn-submit:hover { transform: translateY(-2px); }
.fsp-btn-book {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white;
  padding: 14px 36px;
  font-size: 16px;
  box-shadow: 0 4px 18px rgba(190,145,82,0.4);
  display: inline-block;
}
.fsp-btn-book:hover { transform: translateY(-2px); color: white; text-decoration: none; }

/* ── LOADING ──────────────────────────────────────────────────────── */
#fsp-loading {
  padding: 60px 32px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(160deg, #0a1a2e 0%, #0d2a4a 60%, #1a0a3d 100%);
}

/* Shooting stars */
.fsp-shooting-stars-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fsp-shoot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  animation: fspShoot 1.8s ease-in forwards;
  animation-play-state: paused;
  opacity: 0;
}
.fsp-shoot::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(to left, rgba(255,255,255,0), white);
  transform: translateY(-50%);
}
.s1 { top: 18%; left: -10%; }
.s2 { top: 35%; left: -10%; animation-delay: 0.35s; width: 4px; height: 4px; }
.s3 { top: 55%; left: -10%; animation-delay: 0.7s; }
.s4 { top: 22%; left: -10%; animation-delay: 1.05s; width: 2px; height: 2px; }
.s5 { top: 68%; left: -10%; animation-delay: 1.4s; width: 3px; height: 3px; }
@keyframes fspShoot {
  0%   { left: -5%;  opacity: 0;   transform: translateX(0) translateY(0); }
  10%  { opacity: 1; }
  100% { left: 115%; opacity: 0;   transform: translateX(0) translateY(20px); }
}

.fsp-loading-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
  margin-top: 16px;
}
.fsp-loading-logo {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  animation: fspSpinIn 0.6s cubic-bezier(.34,1.56,.64,1) forwards, fspGlow 2s ease-in-out infinite 0.6s;
  box-shadow: 0 0 30px rgba(107,33,200,0.6), 0 0 60px rgba(107,33,200,0.3);
}
@keyframes fspSpinIn {
  from { transform: rotate(-180deg) scale(0.3); opacity: 0; }
  to   { transform: rotate(0deg)    scale(1);   opacity: 1; }
}
@keyframes fspGlow {
  0%,100% { box-shadow: 0 0 30px rgba(107,33,200,0.6), 0 0 60px rgba(107,33,200,0.3); }
  50%      { box-shadow: 0 0 50px rgba(190,145,82,0.8), 0 0 90px rgba(107,33,200,0.5); }
}
.fsp-loading-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}
.fsp-loading-sub {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin: 0;
}

/* ── RESULT ────────────────────────────────────────────────────────── */
#fsp-result {
  border-radius: 16px;
  overflow: hidden;
  margin: 16px;
  border: 1px solid rgba(190,145,82,0.2);
  box-shadow: var(--shadow);
}
.fsp-result-header {
  background: linear-gradient(135deg, var(--navy), #0e4a7a);
  color: white;
  padding: 28px 24px 22px;
  text-align: center;
}
.fsp-result-stars {
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 8px;
  display: block;
  margin-bottom: 8px;
}
.fsp-result-header h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  margin: 0 0 6px;
  font-size: 22px;
}
.fsp-result-header p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  margin: 0;
}
.fsp-quote-body {
  padding: 28px 28px 20px;
  background: white;
  line-height: 1.9;
  font-size: 15px;
  white-space: pre-line;
}
.fsp-result-cta {
  background: #f9f9f9;
  border-top: 1px solid rgba(190,145,82,0.15);
  padding: 24px;
  text-align: center;
}
.fsp-result-cta > p:first-child {
  color: var(--navy);
  font-family: 'Cinzel', serif;
  font-size: 15px;
  margin: 0 0 16px;
}
.fsp-email-note { margin-top: 14px !important; font-size: 12px !important; color: var(--muted) !important; }

/* ── ERROR ─────────────────────────────────────────────────────────── */
.fsp-error-wrap {
  text-align: center;
  padding: 48px 24px;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  margin: 16px;
}
.fsp-error-icon { font-size: 36px; display: block; margin-bottom: 12px; }
#fsp-error-msg { color: #c53030; font-size: 16px; margin-bottom: 20px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 540px) {
  .fsp-choice-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .fsp-choice-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .fsp-field-row-2   { grid-template-columns: 1fr; }
  .fsp-date-row      { grid-template-columns: 1fr; }
  .fsp-arrow-sep     { display: none; }
  .fsp-party-row     { grid-template-columns: 1fr; }
  .fsp-nav           { flex-wrap: wrap; padding: 16px; }
  .fsp-btn           { width: 100%; text-align: center; margin-left: 0 !important; }
  .fsp-breadcrumb    { gap: 4px; font-size: 10px; }
}
