/* ==================================================
   UI Slider — estilos propios de la plantilla (hero: la interfaz en vista explotada)
   Barra, botones, secciones comunes, similares, CTA y WhatsApp vienen de themes/_kit/am-kit.css
   El celular es 3D de CSS: .us-world (gira) > cuerpo + pantallas > capas .us-l. Cada capa se separa en Z con
   --sp (separación de la vista explotada, en em) y --dz (su vuelo propio); us.js anima esas variables con GSAP.
   La paleta de cada pantalla (la del original) vive en variables del hero y GSAP la interpola al cambiar.
   ================================================== */

.us-hero {
	--bg1: #760984; --bg2: #000b1e; --acc: #ff006b;
	--ph1: #ff057c; --ph2: #8d0b93; --ph3: #321575; --ink: #ffffff;
	--foot-h: 104px;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100svh;
	min-height: 720px;
	padding-top: 68px;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(55deg, var(--bg1) 0%, var(--bg2) 100%);
}
.us-cv { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.us-orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; will-change: transform; }
.us-orb--a { width: 46vw; height: 46vw; right: -10vw; top: -14vw; background: var(--acc); }
.us-orb--b { width: 38vw; height: 38vw; left: -12vw; bottom: -16vw; background: var(--ph2); opacity: .45; }

