/* ==========================================================================
   /trabaja-con-nosotros/ — complementos de plataforma.css (prefijo tr-).
   Se carga después de plataforma.css y reutiliza sus componentes
   (.pl-page, .pl-section, .pl-head, .pl-narrow) y los botones del tema.
   ========================================================================== */

.tr-intro { padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }

.tr-title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 5.5vw, 3.2rem);
	line-height: 1.12;
	letter-spacing: -.02em;
}

.tr-lede {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.65;
	color: var(--ink-soft);
}

.tr-vacantes h2,
.tr-final h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	line-height: 1.25;
}

.tr-vacantes p { line-height: 1.7; }

.tr-cta { margin: 1.5rem 0 0; }

/* ---------- Proceso: línea de tiempo vertical (móvil) ---------- */
.tr-steps {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 720px;
}

.tr-steps__item {
	position: relative;
	padding: 0 0 1.75rem 3.25rem;
}

.tr-steps__item:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 1.24rem;
	top: 2.2rem;
	bottom: .25rem;
	width: 2px;
	background: var(--line);
}

.tr-steps__dot {
	position: absolute;
	left: .45rem;
	top: .5rem;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: var(--pl-red);
	box-shadow: 0 0 0 5px var(--paper);
}

.tr-steps__item h3 { margin: .35rem 0 .35rem; font-size: 1.15rem; }
.tr-steps__item p { margin: 0; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Proceso: grilla en escritorio ---------- */
@media (min-width: 56em) {
	.tr-steps {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
		max-width: none;
	}

	.tr-steps__item {
		padding: 1.5rem;
		background: var(--surface);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: var(--shadow-sm);
	}

	.tr-steps__item:not(:last-child)::before { content: none; }

	.tr-steps__dot { display: none; }
}

/* ---------- Beneficios ---------- */
.tr-benefits {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 40em) {
	.tr-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64em) {
	.tr-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.tr-benefit {
	padding: 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.tr-benefit__icon {
	display: block;
	margin-bottom: .5rem;
	font-size: 2.75rem;
	line-height: 1;
}

.tr-benefit h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.tr-benefit p { margin: 0; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Cierre ---------- */
.tr-final { text-align: center; }

.tr-mail {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .5rem .75rem;
	margin-top: 1.5rem;
}

.tr-mail__addr {
	font-size: 1.1rem;
	overflow-wrap: anywhere;
	user-select: all;
}

.tr-mail__btn { padding: .5rem 1.25rem; }

.tr-page .button:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}
