/* ==========================================================================
   SECTIONS — componenti condivisi dalle 3 landing
   hero · dial · scrub · stat · steps · criteri · ritratto · recensioni · cta finale
   ========================================================================== */

/* ---------- Hero (base) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 0 72px;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  z-index: -1;
  background:
    radial-gradient(50% 50% at 50% 40%, rgba(11, 47, 138, .55) 0%, transparent 70%),
    radial-gradient(30% 30% at 70% 30%, rgba(201, 169, 98, .14) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, .35), transparent);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy .lead { margin-top: 20px; }
.hero__copy .cta-row { margin-top: 32px; }
.hero__copy .fine { margin-top: 20px; max-width: 46ch; }
@media (min-width: 1069px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
}

/* ---------- Dial 90 giorni (firma della garanzia) ---------- */
.dial {
  position: relative;
  width: min(78vw, 400px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial__tick { stroke: rgba(255, 255, 255, .14); stroke-width: 2; stroke-linecap: round; transition: stroke .4s ease; }
.dial__tick.is-on { stroke: var(--gold); }
.dial__tick.is-major { stroke-width: 3; }
.dial__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 98, .22) 0%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.dial__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dial__num {
  font-size: clamp(96px, 30vw, 168px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.dial__label { margin-top: 6px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--on-dark-2); }
.dial--sm { width: 132px; }
.dial--sm .dial__num { font-size: 52px; }
.dial--sm .dial__label { font-size: 11px; margin-top: 2px; }

/* ---------- Scrub: parole che si accendono con lo scroll ---------- */
.scrub { position: relative; height: 165vh; }
.scrub__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.scrub__meta { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
.scrub__label { font-size: 15px; font-weight: 600; color: var(--gold); letter-spacing: -.01em; }
.scrub__day {
  font-size: clamp(76px, 20vw, 168px);
  line-height: .92;
  font-weight: 700;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scrub__track { display: block; width: min(320px, 70vw); height: 4px; margin-top: 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.scrub__track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; transform: scaleX(0); }
.scrub__note { margin-top: 14px; font-size: 17px; font-weight: 600; color: var(--on-dark-2); letter-spacing: -.015em; }
.scrub__text {
  font-size: clamp(32px, 7.4vw, 76px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.04em;
  max-width: 15ch;
}
.scrub__text .w { opacity: .16; transition: opacity .25s linear; }
.scrub__text .w.is-lit { opacity: 1; }
.scrub--light .scrub__text .w { opacity: 1; color: #d9d9de; transition: color .3s ease, transform .3s ease; display: inline-block; transform: translateY(6px); }
.scrub--light .scrub__text .w.is-lit { transform: none; }
.scrub--light .scrub__text .w.is-lit { color: var(--text); }
.scrub--light .scrub__text .w--gold.is-lit { color: var(--gold-lo); background: none; -webkit-text-fill-color: currentColor; }
.scrub__text .w--gold.is-lit { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Stat ---------- */
.stat__num {
  display: block;
  font-size: clamp(88px, 24vw, 220px);
  line-height: .92;
  font-weight: 700;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  margin: 8px 0 28px;
}
.stat__num small { font-size: .38em; letter-spacing: -.03em; margin-left: .08em; }

/* Barre a confronto */
.bars { display: grid; gap: 22px; margin-top: 56px; text-align: left; max-width: 760px; margin-left: auto; margin-right: auto; }
.bar__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.bar__head span { color: var(--text-2); font-weight: 500; }
.bar__track { height: 14px; border-radius: 999px; background: rgba(0, 0, 0, .06); overflow: hidden; }
.bar__fill {
  height: 100%;
  width: var(--w, 100%);
  border-radius: inherit;
  background: #c7c7cc;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s var(--ease);
  transition-delay: calc(var(--d, 0) * 200ms + 200ms);
}
.bar__fill--gold { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.is-in .bar__fill { transform: scaleX(1); }
.section--dark .bar__track { background: rgba(255, 255, 255, .08); }
.section--dark .bar__fill { background: #3a3a4a; }
.section--dark .bar__fill--gold { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.section--dark .bar__head span { color: var(--on-dark-2); }

/* ---------- Steps (sequenza reale) ---------- */
.steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  margin: 48px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.steps::-webkit-scrollbar { display: none; }
@media (min-width: 834px) {
  .steps { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 64px 0 0; padding: 0; overflow: visible; gap: 20px; }
}
.step {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hairline);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
@media (min-width: 834px) { .step { min-height: 340px; padding: 32px 28px; } }
.step:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--hairline), 0 30px 60px -30px rgba(2, 8, 23, .25); }
.step__k { font-size: 15px; font-weight: 600; color: var(--gold-lo); }
.step__t { margin-top: auto; font-size: clamp(26px, 3vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; }
.step__p { margin-top: 12px; color: var(--text-2); }
.step--hl { background: var(--ink); color: var(--on-dark); box-shadow: none; position: relative; overflow: hidden; }
.step--hl::before { content: ""; position: absolute; inset: auto -30% -40% auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 169, 98, .35), transparent 65%); }
.step--hl .step__k { color: var(--gold); }
.step--hl .step__p { color: var(--on-dark-2); }
.step__big { font-size: clamp(56px, 7vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.05em; margin-top: auto; position: relative; }
.step--hl .step__t, .step--hl .step__p { position: relative; }
.steps-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.steps-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c7c7cc; transition: background .3s, width .3s var(--ease); }
.steps-dots i.is-on { background: var(--text); width: 22px; border-radius: 999px; }
@media (min-width: 834px) { .steps-dots { display: none; } }

/* ---------- Criteri di selezione ---------- */
.criteria { display: grid; gap: 14px; margin-top: 48px; }
@media (min-width: 734px) { .criteria { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.crit {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--hairline-dark) inset;
  text-align: left;
}
@media (min-width: 734px) { .crit { flex-direction: column; align-items: flex-start; padding: 32px 28px; min-height: 230px; } }
.crit__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(201, 169, 98, .12); color: var(--gold); }
.crit__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.crit__t { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.crit__p { font-size: 15px; color: var(--on-dark-2); margin-top: 2px; }
@media (min-width: 734px) { .crit__body { margin-top: auto; } }
.crit__check { margin-left: auto; flex: none; width: 26px; height: 26px; }
@media (min-width: 734px) { .crit__check { position: absolute; } .crit { position: relative; } .crit__check { top: 32px; right: 28px; } }
.crit__check circle { fill: none; stroke: rgba(201, 169, 98, .35); stroke-width: 1.5; }
.crit__check path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .7s var(--ease); transition-delay: calc(var(--d, 0) * 250ms + 500ms); }
.is-in .crit__check path { stroke-dashoffset: 0; }

.promise {
  margin-top: 56px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.035em;
}

/* ---------- Ritratto Federico ---------- */
.portrait { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1069px) { .portrait { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.portrait__media {
  position: relative;
  width: min(58vw, 320px);
  margin: 0 auto;
  aspect-ratio: 203 / 417;
  max-height: 560px;
}
.portrait__media::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22%;
  width: 140%;
  max-width: 92vw;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 98, .28) 0%, rgba(11, 47, 138, .25) 40%, transparent 68%);
  z-index: 0;
}
.portrait__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.portrait__media--short { aspect-ratio: 203 / 300; overflow: hidden; }
.portrait__media--short img { object-position: top; height: auto; }
.portrait__quote {
  font-size: clamp(32px, 5.6vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.04em;
}
.portrait__body { margin-top: 24px; font-size: 19px; line-height: 1.5; color: var(--on-dark-2); max-width: 40ch; }
.portrait__sig { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.portrait__sig strong { display: block; font-size: 17px; font-weight: 600; }
.portrait__sig span { font-size: 14px; color: var(--on-dark-2); }
.portrait__sig::before { content: ""; width: 36px; height: 1px; background: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--on-dark);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 1px var(--hairline-dark) inset;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Recensioni ---------- */
.reviews__frame {
  margin-top: 40px;
  text-align: left;
}
.reviews__frame:empty { display: none; }
.reviews__source { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--text-2); }
.reviews__source svg { width: 18px; height: 18px; }

/* ---------- CTA finale ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: 120px 0 128px;
  text-align: center;
  background: var(--ink);
  color: var(--on-dark);
  isolation: isolate;
}
.final::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -45%;
  width: 160vw;
  max-width: 1400px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 98, .26) 0%, rgba(11, 47, 138, .3) 35%, transparent 62%);
  z-index: -1;
}
.final .lead { margin: 18px auto 0; }
.final .cta-row { margin-top: 36px; justify-content: center; }
.final__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--on-dark-2); }
.final__meta span { display: inline-flex; align-items: center; gap: 8px; }
.final__meta svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