/* ---------- Texto ---------- */
.us-main { position: relative; z-index: 3; flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 20px; min-height: 0; padding: 0 var(--gutter); }
.us-copy { max-width: 600px; padding-left: clamp(0px, 4vw, 70px); }
.us-kicker { margin: 0 0 18px; font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--acc); text-shadow: 0 0 24px var(--acc); }
.us-page .us-title { margin: 0 0 26px; font-family: 'Manrope', sans-serif; font-size: clamp(50px, 6.4vw, 104px); font-weight: 800; line-height: .94; letter-spacing: -.05em; text-align: left; text-transform: none; color: #fff; }
.us-title__b { display: block; padding-bottom: .06em; color: transparent; background: linear-gradient(95deg, var(--acc) 0%, #ffffff 70%); -webkit-background-clip: text; background-clip: text; }
.us-chap { display: grid; min-height: 84px; margin: 0 0 22px; }
.us-chap__item { grid-area: 1 / 1; max-width: 46ch; margin: 0; font-family: 'Manrope', sans-serif; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .78); opacity: 0; visibility: hidden; }
.us-chap__item.is-on { opacity: 1; visibility: visible; }
.us-chap__tag { display: block; margin-bottom: 4px; font-family: var(--mb-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.us-steps { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.ak-page .us-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 104px; min-height: 48px; margin: 0; padding: 0 0 8px; font: 700 12px/1 var(--mb-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); background: none; border: 0; cursor: pointer; transition: color .2s linear; }
.us-step i { position: relative; display: block; width: 100%; height: 3px; overflow: hidden; background: rgba(255, 255, 255, .2); }
.us-step i::after { content: ''; position: absolute; inset: 0; background: var(--acc); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.ak-page .us-step.is-on, .ak-page .us-step:hover, .ak-page .us-step:focus-visible { color: #fff; }
.ak-page .us-get { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #0a0a0a; background: #fff; border: 2px solid #0a0a0a; box-shadow: 6px 6px 0 var(--acc); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.ak-page .us-get:hover, .ak-page .us-get:focus-visible { color: #0a0a0a; transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--acc); }

/* ---------- El celular en 3D ---------- */
.us-stage { position: relative; display: grid; place-items: center; height: 100%; min-height: 0; perspective: 1700px; perspective-origin: 50% 40%; }
.us-tilt { transform-style: preserve-3d; }
.us-world {
	--pw: min(310px, 24vw, calc((100svh - 68px - var(--foot-h) - 50px) / 2.3));
	--sp: 0; --ex: 0;
	position: relative;
	width: calc(var(--pw) * 1.114);
	height: calc(var(--pw) * 2.27);
	font-size: calc(var(--pw) / 20);
	transform-style: preserve-3d;
}
.us-ring { position: absolute; inset: 0; border: 2px solid rgba(255, 255, 255, .35); border-radius: 2.9em; transform: translateZ(calc(var(--sp) * -1.2em)); }
.us-body, .us-screen { position: absolute; left: 50%; top: 50%; width: 20em; height: 43.3em; margin: -21.65em 0 0 -10em; border-radius: 2.5em; }
.us-body { overflow: hidden; background: linear-gradient(160deg, var(--ph1) 0%, var(--ph2) 50%, var(--ph3) 100%); box-shadow: 0 3em 6em rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: translateZ(calc(var(--sp) * -.4em)); }
.us-body__glow { position: absolute; left: -30%; right: -30%; top: -20%; height: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent); }
.us-status { position: absolute; left: 2em; right: 2em; top: 1.5em; display: flex; align-items: center; justify-content: space-between; font: 600 .82em/1 'Manrope', sans-serif; color: var(--ink); }
.us-status__ic { display: flex; gap: .4em; }
.us-status__ic svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.us-pill { position: absolute; left: 50%; top: -.35em; width: 4.2em; height: 1.4em; margin-left: -2.1em; border-radius: 1em; background: #0a0a12; }
.us-home { position: absolute; left: 50%; bottom: 1em; width: 6.6em; height: .22em; margin-left: -3.3em; border-radius: 1em; background: rgba(255, 255, 255, .45); }
.us-screen { transform-style: preserve-3d; pointer-events: none; visibility: hidden; }
.us-screen.is-on, .us-hero.is-3d .us-screen { visibility: visible; }

/* Capas */
.us-l {
	--dz: 0; --i: 1;
	position: absolute;
	left: 1.2em;
	right: 1.2em;
	color: var(--ink);
	font-family: 'Manrope', sans-serif;
	transform: translateZ(calc((var(--i) * var(--sp) + var(--dz)) * 1em));
	will-change: transform, opacity;
}
.us-tag {
	position: absolute;
	right: calc(100% + 1.6em);
	top: .5em;
	padding: .5em .75em;
	font: 700 .58em/1 'Space Mono', monospace;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff;
	background: rgba(8, 8, 14, .78);
	border: 1px solid var(--acc);
	opacity: var(--ex);
}
.us-tag::after { content: ''; position: absolute; left: 100%; top: 50%; width: 2.6em; height: 1px; background: var(--acc); }
.us-tag::before { content: ''; position: absolute; left: calc(100% + 2.4em); top: 50%; width: .5em; height: .5em; margin-top: -.25em; border-radius: 50%; background: var(--acc); box-shadow: 0 0 .8em var(--acc); }
.us-ic { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.us-ic--acc { color: var(--acc); }

.us-bar { top: 3.4em; height: 3.4em; display: flex; align-items: center; gap: .9em; padding: 0 1em; font-size: 1em; }
.us-bar b { flex: 1 1 auto; font-size: 1.15em; font-weight: 800; letter-spacing: -.01em; }
.us-bar, .us-search, .us-list, .us-range, .us-field, .us-item, .us-stat, .us-card { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); border-radius: 1.1em; box-shadow: 0 1.2em 2.4em rgba(0, 0, 0, .18); }

.us-stat { top: 7.8em; height: 10.2em; padding: 1.2em 1.3em; }
.us-stat__k { margin: 0; font-size: .82em; font-weight: 600; opacity: .75; }
.us-stat__v { margin: .1em 0 0; font-size: 2.6em; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.us-stat__d { margin: .2em 0 0; font-size: .78em; font-weight: 600; color: var(--ink); opacity: .75; }
.us-bars { position: absolute; right: 1.3em; bottom: 1.3em; display: flex; align-items: flex-end; gap: .35em; height: 5em; }
.us-bars i { width: .85em; height: calc(var(--h) * 100%); border-radius: .3em; background: var(--ink); opacity: .9; transform-origin: 50% 100%; }
.us-bars i:nth-child(4) { background: var(--acc); opacity: 1; box-shadow: 0 0 1em var(--acc); }

.us-card { top: 18.8em; height: 21.4em; overflow: hidden; }
.us-card img { display: block; width: 100%; height: 9.6em; max-width: none; object-fit: cover; }
.us-card__h { display: block; margin: .9em 1.2em .3em; font-size: 1.1em; font-weight: 800; }
.us-card__p { margin: 0 1.2em; font-size: .82em; line-height: 1.5; opacity: .78; }
.us-card__btn { position: absolute; left: 1.2em; bottom: 1.1em; padding: .65em 1.1em; font-size: .72em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--acc); border-radius: 2em; box-shadow: 0 .6em 1.4em rgba(0, 0, 0, .25); }

.us-search { top: 3.4em; height: 3.2em; display: flex; align-items: center; gap: .7em; padding: 0 1.1em; border-radius: 2em; font-size: .95em; font-weight: 600; }
.us-search span:not(.us-tag) { opacity: .75; }
.us-list { top: 7.8em; height: 13.8em; display: flex; flex-direction: column; justify-content: space-around; padding: .4em 1.1em; }
.us-row { display: flex; align-items: center; gap: .8em; margin: 0; font-size: .95em; font-weight: 700; }
.us-row span { flex: 1 1 auto; }
.us-dot { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.us-dot .us-ic { width: 1.2em; height: 1.2em; }
.us-sw { position: relative; width: 2.6em; height: 1.4em; border-radius: 1em; background: rgba(255, 255, 255, .3); }
.us-sw::after { content: ''; position: absolute; left: .15em; top: .15em; width: 1.1em; height: 1.1em; border-radius: 50%; background: #fff; box-shadow: 0 .2em .4em rgba(0, 0, 0, .3); transition: transform .35s var(--ease); }
.us-sw.is-on { background: var(--acc); }
.us-sw.is-on::after { transform: translateX(1.2em); }
.us-range { top: 22.6em; height: 6.6em; padding: 1.1em 1.2em; }
.us-range__k { display: flex; justify-content: space-between; margin: 0 0 1.1em; font-size: .9em; font-weight: 700; }
.us-range__track { position: relative; display: block; height: .4em; border-radius: 1em; background: rgba(255, 255, 255, .28); }
.us-range__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 72%; border-radius: 1em; background: var(--acc); }
.us-range__knob { position: absolute; left: 72%; top: 50%; width: 1.5em; height: 1.5em; margin: -.75em 0 0 -.75em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .4em rgba(255, 255, 255, .2), 0 .3em .6em rgba(0, 0, 0, .3); }
.us-field { top: 30.2em; height: 10.2em; padding: 1.1em 1.2em; }
.us-field__k { display: block; font-size: .75em; font-weight: 700; color: var(--acc); }
.us-field__v { display: flex; align-items: center; margin-top: .3em; padding-bottom: .5em; font-size: 1.05em; font-weight: 700; border-bottom: 2px solid var(--acc); }
.us-caret { width: 2px; height: 1.1em; margin-left: 2px; background: var(--ink); animation: us-blink 1s steps(2) infinite; }
@keyframes us-blink { 50% { opacity: 0; } }

.us-item { top: var(--y); height: 7.6em; display: grid; grid-template-columns: 5em 1fr; grid-template-rows: auto 1fr; gap: .3em .9em; align-content: center; padding: 0 1em; }
.us-item img { grid-row: 1 / 3; width: 5em; height: 5em; max-width: none; object-fit: cover; border-radius: .8em; }
.us-item b { align-self: end; font-size: .92em; font-weight: 800; }
.us-item span:not(.us-tag) { font-size: .78em; line-height: 1.4; opacity: .78; }
.us-fab { left: auto; right: 1.5em; bottom: 3em; display: grid; place-items: center; width: 4.4em; height: 4.4em; font-size: 1em; font-weight: 400; line-height: 1; color: #fff; background: var(--acc); border-radius: 1.3em; box-shadow: 0 .8em 2em rgba(0, 0, 0, .35), 0 0 2em var(--acc); }
.us-fab { animation: us-pulse 2.4s ease-in-out infinite; }
@keyframes us-pulse { 50% { box-shadow: 0 .8em 2em rgba(0, 0, 0, .35), 0 0 0 .5em rgba(255, 255, 255, .12), 0 0 3em var(--acc); } }
.us-fab .us-ic { width: 2em; height: 2em; stroke-width: 2.4; }

.us-status-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.us-page .ak-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pie ---------- */
.us-foot { position: relative; z-index: 8; flex: 0 0 auto; display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 14px clamp(20px, 3vw, 44px); align-items: center; padding: 14px calc(var(--gutter) + 140px) 16px var(--gutter); background: rgba(10, 10, 10, .96); border-top: 3px solid var(--accent); }
.us-foot__meta { margin: 0 0 4px; font-family: var(--mb-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.us-foot__lead { max-width: 60ch; margin: 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: rgba(245, 245, 240, .86); }
.us-ctrl { display: flex; align-items: center; gap: 10px; }
.us-count-n { margin: 0 6px 0 0; font-family: var(--mb-mono); font-size: 14px; color: rgba(245, 245, 240, .7); white-space: nowrap; }
.us-idx { display: inline-block; font-family: var(--mb-display); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.02em; vertical-align: -5px; color: var(--accent); }

@media (max-width: 1180px) {
	.us-foot { grid-template-columns: minmax(0, 1fr) auto; }
	.us-foot .ak-actions { grid-column: 1 / -1; }
}
@media (max-height: 820px) and (min-width: 901px) {
	.us-page .us-title { font-size: clamp(46px, 5.4vw, 84px); margin-bottom: 18px; }
	.us-kicker { margin-bottom: 12px; }
	.us-steps { margin-bottom: 20px; }
}

/* ---------- Tablet y móvil ---------- */
@media (max-width: 900px) {
	.us-main { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 6px; padding-top: 18px; }
	.us-copy { padding-left: 0; }
	.us-kicker { margin-bottom: 8px; font-size: 12px; }
	.us-page .us-title { margin-bottom: 10px; font-size: clamp(36px, 10vw, 60px); }
	.us-title__b { display: inline; }
	.us-chap { min-height: 0; margin-bottom: 10px; }
	.us-chap__item span { display: none; }
	.us-steps { margin-bottom: 0; }
	.ak-page .us-step { min-width: 0; flex: 1 1 0; }
	.us-get { display: none !important; }
	.us-world { --pw: min(250px, 58vw, calc((100svh - 60px - var(--foot-h) - 210px) / 2.3)); }
	.us-tag { display: none; }
}
@media (max-width: 700px) {
	.us-hero { padding-top: 60px; }
	.us-foot { grid-template-columns: 1fr; gap: 10px; padding: 12px calc(var(--gutter) + 92px) 14px var(--gutter); }
	.us-foot__info, .us-foot .ak-btn--ghost { display: none; }
	.us-ctrl { order: -1; }
	.us-foot .ak-actions .ak-btn { flex: 1 1 auto; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.ak-page .us-get, .us-sw::after { transition: none; }
	.us-caret, .us-fab { animation: none; }
}
