/* ==========================================================================
   lp-base.css — Landing Page Design System
   NextWave BPO · Capa compartida para todas las landing pages de servicios.
   Depende de: style.css (tokens --nw-* ya definidos en :root)
   Prefijo de clases: lp-
   ========================================================================== */


/* ── 1. DESIGN TOKENS ────────────────────────────────────────────────────── */
:root {
	/* Typography scale */
	--lp-h1:       clamp(3rem, 6vw, 5.5rem);      /* Hero titles        */
	--lp-h2:       clamp(1.8rem, 3.5vw, 2.6rem);  /* Section titles     */
	--lp-h3:       clamp(1.1rem, 2vw, 1.35rem);   /* Card / sub titles  */
	--lp-h4:       1rem;                           /* Labels / overlines */

	--lp-text-xs:  0.6875rem;   /* 11px  — legal, captions    */
	--lp-text-sm:  0.75rem;     /* 12px  — secondary text     */
	--lp-text-base:0.9375rem;   /* 15px  — body copy          */
	--lp-text-md:  1rem;        /* 16px  — lead copy          */
	--lp-text-lg:  1.125rem;    /* 18px  — form card titles   */

	/* Line-height */
	--lp-leading-tight:   1.1;
	--lp-leading-heading: 1.15;
	--lp-leading-body:    1.81;

	/* Spacing scale */
	--lp-space-2xs: 4px;
	--lp-space-xs:  8px;
	--lp-space-sm:  12px;
	--lp-space-md:  16px;
	--lp-space-lg:  24px;
	--lp-space-xl:  32px;
	--lp-space-2xl: 48px;
	--lp-space-3xl: 72px;
	--lp-space-4xl: 100px;

	/* Section vertical padding — standard */
	--lp-section-pad: 80px;

	/* Border radius */
	--lp-radius-xs:  6px;
	--lp-radius-sm:  10px;
	--lp-radius-md:  14px;
	--lp-radius-lg:  20px;
	--lp-radius-pill:999px;

	/* Text colors — dark backgrounds */
	--lp-text-primary:   #ffffff;
	--lp-text-secondary: rgba(255, 255, 255, .75);
	--lp-text-muted:     rgba(255, 255, 255, .50);
	--lp-text-faint:     rgba(255, 255, 255, .35);

	/* Text colors — light backgrounds */
	--lp-text-dark:      #111827;
	--lp-text-body:      #374151;
	--lp-text-gray:      #6b7280;
	--lp-text-light:     #9ca3af;

	/* Borders */
	--lp-border-soft:    rgba(255, 255, 255, .07);
	--lp-border-cyan:    rgba(0, 180, 216, .18);
	--lp-border-light:   #e5e7eb;

	/* Motion */
	--lp-transition-fast: 0.18s ease;
	--lp-transition:      0.25s ease;
}


/* ── 2. LAYOUT PRIMITIVES ────────────────────────────────────────────────── */

/* Container */
.lp-container {
	width: 100%;
	max-width: var(--nw-max-w, 1180px);
	margin-inline: auto;
	padding-inline: var(--nw-gutter, 32px);
}

