/* ============================================================
   UPSELL PAGES — NIE Experts Spain
   Design: mini-landing 1 pagina, no nav, hero centrato, CTA evidente
   ============================================================ */

:root {
  --bg: #faf3e7;
  --white: #ffffff;
  --navy-headline: #1a2744;
  --navy-soft: #2a3a5c;
  --gold: #d4a853;
  --gold-light: #e8c77b;
  --gold-bg: linear-gradient(135deg, #d4a853, #e8c77b);
  --gold-bg-soft: linear-gradient(135deg, rgba(212,168,83,0.12), rgba(232,199,123,0.08));
  --gray-warm: #6b7280;
  --gray-light: #e5e1d8;
  --gray-bg: #f5f1e8;
  --green-success: #10b981;
  --shadow-card: 0 10px 40px rgba(26,39,68,0.10);
  --shadow-strong: 0 14px 48px rgba(26,39,68,0.16);
  --radius-card: 20px;
  --radius-btn: 14px;
  --font-headline: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--navy-headline);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
}

/* ===== UPSELL PAGE LAYOUT ===== */
.upsell-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Mini topbar logo only */
.upsell-mini-top {
  text-align: center;
  margin-bottom: 4px;
}
.upsell-mini-top img {
  width: 36px;
  height: 36px;
}
.upsell-mini-top-text {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--navy-headline);
  margin-top: 4px;
}

/* ===== Conferma ordine: design elegante con eyebrow gold + serif italic ===== */
.upsell-confirm-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding-top: 12px;
}

/* Eyebrow text con divider gold ai lati: "✓ ORDINE CONFERMATO" */
.upsell-confirm-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 540px;
}
.upsell-confirm-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.upsell-confirm-eyebrow-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.upsell-confirm-check-inline {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 3;
  flex-shrink: 0;
}

/* Frase di ringraziamento serif elegante, italic gold, su 2 righe */
.upsell-confirm-thanks {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 400;
  color: var(--navy-headline);
  line-height: 1.4;
  margin: 0;
  max-width: 820px;
  letter-spacing: -0.005em;
  text-align: center;
}
.upsell-confirm-thanks em {
  background: linear-gradient(135deg, #d4a853, #e8c77b, #d4a853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-family: var(--font-headline);
  font-weight: 700;
}

/* Warning rosso solo testo: niente box, niente sfondo */
.upsell-confirm-warning {
  font-size: 13.5px;
  color: var(--navy-headline);
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
}
.upsell-confirm-warning strong {
  color: #dc2626;
  font-weight: 700;
}

/* ===== Social proof wrapper esterno (gated) ===== */
.upsell-social-proof-wrapper {
  display: flex;
  justify-content: center;
}
.upsell-social-proof-wrapper.gated {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
}
.upsell-social-proof-wrapper.gated.revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 200px;
  margin: 0;
}
.upsell-social-proof-wrapper.below-card.gated.revealed {
  margin-top: 28px;
  margin-bottom: 24px;
}
.upsell-social-proof-wrapper.inside-card.gated.revealed {
  margin-top: 24px;
  margin-bottom: 20px;
}
/* Caso expert-1: social proof inside-card NON gated (compare insieme alla card).
   Spaziatura equilibrata visivamente: distanza dal "No grazie" sopra = distanza dal bordo card sotto */
.upsell-social-proof-wrapper.inside-card:not(.gated) {
  margin-top: 26px;
}

/* Highlight oro per "sono passate a Expert scontato" */
.social-proof-highlight {
  color: var(--gold);
  font-weight: 700;
}

/* ===== Hero principale ===== */
.upsell-hero {
  text-align: center;
}
.upsell-headline {
  font-family: var(--font-headline);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px 0;
  color: var(--navy-headline);
}
.upsell-headline em {
  background: linear-gradient(135deg, #d4a853, #e8c77b, #d4a853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-family: var(--font-headline);
  font-weight: 700;
}
.upsell-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--gray-warm);
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.55;
}
.upsell-sub.upsell-sub-wide {
  max-width: 780px;
}
.upsell-sub strong {
  color: var(--navy-headline);
  font-weight: 600;
}

