/* ==========================================================================
   Landing — Desarrollo WordPress a Medida
   Diseño claro/editorial. Distinto a la landing de IA (que es oscura).
   Paleta naranja/amarillo corporativa, base luminosa.
   ========================================================================== */

:root {
	--wpl-primary: #FF7A1A;
	--wpl-primary-2: #FFB400;
	--wpl-primary-dark: #E5650E;
	--wpl-primary-soft: rgba(255, 122, 26, 0.08);
	--wpl-grad: linear-gradient(135deg, #FF7A1A 0%, #FFB400 100%);
	--wpl-ink: #14142b;
	--wpl-text: #2c2c3e;
	--wpl-muted: #6a6a7e;
	--wpl-bg: #ffffff;
	--wpl-bg-soft: #faf8f5;
	--wpl-bg-warm: #fff6ec;
	--wpl-border: #ebe9f0;
	--wpl-code-bg: #1a1a2e;
	--wpl-radius: 14px;
	--wpl-radius-lg: 22px;
	--wpl-shadow: 0 18px 50px rgba(20, 20, 43, 0.08);
	--wpl-shadow-sm: 0 6px 20px rgba(20, 20, 43, 0.06);
	--wpl-trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-landing,
.wp-landing * {
	box-sizing: border-box;
}

.wp-landing {
	font-family: 'Nunito Sans', sans-serif;
	color: var(--wpl-text);
	background: var(--wpl-bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.wp-landing a:visited {
	color: inherit;
}

.wp-landing .container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.wp-landing .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.wp-landing [class*="col-"] {
	padding: 0 15px;
	width: 100%;
}

.wp-landing .align-items-center {
	align-items: center;
}

@media (min-width: 992px) {
	.wp-landing .col-lg-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

/* Tipografía base
   -------------------------------------------------------------------------- */
.wp-landing h1:not(.rw-kicker--pill),
.wp-landing h2,
.wp-landing h3 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	color: var(--wpl-ink);
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	line-height: 1.15;
}

.wp-landing p {
	margin: 0 0 1em;
	color: var(--wpl-muted);
}

.wpl-eyebrow {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wpl-primary-dark);
	margin-bottom: 16px;
}

/* Botones
   -------------------------------------------------------------------------- */
.wp-landing .wpl-btn,
.wp-landing a.wpl-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 30px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	border-radius: 10px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--wpl-trans);
}

.wp-landing .wpl-btn--primary {
	background: var(--wpl-grad);
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(255, 122, 26, 0.32);
}

.wp-landing .wpl-btn--primary:hover {
	background: var(--wpl-ink);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(20, 20, 43, 0.25);
}

.wp-landing .wpl-btn--text {
	color: var(--wpl-ink) !important;
	padding-left: 8px;
	padding-right: 8px;
}

.wp-landing .wpl-btn--text:hover {
	color: var(--wpl-primary-dark) !important;
}

.wp-landing .wpl-btn--ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.4);
}

.wp-landing .wpl-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
	transform: translateY(-2px);
}

.wp-landing .wpl-btn--light {
	background: #fff;
	color: var(--wpl-primary-dark) !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.wp-landing .wpl-btn--light:hover {
	background: var(--wpl-ink);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

/* HERO — banner oscuro inmersivo (diseño nuevo)
   -------------------------------------------------------------------------- */
.wpl-hero {
	position: relative;
	padding: 190px 0 120px;
	background: radial-gradient(120% 120% at 80% -10%, #1c1430 0%, var(--wpl-ink) 45%, #0c0c1c 100%);
	color: #fff;
	overflow: hidden;
}

.wpl-hero__mesh {
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 80%;
	background:
		radial-gradient(40% 50% at 20% 30%, rgba(255, 122, 26, 0.38), transparent 60%),
		radial-gradient(35% 45% at 78% 18%, rgba(255, 180, 0, 0.30), transparent 60%),
		radial-gradient(30% 40% at 60% 72%, rgba(255, 122, 26, 0.22), transparent 60%);
	filter: blur(34px);
	opacity: 0.9;
	animation: wplHeroFloat 14s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes wplHeroFloat {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(0, -24px, 0) scale(1.05); }
}

.wpl-hero__grid-deco {
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 54px 54px;
	mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 80%);
	-webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent 80%);
	opacity: 0.5;
	pointer-events: none;
}

.wpl-hero .container {
	position: relative;
	z-index: 3;
}

.wpl-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
	gap: 48px;
	align-items: center;
}

