/* ================================================================



   MagicOrdine — style.css



   Base: shared.css (font, vars, body, top-bar, logo, footer)



   ================================================================ */







:root {



  --accent:         #009DE0;



  --card-bg:        #1a3347;



  --border:         rgba(0,157,224,0.18);



  --text-primary:   #ffffff;



  --text-secondary: #8aabb8;



  --text-muted:     #4a6a7a;



  --bg-secondary:   #1e3d52;



}







/* ── BUTTONS ─────────────────────────────────────────────────── */



.btn-primary {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  background: var(--blue);



  color: var(--white);



  font-family: 'Novelin', sans-serif;



  font-weight: 400;



  font-size: 1rem;



  letter-spacing: 0.06em;



  text-transform: uppercase;



  padding: 16px 32px;



  border-radius: 10px;



  border: none;



  cursor: pointer;



  text-decoration: none;



  transition: background 0.2s, transform 0.2s, filter 0.2s, opacity 0.2s;



  animation: pulse-btn 3s ease-in-out infinite;



}



.btn-primary:hover:not(:disabled) {



  background: var(--blue-lt);



  filter: brightness(1.06);



  transform: translateY(-2px);



  animation: none;



}



.btn-primary:disabled { opacity: 0.38; cursor: not-allowed; animation: none; }



.btn-primary.btn-xl   { width: 100%; font-size: 1.05rem; padding: 18px 32px; }



@keyframes pulse-btn {



  0%, 100% { box-shadow: 0 0 0 0 rgba(0,157,224,0); }



  50%       { box-shadow: 0 0 0 6px rgba(0,157,224,0.22); }



}







.btn-ghost {



  display: inline-flex;



  align-items: center;



  justify-content: center;



  background: transparent;



  color: var(--gray);



  font-size: 14px;



  font-family: inherit;



  border: 1px solid rgba(255,255,255,0.12);



  padding: 12px 28px;



  border-radius: 10px;



  cursor: pointer;



  text-decoration: none;



  transition: color 0.2s, border-color 0.2s;



  margin-top: 12px;



  width: 100%;



}



.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }







/* ── WELCOME SCREEN ──────────────────────────────────────────── */



#screen-welcome.active { display: flex; flex-direction: column; min-height: 100vh; }







.welcome-wrap {



  flex: 1;



  max-width: 640px;



  margin: 0 auto;



  padding: 52px 28px 68px;



  text-align: center;



}







.welcome-eyebrow {



  display: inline-flex;



  align-items: center;



  gap: 8px;



  font-size: 12px;



  font-weight: 700;



  letter-spacing: 0.12em;



  text-transform: uppercase;



  color: var(--gold-lt);



  margin-bottom: 24px;



}



.eyebrow-dot {



  width: 6px; height: 6px;



  border-radius: 50%;



  background: var(--gold);



  animation: pulse-dot 2s ease-in-out infinite;



}



@keyframes pulse-dot {



  0%, 100% { opacity: 1; transform: scale(1); }



  50%       { opacity: 0.5; transform: scale(0.7); }



}







.welcome-h1 {



  font-family: 'Novelin', sans-serif;



  font-weight: 900;



  font-size: clamp(1.9rem, 5vw, 2.9rem);



  color: var(--white);



  line-height: 1.15;



  margin-bottom: 20px;



  letter-spacing: -0.01em;



}



.welcome-h1 em { font-style: normal; color: var(--blue); }







.welcome-sub {



  font-size: clamp(0.93rem, 2vw, 1.05rem);



  color: var(--gray);



  line-height: 1.75;



  max-width: 520px;



  margin: 0 auto 36px;



}







/* Feature cards (3 col) */



.feature-cards {



  display: grid;



  grid-template-columns: repeat(3, 1fr);



  gap: 12px;



  margin-bottom: 28px;



  text-align: left;



}



.feature-card {



  background: var(--navy2);



  border: 1px solid rgba(0,157,224,0.15);



  border-radius: 14px;



  padding: 18px 16px;



}



.feature-card-icon  { font-size: 26px; margin-bottom: 10px; display: block; }



.feature-card-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 5px; }



.feature-card-desc  { font-size: 11px; color: var(--gray); line-height: 1.6; }







/* Stats row */



