/*
 * Comparatore Internet e Mobile — UI calda, gaming-lite, mobile-first.
 */

body.page-offerte-mobile .entry-header,
body.page-offerte-mobile .entry-hero,
body:has(.vc-mob) .entry-header,
body:has(.vc-mob) .entry-hero {
	display: none !important;
}

body.page-offerte-mobile .entry-content,
body.page-offerte-mobile .content-area,
body:has(.vc-mob) .entry-content,
body:has(.vc-mob) .content-area {
	max-width: none;
	padding: 0;
	margin: 0;
	overflow: visible;
}

.vc-mob {
	--vc-gold: #ffc532;
	--vc-gold-2: #ff8a3d;
	--vc-navy: #06122c;
	--vc-cyan: #3ee0ff;
	--vc-text: #f4f7ff;
	position: relative;
	color: var(--vc-text);
	font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: #06122c;
	overflow: visible;
}

.vc-mob__stage {
	position: relative;
	isolation: isolate;
	padding-bottom: 3.5rem;
	overflow-x: clip;
}

.vc-mob__hero {
	position: relative;
	z-index: 2;
	min-height: min(70dvh, 34rem);
	display: flex;
	align-items: flex-end;
	padding:
		max(4.5rem, env(safe-area-inset-top, 0px))
		max(1rem, env(safe-area-inset-right, 0px))
		5.2rem
		max(1rem, env(safe-area-inset-left, 0px));
}

.vc-mob__hero-photo {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 0;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
}

.vc-mob__hero-shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(85% 60% at 6% 42%, rgba(6, 18, 44, 0.78) 0%, rgba(6, 18, 44, 0.28) 38%, transparent 68%),
		linear-gradient(90deg, rgba(6, 18, 44, 0.42) 0%, rgba(6, 18, 44, 0.08) 42%, transparent 62%),
		radial-gradient(70% 48% at 90% 16%, rgba(255, 138, 61, 0.38), transparent 58%);
}

.vc-mob__hero-fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	height: 8.5rem;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(6, 18, 44, 0) 0%, rgba(6, 18, 44, 0.35) 42%, #06122c 100%);
}

.vc-mob__hero-glow {
	position: absolute;
	z-index: 1;
	border-radius: 50%;
	pointer-events: none;
}

.vc-mob__hero-glow--gold {
	width: 22rem;
	height: 22rem;
	left: -6rem;
	bottom: 18%;
	background: radial-gradient(circle, rgba(255, 138, 61, 0.38), transparent 68%);
}

.vc-mob__hero-glow--cyan {
	width: 18rem;
	height: 18rem;
	right: -4rem;
	bottom: 8%;
	background: radial-gradient(circle, rgba(62, 224, 255, 0.28), transparent 68%);
}

.vc-mob__hero-inner {
	position: relative;
	z-index: 2;
	width: min(44rem, 100%);
}

.vc-mob__kicker {
	display: inline-block;
	margin: 0 0 0.7rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 197, 50, 0.18);
	border: 1px solid rgba(255, 197, 50, 0.45);
	color: var(--vc-gold);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vc-mob__title {
	margin: 0 0 0.65rem;
	font-size: clamp(2rem, 7vw, 3.15rem);
	line-height: 1.05;
	font-weight: 850;
	letter-spacing: -0.03em;
	color: #fff;
	-webkit-text-fill-color: #fff;
	text-shadow:
		0 1px 0 rgba(0, 0, 0, 0.55),
		0 2px 10px rgba(0, 0, 0, 0.75),
		0 10px 28px rgba(0, 0, 0, 0.5);
}

.vc-mob__title-line {
	display: block;
	color: #fff;
	-webkit-text-fill-color: #fff;
}