/* Section base — wraps every page section */
.lp-section {
	padding-block: var(--lp-section-pad);
}
.lp-section--dark  { background: var(--nw-navy); }
.lp-section--light { background: #f8fafc; }
.lp-section--white { background: #ffffff; }


/* ── 3. TYPOGRAPHY ───────────────────────────────────────────────────────── */

/*
   SCALE REFERENCE (use !important only to beat theme globals):
   ─────────────────────────────────────────────
   Hero H1       → var(--lp-h1)      ≈ 38–64px
   Section H2    → var(--lp-h2)      ≈ 29–42px
   Card H3       → var(--lp-h3)      ≈ 18–22px
   Label / H4    → var(--lp-h4)      = 16px
   Lead copy     → var(--lp-text-md) = 16px
   Body copy     → var(--lp-text-base)= 14px
   Secondary     → var(--lp-text-sm) = 12px
   Caption/legal → var(--lp-text-xs) = 11px
   ─────────────────────────────────────────────
*/

/* Eyebrow — small uppercase label above headings */
.lp-eyebrow {
	display: inline-block;
	font-size: var(--lp-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--nw-cyan);
	margin-bottom: var(--lp-space-xs);
}

/* Section header wrapper (centered) */
.lp-section-header {
	text-align: center;
	margin-bottom: var(--lp-space-2xl);
}

.lp-section-header .lp-section-title { margin-bottom: var(--lp-space-xs); }

/* Section title */
.lp-section-title {
	font-size: var(--lp-h2);
	font-weight: 800;
	color: var(--lp-text-dark) !important;
	line-height: var(--lp-leading-heading);
	letter-spacing: -.3px;
	margin-bottom: var(--lp-space-sm);
}
.lp-section-title em { color: var(--nw-cyan) !important; font-style: normal; }

/* Section title — dark bg variant */
.lp-section-title--light {
	color: var(--lp-text-primary) !important;
}

/* Section subtitle */
.lp-section-sub {
	font-size: var(--lp-text-md);
	color: var(--lp-text-gray);
	line-height: var(--lp-leading-body);
	max-width: 540px;
	margin-inline: auto;
}
.lp-section-sub--dark { color: var(--lp-text-muted); }


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


/* ── 5. BUTTON SYSTEM ────────────────────────────────────────────────────── */
/*
   MARKUP:
   <a class="lp-btn lp-btn--primary">
       <span class="lp-btn__label">Texto</span>
       <span class="lp-btn__icon"><svg>…</svg></span>
   </a>
*/
.lp-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--lp-space-xs);
	padding: 7px 7px 7px 22px;
	border: 2px solid transparent;
	border-radius: var(--lp-radius-pill);
	font-family: inherit;
	font-size: var(--lp-text-base);
	font-weight: 700;
	line-height: 1;
	letter-spacing: .03em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background     var(--lp-transition),
		border-color   var(--lp-transition),
		color          var(--lp-transition),
		transform      var(--lp-transition),
		box-shadow     var(--lp-transition);
}

.lp-btn__label { display: block; }

.lp-btn__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	flex-shrink: 0;
	transition: transform var(--lp-transition), background var(--lp-transition);
}

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

/* Primary — cyan bg, navy text */
.lp-btn--primary {
	background: var(--nw-cyan);
	border-color: var(--nw-cyan);
	color: var(--nw-navy) !important;
}
.lp-btn--primary .lp-btn__icon {
	background: var(--nw-navy);
	color: #fff;
}
.lp-btn--primary:hover {
	background: #00c9e8;
	border-color: #00c9e8;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 180, 216, .35);
}
.lp-btn--primary:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 180, 216, .45);
}

/* Ghost — white border, dark backgrounds */
.lp-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .28);
	color: #fff !important;
}
.lp-btn--ghost .lp-btn__icon {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
}
.lp-btn--ghost:hover {
	background: rgba(255, 255, 255, .05);
	border-color: rgba(0, 180, 216, .55);
	transform: translateY(-2px);
}


/* Universal underlined-text + circular-arrow link. First used in
   page-remote-talent.css (.svc-savings__link) — promoted here so any
   page can reuse it. */
.lp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .875rem;
	font-weight: 700;
	color: #0f172a;
	text-decoration: none;
}

.lp-link-arrow span:first-child {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.lp-link-arrow__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--nw-navy);
	background: var(--nw-navy);
	color: #fff;
	flex-shrink: 0;
	transition: background .2s, color .2s, border-color .2s;
}

.lp-link-arrow:hover .lp-link-arrow__icon {
	background: var(--nw-cyan);
	border-color: var(--nw-cyan);
	color: #fff;
}

/* Light variant — for dark section backgrounds. */
.lp-link-arrow--light {
	color: #fff;
}


/* ── 6. HERO BASE ────────────────────────────────────────────────────────── */
/*
   MARKUP:
   <section class="lp-hero">
       <video class="lp-hero__video" …></video>
       <div class="lp-hero__inner lp-container [page-grid-class]">
           <div class="lp-hero__content">…</div>
           <div class="lp-form-card">…</div>
       </div>
   </section>
*/
.lp-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	background-color: #02060C;
	overflow: hidden;
	padding-top: calc(var(--nw-header-h, 124px) + var(--nw-topbar-h, 48px) + 52px);
	padding-bottom: 100px;
}

/* Cyan line top */
.lp-hero::after {
	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%);
	pointer-events: none;
}

/* Video / image background */
.lp-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	opacity: 0.18;
}