.wpl-hero__copy {
	min-width: 0;
}

.wpl-hero__title {
	font-size: clamp(32px, 3.8vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 22px;
	color: #fff;
}

/* Garantiza visibilidad sobre el hero oscuro (gana al tema padre) */
#wp-landing .wpl-hero__title,
#wp-landing .wpl-hero .wpl-hero__lead,
#wp-landing .wpl-hero__stats strong {
	color: #fff;
}

#wp-landing .wpl-accent {
	color: var(--wpl-primary);
}

.wpl-accent {
	color: var(--wpl-primary);
}

.wpl-hero__title .wpl-accent {
	white-space: normal;
}

.wpl-hero__lead {
	font-size: 19px;
	line-height: 1.6;
	max-width: 640px;
	margin-bottom: 34px;
	color: rgba(255, 255, 255, 0.78);
}

.wpl-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 46px;
}

.wpl-hero__stats {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}

.wpl-hero__stats strong {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
	line-height: 1;
}

.wpl-hero__stats span {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

.wpl-hero__visual {
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-left: 12px;
}

/* Code card del hero */
.wpl-codecard {
	width: 100%;
	max-width: 320px;
	margin-left: auto;
	background: #0e1226;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--wpl-radius);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
	overflow: hidden;
	transform: perspective(1000px) rotateY(-4deg) scale(0.94);
	transition: transform var(--wpl-trans);
}

.wpl-codecard:hover {
	transform: perspective(1000px) rotateY(0deg) scale(0.96);
}

.wpl-codecard__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wpl-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.wpl-dot--r { background: #ff5f57; }
.wpl-dot--y { background: #febc2e; }
.wpl-dot--g { background: #28c840; }

.wpl-codecard__file {
	margin-left: 10px;
	font-family: 'SFMono-Regular', Consolas, monospace;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.5);
}

.wpl-codecard__body {
	margin: 0;
	padding: 18px 20px;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
	font-size: 12px;
	line-height: 1.65;
	color: #e7e7ef;
	overflow-x: auto;
}

.wpl-codecard__body code {
	font-family: inherit;
	background: none;
	padding: 0;
}

.c-c { color: #6a7080; font-style: italic; }
.c-k { color: #ff9d5c; }
.c-f { color: #ffd479; }
.c-s { color: #8ed99a; }

/* STATS
   -------------------------------------------------------------------------- */
.wpl-stats {
	background: var(--wpl-ink);
	padding: 50px 0;
}

.wpl-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	text-align: center;
}

.wpl-stat__num {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 800;
	background: var(--wpl-grad);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	line-height: 1;
	margin-bottom: 10px;
}

.wpl-stat__label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
	.wpl-stats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}
}

/* Secciones genéricas
   -------------------------------------------------------------------------- */
.wpl-section {
	padding: 100px 0;
}

.wpl-section__head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 60px;
}

.wpl-section__title {
	font-size: clamp(28px, 3.4vw, 42px);
	margin-bottom: 18px;
}

.wpl-section__lead {
	font-size: 17px;
	color: var(--wpl-muted);
}

/* SERVICIOS — grid editorial con números grandes
   -------------------------------------------------------------------------- */
.wpl-services {
	background: var(--wpl-bg);
}

.wpl-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--wpl-border);
	border: 1px solid var(--wpl-border);
	border-radius: var(--wpl-radius-lg);
	overflow: hidden;
}

.wpl-service {
	background: var(--wpl-bg);
	padding: 40px 34px;
	transition: background var(--wpl-trans);
	position: relative;
}

.wpl-service:hover {
	background: var(--wpl-bg-warm);
}

.wpl-service__index {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: var(--wpl-primary);
	letter-spacing: 0.05em;
}

.wpl-service__title {
	font-size: 21px;
	margin: 14px 0 12px;
}

.wpl-service p {
	font-size: 15px;
	margin: 0;
}

@media (max-width: 991px) {
	.wpl-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.wpl-services__grid {
		grid-template-columns: 1fr;
	}
}

/* SHOWCASE — banda visual con foto + contenido superpuesto
   -------------------------------------------------------------------------- */
.wpl-showcase {
	position: relative;
	padding: 120px 0;
	margin-bottom: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 460px;
}

.wpl-showcase__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.wpl-showcase__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wpl-showcase__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(20, 20, 43, 0.97) 0%, rgba(20, 20, 43, 0.92) 38%, rgba(20, 20, 43, 0.55) 62%, rgba(255, 122, 26, 0.45) 100%);
}