.vc-mob__title span.vc-mob__title-accent {
	display: block;
	background: linear-gradient(90deg, #ffc532, #ff8a3d 55%, #3ee0ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

body.page-offerte-mobile .entry-content .vc-mob__title,
body.page-offerte-mobile .entry-content .vc-mob__title-line {
	color: #fff;
	-webkit-text-fill-color: #fff;
}

.vc-mob__lead {
	margin: 0 0 1rem;
	font-size: 16px;
	line-height: 1.5;
	color: #e8eefc;
	max-width: 36rem;
}

.vc-mob__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vc-mob__trust li {
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	font-size: 0.85rem;
	font-weight: 700;
}

.vc-mob__wizard {
	position: relative;
	z-index: 3;
	margin: -4rem auto 0;
	width: min(52rem, calc(100% - 1.5rem));
	padding: 1.15rem 1rem 1.25rem;
	border-radius: 1.35rem;
	background: linear-gradient(180deg, rgba(12, 26, 56, 0.52), rgba(7, 16, 42, 0.7));
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 197, 50, 0.38);
	box-shadow:
		0 22px 55px rgba(0, 0, 0, 0.32),
		0 0 36px rgba(255, 138, 61, 0.16),
		0 0 0 1px rgba(62, 224, 255, 0.14);
}

.vc-mob__steps {
	display: flex;
	gap: 0.45rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.vc-mob__steps li {
	flex: 1;
	height: 6px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.12);
	text-indent: -999px;
	overflow: hidden;
}

.vc-mob__steps li.is-on,
.vc-mob__steps li.is-done {
	background: linear-gradient(90deg, #ffc532, #3ee0ff);
}

.vc-mob__panel {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.vc-mob__panel legend {
	padding: 0;
	margin: 0 0 0.75rem;
	font-size: 1.2rem;
	font-weight: 800;
}

.vc-mob__hint {
	margin: -0.35rem 0 0.85rem;
	font-size: 16px;
	color: #c5d4ee;
}

.vc-mob__choices {
	display: grid;
	gap: 0.7rem;
}

.vc-mob__choices--grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vc-mob__choice {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	min-height: 44px;
	width: 100%;
	padding: 0.9rem 1rem;
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.05);
	color: inherit;
	text-align: left;
	font-size: 16px;
	cursor: pointer;
	transition: transform 0.15s, border-color 0.15s, background 0.15s;
}

.vc-mob__choice strong {
	font-size: 1.05rem;
}

.vc-mob__choice span {
	color: #b7c7e2;
	font-size: 0.9rem;
}

.vc-mob__choice:hover,
.vc-mob__choice:focus-visible {
	border-color: var(--vc-gold);
	background: rgba(255, 197, 50, 0.12);
	outline: none;
	transform: translateY(-1px);
}

.vc-mob__choice.is-on {
	border-color: var(--vc-cyan);
	box-shadow: 0 0 0 2px rgba(62, 224, 255, 0.25);
	background: rgba(62, 224, 255, 0.1);
}

.vc-mob__choice--sm {
	padding: 0.7rem 0.75rem;
	min-height: 44px;
	align-items: center;
	font-weight: 700;
}

.vc-mob__results {
	width: min(52rem, calc(100% - 1.5rem));
	margin: 1.25rem auto 0;
	padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.vc-mob__results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.vc-mob__results-head h2 {
	margin: 0;
	font-size: 1.25rem;
}

.vc-mob__ghost {
	min-height: 44px;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: transparent;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
}

.vc-mob__filter-line {
	margin: 0 0 1rem;
	color: #c5d4ee;
	font-size: 16px;
}

.vc-mob__cards {
	display: grid;
	gap: 1rem;
}

.vc-mob__card {
	position: relative;
	padding: 1.1rem 1rem 1.15rem;
	border-radius: 1.2rem;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
	border: 1px solid rgba(255, 255, 255, 0.12);
	overflow: hidden;
}

.vc-mob__card--best {
	border-color: rgba(255, 197, 50, 0.55);
	box-shadow: 0 0 0 1px rgba(255, 197, 50, 0.2), 0 16px 40px rgba(255, 138, 61, 0.18);
}

.vc-mob__card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.vc-mob__logo {
	height: 32px;
	max-width: 9rem;
	width: auto;
	object-fit: contain;
	background: #fff;
	border-radius: 8px;
	padding: 0.2rem 0.4rem;
}

.vc-mob__badge {
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--vc-gold);
	color: #1a1200;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
}

.vc-mob__gb {
	margin: 0;
	font-size: clamp(2.1rem, 8vw, 2.8rem);
	font-weight: 850;
	letter-spacing: -0.03em;
	line-height: 1;
}

.vc-mob__meta {
	margin: 0.35rem 0 0.7rem;
	color: #d3def3;
	font-size: 16px;
}

.vc-mob__price {
	margin: 0 0 0.35rem;
	font-size: clamp(1.8rem, 6vw, 2.3rem);
	font-weight: 850;
	color: var(--vc-gold);
}

.vc-mob__price small {
	font-size: 1rem;
	font-weight: 700;
	color: #ffe9a8;
}

.vc-mob__act {
	margin: 0 0 0.85rem;
	font-size: 0.92rem;
	color: #b7c7e2;
}

.vc-mob__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	width: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffc532, #ff8a3d);
	color: #1a1200 !important;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(255, 138, 61, 0.35);
}

.vc-mob__cta:hover,
.vc-mob__cta:focus-visible {
	filter: brightness(1.06);
}

.vc-mob__note {
	margin: 0.65rem 0 0;
	font-size: 0.82rem;
	color: #9aadc9;
}

.vc-mob__empty {
	padding: 1rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.05);
	font-size: 16px;
}

