/*!
 * ReviewTap, estilos de la portada.
 * Depende de los tokens declarados en app.css.
 */

/* ==================================================================== HERO */

.rt-hero {
	position: relative;
	/* Arriba pega mas al menu: sobraba aire entre la cabecera y el titular */
	padding-block: clamp(1.75rem, 3.5vw, 3rem) clamp(3.5rem, 7vw, 6rem);
	overflow: hidden;
}

.rt-hero__glow {
	position: absolute;
	top: -30%;
	right: -10%;
	width: min(900px, 90vw);
	aspect-ratio: 1;
	background: radial-gradient(circle at 50% 50%, var(--rt-gold-soft) 0%, transparent 62%);
	pointer-events: none;
}

.rt-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.12fr .88fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.rt-hero__pill { margin-bottom: 1.5rem; }

.rt-hero h1 { margin-bottom: 1.35rem; }

.rt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 2rem;
}

.rt-hero__micro {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.35rem;
	font-size: .92rem;
	color: var(--rt-muted);
}
.rt-hero__micro li { display: inline-flex; align-items: center; gap: .4rem; }
.rt-hero__micro .rt-icon { width: 1em; height: 1em; color: var(--rt-good); stroke-width: 2.4; }

.rt-hero__proof {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2.25rem;
	padding-top: 1.85rem;
	border-top: 1px solid var(--rt-line-soft);
}

.rt-hero__proofScore {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	flex: none;
	padding-right: 1rem;
	border-right: 1px solid var(--rt-line-soft);
}
.rt-hero__proofScore strong {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--rt-ink);
	line-height: 1;
}

.rt-hero__proof p {
	margin: 0;
	font-size: .92rem;
	line-height: 1.5;
	color: var(--rt-muted);
	max-width: 34ch;
}

@media (max-width: 960px) {
	/* En movil manda el titular: la demo se queda debajo, no encima. */
	.rt-hero__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------- la escena del hero */

/*
 * Stand detras y telefono delante, que es el orden real: el objeto esta en el
 * mostrador y el cliente lo acerca con el movil. Todo va en porcentajes sobre
 * .rt-stage, asi que la composicion se conserva al escalar en movil.
 */

.rt-hero__demo {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
	padding-block: 1rem;
}

.rt-stage {
	position: relative;
	width: min(505px, 92vw);
	aspect-ratio: 1 / 1.02;
	container-type: inline-size;
}

/* El stand, arriba a la derecha y ligeramente girado */
.rt-stage__stand {
	position: absolute;
	top: 4%;
	right: 0;
	width: 62%;
	transform: none;
	filter: drop-shadow(0 18px 24px hsl(24 8% 6% / .12));
}

/* Ondas NFC sobre la zona de "tap to review" del stand */
.rt-stage__pulse {
	position: absolute;
	top: 12%;
	right: 26%;
	width: 20%;
	aspect-ratio: 1;
	pointer-events: none;
}
.rt-stage__pulse span {
	position: absolute;
	inset: 0;
	border: 1.5px solid var(--rt-gold-deep);
	border-radius: 50%;
	opacity: 0;
	animation: rt-ping 2.6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.rt-stage__pulse span:nth-child(2) { animation-delay: .85s; }
.rt-stage__pulse span:nth-child(3) { animation-delay: 1.7s; }

@keyframes rt-ping {
	0%   { transform: scale(.3); opacity: 0; }
	22%  { opacity: .7; }
	100% { transform: scale(1); opacity: 0; }
}

/* El telefono: se mide contra si mismo, todo su interior en cqw */
/*
 * Proporciones de un iPhone real (1179x2556): el radio de esquina es el 14,1%
 * del ancho, el bisel el 2,5% y la isla dinamica el 32%. El telefono ocupa el
 * 37% de la escena, asi que sus propias medidas van en cqw de la escena
 * (x0,37); las de dentro, en cqw del propio telefono.
 */
.rt-phone {
	position: relative;
	width: 100%;
	aspect-ratio: 1179 / 2556;
	container-type: inline-size;
	border-radius: 5.22cqw;
	padding: 1.5cqw;
	/* Canto de titanio */
	background: linear-gradient(150deg, hsl(30 4% 36%), hsl(30 3% 16%) 14%, hsl(30 3% 11%) 60%, hsl(30 4% 26%) 96%);
	box-shadow:
		0 26px 52px -20px hsl(24 8% 6% / .42),
		0 2px 6px hsl(24 8% 6% / .16);
}

/* Botones laterales */
.rt-phone::before,
.rt-phone::after {
	content: "";
	position: absolute;
	width: 1.1cqw;
	border-radius: .6cqw;
	background: linear-gradient(180deg, hsl(30 4% 48%), hsl(30 3% 26%));
}
.rt-phone::before {            /* volumen: el box-shadow repite el segundo boton */
	left: -.7cqw;
	top: 58cqw;
	height: 17cqw;
	box-shadow: 0 21cqw 0 hsl(30 3% 34%);
}
.rt-phone::after {             /* encendido */
	right: -.7cqw;
	top: 66cqw;
	height: 25cqw;
}

.rt-phone__screen {
	position: relative;
	height: 100%;
	border-radius: 10.93cqw;
	background: var(--rt-bg);
	overflow: hidden;
}

/* Reflejo diagonal muy tenue, para que el cristal no parezca papel */
.rt-phone__screen::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 4;
	background: linear-gradient(118deg, hsl(0 0% 100% / .55) 0 20%, transparent 40%);
	opacity: .45;
}

/* Isla dinamica */
.rt-phone__notch {
	position: absolute;
	top: 3cqw; left: 50%;
	transform: translateX(-50%);
	width: 32cqw; height: 9.3cqw;
	background: hsl(24 9% 4%);
	border-radius: var(--rt-r-full);
	z-index: 5;
}
.rt-phone__notch::after {      /* la camara */
	content: "";
	position: absolute;
	right: 2cqw; top: 50%;
	transform: translateY(-50%);
	width: 5.2cqw; height: 5.2cqw;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, hsl(212 42% 26%), hsl(24 9% 3%) 68%);
}

/* Barra de gestos */
.rt-phone__screen::before {
	content: "";
	position: absolute;
	left: 50%; bottom: 2.2cqw;
	transform: translateX(-50%);
	width: 35cqw; height: 1.1cqw;
	border-radius: var(--rt-r-full);
	background: hsl(24 8% 6% / .28);
	z-index: 5;
}

.rt-frame {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4cqw;
	padding: 14cqw 8cqw 12cqw;
	text-align: center;
	opacity: 0;
	transform: scale(.985);
	transition: opacity .5s ease, transform .5s ease;
	pointer-events: none;
}
.rt-frame.is-on { opacity: 1; transform: none; }

.rt-frame__title {
	margin: 0;
	font-size: 8.4cqw;
	font-weight: 700;
	letter-spacing: -.025em;
	color: var(--rt-ink);
	line-height: 1.18;
}
.rt-frame__sub { margin: 0; font-size: 5.4cqw; color: var(--rt-muted); line-height: 1.4; }
.rt-frame__stars { font-size: 9cqw; margin-block: 1cqw; }

.rt-frame__ghostbtn {
	margin-top: 2cqw;
	padding: 4cqw 10cqw;
	border-radius: var(--rt-r-full);
	background: var(--rt-ink);
	color: #fff;
	font-size: 5.4cqw;
	font-weight: 600;
}

