/* ==================================================
   Isometric — estilos propios de la plantilla (hero: un mundo isométrico)
   Barra, botones, secciones comunes, similares, CTA y WhatsApp vienen de themes/_kit/am-kit.css
   is.js dibuja el suelo de bloques en .is-cv y coloca los dispositivos (.is-dev) dentro de .is-world
   ================================================== */

.is-hero {
	--foot-h: 92px;
	--sub: #fff6ad;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100vh;
	height: 100svh;
	min-height: 720px;
	padding-top: 68px;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(130deg, #ffec85, #ec685b);
	touch-action: pan-y;
}
.is-cv { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.is-world { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* ---------- Dispositivos ---------- */
.is-dev { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; transform-origin: 50% 100%; will-change: transform; }
.is-dev__body { position: relative; }
.ak-page .is-dev__img { display: block; width: 100%; height: auto; max-width: none; -webkit-user-drag: none; user-select: none; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .18)); }
.is-scr { position: absolute; left: 0; top: 0; overflow: hidden; transform-origin: 0 0; background: #111; }
.ak-page .is-scr img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.is-scr::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.is-dev--panel .is-dev__img { filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .22)); }
.is-dev:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }

/* ---------- Texto ---------- */
.is-copy { position: absolute; z-index: 4; left: var(--gutter); top: calc(68px + 12vh); width: min(560px, 40vw); }
.is-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .15); }
.is-kicker__n { display: inline-grid; place-items: center; width: 40px; height: 40px; font-family: 'Anton', sans-serif; font-size: 18px; font-weight: 400; letter-spacing: 0; color: #fff; border: 2px solid #fff; transform: rotate(45deg); }
.is-kicker__n > * { transform: rotate(-45deg); }
.is-page .is-title { margin: 0 0 20px; font-family: 'Anton', var(--mb-display); font-size: clamp(56px, 6.6vw, 112px); font-weight: 400; line-height: .98; letter-spacing: .005em; text-align: left; text-transform: uppercase; color: #fff; text-shadow: 0 10px 30px rgba(0, 0, 0, .16); }
.is-line { display: block; overflow: hidden; padding-bottom: .04em; }
.is-line > span { display: inline-block; }
.is-sub { max-width: 34ch; margin: 0 0 30px; font-family: 'Barlow Condensed', sans-serif; font-size: clamp(20px, 1.7vw, 27px); font-weight: 500; line-height: 1.3; color: var(--sub); text-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.ak-page .is-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 30px; font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #1a1a2e; background: #fff; box-shadow: 8px 8px 0 rgba(26, 26, 46, .85); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.ak-page .is-cta:hover, .ak-page .is-cta:focus-visible { color: #1a1a2e; transform: translate(-3px, -3px); box-shadow: 11px 11px 0 rgba(26, 26, 46, .85); }

/* ---------- Escenas ---------- */
.is-nav { position: absolute; z-index: 5; left: var(--gutter); bottom: calc(var(--foot-h) + 26px); display: flex; gap: 10px; }
.ak-page .is-dot { position: relative; display: inline-flex; align-items: center; gap: 10px; width: auto; min-height: 0; margin: 0; padding: 9px 16px 9px 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(26, 26, 46, .22); border: 2px solid rgba(255, 255, 255, .6); overflow: hidden; cursor: pointer; }
.is-dot i { width: 18px; height: 18px; background: linear-gradient(130deg, var(--a), var(--b)); border: 2px solid #fff; transform: rotate(45deg) scale(.8); }
.is-dot::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.ak-page .is-dot.is-on { color: #1a1a2e; background: #fff; border-color: #fff; }
.is-dot.is-on::after { background: #1a1a2e; }
.is-dot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.is-hint { position: absolute; z-index: 4; right: var(--gutter); top: calc(68px + 20px); max-width: 420px; margin: 0; font-family: var(--mb-mono); font-size: 11px; line-height: 1.5; letter-spacing: .08em; text-align: right; text-transform: uppercase; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 6px rgba(0, 0, 0, .25); pointer-events: none; }
.is-hint--touch { display: none; }
@media (hover: none) {
	.is-hint--mouse { display: none; }
	.is-hint--touch { display: inline; }
}
.is-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pie del hero ---------- */
.is-foot {
	position: relative;
	z-index: 6;
	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(20, 18, 30, .94);
	border-top: 3px solid var(--accent);
}
.is-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); }
.is-foot__lead { max-width: 60ch; margin: 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: rgba(245, 245, 240, .86); }
.is-ctrl { display: flex; align-items: center; gap: 10px; }
.is-count { margin: 0 6px 0 0; font-family: var(--mb-mono); font-size: 14px; color: rgba(245, 245, 240, .7); white-space: nowrap; }
.is-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) {
	.is-foot { grid-template-columns: minmax(0, 1fr) auto; }
	.is-foot .ak-actions { grid-column: 1 / -1; }
}
@media (max-height: 820px) and (min-width: 1001px) {
	.is-copy { top: calc(68px + 7vh); }
	.is-page .is-title { font-size: clamp(46px, 5vw, 80px); margin-bottom: 14px; }
	.is-sub { margin-bottom: 18px; font-size: clamp(18px, 1.5vw, 24px); }
	.ak-page .is-cta { min-height: 50px; }
}

/* ---------- Tablet y móvil ---------- */
@media (max-width: 1000px) {
	.is-hero { height: auto; min-height: 0; }
	.is-hero::before { content: ''; display: block; flex: 0 0 auto; height: calc(100svh - 70px); min-height: 680px; max-height: 1000px; }
	.is-copy { top: auto; bottom: calc(var(--foot-h) + 80px); right: var(--gutter); width: auto; }
	.is-page .is-title { font-size: clamp(42px, 11vw, 80px); margin-bottom: 12px; }
	.is-sub { margin-bottom: 18px; font-size: 20px; }
	.ak-page .is-cta { min-height: 48px; font-size: 17px; }
	.is-hint { display: none; }
	.is-nav { right: var(--gutter); bottom: calc(var(--foot-h) + 18px); }
	.ak-page .is-dot { flex: 1 1 0; justify-content: center; padding: 8px 6px; font-size: 14px; }
}
@media (max-width: 700px) {
	.is-hero { padding-top: 60px; }
	.is-hero::before { height: min(calc(100svh - 70px), 820px); min-height: 680px; }
	.is-dot span { display: none; }
	.is-dot.is-on span { display: inline; }
	.is-foot { grid-template-columns: 1fr; padding: 14px var(--gutter) 88px; }
	.is-ctrl { order: -1; }
	.is-foot .ak-actions .ak-btn { flex: 1 1 auto; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.ak-page .is-cta { transition: none; }
}
