/* 316 Ads · Protagoniza el video
   Marca: negro #080808 · verde #39FF14 · blanco #F2F2F2 · Syne + DM Sans
   Todo va bajo #a316gj para que el tema no pise nada. */

body.a316gj-canvas {
	margin: 0;
	background: #080808;
}

#a316gj {
	--negro: #080808;
	--verde: #39FF14;
	--blanco: #F2F2F2;
	--panel: #151515;
	--linea: #303030;
	--tenue: #A6A6A6;
	--error: #FF7A6E;
	--radio: 16px;

	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--negro);
	color: var(--blanco);
	font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.5;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

#a316gj {
	font-weight: 400;
	font-style: normal;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
}

#a316gj *,
#a316gj *::before,
#a316gj *::after {
	box-sizing: border-box;
}

/* El kit global del tema (Elementor) pone mayúsculas, espaciado y otra tipografía
   en títulos y etiquetas. Aquí todo hereda de la landing. */
#a316gj * {
	letter-spacing: inherit;
	word-spacing: inherit;
	text-transform: inherit;
}

#a316gj label,
#a316gj span,
#a316gj strong,
#a316gj li,
#a316gj a {
	font-family: inherit;
	font-style: inherit;
}

#a316gj label {
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	color: inherit;
}

/* Reinicio de lo que suelen pintar los temas */
#a316gj h1,
#a316gj h2,
#a316gj p,
#a316gj ol,
#a316gj li,
#a316gj fieldset,
#a316gj legend,
#a316gj figure {
	margin: 0;
	padding: 0;
	border: 0;
	color: inherit;
	font: inherit;
	background: none;
}

#a316gj button,
#a316gj input {
	font: inherit;
	color: inherit;
	margin: 0;
	box-shadow: none;
}

#a316gj a {
	color: var(--verde);
	text-decoration: underline;
	text-underline-offset: 3px;
	background: none;
	box-shadow: none;
}

#a316gj img,
#a316gj video {
	display: block;
	max-width: 100%;
	border: 0;
	box-shadow: none;
}

#a316gj [hidden] {
	display: none !important;
}

#a316gj :focus-visible {
	outline: 3px solid var(--verde);
	outline-offset: 3px;
}

/* ---------- Estructura ---------- */

#a316gj .gj-top {
	max-width: 1120px;
	margin: 0 auto;
	padding: 18px 18px 0;
}

#a316gj .gj-marca {
	font-family: "Syne", "DM Sans", sans-serif;
	font-weight: 800;
	font-size: 17px;
	color: var(--blanco);
	text-decoration: none;
}

#a316gj .gj-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"titulo"
		"video"
		"panel";
	gap: 22px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 22px 18px 40px;
}

#a316gj .gj-titulo { grid-area: titulo; }
#a316gj .gj-video { grid-area: video; }
#a316gj .gj-panel { grid-area: panel; min-width: 0; }

#a316gj h1 {
	font-family: "Syne", "DM Sans", sans-serif;
	font-weight: 800;
	font-size: clamp(2.5rem, 11.5vw, 3.9rem);
	line-height: 0.94;
	letter-spacing: -0.035em;
	text-wrap: balance;
	color: var(--blanco);
}

#a316gj .gj-bajada {
	margin-top: 14px;
	max-width: 30em;
	font-size: 1.12rem;
	line-height: 1.45;
	color: #D9D9D9;
}

/* ---------- Video de ejemplo ---------- */

#a316gj .gj-marco {
	position: relative;
	width: min(100%, 280px);
	margin: 0 auto;
	aspect-ratio: 9 / 16;
	border-radius: 26px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 0 0 1px var(--linea);
}

#a316gj .gj-player {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#a316gj .gj-ahora {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 6px 12px 7px;
	border-radius: 99px;
	background: var(--verde);
	color: var(--negro);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

#a316gj .gj-controles {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

#a316gj .gj-ctrl {
	appearance: none;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid rgba(242, 242, 242, 0.35);
	border-radius: 99px;
	background: rgba(8, 8, 8, 0.66);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--blanco);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

#a316gj .gj-ctrl:hover,
#a316gj .gj-ctrl:focus {
	background: rgba(8, 8, 8, 0.9);
	color: var(--blanco);
	border-color: var(--blanco);
}

#a316gj .gj-pie {
	margin-top: 10px;
	text-align: center;
	font-size: 14px;
	color: var(--tenue);
}

/* ---------- Las dos fotos ---------- */

#a316gj .gj-fotos {
	display: block;
	min-width: 0;
}

#a316gj .gj-fotos legend {
	display: block;
	width: 100%;
	margin-bottom: 12px;
	font-family: "Syne", "DM Sans", sans-serif;
	font-weight: 700;
	font-size: 1.35rem;
	line-height: 1.2;
	color: var(--blanco);
}

#a316gj .gj-slots {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

#a316gj .gj-slot {
	position: relative;
	min-width: 0;
}

/* El input sigue siendo alcanzable con teclado; la etiqueta es lo que se toca. */
#a316gj .gj-file {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	opacity: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

