/* Passaparola, la rivista delle case: www.casais.it/rivista e santinomuto.it/rivista (stessa pagina, due testate).
   Impaginata come le pagine Apple che presentano una gamma. Tutto sotto .rv, così vale sia dentro il sito Casa is.it
   sia nella pagina di Santino. Fondi bianchi e grigio chiaro, un solo azzurro (#13bbe8), un solo carattere. */
.rv {
  --rv-testo: #1d1d1f; --rv-dim: #6e6e73; --rv-dim2: #86868b; --rv-linea: rgba(0, 0, 0, .1);
  --rv-carta: #fff; --rv-grigio: #f5f5f7; --rv-grigio2: #e8e8ed;
  --rv-blu: #13bbe8; --rv-blu-ink: #0b8fb5; --rv-blu-soft: rgba(19, 187, 232, .1); --rv-arancio: #c24e00;
  --rv-wa: #25d366; --rv-wa-ink: #128c4a;
  --rv-gutter: clamp(16px, 4.5vw, 44px); --rv-max: 1180px; --rv-top: 52px;
  --rv-pad: max(var(--rv-gutter), calc((100% - var(--rv-max)) / 2));
  --rv-ombra: 0 2px 6px rgba(0, 0, 0, .04), 0 14px 40px rgba(0, 0, 0, .08);
  --rv-facile: cubic-bezier(.2, .7, .2, 1);
  color: var(--rv-testo); background: var(--rv-carta);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: -.012em; line-height: 1.45; overflow-x: clip;
}
/* Azzeramenti senza peso (:where), così le classi della rivista vincono sempre. */
.rv *, .rv *::before, .rv *::after { box-sizing: border-box; }
.rv :where(h1, h2, h3, p, ol, ul, figure) { margin: 0; }
.rv :where(ol, ul) { padding: 0; list-style: none; }
.rv :where(a) { color: inherit; text-decoration: none; }
.rv :where(img) { display: block; max-width: 100%; }
.rv :where(button, input, select) { font: inherit; letter-spacing: inherit; color: inherit; }
.rv :where(button) { cursor: pointer; }
.rv :focus-visible { outline: 2px solid var(--rv-blu); outline-offset: 3px; border-radius: 10px; }
.rv-ico { width: 1.15em; height: 1.15em; flex: none; }
.rv-in { width: 100%; max-width: calc(var(--rv-max) + var(--rv-gutter) * 2); margin-inline: auto; padding-inline: var(--rv-gutter); }
.rv-nuovo { color: var(--rv-arancio); font-weight: 600; }
.rv-occhiello { display: inline-flex; align-items: center; gap: 8px; font-size: 1.0625rem; font-weight: 600; color: var(--rv-blu-ink); margin-bottom: 10px; }
.rv-occhiello .rv-ico { width: 1.25em; height: 1.25em; }
.rv-h2 { font-size: clamp(2.2rem, 5.6vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.rv-testo { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--rv-dim); max-width: 32em; text-wrap: pretty; }
.rv-ris-testo .rv-h2, .rv-pass-testo .rv-h2, .rv-isc-testo .rv-h2 { margin-bottom: 18px; }
.rv-testa { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 28px; margin-bottom: clamp(20px, 3vw, 36px); }

/* ---------- Bottoni ---------- */
.rv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--rv-blu); color: #fff; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: filter .15s, transform .12s, background .2s, color .2s; }
.rv-btn:hover { filter: brightness(.95); }
.rv-btn:active { transform: scale(.97); }
.rv-btn--bordo { background: transparent; color: var(--rv-blu-ink); box-shadow: inset 0 0 0 1.5px var(--rv-blu); }
.rv-btn--bordo:hover { background: var(--rv-blu); color: #fff; filter: none; }
.rv-btn--wa { background: var(--rv-wa); }
.rv-btn--piccolo { min-height: 36px; padding: 0 16px; font-size: .9375rem; }
.rv-btn--pieno { width: 100%; min-height: 52px; }
.rv-passa { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 2px; color: var(--rv-blu-ink); font-size: .9375rem; font-weight: 600; }
.rv-passa:hover { text-decoration: underline; }

/* ---------- Animazioni ---------- */
@keyframes rv-entra { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.rv-entra { animation: rv-entra 1s var(--rv-facile) both; }
.rv-entra--2 { animation-delay: .12s; } .rv-entra--3 { animation-delay: .24s; } .rv-entra--4 { animation-delay: .36s; }
.rv-js .rv-anim { opacity: 0; transform: translateY(44px) scale(.985); transition: opacity 1s var(--rv-facile), transform 1s var(--rv-facile); }
.rv-js .rv-anim.rv-visto { opacity: 1; transform: none; }

/* ---------- Apertura ---------- */
.rv-eroe { text-align: center; padding-top: clamp(40px, 7vw, 92px); overflow: hidden; }
.rv-eroe-numero { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600; color: var(--rv-dim); }
/* «Passa» nell'azzurro del marchio, il resto nero: niente sfumature, che creerebbero altri blu. */
.rv-eroe-nome { font-size: clamp(4rem, 15.5vw, 11.5rem); font-weight: 800; line-height: .92; letter-spacing: -.065em; margin: 8px 0 6px; padding-bottom: .06em; color: var(--rv-testo); }
.rv-eroe-nome span { color: var(--rv-blu); }
.rv-eroe-claim { font-size: clamp(1.7rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.rv-eroe-sotto { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--rv-dim); max-width: 34em; margin: 14px auto 0; text-wrap: balance; }
.rv-eroe-azioni { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 26px; }

.rv-ventaglio { --apri: 0; --mx: 0; --my: 0; --passo: min(17vw, 230px); position: relative; height: clamp(300px, 54vw, 660px); margin: clamp(36px, 6vw, 72px) auto 0; max-width: 1400px; }
.rv-v { position: absolute; left: 50%; top: 2%; width: clamp(150px, 25vw, 330px); aspect-ratio: 3 / 4; translate: -50% 0; border-radius: clamp(16px, 2vw, 26px); overflow: hidden;
  background: var(--rv-grigio); box-shadow: 0 30px 60px rgba(0, 0, 0, .16), 0 6px 16px rgba(0, 0, 0, .08); z-index: calc(10 - var(--a));
  transform: translate3d(calc(var(--i) * (var(--passo) + var(--apri) * 4vw) + var(--mx) * var(--i) * 8px), calc(var(--a) * (20px + var(--apri) * 34px) + var(--my) * (3 - var(--a)) * 4px), 0) rotate(calc(var(--i) * (6.5deg + var(--apri) * 3deg)));
  transition: transform .7s var(--rv-facile), opacity .9s var(--rv-facile); }
.rv-v img { width: 100%; height: 100%; object-fit: cover; }
.rv-v figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: clamp(.7rem, 1vw, .8125rem); font-weight: 600; color: var(--rv-testo); }
.rv-js .rv-ventaglio:not(.rv-aperto) .rv-v { transform: translate3d(0, 60px, 0) scale(.9); opacity: 0; }
.rv-ventaglio.rv-aperto .rv-v { transition-delay: calc(var(--a) * .08s); }
.rv-ventaglio.rv-segue .rv-v { transition: transform .45s var(--rv-facile); transition-delay: 0s; }

.rv-eroe-numeri { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; margin-top: clamp(8px, 2vw, 24px); position: relative; z-index: 20; }
.rv-eroe-numeri li { display: grid; gap: 2px; padding: 4px clamp(18px, 3.4vw, 44px); }
.rv-eroe-numeri li + li { border-left: 1px solid var(--rv-linea); }
.rv-eroe-numeri b { font-size: clamp(1.9rem, 4.4vw, 3.3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.rv-eroe-numeri span { font-size: .9375rem; color: var(--rv-dim); }
.rv-eroe-agg { font-size: .8125rem; color: var(--rv-dim2); margin-top: 18px; padding-bottom: clamp(36px, 5vw, 64px); }
@media (max-width: 560px) { .rv-eroe-numeri li { padding-inline: 14px; } .rv-eroe-numeri li:nth-child(4) { border-left: 0; flex-basis: 100%; } }

/* Banner per chi arriva da un link passato */
.rv-passata { margin: 12px auto 0; width: calc(100% - var(--rv-gutter) * 2); max-width: var(--rv-max); background: var(--rv-blu-soft); border-radius: 16px; padding: 12px 16px; font-size: .9875rem; text-align: center; }

/* ---------- Copertina a riquadri ---------- */
.rv-tiles { padding-bottom: clamp(20px, 3vw, 40px); }
.rv-tile { background: var(--rv-grigio); border-radius: clamp(22px, 3vw, 34px); overflow: hidden; text-align: center; display: flex; flex-direction: column; }
.rv-tile-testo { padding: clamp(34px, 5vw, 60px) 22px clamp(18px, 2.4vw, 28px); }
.rv-tile .rv-occhiello, .rv-tile .rv-nuovo { display: block; font-size: 1.0625rem; margin-bottom: 6px; }
.rv-tile-nome { font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.rv-tile-claim { font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.3; max-width: 30em; margin: 10px auto 0; text-wrap: balance; }
.rv-tile-prezzo { font-size: 1.0625rem; font-weight: 600; margin-top: 12px; }
.rv-tile-prezzo span { font-weight: 400; color: var(--rv-dim); }
.rv-tile-azioni { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.rv-tile-foto { position: relative; display: block; width: auto; margin: 4px clamp(10px, 2.4vw, 32px) clamp(10px, 2.4vw, 32px); padding: 0; border: 0; border-radius: clamp(16px, 2.2vw, 24px); overflow: hidden; aspect-ratio: 16 / 9; background: var(--rv-grigio2); }
.rv-tile-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.8s var(--rv-facile); }
.rv-visto .rv-tile-foto img, html:not(.rv-js) .rv-tile-foto img { transform: scale(1); }
.rv-tile-foto:hover img { transform: scale(1.03); }
.rv-tiles-due { display: grid; gap: 14px; margin-top: 14px; }
.rv-tiles-due .rv-tile-nome { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.rv-tiles-due .rv-tile-claim { font-size: 1.125rem; }
.rv-tiles-due .rv-tile-foto { aspect-ratio: 4 / 3; margin-top: auto; }
@media (min-width: 900px) { .rv-tiles-due { grid-template-columns: 1fr 1fr; } }

/* Il + delle schede */
.rv-piu { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--rv-testo); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: transform .25s var(--rv-facile), background .2s; }
.rv-piu .rv-ico { width: 20px; height: 20px; stroke-width: 2.2; }
.rv-piu:hover, button:hover > .rv-piu { transform: scale(1.1) rotate(90deg); }
.rv-piu--wa { background: var(--rv-wa); color: #fff; }
.rv-piu--wa:hover { transform: scale(1.1); }

/* ---------- Frase che si accende scorrendo ---------- */
.rv-frase { padding: clamp(70px, 11vw, 150px) 0; }
.rv-rivela { font-size: clamp(1.9rem, 4.6vw, 3.7rem); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; text-align: center; max-width: calc(19em + var(--rv-gutter) * 2); text-wrap: balance; }
.rv-js .rv-rivela span { color: #d2d2d7; transition: color .35s; }
.rv-js .rv-rivela span.rv-on { color: var(--rv-testo); }

/* ---------- Sfoglia: zone, galleria, confronto ---------- */
.rv-zone { position: sticky; top: var(--rv-top); z-index: 60; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-block: 1px solid var(--rv-linea); padding: 9px 0 7px; }
.rv-zone-in { display: flex; align-items: flex-start; gap: 12px; }
.rv-zone-t { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; font-size: .9375rem; font-weight: 600; color: var(--rv-dim); }
.rv-zone-t .rv-ico { width: 20px; height: 20px; color: var(--rv-blu-ink); }
@media (max-width: 700px) { .rv-zone-t span { display: none; } }
.rv-livelli { display: grid; gap: 6px; flex: 1; min-width: 0; }
.rv-livello-t { display: none; }
.rv-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 3px; }
.rv-chips::-webkit-scrollbar { display: none; }
.rv-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 5px; border: 0; border-radius: 999px;
  background: var(--rv-grigio); color: var(--rv-testo); font-size: .9375rem; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, transform .15s; }
.rv-chip:active { transform: scale(.96); }
.rv-chip:not(:has(img)) { padding-left: 14px; }
.rv-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.rv-chip i { font-style: normal; font-weight: 600; font-size: .8125rem; color: var(--rv-dim); }
.rv-chip:hover { background: var(--rv-grigio2); }
.rv-chip[aria-pressed="true"] { background: var(--rv-testo); color: #fff; }
.rv-chip[aria-pressed="true"] i { color: rgba(255, 255, 255, .7); }
.rv-livello--sotto .rv-chip { min-height: 32px; padding: 0 12px; font-size: .875rem; font-weight: 500; background: transparent; box-shadow: inset 0 0 0 1px var(--rv-linea); }
.rv-livello--sotto .rv-chip[aria-pressed="true"] { background: var(--rv-blu); color: #fff; box-shadow: none; }
.rv-esito { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 1rem; color: var(--rv-dim); padding-bottom: 6px; }
.rv-esito-passa { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--rv-wa-ink); font-weight: 600; padding: 4px 0; white-space: nowrap; }
.rv-esito-passa[hidden] { display: none; }

/* Galleria "Conosci le case" */
.rv-galleria { padding-top: clamp(44px, 6vw, 84px); }
.rv-gal-scorri { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rv-pad); padding: 6px var(--rv-pad) 22px;
  scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; }
.rv-gal-scorri::-webkit-scrollbar { display: none; }
.rv-gcard { position: relative; flex: 0 0 auto; width: min(80vw, 380px); height: min(124vw, 600px); border-radius: clamp(22px, 2.4vw, 30px); overflow: hidden; scroll-snap-align: start;
  background: var(--rv-grigio); box-shadow: 0 2px 4px rgba(0, 0, 0, .04); transition: transform .5s var(--rv-facile), box-shadow .5s; }
.rv-gcard[hidden] { display: none; }
.rv-gcard:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 0, 0, .14); }
.rv-gcard-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--rv-facile); }
.rv-gcard:hover .rv-gcard-foto { transform: scale(1.05); }
.rv-gcard:not(.rv-gcard--riservata)::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .12) 34%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .35) 100%); }
.rv-gcard-testo { position: absolute; left: 24px; right: 24px; top: 24px; z-index: 2; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.rv-gcard--riservata .rv-gcard-testo { color: var(--rv-testo); text-shadow: none; top: auto; bottom: 24px; right: 76px; }
.rv-gcard-zona { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .92; }
.rv-gcard--riservata .rv-gcard-zona, .rv-ris-carta .rv-gcard-zona, .rv-scheda .rv-gcard-zona { color: var(--rv-blu-ink); opacity: 1; }
.rv-gcard-nome { font-size: clamp(1.45rem, 2.3vw, 1.8rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; margin-top: 6px; text-wrap: balance; }
.rv-gcard-prezzo { font-size: 1.0625rem; font-weight: 600; margin-top: 8px; }
.rv-gcard-badge { position: absolute; left: 20px; bottom: 22px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .8125rem; font-weight: 700; color: var(--rv-testo); }
.rv-senza { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--rv-dim2); font-size: .875rem; font-weight: 600; }
.rv-senza .rv-ico { width: 42px; height: 42px; }
.rv-gcard:has(.rv-senza)::after { background: linear-gradient(180deg, rgba(0, 0, 0, .06), transparent 40%); }
.rv-gcard:has(.rv-senza) .rv-gcard-testo { color: var(--rv-testo); text-shadow: none; }
.rv-gal-comandi { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.rv-gal-punti { position: relative; flex: 0 1 200px; height: 4px; margin-right: auto; border-radius: 4px; background: var(--rv-grigio2); overflow: hidden; }
.rv-gal-punti i { position: absolute; top: 0; left: 0; height: 100%; width: 30%; border-radius: 4px; background: var(--rv-testo); transition: left .15s linear, width .2s; }
.rv-freccia { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--rv-grigio2); color: var(--rv-testo); transition: background .2s, opacity .2s; }
.rv-freccia:hover { background: #dcdce1; }
.rv-freccia:disabled { opacity: .35; cursor: default; }
.rv-freccia .rv-ico { width: 20px; height: 20px; stroke-width: 2; }

/* La casa riservata: un velo con il lucchetto, mai la foto */
.rv-velo { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: var(--rv-testo); overflow: hidden;
  background:
    radial-gradient(55% 60% at var(--vx, 20%) var(--vy, 25%), rgba(19, 187, 232, .34), transparent 70%),
    radial-gradient(50% 55% at 85% 82%, rgba(19, 187, 232, .22), transparent 70%),
    radial-gradient(40% 45% at 70% 15%, rgba(233, 215, 184, .6), transparent 70%),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, .03) 0 1px, transparent 1px 12px), #eef6f9;
  animation: rv-onda 9s ease-in-out infinite alternate; }
