/* «Trova la tua Combo» (25/10/2026).
 * La configurazione guidata e' il pezzo centrale (Salvatore, 25/10 sera):
 * riquadro centrato, tessere grandi con icona, barra dei passi. La tabella
 * resta sotto, sempre aperta. Telefono prima: tessere a tutta larghezza.
 * Movimento solo su transform/opacity. */
.fps-tc { margin: 8px 0 40px; }
.fps-tc__intro { margin: 0 0 34px; color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 64ch; }

/* ---------- la guida ---------- */
.fps-tc__guida {
	position: relative; isolation: isolate; overflow: hidden;
	max-width: 960px; margin: 0 auto 64px; padding: clamp(26px, 5vw, 56px) clamp(16px, 5vw, 56px) clamp(26px, 4vw, 48px);
	border: 1px solid rgba(234, 85, 42, .38); border-radius: 28px;
	background:
		radial-gradient(70% 60% at 50% -10%, rgba(234, 85, 42, .26), transparent 70%),
		radial-gradient(40% 40% at 100% 100%, rgba(234, 85, 42, .08), transparent 70%),
		linear-gradient(180deg, #17191e, #101115);
	box-shadow: 0 40px 90px -40px rgba(234, 85, 42, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
	text-align: center;
}
.fps-tc__guida::before { /* griglia leggera di fondo, da pista */
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(80% 70% at 50% 0%, #000, transparent 75%);
}
.fps-tc__filtro[hidden] { display: none !important; }
.fps-tc__eyebrow { margin: 0 0 12px; font: 800 12.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--brand-300); }
.fps-tc__guida-tit { margin: 0 auto 26px; font-size: clamp(28px, 5vw, 48px); max-width: 22ch; text-wrap: balance; }

/* barra dei passi */
.fps-tc__prog { list-style: none; margin: 0 auto 34px; padding: 0; display: flex; justify-content: center; gap: 6px; max-width: 620px; counter-reset: passo; }
.fps-tc__prog li {
	flex: 1 1 0; position: relative; padding-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--text-3); counter-increment: passo;
}
.fps-tc__prog li::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1);
}
.fps-tc__prog li::after {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: var(--brand);
	transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.fps-tc__prog li.is-fatto::after { transform: scaleX(1); }
.fps-tc__prog li.is-ora::after { transform: scaleX(.45); }
.fps-tc__prog li.is-fatto, .fps-tc__prog li.is-ora { color: var(--text); }

/* passi */
.fps-tc__passo { animation: fps-tc-entra .45s var(--ease-out) both; }
.fps-tc__passo + .fps-tc__passo { margin-top: 30px; }
.fps-tc__passo[hidden] { display: none !important; }
@keyframes fps-tc-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fps-tc__dom { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 14px; font: 800 19px/1.2 var(--font-head); color: var(--text); }
.fps-tc__num { display: inline-grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font: 900 15px/1 var(--font-head); }

.fps-tc__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fps-tc__btns--tre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fps-tc__btns--marche { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }

.fps-tc__btn {
	position: relative; min-height: 54px; padding: 12px 20px;
	border: 1px solid var(--line-strong); border-radius: 16px;
	background: rgba(14, 15, 18, .72); color: var(--text);
	font: 700 16px/1.25 var(--font-body); cursor: pointer;
	transition: transform .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.fps-tc__btn:hover { transform: translateY(-2px); border-color: rgba(234, 85, 42, .55); }
.fps-tc__btn:active { transform: scale(.98); }
.fps-tc__btn.is-on { border-color: var(--brand); background: linear-gradient(180deg, rgba(234,85,42,.22), rgba(234,85,42,.08)); box-shadow: 0 0 0 3px rgba(234,85,42,.18), 0 16px 34px -18px rgba(234,85,42,.8); }
.fps-tc__btn:focus-visible { outline: 2px solid var(--brand-300); outline-offset: 3px; }
.fps-tc__btn[hidden] { display: none !important; }

.fps-tc__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 132px; padding: 18px 12px; text-align: center; }
.fps-tc__tile--marca { min-height: 92px; }
.fps-tc__ico { display: grid; place-items: center; width: 52px; height: 52px; color: var(--brand-300); transition: transform .3s var(--ease-out); }
.fps-tc__ico svg { width: 100%; height: 100%; }
.fps-tc__btn.is-on .fps-tc__ico { transform: scale(1.08); color: #fff; }
.fps-tc__tile-n { font: 800 18px/1.15 var(--font-head); }
.fps-tc__tile-s { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.fps-tc__btn.is-on .fps-tc__tile-s { color: var(--brand-200); }
.fps-tc__btn--mod { min-height: 54px; }

/* esito */
.fps-tc__esito { margin-top: 34px; text-align: left; }
.fps-tc__vuoto { margin: 0; padding: 22px; border: 1px dashed rgba(255,255,255,.16); border-radius: 18px; color: var(--text-3); text-align: center; font-size: 15px; }
.fps-tc__vuoto[hidden] { display: none; }
.fps-tc__scheda {
	padding: clamp(20px, 3.5vw, 32px); border: 1px solid rgba(234, 85, 42, .5); border-radius: 22px;
	background: linear-gradient(180deg, #1b1d23, #131418); scroll-margin-top: 110px;
	box-shadow: 0 30px 60px -36px rgba(0,0,0,.9);
	animation: fps-tc-entra .5s var(--ease-out) both;
}
.fps-tc__scheda[hidden] { display: none !important; }
.fps-tc__nome { margin: 10px 0 4px; font-size: clamp(26px, 4vw, 36px); }
.fps-tc__per { margin: 0 0 20px; color: var(--text-2); font-size: 15px; }
.fps-tc__testo { margin: 0 0 18px; color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.fps-tc__dati { margin: 0 0 24px; display: grid; gap: 14px; }
.fps-tc__dati div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.fps-tc__dati div:first-child { border-top: 0; padding-top: 0; }
.fps-tc__dati dt { color: var(--text-3); font-size: 14px; }
.fps-tc__dati dd { margin: 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.fps-tc__dati b { font-family: var(--font-head); font-size: 30px; letter-spacing: -.02em; margin-right: 6px; }

.fps-tc__stato { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.fps-tc__stato--testato     { background: rgba(52, 199, 89, .14); color: #6fe08b; }
.fps-tc__stato--compatibile { background: rgba(52, 199, 89, .10); color: #9be7ae; }
.fps-tc__stato--verifica    { background: rgba(255, 179, 64, .14); color: #ffc46b; }
.fps-tc__stato--ignoto      { background: rgba(255, 255, 255, .08); color: var(--text-2); }

.fps-tc__tasti { display: flex; flex-wrap: wrap; gap: 12px; }
.fps-tc__cfg, .fps-tc__wa {
	display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 26px;
	border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none;
	transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.fps-tc a.fps-tc__cfg, .fps-tc a.fps-tc__cfg:visited, .fps-tc a.fps-tc__cfg:hover { color: #fff; }
.fps-tc__cfg { background: var(--brand-btn); box-shadow: 0 14px 30px -14px rgba(234,85,42,.9); }
.fps-tc__cfg:hover { background: var(--brand); transform: translateY(-1px); }
.fps-tc a.fps-tc__wa, .fps-tc a.fps-tc__wa:visited { color: var(--text); }
.fps-tc__wa { border: 1px solid var(--line-strong); }
.fps-tc__wa:hover { border-color: #25d366; }

/* ---------- la tabella, sempre aperta ---------- */
.fps-tc__tabella { max-width: var(--container); margin: 0 auto; }
.fps-tc__tit { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 34px); }
.fps-tc__pc { margin: 0 0 18px; color: var(--text-2); }
.fps-tc__tabwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.fps-tc__tab { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.fps-tc__tab th, .fps-tc__tab td { padding: 13px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fps-tc__tab thead th { color: var(--text-3); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--ink-850); }
.fps-tc__tab tbody th { color: var(--text); font-weight: 700; }
.fps-tc__tab tbody th small { display: block; margin-top: 4px; color: var(--text-3); font-weight: 400; font-size: 13px; }
.fps-tc__tab td { color: var(--text-2); }
.fps-tc__cella { display: block; margin-top: 6px; }
.fps-tc__no { color: var(--text-3); }
.fps-tc__nota { margin: 14px 0 0; color: var(--text-3); font-size: 13.5px; line-height: 1.55; }

@media (max-width: 860px) {
	.fps-tc__btns--marche { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.fps-tc__btns--tre { grid-template-columns: 1fr; }
	.fps-tc__tile { flex-direction: row; justify-content: flex-start; min-height: 74px; gap: 14px; padding: 14px 18px; text-align: left; }
	.fps-tc__tile .fps-tc__ico { width: 40px; height: 40px; flex: 0 0 40px; }
	.fps-tc__tile-n { flex: 0 0 auto; }
	.fps-tc__tile-s { margin-left: auto; text-align: right; }
	.fps-tc__btns--marche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fps-tc__tile--marca { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 76px; gap: 4px; }
	.fps-tc__tile--marca .fps-tc__tile-s { margin-left: 0; text-align: left; }
	.fps-tc__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fps-tc__dom { font-size: 17px; gap: 8px; }
	.fps-tc__dom .fps-tc__num { flex: 0 0 26px; height: 26px; font-size: 13px; }
	.fps-tc__tile-s { overflow-wrap: anywhere; }
	.fps-tc__btns--tre { grid-template-columns: 1fr; }
	.fps-tc__prog li { font-size: 11px; }
	.fps-tc__dati div { grid-template-columns: 1fr; gap: 2px; }
	.fps-tc__guida { padding-left: 12px; padding-right: 12px; border-radius: 22px; }
	.fps-tc__scheda { padding: 18px 14px; }
	.fps-tc__nome { font-size: 24px; }
	.fps-tc__tasti a { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.fps-tc__passo, .fps-tc__scheda { animation: none; }
	.fps-tc__btn, .fps-tc__prog li::after, .fps-tc__ico { transition: none; }
}

/* ---------- foto (25/10 sera): scheda con la combo vera, galleria, reel ---------- */
.fps-tc__scheda--foto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 3vw, 34px); align-items: start; }
.fps-tc__foto {
	position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.4;
	background: radial-gradient(80% 70% at 50% 40%, rgba(234,85,42,.18), transparent 70%), #0d0e11;
	border: 1px solid var(--line);
}
.fps-tc__foto > img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .8s var(--ease-out); }
.fps-tc__scheda:hover .fps-tc__foto > img { transform: scale(1.06); }
.fps-tc__conn {
	position: absolute; right: 12px; bottom: 12px; width: 92px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
	background: #fff; box-shadow: 0 10px 26px -10px rgba(0,0,0,.8); border: 2px solid rgba(255,255,255,.9);
}
.fps-tc__conn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fps-tc__corpo { min-width: 0; }

.fps-tc__sez-testa { text-align: center; margin: 0 auto 26px; max-width: 720px; }
.fps-tc__sez-testa .fps-tc__tit { margin: 0; }
.fps-tc__vicino { max-width: var(--container); margin: 0 auto 72px; }
.fps-tc__bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 12px; }
.fps-tc__bento-i { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #0d0e11; border: 1px solid var(--line); }
.fps-tc__bento-i img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out); }
.fps-tc__bento-i:hover img { transform: scale(1.05); }
.fps-tc__bento-i--grande { grid-column: span 2; grid-row: span 2; }
.fps-tc__bento-i--largo { grid-column: span 2; }
.fps-tc__bento-i figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px;
	background: linear-gradient(180deg, transparent, rgba(8,9,11,.92)); display: grid; gap: 4px;
}
.fps-tc__bento-i figcaption b { font: 800 clamp(18px, 2.2vw, 24px)/1.15 var(--font-head); color: #fff; }
.fps-tc__bento-i figcaption span { color: var(--text-2); font-size: 14px; }

.fps-tc__reel { max-width: var(--container); margin: 0 auto 72px; }

@media (max-width: 760px) {
	.fps-tc__scheda--foto { grid-template-columns: 1fr; }
	.fps-tc__foto { aspect-ratio: 4 / 3; }
	.fps-tc__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
	.fps-tc__bento-i--grande { grid-column: span 2; grid-row: span 2; }
	.fps-tc__bento-i--largo { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
	.fps-tc__foto > img, .fps-tc__bento-i img { transition: none; }
}
/* la copertina della scheda prodotto e' su fondo bianco con i loghi: intera, mai ritagliata */
.fps-tc__foto { aspect-ratio: 4 / 3; background: #fff; border-color: rgba(255,255,255,.18); }
.fps-tc__foto > img { object-fit: contain; transform: none; }
.fps-tc__scheda:hover .fps-tc__foto > img { transform: scale(1.025); }
.fps-tc__conn { right: 10px; bottom: 10px; width: 84px; border: 1px solid #e6e6e6; box-shadow: 0 6px 18px -8px rgba(0,0,0,.45); }
@media (max-width: 760px) { .fps-tc__foto { aspect-ratio: 4 / 3; } }

/* ---------- ritmo e foto (25/10 notte, revisione di Salvatore) ----------
 * Un solo passo verticale: 96 px tra le sezioni (64 al telefono), 28 px fra
 * titolo e contenuto. Ogni foto nel suo formato vero: niente ritagli forzati. */
.fps-tc { --tc-sez: clamp(64px, 9vw, 96px); --tc-testa: 28px; }
.fps-tc__guida, .fps-tc__vicino, .fps-tc__reel { margin-bottom: var(--tc-sez); }
.fps-tc__tabella { margin-bottom: var(--tc-sez); }
.fps-tc__sez-testa { margin-bottom: var(--tc-testa); }
.fps-tc__sez-testa .fps-tc__eyebrow { margin-bottom: 10px; }
.fps-tc__reel .fps-reel { margin: 0; }
.fps-tc__reel .fps-reel__head { display: none; }
.fps-tc__tabella .fps-tc__tit { margin-bottom: 8px; }
.fps-tc__tabella .fps-tc__pc { margin-bottom: 20px; }
.fps-tc + .fps-faq, .fps-tc ~ .fps-faq { margin-top: 0; }

/* galleria: una grande + quattro piccole, tutte 4:5 come sono state scattate */
.fps-tc__bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 14px; }
.fps-tc__bento-i { aspect-ratio: 4 / 5; border-radius: 20px; }
.fps-tc__bento-i--grande { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.fps-tc__bento-i::after { /* filo di luce sul bordo, come le foto in studio */
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.04);
}

/* scheda: foto intera sopra, connettore con nome sotto */
.fps-tc__media { display: grid; gap: 12px; }
.fps-tc__connrow {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px;
	border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03);
}
.fps-tc__connrow .fps-tc__conn { position: static; flex: 0 0 72px; width: 72px; aspect-ratio: 4 / 3; border-radius: 10px; border: 0; box-shadow: none; background: #fff; overflow: hidden; }
.fps-tc__conn-t { display: grid; gap: 2px; color: var(--text-3); font-size: 12.5px; }
.fps-tc__conn-t b { color: var(--text); font: 800 16px/1.2 var(--font-head); }

@media (max-width: 760px) {
	.fps-tc { --tc-testa: 22px; }
	.fps-tc__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.fps-tc__bento-i--grande { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; }
}
/* le foto dei connettori hanno molto bianco attorno: si stringe sul connettore */
.fps-tc__connrow .fps-tc__conn { flex-basis: 88px; width: 88px; }
.fps-tc__connrow .fps-tc__conn img { transform: scale(1.75); transform-origin: 50% 55%; }
