/* quiz.css — Brandbook v5 */
:root {
  --blue: #0B7A94;
  --blue-light: #EEF8FA;
  --orange: #E8732A;
  --orange-hover: #D46623;
  --green: #34c98b;
  --gradient: linear-gradient(135deg, #34c98b 0%, #0fa8c9 100%);
  --white: #FFFFFF;
  --text: #111111;
  --text-secondary: #555555;
  --text-muted: #999999;
  --border: #D8EDEF;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif !important;
  background: var(--white) !important;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none !important; color: inherit; }

/* ========== QUIZ CONTAINER ========== */
.quiz-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  min-height: 100vh;
}

/* ========== PROGRESS BAR (Nedura-style) ========== */
.quiz-progress-area {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.quiz-progress-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
}
.quiz-progress-counter {
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
}
.quiz-progress {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--orange);
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* Card wrapper */
.quiz-card-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.quiz-step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* ========== QUESTION ========== */
.quiz-question h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  color: var(--text);
}
.quiz-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ========== OPTION CARDS ========== */
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.quiz-options.three-col {
  grid-template-columns: repeat(3, 1fr);
}
.quiz-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.quiz-card:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(11, 122, 148, 0.12);
  transform: translateY(-1px);
}
.quiz-card.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(11, 122, 148, 0.15);
}
.quiz-card-icon {
  font-size: 32px;
  line-height: 1;
}
.quiz-card-label {
  text-align: center;
}
.quiz-card-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
  margin-top: -4px;
}

/* ========== FAMILY PICKER ========== */
.family-picker {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 12px;
}
.picker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.picker-row:last-child { border-bottom: none; }
.picker-label {
  font-size: 15px;
  font-weight: 600;
}
.picker-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.picker-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}
.picker-btn:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
.picker-value {
  font-size: 18px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}
.child-ages {
  margin-top: 8px;
  padding-top: 8px;
}
.child-age-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.age-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
}

/* ========== MULTI-SELECT INDICATOR ========== */
.quiz-card.selected::after {
  content: '\2713';
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}
.quiz-card {
  position: relative;
}

/* ========== BUDGET INPUT ========== */
.budget-input-wrap {
  margin-top: 16px;
}
.budget-input-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.budget-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 16px 4px 4px;
}
.budget-number-input {
  flex: 1;
  padding: 16px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  -moz-appearance: textfield;
}
.budget-number-input::-webkit-outer-spin-button,
.budget-number-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.budget-number-input:focus {
  outline: none;
}
.budget-field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 122, 148, 0.1);
}
.budget-number-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.budget-suffix {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
.budget-hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ========== DREAM TEXT (OPTIONAL) ========== */
.dream-input {
  margin-top: 12px;
}
.dream-textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.dream-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 122, 148, 0.1);
}
.dream-textarea::placeholder {
  color: var(--text-muted);
}

/* ========== TEXT INPUT (Name) ========== */
.quiz-text-input-wrap {
  margin-top: 20px;
  text-align: center;
}
.quiz-text-input {
  width: 100%;
  max-width: 360px;
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  text-align: center;
  transition: border-color 0.2s;
}
.quiz-text-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 122, 148, 0.1);
}
.quiz-text-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.quiz-text-input.shake {
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ========== EMAIL INPUT ========== */
.quiz-email-wrap {
  margin-top: 20px;
  text-align: center;
}
.quiz-email-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.quiz-email-input {
  max-width: 400px;
}
.quiz-email-consent {
  margin-top: 14px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-email-consent a {
  color: var(--text-muted);
  text-decoration: underline;
}
.quiz-btn-email-submit {
  background: var(--orange) !important;
  margin-top: 16px;
}
.quiz-btn-skip {
  display: block;
  margin: 10px auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  padding: 8px 16px;
}
.quiz-btn-skip:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ========== INTERSTITIAL ========== */
.interstitial-wrap {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.interstitial-wrap .quiz-question h2 {
  font-size: 22px;
}
.quiz-interstitial {
  text-align: center;
  padding: 24px 16px;
}
.quiz-interstitial-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.quiz-interstitial-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
}

/* ========== BUDGET PICKER ========== */
.quiz-budget-picker {
  margin-top: 16px;
}
.budget-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.budget-preset {
  padding: 12px 20px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.budget-preset:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
.budget-preset.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}
.budget-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.budget-input {
  width: 160px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  background: var(--white);
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}
.budget-input::-webkit-outer-spin-button,
.budget-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.budget-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 122, 148, 0.1);
}
.budget-input::placeholder {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}
.budget-suffix {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ========== AIRPORT PICKER ========== */
.airport-picker {
  margin-top: 12px;
}
.airport-input-wrap {
  position: relative;
}
.airport-input {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
}
.airport-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 122, 148, 0.1);
}
.airport-input::placeholder {
  color: var(--text-muted);
}
.airport-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  max-height: 220px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.airport-suggestion {
  padding: 12px 16px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s;
}
.airport-suggestion:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.airport-hint {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== DATE PICKER ========== */
.date-picker {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 12px;
}
.date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.date-row:last-of-type { border-bottom: none; }
.date-label {
  font-size: 15px;
  font-weight: 600;
}
.date-input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  min-width: 160px;
}
.date-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 122, 148, 0.1);
}
.date-duration {
  text-align: center;
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  padding-top: 12px;
  margin-top: 4px;
}

