/* ==================================================
   Aura — estilos propios de la plantilla (hero: slider a pantalla completa con imágenes que cobran vida)
   Barra, botones, secciones comunes, similares, CTA y WhatsApp vienen de themes/_kit/am-kit.css
   Capas: escenas (foto + video) < viñeta y grano < textos e interfaz.
   ================================================== */

.au-hero {
	--brush: 'Kaushan Script', cursive;
	--sans: 'Montserrat', 'Archivo', sans-serif;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	padding-top: 68px;
	overflow: hidden;
	background: #050505;
	color: #fff;
}
.au-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; overflow: clip; outline: none; }

/* ---------- Escenas ---------- */
.au-slides, .au-slide, .au-vignette, .au-grain { position: absolute; inset: 0; }
.au-slide { visibility: hidden; overflow: hidden; }
.au-slide.is-on, .au-slide.is-in { visibility: visible; }
.au-slide.is-in { z-index: 2; }
.au-slide img, .au-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.au-slide img { transform: scale(var(--z, 1.06)); transition: transform 8s linear; }
.au-slide.is-on img { --z: 1; }
.au-slide video { opacity: 0; -webkit-clip-path: circle(0% at var(--vx, 50%) var(--vy, 85%)); clip-path: circle(0% at var(--vx, 50%) var(--vy, 85%)); }
.au-slice { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.au-slice > div { position: absolute; top: 0; bottom: 0; background-size: cover; background-position: var(--pos, 50% 50%); }
.au-vignette { z-index: 3; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(0, 0, 0, .55)), linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 25%, transparent 70%, rgba(0, 0, 0, .55)); }
.au-grain { z-index: 3; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); animation: au-grain 1s steps(4) infinite; }
@keyframes au-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -2%); } 75% { transform: translate(-2%, -4%); } }
.au-progress { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.au-progress i { position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- Marca y textos ---------- */
.au-brand { position: absolute; z-index: 5; left: 50%; top: clamp(20px, 5vh, 50px); transform: translateX(-50%); margin: 0; font: 800 clamp(20px, 2vw, 30px)/1 var(--sans); letter-spacing: .12em; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.au-copy { position: absolute; z-index: 5; left: 50%; top: 50%; width: min(92vw, 1100px); transform: translate(-50%, -54%); text-align: center; pointer-events: none; }
.au-cap { position: absolute; left: 50%; top: 4%; margin: 0 0 0 1.5em; display: grid; justify-items: start; font: 700 clamp(14px, 1.45vw, 21px)/1.08 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); z-index: 1; }
.au-cap__l { display: block; overflow: hidden; }
.au-cap__l > span { display: block; }
.au-word { margin: 0; font: 400 clamp(130px, min(22vw, 36vh), 380px)/1 var(--brush); letter-spacing: -.01em; text-transform: none; color: #fff; text-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.au-word__in { display: inline-block; padding: .1em .25em .25em; transform: rotate(-6deg) translate(var(--wx, 0px), var(--wy, 0px)); }

/* ---------- "Dale vida" ---------- */
.au-hero .au-life { width: auto; margin: 0; }
.au-life {
	position: absolute;
	z-index: 6;
	left: 50%;
	bottom: clamp(26px, 7vh, 70px);
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 20px 38px;
	font: 700 clamp(15px, 1.25vw, 19px)/1 var(--sans);
	letter-spacing: .14em;
	white-space: nowrap;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0, 0, 0, .14);
	border: 1.5px solid rgba(255, 255, 255, .6);
	border-radius: 60px;
	backdrop-filter: blur(6px);
	cursor: pointer;
	transition: background-color .35s, border-color .35s, color .35s, transform .35s;
}
.au-life svg { width: 28px; height: 28px; transition: transform .6s cubic-bezier(.3, 1.7, .5, 1); }
.au-life:hover, .au-life[aria-pressed="true"], .au-life:focus-visible { background: #fff; color: #111; border-color: #fff; }
.au-life:hover svg, .au-life[aria-pressed="true"] svg { transform: rotate(90deg) scale(1.15); }
.au-life:focus-visible { outline: 3px solid var(--accent, #ffe000); outline-offset: 4px; }
.au-life::before { content: ""; position: absolute; inset: -9px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .35); animation: au-ping 2.4s ease-out infinite; pointer-events: none; }
@keyframes au-ping { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }

/* ---------- Flechas en semicírculo y puntos ---------- */
.au-arrow { position: absolute; z-index: 6; top: 50%; width: clamp(110px, 9vw, 150px); aspect-ratio: 1; margin-top: calc(clamp(110px, 9vw, 150px) / -2); display: grid; color: #fff; background: rgba(0, 0, 0, .08); border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50%; cursor: pointer; transition: background-color .3s, transform .3s; }
.au-arrow svg { width: 26px; height: 26px; align-self: center; }
.au-arrow--prev { left: calc(clamp(110px, 9vw, 150px) / -2.4); }
.au-arrow--prev svg { justify-self: end; margin-right: 22%; }
.au-arrow--next { right: calc(clamp(110px, 9vw, 150px) / -2.4); }
.au-arrow--next svg { justify-self: start; margin-left: 22%; }
.au-arrow:hover { background: rgba(255, 255, 255, .16); }
.au-arrow:hover, .au-arrow:focus, .au-arrow:active { color: #fff; }
.au-arrow--prev:hover { transform: translateX(8px); }
.au-arrow--next:hover { transform: translateX(-8px); }
.au-arrow:focus-visible { outline: 3px solid var(--accent, #ffe000); outline-offset: 3px; }
.au-dots { position: absolute; z-index: 6; right: clamp(20px, 3vw, 44px); bottom: clamp(26px, 7vh, 70px); display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.au-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .35); border: 0; cursor: pointer; transition: background-color .3s, transform .3s; }
.au-dots button[aria-selected="true"] { background: #fff; transform: scale(1.35); }
.au-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.au-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pie del hero (igual en todas las plantillas) ---------- */
.au-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: #0a0a0a;
	border-top: 3px solid var(--accent);
}
.au-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); }
.au-foot__lead { max-width: 60ch; margin: 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: rgba(245, 245, 240, .86); }
.au-ctrl { display: flex; align-items: center; gap: 10px; }
.au-count { margin: 0 6px 0 0; font-family: var(--mb-mono); font-size: 14px; color: rgba(245, 245, 240, .7); white-space: nowrap; }
.au-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) {
	.au-foot { grid-template-columns: minmax(0, 1fr) auto; }
	.au-foot .ak-actions { grid-column: 1 / -1; }
}

/* ---------- Tablet y móvil ---------- */
@media (max-width: 1000px) {
	.au-hero { height: auto; min-height: 0; }
	.au-stage { flex: none; height: calc(100svh - 68px); min-height: 560px; }
	.au-slide img, .au-slide video { object-position: var(--mpos, var(--pos)); }
	.au-slice > div { background-position: var(--mpos, var(--pos)); }
	.au-word { font-size: clamp(96px, 27vw, 220px); }
	.au-cap { font-size: 12px; margin-left: .6em; }
	.au-arrow { --s: 84px; width: var(--s); margin-top: calc(var(--s) / -2); }
	.au-arrow--prev { left: calc(var(--s) / -2.4); }
	.au-arrow--next { right: calc(var(--s) / -2.4); }
	.au-life { padding: 16px 28px; bottom: 96px; }
	.au-dots { left: 0; right: 0; justify-content: center; bottom: 64px; }
}
@media (max-width: 700px) {
	.au-hero { padding-top: 60px; }
	.au-stage { height: calc(100svh - 60px); min-height: 520px; }
	.au-foot { grid-template-columns: 1fr; padding: 14px var(--gutter) 88px; }
	.au-ctrl { order: -1; }
	.au-foot .ak-actions .ak-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.au-grain, .au-life::before { animation: none; }
	.au-slide img { transition: none; }
}
