/* ==========================================================================
   page-back-office-roles.css — Back-Office Outsourcing (page-specific)
   Depends on: style.css → lp-base.css → page-service-landing.css
   Scope: only enqueued on page-back-office-roles.php.

   Sections 2, 3, 4 and 5 (Hidden Cost, Services, Confidentiality, How We
   Build Your Team) are unique to this page — they deliberately don't reuse
   .svc-benefits / .svc-steps (shared with Staffing Solutions) so this page
   reads as its own thing, not a reskin of the others.

   The hero (.bo-hero) is ALSO standalone, not .svc-hero — it's a height
   trial (height = 100vh minus the header, not min-height:100vh). If it
   works out it gets replicated elsewhere on request, not before.
   ========================================================================== */

/* ═══════════════════════════════════════════════════════════════════════════
   ⚠️ TEMPORAL — trabajando la página sección por sección. Deja solo el
   hero visible. Sacar este bloque cuando terminemos de revisar todas.
   ═══════════════════════════════════════════════════════════════════════════ */
.bo-confidentiality,
.bo-team,
.cmp-table,
.bo-stats,
.col-testi,
.col-faq,
.cta-form,
.fcta {
	display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 1 — HERO (standalone, .bo-hero)
   Matches the "Nearshore Staffing" reference exactly: centered content,
   pure gradient background (no photo), no badges row. Height mechanic
   unchanged from the earlier trial — a hard height of (100vh - header),
   not min-height:100vh, since .nw-main already reserves that space above.
   ═══════════════════════════════════════════════════════════════════════════ */
.bo-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;
	justify-content: center;
	overflow: hidden;
	text-align: center;
	background:
		radial-gradient(ellipse 90% 70% at 50% 15%, #0d2847 0%, #061428 40%, #02060C 100%);
	padding-block: 48px;
}

.bo-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%);
}

.bo-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 700px;
	margin-inline: auto;
}

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

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

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

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

.bo-hero__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

/* No icon on this ghost button (unlike the primary) — .lp-btn's default
   padding (7px 7px 7px 22px) is lopsided for icon-less use, tighten the
   right side to match. */
.bo-hero__btns .lp-btn--ghost {
	padding-right: 22px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 2 — THE HIDDEN COST (4 symptom cards)
   ═══════════════════════════════════════════════════════════════════════════ */
.bo-cost {
	background: #f8fafc;
	padding-block: 80px;
	text-align: center;
}

.bo-cost__title {
	font-size: clamp(1.9rem, 2.8vw, 2.4rem);
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
	letter-spacing: -.3px;
	max-width: 640px;
	margin: 0 auto 40px;
}

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

.bo-cost__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	max-width: 900px;
	margin: 0 auto;
}

.bo-cost__card {
	background: #fff;
	border: 1px solid #e5e8ec;
	border-radius: 12px;
	padding: 22px 18px;
	text-align: left;
}

