/*
 * MSG Card, antes de existir: el escenario de la portada y la lista de espera.
 *
 * Los colores del teléfono son los de la línea (`--poc-id-msg-*`, A-83): la
 * maqueta enseña el producto, así que no sigue al modo oscuro, igual que la
 * tarjeta pública. El formulario sí, porque es del sitio.
 */

/* ── El escenario: la tarjeta impresa detrás y el mensaje abierto delante ── */

.poc-msg-stage {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	max-width: 30rem;
	margin: 0 auto;
	padding-top: 2.5rem;
}

.poc-msg-stage__card {
	position: absolute;
	top: 0;
	left: 0;
	width: 72%;
	transform: rotate(-6deg);
	transform-origin: left top;
}

.poc-msg-stage__card .poc-idc,
.poc-msg-stage__card .poc-idc__box,
.poc-msg-stage__card .poc-idc__face {
	display: block;
}

.poc-msg-stage__card img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: var(--poc-shadow-md);
}

.poc-msg-phone {
	position: relative;
	z-index: 1;
	justify-self: end;
	width: 15.5rem;
	margin-top: 5.5rem;
	padding: 0.55rem;
	border-radius: 2.1rem;
	background: #0b1220;
	box-shadow: var(--poc-shadow-lg);
}

.poc-msg-phone__screen {
	display: grid;
	gap: 0.6rem;
	padding: 0.7rem 0.7rem 1rem;
	border-radius: 1.6rem;
	background: var(--poc-id-msg-support);
	color: var(--poc-id-msg-base);
}

.poc-msg-phone__cover {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	border-radius: 1.05rem;
	background: var(--poc-id-msg-base);
	overflow: hidden;
}

.poc-msg-phone__cover img {
	width: 70%;
	height: auto;
	transform: rotate(-4deg);
}

/* El triángulo de «reproducir», dibujado: no es un botón. */
.poc-msg-phone__play {
	position: absolute;
	right: 0.6rem;
	bottom: 0.6rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--poc-id-msg-accent);
	box-shadow: 0 2px 8px rgb(0 0 0 / 0.3);
}

.poc-msg-phone__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	border-style: solid;
	border-width: 0.45rem 0 0.45rem 0.72rem;
	border-color: transparent transparent transparent #fff;
	transform: translate(-50%, -50%);
}

.poc-msg-phone__to {
	margin: 0.15rem 0 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
}

.poc-msg-phone__text,
.poc-msg-phone__from {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.poc-msg-phone__from {
	font-style: italic;
	opacity: 0.8;
}

.poc-msg-phone__voice {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.6rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px rgb(24 36 58 / 0.12);
}

.poc-msg-phone__mic {
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--poc-id-msg-base);
	position: relative;
}

.poc-msg-phone__mic::after {
	content: "";
	position: absolute;
	top: 0.32rem;
	left: 50%;
	width: 0.4rem;
	height: 0.65rem;
	border-radius: 0.2rem;
	background: var(--poc-id-msg-support);
	transform: translateX(-50%);
}

.poc-msg-phone__wave {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 2px;
	min-width: 0;
	height: 1.5rem;
}

.poc-msg-phone__wave i {
	flex: 1;
	min-width: 2px;
	border-radius: 2px;
	background: var(--poc-id-msg-accent);
}

.poc-msg-phone__time {
	flex: none;
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	opacity: 0.75;
}

.poc-msg-phone__album {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.35rem;
}

.poc-msg-phone__album span {
	aspect-ratio: 1;
	border-radius: 0.55rem;
	background: linear-gradient(140deg, #e9c9a8, #c98b6b);
}

.poc-msg-phone__album span:nth-child(2) {
	background: linear-gradient(140deg, #9db7c9, #5d7f99);
}

.poc-msg-phone__album span:nth-child(3) {
	background: linear-gradient(140deg, #c6cf9f, #7f9a63);
}

.poc-msg-stage figcaption {
	margin-top: var(--poc-space-2, 1rem);
	font-size: 0.875rem;
	color: var(--poc-muted);
	text-align: center;
}

@media (max-width: 480px) {
	.poc-msg-stage { padding-top: 1.5rem; }
	.poc-msg-stage__card { width: 70%; }
	.poc-msg-phone { width: 13.25rem; margin-top: 4rem; }
	.poc-msg-phone__to { font-size: 0.95rem; }
}

/* La regla común sube la herramienta del hero por delante del lede en el
   teléfono (en la VIN el titular basta para usar el buscador). Aquí no: sin
   el lede no se sabe qué lleva un mensaje, y «todavía no está a la venta»
   tiene que leerse antes de apuntarse, no después. */
.poc-phero__copy:has(.poc-msg-wl) .poc-phero__lede,
.poc-phero__copy:has(.poc-msg-wl) .poc-phero__trust {
	order: 0;
}

/* ── La lista de espera, dentro del hero ─────────────────────────────── */

.poc-msg-wl {
	margin-top: var(--poc-space-3, 1.5rem);
	padding: var(--poc-space-3, 1.5rem);
	border: 1px solid var(--poc-line);
	border-radius: var(--poc-radius-lg, 18px);
	background: var(--poc-surface);
	box-shadow: var(--poc-shadow-sm);
	text-align: start;
}

.poc-msg-wl .poc-field {
	margin: 0 0 var(--poc-space-2, 1rem);
}

.poc-msg-wl .poc-field label {
	display: block;
	margin: 0 0 0.35rem;
	font-weight: 600;
}

.poc-msg-wl__check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 var(--poc-space-2, 1rem);
	font-size: 0.9375rem;
}

.poc-msg-wl__check input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0.1rem 0 0;
	accent-color: var(--poc-brand);
}

.poc-msg-wl__check label {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.poc-msg-wl .poc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.poc-msg-wl .poc-captcha {
	margin: 0 0 var(--poc-space-2, 1rem);
}

.poc-msg-wl__go {
	margin: 0;
}

.poc-msg-wl__go .poc-btn {
	width: 100%;
	justify-content: center;
}

.poc-msg-wl__msg {
	margin: 0.75rem 0 0;
	font-weight: 600;
}

.poc-msg-wl__msg:empty {
	display: none;
}

.poc-msg-wl__msg.is-error {
	color: var(--poc-danger);
}

.poc-msg-wl__privacy {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: var(--poc-muted);
}

/* ── Empezar (2026-10-28): el hueco donde estaba la lista de espera ─────
   Mismo formulario, con el precio arriba: quien empieza sabe desde la
   primera línea que escribir es gratis y cuánto cuesta activar el enlace. */
.poc-msg-start__price {
	margin: 0 0 14px;
	color: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

/* La casilla de mayoría de edad y términos (`Account::age_checkbox`). La
   etiqueta trae texto y dos enlaces sueltos: en flex cada trozo era una
   columna (visto en staging el 2026-10-29). Bloque con la casilla colgada. */
.poc-msg-start .poc-check label {
	position: relative;
	display: block;
	padding-left: 1.9rem;
	font-weight: 400;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.poc-msg-start .poc-check input {
	position: absolute;
	top: 0.1rem;
	left: 0;
	width: 20px;
	height: 20px;
	margin: 0;
}

.poc-msg-start .poc-check a { color: inherit; }