/* Ondas NFC dentro de la pantalla */
.rt-nfcwave {
	position: relative;
	width: 38cqw; height: 38cqw;
	display: grid;
	place-items: center;
	margin-bottom: 1cqw;
}
.rt-nfcwave span {
	position: absolute;
	inset: 0;
	border: 1.5px solid var(--rt-gold);
	border-radius: 50%;
	opacity: 0;
	animation: rt-ping 2.4s cubic-bezier(.2,.6,.3,1) infinite;
}
.rt-nfcwave span:nth-child(2) { animation-delay: .8s; }
.rt-nfcwave span:nth-child(3) { animation-delay: 1.6s; }
.rt-nfcwave__icon {
	width: 15cqw; height: 15cqw;
	color: var(--rt-ink);
	stroke-width: 1.5;
}

/* Tarjeta de resena publicada */
.rt-frame__google {
	display: inline-flex;
	align-items: center;
	gap: 2cqw;
	font-size: 4.4cqw;
	font-weight: 600;
	color: var(--rt-muted);
}
.rt-frame__googleIcon { width: 5.5cqw; height: 5.5cqw; stroke-width: 0; fill: var(--rt-muted); }

.rt-frame__card {
	width: 100%;
	padding: 5cqw;
	border: 1px solid var(--rt-line);
	border-radius: 5cqw;
	background: var(--rt-surface);
	text-align: left;
	box-shadow: var(--rt-sh-sm);
}
.rt-frame__card .rt-stars { font-size: 5cqw; }
.rt-frame__card p {
	margin: 2.5cqw 0 2cqw;
	font-size: 5cqw;
	line-height: 1.4;
	color: var(--rt-ink-2);
}
.rt-frame__card span { font-size: 4.2cqw; color: var(--rt-faint); }

.rt-frame__ok {
	display: inline-flex;
	align-items: center;
	gap: 2cqw;
	margin: 0;
	padding: 2.6cqw 5cqw;
	border-radius: var(--rt-r-full);
	background: var(--rt-good-soft);
	color: var(--rt-good);
	font-size: 4.6cqw;
	font-weight: 600;
}
.rt-frame__ok .rt-icon { width: 4.6cqw; height: 4.6cqw; stroke-width: 2.6; }

/*
 * Vida dentro de cada pantalla. Las animaciones cuelgan de .is-on, que el JS
 * quita y vuelve a poner en cada vuelta, asi que se repiten solas en el bucle.
 */
.rt-frame.is-on .rt-frame__title,
.rt-frame.is-on .rt-frame__sub { animation: rt-rise .45s cubic-bezier(.2,1,.3,1) backwards; }
.rt-frame.is-on .rt-frame__sub { animation-delay: .08s; }

.rt-frame.is-on .rt-frame__stars .rt-stars__s {
	animation: rt-star .34s cubic-bezier(.2,1.5,.4,1) backwards;
}
.rt-frame.is-on .rt-frame__stars .rt-stars__s:nth-child(1) { animation-delay: .10s; }
.rt-frame.is-on .rt-frame__stars .rt-stars__s:nth-child(2) { animation-delay: .20s; }
.rt-frame.is-on .rt-frame__stars .rt-stars__s:nth-child(3) { animation-delay: .30s; }
.rt-frame.is-on .rt-frame__stars .rt-stars__s:nth-child(4) { animation-delay: .40s; }
.rt-frame.is-on .rt-frame__stars .rt-stars__s:nth-child(5) { animation-delay: .50s; }

.rt-frame.is-on .rt-frame__ghostbtn { animation: rt-rise .4s .62s cubic-bezier(.2,1,.3,1) backwards; }
.rt-frame.is-on .rt-frame__card { animation: rt-rise .5s .1s cubic-bezier(.2,1,.3,1) backwards; }
.rt-frame.is-on .rt-frame__ok { animation: rt-pop .4s .5s cubic-bezier(.2,1.5,.4,1) backwards; }

@keyframes rt-rise {
	from { opacity: 0; transform: translateY(14%); }
}
@keyframes rt-star {
	from { opacity: 0; transform: scale(.3) rotate(-25deg); }
}
@keyframes rt-pop {
	from { opacity: 0; transform: scale(.8); }
}

@media (prefers-reduced-motion: reduce) {
	.rt-frame.is-on * { animation: none !important; }
}

/* Puntos de navegacion del demo */
.rt-demo__dots { display: flex; gap: .4rem; }
.rt-demo__dot {
	position: relative;
	overflow: hidden;
	padding: .35rem .9rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	background: var(--rt-bg);
	font-size: .78rem;
	font-weight: 600;
	color: var(--rt-muted);
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.rt-demo__dot span { position: relative; z-index: 1; }

.rt-demo__dot.is-on {
	background: var(--rt-ink);
	border-color: var(--rt-ink);
	color: #fff;
}
/* La duracion tiene que coincidir con el intervalo del JS (2600 ms) */
.rt-demo__dot.is-on::after {
	content: "";
	position: absolute;
	inset: 0;
	background: hsl(0 0% 100% / .22);
	transform-origin: left center;
	animation: rt-dotfill 2600ms linear;
}
@keyframes rt-dotfill {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
	.rt-demo__dot.is-on::after { display: none; }
}


/* El telefono, delante y abajo a la izquierda, dentro de la escena */
.rt-stage .rt-phone {
	position: absolute;
	left: 1%;
	bottom: 3%;
	width: 37%;
	z-index: 2;
	transform: rotate(-1.5deg);
	filter: drop-shadow(0 22px 28px hsl(24 8% 6% / .26));
}

/* Insignias flotantes */
.rt-hero__badge {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: .55rem;
	padding: .7rem .95rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r);
	background: var(--rt-bg);
	box-shadow: var(--rt-sh-lg);
	font-size: .82rem;
	font-weight: 550;
	color: var(--rt-ink-2);
	white-space: nowrap;
}
.rt-hero__badge .rt-icon { width: 1.1em; height: 1.1em; color: var(--rt-gold-deep); }

.rt-hero__badgeNum {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--rt-ink);
	line-height: 1;
}

.rt-hero__badge--a { top: 1%; left: -1.75rem; animation: rt-float 6s ease-in-out infinite; }
.rt-hero__badge--b { bottom: 12%; right: -1.75rem; animation: rt-float 6s ease-in-out .8s infinite; }

@keyframes rt-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}

@media (max-width: 620px) {
	.rt-hero__badge { font-size: .72rem; padding: .5rem .7rem; }
	.rt-hero__badge--a { top: 0; left: -.35rem; }
	.rt-hero__badge--b { bottom: 10%; right: -.35rem; }
	.rt-hero__badgeNum { font-size: 1.05rem; }
	.rt-stage__pulse { top: 12%; right: 17%; }
}

/* ================================================================ CLIENTES */

.rt-clients { padding-block: 0 clamp(2rem, 4vw, 3rem); }

.rt-clients__label {
	margin: 0 0 1.15rem;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rt-faint);
	text-align: center;
}

.rt-marquee {
	display: flex;
	gap: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.rt-marquee__track {
	display: flex;
	flex: none;
	align-items: center;
	gap: clamp(1.75rem, 4vw, 3.25rem);
	list-style: none;
	margin: 0;
	padding: 0 clamp(.875rem, 2vw, 1.6rem);
	animation: rt-marquee 38s linear infinite;
}
.rt-marquee__track li {
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	font-weight: 650;
	letter-spacing: -.02em;
	color: var(--rt-faint);
	white-space: nowrap;
}
@keyframes rt-marquee {
	to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
	.rt-marquee__track { animation: none; }
	.rt-marquee { flex-wrap: wrap; justify-content: center; }
}

/* ============================================================== COMPARATIVA */

.rt-compare {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 760px) {
	.rt-compare { grid-template-columns: minmax(0, 1fr); }
}

/*
 * Las dos columnas se leen de un vistazo por el color: la de la izquierda es
 * el problema, en rojo; la de la derecha es la solucion, en verde.
 */
.rt-compare__col {
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-lg);
	background: var(--rt-bg);
}