.w-stats-row {



  display: flex;



  align-items: center;



  justify-content: center;



  gap: 0;



  background: var(--card-bg);



  border: 1px solid var(--border);



  border-radius: 12px;



  padding: 16px 24px;



  margin-bottom: 28px;



  max-width: 400px;



  margin-left: auto;



  margin-right: auto;



}



.wsr-item { display: flex; flex-direction: column; align-items: center; flex: 1; }



.wsr-num  { font-size: 1.45rem; font-weight: 800; color: var(--accent); line-height: 1; }



.wsr-lbl  { font-size: 0.68rem; color: var(--text-muted); margin-top: 3px; }



.wsr-sep  { width: 1px; background: var(--border); height: 36px; margin: 0 4px; }







.trust-note {



  font-size: 12px;



  color: var(--gray2);



  margin-top: 14px;



  letter-spacing: 0.04em;



}







/* ── FORM SCREEN ─────────────────────────────────────────────── */



#screen-form.active { display: flex; flex-direction: column; min-height: 100vh; }







.form-wrap {



  flex: 1;



  max-width: 560px;



  margin: 0 auto;



  padding: 36px 24px 60px;



  width: 100%;



}



.form-header         { margin-bottom: 28px; }



.form-header h2 {



  font-family: 'Novelin', sans-serif;



  font-weight: 900;



  font-size: 1.55rem;



  color: var(--white);



  margin-bottom: 6px;



}



.form-header p { font-size: 14px; color: var(--gray); }







.field-group { margin-bottom: 22px; }



.field-label {



  display: block;



  font-size: 13px;



  font-weight: 700;



  color: var(--white);



  letter-spacing: 0.04em;



  margin-bottom: 10px;



}



.field-hint {



  display: block;



  font-size: 11px;



  color: var(--text-muted);



  margin-top: 6px;



  line-height: 1.55;



}







/* Category grid */



.cat-grid {



  display: grid;



  grid-template-columns: repeat(2, 1fr);



  gap: 10px;



}



.cat-btn {



  display: flex;



  align-items: center;



  justify-content: center;



  background: var(--card-bg);



  border: 1.5px solid var(--border);



  border-radius: 10px;



  padding: 14px;



  cursor: pointer;



  transition: all 0.15s;



  font-family: inherit;



  font-size: 0.92rem;



  color: var(--text-secondary);



  font-weight: 500;



}



.cat-btn span { display: flex; align-items: center; gap: 7px; }



.cat-btn:hover  { border-color: var(--accent); color: var(--white); }



.cat-btn.active { background: rgba(0,157,224,0.12); border-color: var(--accent); color: var(--accent); font-weight: 600; }







/* Form section divider */



.form-section-label {



  display: flex;



  align-items: center;



  gap: 14px;



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 0.1em;



  text-transform: uppercase;



  color: var(--text-muted);



  margin: 28px 0 20px;



}



.form-section-label::before,



.form-section-label::after {



  content: '';



  flex: 1;



  height: 1px;



  background: rgba(255,255,255,0.07);



}







/* Input con prefisso */



.input-prefix-wrap {



  display: flex;



  align-items: center;



  background: var(--card-bg);



  border: 1.5px solid var(--border);



  border-radius: 10px;



  overflow: hidden;



  transition: border-color 0.2s;



}



.input-prefix-wrap:focus-within { border-color: var(--accent); }



.input-prefix {



  padding: 0 14px;



  font-size: 0.95rem;



  font-weight: 600;



  color: var(--text-muted);



  background: var(--bg-secondary);



  border-right: 1px solid var(--border);



  height: 48px;



  display: flex;



  align-items: center;



  flex-shrink: 0;



  user-select: none;



}



.input-prefix-wrap input {



  flex: 1;



  background: transparent;



  border: none;



  outline: none;



  padding: 0 14px;



  height: 48px;



  font-size: 1rem;



  color: var(--text-primary);



  font-family: inherit;



}



.input-prefix-wrap input::placeholder { color: var(--text-muted); }



.input-prefix-wrap input::-webkit-outer-spin-button,



.input-prefix-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }



.input-prefix-wrap input[type=number] { -moz-appearance: textfield; }







/* ── LOADING SCREEN ──────────────────────────────────────────── */



#screen-loading.active {



  display: flex;



  align-items: center;



  justify-content: center;



  min-height: 100vh;



}



.loading-wrap { text-align: center; padding: 40px 24px; }