/* ===== Social proof contatori ===== */
.upsell-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-headline);
  margin-bottom: 8px;
}
.upsell-social-proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.upsell-social-proof-num {
  font-weight: 700;
  color: var(--gold);
}

/* ===== Qualifier (solo digital-1) ===== */
.upsell-qualifier-block {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}
.upsell-qualifier-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--navy-headline);
}
.qualifier-multi-hint {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-warm);
  font-style: italic;
  margin-left: 4px;
}
.upsell-qualifier-subtitle {
  font-size: 13px;
  color: var(--gray-warm);
  margin: 0 0 14px 0;
  line-height: 1.4;
}
.upsell-qualifier-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.upsell-qualifier-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray-bg);
  border: 2px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-headline);
  user-select: none;
  transition: all 0.15s;
}
.upsell-qualifier-opt:hover { background: rgba(212, 168, 83, 0.08); }
.upsell-qualifier-opt.selected {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(212, 168, 83, 0.15);
}
.upsell-qualifier-opt input[type="radio"],
.upsell-qualifier-opt input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin: 0;
}
.upsell-qualifier-opt.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.upsell-qualifier-opt.disabled:hover {
  background: var(--gray-bg);
}

/* Card offerta principale */
.upsell-offer {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-strong);
  border: 1.5px solid rgba(212, 168, 83, 0.4);
}

/* Card con tag floating: padding top maggiore + position relative */
.upsell-offer.has-floating-tag {
  position: relative;
  padding-top: 36px;
  margin-top: 20px;
}

/* Tag standard (inline, non floating) */
.upsell-offer-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold-bg);
  color: var(--navy-headline);
  margin-bottom: 12px;
}

/* Tag floating: centrato, sovrasta bordo top della card, sfondo navy + testo oro */
.upsell-offer-tag.floating {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 7px 16px;
  font-size: 11.5px;
  background: var(--navy-headline);
  color: var(--gold);
  box-shadow: 0 6px 18px rgba(26, 39, 68, 0.35);
  margin-bottom: 0;
  border: 1px solid rgba(212, 168, 83, 0.5);
}

/* Card hidden by default (digital-1 only): override del padding-top per gated */
.upsell-offer.gated {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border-width: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease, border-width 0.4s ease, overflow 0s linear 0.4s;
}
.upsell-offer.gated.revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 1500px;
  overflow: visible;  /* permette al tag floating di uscire dai bordi */
  padding: 36px 26px 24px;
  margin-top: 20px;
  border-width: 1.5px;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease, border-width 0.4s ease, overflow 0s linear 0.4s;
}

/* Headline offer-title: Expert in oro */
.upsell-offer-title em {
  background: linear-gradient(135deg, #d4a853, #e8c77b, #d4a853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-family: var(--font-headline);
  font-weight: 700;
}

/* CTA Conferma del qualifier */
.upsell-qualifier-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  background: var(--gold-bg);
  color: var(--navy-headline);
  font-size: 14.5px;
  font-weight: 700;
  border: none;
  padding: 12px 22px;
  border-radius: 11px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.22s;
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.25);
}
.upsell-qualifier-confirm:hover:not(:disabled):not(.confirmed) {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(212, 168, 83, 0.4);
}
.upsell-qualifier-confirm:disabled {
  background: rgba(107, 114, 128, 0.18);
  color: rgba(107, 114, 128, 0.7);
  cursor: not-allowed;
  box-shadow: none;
}
/* Stato post-click: navy con check, no più gold */
.upsell-qualifier-confirm.confirmed {
  background: var(--navy-headline);
  color: var(--white);
  box-shadow: none;
  cursor: default;
}
.upsell-qualifier-confirm.confirmed svg {
  stroke: var(--white);
}
.upsell-qualifier-confirm svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}
.upsell-offer-title {
  font-family: var(--font-headline);
  font-size: clamp(19px, 1.95vw, 22px);
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 6px 0;
  color: var(--navy-headline);
  line-height: 1.2;
}
.upsell-offer-subtitle {
  font-size: 14.5px;
  color: var(--gray-warm);
  margin: 0 0 16px 0;
  line-height: 1.5;
}
.upsell-cta-verbale {
  font-size: 14.5px;
  color: var(--navy-headline);
  margin: 0 0 12px 0;
  line-height: 1.4;
}
.upsell-cta-verbale strong {
  font-weight: 700;
}
.upsell-offer-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.upsell-offer-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--navy-headline);
  line-height: 1.5;
}
.upsell-offer-features li svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--green-success);
  stroke-width: 3;
  flex-shrink: 0;
  margin-top: 2px;
}
.upsell-offer-features li strong { font-weight: 700; }