#a316gj .gj-drop {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	margin: 0;
	border-radius: var(--radio);
	overflow: hidden;
	background: var(--panel);
	cursor: pointer;
}

/* El borde va encima de las fotos para que siempre se vea. */
#a316gj .gj-drop::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border: 2px dashed #777777;
	border-radius: inherit;
	pointer-events: none;
	transition: border-color 0.2s ease;
}

#a316gj .gj-file:focus-visible + .gj-drop {
	outline: 3px solid var(--verde);
	outline-offset: 3px;
}

#a316gj .gj-drop:hover::after,
#a316gj .gj-slot.is-encima .gj-drop::after {
	border-color: var(--verde);
}

#a316gj .gj-muestra,
#a316gj .gj-tuya {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#a316gj .gj-muestra {
	filter: brightness(0.6) saturate(0.8);
	transition: filter 0.3s ease;
}

/* Mientras el personaje está en pantalla, su casilla se enciende. */
#a316gj[data-en-pantalla="1"] .gj-slot[data-slot="1"] .gj-drop::after,
#a316gj[data-en-pantalla="2"] .gj-slot[data-slot="2"] .gj-drop::after {
	border: 2px solid var(--verde);
}

#a316gj[data-en-pantalla="1"] .gj-slot[data-slot="1"] .gj-muestra,
#a316gj[data-en-pantalla="2"] .gj-slot[data-slot="2"] .gj-muestra {
	filter: brightness(0.95) saturate(1);
}

#a316gj .gj-drop::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	height: 46%;
	background: linear-gradient(to top, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0));
	pointer-events: none;
}

#a316gj .gj-mas {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--verde);
}

#a316gj .gj-mas::before,
#a316gj .gj-mas::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 3px;
	margin: -1.5px 0 0 -9px;
	border-radius: 2px;
	background: var(--negro);
}

#a316gj .gj-mas::after {
	transform: rotate(90deg);
}

#a316gj .gj-drop-txt {
	position: absolute;
	left: 62px;
	right: 10px;
	bottom: 12px;
	z-index: 2;
	min-height: 40px;
	display: flex;
	align-items: center;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.15;
	color: var(--blanco);
}

/* Con foto elegida */
#a316gj .gj-slot.is-llena .gj-drop::after {
	border: 2px solid var(--verde);
}

#a316gj .gj-slot.is-llena .gj-muestra,
#a316gj .gj-slot.is-llena .gj-mas {
	display: none;
}

#a316gj .gj-slot.is-llena .gj-drop-txt {
	left: 12px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#a316gj .gj-slot.is-error .gj-drop::after {
	border: 2px solid var(--error);
}

#a316gj .gj-slot-info {
	margin-top: 9px;
	font-size: 15px;
	line-height: 1.35;
	color: var(--tenue);
}

#a316gj .gj-slot-info strong {
	color: var(--blanco);
	font-weight: 700;
}

#a316gj .gj-tip {
	margin-top: 12px;
	font-size: 15px;
	color: var(--tenue);
}

/* ---------- Campos ---------- */

#a316gj .gj-campo {
	margin-top: 18px;
}

#a316gj .gj-campo label {
	display: block;
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 500;
	color: var(--blanco);
}

#a316gj .gj-campo input {
	display: block;
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border: 1px solid #4A4A4A;
	border-radius: 12px;
	background: var(--panel);
	color: var(--blanco);
	font-size: 17px;
	line-height: 1.2;
	appearance: none;
}

#a316gj .gj-campo input:focus {
	border-color: var(--verde);
	outline: 2px solid var(--verde);
	outline-offset: 0;
	background: var(--panel);
	color: var(--blanco);
}

#a316gj .gj-campo.is-error input {
	border-color: var(--error);
}

#a316gj .gj-ayuda {
	margin-top: 6px;
	font-size: 14px;
	color: var(--tenue);
}

#a316gj .gj-trampa {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#a316gj .gj-acepta {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 12px;
	align-items: start;
	margin: 20px 0 0;
	font-size: 15px;
	line-height: 1.4;
	color: #D9D9D9;
	cursor: pointer;
}

#a316gj .gj-acepta input {
	appearance: none;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 1.5px solid #7A7A7A;
	border-radius: 6px;
	background: var(--panel);
	cursor: pointer;
}

#a316gj .gj-acepta input:checked {
	background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23080808' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
	border-color: var(--verde);
}

#a316gj .gj-acepta.is-error input {
	border-color: var(--error);
}

#a316gj .gj-error {
	margin-top: 16px;
	padding: 12px 14px;
	border: 1px solid var(--error);
	border-radius: 12px;
	color: #FFD2CD;
	font-size: 15px;
}

#a316gj .gj-btn {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 60px;
	margin-top: 18px;
	padding: 10px 22px;
	border: 0;
	border-radius: 14px;
	background: var(--verde);
	color: var(--negro);
	font-family: "Syne", "DM Sans", sans-serif;
	font-weight: 800;
	font-size: 1.2rem;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s ease;
}

#a316gj .gj-btn:hover,
#a316gj .gj-btn:focus {
	background: #5CFF3D;
	color: var(--negro);
}

