/*
 * Be You – Test de comunicación
 * Todo vive bajo #beyou-quiz (especificidad de ID) y se parte de un reset
 * local, así los estilos de Elementor / el tema no pueden alterar el aspecto.
 */

/* --- Reset local (no toca svg para no romper el icono) --------------- */
#beyou-quiz,
#beyou-quiz :where(div, form, h3, p, span, label, a, button, input) {
	all: revert;
	box-sizing: border-box;
}

/* --- Tarjeta ----------------------------------------------------------- */
#beyou-quiz {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	max-width: 100%;
	min-height: 560px;
	padding: 40px;
	background: #ffffff;
	color: #050606;
	border-radius: 24px;
	font-family: 'Saira', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
}

#beyou-quiz [tabindex='-1']:focus {
	outline: none;
}

/* --- Pasos ------------------------------------------------------------- */
#beyou-quiz .beq-step {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
#beyou-quiz .beq-step--email,
#beyou-quiz .beq-step--result {
	gap: 20px;
}

/* --- Pregunta ---------------------------------------------------------- */
#beyou-quiz .beq-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}
#beyou-quiz .beq-area {
	color: #b51a28;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
#beyou-quiz .beq-bar {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: #e6e6e6;
	overflow: hidden;
}
#beyou-quiz .beq-bar > span {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: #d32030;
}
#beyou-quiz .beq-q {
	margin: 0;
	font-size: 26px;
	line-height: 1.3;
	font-weight: 600;
	color: #050606;
}
#beyou-quiz .beq-opts {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
#beyou-quiz .beq-opt {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 16px 18px;
	border: 2px solid #cfcfcf;
	border-radius: 14px;
	background: #ffffff;
	color: #050606;
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
#beyou-quiz .beq-opt.is-selected {
	border-color: #d32030;
	background: #fbe9eb;
}
#beyou-quiz .beq-opt-l {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #050606;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
}
#beyou-quiz .beq-opt-t {
	padding-top: 3px;
}

/* --- Botones de texto y principales ------------------------------------ */
#beyou-quiz .beq-link {
	align-self: flex-start;
	min-height: 44px;
	margin: 0;
	padding: 8px 0;
	border: 0;
	background: none;
	color: #050606;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: underline;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
#beyou-quiz .beq-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #d32030;
	color: #ffffff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
#beyou-quiz .beq-btn--link {
	padding: 12px 24px;
}
#beyou-quiz .beq-btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

/* --- Paso del email ---------------------------------------------------- */
#beyou-quiz .beq-check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #d32030;
}
#beyou-quiz .beq-h {
	margin: 0;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 600;
	color: #050606;
}
#beyou-quiz .beq-p {
	margin: 0;
	font-size: 18px;
	line-height: 1.55;
	color: #3a3a3a;
}
#beyou-quiz .beq-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
}
#beyou-quiz .beq-input {
	display: block;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid #8a8a8a;
	border-radius: 10px;
	background: #ffffff;
	color: #050606;
	font-family: inherit;
	font-size: 17px;
	font-weight: 400;
	line-height: normal;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
#beyou-quiz .beq-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #3a3a3a;
}
#beyou-quiz .beq-consent input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: #d32030;
}
#beyou-quiz .beq-consent a {
	color: #d32030;
	text-decoration: underline;
}
#beyou-quiz .beq-consent a:hover {
	color: #a8162a;
}
#beyou-quiz .beq-error {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #b51a28;
}
/* Trampa anti-bot: fuera de pantalla, no display:none */
#beyou-quiz .beq-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Resultado --------------------------------------------------------- */
#beyou-quiz .beq-eyebrow {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #b51a28;
}
#beyou-quiz .beq-rt {
	margin: 0;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 600;
	color: #050606;
}
#beyou-quiz .beq-rp {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	color: #2b2b2b;
}
#beyou-quiz .beq-weak {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 16px;
	border-top: 1px solid #d0d0d0;
}
#beyou-quiz .beq-weak-l {
	font-size: 15px;
	font-weight: 600;
}
#beyou-quiz .beq-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
#beyou-quiz .beq-chip {
	padding: 8px 14px;
	border-radius: 999px;
	background: #fbe9eb;
	color: #8f1420;
	font-size: 15px;
	font-weight: 600;
}
#beyou-quiz .beq-noweak {
	font-size: 16px;
	line-height: 1.5;
	color: #3a3a3a;
}

/* --- Foco visible (accesibilidad) -------------------------------------- */
#beyou-quiz .beq-input:focus {
	outline: 2px solid #d32030;
	outline-offset: 2px;
}
#beyou-quiz .beq-opt:focus-visible,
#beyou-quiz .beq-link:focus-visible,
#beyou-quiz .beq-btn:focus-visible,
#beyou-quiz .beq-consent input:focus-visible,
#beyou-quiz .beq-consent a:focus-visible {
	outline: 2px solid #d32030;
	outline-offset: 2px;
}

/* --- Móvil ------------------------------------------------------------- */
@media (max-width: 480px) {
	#beyou-quiz {
		padding: 24px;
	}
	#beyou-quiz .beq-q {
		font-size: 22px;
	}
	#beyou-quiz .beq-h,
	#beyou-quiz .beq-rt {
		font-size: 28px;
	}
}