/* ========== NAVIGATION ========== */
.quiz-nav {
  padding: 12px 0 0;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.quiz-btn-back {
  padding: 6px 12px;
  background: none;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  align-self: flex-start;
  color: var(--text-secondary);
  transition: border-color 0.15s;
}
.quiz-btn-back:hover { color: var(--text); }
.quiz-btn-next {
  padding: 16px 28px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
}
.quiz-btn-next:hover { background: var(--orange-hover); }

/* ========== ANIMATIONS ========== */
.fade-in {
  animation: fadeSlideIn 0.35s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== LOADING SCREEN ========== */
.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 80px;
}
.loading-screen {
  text-align: center;
  max-width: 400px;
  width: 100%;
}
.loading-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 32px;
}
.loading-steps {
  text-align: left;
  margin-bottom: 28px;
}
.loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius);
  opacity: 0.3;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
}
.loading-step.active {
  opacity: 1;
  transform: translateX(0);
  background: var(--blue-light);
}
.loading-step.done {
  opacity: 0.7;
  background: transparent;
}
.loading-step-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.loading-step-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}
.loading-step-check {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.loading-step.done .loading-step-check {
  opacity: 1;
}
.loading-progress {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.loading-progress-bar {
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.6s ease;
}
/* Spinner */
.loading-spinner {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}
.loading-spinner div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  animation: spinnerBounce 1.2s infinite ease-in-out;
}
.loading-spinner div:nth-child(1) { animation-delay: 0s; }
.loading-spinner div:nth-child(2) { animation-delay: 0.15s; }
.loading-spinner div:nth-child(3) { animation-delay: 0.3s; }
@keyframes spinnerBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ========== RESULTS ========== */
.results-container {
  max-width: 720px;
  padding-top: 0;
}
.results-header {
  text-align: center;
  margin-bottom: 6px;
}
.results-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.results-header p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 6px;
}
.results-personalized {
  text-align: center;
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 16px;
  padding: 10px;
  background: var(--blue-light);
  border-radius: var(--radius);
}