.rt-compare__col h3 {
	display: flex;
	align-items: center;
	gap: .65rem;
	margin-bottom: 1.35rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--rt-line-soft);
	font-size: 1.05rem;
}

.rt-compare__mark {
	display: grid;
	place-items: center;
	width: 1.85rem; height: 1.85rem;
	flex: none;
	border-radius: 50%;
}
.rt-compare__mark .rt-icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.8; }

.rt-compare__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .95rem;
	flex: 1;
}
.rt-compare__col li {
	position: relative;
	padding-left: 1.6rem;
	font-size: .985rem;
	line-height: 1.55;
	color: var(--rt-ink-2);
}
.rt-compare__col li::before {
	content: "";
	position: absolute;
	left: 0; top: .58em;
	width: .55rem; height: .55rem;
	border-radius: 50%;
}

.rt-compare__foot {
	margin: 1.5rem 0 0;
	padding-top: 1.1rem;
	border-top: 1px solid var(--rt-line-soft);
	font-size: .9rem;
	font-weight: 650;
	letter-spacing: -.01em;
}

/* Sin ReviewTap, en rojo */
.rt-compare__col--bad {
	border-color: var(--rt-bad-line);
	background: linear-gradient(180deg, var(--rt-bad-soft), var(--rt-bg) 42%);
}
.rt-compare__col--bad h3 { color: var(--rt-bad); }
.rt-compare__col--bad .rt-compare__mark { background: var(--rt-bad); color: #fff; }
.rt-compare__col--bad li::before { background: var(--rt-bad); opacity: .55; }
.rt-compare__col--bad .rt-compare__foot { color: var(--rt-bad); }

/* Con ReviewTap, en verde y con algo mas de peso: es la conclusion */
.rt-compare__col--good {
	border-color: var(--rt-good-line);
	background: linear-gradient(180deg, var(--rt-good-soft), var(--rt-bg) 42%);
	box-shadow: 0 18px 40px -24px hsl(152 52% 22% / .45);
}
.rt-compare__col--good h3 { color: var(--rt-good); }
.rt-compare__col--good .rt-compare__mark { background: var(--rt-good); color: #fff; }
.rt-compare__col--good li::before { background: var(--rt-good); }
.rt-compare__col--good .rt-compare__foot { color: var(--rt-good); }

/* =================================================================== PASOS */

.rt-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.25rem);
}

/* Variante en fila: los tres pasos en paralelo, con el numero encima */
.rt-steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .rt-steps--row { grid-template-columns: minmax(0, 1fr); } }

.rt-steps__item {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.15rem;
}

/* La linea que une los pasos, salvo tras el ultimo */
.rt-steps__item::before {
	content: "";
	position: absolute;
	left: 1.1rem;
	top: 2.6rem;
	bottom: calc(clamp(1.5rem, 3vw, 2.25rem) * -1);
	width: 2px;
	background: linear-gradient(180deg, var(--rt-line), transparent);
}
/*
 * Solo en la variante vertical: ahi el ::before es la linea que une los pasos y
 * sobra tras el ultimo. En la variante en fila el mismo ::before es el numero
 * grande de fondo, y esta regla lo estaba borrando de la tercera tarjeta.
 */
.rt-steps:not(.rt-steps--row) .rt-steps__item:last-child::before { display: none; }

.rt-steps--row .rt-steps__item {
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	padding: clamp(1.5rem, 2.8vw, 2.1rem);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-lg);
	background: var(--rt-bg);
	overflow: hidden;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rt-steps--row .rt-steps__item:hover {
	border-color: var(--rt-ink);
	transform: translateY(-3px);
	box-shadow: var(--rt-sh-lg);
}
/* El numero, en grande y desvaido, hace de marca de agua */
.rt-steps--row .rt-steps__item::before {
	content: attr(data-rt-step);
	position: absolute;
	top: -.7rem;
	right: .5rem;
	left: auto;
	bottom: auto;
	width: auto;
	height: auto;
	font-size: 8.5rem;
	font-weight: 800;
	letter-spacing: -.07em;
	line-height: .8;
	color: color-mix(in srgb, var(--rt-gold) 55%, #fff);
	background: none;
	pointer-events: none;
}
/* Filo dorado arriba, que aparece al pasar por encima */
.rt-steps--row .rt-steps__item::after {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--rt-gold), var(--rt-gold-deep));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s cubic-bezier(.2,1,.3,1);
}
.rt-steps--row .rt-steps__item:hover::after { transform: scaleX(1); }
.rt-steps--row .rt-steps__num { position: relative; z-index: 1; }
.rt-steps--row .rt-steps__item > div { position: relative; z-index: 1; }

.rt-steps__num {
	display: grid;
	place-items: center;
	width: 2.2rem; height: 2.2rem;
	border: 1px solid var(--rt-gold-line);
	border-radius: 50%;
	background: var(--rt-gold-soft);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--rt-gold-deep);
}

.rt-steps__item h3 { margin-bottom: .5rem; padding-top: .2rem; }
.rt-steps__item p { color: var(--rt-muted); font-size: .985rem; }

.rt-steps__meta {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin-top: .8rem;
	font-size: .85rem;
	color: var(--rt-faint);
}
.rt-steps__meta .rt-icon { width: 1em; height: 1em; }

/* ================================================================= ROUTING */

/* ---------------------------------------------- el enfrentamiento directo -- */

.rt-versus {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: stretch;
}
@media (max-width: 880px) {
	.rt-versus { grid-template-columns: minmax(0, 1fr); }
}

.rt-versus__col {
	display: flex;
	flex-direction: column;
	padding: clamp(1.35rem, 2.6vw, 2rem);
	border: 1px solid var(--rt-dark-line);
	border-radius: var(--rt-r-xl);
	background: hsl(0 0% 100% / .02);
}

/* La columna del competidor va apagada; la nuestra, encendida */
.rt-versus__col--ours {
	border-color: hsl(41 60% 42%);
	background:
		radial-gradient(120% 90% at 50% 0%, hsl(41 89% 63% / .09), transparent 60%),
		hsl(0 0% 100% / .03);
	box-shadow: 0 30px 60px -30px hsl(41 89% 50% / .35);
}

.rt-versus__head {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1.35rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--rt-dark-line);
}
.rt-versus__head > div > strong { display: block; font-size: 1.05rem; color: var(--rt-dark-fg); letter-spacing: -.015em; }
.rt-versus__head > div > span { display: block; font-size: .85rem; color: var(--rt-dark-muted); }

.rt-versus__mark {
	display: grid;
	place-items: center;
	width: 1.9rem; height: 1.9rem;
	flex: none;
	border-radius: 50%;
}
.rt-versus__mark .rt-icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.8; }
.rt-versus__col--ours .rt-versus__mark { background: var(--rt-gold); color: var(--rt-ink); }

.rt-versus__foot {
	margin: 1.35rem 0 0;
	padding-top: 1.1rem;
	border-top: 1px solid var(--rt-dark-line);
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: -.01em;
}
.rt-versus__foot--bad { color: hsl(4 84% 74%); }
.rt-versus__foot--good { color: hsl(152 55% 66%); }

/* El recorrido plano del competidor: sin bifurcacion, todo acaba igual */


/* Las dos notas entrando por el mismo sitio, la mala incluida */

.rt-routing__cta { margin-top: clamp(1.75rem, 4vw, 2.5rem); text-align: center; }

.rt-routing__points {
	list-style: none;
	margin: 2rem 0;
	padding: 0;
	display: grid;
	gap: 1.1rem;
}
.rt-routing__points li { display: flex; gap: .85rem; font-size: .985rem; line-height: 1.55; }
.rt-routing__points .rt-icon {
	width: 1.35rem; height: 1.35rem;
	flex: none;
	margin-top: .15em;
	color: var(--rt-gold);
}

