/**
 * Lomito Inversionista - Test rapido de la portada.
 * Preguntas a la izquierda, resultado en un telefono generico a la derecha.
 */

.lmt-tr__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.lmt-tr__chip {
	display: inline-block;
	margin: 0 0 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--lmt-text);
	color: var(--lmt-bg);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.lmt-tr__titulo { margin: 0 0 10px; }

.lmt-tr__sub {
	margin: 0 0 26px;
	max-width: 52ch;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--lmt-text-muted);
}

.lmt-tr__card {
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid var(--lmt-border);
	border-radius: var(--lmt-radius-lg, 24px);
	background: var(--lmt-surface);
	box-shadow: var(--lmt-shadow);
}

.lmt-tr__meta {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--lmt-text-muted);
}

.lmt-tr__barra {
	height: 8px;
	margin-bottom: 24px;
	border-radius: 999px;
	background: var(--lmt-surface-2);
	overflow: hidden;
}

.lmt-tr__barra span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--lmt-accent);
	transition: width .35s ease;
}

.lmt-tr__q {
	margin: 0 0 18px;
	font-family: var(--lmt-font-display);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 800;
	line-height: 1.25;
	color: var(--lmt-text);
}

.lmt-tr__opts {
	display: grid;
	gap: 12px;
}

.lmt-tr__opt {
	width: 100%;
	padding: 16px 20px;
	border: 1px solid var(--lmt-border);
	border-radius: 16px;
	background: var(--lmt-bg);
	color: var(--lmt-text);
	font: inherit;
	font-size: 1rem;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.lmt-tr__opt b { margin-right: 4px; }

.lmt-tr__opt:hover {
	border-color: var(--lmt-accent);
	background: var(--lmt-accent-soft);
}

.lmt-tr__opt:focus-visible,
.lmt-tr__atras:focus-visible,
.lmt-tr__llevar:focus-visible,
.lmt-tr__cta:focus-visible {
	outline: 3px solid var(--lmt-accent);
	outline-offset: 3px;
}

.lmt-tr__atras {
	margin-top: 14px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--lmt-text-muted);
	font: inherit;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
}

.lmt-tr__atras:hover { color: var(--lmt-text); }

.lmt-tr__nota {
	margin: 0 0 6px;
	color: var(--lmt-text-muted);
	line-height: 1.5;
}

.lmt-tr__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
	padding: 16px 22px;
	border-radius: 999px;
	background: var(--lmt-accent);
	color: #ffffff !important;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
	transition: filter .15s ease, transform .15s ease;
}

html[data-lomito-theme="dark"] .lmt-tr__cta { color: #06251a !important; }

.lmt-tr__cta svg { width: 18px; height: 18px; }
.lmt-tr__cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ---------------------------- El telefono ---------------------------- */
.lmt-tr__der {
	display: flex;
	justify-content: center;
}

.lmt-tr__tel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(100%, 360px);
	min-height: 700px;
	padding: 14px;
	border-radius: 54px;
	background: var(--lmt-surface);
	border: 1px solid var(--lmt-border);
	box-shadow:
		0 0 0 7px var(--lmt-surface-2),
		0 0 0 8px var(--lmt-border),
		0 40px 80px -36px rgba(40, 30, 10, .45);
	transform: rotate(-2deg);
}

html[data-lomito-theme="dark"] .lmt-tr__tel {
	background: #101317;
	box-shadow:
		0 0 0 7px #1b2026,
		0 0 0 8px #262c34,
		0 40px 80px -36px rgba(0, 0, 0, .8);
}

.lmt-tr__isla {
	position: absolute;
	top: 26px;
	left: 50%;
	width: 14px;
	height: 14px;
	margin-left: -7px;
	border-radius: 50%;
	background: var(--lmt-text);
	opacity: .85;
	z-index: 2;
}

.lmt-tr__historia {
	position: absolute;
	top: 52px;
	left: 34px;
	right: 34px;
	display: flex;
	gap: 6px;
	z-index: 2;
}

.lmt-tr__historia span {
	flex: 1;
	height: 3px;
	border-radius: 999px;
	background: var(--lmt-border);
	transition: background .3s ease;
}

