/* ==================================================
   Angry Monkey — kit de las plantillas (themes)
   Barra fija, botones, secciones, carrusel de plantillas similares, franja CTA y WhatsApp.
   Se carga DESPUÉS de css/base.css y css/enhancements.css de la página principal
   (de ahí vienen el logo, el footer .ft, la balanza .lb y los campos/botones .mb-*).
   ================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ak-page {
	margin: 0;
	background: #0a0a0a;
	color: #0a0a0a;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
}
.ak-page img { max-width: 100%; }
.ak-page [id] { scroll-margin-top: 76px; }
.ak-page a:hover { color: inherit; }
.ak-page :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ak-paper :focus-visible,
.lb :focus-visible,
.mb :focus-visible { outline-color: var(--brand); }
/* Popup del brief: el título de cada paso recibe el foco por código, sin recuadro (igual que en la página principal) */
.ak-page .mb-q:focus-visible,
.ak-page .mb-done__title:focus-visible { outline: none; }

/* ---------- Barra fija ---------- */
.ak-bar {
	--bar-h: 68px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 8000;
	display: flex;
	align-items: center;
	gap: 16px;
	height: var(--bar-h);
	padding: 0 var(--gutter);
	background: #0a0a0a;
	border-bottom: 3px solid var(--accent);
	transition: transform .35s var(--ease);
}
.ak-bar.is-hidden { transform: translateY(calc(-100% - 6px)); }
.ak-bar:focus-within { transform: none; }
.ak-bar__logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; }
.ak-bar__logo .logo-icon { transition: transform .2s var(--ease); }
.ak-bar__logo:hover .logo-icon { transform: rotate(-14deg) scale(1.08); }
.ak-bar__title {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	margin: 0 auto 0 clamp(8px, 2vw, 32px);
	padding-left: clamp(8px, 2vw, 32px);
	border-left: 2px solid #26262f;
	font-family: var(--mb-mono);
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #f5f5f0;
	white-space: nowrap;
}
.ak-bar__tag { padding: 3px 7px; background: var(--accent); color: #0a0a0a; font-weight: 700; }
.ak-bar__title b { overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.ak-bar__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ak-lang { display: inline-flex; border: 2px solid #f5f5f0; }
.ak-lang[hidden] { display: none; }
.ak-page .ak-lang__btn {
	width: auto;
	min-width: 40px;
	min-height: 36px;
	margin: 0;
	padding: 6px 8px;
	font-family: var(--mb-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	background: transparent;
	color: #f5f5f0;
	border: 0;
	cursor: pointer;
	transition: background-color .12s linear, color .12s linear;
}
.ak-page .ak-lang__btn + .ak-lang__btn { border-left: 2px solid #f5f5f0; }
.ak-page .ak-lang__btn:hover { background: #26262f; color: #f5f5f0; }
.ak-page .ak-lang__btn[aria-pressed="true"] { background: #f5f5f0; color: #0a0a0a; }
.ak-bar__link,
.ak-bar__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 8px 14px;
	font-family: var(--mb-mono);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: translate .12s linear, box-shadow .12s linear, background-color .12s linear, color .12s linear;
}
.ak-bar__link { color: #f5f5f0; border: 2px solid transparent; }
.ak-page .ak-bar__link:hover { color: var(--accent); border-color: var(--accent); }
.ak-bar__cta { background: var(--accent); color: #0a0a0a; box-shadow: 4px 4px 0 var(--brand); }
.ak-page .ak-bar__cta:hover { color: #0a0a0a; translate: -2px -2px; box-shadow: 6px 6px 0 var(--brand); }
/* Progreso de lectura: franja amarilla bajo la barra */
.ak-bar__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 3px;
	background: #f5f5f0;
	transform: scaleX(0);
	transform-origin: 0 50%;
}
@media (max-width: 900px) {
	.ak-bar__title { display: none; }
	.ak-bar__actions { margin-left: auto; }
}
@media (max-width: 600px) {
	.ak-bar { --bar-h: 60px; gap: 10px; }
	.ak-bar .logo-word { display: none; }
	.ak-bar__link span:not([aria-hidden]) { display: none; }
	.ak-bar__link { padding: 8px 10px; }
	.ak-bar__cta { padding: 8px 12px; font-size: 12px; }
	.ak-page [id] { scroll-margin-top: 66px; }
}

/* ---------- Botones ---------- */
.ak-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ak-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 12px 24px;
	font-family: var(--mb-mono);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 3px solid #0a0a0a;
	transition: translate .12s linear, box-shadow .12s linear, background-color .12s linear, color .12s linear;
}
.ak-btn:hover { translate: -2px -2px; }
.ak-btn:active { translate: 3px 3px; box-shadow: none; }
.ak-btn--accent { background: var(--accent); color: #0a0a0a; border-color: var(--accent); box-shadow: 5px 5px 0 var(--brand); }
.ak-page .ak-btn--accent:hover { color: #0a0a0a; box-shadow: 7px 7px 0 var(--brand); }
.ak-btn--ink { background: #0a0a0a; color: var(--accent); box-shadow: 5px 5px 0 var(--brand); }
.ak-page .ak-btn--ink:hover { color: var(--accent); box-shadow: 7px 7px 0 var(--brand); }
.ak-btn--ghost { background: transparent; color: #f5f5f0; border-color: #f5f5f0; }
.ak-page .ak-btn--ghost:hover { background: #f5f5f0; color: #0a0a0a; }
.ak-btn--line { background: transparent; color: #0a0a0a; }
.ak-page .ak-btn--line:hover { background: #0a0a0a; color: var(--accent); }
.ak-btn--wa { background: #25d366; color: #0a0a0a; box-shadow: 5px 5px 0 #0a0a0a; }
.ak-page .ak-btn--wa:hover { color: #0a0a0a; box-shadow: 7px 7px 0 #0a0a0a; }
.ak-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Secciones ---------- */
.ak-section { position: relative; z-index: 2; padding: clamp(72px, 10vw, 140px) 0; }
.ak-paper { background: var(--paper); color: #0a0a0a; }
.ak-dark { background: #0a0a0a; color: #f5f5f0; }
.ak-dark .section-header { --sh-ink: #f5f5f0; }
.ak-dark .section-header .section-title::after { border-color: #f5f5f0; }
.section-header .pf-label > b { font-weight: 700; opacity: 1; }
/* Telón: borde grueso + franja amarilla, como el portfolio de la página principal */
.ak-curtain { border-top: 3px solid #0a0a0a; box-shadow: 0 -12px 0 var(--accent), 0 -15px 0 #0a0a0a; }
.ak-wrap { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Secciones comunes: 01 · La plantilla (dispositivos, marcador, trío) ---------- */
.ak-tpl { z-index: 3; }
.ak-tpl__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(36px, 5vw, 88px);
	align-items: center;
	margin-bottom: clamp(64px, 8vw, 120px);
}
.ak-devices { position: relative; padding: 0 9% 13% 0; }
.ak-device--desk { position: relative; background: #fff; border: 3px solid #0a0a0a; box-shadow: 12px 12px 0 #0a0a0a; }
.ak-device__bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #0a0a0a; }
.ak-device__bar i { width: 10px; height: 10px; background: #ff5e00; }
.ak-device__bar i:nth-child(2) { background: var(--accent); }
.ak-device__bar i:nth-child(3) { background: #3ddc84; }
.ak-device__bar span {
	flex: 1;
	margin-left: 10px;
	padding: 3px 10px;
	font-family: var(--mb-mono);
	font-size: 11px;
	color: #f5f5f0;
	background: #26262f;
}
.ak-device--desk img { display: block; width: 100%; height: auto; }
.ak-device--phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 27%;
	aspect-ratio: 9 / 18.5;
	padding: 7px 6px;
	background: #0a0a0a;
	border: 3px solid #0a0a0a;
	border-radius: 22px;
	box-shadow: 10px 10px 0 var(--accent);
}
.ak-phone__notch { position: absolute; top: 9px; left: 50%; z-index: 2; width: 32%; height: 9px; background: #0a0a0a; border-radius: 0 0 6px 6px; transform: translateX(-50%); }
.ak-phone__screen {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 18px 5px 5px;
	overflow: hidden;
	background: #16161d;
	border-radius: 15px;
}
.ak-phone__title { padding: 0 2px 2px; font-family: var(--mb-display); font-weight: 900; font-size: clamp(10px, 1.15vw, 17px); line-height: 1; text-transform: uppercase; color: var(--accent); }
.ak-phone__screen img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid #f5f5f0; }
.ak-phone__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ak-sticker {
	position: absolute;
	bottom: 4%;
	left: -16px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: clamp(96px, 10vw, 140px);
	aspect-ratio: 1;
	font-family: var(--mb-mono);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: var(--accent);
	border: 3px solid #0a0a0a;
	border-radius: 50%;
	box-shadow: 5px 5px 0 #0a0a0a;
	transform: rotate(-12deg);
}
.ak-sticker b { font-family: var(--mb-display); font-weight: 900; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.03em; }
.ak-page .ak-h3 {
	margin: 0 0 18px;
	font-family: var(--mb-display);
	font-weight: 900;
	font-size: clamp(34px, 4vw, 66px);
	line-height: .95;
	letter-spacing: -.035em;
	text-align: left;
	text-transform: uppercase;
	color: #0a0a0a;
}
/* Marcador amarillo que se dibuja (am-kit.js anima --mark) */
.ak-mark {
	padding: 0 .08em;
	color: inherit;
	background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 88% / var(--mark, 100%) 46%;
}
.ak-text { max-width: 54ch; margin: 0 0 26px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.ak-kicker { margin: 0 0 10px; font-family: var(--mb-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ak-feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.ak-feats li {
	padding: 7px 12px;
	font-family: var(--mb-mono);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: #fff;
	border: 2px solid #0a0a0a;
	box-shadow: 3px 3px 0 #0a0a0a;
}
.ak-feats li::before { content: '\2713\00a0'; color: var(--brand); }

.ak-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 3px solid #0a0a0a; }
.ak-trio__item { position: relative; padding: clamp(24px, 3vw, 44px); border-right: 3px solid #0a0a0a; transition: background-color .2s linear; }
.ak-trio__item:last-child { border-right: 0; }
.ak-trio__item:hover { background: var(--accent); }
.ak-trio__n {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	font-family: var(--mb-display);
	font-weight: 900;
	font-size: 24px;
	background: #0a0a0a;
	color: var(--accent);
}
.ak-page .ak-trio__item h3 {
	margin: 0 0 10px;
	font-family: var(--mb-display);
	font-weight: 900;
	font-size: clamp(24px, 2.2vw, 36px);
	line-height: 1;
	letter-spacing: -.02em;
	text-align: left;
	text-transform: uppercase;
	color: #0a0a0a;
}
.ak-trio__item p { margin: 0; font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) {
	.ak-tpl__grid { grid-template-columns: 1fr; }
	.ak-trio { grid-template-columns: 1fr; }
	.ak-trio__item { border-right: 0; border-bottom: 3px solid #0a0a0a; }
	.ak-trio__item:last-child { border-bottom: 0; }
}

/* ---------- Secciones comunes: 02 · Por qué Angry Monkey ---------- */
.ak-why { overflow: hidden; }
.ak-why__grid-bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 224, 0, .06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 224, 0, .06) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
	pointer-events: none;
}
.ak-why .section-header { position: relative; }
.ak-why__cards { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); }
.ak-reason {
	--sh: var(--accent);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 22px 28px;
	color: #0a0a0a;
	background: var(--paper);
	border: 3px solid #f5f5f0;
	box-shadow: 8px 8px 0 var(--sh);
	transition: translate .2s var(--ease), box-shadow .2s var(--ease);
}
.ak-reason:nth-child(3n+2) { --sh: #b98cff; }
.ak-reason:nth-child(3n) { --sh: #ff5e00; }
.ak-reason:hover { translate: -4px -4px; box-shadow: 12px 12px 0 var(--sh); }
.ak-reason__art { display: block; width: 104px; height: 104px; border: 3px solid #0a0a0a; }
.ak-reason__art canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.ak-reason__n {
	position: absolute;
	top: 14px;
	right: 18px;
	font-family: var(--mb-display);
	font-weight: 900;
	font-size: 56px;
	line-height: 1;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 2px #0a0a0a;
}
.ak-page .ak-reason h3 {
	margin: 10px 0 0;
	font-family: var(--mb-display);
	font-weight: 900;
	font-size: clamp(22px, 2vw, 30px);
	line-height: 1;
	letter-spacing: -.02em;
	text-align: left;
	text-transform: uppercase;
	color: #0a0a0a;
}
.ak-reason p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #2a2630; }
@media (max-width: 1000px) { .ak-why__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ak-why__cards { grid-template-columns: 1fr; } }

/* ---------- Plantillas similares ---------- */
.ak-sim { overflow: hidden; }
.ak-sim__track {
	display: flex;
	gap: clamp(14px, 2vw, 24px);
	margin: 0;
	padding: 8px var(--gutter) 28px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 var(--gutter);
	scrollbar-width: none;
	cursor: grab;
}
.ak-sim__track::-webkit-scrollbar { display: none; }
.ak-sim__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ak-sim__track.is-dragging a { pointer-events: none; }
.ak-sim__item { flex: 0 0 clamp(260px, 30vw, 440px); scroll-snap-align: start; }
.ak-card {
	position: relative;
	display: block;
	color: #f5f5f0;
	text-decoration: none;
	background: #0a0a0a;
	border: 3px solid #f5f5f0;
	transition: translate .2s var(--ease), box-shadow .2s var(--ease);
	-webkit-user-drag: none;
}
.ak-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #16161d; }
.ak-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-user-drag: none;
	user-select: none;
	transition: transform .6s var(--ease), filter .3s linear;
}
/* Duotono amarillo al pasar el ratón (igual que el portfolio) */
.ak-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--accent);
	mix-blend-mode: multiply;
	opacity: 0;
	transition: opacity .25s linear;
}
.ak-card__n {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 3px 7px;
	font-family: var(--mb-mono);
	font-size: 12px;
	font-weight: 700;
	background: #0a0a0a;
	color: var(--accent);
}
.ak-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
	border-top: 3px solid #f5f5f0;
}
.ak-card__cat { font-family: var(--mb-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ak-card__name {
	font-family: var(--mb-display);
	font-weight: 900;
	font-size: clamp(22px, 2vw, 30px);
	line-height: .95;
	letter-spacing: -.02em;
	text-transform: uppercase;
}
.ak-card__go {
	align-self: flex-start;
	margin-top: 6px;
	padding: 6px 10px;
	font-family: var(--mb-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	border: 2px solid #f5f5f0;
	transition: background-color .15s linear, color .15s linear;
}
.ak-page .ak-card:hover { color: #f5f5f0; translate: -4px -4px; box-shadow: 8px 8px 0 var(--accent); }
.ak-card:hover .ak-card__media img,
.ak-card:focus-visible .ak-card__media img { filter: grayscale(1) contrast(1.2); transform: scale(1.06); }
.ak-card:hover .ak-card__media::after,
.ak-card:focus-visible .ak-card__media::after { opacity: 1; }
.ak-card:hover .ak-card__go,
.ak-card:focus-visible .ak-card__go { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
@media (hover: none) {
	.ak-card:hover .ak-card__media img { filter: none; transform: none; }
	.ak-card:hover .ak-card__media::after { opacity: 0; }
}
.ak-sim__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.ak-sim__progress { flex: 1 1 200px; height: 8px; background: #26262f; border: 2px solid #f5f5f0; }
.ak-sim__progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.ak-sim__nav { display: flex; gap: 10px; }
.ak-page .ak-arrow {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	background: var(--accent);
	color: #0a0a0a;
	border: 3px solid var(--accent);
	cursor: pointer;
	transition: translate .12s linear, background-color .12s linear;
}
.ak-page .ak-arrow:hover { translate: -2px -2px; background: #f5f5f0; border-color: #f5f5f0; color: #0a0a0a; }
.ak-page .ak-arrow:disabled { opacity: .35; translate: none; cursor: default; background: var(--accent); }

/* ---------- Franja CTA ---------- */
.ak-cta {
	position: relative;
	z-index: 2;
	overflow: hidden;
	background: var(--accent);
	color: #0a0a0a;
	border-top: 3px solid #0a0a0a;
}
.ak-marquee {
	overflow: hidden;
	padding: 14px 0;
	background: #0a0a0a;
	color: var(--accent);
	border-bottom: 3px solid #0a0a0a;
	white-space: nowrap;
}
.ak-marquee__inner { display: inline-flex; will-change: transform; }
.ak-marquee__group { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ak-marquee__group span {
	padding: 0 .4em;
	font-family: var(--mb-display);
	font-weight: 900;
	font-size: clamp(28px, 4.4vw, 64px);
	line-height: 1;
	letter-spacing: -.03em;
	text-transform: uppercase;
}
.ak-marquee__group span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.ak-marquee__group i { font-style: normal; font-size: clamp(20px, 3vw, 40px); padding: 0 .3em; }
.ak-cta__body {
	max-width: 1600px;
	margin: 0 auto;
	padding: clamp(56px, 8vw, 120px) var(--gutter);
}
/* Título gigante a todo el ancho; debajo, texto a la izquierda y botones a la derecha */
.ak-page .ak-cta__title {
	margin: 0 0 clamp(24px, 3vw, 44px);
	font-family: var(--mb-display);
	font-weight: 900;
	font-size: clamp(56px, 12.5vw, 240px);
	line-height: .82;
	letter-spacing: -.06em;
	text-transform: uppercase;
	text-align: left;
	color: #0a0a0a;
	overflow-wrap: anywhere;
}
.ak-cta__side {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px clamp(24px, 4vw, 64px);
	align-items: center;
	padding-top: clamp(20px, 2.4vw, 32px);
	border-top: 3px solid #0a0a0a;
}
.ak-cta__side p { max-width: 52ch; margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.ak-cta__side .ak-cta__reviews { grid-column: 1 / -1; margin-top: 4px; justify-self: start; }
.ak-cta__reviews {
	display: inline-block;
	margin-top: 22px;
	font-family: var(--mb-mono);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #0a0a0a;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.ak-page .ak-cta__reviews:hover { color: var(--brand); }
@media (max-width: 900px) { .ak-cta__side { grid-template-columns: 1fr; } }

/* ---------- WhatsApp: el mono que te habla ---------- */
.wa {
	position: fixed;
	right: clamp(12px, 2vw, 24px);
	bottom: clamp(12px, 2vw, 24px);
	z-index: 7000;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	pointer-events: none;
}
.wa > * { pointer-events: auto; }
.wa-bubble {
	position: relative;
	max-width: min(280px, calc(100vw - 110px));
	margin: 0 8px 0 0;
	padding: 12px 40px 12px 14px;
	font-size: 15px;
	line-height: 1.4;
	background: #f5f5f0;
	color: #0a0a0a;
	border: 3px solid #0a0a0a;
	box-shadow: 6px 6px 0 #25d366;
	transform-origin: 100% 100%;
}
.wa-bubble[hidden] { display: none; }
.wa-bubble::after {
	content: '';
	position: absolute;
	right: 22px;
	bottom: -14px;
	width: 14px;
	height: 14px;
	background: #f5f5f0;
	border-right: 3px solid #0a0a0a;
	border-bottom: 3px solid #0a0a0a;
	clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.wa-bubble__who {
	display: block;
	margin-bottom: 2px;
	font-family: var(--mb-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #5F1AA4;
}
.wa-bubble__text { display: block; min-height: 1.4em; }
.wa-bubble__caret { display: inline-block; width: .5em; height: 1em; margin-left: 2px; vertical-align: -2px; background: #0a0a0a; animation: wa-caret .8s steps(1) infinite; }
@keyframes wa-caret { 50% { opacity: 0; } }
.ak-page .wa-bubble__x {
	position: absolute;
	top: 6px;
	right: 6px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 1;
	background: transparent;
	color: #0a0a0a;
	border: 2px solid #0a0a0a;
	cursor: pointer;
}
.ak-page .wa-bubble__x:hover { background: #0a0a0a; color: #f5f5f0; }
.wa-btn {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0;
	height: 64px;
	padding: 0;
	background: #25d366;
	color: #0a0a0a;
	text-decoration: none;
	border: 3px solid #0a0a0a;
	box-shadow: 6px 6px 0 #0a0a0a;
	transition: translate .12s linear, box-shadow .12s linear;
}
.ak-page .wa-btn:hover { color: #0a0a0a; translate: -2px -2px; box-shadow: 8px 8px 0 #0a0a0a; }
.wa-btn:active { translate: 3px 3px; box-shadow: 0 0 0 #0a0a0a; }
.wa-btn__monkey {
	display: block;
	width: 58px;
	height: 58px;
	background: var(--accent);
	border-right: 3px solid #0a0a0a;
	image-rendering: pixelated;
}
.wa-btn__icon { display: grid; place-items: center; width: 58px; height: 58px; }
.wa-btn__icon svg { width: 34px; height: 34px; shape-rendering: crispEdges; }
.wa-btn__icon svg * { fill: #f5f5f0; stroke: none; }
.wa-btn__label {
	max-width: 0;
	overflow: hidden;
	font-family: var(--mb-mono);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: max-width .3s var(--ease), padding .3s var(--ease);
}
.wa-btn:hover .wa-btn__label,
.wa-btn:focus-visible .wa-btn__label { max-width: 140px; padding-right: 16px; }
/* Pulso pixel para llamar la atención la primera vez */
.wa-btn.is-ping::before {
	content: '';
	position: absolute;
	inset: -3px;
	border: 3px solid #25d366;
	animation: wa-ping 1.4s steps(6) 3;
	pointer-events: none;
}
@keyframes wa-ping { to { inset: -18px; opacity: 0; } }
/* Con el resumen móvil de la balanza a la vista, el botón sube para no taparlo */
.wa.is-raised { bottom: 92px; }
@media (max-width: 600px) {
	/* En móvil sube y se compacta: la franja inferior queda libre para los botones de cada plantilla */
	.wa, .wa.is-raised { right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); }
	.wa-btn { height: 50px; box-shadow: 4px 4px 0 #0a0a0a; }
	.wa-btn__monkey { width: 44px; height: 44px; }
	.wa-btn__icon { width: 44px; height: 44px; }
	.wa-btn__icon svg { width: 28px; height: 28px; }
}

/* Footer: espacio al final para que el botón flotante no tape "Volver arriba" */
.ak-page .ft-bottom { margin-bottom: 84px; }

/* ---------- Cursor de arrastre / ver demo (escritorio) ---------- */
.ak-cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 7500;
	display: grid;
	place-items: center;
	width: 96px;
	height: 96px;
	margin: -48px 0 0 -48px;
	border-radius: 50%;
	background: var(--accent);
	color: #0a0a0a;
	border: 3px solid #0a0a0a;
	font-family: var(--mb-mono);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-align: center;
	text-transform: uppercase;
	pointer-events: none;
	transform: scale(0);
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ak-bar { transition: none; }
	.wa-btn.is-ping::before { animation: none; }
	.wa-bubble__caret { animation: none; }
}
