/* ==========================================================================
   page-remote-talent-hero-v2.css — Hero V2 (Remote Talent)
   Completamente independiente: NO reutiliza .svc-hero / .lp-btn / etc.
   Solo depende de style.css (variables --nw-cyan, --nw-header-h).
   Prefijo exclusivo: rt2-
   ========================================================================== */

.rt2-hero {
	position: relative;
	overflow: hidden;
	background: #0a141e;
	height: 100vh;
	height: 100svh;
	min-height: 640px;
}

/* Centrado real: este div queda exactamente en la mitad de la altura
   de la sección (sin depender de ningún padding-top/bottom), y su
   ancho es el mismo contenedor de layout que usa el resto del sitio. */
.rt2-hero > .lp-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	z-index: 2;
}

.rt2-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	z-index: 0;
}

.rt2-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(6,14,24,.35) 0%, rgba(6,14,24,.55) 100%);
}

.rt2-hero__split {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	align-items: center;
	gap: 40px;
	width: 100%;
}

.rt2-hero__content {
	max-width: 560px;
}

.rt2-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .22em;
	color: var(--nw-cyan);
	margin-bottom: 22px;
}

.rt2-hero__eyebrow::before {
	content: '';
	display: block;
	width: 28px;
	height: 2px;
	background: var(--nw-cyan);
}

.rt2-hero__title {
	/* !important: Elementor's global kit ships its own `.elementor-kit-678 h1`
	   rule (class + element = higher specificity than our single class),
	   including its own breakpoints — it silently wins over this rule at
	   every width unless forced. */
	font-size: 58px !important;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: -0.025em;
	color: #fff !important;
	max-width: 560px;
	margin: 0 0 22px;
}

.rt2-hero__title em {
	display: block;
	font-style: normal;
	font-size: 1.25em;
	line-height: .95;
	color: var(--nw-cyan);
}

.rt2-hero__sub {
	font-size: 1rem;
	line-height: 1.81;
	color: rgba(255, 255, 255, .8);
	max-width: 460px;
	margin: 0 0 28px;
}

.rt2-hero__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ── Buttons — propios, no comparten con .lp-btn ─────────────────────────── */
.rt2-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 7px 7px 7px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .03em;
	text-decoration: none;
	transition: background .25s ease, border-color .25s ease, color .25s ease,
		transform .25s ease, box-shadow .25s ease;
}

.rt2-btn__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform .25s ease, background .25s ease;
}

.rt2-btn:hover .rt2-btn__icon {
	transform: translateX(3px);
}

.rt2-btn--primary {
	background: var(--nw-cyan);
	border-color: var(--nw-cyan);
	color: var(--nw-navy) !important;
}

.rt2-btn--primary .rt2-btn__icon {
	background: var(--nw-navy);
	color: #fff;
}

.rt2-btn--primary:hover {
	background: #00c9e8;
	border-color: #00c9e8;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 180, 216, .35);
}

.rt2-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .28);
	color: #fff !important;
}

.rt2-btn--ghost .rt2-btn__icon {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
}

.rt2-btn--ghost:hover {
	background: rgba(255, 255, 255, .05);
	border-color: rgba(0, 180, 216, .55);
	transform: translateY(-2px);
}

/* ── Savings calculator card — frosted glass over the photo ─────────────── */
.rt2-calc {
	background: rgba(255, 255, 255, .12);
	border-radius: 16px;
	padding: 32px 28px;
	max-width: 300px;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	color: #fff;

	/* Se estira a la misma altura que la columna de texto (el grid item
	   hermano), en vez de quedar con su alto mínimo de contenido. */
	align-self: stretch;
	display: flex;
	flex-direction: column;
}

.rt2-calc__eyebrow {
	font-size: .6875rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--nw-cyan);
	margin: 0 0 18px;
}

/* Reparte el alto extra (del stretch de arriba) entre los 3 grupos,
   en vez de dejarlo todo pegado arriba. */
.rt2-calc__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.rt2-calc__label {
	display: block;
	font-size: .8125rem;
	color: rgba(255, 255, 255, .75);
	margin-bottom: 8px;
}