.wpl-showcase .container {
	position: relative;
	z-index: 1;
}

.wpl-showcase__content {
	max-width: 560px;
}

.wpl-eyebrow--light {
	color: var(--wpl-primary-2);
}

.wp-landing .wpl-showcase__title {
	color: #ffffff;
	font-size: clamp(28px, 3.4vw, 42px);
	margin-bottom: 16px;
}

.wp-landing .wpl-showcase__text {
	color: #ffffff;
	font-size: 17px;
	margin: 0 0 28px;
}

.wpl-showcase__btn {
	margin-top: 4px;
}

/* Badge de código flotante (elemento visual animado) */
.wpl-codebadge {
	position: absolute;
	top: 30%;
	right: 6%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 20px;
	background: var(--wpl-code-bg);
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	z-index: 2;
	font-family: 'SFMono-Regular', Consolas, monospace;
}

.wpl-codebadge__bar {
	display: flex;
	gap: 7px;
}

.wpl-codebadge code {
	font-size: 14px;
	color: #e7e7ef;
	background: none;
	padding: 0;
	white-space: nowrap;
}

@media (max-width: 991px) {
	.wpl-showcase {
		padding: 90px 0;
		min-height: 0;
	}
	.wpl-codebadge {
		display: none;
	}
}

/* SPLIT — texto + checklist
   -------------------------------------------------------------------------- */
.wpl-split {
	background: var(--wpl-bg-soft);
}

.wpl-split__title {
	font-size: clamp(26px, 3vw, 38px);
	margin-bottom: 20px;
}

.wpl-split__text {
	font-size: 16.5px;
	margin-bottom: 16px;
}

.wpl-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpl-checklist li {
	display: flex;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--wpl-border);
}

.wpl-checklist li:last-child {
	border-bottom: none;
}

.wpl-check {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: var(--wpl-grad);
	color: #fff;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
}

.wpl-checklist strong {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	color: var(--wpl-ink);
	margin-bottom: 4px;
}

.wpl-checklist div {
	font-size: 14.5px;
	color: var(--wpl-muted);
}

/* PROCESO — timeline horizontal con línea conectora
   -------------------------------------------------------------------------- */
.wpl-process {
	background: var(--wpl-bg);
}

.wpl-timeline {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	position: relative;
}

.wpl-timeline::before {
	content: "";
	position: absolute;
	top: 26px;
	left: 12%;
	right: 12%;
	height: 2px;
	background: linear-gradient(to right, var(--wpl-primary), var(--wpl-primary-2));
	opacity: 0.3;
	z-index: 0;
}

.wpl-tstep {
	text-align: center;
	position: relative;
	z-index: 1;
}

.wpl-tstep__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	background: var(--wpl-grad);
	color: #fff;
	border-radius: 50%;
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 20px;
	box-shadow: 0 10px 24px rgba(255, 122, 26, 0.35);
	border: 4px solid var(--wpl-bg);
}

.wpl-tstep h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.wpl-tstep p {
	font-size: 14.5px;
	margin: 0;
}

@media (max-width: 767px) {
	.wpl-timeline {
		grid-template-columns: repeat(2, 1fr);
		gap: 36px 20px;
	}
	.wpl-timeline::before {
		display: none;
	}
}

/* STACK
   -------------------------------------------------------------------------- */
.wpl-stack {
	background: var(--wpl-bg-soft);
	padding-bottom: 110px;
}