/* ===== Stepper quantità appuntamenti (expert-1 multi) ===== */
.upsell-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(212, 168, 83, 0.07);
  border: 1.5px dashed rgba(212, 168, 83, 0.35);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  gap: 14px;
  flex-wrap: wrap;
}
.upsell-quantity-label {
  font-size: 14px;
  color: var(--navy-headline);
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
  min-width: 200px;
}
.upsell-quantity-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid rgba(26, 39, 68, 0.12);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.upsell-quantity-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-headline);
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  line-height: 1;
}
.upsell-quantity-btn:hover:not(:disabled) { background: rgba(212, 168, 83, 0.12); }
.upsell-quantity-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.upsell-quantity-value {
  min-width: 42px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-headline);
  font-family: var(--font-headline);
  border-left: 1px solid rgba(26, 39, 68, 0.08);
  border-right: 1px solid rgba(26, 39, 68, 0.08);
  padding: 7px 0;
  font-variant-numeric: tabular-nums;
}

.upsell-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1.5px solid rgba(26, 39, 68, 0.1);
  margin-bottom: 4px;
}
.upsell-price-label {
  font-size: 14px;
  color: var(--gray-warm);
  font-weight: 500;
  text-align: left;
  line-height: 1.3;
}
.upsell-price-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.upsell-price-strike {
  font-size: 18px;
  color: var(--gray-warm);
  text-decoration: line-through;
  font-weight: 500;
  line-height: 1;
}
.upsell-price-strike-empty { display: none; }
.upsell-price-actual {
  display: inline-flex;
  align-items: baseline;
  color: var(--gold);
}
.upsell-price-value {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gold);
}
.upsell-price-currency {
  font-size: 22px;
  color: var(--gold);
}
.upsell-price-perperson-label {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-left: 4px;
  font-family: var(--font-body);
  letter-spacing: 0;
}
.upsell-price-total-row {
  display: block;
  text-align: right;
  font-size: 12.5px;
  color: var(--gray-warm);
  margin: -2px 0 12px 0;
  font-weight: 500;
}
.upsell-price-total-strike {
  text-decoration: line-through;
  color: var(--gray-warm);
  font-weight: 500;
  margin-right: 4px;
}
.upsell-price-total-value {
  color: var(--navy-headline);
  font-weight: 700;
}
.upsell-price-perperson {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-align: right;
  margin: 0 0 16px 0;
}
.upsell-price-perperson .perperson-strike {
  text-decoration: line-through;
  color: var(--gray-warm);
  font-weight: 500;
  font-size: 12px;
}

/* CTA principale (accept upsell) */
.upsell-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--gold-bg);
  color: var(--navy-headline);
  font-size: 16px;
  font-weight: 700;
  border: none;
  padding: 16px 22px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.3);
  transition: all 0.22s;
  text-decoration: none;
  text-align: center;
}
.upsell-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 168, 83, 0.45);
}
.upsell-cta-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* CTA secondario (skip / no thanks) */
.upsell-cta-skip {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--gray-warm);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 8px;
  width: 100%;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.upsell-cta-skip:hover { color: var(--navy-headline); }

/* ===== QUIZ BLOCK (digital-2) ===== */
.upsell-quiz-block {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px 26px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.upsell-quiz-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.upsell-quiz-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.upsell-quiz-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-headline);
  margin: 0;
  line-height: 1.3;
}
.upsell-quiz-question {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 39, 68, 0.08);
}
.upsell-quiz-question:first-of-type {
  padding-top: 0;
  border-top: none;
}
.quiz-q-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.quiz-q-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-headline);
  line-height: 1.45;
  margin: 0;
}
.quiz-q-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
  width: 100%;
}
.quiz-q-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--gray-bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-input);
  cursor: pointer;
  font-size: 13px;
  color: var(--navy-headline);
  font-weight: 500;
  transition: all 0.18s;
  text-align: center;
  line-height: 1.3;
}
.quiz-q-opt:hover { border-color: rgba(212, 168, 83, 0.4); }
.quiz-q-opt.selected {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.08);
  font-weight: 600;
}
.quiz-q-opt input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin: 0;
}

