.ce-caja,
.ce-caja * {
	box-sizing: border-box;
}

.ce-caja {
	max-width: 480px;
	width: 100%;
	margin: 24px 0;
	padding: 28px 32px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d2327;
}

@media (min-width: 900px) {
	.ce-caja {
		max-width: 640px;
	}
}

@media (min-width: 1200px) {
	.ce-caja {
		max-width: 760px;
	}
}

.ce-caja h3 {
	margin: 0 0 10px;
	font-size: 20px;
}

.ce-caja h4 {
	margin: 22px 0 8px;
	font-size: 15px;
}

.ce-caja p {
	margin: 0 0 14px;
	line-height: 1.5;
}

.ce-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 11px;
	font-weight: 700;
	color: #d4a017;
	margin: 0 0 6px;
}

.ce-error {
	background: #fbeaea;
	color: #a8331e;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
}

.ce-aviso {
	color: #50575e;
}

.ce-form-entrada {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ce-form-entrada input[type="text"] {
	flex: 1 1 220px;
	padding: 10px 12px;
	border: 1px solid #d0d5d9;
	border-radius: 6px;
	font-size: 15px;
}

.ce-boton {
	background: #2c5f2d;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.ce-boton:hover {
	background: #234b24;
}

.ce-boton-secundario {
	background: #fff;
	color: #2c5f2d;
	border: 1px solid #2c5f2d;
}

.ce-boton-secundario:hover {
	background: #f4f8f4;
}

.ce-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ce-situacion {
	font-style: italic;
	border-left: 3px solid #2c5f2d;
	padding: 4px 0 4px 14px;
	margin-bottom: 20px;
}

.ce-situacion p {
	margin: 0 0 10px;
}

.ce-situacion p:last-child {
	margin-bottom: 0;
}

.ce-mision-imagen {
	margin: 0 0 18px;
}

.ce-mision-imagen img {
	display: block;
	width: 100%;
	max-height: 280px;
	object-fit: cover;
	border-radius: 8px;
}

.ce-pregunta {
	margin: 4px 0 14px;
	font-size: 16px;
}

.ce-opciones {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 18px;
}

.ce-opcion {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14.5px;
	line-height: 1.45;
}

.ce-opcion:hover {
	border-color: #2c5f2d;
	background: #f8faf8;
}

.ce-opcion input[type="radio"] {
	margin-top: 3px;
	flex-shrink: 0;
}

.ce-form-decision .ce-boton {
	width: 100%;
}

.ce-feedback-caja h3 {
	margin-bottom: 16px;
}

.ce-feedback {
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 18px;
	background: #f6f7f7;
	border-left: 4px solid #d0d5d9;
}

.ce-feedback-correcto {
	background: #eaf5ea;
	border-left-color: #2c5f2d;
}

.ce-feedback-incorrecto {
	background: #fbeaea;
	border-left-color: #a8331e;
}

.ce-feedback-titulo {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 8px;
}

.ce-feedback-correcto .ce-feedback-titulo {
	color: #2c5f2d;
}

.ce-feedback-incorrecto .ce-feedback-titulo {
	color: #a8331e;
}

.ce-feedback-tu-respuesta,
.ce-feedback-correcta {
	font-size: 13.5px;
	margin-bottom: 6px;
}

.ce-feedback-explicacion {
	margin-top: 10px;
	margin-bottom: 0;
	font-size: 14px;
}

.ce-nota {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 8px;
}

.ce-nota-numero {
	font-size: 40px;
	font-weight: 700;
	color: #2c5f2d;
	line-height: 1;
}

.ce-nota-sobre {
	font-size: 18px;
	color: #50575e;
	font-weight: 600;
}

.ce-nota-destacada .ce-nota-numero {
	font-size: 48px;
}

.ce-nota-detalle {
	font-size: 13.5px;
	color: #50575e;
}

.ce-resumen-bloque {
	text-align: center;
}

.ce-resumen-bloque .ce-nota {
	justify-content: center;
}

.ce-tabla-wrap {
	overflow-x: auto;
}

.ce-tabla-bloques {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
	margin: 6px 0 4px;
}

.ce-tabla-bloques td {
	text-align: left;
	padding: 8px 6px;
	border-bottom: 1px solid #eee;
}

.ce-cierre {
	max-width: 640px;
}

@media (min-width: 900px) {
	.ce-cierre {
		max-width: 760px;
	}
}

@media (min-width: 1200px) {
	.ce-cierre {
		max-width: 880px;
	}
}

.ce-error-caja {
	border-left: 4px solid #a8331e;
	background: #f6f7f7;
	border-radius: 0 6px 6px 0;
	padding: 12px 16px;
	margin-bottom: 14px;
}

.ce-error-mision {
	font-weight: 700;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #50575e;
	margin-bottom: 6px !important;
}

.ce-error-pregunta {
	font-weight: 600;
	margin-bottom: 8px !important;
}

.ce-error-retro {
	margin-top: 8px !important;
	margin-bottom: 0 !important;
	font-size: 13.5px;
}

.ce-form-reintentar {
	margin: 4px 0 20px;
}

.ce-opciones-cierre {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 4px 0 6px;
}

.ce-opciones-cierre form {
	margin: 0;
}

.ce-caso-pdf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin: 0 0 18px;
	padding: 10px 14px;
	background: #fdf6e3;
	border-left: 4px solid #d4a017;
	border-radius: 6px;
}

.ce-caso-pdf p {
	flex: 1 1 220px;
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #7a5c0d;
}

.ce-caso-pdf a {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12.5px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: #d4a017;
	border-radius: 20px;
	padding: 7px 14px;
	white-space: nowrap;
}

.ce-caso-pdf a:hover {
	background: #b6890f;
}

/* ------------------------------------------------------------------ */
/* Responsive — pantallas angostas (celular)                          */
/* ------------------------------------------------------------------ */

@media (max-width: 560px) {
	.ce-caja {
		margin: 12px 0;
		padding: 20px 18px;
		border-radius: 8px;
	}

	.ce-caja h3 {
		font-size: 18px;
	}

	.ce-form-entrada {
		flex-direction: column;
		align-items: stretch;
	}

	.ce-form-entrada .ce-boton {
		width: 100%;
	}

	.ce-opciones-cierre {
		flex-direction: column;
		align-items: stretch;
	}

	.ce-opciones-cierre .ce-boton {
		width: 100%;
		text-align: center;
	}

	.ce-form-reintentar .ce-boton {
		width: 100%;
	}

	.ce-caso-pdf {
		flex-direction: column;
		align-items: stretch;
		text-align: left;
	}

	.ce-caso-pdf a {
		justify-content: center;
	}

	.ce-nota-numero {
		font-size: 34px;
	}

	.ce-nota-destacada .ce-nota-numero {
		font-size: 40px;
	}
}
