/* =============================================
   PAGE: TRABAJA CON NOSOTROS
   ============================================= */

/* ── Hero ─────────────────────────────────────── */
.trb-hero {
	position: relative;
	min-height: 360px;
	display: flex;
	align-items: center;
	background: linear-gradient(130deg, rgba(10, 35, 66, 0.88) 0%, rgba(31, 119, 180, 0.70) 100%),
		var(--trb-bg, none) center / cover no-repeat;
	overflow: hidden;
}

.trb-hero__deco {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.trb-hero__deco--1 {
	width: 420px;
	height: 420px;
	top: -120px;
	right: -60px;
	background: rgba(255, 191, 0, 0.06);
}

.trb-hero__deco--2 {
	width: 260px;
	height: 260px;
	bottom: -80px;
	left: 35%;
	background: rgba(255, 255, 255, 0.04);
}

.trb-hero__inner {
	position: relative;
	z-index: 1;
	padding: 5rem 0;
}

.trb-hero__label {
	display: inline-block;
	padding: 0.375rem 1rem;
	background: rgba(255, 191, 0, 0.12);
	border: 1px solid rgba(255, 191, 0, 0.35);
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #FFBF00;
	margin-bottom: 1.25rem;
}

.trb-hero__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	margin: 0 0 1.25rem;
	max-width: 680px;
}

.trb-hero__sub {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.8);
	max-width: 560px;
	line-height: 1.65;
	margin: 0;
}

/* ── Intro ────────────────────────────────────── */
.trb-intro {
	padding: 5rem 0 4rem;
	text-align: center;
}

.trb-intro__text {
	max-width: 740px;
	margin: 0 auto;
	font-size: 1.0625rem;
	color: #4B5563;
	line-height: 1.8;
}

.trb-intro__text + .trb-intro__text {
	margin-top: 1.25rem;
}

/* ── Why section ──────────────────────────────── */
.trb-why {
	background: #F4F6F9;
	padding: 5rem 0;
}

.trb-why__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #0A2342;
	text-align: center;
	margin: 0 0 3rem;
}

.trb-why__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.trb-why-card {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	background: #fff;
	border-radius: 14px;
	padding: 1.875rem;
	border: 1px solid #E5E7EB;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.trb-why-card:hover {
	box-shadow: 0 8px 28px rgba(10, 35, 66, 0.1);
	transform: translateY(-3px);
}

.trb-why-card__icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #0A2342;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFBF00;
}

.trb-why-card__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	color: #0A2342;
	margin: 0 0 0.5rem;
}

.trb-why-card__text {
	font-size: 0.9375rem;
	color: #4B5563;
	line-height: 1.65;
	margin: 0;
}

/* ── Process ──────────────────────────────────── */
.trb-process {
	padding: 5rem 0;
	background: #fff;
}

.trb-process__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #0A2342;
	text-align: center;
	margin: 0 0 0.75rem;
}

.trb-process__sub {
	text-align: center;
	font-size: 1rem;
	color: #4B5563;
	margin: 0 0 3.5rem;
}

.trb-steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	position: relative;
}

/* Connector line between step circles */
.trb-steps::before {
	content: '';
	position: absolute;
	top: 26px;
	left: calc(10% + 1px);
	right: calc(10% + 1px);
	height: 2px;
	background: linear-gradient(to right, #FFBF00, #1F77B4);
	z-index: 0;
}

.trb-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 0.75rem;
	position: relative;
	z-index: 1;
}

.trb-step__num {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #0A2342;
	color: #FFBF00;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	border: 3px solid #fff;
	box-shadow: 0 0 0 2px #0A2342;
	flex-shrink: 0;
}

.trb-step__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0A2342;
	margin: 0 0 0.5rem;
	line-height: 1.25;
}

.trb-step__text {
	font-size: 0.8125rem;
	color: #4B5563;
	line-height: 1.6;
	margin: 0;
}

/* ── Culture / Values ─────────────────────────── */
.trb-culture {
	background: #F4F6F9;
	padding: 5rem 0;
}

.trb-culture__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #0A2342;
	text-align: center;
	margin: 0 0 3rem;
}

.trb-culture__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.trb-val-card {
	background: #fff;
	border-radius: 14px;
	padding: 1.75rem 1.5rem;
	border: 1px solid #E5E7EB;
	text-align: center;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.trb-val-card:hover {
	box-shadow: 0 8px 24px rgba(10, 35, 66, 0.09);
	transform: translateY(-3px);
}

.trb-val-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(10, 35, 66, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	color: #0A2342;
}

.trb-val-card__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #0A2342;
	margin: 0 0 0.625rem;
}

.trb-val-card__text {
	font-size: 0.875rem;
	color: #4B5563;
	line-height: 1.65;
	margin: 0;
}

/* ── Apply CTA ────────────────────────────────── */
.trb-apply {
	background: #0A2342;
	padding: 5rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.trb-apply::before {
	content: '';
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: rgba(255, 191, 0, 0.05);
	top: -200px;
	left: -100px;
	pointer-events: none;
}

.trb-apply__title {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 700;
	color: #fff;
	margin: 0 0 1rem;
	position: relative;
}

.trb-apply__body {
	max-width: 560px;
	margin: 0 auto 0.75rem;
	color: rgba(203, 213, 225, 0.85);
	font-size: 1.0625rem;
	line-height: 1.75;
	position: relative;
}

.trb-apply__sub {
	font-size: 1rem;
	color: #FFBF00;
	margin: 0 0 2.5rem;
	font-weight: 500;
	position: relative;
}

.trb-apply__btn {
	display: inline-block;
	padding: 0.9rem 2.25rem;
	background: #FFBF00;
	color: #0A2342;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.9375rem;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
	position: relative;
}

.trb-apply__btn:hover {
	background: #e6ac00;
	transform: translateY(-2px);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
	.trb-culture__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.trb-hero__inner {
		padding: 4rem 0;
	}

	.trb-why__grid {
		grid-template-columns: 1fr;
	}

	.trb-steps {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.trb-steps::before {
		display: none;
	}

	.trb-step {
		flex-direction: row;
		text-align: left;
		align-items: flex-start;
		padding: 0 0 2rem;
		gap: 1.25rem;
	}

	.trb-step:last-child {
		padding-bottom: 0;
	}

	.trb-step__num {
		margin-bottom: 0;
		flex-shrink: 0;
	}

	.trb-culture__grid {
		grid-template-columns: 1fr;
	}

	.trb-val-card {
		text-align: left;
		display: flex;
		gap: 1rem;
		align-items: flex-start;
		padding: 1.25rem 1.25rem;
	}

	.trb-val-card__icon {
		margin: 0;
		flex-shrink: 0;
	}

	.trb-val-card__body {
		flex: 1;
	}
}

@media (max-width: 480px) {
	.trb-why-card {
		padding: 1.375rem;
	}
}