/* Top Result */
.result-top {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
}
.result-top-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gradient);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.result-top-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 8px;
}
.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.result-meta span { white-space: nowrap; }
.stars-gold { color: #DAA520; }
.result-top-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.result-top-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}
.result-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}
.result-reasons {
  list-style: none;
  margin: 10px 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.result-reason-item {
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.reason-check {
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}
.result-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.feature-tag {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.feature-tag.highlight {
  background: var(--blue-light);
  color: var(--blue);
}

/* Buttons */
.result-btn-primary {
  display: block;
  text-align: center;
  background: var(--orange);
  color: white !important;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.15s;
  margin-bottom: 8px;
}
.result-btn-primary:hover { background: var(--orange-hover); }
.result-btn-fallback {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary) !important;
  padding: 6px;
}
.result-btn-fallback:hover { color: var(--blue) !important; }

/* Alternative Results */
.result-alts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.result-alt {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.result-alt-rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.result-alt h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.result-desc-sm {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}
.result-btn-alt {
  display: block;
  text-align: center;
  background: #8899A6;
  color: white !important;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s;
  margin-bottom: 6px;
}
.result-btn-alt:hover { background: #6D7D8A; }
.result-btn-fallback-sm {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary) !important;
}

/* Results Hero Image */
.results-hero {
  width: calc(100% + 48px);
  margin: -100px -24px 0;
  padding: 0;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 0;
}
.results-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: white;
}
.results-hero-overlay h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}
.results-hero-overlay p {
  font-size: 14px;
  opacity: 0.9;
}
.results-compared {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: 2px 0 4px;
  font-weight: 500;
}

/* PDF Inline CTA (between top rec and alternatives) */
.result-pdf-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0;
  color: white;
}
.result-pdf-inline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdf-inline-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.result-pdf-inline-left strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.pdf-inline-sub {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.result-btn-pdf-inline {
  flex-shrink: 0;
  background: white;
  color: var(--blue) !important;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.result-btn-pdf-inline:hover { opacity: 0.9; }
.result-btn-pdf-inline:disabled { opacity: 0.6; cursor: wait; }
@media (max-width: 520px) {
  .result-pdf-inline { flex-direction: column; text-align: center; }
  .result-pdf-inline-left { flex-direction: column; }
  .results-hero { height: 180px; }
}

/* Restart */
.quiz-btn-restart {
  display: block;
  margin: 20px auto 40px;
  padding: 10px 20px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}
.quiz-btn-restart:hover { border-color: var(--text); color: var(--text); }

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
  .quiz-container { padding: 88px 16px 40px; }
  .quiz-question h2 { font-size: 20px; }
  .quiz-subtitle { font-size: 14px; margin-bottom: 20px; }
  .quiz-options { grid-template-columns: 1fr 1fr; gap: 10px; }
  .quiz-options.three-col { grid-template-columns: 1fr; }
  .quiz-card { padding: 16px 10px; font-size: 13px; }
  .quiz-options.three-col .quiz-card { flex-direction: row; gap: 12px; align-items: center; text-align: left; padding: 16px; }
  .quiz-options.three-col .quiz-card-icon { font-size: 20px; flex-shrink: 0; }
  .quiz-options.three-col .quiz-card-label { font-size: 15px; }
  .quiz-options.three-col .quiz-card-sub { font-size: 12px; text-align: left; }
  .quiz-card-icon { font-size: 24px; }
  .quiz-card-sub { font-size: 10px; }
  .quiz-nav { padding: 10px 0 16px; }
  .quiz-btn-next { padding: 14px 20px; font-size: 16px; }
  .family-picker { padding: 16px; }
  .picker-row { padding: 10px 0; }
  .date-picker { padding: 16px; }
  .results-container { padding-top: 0; }
  .results-header h2 { font-size: 22px; }
  .result-top { padding: 20px 16px; }
  .result-top-content h3 { font-size: 18px; }
  .result-meta { font-size: 12px; gap: 8px; }
  .result-btn-primary { padding: 14px 16px; font-size: 15px; }
  .result-alts { grid-template-columns: 1fr; }
  .result-pdf-inline { flex-direction: column; text-align: center; padding: 14px 16px; }
  .result-pdf-inline-left { flex-direction: column; }
  .loading-screen { padding: 0 16px; }
  .loading-step { padding: 8px 12px; }
}
@media (max-width: 380px) {
  .quiz-options.three-col { grid-template-columns: 1fr; }
  .quiz-card { padding: 14px 8px; font-size: 12px; }
  .quiz-card-icon { font-size: 22px; }
}

/* ========== SALES PAGE (sp-*) ========== */

/* 0. Attention Bar (full viewport width) */
.sp-attention-bar {
  background: #0a3a4a;
  color: white;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 0;
  letter-spacing: 0.2px;
  line-height: 1.5;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}
.sp-attention-bar b {
  color: var(--orange);
}

/* Hide site nav on results page */
.results-container ~ .nav,
body:has(.results-container) .nav {
  display: none !important;
}

/* 0b. Logo Row (standalone, no border) */
.sp-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 20px;
  background: var(--white);
}
.sp-logo-img {
  height: 36px;
  display: block;
}
.sp-logo-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}
.sp-logo-pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text);
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 8px 14px;
}

/* 0c. Main Card Wrapper (bordered container, starts at hero) */
.sp-main-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
  overflow: hidden;
}

/* 0d. Destination Image (inside hotel card) */
.sp-dest-hero {
  margin: 0 0 14px;
  border-radius: var(--radius);
  overflow: hidden;
}
.sp-dest-hero img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* 1. Urgency Header (dark hero, bleeds to card edges) */
.sp-urgency {
  background: #0a3a4a;
  padding: 40px 28px 32px;
  border-radius: 0;
  text-align: center;
  margin: -24px -24px 24px;
  color: white;
}
.sp-urgency-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
}
.sp-urgency-headline {
  font-size: 38px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}