.loading-spinner {



  width: 56px; height: 56px;



  border: 4px solid var(--border);



  border-top-color: var(--accent);



  border-radius: 50%;



  animation: spin 0.8s linear infinite;



  margin: 0 auto 24px;



}



@keyframes spin { to { transform: rotate(360deg); } }



.loading-wrap h3    { font-size: 1.15rem; color: var(--text-primary); margin: 0 0 8px; }



.loading-sub        { color: var(--text-muted); font-size: 0.8rem; margin: 0 0 24px; }



.loading-progress   { width: 260px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto; overflow: hidden; }



.loading-bar        { height: 100%; background: var(--accent); border-radius: 2px; width: 0%; transition: width 0.3s ease; }







/* ── RESULTS SCREEN ──────────────────────────────────────────── */



#screen-results.active { display: flex; flex-direction: column; min-height: 100vh; }







.results-wrap {



  flex: 1;



  max-width: 700px;



  margin: 0 auto;



  padding: 28px 20px 40px;



  width: 100%;



  display: flex;



  flex-direction: column;



  gap: 20px;



}







/* Score section (ring) */



.score-section {



  display: flex;



  align-items: center;



  gap: 24px;



  background: var(--card-bg);



  border: 1px solid var(--border);



  border-radius: 16px;



  padding: 24px;



}



.score-ring-wrap {



  position: relative;



  flex-shrink: 0;



  width: 120px; height: 120px;



}



.score-ring { width: 120px; height: 120px; transform: rotate(-90deg); }



.ring-bg   { fill: none; stroke: var(--border); stroke-width: 10; }



.ring-fill {



  fill: none;



  stroke: var(--accent);



  stroke-width: 10;



  stroke-linecap: round;



  transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);



}



.score-inner {



  position: absolute;



  inset: 0;



  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



}



.score-value { font-size: 1.75rem; font-weight: 800; color: var(--text-primary); line-height: 1; }



.score-label { font-size: 0.58rem; color: var(--text-muted); text-align: center; line-height: 1.3; margin-top: 4px; }



.score-meta  { flex: 1; }



.score-meta h2 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin: 0 0 8px; }



.score-meta p  { color: var(--text-secondary); font-size: 0.85rem; margin: 0 0 12px; line-height: 1.55; }



.score-pills   { display: flex; gap: 8px; flex-wrap: wrap; }



.s-pill {



  display: inline-block;



  background: rgba(0,157,224,0.13);



  border: 1px solid rgba(0,157,224,0.28);



  color: var(--accent);



  border-radius: 20px;



  padding: 4px 11px;



  font-size: 0.74rem;



  font-weight: 600;



}







/* Result card generic */



.result-card {



  background: var(--card-bg);



  border: 1.5px solid var(--border);



  border-radius: 16px;



  padding: 24px 22px;



  box-shadow: 0 6px 24px rgba(0,0,0,0.28);



}



.card-title {



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 0.1em;



  text-transform: uppercase;



  color: var(--gray);



  margin-bottom: 18px;



}







/* Piano Ordine card */



.piano-main {



  display: flex;



  align-items: stretch;



  gap: 0;



  margin-bottom: 16px;



}



.piano-block {



  flex: 1;



  display: flex;



  flex-direction: column;



  gap: 4px;



}



.piano-block:last-child { text-align: right; }



.piano-divider {



  width: 1px;



  background: rgba(255,255,255,0.07);



  margin: 0 20px;



  flex-shrink: 0;



}



.piano-label {



  font-size: 12px;



  color: var(--gray);



  letter-spacing: 0.02em;



}



.piano-value {



  font-family: 'Novelin', sans-serif;



  font-weight: 900;



  font-size: clamp(1.7rem, 5vw, 2.4rem);



  color: var(--blue);



  line-height: 1.05;



  letter-spacing: -0.02em;



}



.piano-value--euro { color: var(--white); }



.piano-note {



  font-size: 13px;



  color: var(--gray);



  line-height: 1.6;



  padding-top: 14px;



  border-top: 1px solid rgba(255,255,255,0.06);



}