/* Diagrama ----------------------------------------------------------------
 *
 * En vertical ocupaba mas de una pantalla y habia que hacer scroll para
 * entenderlo. En fila se lee de izquierda a derecha de un vistazo, y solo
 * vuelve a apilarse cuando la pantalla ya no da de si.
 */

.rt-flow {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1.15fr;
	align-items: center;
	gap: clamp(.5rem, 1.4vw, 1rem);
	width: 100%;
	flex: 1;
	--rt-cycle: 5.2s;
}

.rt-flow__node {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
	padding: 1.15rem 1rem;
	border: 1px solid var(--rt-dark-line);
	border-radius: var(--rt-r);
	background: hsl(0 0% 100% / .04);
	text-align: center;
}
.rt-flow__node .rt-icon { width: 1.35rem; height: 1.35rem; flex: none; color: var(--rt-dark-fg); }
/* Hijos directos del bloque de texto: si no, alcanza a cada <span> de estrella
   y las apila en vertical. */
.rt-flow__node > div > strong { display: block; color: var(--rt-dark-fg); font-size: .92rem; letter-spacing: -.01em; }
.rt-flow__node > div > span { display: block; font-size: .8rem; line-height: 1.35; color: var(--rt-dark-muted); }
.rt-flow__node .rt-stars { flex: none; font-size: .85rem; }
.rt-flow__node .rt-stars__s svg { fill: hsl(24 7% 26%); }
.rt-flow__node .rt-stars__s.is-on svg { fill: var(--rt-gold); }

.rt-flow__node--accent { border-color: hsl(41 60% 40%); background: hsl(41 60% 50% / .09); }
.rt-flow__node--good { border-color: hsl(152 40% 32%); background: hsl(152 45% 40% / .1); }
.rt-flow__node--good .rt-icon { fill: hsl(152 45% 62%); stroke: none; }

.rt-flow__node--bad {
	border-color: hsl(4 52% 38%);
	background: hsl(4 72% 50% / .12);
}
.rt-flow__node--bad .rt-icon { color: hsl(4 82% 68%); }
.rt-flow__node--bad > div > strong { color: hsl(4 84% 74%); }
.rt-flow__node--bad > div > span { color: hsl(6 40% 78%); }

/* Las flechas entre pasos */
.rt-flow__arrow {
	position: relative;
	width: 1.35rem;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--rt-dark-line), hsl(41 60% 45%));
}
.rt-flow__arrow::after {
	content: "";
	position: absolute;
	right: -1px; top: 50%;
	width: .42rem; height: .42rem;
	border-top: 2px solid hsl(41 60% 45%);
	border-right: 2px solid hsl(41 60% 45%);
	transform: translateY(-50%) rotate(45deg);
}
/* La que se bifurca lleva dos puntas, una hacia cada rama */
.rt-flow__arrow--fork::before {
	content: "";
	position: absolute;
	right: 0; top: 50%;
	width: 2px; height: 3.2rem;
	background: linear-gradient(180deg, hsl(152 40% 40%), hsl(4 52% 44%));
	transform: translateY(-50%);
	border-radius: 2px;
}

.rt-flow__branches { display: grid; gap: .55rem; }
.rt-flow__branches .rt-flow__node { flex: 1; }
.rt-flow__branch { display: grid; gap: .35rem; justify-items: center; }

.rt-flow__tag {
	padding: .18rem .6rem;
	border-radius: var(--rt-r-full);
	font-size: .7rem;
	font-weight: 650;
	letter-spacing: .02em;
}
.rt-flow__branch--good .rt-flow__tag { background: hsl(152 45% 40% / .18); color: hsl(152 50% 68%); }
.rt-flow__branch--bad .rt-flow__tag { background: hsl(4 72% 50% / .2); color: hsl(4 84% 74%); }

/* Cuando ya no cabe en fila, se apila y las flechas giran */
@media (max-width: 760px) {
	.rt-flow--row {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: .5rem;
	}
	.rt-flow__node { width: 100%; }
	.rt-flow__arrow { width: 2px; height: 1.25rem; background: linear-gradient(180deg, var(--rt-dark-line), hsl(41 60% 45%)); }
	.rt-flow__arrow::after { right: 50%; top: auto; bottom: -1px; transform: translateX(50%) rotate(135deg); }
	.rt-flow__arrow--fork::before { display: none; }
	.rt-flow__branches { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
	.rt-flow__branches { grid-template-columns: minmax(0, 1fr); }
}

/* La secuencia se repite sola cuando la seccion esta a la vista */
.rt-flow.is-in > .rt-flow__node:first-of-type { animation: rt-node-lit var(--rt-cycle) linear infinite; }
.rt-flow.is-in .rt-flow__node--accent { animation: rt-node-lit var(--rt-cycle) linear 1s infinite; }
.rt-flow.is-in .rt-flow__node--good { animation: rt-node-good var(--rt-cycle) linear 2.1s infinite; }
.rt-flow.is-in .rt-flow__node--bad { animation: rt-node-bad var(--rt-cycle) linear 2.9s infinite; }
.rt-flow.is-in .rt-flow__arrow { animation: rt-arrow var(--rt-cycle) linear infinite; }
.rt-flow.is-in .rt-flow__arrow--fork { animation-delay: 1s; }

@keyframes rt-node-lit {
	0%, 100% { box-shadow: 0 0 0 0 hsl(41 89% 63% / 0); }
	4%       { box-shadow: 0 0 0 5px hsl(41 89% 63% / .16); }
	15%      { box-shadow: 0 0 0 0 hsl(41 89% 63% / 0); }
}
@keyframes rt-node-good {
	0%, 100% { box-shadow: 0 0 0 0 hsl(152 60% 50% / 0); }
	4%       { box-shadow: 0 0 0 5px hsl(152 60% 50% / .22); }
	15%      { box-shadow: 0 0 0 0 hsl(152 60% 50% / 0); }
}
@keyframes rt-node-bad {
	0%, 100% { box-shadow: 0 0 0 0 hsl(4 75% 55% / 0); }
	4%       { box-shadow: 0 0 0 5px hsl(4 75% 55% / .22); }
	15%      { box-shadow: 0 0 0 0 hsl(4 75% 55% / 0); }
}
@keyframes rt-arrow {
	0%, 100% { opacity: .45; }
	8%       { opacity: 1; }
	22%      { opacity: .45; }
}

.rt-flow.is-in .rt-flow__node--accent .rt-stars__s {
	animation: rt-twinkle var(--rt-cycle) linear infinite;
}
.rt-flow.is-in .rt-flow__node--accent .rt-stars__s:nth-child(1) { animation-delay: 1.05s; }
.rt-flow.is-in .rt-flow__node--accent .rt-stars__s:nth-child(2) { animation-delay: 1.13s; }
.rt-flow.is-in .rt-flow__node--accent .rt-stars__s:nth-child(3) { animation-delay: 1.21s; }
.rt-flow.is-in .rt-flow__node--accent .rt-stars__s:nth-child(4) { animation-delay: 1.29s; }
.rt-flow.is-in .rt-flow__node--accent .rt-stars__s:nth-child(5) { animation-delay: 1.37s; }

@keyframes rt-twinkle {
	0%, 100% { transform: none; }
	3%       { transform: scale(1.45); }
	9%       { transform: none; }
}

.rt-flow.is-in .rt-flow__branch--good .rt-flow__tag { animation: rt-tag var(--rt-cycle) linear 1.95s infinite; }
.rt-flow.is-in .rt-flow__branch--bad .rt-flow__tag { animation: rt-tag var(--rt-cycle) linear 2.75s infinite; }

@keyframes rt-tag {
	0%, 100% { transform: none; }
	4%       { transform: translateY(-3px); }
	13%      { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.rt-flow.is-in * { animation: none !important; }
}

/* ============================================================== RESULTADOS */

.rt-results__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	margin-bottom: 1.75rem;
}
@media (max-width: 940px) { .rt-results__grid { grid-template-columns: minmax(0, 1fr); max-width: 26rem; margin-inline: auto; } }

.rt-result {
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 2.8vw, 2rem);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-lg);
	background: var(--rt-bg);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.rt-result:hover { border-color: var(--rt-ink); box-shadow: var(--rt-sh); }