/* Quiz LOCK: dopo che l'utente ha completato il quiz e appare card upsell,
   le risposte vengono visualmente bloccate per evitare modifiche */
.upsell-quiz-question.quiz-locked {
  opacity: 0.7;
  pointer-events: none;
}
.upsell-quiz-question.quiz-locked .quiz-q-opt {
  cursor: not-allowed;
}
.upsell-quiz-question.quiz-locked .quiz-q-opt:not(.selected) {
  opacity: 0.5;
}

/* Risultato quiz: testo libero fuori dalla card, gated */
.upsell-quiz-result-text {
  text-align: center;
  padding: 4px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.upsell-quiz-result-text.gated {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
}
.upsell-quiz-result-text.gated.revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 240px;
  padding: 4px 24px;
}
.upsell-quiz-result-text .quiz-result-text {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quiz-result-headline {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--navy-headline);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.quiz-result-sub {
  font-size: clamp(14px, 1.4vw, 15.5px);
  color: var(--gray-warm);
  line-height: 1.55;
  font-weight: 500;
}

/* ===== SELETTORE MODALITÀ CONSULENZA (stile iOS Settings) ===== */
.upsell-mode-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 10px 0;
  padding: 4px 2px;
}
.upsell-mode-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-headline);
  margin: 0;
  flex-shrink: 0;
}
.upsell-mode-options {
  display: inline-flex;
  background: rgba(26, 39, 68, 0.06);
  border-radius: 10px;
  padding: 3px;
  gap: 0;
}
.upsell-mode-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 14px;
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.upsell-mode-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.upsell-mode-opt.selected {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}
.mode-icon-meet, .mode-icon-wa {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.mode-icon-wa { color: #25d366; }
.mode-text {
  display: inline;
  line-height: 1;
}
.mode-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-headline);
}
.mode-desc {
  display: none; /* tolgo la descrizione "videochiamata"/"telefonata", basta il nome nel toggle */
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  .upsell-page {
    padding: 22px 14px 28px;
    gap: 16px;
  }
  .upsell-offer {
    padding: 22px 18px 20px;
  }
  .upsell-qualifier-options { grid-template-columns: 1fr; }
  .upsell-headline { font-size: 26px; }
  .upsell-offer-title { font-size: 20px; }
  .upsell-mode-selector {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .upsell-mode-options { width: 100%; }
  .upsell-mode-opt { flex: 1; }
  .quiz-q-options { grid-template-columns: 1fr; }
  /* Eyebrow su 2 righe mobile, no nowrap, font ridotto */
  .upsell-confirm-eyebrow {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .upsell-confirm-eyebrow-text {
    font-size: 12.5px;
    letter-spacing: 0.10em;
    white-space: normal;
    text-align: center;
    flex: 1 1 100%;
    justify-content: center;
  }
  .upsell-confirm-divider { display: none; }
  /* Headline/sub upsell card centrate su mobile - sub torna a sx per leggibilità prosa lunga */
  .upsell-offer-title { text-align: center; }
  .upsell-offer-subtitle { text-align: left; }
  /* Sub headline pre-quiz centrata mobile */
  .upsell-sub { text-align: center; }
  /* Quiz title mobile più compatto */
  .upsell-quiz-title { font-size: 19px; line-height: 1.25; }
  /* Offer tag floating digital-1: a capo dopo "che" su mobile (era nowrap) */
  .upsell-offer-tag.floating {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    font-size: 10px;
    letter-spacing: 0.06em;
    padding: 7px 16px;
    max-width: calc(100vw - 24px);
    min-width: 280px;
  }
  .upsell-tag-break {
    display: block;
  }
  /* Social proof mobile: niente dot (sfora), testo centrato, padding verticale equilibrato (v98) */
  .upsell-social-proof-dot { display: none; }
  .upsell-social-proof {
    text-align: center;
    padding: 13px 14px;
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }
  /* Aggiungo ✅ alla fine del testo social proof solo su mobile */
  .upsell-social-proof > span:last-child::after {
    content: ' ✅';
  }
}