.vc-mob__foot {
	width: min(52rem, calc(100% - 1.5rem));
	margin: 0 auto;
	padding: 1.5rem 0 max(2rem, env(safe-area-inset-bottom, 0px));
}

.vc-mob__share p {
	margin: 0 0 0.55rem;
	font-weight: 800;
}

.vc-mob__share-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.vc-mob__share-btn {
	min-height: 44px;
	min-width: 44px;
	padding: 0 1rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	cursor: pointer;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}

.vc-mob__share-ico {
	display: inline-flex;
	flex-shrink: 0;
}

.vc-mob__share-btn--native {
	background: linear-gradient(135deg, #ffc532, #ff8a3d);
	border-color: transparent;
	color: #1a1000;
}

.vc-mob__share-btn--wa {
	background: #128c7e;
	border-color: transparent;
}

.vc-mob__share-btn--fb {
	background: #1877f2;
	border-color: transparent;
}

.vc-mob__share-btn--ig {
	background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
	border-color: transparent;
}

.vc-mob__share-btn--tt {
	background: #111;
	border: 1px solid #25f4ee;
	box-shadow: 2px 0 0 #fe2c55, -2px 0 0 #25f4ee;
}

.vc-mob__share-btn--gold {
	background: linear-gradient(135deg, #ffc532, #ff8a3d);
	border-color: transparent;
	color: #1a1000;
}

.vc-mob__share-sheet {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1rem 1rem max(1.2rem, env(safe-area-inset-bottom, 0px));
	background: rgba(4, 10, 24, 0.72);
	backdrop-filter: blur(8px);
}

.vc-mob__share-sheet[hidden] {
	display: none;
}

.vc-mob__share-sheet-card {
	width: min(26rem, 100%);
	padding: 1.2rem 1.15rem 1.15rem;
	border-radius: 1.35rem 1.35rem 1.1rem;
	background: linear-gradient(180deg, #1a2a4d 0%, #0b1733 100%);
	border: 1px solid rgba(255, 197, 50, 0.35);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
	color: #f4f7ff;
}

.vc-mob__share-sheet-kicker {
	margin: 0 0 0.25rem;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 800;
	color: #ffc532;
}

.vc-mob__share-sheet-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
}

.vc-mob__share-sheet-card p {
	margin: 0 0 0.7rem;
	font-size: 16px;
	line-height: 1.45;
	color: #d5def0;
}

.vc-mob__share-sheet-card ol {
	margin: 0 0 1rem;
	padding-left: 1.15rem;
	font-size: 16px;
	line-height: 1.5;
	color: #f4f7ff;
}

.vc-mob__share-sheet-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.vc-mob-share-open {
	overflow: hidden;
}

@media (min-width: 720px) {
	.vc-mob__share-sheet {
		align-items: center;
	}

	.vc-mob__share-sheet-card {
		border-radius: 1.35rem;
	}
}

.vc-mob__legal {
	margin: 1.1rem 0 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #8ea0bd;
}

@media (min-width: 720px) {
	.vc-mob__hero {
		min-height: min(74dvh, 40rem);
		padding-left: 8vw;
		padding-bottom: 6.2rem;
	}

	.vc-mob__wizard {
		margin-top: -4.8rem;
	}

	.vc-mob__hero-fade {
		height: 10rem;
	}

	.vc-mob__choices:not(.vc-mob__choices--grid) {
		grid-template-columns: 1fr 1fr;
	}

	.vc-mob__choices--grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vc-mob__cards {
		grid-template-columns: 1fr 1fr;
	}

	.vc-mob__card--best {
		grid-column: 1 / -1;
	}
}
