/* ==========================================================================
   page-service-landing.css — Shared layout for single-service landing pages
   Used by: page-staffing-solutions.php, page-remote-talent.php,
            page-back-office-roles.php (and any future service landing page)
   Depende de: style.css → lp-base.css
   Prefijo: svc-
   ========================================================================== */

/* html/body overflow-x:hidden (global, style.css) breaks position:sticky — scoped fix */
body.page-template-page-staffing-solutions-php,
body.page-template-page-remote-talent-php,
body.page-template-page-back-office-roles-php {
	overflow-x: visible;
}

html:has(body.page-template-page-staffing-solutions-php),
html:has(body.page-template-page-remote-talent-php),
html:has(body.page-template-page-back-office-roles-php) {
	overflow-x: visible;
}


/* ── SCROLL REVEAL ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
	.lp-fade-up {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity .55s ease-out, transform .55s ease-out;
	}
	.lp-fade-up.is-visible { opacity: 1; transform: none; }

	.lp-fade-right {
		opacity: 0;
		transform: translateX(-32px);
		transition: opacity .6s ease-out, transform .6s ease-out;
	}
	.lp-fade-right.is-visible { opacity: 1; transform: none; }

	.lp-fade-left {
		opacity: 0;
		transform: translateX(32px);
		transition: opacity .6s ease-out, transform .6s ease-out;
	}
	.lp-fade-left.is-visible { opacity: 1; transform: none; }

	.svc-benefits__grid .svc-benefit:nth-child(2) { transition-delay: 100ms; }
	.svc-benefits__grid .svc-benefit:nth-child(3) { transition-delay: 200ms; }
	.svc-benefits__grid .svc-benefit:nth-child(4) { transition-delay: 300ms; }
	.svc-benefits__grid .svc-benefit:nth-child(5) { transition-delay: 400ms; }
	.svc-benefits__grid .svc-benefit:nth-child(6) { transition-delay: 500ms; }
}
@media (prefers-reduced-motion: reduce) {
	.lp-fade-up,
	.lp-fade-right,
	.lp-fade-left { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 1 — HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-hero {
	position: relative;
	height: calc(100vh - var(--nw-header-h, 124px));
	height: calc(100svh - var(--nw-header-h, 124px));
	min-height: 480px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #02060C;
	padding-block: 48px;
}

.svc-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--nw-cyan) 30%, rgba(0,180,216,.35) 65%, transparent 100%);
}

.svc-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image:
		radial-gradient(ellipse 60% 50% at 12% 20%, rgba(0,180,216,.09) 0%, transparent 60%),
		radial-gradient(ellipse 40% 40% at 85% 80%, rgba(0,180,216,.05) 0%, transparent 55%);
}

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

.svc-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 12, 0.75);
	z-index: 1;
}

.svc-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 700px;
}

.svc-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;
}

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

.svc-hero__title {
	font-size: clamp(2.4rem, 4.5vw, 3.8rem);
	font-weight: 900;
	color: #fff !important;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 22px;
}

.svc-hero__title em {
	color: var(--nw-cyan);
	font-style: normal;
}

.svc-hero__sub {
	font-size: 1.05rem;
	color: rgba(255,255,255,.78);
	line-height: 1.7;
	max-width: 560px;
	margin: 0 0 32px;
}

.svc-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-bottom: 36px;
}

.svc-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .875rem;
	font-weight: 600;
	color: rgba(255,255,255,.85);
}

.svc-hero__badge svg {
	width: 15px;
	height: 15px;
	stroke: var(--nw-cyan);
	fill: none;
	flex-shrink: 0;
}

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


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 2 — STATS BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-stats {
	background: var(--nw-navy);
	border-top: 1px solid rgba(255,255,255,.06);
	padding-block: 40px;
}

.svc-stats__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}

.svc-stats__num {
	display: block;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 900;
	color: var(--nw-cyan);
	line-height: 1;
	margin-bottom: 8px;
}

.svc-stats__label {
	font-size: .8125rem;
	font-weight: 600;
	color: rgba(255,255,255,.65);
	line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 3 — BENEFITS GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-benefits {
	background: #f8fafc;
	padding-block: 88px;
}

.svc-benefits__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 52px;
}

.svc-benefits__title {
	font-size: clamp(1.9rem, 2.8vw, 2.6rem);
	font-weight: 800;
	color: #0f172a;
	line-height: 1.15;
	letter-spacing: -.3px;
	margin-bottom: 14px;
}

.svc-benefits__title em {
	color: var(--nw-cyan);
	font-style: normal;
}

.svc-benefits__sub {
	font-size: .9375rem;
	color: #6b7280;
	line-height: 1.75;
}

.svc-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.svc-benefit {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 32px 28px;
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.svc-benefit__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.svc-benefit__icon svg {
	width: 48px;
	height: 48px;
	stroke: var(--nw-cyan);
	fill: none;
}

.svc-benefit__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 10px;
}

.svc-benefit__desc {
	font-size: .875rem;
	color: #6b7280;
	line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 4 — HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-steps {
	background: #fff;
	padding-block: 88px;
}

.svc-steps__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 52px;
}

.svc-steps__title {
	font-size: clamp(1.9rem, 2.8vw, 2.6rem);
	font-weight: 800;
	color: #0f172a;
	line-height: 1.15;
	letter-spacing: -.3px;
	margin-bottom: 14px;
}

.svc-steps__title em {
	color: var(--nw-cyan);
	font-style: normal;
}

.svc-steps__sub {
	font-size: .9375rem;
	color: #6b7280;
	line-height: 1.75;
}

.svc-steps__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.svc-step {
	position: relative;
	padding: 28px 24px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
}

.svc-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--nw-navy);
	color: var(--nw-cyan);
	font-size: 1.0625rem;
	font-weight: 800;
	margin-bottom: 18px;
}

.svc-step__title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 8px;
}

.svc-step__desc {
	font-size: .875rem;
	color: #6b7280;
	line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 5 — FINAL CTA + FORM
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-cta {
	position: relative;
	background: var(--nw-navy);
	padding-block: 88px;
	overflow: hidden;
}

.svc-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		radial-gradient(ellipse 50% 60% at 90% 10%, rgba(0,180,216,.10) 0%, transparent 60%);
}

.svc-cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.svc-cta__eyebrow {
	display: inline-block;
	font-size: .75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .22em;
	color: var(--nw-cyan);
	margin-bottom: 16px;
}

.svc-cta__title {
	font-size: clamp(1.8rem, 2.8vw, 2.4rem);
	font-weight: 800;
	color: #fff !important;
	line-height: 1.15;
	letter-spacing: -.3px;
	margin-bottom: 16px;
}

.svc-cta__title em {
	color: var(--nw-cyan) !important;
	font-style: normal;
}

.svc-cta__desc {
	font-size: .9375rem;
	color: rgba(255,255,255,.65);
	line-height: 1.75;
	margin-bottom: 28px;
}

.svc-cta__list {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.svc-cta__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .9375rem;
	color: rgba(255,255,255,.85);
}

.svc-cta__list svg {
	width: 18px;
	height: 18px;
	stroke: var(--nw-cyan);
	fill: none;
	flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
	.svc-benefits__grid { grid-template-columns: repeat(2, 1fr); }
	.svc-steps__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.svc-stats__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.svc-cta__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
	.svc-hero,
	.svc-stats,
	.svc-benefits,
	.svc-steps,
	.svc-cta { padding-block: 56px; }

	.svc-hero {
		height: calc(100svh - var(--nw-header-h, 68px));
		min-height: 420px;
		padding-block: 0;
	}

	.svc-benefits__grid,
	.svc-steps__grid { grid-template-columns: 1fr; }

	.svc-stats__inner { grid-template-columns: 1fr 1fr; }
}