.rt-result__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-bottom: 1.15rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--rt-line-soft);
}
.rt-result__label { font-size: .9rem; font-weight: 650; color: var(--rt-ink); letter-spacing: -.01em; }
.rt-result__who {
	padding: .2rem .6rem;
	border-radius: var(--rt-r-full);
	background: var(--rt-surface-2);
	font-size: .72rem;
	font-weight: 600;
	color: var(--rt-muted);
	white-space: nowrap;
}

.rt-result__figure {
	display: flex;
	align-items: baseline;
	gap: .05rem;
	margin: 0 0 .9rem;
	font-size: clamp(3rem, 5.5vw, 4rem);
	font-weight: 800;
	letter-spacing: -.05em;
	line-height: .95;
	color: var(--rt-ink);
}
.rt-result__suffix { font-size: .55em; font-weight: 700; color: var(--rt-gold-deep); }

/* Los graficos viven en su propio recuadro, para que se lean como dato y no
   como decoracion suelta */
.rt-result__viz {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: .9rem;
	padding: clamp(.9rem, 2vw, 1.2rem);
	border: 1px solid var(--rt-line-soft);
	border-radius: var(--rt-r);
	background: var(--rt-surface);
}

.rt-result__legend {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	margin: 0;
	font-size: .8rem;
	color: var(--rt-faint);
}
.rt-result__was { text-decoration: line-through; text-decoration-color: var(--rt-bad); text-decoration-thickness: 1.5px; }

.rt-result__note {
	margin: 1.35rem 0 0;
	margin-top: auto;
	padding-top: 1.1rem;
	border-top: 1px solid var(--rt-line-soft);
	font-size: .9rem;
	color: var(--rt-muted);
}

/* -------------------------------------------- estrellas con relleno parcial */


.rt-result__stars { font-size: 1.7rem; }

/* ------------------------------------------------ el salto, tarjeta 1 */

.rt-lift {
	position: relative;
	height: 2.6rem;
	margin-top: .2rem;
}
.rt-lift__track {
	position: absolute;
	inset: auto 0 1rem;
	height: 12px;
	border-radius: var(--rt-r-full);
	background: var(--rt-surface-2);
}
/* El relleno actual, de cero a la nota de hoy */
.rt-lift__gain {
	position: absolute;
	left: 0;
	right: calc(100% - var(--rt-to));
	bottom: 1rem;
	height: 12px;
	border-radius: var(--rt-r-full);
	background: linear-gradient(90deg, var(--rt-gold), var(--rt-gold-deep));
	box-shadow: 0 0 0 3px var(--rt-gold-soft);
}
/* La marca de donde venia */
.rt-lift__was {
	position: absolute;
	left: var(--rt-from);
	bottom: 0;
	transform: translateX(-50%);
	font-size: .7rem;
	font-weight: 700;
	color: var(--rt-bad);
}
.rt-lift__was::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 1.15rem;
	width: 2px; height: .6rem;
	background: var(--rt-bad);
	transform: translateX(-50%);
	border-radius: 2px;
}

/* --------------------------------------------- la rejilla, tarjeta 2 */

.rt-dots {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: .45rem;
	align-content: center;
	/* Ancho explicito, no max-width + margin auto: el margen automatico anula
	   el estirado del item flex y la rejilla se quedaba en cero. */
	width: min(13rem, 100%);
	margin-inline: auto;
}
.rt-dots span {
	aspect-ratio: 1;
	border-radius: 2px;
	background: var(--rt-gold);
	opacity: 0;
	transform: scale(.4);
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.is-in .rt-dots span {
	animation: rt-pop .32s cubic-bezier(.2, 1.4, .4, 1) forwards;
	animation-delay: var(--rt-d);
}
@keyframes rt-pop {
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rt-dots span { opacity: 1; transform: none; animation: none; }
}

/* --------------------------------------------- el reparto, tarjeta 3 */

.rt-spread { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.rt-spread li { display: flex; align-items: center; gap: .55rem; }
.rt-spread li.is-private .rt-spread__bar i { background: var(--rt-bad); opacity: .7; }
.rt-spread__flag {
	display: grid;
	place-items: center;
	width: 1.1rem; height: 1.1rem;
	flex: none;
	color: var(--rt-bad);
}
.rt-spread__flag .rt-icon { width: .85rem; height: .85rem; }
.rt-result__private { color: var(--rt-bad); font-weight: 600; }
.rt-spread__n { font-size: .75rem; font-weight: 600; color: var(--rt-faint); width: .7rem; }
.rt-spread__bar {
	flex: 1;
	height: 10px;
	border-radius: var(--rt-r-full);
	background: var(--rt-surface-2);
	overflow: hidden;
}
.rt-spread__bar i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: var(--rt-r-full);
	background: var(--rt-gold);
	transition: width .9s cubic-bezier(.16, 1, .3, 1) .15s;
}
.is-in .rt-spread__bar i { width: var(--rt-w); }
@media (prefers-reduced-motion: reduce) {
	.rt-spread__bar i { width: var(--rt-w); transition: none; }
}

.rt-results__note {
	max-width: 58ch;
	margin-inline: auto;
	text-align: center;
	font-size: .9rem;
	color: var(--rt-faint);
}

/* ============================================================= TESTIMONIOS */

.rt-testimonials__head {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2.5rem;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.rt-testimonials__head h2 { margin-bottom: 0; }
.rt-testimonials__score { text-align: right; }

/* Variante centrada: titulo y nota en el mismo eje */
.rt-testimonials__head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.rt-testimonials__head--center .rt-eyebrow { justify-content: center; }
.rt-testimonials__head--center .rt-testimonials__score { text-align: center; }
.rt-testimonials__head--center .rt-testimonials__score .rt-stars { justify-content: center; }
.rt-testimonials__head--center .rt-testimonials__score p { margin-inline: auto; }
.rt-testimonials__score p { margin: .35rem 0 0; font-size: .9rem; color: var(--rt-muted); max-width: 26ch; }
.rt-testimonials__score strong { color: var(--rt-ink); }
@media (max-width: 700px) {
	.rt-testimonials__score { text-align: left; }
}

.rt-quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: start;
}
@media (max-width: 980px) { .rt-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rt-quotes { grid-template-columns: minmax(0, 1fr); } }

.rt-quote {
	margin: 0;
	padding: clamp(1.35rem, 2.4vw, 1.85rem);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-lg);
	background: var(--rt-bg);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.rt-quote:hover { border-color: var(--rt-ink); box-shadow: var(--rt-sh); }

.rt-quote blockquote {
	margin: .85rem 0 1.25rem;
	font-size: 1.02rem;
	line-height: 1.55;
	letter-spacing: -.012em;
	color: var(--rt-ink);
}
.rt-quote blockquote::before { content: "\201C"; }
.rt-quote blockquote::after { content: "\201D"; }

.rt-quote figcaption { display: flex; align-items: center; gap: .75rem; }
.rt-quote figcaption img {
	width: 42px; height: 42px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
	background: var(--rt-surface-2);
}
.rt-quote figcaption strong { display: block; font-size: .93rem; color: var(--rt-ink); }
.rt-quote figcaption em { display: block; font-style: normal; font-size: .85rem; color: var(--rt-faint); }

/* La cita destacada: a todo el ancho y con mas cuerpo */
.rt-quote--lead {
	margin-bottom: clamp(1rem, 2vw, 1.5rem);
	padding: clamp(1.85rem, 4vw, 3rem);
	border-color: var(--rt-ink);
	background: linear-gradient(180deg, var(--rt-bg), var(--rt-gold-soft) 320%);
	box-shadow: var(--rt-sh-lg);
}
.rt-quote--lead blockquote {
	margin: 1.1rem 0 1.75rem;
	font-size: clamp(1.35rem, 2.6vw, 1.95rem);
	line-height: 1.32;
	letter-spacing: -.028em;
	font-weight: 600;
	max-width: 28ch;
}
.rt-quote--lead figcaption img { width: 52px; height: 52px; }
.rt-quote--lead figcaption strong { font-size: 1.02rem; }

/* ============================================================== FEATURES */

.rt-features { margin-bottom: clamp(2rem, 4vw, 3rem); }

.rt-feature {
	padding: clamp(1.35rem, 2.4vw, 1.85rem);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-lg);
	background: var(--rt-bg);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rt-feature:hover {
	border-color: var(--rt-ink);
	transform: translateY(-2px);
	box-shadow: var(--rt-sh);
}

.rt-feature__icon {
	display: inline-grid;
	place-items: center;
	width: 2.75rem; height: 2.75rem;
	margin-bottom: 1.1rem;
	border-radius: var(--rt-r);
	background: var(--rt-gold-soft);
	color: var(--rt-ink);
}
.rt-feature__icon .rt-icon { width: 1.35rem; height: 1.35rem; }
.rt-feature h3 { margin-bottom: .5rem; font-size: 1.08rem; }
.rt-feature p { color: var(--rt-muted); font-size: .95rem; }

.rt-sectors {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1rem;
	padding: 1.35rem clamp(1.25rem, 2.4vw, 1.85rem);
	border: 1px dashed var(--rt-line);
	border-radius: var(--rt-r-lg);
	background: var(--rt-surface);
}
.rt-sectors__label {
	margin: 0;
	font-size: .78rem;
	font-weight: 650;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--rt-faint);
}
.rt-sectors ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.rt-sectors li {
	padding: .35rem .85rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	background: var(--rt-bg);
	font-size: .875rem;
	font-weight: 550;
	color: var(--rt-ink-2);
}