.piano-note--ok      { color: #2ecc71; }



.piano-note--caution { color: var(--gold-lt); }



.piano-note--warn    { color: #f87171; }







/* Budget Analysis bars */



.compare-bars { display: flex; flex-direction: column; gap: 16px; margin-bottom: 14px; }



.cbar-wrap { }



.cbar-label {



  display: flex;



  justify-content: space-between;



  align-items: center;



  font-size: 0.84rem;



  color: var(--text-secondary);



  margin-bottom: 8px;



}



.cbar-val { font-weight: 700; color: var(--text-primary); }



.bar-track { height: 10px; background: rgba(255,255,255,0.07); border-radius: 5px; overflow: hidden; }



.bar-fill {



  height: 100%;



  border-radius: 5px;



  background: var(--accent);



  width: 0%;



  transition: width 1.1s cubic-bezier(0.4,0,0.2,1);



}



.bar-fill--neutral { background: var(--text-muted); }



.budget-delta {



  font-size: 0.85rem;



  font-weight: 600;



  text-align: center;



  padding-top: 4px;



}



.delta-pos { color: #2ecc71; }



.delta-neg { color: #f87171; }







/* Curva Taglie */



.taglie-intro {



  font-size: 13px;



  color: var(--gray);



  margin-bottom: 18px;



  line-height: 1.5;



}



.taglie-grid {



  display: flex;



  flex-wrap: wrap;



  gap: 10px;



}



.taglia-pill {



  background: var(--bg-secondary);



  border: 1px solid var(--border);



  border-radius: 12px;



  padding: 14px 16px;



  display: flex;



  flex-direction: column;



  align-items: center;



  gap: 4px;



  min-width: 68px;



  text-align: center;



  transition: border-color 0.2s, background 0.2s;



}



.taglia-pill:hover { border-color: var(--accent); background: rgba(0,157,224,0.07); }



.taglia-tag  { font-size: 1rem; font-weight: 800; color: var(--white); line-height: 1; }



.taglia-pct  { font-size: 0.7rem; color: var(--accent); font-weight: 700; }



.taglia-pezzi{ font-size: 0.72rem; color: var(--text-muted); }



.taglie-no-size { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }







/* Smaltimento invenduto (box) */



.box-section {



  display: flex;



  align-items: flex-start;



  gap: 14px;



  border-radius: 12px;



  padding: 18px 20px;



}



.costo-box {



  background: rgba(239,68,68,0.07);



  border: 1px solid rgba(239,68,68,0.22);



}



.box-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }



.box-content strong { font-size: 0.9rem; color: #f87171; display: block; margin-bottom: 5px; }



.box-content p  { font-size: 0.84rem; color: var(--text-secondary); margin: 0; line-height: 1.55; }







/* Insight section */



.insight-section  { }



.insight-eyebrow {



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 0.1em;



  text-transform: uppercase;



  color: var(--blue);



  margin-bottom: 14px;



}



.insight-cards { display: flex; flex-direction: column; gap: 12px; }



.insight-card {



  display: flex;



  gap: 14px;



  background: var(--navy2);



  border: 1px solid rgba(0,157,224,0.15);



  border-radius: 14px;



  padding: 16px;



}



.ic-icon  { font-size: 22px; flex-shrink: 0; margin-top: 1px; }



.ic-body  { flex: 1; }



.ic-title { font-size: 0.87rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }



.ic-desc  { font-size: 0.79rem; color: var(--gray); line-height: 1.55; }







/* ── CON MAGICSTORE PUOI ─────────────────────────────────────── */



.precta-section {



  padding: 0 0 8px;



  max-width: 820px;



  margin: 0 auto;



  width: 100%;



}



.precta-divider {



  height: 1px;



  background: linear-gradient(90deg, transparent, rgba(0,157,224,0.4), transparent);



  margin-bottom: 32px;



}



.precta-header     { text-align: center; margin-bottom: 26px; }



.precta-eyebrow {



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 2px;



  text-transform: uppercase;



  color: var(--blue);



  margin-bottom: 8px;



}



.precta-title {



  font-family: 'Novelin', sans-serif;



  font-size: 22px;



  font-weight: 800;



  letter-spacing: 1px;



  text-transform: uppercase;



  color: var(--white);



}



.precta-grid {



  display: grid;



  grid-template-columns: repeat(3, 1fr);



  gap: 12px;



  margin-bottom: 22px;



}



.precta-card {



  background: rgba(255,255,255,0.05);



  border: 1px solid rgba(255,255,255,0.1);



  border-top: 3px solid var(--blue);



  border-radius: var(--radius);



  padding: 18px 14px 16px;



  text-align: center;



  transition: background 0.2s, box-shadow 0.2s;



}



.precta-card:hover {



  background: rgba(0,157,224,0.08);



  box-shadow: 0 4px 20px rgba(0,157,224,0.14);



}



.precta-icon-wrap {



  font-size: 24px;



  width: 48px; height: 48px;



  background: rgba(0,157,224,0.12);



  border-radius: 50%;



  display: flex;



  align-items: center;



  justify-content: center;



  margin: 0 auto 10px;



}



.precta-card-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 5px; line-height: 1.35; }



.precta-card-desc  { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.55; }







.precta-reassurance {



  background: linear-gradient(135deg, rgba(0,157,224,0.1) 0%, rgba(21,37,53,0.6) 100%);



  border: 1px solid rgba(0,157,224,0.3);



  border-radius: var(--radius);



  padding: 24px 26px;



  margin-bottom: 8px;



  display: flex;



  flex-direction: column;



  gap: 12px;



}



.precta-lead { font-size: 15px; font-weight: 600; color: var(--white); line-height: 1.6; }



.precta-sub  { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.65; }



.precta-badges { display: flex; gap: 10px; flex-wrap: wrap; }



.precta-badge-green {



  display: inline-flex;



  align-items: center;



  gap: 6px;



  background: rgba(46,204,113,0.15);



  border: 1px solid rgba(46,204,113,0.4);



  color: #2ecc71;



  font-size: 13px;



  font-weight: 700;



  padding: 7px 14px;



  border-radius: 99px;



}



.precta-solo { font-size: 14px; font-style: italic; color: rgba(255,255,255,0.55); }







/* ── FINAL CTA ───────────────────────────────────────────────── */



.final-cta {



  text-align: center;



  padding: 32px 22px;



  background: var(--navy2);



  border-radius: 18px;



  border: 1px solid rgba(0,157,224,0.15);



}



.final-cta h3 {



  font-family: 'Novelin', sans-serif;



  font-weight: 900;



  font-size: 1.3rem;



  color: var(--white);



  margin-bottom: 8px;



}



.final-cta > p {



  font-size: 14px;



  color: var(--gray);



  line-height: 1.7;



  margin-bottom: 22px;



  max-width: 480px;



  margin-left: auto;



  margin-right: auto;



}







/* ── GOOGLE REVIEWS ──────────────────────────────────────────── */



.rev-section {



  padding: 36px 20px 32px;



  border-top: 1px solid rgba(255,255,255,0.07);



  border-bottom: 1px solid rgba(255,255,255,0.07);



  background: linear-gradient(180deg, rgba(0,0,0,0.14) 0%, transparent 100%);}



.rev-section-label {



  font-size: 11px;



  font-weight: 700;



  letter-spacing: 2px;



  text-transform: uppercase;



  color: rgba(255,255,255,0.32);



  text-align: center;



  margin-bottom: 22px;



}



.rev-inner { display: flex; gap: 22px; align-items: flex-start;

  max-width: 780px;

  margin-left: auto;

  margin-right: auto;

}



.rev-summary {



  flex: 0 0 124px;



  display: flex;



  flex-direction: column;



  align-items: center;



  gap: 5px;



  padding-right: 4px;



  border-right: 1px solid rgba(255,255,255,0.07);



}



.rev-rating-word { font-size: 19px; font-weight: 900; color: var(--white); }



.rev-stars-row   { display: flex; gap: 1px; }



.rev-star        { font-size: 19px; line-height: 1; color: #F9AB00; }



.rev-star--half  { position: relative; overflow: hidden; display: inline-block; width: 0.55em; color: #F9AB00; }



.rev-count       { font-size: 11px; color: rgba(255,255,255,0.48); text-align: center; line-height: 1.4; }



.rev-count strong{ color: var(--white); }



.rev-glogo       { display: flex; align-items: center; gap: 5px; margin-top: 2px; }



.rev-glogo-text  { font-size: 12px; font-weight: 700; letter-spacing: 0.01em; }







.rev-carousel    { flex: 1; position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }



.rev-viewport    { overflow: hidden; flex: 1; min-width: 0; }



.rev-track {



  display: flex;



  gap: 16px;



  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);



  will-change: transform;



}



.rev-card {



  flex: 0 0 100%;



  background: #fff;



  box-shadow: 0 2px 12px rgba(0,0,0,0.25);



  border-radius: 14px;



  padding: 18px 16px;



}



.rev-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }



.rev-avatar {



  width: 36px; height: 36px;



  border-radius: 50%;



  display: flex; align-items: center; justify-content: center;



  font-size: 13px; font-weight: 700; color: #fff;



  flex-shrink: 0;



}



.rev-meta     { flex: 1; min-width: 0; }



.rev-name     { font-size: 13px; font-weight: 600; color: #1a1a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }



.rev-date     { font-size: 11px; color: #888; margin-top: 1px; }



.rev-g-icon   { width: 16px; height: 16px; flex-shrink: 0; margin-left: auto; }



.rev-stars-card { font-size: 13px; color: #F9AB00; margin-bottom: 8px; }



.rev-verified   { font-size: 11px; color: #1a73e8; font-weight: 700; }



.rev-text       { font-size: 12px; color: #444; line-height: 1.6; margin: 0; }







.rev-nav {



  background: var(--card-bg);



  border: 1px solid var(--border);



  border-radius: 50%;



  width: 32px; height: 32px;



  display: flex; align-items: center; justify-content: center;



  font-size: 18px; color: var(--white);



  cursor: pointer;



  flex-shrink: 0;



  transition: background 0.2s, border-color 0.2s;



}



.rev-nav:hover:not(:disabled) { background: var(--bg-secondary); border-color: var(--accent); }



.rev-nav:disabled { opacity: 0.3; cursor: default; }







.rev-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }



.rev-dot {



  width: 6px; height: 6px;



  border-radius: 50%;



  background: var(--border);



  border: none;



  cursor: pointer;



  transition: background 0.2s, transform 0.2s;



  padding: 0;



}



.rev-dot--active { background: var(--accent); transform: scale(1.3); }







/* ── RESPONSIVE ──────────────────────────────────────────────── */



@media (max-width: 640px) {



  .welcome-wrap  { padding: 36px 18px 52px; }



  .feature-cards { grid-template-columns: 1fr; }



  .w-stats-row   { max-width: 100%; }



  .form-wrap     { padding: 28px 18px 48px; }



  .results-wrap  { padding: 20px 14px 32px; gap: 16px; }



  .score-section { flex-direction: column; align-items: center; text-align: center; }



  .score-pills   { justify-content: center; }



  .piano-main    { flex-direction: column; gap: 14px; }



  .piano-block:last-child { text-align: left; }



  .piano-divider { display: none; }



  .precta-grid   { grid-template-columns: repeat(2, 1fr); }



  .taglie-grid   { gap: 8px; }



  .taglia-pill   { min-width: 58px; padding: 11px 12px; }



  .rev-inner     { flex-direction: column; }



  .rev-summary   { flex-direction: row; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 14px; padding-right: 0; width: 100%; justify-content: center; }



  .rev-card      { flex: 0 0 100%; }



}



@media (max-width: 420px) {



  .precta-grid { grid-template-columns: 1fr; }



}

/* ── Sticky CTA mobile ─────────────────────────────────────── */
@keyframes ctaPulseGlow {
  0%, 100% { box-shadow: 0 6px 24px rgba(0,194,212,0.5), 0 0 0 0 rgba(0,194,212,0.35); }
  50%       { box-shadow: 0 6px 24px rgba(0,194,212,0.5), 0 0 0 12px rgba(0,194,212,0); }
}
.w-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(13,27,42,0.98) 0%, rgba(13,27,42,0.82) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 300;
  border-top: 1px solid rgba(0,194,212,0.15);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.w-sticky-cta.visible { transform: translateY(0); }
.btn-cta-sticky {
  width: 100% !important;
  max-width: 420px !important;
  background: #009DE0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 15px 24px !important;
  border-radius: 50px !important;
  max-width: 100% !important;
  animation: ctaPulseGlow 2s ease-in-out infinite;
}
@media (max-width: 900px) {
  .w-sticky-cta { display: flex; justify-content: center; align-items: center; }
}

/* ── Sticky CTA: nascosto su mobile (confligge con ai-disclaimer, bottone inline già presente) ── */
@media (max-width: 640px) {
  .w-sticky-cta { display: none !important; }
}

/* ── Carousel mobile: frecce nascoste, swipe + dots ── */
@media (max-width: 580px) {
  .rev-nav      { display: none; }
  .rev-carousel { gap: 0; }
  .rev-dots     { margin-top: 14px; }
  .rev-dot      { width: 8px; height: 8px; }
}