@property --vx { syntax: "<percentage>"; inherits: false; initial-value: 20%; }
@property --vy { syntax: "<percentage>"; inherits: false; initial-value: 25%; }
@keyframes rv-onda { to { --vx: 70%; --vy: 60%; } }
.rv-velo-ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .88); box-shadow: var(--rv-ombra); }
.rv-velo-ico .rv-ico { width: 30px; height: 30px; color: var(--rv-blu-ink); }
.rv-velo-t { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.rv-velo-s { font-size: .875rem; color: var(--rv-dim); }
.rv-velo--piccolo .rv-velo-ico { width: 48px; height: 48px; }
.rv-velo--piccolo .rv-velo-ico .rv-ico { width: 22px; height: 22px; }
.rv-velo--piccolo .rv-velo-t { font-size: 1rem; }

/* Confronto "Esplora la gamma" */
.rv-gamma { padding: clamp(70px, 10vw, 130px) 0 clamp(20px, 3vw, 40px); }
.rv-gamma-sotto { font-size: 1.125rem; color: var(--rv-dim); }
.rv-gamma-scorri { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rv-pad); padding: 6px var(--rv-pad) 24px; scrollbar-width: thin; }
.rv-col { flex: 0 0 auto; width: min(62vw, 268px); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rv-col[hidden] { display: none; }
.rv-col-foto { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 26px; overflow: hidden; background: var(--rv-grigio); }
.rv-col-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--rv-facile); }
.rv-col-foto:hover img { transform: scale(1.06); }
.rv-col-badge { min-height: 1.45em; margin-top: 16px; color: var(--rv-arancio); font-size: .875rem; font-weight: 600; }
.rv-col-nome { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-col-zona { width: 100%; font-size: .9375rem; color: var(--rv-dim); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-col-prezzo { font-size: 1.0625rem; font-weight: 600; margin-top: 10px; min-height: 2.8em; text-wrap: balance; }
.rv-col-azioni { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 8px; }
.rv-col-dati { width: 100%; margin-top: 24px; border-top: 1px solid var(--rv-linea); }
.rv-col-dati li { display: grid; justify-items: center; align-content: start; gap: 5px; height: 122px; padding: 18px 6px 0; border-bottom: 1px solid var(--rv-linea); }
.rv-col-dati .rv-ico { width: 28px; height: 28px; stroke-width: 1.4; }
.rv-col-dati b { font-size: 1rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-col-dati span { font-size: .8125rem; color: var(--rv-dim2); }
.rv-col-dati .rv-vuoto b { color: var(--rv-dim2); font-weight: 400; }
.rv-col-dati .rv-vuoto .rv-ico { color: #c7c7cc; }

/* ---------- Riservate ---------- */
.rv-riservate { margin-top: clamp(50px, 7vw, 90px); padding: clamp(70px, 10vw, 130px) 0;
  background: radial-gradient(70% 60% at 15% 0%, rgba(19, 187, 232, .13), transparent 70%), radial-gradient(60% 60% at 95% 100%, rgba(233, 215, 184, .5), transparent 70%), #f7fafc; }
.rv-ris-in { display: grid; gap: 36px; align-items: center; }
.rv-ris-carte { display: grid; gap: 18px; }
.rv-ris-carta { background: var(--rv-carta); border-radius: 30px; overflow: hidden; box-shadow: var(--rv-ombra); }
.rv-ris-carta .rv-velo { position: relative; aspect-ratio: 16 / 9; }
.rv-ris-corpo { padding: 22px 24px 26px; }
.rv-ris-nome { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; }
.rv-ris-fatti { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.rv-ris-fatti li { background: var(--rv-grigio); border-radius: 999px; padding: 6px 12px; font-size: .875rem; }
.rv-ris-prezzo { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.rv-ris-prezzo span { font-size: .8125rem; font-weight: 400; color: var(--rv-dim2); margin-left: 8px; }
.rv-ris-azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (min-width: 900px) { .rv-ris-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* ---------- Passala: il telefono con la chat ---------- */
/* Subito dopo l'apertura: fa capire in tre secondi cosa si fa qui. */
.rv-passala { padding: clamp(20px, 4vw, 56px) 0 clamp(60px, 9vw, 120px); }
.rv-pass-in { display: grid; gap: 44px; align-items: center; }
.rv-pass-passi { display: grid; gap: 14px; margin: 24px 0 28px; counter-reset: passo; }
.rv-pass-passi li { counter-increment: passo; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; font-size: 1.0625rem; color: var(--rv-dim); }
.rv-pass-passi li::before { content: counter(passo); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rv-blu-soft); color: var(--rv-blu-ink); font-weight: 700; font-size: .9375rem; }
.rv-pass-passi b { color: var(--rv-testo); }
.rv-tel-box { display: grid; justify-items: center; gap: 12px; }
.rv-tel-box figcaption { font-size: .8125rem; color: var(--rv-dim2); }
.rv-telefono { position: relative; display: flex; flex-direction: column; width: min(300px, 66vw); aspect-ratio: 9 / 19; border-radius: 50px; overflow: hidden;
  border: 11px solid #1d1d1f; background: #efeae2; box-shadow: 0 40px 80px rgba(0, 0, 0, .18), 0 0 0 2px #48484a; }
.rv-tel-isola { position: absolute; top: 9px; left: 50%; width: 88px; height: 26px; translate: -50% 0; border-radius: 20px; background: #1d1d1f; z-index: 2; }
.rv-tel-testa { display: flex; align-items: center; gap: 10px; padding: 46px 14px 10px; background: #f7f7f7; border-bottom: 1px solid rgba(0, 0, 0, .06); text-align: left; }
.rv-tel-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rv-blu-soft); color: var(--rv-blu-ink); font-weight: 700; }
.rv-tel-testa b { display: block; font-size: .9375rem; line-height: 1.1; }
.rv-tel-testa small { font-size: .75rem; color: var(--rv-dim); }
.rv-tel-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 10px 16px; text-align: left; }
.rv-msg { display: none; max-width: 84%; padding: 7px 10px; border-radius: 12px; font-size: .84rem; line-height: 1.35; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); color: #111b21; }
.rv-msg--io { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; transform-origin: bottom right; }
.rv-msg--lei { align-self: flex-start; background: #fff; border-top-left-radius: 4px; transform-origin: bottom left; }
.rv-msg--link { padding: 4px; width: 84%; }
.rv-msg--link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; }
.rv-msg--link b { display: block; font-size: .8rem; padding: 6px 6px 0; }
.rv-msg--link small { display: block; padding: 0 6px; color: #667781; font-size: .72rem; }
.rv-msg--link u { display: block; padding: 2px 6px 4px; color: #027eb5; font-size: .72rem; text-decoration: none; }
.rv-m3 i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: #8696a0; animation: rv-punto 1s infinite; }
.rv-m3 i:nth-child(2) { animation-delay: .15s; } .rv-m3 i:nth-child(3) { animation-delay: .3s; }
@keyframes rv-punto { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes rv-msg { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
.rv-msg.rv-si { display: block; animation: rv-msg .45s cubic-bezier(.2, .8, .2, 1) both; }
html:not(.rv-js) .rv-msg:not(.rv-m3) { display: block; }
@media (min-width: 900px) { .rv-pass-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } }

/* ---------- Il prossimo numero ---------- */
.rv-iscriviti { padding: clamp(70px, 10vw, 130px) 0; background: var(--rv-grigio); }
.rv-isc { display: grid; gap: 36px; align-items: center; }
.rv-prossimo { position: relative; height: 190px; max-width: 380px; margin-top: 30px; }
.rv-prossimo-f { position: absolute; top: 6px; left: calc(var(--k) * 80px); width: 140px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; box-shadow: var(--rv-ombra);
  transform: rotate(calc((var(--k) - 1) * 7deg)); background: #fff; }
.rv-prossimo-f .rv-velo-t { display: none; }
.rv-prossimo-t { position: absolute; left: 70px; bottom: 0; display: grid; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, .94); box-shadow: var(--rv-ombra); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rv-prossimo-t b { font-size: 1rem; }
.rv-prossimo-t small { font-size: .8125rem; color: var(--rv-arancio); font-weight: 600; }
.rv-modulo { display: grid; gap: 14px; background: var(--rv-carta); border-radius: 28px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--rv-ombra); }
.rv-campo { display: grid; gap: 6px; }
.rv-campo span { font-size: .875rem; font-weight: 600; color: var(--rv-dim); }
.rv-campo em { font-style: normal; font-weight: 400; }
.rv-campo input, .rv-campo select { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: var(--rv-grigio); padding: 0 14px; font-size: 1rem; outline: none; appearance: none; -webkit-appearance: none; transition: box-shadow .2s; }
.rv-campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.rv-campo input:focus, .rv-campo select:focus { box-shadow: 0 0 0 2px var(--rv-blu); }
.rv-trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-consenso { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .875rem; color: var(--rv-dim); cursor: pointer; }
.rv-consenso input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rv-blu); }
.rv-consenso a { color: var(--rv-blu-ink); font-weight: 600; }
.rv-errore { font-size: .875rem; color: #c93400; }
.rv-errore:empty { display: none; }
.rv-alt { font-size: .9375rem; color: var(--rv-dim); text-align: center; }
.rv-alt a { color: var(--rv-wa-ink); font-weight: 600; }
.rv-fatto { align-content: start; }
.rv-fatto h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.rv-fatto p { color: var(--rv-dim); }
@media (min-width: 900px) { .rv-isc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* ---------- Perché Passaparola ---------- */
.rv-perche { padding: clamp(70px, 10vw, 130px) 0 clamp(30px, 5vw, 60px); }
.rv-perche-scorri { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rv-pad); padding: 6px var(--rv-pad) 26px; scrollbar-width: none; }
.rv-perche-scorri::-webkit-scrollbar { display: none; }
.rv-pcarta { flex: 0 0 auto; display: flex; flex-direction: column; gap: 16px; width: min(76vw, 300px); min-height: 240px; padding: 28px 26px; border-radius: 28px; background: var(--rv-grigio); scroll-snap-align: start; }
.rv-pcarta > .rv-ico { width: 36px; height: 36px; color: var(--rv-blu); }
.rv-pcarta p { font-size: 1.125rem; line-height: 1.4; color: var(--rv-dim); }
.rv-pcarta p b { color: var(--rv-testo); }
.rv-pcarta--vendi { background: var(--rv-blu-soft); }
.rv-pcarta .rv-btn { margin-top: auto; align-self: flex-start; }
.rv-nota { font-size: .8125rem; color: var(--rv-dim2); padding-block: 10px 44px; }

/* ---------- Barra fissa, foglio di condivisione, scheda ---------- */
.rv-barra { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translate(-50%, 0); z-index: 90; transition: opacity .3s, transform .3s; }
.rv-barra .rv-btn { box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.rv-barra.rv-via { opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
/* Sul telefono a sinistra: a destra c'è la bolla della chat */
@media (max-width: 899px) { .rv-barra { left: 16px; transform: none; } .rv-barra.rv-via { transform: translateY(24px); } }

.rv-foglio, .rv-scheda { max-width: 100%; padding: 0; border: 0; background: var(--rv-carta); color: var(--rv-testo); }
.rv-foglio::backdrop, .rv-scheda::backdrop { background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes rv-su { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }
.rv-foglio[open], .rv-scheda[open] { animation: rv-su .35s cubic-bezier(.2, .8, .2, 1); }
.rv-foglio { width: min(520px, 100%); margin: auto auto 0; border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .18); }
@media (min-width: 700px) { .rv-foglio { margin: auto; border-radius: 26px; } }
.rv-foglio-in { padding: 18px 18px max(22px, env(safe-area-inset-bottom)); }
.rv-foglio-testa { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv-foglio-testa h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.rv-x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--rv-grigio); font-size: 1.4rem; line-height: 1; color: var(--rv-dim); }
.rv-foglio-sotto { font-size: .9375rem; color: var(--rv-dim); margin: 4px 0 12px; }
.rv-bolla { background: #d9fdd3; color: #111; border-radius: 14px 14px 4px 14px; padding: 10px 12px; font-size: .9375rem; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; max-height: 34vh; overflow-y: auto; }
.rv-canali { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rv-canale { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 0; border-radius: 14px; background: var(--rv-grigio); color: var(--rv-testo); font-size: 1rem; font-weight: 600; white-space: nowrap; }
.rv-canale[hidden] { display: none; }
.rv-canale--wa { grid-column: 1 / -1; background: var(--rv-wa); color: #fff; min-height: 54px; font-size: 1.0625rem; }

.rv-scheda { width: min(960px, 100%); height: 94vh; max-height: 94vh; margin: auto auto 0; border-radius: 28px 28px 0 0; overflow: hidden; }
@media (min-width: 900px) { .rv-scheda { height: auto; max-height: 90vh; margin: auto; border-radius: 30px; } }
.rv-scheda-in { position: relative; height: 100%; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.rv-scheda-x { position: absolute; top: 14px; right: 14px; z-index: 5; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(0, 0, 0, .15); color: var(--rv-testo); }
.rv-scheda-foto { position: relative; display: flex; width: 100%; height: min(62.5vw, 60vh, 600px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--rv-grigio); }
.rv-scheda-foto::-webkit-scrollbar { display: none; }
.rv-scheda-foto img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.rv-scheda-freccia { position: absolute; top: 50%; z-index: 4; translate: 0 -50%; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--rv-testo); box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.rv-scheda-freccia .rv-ico { width: 20px; height: 20px; stroke-width: 2; }
.rv-scheda-punti { display: flex; justify-content: center; gap: 6px; padding-top: 12px; }
.rv-scheda-punti i { width: 6px; height: 6px; border-radius: 3px; background: #d2d2d7; transition: width .25s, background .25s; }
.rv-scheda-punti i.rv-on { width: 18px; background: var(--rv-testo); }
.rv-scheda-corpo { padding: 16px clamp(20px, 4vw, 44px) 34px; }
.rv-scheda-nome { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin: 6px 0 10px; }
.rv-scheda-dati { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 20px 0; }
.rv-scheda-dati li { display: grid; gap: 4px; padding: 14px; border-radius: 16px; background: var(--rv-grigio); }
.rv-scheda-dati .rv-ico { width: 24px; height: 24px; color: var(--rv-blu-ink); }
.rv-scheda-dati b { font-weight: 600; line-height: 1.25; }
.rv-scheda-dati span { font-size: .8125rem; color: var(--rv-dim2); }
.rv-scheda-prezzo { font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; }
.rv-scheda-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }

/* ---------- Pagina di Santino (santinomuto.it/rivista) ---------- */
body.rv-santino { margin: 0; background: #fff; }
body.rv-santino *, body.rv-santino *::before, body.rv-santino *::after { box-sizing: border-box; }
.rv-salta { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: #1d1d1f; padding: 10px 16px; border-radius: 10px; font: 600 1rem/1 -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", sans-serif; }
.rv-salta:focus { top: 12px; }
.rv-top { position: sticky; top: 0; z-index: 100; height: 52px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", sans-serif; }
.rv-top-in, .rv-piede-in { width: 100%; max-width: calc(1180px + clamp(16px, 4.5vw, 44px) * 2); margin: 0 auto; padding: 0 clamp(16px, 4.5vw, 44px); }
.rv-top-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.rv-top-nome { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; color: #1d1d1f; text-decoration: none; }
.rv-top-nome span { color: #13bbe8; }
.rv-top-wa { display: inline-flex; align-items: center; gap: .45em; min-height: 34px; padding: 0 14px; border-radius: 999px; background: #25d366; color: #fff; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.rv-top-wa .rv-ico { width: 1.1em; height: 1.1em; }
.rv-piede-sito { background: #f5f5f7; color: #6e6e73; font: 400 .8125rem/1.6 -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", sans-serif; padding: 28px 0 40px; border-top: 1px solid rgba(0, 0, 0, .06); }
.rv-piede-sito b { color: #1d1d1f; }
.rv-piede-sito a { color: #0b8fb5; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .rv *, .rv *::before, .rv *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv-js .rv-anim { opacity: 1; transform: none; }
  .rv-msg:not(.rv-m3) { display: block; }
  .rv-js .rv-rivela span { color: var(--rv-testo); }
}