/* Dark uniform overlay */
.lp-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(2, 6, 12, 0.86);
	pointer-events: none;
}

.lp-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

/* Hero typography */
.lp-hero__title {
	font-size: var(--lp-h1);
	font-weight: 900;
	color: #fff !important;
	line-height: 1;
	margin-bottom: var(--lp-space-md);
	letter-spacing: -0.025em;
	text-transform: uppercase;
}
.lp-hero__accent,
.lp-hero__title em {
	display: block;
	color: var(--nw-cyan);
	font-style: normal;
	font-size: 1.25em;
	line-height: 0.95;
}

.lp-hero__sub {
	font-size: var(--lp-text-md);
	color: var(--lp-text-muted);
	line-height: var(--lp-leading-body);
	margin-bottom: var(--lp-space-lg);
	max-width: 460px;
}

.lp-hero__btns {
	display: flex;
	gap: var(--lp-space-sm);
	flex-wrap: wrap;
	margin-bottom: var(--lp-space-lg);
}

.lp-hero__trust { display: flex; align-items: center; gap: var(--lp-space-xs); }
.lp-hero__stars { color: #fbbf24; font-size: var(--lp-text-md); letter-spacing: 2px; }
.lp-hero__trust-text { font-size: var(--lp-text-xs); color: var(--lp-text-faint); }
.lp-hero__trust-text strong { color: var(--lp-text-secondary); }


/* ── 7. FORM CARD ────────────────────────────────────────────────────────── */
.lp-form-card {
	background: #fff;
	border-radius: var(--lp-radius-md);
	padding: 28px 26px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .32);
}
.lp-form-card__title {
	font-size: var(--lp-text-lg);
	font-weight: 800;
	color: var(--lp-text-dark);
	margin-bottom: var(--lp-space-2xs);
}
.lp-form-card__sub {
	font-size: var(--lp-text-xs);
	color: var(--lp-text-gray);
	margin-bottom: var(--lp-space-md);
	line-height: var(--lp-leading-body);
}
.lp-form-card__privacy {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: var(--lp-text-xs);
	color: var(--lp-text-light);
	margin-top: var(--lp-space-xs);
	justify-content: center;
}


/* ── 8. TRUST BAR ────────────────────────────────────────────────────────── */
/*
   MARKUP:
   <div class="lp-trust-bar">
       <div class="lp-container lp-trust-bar__inner">
           <p class="lp-trust-bar__label">…</p>
           <div class="lp-trust-bar__items">
               <div class="lp-trust-item">
                   <div class="lp-trust-item__icon"><svg>…</svg></div>
                   <div><strong>Title</strong><span>Subtitle</span></div>
               </div>
           </div>
       </div>
   </div>
*/
.lp-trust-bar {
	position: relative;
	z-index: 10;
	margin-top: -38px;
}

.lp-trust-bar__inner {
	background: rgba(7, 17, 31, .55);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid var(--lp-border-soft);
	border-radius: var(--lp-radius-lg);
	box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
	padding: 32px 32px;
	display: flex;
	align-items: center;
	gap: 0;
}

.lp-trust-bar__label {
	font-size: var(--lp-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--lp-text-secondary);
	line-height: 1.35;
	white-space: normal;
	max-width: 140px;
	flex-shrink: 0;
	padding-right: 28px;
	margin-right: 28px;
	border-right: 1px solid rgba(255, 255, 255, .12);
}

.lp-trust-bar__items {
	display: flex;
	gap: 0;
	flex: 1;
	justify-content: space-between;
}

.lp-trust-item {
	display: flex;
	align-items: center;
	gap: var(--lp-space-sm);
	padding: 0 24px;
	border-right: 1px solid var(--lp-border-soft);
}
.lp-trust-item:last-child { border-right: none; padding-right: 0; }
.lp-trust-item:first-child { padding-left: 0; }

.lp-trust-item__icon {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #fff;
}
.lp-trust-item__icon svg { width: 100%; height: 100%; }

.lp-trust-item strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--lp-text-secondary);
	letter-spacing: .01em;
	line-height: 1.2;
}
.lp-trust-item span {
	display: block;
	font-size: 11px;
	font-weight: 400;
	color: rgba(239, 239, 255, .55);
	line-height: 1.2;
	margin-top: 2px;
}