.rt2-calc__stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.rt2-calc__stepper-btns {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rt2-calc__step {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box !important;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	max-width: 30px !important;
	min-height: 30px !important;
	max-height: 30px !important;
	flex: 0 0 30px;
	padding: 0 !important;
	margin: 0;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background .18s ease;
}

.rt2-calc__step:hover {
	background: rgba(255, 255, 255, .24);
}

.rt2-calc__emp-out {
	font-size: 1.375rem;
	font-weight: 800;
	min-width: 24px;
	text-align: center;
}

.rt2-calc__salary-out {
	font-size: 1.375rem;
	font-weight: 800;
	margin: 2px 0 8px;
}

/* Track delgado, thumb (círculo) grande y bien visible — estilizado a mano
   porque accent-color no permite controlar track y thumb por separado. */
.rt2-calc__slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 18px;
	background: transparent;
	margin-bottom: 6px;
	cursor: pointer;
}

.rt2-calc__slider::-webkit-slider-runnable-track {
	height: 3px;
	background: rgba(255, 255, 255, .25);
	border-radius: 2px;
}

.rt2-calc__slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	margin-top: -7.5px;
	border-radius: 50%;
	background: var(--nw-cyan);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.rt2-calc__slider::-moz-range-track {
	height: 3px;
	background: rgba(255, 255, 255, .25);
	border-radius: 2px;
}

.rt2-calc__slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: none;
	border-radius: 50%;
	background: var(--nw-cyan);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.rt2-calc__range-labels {
	display: flex;
	justify-content: space-between;
	font-size: .6875rem;
	color: rgba(255, 255, 255, .55);
}

.rt2-calc__result-label {
	font-size: .6875rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--nw-cyan);
	margin: 0 0 6px;
}

.rt2-calc__result {
	font-size: 2.75rem;
	font-weight: 900;
	color: var(--nw-cyan);
	line-height: 1;
	margin: 0 0 6px;
}

.rt2-calc__result-sub {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .8125rem;
	color: rgba(255, 255, 255, .65);
	margin: 0;
}

.rt2-calc__result-sub svg {
	color: var(--nw-cyan);
	flex-shrink: 0;
}

/* ── Tablet: same 2-col layout as desktop, just proportional. The title's
   font-size is fixed px on desktop (58px) — without this, it stays 58px
   all the way down to 681px, cramped against the calculator card. ───────── */
@media (min-width: 681px) and (max-width: 1024px) {
	/* Desktop's height:100vh assumes a wide/short viewport. On a tall
	   tablet screen (e.g. iPad portrait, 1024×1366) that leaves a huge
	   band of empty background below the content — size to content instead. */
	.rt2-hero {
		height: auto;
		min-height: 0;
		padding-block: calc(var(--nw-header-h, 124px) + 40px) 40px;
	}

	.rt2-hero > .lp-container {
		position: static;
		transform: none;
		top: auto;
		left: auto;
	}

	.rt2-hero__title {
		font-size: clamp(2.25rem, 5vw, 3.25rem) !important;
	}

	.rt2-hero__split {
		gap: 28px;
	}
}

/* ── Mobile: stack — text first, calculator below ───────────────────────── */
@media (max-width: 680px) {
	.rt2-hero {
		height: auto;
		min-height: 0;
		padding-block: calc(var(--nw-header-h, 68px) + 8px) 24px;
	}

	.rt2-hero > .lp-container {
		position: static;
		transform: none;
		top: auto;
		left: auto;
	}

	.rt2-hero__split {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	/* Grid items default to min-width:auto — without this, unbreakable
	   content (the calculator's result number, which grows a lot if the
	   slider/stepper is moved) can force this column wider than the
	   1fr track instead of shrinking/wrapping inside it. */
	.rt2-hero__content,
	.rt2-calc {
		min-width: 0;
	}

	.rt2-hero__title {
		font-size: 1.75rem !important;
		max-width: 100%;
		/* Uppercase headline words ("COLOMBIAN", "ADVANTAGE") can be wider
		   than the viewport on their own — with no way to break, they
		   overflow past the right edge instead of wrapping/shrinking. */
		overflow-wrap: break-word;
		word-break: break-word;
	}

	.rt2-hero__sub {
		max-width: 100%;
	}

	.rt2-calc {
		padding: 24px 22px;
		max-width: 100%;
		/* Second line of defense: don't rely solely on .rt2-hero's
		   overflow:hidden to contain this card — clip locally too. */
		overflow: hidden;
	}

	.rt2-calc__result {
		font-size: clamp(1.75rem, 9vw, 2.75rem);
		overflow-wrap: anywhere;
	}

	.rt2-calc__salary-out {
		overflow-wrap: anywhere;
	}
}