.wpl-stack__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	max-width: 820px;
	margin: 0 auto;
}

.wpl-stack__item {
	padding: 12px 22px;
	background: var(--wpl-bg);
	border: 1px solid var(--wpl-border);
	border-radius: 999px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--wpl-ink);
	transition: all var(--wpl-trans);
}

.wpl-stack__item:hover {
	border-color: var(--wpl-primary);
	color: var(--wpl-primary-dark);
	background: var(--wpl-primary-soft);
	transform: translateY(-2px);
}

/* FAQ
   -------------------------------------------------------------------------- */
.wpl-faq {
	background: var(--wpl-bg);
}

.wpl-faq__wrap {
	max-width: 820px;
	margin: 0 auto;
}

.wpl-faq__item {
	border: 1px solid var(--wpl-border);
	border-radius: var(--wpl-radius);
	margin-bottom: 14px;
	overflow: hidden;
	transition: all var(--wpl-trans);
}

.wpl-faq__item[open] {
	border-color: var(--wpl-primary);
	box-shadow: var(--wpl-shadow-sm);
}

.wpl-faq__q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 22px 26px;
	cursor: pointer;
	font-family: 'Montserrat', sans-serif;
	font-size: 16.5px;
	font-weight: 600;
	color: var(--wpl-ink);
	list-style: none;
}

.wpl-faq__q::-webkit-details-marker {
	display: none;
}

.wpl-faq__ic {
	flex-shrink: 0;
	position: relative;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--wpl-primary-soft);
}

.wpl-faq__ic::before,
.wpl-faq__ic::after {
	content: "";
	position: absolute;
	background: var(--wpl-primary-dark);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform var(--wpl-trans);
}

.wpl-faq__ic::before { width: 10px; height: 2px; }
.wpl-faq__ic::after { width: 2px; height: 10px; }

.wpl-faq__item[open] .wpl-faq__ic::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.wpl-faq__a {
	padding: 0 26px 22px;
}

.wpl-faq__a p {
	margin: 0;
	font-size: 15.5px;
}

/* CTA FINAL
   -------------------------------------------------------------------------- */
.wpl-cta {
	padding: 80px 0;
	background: var(--wpl-bg);
}

.wpl-cta__inner {
	background: var(--wpl-grad);
	border-radius: var(--wpl-radius-lg);
	padding: 64px 50px;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(255, 122, 26, 0.3);
}

.wpl-cta__inner::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -5%;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.wp-landing .wpl-cta__title {
	color: #ffffff;
	font-size: clamp(26px, 3vw, 38px);
	margin-bottom: 14px;
	position: relative;
	text-align: center;
}

.wp-landing .wpl-cta__text {
	color: rgba(255, 255, 255, 0.85);
	font-size: 17px;
	max-width: 560px;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 30px;
	position: relative;
	text-align: center !important;
}

.wpl-cta .wpl-btn--light {
	position: relative;
}

/* Animaciones de entrada
   -------------------------------------------------------------------------- */
.wp-landing [data-wpl-anim] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.wp-landing [data-wpl-anim].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
	.wpl-section {
		padding: 70px 0;
	}
	.wpl-hero {
		padding: 130px 0 70px;
	}
	.wpl-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 38px;
	}

	.wpl-hero__copy {
		max-width: 100%;
	}
	.wpl-hero__title {
		font-size: clamp(30px, 8vw, 44px);
	}
	.wpl-hero__visual {
		justify-content: center;
		padding-left: 0;
	}
	.wpl-codecard {
		max-width: 420px;
		margin-inline: auto;
		transform: none;
	}
	.wpl-codecard:hover {
		transform: none;
	}
}

@media (max-width: 575px) {
	.wpl-hero {
		padding: 120px 0 60px;
	}
	.wpl-hero__stats {
		gap: 26px;
	}
	.wpl-hero__stats strong {
		font-size: 30px;
	}
	.wpl-cta__inner {
		padding: 44px 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-landing [data-wpl-anim] {
		opacity: 1;
		transform: none;
	}
	.wpl-codecard,
	.wpl-codecard:hover {
		transform: none;
	}
}