.sp-urgency-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.sp-urgency-proof {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.sp-urgency-copy {
  display: none;
}
.sp-urgency-arrows {
  font-size: 24px;
  transform: rotate(90deg);
  display: inline-block;
  animation: bounceArrow 1.5s ease-in-out infinite;
  color: var(--orange);
  letter-spacing: -4px;
}
@keyframes bounceArrow {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50% { transform: rotate(90deg) translateX(6px); }
}

/* 2. Pills (on dark hero) */
.sp-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.sp-pill {
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* 3. Dream Echo */
.sp-dream {
  margin-bottom: 24px;
}
.sp-dream-quote {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
.sp-dream-bridge {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  margin-top: 10px;
}

/* 3b. Profil Grid (Nedura-style 2x2) */
.sp-profil {
  margin-bottom: 24px;
}
.sp-profil h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 12px;
}
.sp-profil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.sp-profil-card {
  background: #f8f9fa;
  border-radius: var(--radius);
  padding: 14px 16px;
}
.sp-profil-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sp-profil-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
}

/* 3c. Match Score */
.sp-score {
  margin-bottom: 28px;
}
.sp-score h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 14px;
}
.sp-score-bar-wrap {
  position: relative;
}
.sp-score-bar {
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, #e0e0e0 0%, #b8e6c8 30%, #4dd88a 60%, #1a9e52 100%);
  position: relative;
}
.sp-score-indicator {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: left 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sp-score-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.sp-score-labels span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.sp-score-label {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-top: 12px;
}

/* 4. USP Checklist (compact, headline only) */
.sp-usp {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}
.sp-usp h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}
.sp-usp-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 16px;
}
.sp-usp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.sp-usp-item:last-child { border-bottom: none; }
.sp-usp-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
}
.sp-usp-headline {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.sp-usp-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.sp-usp-text strong {
  color: var(--text);
  font-weight: 700;
}

/* 4b. Trust Section */
.sp-trust-section {
  margin-bottom: 28px;
  padding: 24px;
  background: #f8fafb;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.sp-trust-section h3 {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 18px;
}
.sp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sp-trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sp-trust-icon {
  font-size: 36px;
  margin-bottom: 6px;
}
.sp-trust-logo {
  height: 56px;
  margin-bottom: 8px;
}
.sp-trust-item:nth-child(2) .sp-trust-logo {
  height: 80px;
}
.sp-trust-item strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.sp-trust-item span {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* 5. Hotel Card */
.sp-hotel-card {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  position: relative;
}
.sp-hotel-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* Image wrapper + match badge overlay */
.sp-hotel-img-wrap {
  position: relative;
}
.sp-match-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2;
}

.sp-hotel-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 8px;
}
.sp-hotel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.sp-hotel-meta span { white-space: nowrap; }
.sp-hotel-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 14px;
}
.sp-hotel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
/* Hotel bullet points */
.sp-hotel-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.sp-hotel-bullets li {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  line-height: 1.5;
}

/* Price indication */
.sp-price-line {
  text-align: center;
  margin-bottom: 16px;
  padding: 12px;
  background: #f8fafb;
  border-radius: var(--radius);
}
.sp-price-from {
  font-size: 13px;
  color: var(--text-muted);
}
.sp-price-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
}
.sp-price-unit {
  font-size: 13px;
  color: var(--text-muted);
}
.sp-price-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  background: #FFF7E6;
  border-left: 3px solid #E8732A;
  padding: 8px 12px;
  margin: 8px 0 16px;
  border-radius: 6px;
  line-height: 1.4;
}

.sp-trust-line {
  text-align: center;
  font-size: 12px;
  color: var(--blue);
  margin-top: 10px;
  font-weight: 600;
}
.sp-checkout-hint {
  font-size: 12.5px;
  color: var(--text-secondary);
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 10px 14px;
  border-radius: 8px;
  margin: 10px 0;
  line-height: 1.45;
  text-align: center;
}

/* Shared Buttons */
.sp-btn-primary {
  display: block;
  text-align: center;
  background: var(--orange);
  color: white !important;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.15s;
  margin-bottom: 6px;
  text-decoration: none !important;
}
.sp-btn-primary:hover { background: var(--orange-hover); }
.sp-btn-large { padding: 18px 28px; font-size: 18px; }
.sp-btn-fallback {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary) !important;
  padding: 6px;
  text-decoration: none !important;
}
.sp-btn-fallback:hover { color: var(--blue) !important; }
.sp-btn-alt {
  display: block;
  text-align: center;
  background: var(--blue);
  color: white !important;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s;
  margin-bottom: 6px;
  text-decoration: none !important;
}
.sp-btn-alt:hover { opacity: 0.9; }