/* ================================================================= PRECIOS */

.rt-price {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: stretch;
	gap: clamp(1rem, 2.5vw, 2rem);
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
@media (max-width: 880px) {
	.rt-price { grid-template-columns: minmax(0, 1fr); }
}

.rt-price__plus {
	align-self: center;
	display: grid;
	place-items: center;
	width: 2.6rem; height: 2.6rem;
	border: 1px solid var(--rt-line);
	border-radius: 50%;
	background: var(--rt-bg);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--rt-muted);
	line-height: 1;
}

.rt-price__card {
	display: flex;
	flex-direction: column;
	padding: clamp(1.6rem, 3vw, 2.4rem);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-lg);
	background: var(--rt-bg);
}
.rt-price__card--featured {
	border-color: var(--rt-ink);
	box-shadow: var(--rt-sh-lg);
}

.rt-price__label {
	align-self: flex-start;
	padding: .28rem .8rem;
	margin-bottom: 1.15rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rt-muted);
}
.rt-price__label--gold {
	background: var(--rt-gold);
	border-color: var(--rt-gold);
	color: var(--rt-ink);
}

.rt-price__card h3 { margin-bottom: .9rem; font-size: 1.15rem; }

.rt-price__figure {
	margin: 0;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .1rem .6rem;
	font-size: clamp(2.6rem, 5vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1;
	color: var(--rt-ink);
}
.rt-price__cur { font-size: .48em; vertical-align: .55em; font-weight: 700; }
.rt-price__unit {
	font-size: .26em;
	font-weight: 600;
	letter-spacing: -.005em;
	color: var(--rt-muted);
}

.rt-price__pitch {
	margin: 1.2rem 0 1.4rem;
	padding-bottom: 1.4rem;
	border-bottom: 1px solid var(--rt-line-soft);
	font-size: .975rem;
	color: var(--rt-muted);
}

.rt-price__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .7rem;
	flex: 1;
}
.rt-price__list li {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	font-size: .95rem;
	color: var(--rt-ink-2);
}
.rt-price__list .rt-icon {
	width: 1.1rem; height: 1.1rem;
	flex: none;
	margin-top: .22em;
	color: var(--rt-good);
	stroke-width: 2.6;
}


/* ================================================================= HARDWARE */

.rt-hardware {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 860px) {
	.rt-hardware { grid-template-columns: minmax(0, 1fr); }
}

.rt-hw {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-xl);
	background: var(--rt-bg);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.rt-hw:hover { border-color: var(--rt-ink); box-shadow: var(--rt-sh-lg); }

.rt-hw__media {
	display: grid;
	place-items: center;
	padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
	background:
		radial-gradient(90% 70% at 50% 18%, var(--rt-gold-soft) 0%, transparent 64%),
		linear-gradient(180deg, var(--rt-surface), var(--rt-surface-2));
	border-bottom: 1px solid var(--rt-line);
	min-height: 320px;
}
.rt-hw__media img { max-height: 320px; width: auto; filter: drop-shadow(0 18px 26px hsl(24 8% 6% / .16)); }

.rt-hw__body { padding: clamp(1.5rem, 3vw, 2.1rem); }

.rt-hw__label {
	display: inline-block;
	margin-bottom: .85rem;
	padding: .25rem .75rem;
	border-radius: var(--rt-r-full);
	background: var(--rt-ink);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.rt-hw__body h3 { margin-bottom: .6rem; }
.rt-hw__body p { color: var(--rt-muted); font-size: .985rem; }

.rt-hw__meta {
	list-style: none;
	margin: 1.35rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--rt-line-soft);
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
}
.rt-hw__meta li {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .875rem;
	color: var(--rt-ink-2);
}
.rt-hw__meta .rt-icon { width: .95em; height: .95em; color: var(--rt-good); stroke-width: 2.6; }

/* ================================================================ CONTACTO */

.rt-contact__inner {
	display: grid;
	grid-template-columns: 1fr .9fr;
	gap: clamp(2.25rem, 5vw, 4rem);
	align-items: start;
}
@media (max-width: 940px) {
	.rt-contact__inner { grid-template-columns: minmax(0, 1fr); }
}

.rt-contact__direct {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--rt-line-soft);
}
.rt-contact__direct a {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .5rem .95rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	font-size: .9rem;
	font-weight: 550;
	text-decoration: none;
	color: var(--rt-ink-2);
	transition: border-color .16s ease, background-color .16s ease;
}
.rt-contact__direct a:hover { border-color: var(--rt-ink); background: var(--rt-surface); }
.rt-contact__direct .rt-icon { width: 1em; height: 1em; }

.rt-contact__form {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-xl);
	background: var(--rt-surface);
	box-shadow: var(--rt-sh);
}
.rt-contact__legal {
	margin: 1.15rem 0 0;
	font-size: .8rem;
	color: var(--rt-faint);
	text-align: center;
}
.rt-contact__legal a { color: var(--rt-muted); }

/* ===================================================================== FAQ */