.lmt-tr__historia span.esta-lleno { background: var(--lmt-accent); }

.lmt-tr__pantalla {
	flex: 1 0 auto;
	box-sizing: border-box;
	min-height: 100%;
	padding: 62px 24px 24px;
	border-radius: 42px;
	background: var(--lmt-bg);
	display: flex;
	flex-direction: column;
	text-align: center;
}

/* Centrado que no corta: si el contenido crece, se desplaza en lugar de salirse por arriba. */
.lmt-tr__espera,
.lmt-tr__res { margin-block: auto; }

.lmt-tr__res .lmt-tr__logo { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 10px; }

.lmt-tr__logo {
	display: block;
	width: 84px;
	height: 84px;
	margin: 0 auto 14px;
	border-radius: 22px;
}

.lmt-tr__logo--gris { filter: grayscale(1); opacity: .5; }

.lmt-tr__tecnico {
	margin: 0 0 4px;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--lmt-af-strong, var(--lmt-emerald-700));
}

html[data-lomito-theme="dark"] .lmt-tr__tecnico { color: var(--lmt-accent); }

.lmt-tr__tel-titulo {
	margin: 0 0 8px;
	font-family: var(--lmt-font-display);
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--lmt-text);
}

.lmt-tr__tel-texto {
	margin: 0 0 16px;
	font-size: .93rem;
	line-height: 1.45;
	color: var(--lmt-text-muted);
}

.lmt-tr__apps {
	display: grid;
	gap: 8px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	text-align: left;
}

.lmt-tr__app {
	padding: 10px 12px;
	border: 1px solid var(--lmt-border);
	border-radius: 14px;
	background: var(--lmt-surface);
}

.lmt-tr__app span { display: block; font-weight: 800; color: var(--lmt-text); }
.lmt-tr__app a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lmt-tr__app small { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.35; color: var(--lmt-text-muted); }
.lmt-tr__app--ojo { border-color: #d97706; }

.lmt-tr__ref {
	margin: 0 0 14px;
	font-size: .72rem;
	line-height: 1.4;
	color: var(--lmt-text-muted);
}

.lmt-tr__llevar {
	width: 100%;
	padding: 12px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--lmt-accent);
	color: #ffffff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

html[data-lomito-theme="dark"] .lmt-tr__llevar { color: #06251a; }

.lmt-tr__form { display: grid; gap: 8px; text-align: left; }
.lmt-tr__form[hidden] { display: none; }

.lmt-tr__label { font-size: .8rem; font-weight: 700; color: var(--lmt-text); }

.lmt-tr__input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--lmt-border);
	border-radius: 12px;
	background: var(--lmt-surface);
	color: var(--lmt-text);
	font: inherit;
}

.lmt-tr__check {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: .78rem;
	line-height: 1.4;
	color: var(--lmt-text-muted);
}

.lmt-tr__check a { color: var(--lmt-text); }

.lmt-tr__msg { margin: 0; min-height: 1.2em; font-size: .8rem; color: var(--lmt-text-muted); }
.lmt-tr__msg a { color: var(--lmt-text); font-weight: 700; }

@media (max-width: 900px) {
	.lmt-tr__grid { grid-template-columns: 1fr; }
	.lmt-tr__tel { transform: none; width: min(100%, 340px); min-height: 620px; margin: 0 auto; }
	/* En celular el telefono aparece hasta que hay resultado: la seccion
	   medía casi dos pantallas con el telefono vacio (24 oct 2026). */
	.lmt-tr__der { display: none; }
	.lmt-tr__grid[data-tr-listo] .lmt-tr__der { display: block; }
}

@media (prefers-reduced-motion: reduce) {
	.lmt-tr__barra span,
	.lmt-tr__historia span,
	.lmt-tr__opt { transition: none; }
}


/* Bloque 2 (2.96.0): divulgacion y consentimiento a 14 px, texto del telefono a 16. */
.lmt-tr__ref { font-size: .875rem; line-height: 1.5; }
.lmt-tr__tel-texto { font-size: 1rem; }
.lmt-tr__check { font-size: .875rem; }
.lmt-tr__atras { padding: 12px 0; margin-top: 6px; }