/* 6. Destination Story (visual, compact) */
.sp-dest-story {
  margin-bottom: 28px;
}
.sp-dest-story h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}
.sp-dest-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.sp-dest-highlight-card {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius);
}
.sp-dest-highlight-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.sp-dest-quick {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
/* Legacy classes (keep for compat) */
.sp-dest-text, .sp-dest-ages { display: none; }
.sp-dest-highlights, .sp-highlight-pill { display: none; }
.sp-honest-note { display: none; }

/* 7. Weather */
.sp-weather {
  margin-bottom: 28px;
}
.sp-weather h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}
.sp-weather-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.sp-weather-item {
  text-align: center;
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 14px 8px;
}
.sp-weather-icon {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
}
.sp-weather-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.sp-weather-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.sp-weather-tip {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
}

/* 8. Activities (compact tags) */
.sp-activities {
  margin-bottom: 28px;
}
.sp-age-block {
  margin-bottom: 16px;
}
.sp-age-block h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sp-act-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sp-act-tag {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
}
/* Legacy list styles */
.sp-age-block ul { list-style: none; padding: 0; }
.sp-age-block li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 4px 0 4px 20px;
  position: relative;
}
.sp-age-block li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
}

/* 9. CTA Block */
.sp-cta-block {
  text-align: center;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--blue-light);
  border-radius: var(--radius);
}
.sp-cta-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  margin-bottom: 0;
}

/* 10. PDF CTA */
.sp-pdf-cta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
  color: white;
  flex-wrap: wrap;
}
.sp-pdf-icon {
  font-size: 32px;
  flex-shrink: 0;
}
.sp-pdf-content {
  flex: 1;
  min-width: 200px;
}
.sp-pdf-content strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}
.sp-pdf-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-pdf-content li {
  font-size: 13px;
  opacity: 0.9;
  padding: 2px 0;
}
.sp-pdf-cta .result-btn-pdf-inline {
  align-self: center;
}

/* 11. FAQ */
.sp-faq {
  margin-bottom: 28px;
}
.sp-faq h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}
.sp-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.sp-faq-item summary {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s;
}
.sp-faq-item[open] summary::after {
  content: '−';
}
.sp-faq-item summary:hover { background: var(--blue-light); }
.sp-faq-item p {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 12. Final CTA */
.sp-final-cta {
  text-align: center;
  padding: 32px 24px;
  background: var(--blue-light);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.sp-final-cta h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.sp-final-recap {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.sp-final-sub {
  color: var(--text-secondary);
}
.sp-trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.sp-trust-badges span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* 13. Alternatives */
.sp-alts {
  margin-bottom: 20px;
}
.sp-alts h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.sp-alts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sp-alt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.sp-alt-rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.sp-alt-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sp-alt-img {
  margin: -18px -18px 12px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.sp-alt-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.sp-alt-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* ========== SALES PAGE RESPONSIVE ========== */
@media (max-width: 600px) {
  .sp-attention-bar { font-size: 12px; padding: 10px 12px; }
  .sp-logo-row { padding: 14px 16px; gap: 12px; }
  .sp-logo-img { height: 30px; }
  .sp-logo-pill { font-size: 10px; padding: 6px 10px; letter-spacing: 1px; }
  .sp-main-card { padding: 16px; border-radius: 8px; }
  .sp-dest-hero img { height: 160px; }
  .sp-urgency { padding: 28px 20px 22px; margin: -16px -16px 16px; }
  .sp-urgency-label { font-size: 12px; }
  .sp-urgency-headline { font-size: 26px; }
  .sp-urgency-sub { font-size: 13px; }
  .sp-profil-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-profil-val { font-size: 14px; }
  .sp-trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .sp-hotel-card { padding: 20px 16px; }
  .sp-hotel-card h3 { font-size: 18px; }
  .sp-weather-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-dest-highlights-grid { grid-template-columns: 1fr; }
  .sp-dest-quick { flex-direction: column; gap: 6px; }
  .sp-alts-grid { grid-template-columns: 1fr; }
  .sp-pdf-cta { flex-direction: column; text-align: center; padding: 16px; }
  .sp-pdf-cta .result-btn-pdf-inline { width: 100%; }
  .sp-final-cta { padding: 24px 16px; }
  .sp-final-cta h3 { font-size: 18px; }
  .sp-btn-large { padding: 16px 20px; font-size: 16px; }
  .sp-trust-badges { gap: 12px; }
  .sp-trust-badges span { font-size: 12px; }
  .sp-dest-story h3, .sp-weather h3, .sp-faq h3 { font-size: 18px; }
  .quiz-card-wrap { padding: 20px 16px; }
}