.rt-faq__inner {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
@media (max-width: 900px) {
	.rt-faq__inner { grid-template-columns: minmax(0, 1fr); }
}

.rt-faq__aside h2 { margin-bottom: 1rem; }
.rt-faq__aside .rt-lede { margin-bottom: 1.75rem; font-size: 1rem; }

.rt-faq { display: grid; gap: .6rem; }

.rt-faq__item {
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r);
	background: var(--rt-bg);
	overflow: hidden;
	transition: border-color .2s ease;
}
.rt-faq__item.is-open { border-color: var(--rt-ink); }

.rt-faq__item h3 { margin: 0; font-size: 1rem; }

.rt-faq__item button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.15rem 1.35rem;
	border: 0;
	background: transparent;
	text-align: left;
	font-size: 1.01rem;
	font-weight: 600;
	letter-spacing: -.015em;
	color: var(--rt-ink);
	cursor: pointer;
}

.rt-faq__sign {
	position: relative;
	width: 1rem; height: 1rem;
	flex: none;
}
.rt-faq__sign::before,
.rt-faq__sign::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: .85rem; height: 1.8px;
	background: var(--rt-ink);
	border-radius: 2px;
	transform: translate(-50%, -50%);
	transition: transform .22s ease, opacity .18s ease;
}
.rt-faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.rt-faq__item.is-open .rt-faq__sign::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }

.rt-faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .28s cubic-bezier(.2,.7,.3,1);
}
.rt-faq__item.is-open .rt-faq__panel { grid-template-rows: 1fr; }
.rt-faq__panel > div { overflow: hidden; }
.rt-faq__panel p {
	margin: 0;
	padding: 0 1.35rem 1.35rem;
	font-size: .975rem;
	line-height: 1.6;
	color: var(--rt-muted);
}

/* ================================================================== CIERRE */

.rt-closing__inner { max-width: 46rem; margin-inline: auto; text-align: center; }
.rt-closing .rt-stars { margin-bottom: 1.5rem; }
.rt-closing .rt-lede { margin-inline: auto; }

.rt-closing__micro {
	margin-top: 1.5rem;
	font-size: .85rem;
	color: hsl(30 6% 52%);
}

/* ================================================== movil: todo centrado == */

@media (max-width: 780px) {

	/* ------------------------------------------------------------------ hero */
	/* En movil el aviso de version resta espacio al titular, que es lo que
	   tiene que verse sin hacer scroll */
	.rt-hero__pill { display: none; }
	.rt-hero__copy { text-align: center; }
	.rt-hero__actions { justify-content: center; }
	.rt-hero__micro { justify-content: center; }
	.rt-hero__micro li { justify-content: center; }
	.rt-hero__proof {
		flex-direction: column;
		gap: .75rem;
		text-align: center;
	}
	.rt-hero__proofScore {
		flex-direction: row;
		align-items: center;
		gap: .6rem;
		padding-right: 0;
		border-right: 0;
	}
	.rt-hero__proof p { margin-inline: auto; }

	/* ----------------------------------------------------------- comparativa */
	.rt-compare__col { text-align: center; }
	.rt-compare__col h3 { justify-content: center; }
	.rt-compare__col li { padding-left: 0; }
	.rt-compare__col li::before {
		position: static;
		display: inline-block;
		margin-right: .5rem;
		vertical-align: middle;
	}

	/* ----------------------------------------------------------------- pasos */
	.rt-steps__item {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
		gap: .85rem;
	}
	.rt-steps__item::before { display: none; }
	.rt-steps__meta { justify-content: center; }

	/* --------------------------------------------------------------- routing */
	.rt-routing__copy { text-align: center; }
	.rt-routing__points li { flex-direction: column; align-items: center; text-align: center; gap: .5rem; }

	/* ------------------------------------------------------------ resultados */
	.rt-result { text-align: center; }
	.rt-result__top { flex-direction: column; gap: .45rem; }
	.rt-result__figure { justify-content: center; }
	.rt-result__legend { justify-content: center; gap: 1.25rem; }
	.rt-spread { max-width: 15rem; margin-inline: auto; width: 100%; }

	/* ----------------------------------------------------------- testimonios */
	.rt-testimonials__head { text-align: center; justify-content: center; }
	.rt-testimonials__score { text-align: center; }
	.rt-testimonials__score p { margin-inline: auto; }
	.rt-quote { text-align: center; }
	.rt-quote .rt-stars,
	.rt-quote .rt-ratestars { justify-content: center; }
	.rt-quote figcaption { flex-direction: column; gap: .5rem; }
	.rt-quote--lead blockquote { margin-inline: auto; }

	/* -------------------------------------------------------------- hardware */
	.rt-hw__body { text-align: center; }
	.rt-hw__meta { justify-content: center; }

	/* -------------------------------------------------------------- features */
	.rt-feature { text-align: center; }
	.rt-sectors { justify-content: center; text-align: center; }
	.rt-sectors ul { justify-content: center; }

	/* --------------------------------------------------------------- precios */
	.rt-price__card { text-align: center; align-items: center; }
	.rt-price__plus { justify-self: center; }
	.rt-price__label { align-self: center; }
	.rt-price__figure { justify-content: center; }
	.rt-price__list { width: 100%; }
	.rt-price__list li { justify-content: center; text-align: center; }
}
	
/* ------------------------- graficos pequenos de cada paso ------------------- */

.rt-stepviz {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 100%;
	height: 74px;
	margin-bottom: .35rem;
	border-radius: var(--rt-r);
	background: var(--rt-surface);
	border: 1px solid var(--rt-line-soft);
	overflow: hidden;
}

/* 01, las ondas del tap */
.rt-stepviz--nfc span {
	position: absolute;
	width: 26px; height: 26px;
	border: 1.5px solid var(--rt-gold-deep);
	border-radius: 50%;
	opacity: 0;
	animation: rt-vizping 2.4s cubic-bezier(.2,.6,.3,1) infinite;
}
.rt-stepviz--nfc span:nth-child(2) { animation-delay: .8s; }
.rt-stepviz--nfc span:nth-child(3) { animation-delay: 1.6s; }
@keyframes rt-vizping {
	0%   { transform: scale(.5); opacity: 0; }
	20%  { opacity: .85; }
	100% { transform: scale(2.6); opacity: 0; }
}
.rt-stepviz--nfc .rt-icon { width: 22px; height: 22px; color: var(--rt-ink); }

/* 02, las estrellas que se encienden una a una */
.rt-stepviz--stars { gap: .3rem; grid-auto-flow: column; }
.rt-stepviz--stars i {
	width: 15px; height: 15px;
	background: var(--rt-gold);
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	opacity: .18;
	animation: rt-vizstar 2.6s linear infinite;
}
.rt-stepviz--stars i:nth-child(1) { animation-delay: .0s; }
.rt-stepviz--stars i:nth-child(2) { animation-delay: .16s; }
.rt-stepviz--stars i:nth-child(3) { animation-delay: .32s; }
.rt-stepviz--stars i:nth-child(4) { animation-delay: .48s; }
.rt-stepviz--stars i:nth-child(5) { animation-delay: .64s; }
@keyframes rt-vizstar {
	0%, 4%    { opacity: .18; transform: none; }
	12%       { opacity: 1; transform: scale(1.25); }
	60%       { opacity: 1; transform: none; }
	72%, 100% { opacity: .18; transform: none; }
}