.bo-cost__card svg { width: 26px; height: 26px; color: #0a8fbf; margin-bottom: 14px; }
.bo-cost__card p { font-size: .875rem; font-weight: 700; color: #0f172a; margin: 0; }

@media (max-width: 900px) {
	.bo-cost__grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 3 — SERVICES (dark)
   Desktop: 100vh - header · Tablet: 70vh (same as Industries) · Mobile:
   pending, decide alongside the content.
   ═══════════════════════════════════════════════════════════════════════════ */
.bo-services {
	height: calc(100vh - var(--nw-header-h, 124px));
	background: var(--nw-navy);
	padding-block: 80px;
	text-align: center;
}

@media (min-width: 681px) and (max-width: 1024px) {
	.bo-services {
		height: 70vh;
		height: 70svh;
	}
}

.bo-services__title {
	font-size: clamp(1.9rem, 2.8vw, 2.4rem);
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
	letter-spacing: -.3px;
	margin: 0 auto 40px;
}

.bo-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.bo-services__card {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 12px;
	padding: 24px 20px;
	text-align: left;
	transition: border-color .25s ease, transform .25s ease;
}

.bo-services__card:hover {
	border-color: rgba(0, 180, 216, .35);
	transform: translateY(-4px);
}

.bo-services__card svg {
	width: 26px;
	height: 26px;
	color: var(--nw-cyan);
	margin-bottom: 14px;
}

.bo-services__card-title {
	font-size: .9375rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 4px;
}

.bo-services__card-desc {
	font-size: .8125rem;
	color: rgba(255, 255, 255, .55);
	margin: 0;
}

.bo-services__card--accent {
	background: rgba(0, 180, 216, .08);
	border-color: rgba(0, 180, 216, .3);
}

.bo-services__card--accent .bo-services__card-title { color: var(--nw-cyan); }
.bo-services__card--accent .bo-services__card-desc { color: rgba(255, 255, 255, .7); }


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 4 — CONFIDENTIALITY & DATA SECURITY (light)
   ═══════════════════════════════════════════════════════════════════════════ */
.bo-confidentiality {
	background: #f8fafc;
	padding-block: 80px;
}

.bo-confidentiality__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.bo-confidentiality__title {
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
	letter-spacing: -.3px;
	margin: 0 0 14px;
}

.bo-confidentiality__desc {
	font-size: .9375rem;
	color: #4a5568;
	line-height: 1.7;
	margin: 0;
	max-width: 420px;
}

.bo-confidentiality__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.bo-confidentiality__badge {
	background: #fff;
	border: 1px solid #e5e8ec;
	border-radius: 12px;
	padding: 22px 18px;
	text-align: center;
}

.bo-confidentiality__badge svg {
	width: 28px;
	height: 28px;
	color: #0a8fbf;
	margin-bottom: 12px;
}

.bo-confidentiality__badge p {
	font-size: .8125rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 5 — HOW WE BUILD YOUR TEAM (dark, 3 steps)
   ═══════════════════════════════════════════════════════════════════════════ */
.bo-team {
	background: var(--nw-navy);
	padding-block: 80px;
	text-align: center;
}

.bo-team__title {
	font-size: clamp(1.9rem, 2.8vw, 2.4rem);
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
	letter-spacing: -.3px;
	margin: 0 auto 40px;
}

.bo-team__track {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 800px;
	margin: 0 auto;
}

.bo-team__step {
	flex: 1;
	background: rgba(255, 255, 255, .04);
	border-radius: 12px;
	padding: 22px 16px;
}

.bo-team__num {
	display: block;
	font-size: .8125rem;
	font-weight: 800;
	color: var(--nw-cyan);
	margin-bottom: 6px;
}

.bo-team__step p {
	font-size: .875rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
}

.bo-team__arrow {
	width: 18px;
	height: 18px;
	color: rgba(255, 255, 255, .3);
	flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   STATS STRIP — sits directly above Testimonials, reads as one section
   with it (no border/gap between them) rather than its own chapter.
   ═══════════════════════════════════════════════════════════════════════════ */
.bo-stats {
	background: #fff;
	padding-top: 56px;
}

.bo-stats__inner {
	display: flex;
	justify-content: center;
	gap: 56px;
	flex-wrap: wrap;
	text-align: center;
}

.bo-stats__item { display: flex; flex-direction: column; gap: 4px; }

.bo-stats__num {
	font-size: 1.75rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1;
}

.bo-stats__label {
	font-size: .75rem;
	color: #6b7280;
}


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

	.bo-confidentiality__inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	.bo-hero {
		height: calc(100svh - var(--nw-header-h, 68px));
		min-height: 420px;
	}

	.bo-cost,
	.bo-services,
	.bo-confidentiality,
	.bo-team {
		padding-block: 32px;
	}

	/* Mobile eyebrow/h2/text convention, matching what we standardized
	   on Remote Talent (.svc-savings__eyebrow/__title/__desc) — same
	   values here so both pages read consistently at this breakpoint.
	   Keep reusing these 3 numbers (.75rem / 1.9rem / .9375rem) on any
	   future page's mobile section headers. */
	.bo-cost__title {
		font-size: 1.9rem;
	}

	.bo-cost__grid {
		grid-template-columns: 1fr;
	}

	.bo-services__grid,
	.bo-confidentiality__grid {
		grid-template-columns: 1fr;
	}

	.bo-team__track {
		flex-direction: column;
	}

	.bo-team__arrow {
		transform: rotate(90deg);
	}

	.bo-stats__inner {
		gap: 28px;
	}
}
