/* ==================================================
   Future Car — estilos propios de la plantilla (hero: garaje de partículas)
   Barra, botones, secciones comunes, similares, CTA y WhatsApp vienen de themes/_kit/am-kit.css
   Capas del hero: fondo < lienzo de atrás < título < lienzo de adelante (camioneta) < interfaz
   fc.js actualiza: --boost (0-1, hiperimpulso), --mint (color del modo) y la posición de .fc-sub
   ================================================== */

.fc-hero {
	--mint: #5fffda;
	--pink: #ff3d6e;
	--blue: #3d6bff;
	--boost: 0;
	--foot-h: 92px;
	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: #10161a;
	touch-action: pan-y;
}
.fc-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(50% 42% at 54% 62%, rgba(110, 60, 255, .22), rgba(110, 60, 255, 0) 70%),
		radial-gradient(35% 30% at 20% 30%, rgba(95, 255, 218, .07), rgba(95, 255, 218, 0) 70%),
		linear-gradient(180deg, #0c1114 0%, #10161a 55%, #0b0f12 100%);
}
.fc-bg::after {
	/* líneas de barrido muy sutiles */
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px);
	pointer-events: none;
}
.fc-cv { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.fc-cv--back { z-index: 1; }
.fc-cv--front { z-index: 3; }

/* ---------- Título (queda detrás de la camioneta) ---------- */
.fc-copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: calc(68px + 11vh); pointer-events: none; }
.fc-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-family: 'Chakra Petch', var(--mb-mono); font-size: 14px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--mint); }
.fc-kicker__n { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; font-size: 13px; letter-spacing: .06em; color: #10161a; background: var(--mint); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.fc-page .fc-title {
	margin: 0;
	font-family: 'Archivo', var(--mb-display);
	font-size: clamp(64px, 10.4vw, 178px);
	font-style: italic;
	font-weight: 900;
	line-height: .84;
	letter-spacing: -.02em;
	text-align: left;
	text-transform: uppercase;
	color: #fff;
}
.fc-line { display: block; overflow: hidden; padding: .02em .12em .06em 0; margin: -.02em 0 -.06em; }
.fc-line--2 { padding-left: 1.7em; }
.fc-w { display: inline-block; transform: skewX(calc(var(--boost) * -14deg)); transform-origin: 0 100%; }
/* Segunda línea: solo contorno (deja ver las partículas y la camioneta la tapa) */
.fc-w--2 { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .92); }
.fc-title .fc-ch { display: inline-block; }

/* Texto bajo la camioneta (como "Addon for Slider Revolution" del original) */
.fc-sub { position: absolute; z-index: 4; left: 50%; top: 70%; width: max-content; max-width: calc(100% - 2 * var(--gutter)); margin: 0; font-family: 'Chakra Petch', var(--mb-mono); font-size: 13px; font-weight: 600; letter-spacing: .34em; text-align: center; text-transform: uppercase; color: var(--mint); transform: translateX(-50%); text-shadow: 0 0 18px rgba(95, 255, 218, .45); }