#a316gj .gj-btn:active {
	transform: scale(0.985);
}

#a316gj .gj-btn[disabled] {
	background: #2A4A24;
	color: #B9D8B2;
	cursor: progress;
}

#a316gj .gj-btn.gj-btn-2 {
	background: transparent;
	color: var(--blanco);
	border: 1px solid #5A5A5A;
	font-family: inherit;
	font-weight: 700;
	font-size: 1.05rem;
}

#a316gj .gj-btn.gj-btn-2:hover,
#a316gj .gj-btn.gj-btn-2:focus {
	background: transparent;
	border-color: var(--blanco);
	color: var(--blanco);
}

/* ---------- Precio y pago ---------- */

#a316gj .gj-precio {
	margin-top: 20px;
	font-size: 1.05rem;
	line-height: 1.35;
	color: #D9D9D9;
}

#a316gj .gj-precio strong {
	font-family: "Syne", "DM Sans", sans-serif;
	font-weight: 800;
	font-size: 1.7rem;
	letter-spacing: -0.02em;
	color: var(--blanco);
}

#a316gj .gj-precio s {
	margin-right: 4px;
	color: var(--tenue);
	text-decoration: line-through;
}

#a316gj .gj-precio-nota {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	color: var(--tenue);
}

#a316gj .gj-precio + .gj-btn {
	margin-top: 12px;
}

#a316gj .gj-pago-nota {
	margin-top: 12px;
	text-align: center;
	font-size: 14px;
	color: var(--tenue);
}

#a316gj .gj-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

#a316gj .gj-previa {
	margin-top: 14px;
	text-align: center;
	font-size: 15px;
}

/* ---------- Qué pasa después ---------- */

#a316gj .gj-pasos {
	list-style: none;
	counter-reset: paso;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--linea);
}

#a316gj .gj-pasos li {
	counter-increment: paso;
	position: relative;
	padding: 0 0 14px 44px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--tenue);
}

#a316gj .gj-pasos li::before {
	content: counter(paso);
	position: absolute;
	left: 0;
	top: -1px;
	width: 28px;
	height: 28px;
	border: 1.5px solid var(--verde);
	border-radius: 50%;
	color: var(--verde);
	font-weight: 700;
	font-size: 14px;
	line-height: 25px;
	text-align: center;
}

#a316gj .gj-pasos strong {
	color: var(--blanco);
	font-weight: 700;
}

#a316gj .gj-pasos li.is-hecho::before {
	background: var(--verde);
	color: var(--negro);
}

#a316gj .gj-pasos li.is-actual {
	color: #D9D9D9;
}

#a316gj .gj-pasos li.is-pendiente::before {
	border-color: #5A5A5A;
	color: #8A8A8A;
}

/* ---------- Estado de la solicitud ---------- */

#a316gj .gj-estado h2 {
	font-family: "Syne", "DM Sans", sans-serif;
	font-weight: 800;
	font-size: clamp(2rem, 8.5vw, 3rem);
	line-height: 1;
	letter-spacing: -0.03em;
	text-wrap: balance;
	color: var(--blanco);
}

#a316gj .gj-estado .gj-estado-txt {
	margin-top: 14px;
	font-size: 1.08rem;
	color: #D9D9D9;
}

#a316gj .gj-estado .gj-pasos {
	margin-top: 26px;
}

#a316gj .gj-resultado {
	width: min(100%, 320px);
	margin: 22px auto 0;
	aspect-ratio: 9 / 16;
	border-radius: 22px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 0 0 1px var(--linea);
}

#a316gj .gj-resultado video {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#a316gj.is-estado .gj-wrap {
	grid-template-areas: "panel";
	max-width: 560px;
	padding-top: 34px;
}

#a316gj.is-estado .gj-titulo,
#a316gj.is-estado .gj-video,
#a316gj.is-estado .gj-form,
#a316gj.is-estado .gj-panel > .gj-pasos {
	display: none;
}

#a316gj .gj-fin {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 18px 34px;
	font-size: 14px;
	color: #8A8A8A;
}

#a316gj .gj-fin a {
	color: var(--blanco);
}

/* ---------- Escritorio ---------- */

@media (min-width: 900px) {
	#a316gj .gj-top {
		padding: 26px 32px 0;
	}

	#a316gj .gj-wrap {
		grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
		grid-template-areas:
			"video titulo"
			"video panel";
		grid-template-rows: auto 1fr;
		column-gap: 72px;
		row-gap: 30px;
		padding: 34px 32px 64px;
		align-items: start;
	}

	#a316gj .gj-video {
		position: sticky;
		top: 28px;
	}

	#a316gj .gj-marco {
		width: 100%;
	}

	#a316gj .gj-panel {
		max-width: 540px;
	}

	#a316gj .gj-slots {
		gap: 16px;
	}

	#a316gj .gj-fin {
		padding: 0 32px 40px;
	}

	#a316gj.is-estado .gj-wrap {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "panel";
		padding-top: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#a316gj * {
		transition: none !important;
	}
}