/* 03, la bifurcacion */
.rt-stepviz--split { gap: 0; }
.rt-stepviz--split b {
	position: absolute;
	left: 14px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--rt-gold-deep);
	animation: rt-vizsplit 2.8s cubic-bezier(.4,0,.3,1) infinite;
}
.rt-stepviz--split b:nth-child(2) { animation-name: rt-vizsplit-bad; animation-delay: 1.4s; }
@keyframes rt-vizsplit {
	0%       { transform: translate(0, 0); opacity: 0; background: var(--rt-gold-deep); }
	12%      { opacity: 1; }
	55%      { transform: translate(64px, -17px); background: var(--rt-good); opacity: 1; }
	70%, 100%{ transform: translate(64px, -17px); opacity: 0; background: var(--rt-good); }
}
@keyframes rt-vizsplit-bad {
	0%       { transform: translate(0, 0); opacity: 0; background: var(--rt-gold-deep); }
	12%      { opacity: 1; }
	55%      { transform: translate(64px, 17px); background: var(--rt-bad); opacity: 1; }
	70%, 100%{ transform: translate(64px, 17px); opacity: 0; background: var(--rt-bad); }
}
.rt-stepviz--split u {
	position: absolute;
	right: 14px;
	width: 30px; height: 2px;
	border-radius: 2px;
	background: var(--rt-good);
	transform: translateY(-17px);
	opacity: .35;
	text-decoration: none;
}
.rt-stepviz--split u + u { background: var(--rt-bad); transform: translateY(17px); }

@media (prefers-reduced-motion: reduce) {
	.rt-stepviz * { animation: none !important; }
	.rt-stepviz--stars i { opacity: 1; }
}

/* --------------------------- todo centrado dentro de las dos tarjetas ------ */

.rt-versus__col { text-align: center; }

.rt-versus__head { flex-direction: column; gap: .6rem; }

.rt-versus .rt-flow__node {
	flex-direction: column;
	gap: .5rem;
	text-align: center;
	padding: 1rem 1.15rem;
}
.rt-versus .rt-flow__node > div > span { line-height: 1.4; }
.rt-versus .rt-versus .rt-flow__branch { justify-items: center; }

/* ------------------------ coste: solo el tag, con lo que cubre la cuota ---- */

/* Solo la tarjeta del tag: la cuota se explica en el checkout */
.rt-price--solo {
	grid-template-columns: minmax(0, 1fr);
	max-width: 27rem;
	margin-inline: auto;
}

.rt-price__from {
	align-self: center;
	font-size: .3em;
	font-weight: 650;
	letter-spacing: -.005em;
	color: var(--rt-muted);
	margin-right: .1em;
}

.rt-price__aside {
	display: flex;
	flex-direction: column;
	padding: clamp(1.6rem, 3vw, 2.4rem);
	border: 1px dashed var(--rt-line);
	border-radius: var(--rt-r-lg);
	background: var(--rt-bg);
}
.rt-price__aside h3 { margin-bottom: 1.25rem; font-size: 1.05rem; }
.rt-price__aside .rt-price__list { flex: 0; margin-bottom: 1.35rem; }
.rt-price__asideNote {
	margin: auto 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rt-line-soft);
	font-size: .92rem;
	color: var(--rt-muted);
}

/* El SVG de la marca se quedaba pegado arriba del circulo pese al place-items.
   Se centra con flex explicito, que no deja lugar a dudas. */
.rt-versus__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}
.rt-versus__mark .rt-icon { display: block; }

/* ----------------------- la escena del hero, recompuesta en movil ---------- */

/*
 * Con las proporciones del escritorio los dos objetos salian pequenos y con un
 * hueco muerto arriba. En pantalla estrecha ocupan mas, se solapan mas y las
 * insignias se pegan a la escena en lugar de flotar en el vacio.
 */
@media (max-width: 700px) {
	.rt-hero__demo { padding-block: .25rem 0; }

	.rt-stage {
		width: min(430px, 100%);
		aspect-ratio: 1 / .96;
	}

	.rt-stage__stand { top: 3%; right: -3%; width: 60%; }
	.rt-stage .rt-phone { left: -2%; bottom: 2%; width: 44%; }
	.rt-stage__pulse { top: 9%; right: 20%; width: 24%; }

	.rt-hero__badge--a { top: -1%; left: -.25rem; }
	.rt-hero__badge--b { bottom: 6%; right: -.25rem; }
}

/* Movil estrecho: la escena ya no cabe con holgura, se aprieta un poco mas */
@media (max-width: 400px) {
	.rt-stage { aspect-ratio: 1 / 1; }
	.rt-stage__stand { width: 58%; }
	.rt-stage .rt-phone { width: 42%; }
}

/* Solo queda nuestro recorrido: se centra y se le da un ancho comodo */
.rt-versus--solo {
	grid-template-columns: minmax(0, 1fr);
	max-width: 58rem;
	margin-inline: auto;
}

/* ---------------------- el gesto de acercar el movil al tag ---------------- */

/*
 * Cuando la pantalla activa es la primera ("Hold your phone here"), el telefono
 * se acerca al stand y vuelve, que es lo que hace la mano de verdad. Va con
 * :has() sobre el propio telefono: si el navegador no lo soporta, simplemente
 * no se mueve.
 */
.rt-stage .rt-phone:has(.rt-frame:first-of-type.is-on) {
	animation: rt-tapmove 2.6s cubic-bezier(.34, 1.2, .4, 1) both;
}

@keyframes rt-tapmove {
	0%       { transform: rotate(-1.5deg) translate(0, 0); }
	22%      { transform: rotate(-3.2deg) translate(7%, -3%); }
	46%, 100%{ transform: rotate(-1.5deg) translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.rt-stage .rt-phone:has(.rt-frame:first-of-type.is-on) { animation: none; }
}

/* ------------------- cabecera de cada modelo, con su precio --------------- */

.rt-hw__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .6rem;
	margin-bottom: .9rem;
}
.rt-hw__label { margin-bottom: 0; }
.rt-hw__price {
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--rt-ink);
	white-space: nowrap;
}
.rt-hw__price em {
	font-style: normal;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--rt-muted);
}

@media (max-width: 780px) {
	.rt-hw__top { justify-content: center; }
}

/* -------- diagrama simplificado: solo la valoracion y las dos salidas ------ */

.rt-flow--simple {
	grid-template-columns: 1fr auto 1.2fr;
	max-width: 44rem;
	margin-inline: auto;
}
@media (max-width: 760px) {
	.rt-flow--simple { grid-template-columns: minmax(0, 1fr); }
}

/* Sin cabecera ni pie, la tarjeta solo tiene que respirar alrededor */
.rt-versus--solo .rt-versus__col { padding: clamp(1.75rem, 4vw, 2.75rem); }

/* El cuerpo de la tarjeta empuja el boton al fondo, para que las dos queden
   alineadas aunque su texto mida distinto */
.rt-hw__body { display: flex; flex-direction: column; flex: 1; }
.rt-hw__cta { margin-top: auto; }
.rt-hw__meta { margin-bottom: 1.5rem; }

/* La linea de cierre necesitaba aire entre la frase y la nota */

/* ------------- movil: la escena va arriba del todo y algo mas pequena ------ */

/*
 * El orden del DOM deja el texto primero, que es lo correcto para lectores de
 * pantalla y para el SEO. En movil se invierte solo el pintado, que es lo que
 * pidio el cliente: primero se ve el producto y debajo el titular.
 */
@media (max-width: 700px) {
	.rt-hero__inner { display: flex; flex-direction: column; }
	.rt-hero__demo { order: -1; margin-bottom: .5rem; }

	.rt-stage { width: min(272px, 70vw); aspect-ratio: 1 / .92; }
	.rt-stage__stand { top: 2%; right: -2%; width: 58%; }
	.rt-stage .rt-phone { left: 0; bottom: 2%; width: 42%; }
	.rt-stage__pulse { top: 8%; right: 19%; width: 22%; }

	.rt-hero__badge { font-size: .68rem; padding: .45rem .6rem; }
	.rt-hero__badge--a { top: -2%; left: -.5rem; }
	.rt-hero__badgeNum { font-size: .95rem; }

	/* En movil la escena es pequena y esta insignia se comia el producto */
	.rt-hero__badge--b { display: none; }
}