/* ---------- Velocímetro ---------- */
.fc-hud { position: absolute; z-index: 4; right: var(--gutter); top: calc(68px + 24px); width: 132px; height: 132px; display: grid; place-items: center; }
.fc-hud__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(135deg); }
.fc-hud__ring circle { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 245 327; }
.fc-hud__track { stroke: rgba(255, 255, 255, .12); }
.fc-hud__val { stroke: var(--mint); stroke-dashoffset: 245; filter: drop-shadow(0 0 6px rgba(95, 255, 218, .6)); }
.fc-hud__speed { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.fc-hud__v { font-family: 'Chakra Petch', var(--mb-mono); font-size: 38px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.fc-hud__speed span { margin-top: 2px; font-family: var(--mb-mono); font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .6); }
.fc-hud__lab { position: absolute; bottom: 4px; margin: 0; font-family: var(--mb-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); }
.fc-hero.is-boost .fc-hud__val { stroke: var(--pink); filter: drop-shadow(0 0 8px rgba(255, 61, 110, .8)); }
.fc-hero.is-boost .fc-hud__v { color: #fff; text-shadow: 0 0 16px rgba(255, 61, 110, .9); }

/* ---------- Modos ---------- */
.fc-modes { position: absolute; z-index: 5; left: var(--gutter); bottom: calc(var(--foot-h) + 22px); display: flex; gap: 6px; }
.ak-page .fc-mode {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 12px 16px 14px;
	white-space: nowrap;
	font-family: 'Chakra Petch', var(--mb-mono);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .62);
	background: rgba(16, 22, 26, .55);
	border: 1px solid rgba(255, 255, 255, .12);
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	cursor: pointer;
	transition: color .2s linear, background-color .2s linear;
}
.fc-mode b { font-size: 12px; color: var(--mint); }
.fc-mode i { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: 0 50%; }
.ak-page .fc-mode:hover { color: #fff; background: rgba(95, 255, 218, .08); }
.ak-page .fc-mode.is-on { color: #fff; background: rgba(95, 255, 218, .12); border-color: rgba(95, 255, 218, .4); }
.fc-mode:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Hiperimpulso ---------- */
.ak-page .fc-boost {
	position: absolute;
	z-index: 5;
	right: var(--gutter);
	bottom: calc(var(--foot-h) + 116px);
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 12px;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 0 0 0 18px;
	font-family: 'Chakra Petch', var(--mb-mono);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	background: none;
	border: 0;
	cursor: pointer;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
}
.fc-boost__ring { width: 64px; height: 64px; transform: rotate(-90deg); flex: 0 0 auto; }
.fc-boost__ring circle { fill: rgba(16, 22, 26, .6); stroke: rgba(255, 255, 255, .2); stroke-width: 3; }
.fc-boost__ring .fc-boost__fill { fill: none; stroke: var(--pink); stroke-dasharray: 176; stroke-dashoffset: calc(176 - 176 * var(--boost)); filter: drop-shadow(0 0 6px rgba(255, 61, 110, .8)); }
/* Ícono de avance rápido: dos chevrones */
.fc-boost__ico { position: absolute; right: 21px; top: 50%; width: 22px; height: 17px; margin-top: -8.5px; fill: var(--mint); }
.fc-hero.is-boost .fc-boost__ico { fill: var(--pink); }
.ak-page .fc-boost:hover .fc-boost__ring circle:first-child, .fc-boost.is-down .fc-boost__ring circle:first-child { stroke: var(--mint); }
.fc-boost:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.fc-hint { position: absolute; z-index: 4; left: 50%; top: 76%; margin: 0; font-family: var(--mb-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); transform: translateX(-50%); white-space: nowrap; pointer-events: none; }
.fc-hint--touch { display: none; }
@media (hover: none) {
	.fc-hint--mouse { display: none; }
	.fc-hint--touch { display: inline; }
}
.fc-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pie del hero ---------- */
.fc-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;
	/* a la derecha queda libre el lugar del botón flotante de WhatsApp */
	padding: 14px calc(var(--gutter) + 140px) 16px var(--gutter);
	background: rgba(8, 11, 13, .92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-top: 3px solid var(--accent);
}
.fc-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); }
.fc-foot__lead { max-width: 60ch; margin: 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: rgba(245, 245, 240, .86); }
.fc-ctrl { display: flex; align-items: center; gap: 10px; }
.fc-count { margin: 0 6px 0 0; font-family: var(--mb-mono); font-size: 14px; color: rgba(245, 245, 240, .7); white-space: nowrap; }
.fc-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) {
	.fc-foot { grid-template-columns: minmax(0, 1fr) auto; }
	.fc-foot .ak-actions { grid-column: 1 / -1; }
}
@media (max-height: 820px) and (min-width: 1001px) {
	.fc-page .fc-title { font-size: clamp(60px, 9vw, 140px); }
	.fc-hud { width: 112px; height: 112px; top: calc(68px + 14px); }
	.fc-hud__v { font-size: 32px; }
}

/* ---------- Tablet y móvil: el escenario ocupa la pantalla y el pie queda debajo ---------- */
@media (max-width: 1000px) {
	.fc-hero { height: auto; min-height: 0; }
	.fc-hero::before { content: ''; display: block; flex: 0 0 auto; height: calc(100svh - 70px); min-height: 600px; max-height: 1000px; }
	.fc-copy { top: calc(60px + 5vh); }
	.fc-page .fc-title { font-size: clamp(50px, 13vw, 120px); }
	.fc-hud { top: auto; bottom: calc(var(--foot-h) + 96px); left: var(--gutter); right: auto; width: 104px; height: 104px; }
	.fc-hud__v { font-size: 28px; }
	.fc-hud__lab { display: none; }
	.fc-hint { display: none; }
	.fc-sub { letter-spacing: .2em; font-size: 11px; }
	.ak-page .fc-boost { bottom: calc(var(--foot-h) + 112px); }
}
@media (max-width: 700px) {
	.fc-hero { padding-top: 60px; }
	.fc-hero::before { height: min(calc(100svh - 70px), 700px); min-height: 560px; }
	.fc-line--2 { padding-left: .6em; }
	.fc-kicker { font-size: 12px; letter-spacing: .2em; }
	.fc-modes { left: 10px; right: 10px; bottom: calc(var(--foot-h) + 14px); }
	.ak-page .fc-mode { flex: 1 1 auto; justify-content: center; padding: 10px 8px 12px; font-size: 11px; letter-spacing: .02em; }
	.fc-mode span { display: none; }
	.fc-mode.is-on span { display: inline; }
	.fc-mode b { font-size: 13px; }
	.ak-page .fc-boost { bottom: calc(var(--foot-h) + 80px); right: 10px; padding-left: 10px; font-size: 12px; }
	.fc-boost__ring { width: 56px; height: 56px; }
	.fc-boost__ico { right: 17px; }
	.fc-hud { left: 10px; bottom: calc(var(--foot-h) + 74px); width: 84px; height: 84px; }
	.fc-hud__v { font-size: 22px; }
	.fc-foot { grid-template-columns: 1fr; padding: 14px var(--gutter) 88px; }
	.fc-ctrl { order: -1; }
	.fc-foot .ak-actions .ak-btn { flex: 1 1 auto; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.fc-w { transform: none; }
}
