/* ==================================================
   Furniture Store — estilos propios de la plantilla (hero: un día en cada habitación)
   Barra, botones, secciones comunes, similares, CTA y WhatsApp vienen de themes/_kit/am-kit.css
   fu.js actualiza: --sky1 / --sky2 (degradado de la habitación, como el original), --tod (color de la hora),
   --night (0 de día, 1 de noche) y --acc (color de acento de la habitación)
   ================================================== */

.fu-hero {
	--sky1: #495e5e;
	--sky2: #c0a38a;
	--tod: rgba(255, 230, 190, .12);
	--night: 0;
	--acc: #fee7b2;
	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: #2a3a3c;
}

/* ---------- Cielo: degradado de la habitación + color de la hora + estrellas ---------- */
.fu-sky { position: absolute; inset: 0; z-index: 0; background: linear-gradient(150deg, var(--sky1) 0%, var(--sky2) 100%); }
.fu-tod { position: absolute; inset: 0; background: var(--tod); }
.fu-stars { position: absolute; inset: 0; opacity: var(--night); }
.fu-stars i { position: absolute; display: block; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px rgba(255, 255, 255, .9); animation: fu-twinkle 3s ease-in-out infinite; }
@keyframes fu-twinkle { 50% { opacity: .25; } }

/* ---------- Escenario ---------- */
.fu-stage { position: relative; z-index: 2; flex: 1 1 auto; min-height: 0; }
.fu-scene { position: absolute; inset: 0; }
.fu-cv { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: pan-y; }
/* Sol / luna detrás de la maqueta (fu.js lo mueve por su arco) */
.fu-orb { position: absolute; left: 0; top: 0; width: clamp(110px, 13vw, 210px); aspect-ratio: 1; margin: calc(clamp(110px, 13vw, 210px) / -2) 0 0 calc(clamp(110px, 13vw, 210px) / -2); pointer-events: none; }
.fu-orb i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffbe8, #ffd98a 45%, #ffb35a 80%); box-shadow: 0 0 60px 20px rgba(255, 210, 130, .45), 0 0 180px 60px rgba(255, 190, 110, .25); transition: background .6s linear, box-shadow .6s linear, transform .6s var(--ease); }
.fu-orb.is-moon i { background: radial-gradient(circle at 36% 34%, #ffffff, #dfe7f5 50%, #b7c3d8 85%); box-shadow: 0 0 40px 10px rgba(190, 210, 255, .35), 0 0 140px 40px rgba(150, 180, 255, .18); transform: scale(.7); }
.fu-orb.is-moon i::after { content: ''; position: absolute; left: 22%; top: 30%; width: 22%; height: 22%; border-radius: 50%; background: rgba(150, 165, 190, .35); box-shadow: 34px 22px 0 -4px rgba(150, 165, 190, .3), 14px 46px 0 -6px rgba(150, 165, 190, .28); }

/* ---------- Texto ---------- */
.fu-copy { position: absolute; z-index: 3; left: var(--gutter); top: 50%; width: min(460px, 34vw); transform: translateY(-50%); }
.fu-brand { margin: 0 0 6px; font-family: 'Manrope', sans-serif; font-size: 30px; font-weight: 800; line-height: 1; color: var(--acc); }
.fu-num { position: absolute; right: 0; top: -14px; margin: 0; font-family: 'Manrope', sans-serif; font-size: clamp(70px, 8vw, 130px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35); pointer-events: none; }
.fu-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.fu-mask > span { display: inline-block; }
.fu-page .fu-title { position: relative; margin: 0 0 18px; font-family: 'Manrope', var(--mb-display); font-weight: 800; line-height: 1; letter-spacing: -.035em; text-align: left; text-transform: none; color: #fff; }
.fu-name { font-size: clamp(48px, 5.6vw, 92px); text-shadow: 0 14px 40px rgba(0, 0, 0, .25); }
.fu-col { margin-top: 6px; font-size: 14px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--acc); }
.fu-desc { max-width: 38ch; margin: 0 0 24px; font-family: 'Manrope', sans-serif; font-size: clamp(15px, 1.15vw, 17px); font-weight: 500; line-height: 1.6; color: rgba(255, 255, 255, .86); text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.fu-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 26px; }
.ak-page .fu-explore {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 26px;
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: #1a2526;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5);
	transition: transform .2s var(--ease), background-color .2s linear;
}
.ak-page .fu-explore:hover, .ak-page .fu-explore:focus-visible { color: #1a2526; background: var(--acc); transform: translateY(-3px); }
.fu-pieces { margin: 0; font-family: var(--mb-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.fu-pieces b { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
.fu-rooms { display: flex; gap: 10px; }
.ak-page .fu-room {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 92px;
	min-height: 0;
	margin: 0;
	padding: 8px 6px 7px;
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .78);
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 16px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	cursor: pointer;
	transition: background-color .2s linear, border-color .2s linear, transform .2s var(--ease);
}
.fu-room img { display: block; width: 56px; height: 52px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3)); transition: transform .3s var(--ease); }
.ak-page .fu-room:hover { color: #fff; background: rgba(255, 255, 255, .18); }
.fu-room:hover img { transform: translateY(-4px) scale(1.06); }
.ak-page .fu-room.is-on { color: #1a2526; background: #fff; border-color: #fff; transform: translateY(-4px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }

/* ---------- Reloj solar ---------- */
.fu-dial { position: absolute; z-index: 4; right: var(--gutter); top: clamp(14px, 3vh, 30px); width: 220px; padding: 12px 10px 10px; text-align: center; background: rgba(10, 18, 20, .35); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fu-dial__arc { display: block; width: 100%; overflow: visible; }
.fu-dial__arc path { fill: none; stroke-width: 3; stroke-linecap: round; }
.fu-dial__track { stroke: rgba(255, 255, 255, .22); stroke-dasharray: 2 6; }
.fu-dial__done { stroke: var(--acc); stroke-dasharray: 271; stroke-dashoffset: 271; }
.fu-dial__arc line { stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.fu-dial__knob { position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; cursor: grab; touch-action: none; }
.fu-dial__knob i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffbe8, #ffc861 60%, #ff9f3a); box-shadow: 0 0 14px 4px rgba(255, 200, 100, .6); transition: background .4s linear, box-shadow .4s linear; }
.fu-dial.is-night .fu-dial__knob i { background: radial-gradient(circle at 36% 34%, #fff, #c9d4e8); box-shadow: 0 0 12px 3px rgba(180, 200, 255, .55); }
.fu-dial__knob:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.fu-dial__knob.is-dragging { cursor: grabbing; }
.fu-dial__time { margin: -6px 0 6px; font-family: 'Manrope', sans-serif; line-height: 1.1; }
.fu-dial__hh { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fu-dial__lab { display: block; font-family: var(--mb-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.ak-page .fu-dial__play { width: auto; min-height: 0; margin: 0; padding: 5px 12px; font-family: var(--mb-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; cursor: pointer; }
.ak-page .fu-dial__play:hover { color: #1a2526; background: #fff; }
.fu-dial__go { display: none; }
.fu-dial__play[aria-pressed="false"] .fu-dial__pause { display: none; }
.fu-dial__play[aria-pressed="false"] .fu-dial__go { display: inline; }

.fu-hint { position: absolute; z-index: 3; right: var(--gutter); bottom: 16px; margin: 0; font-family: var(--mb-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); opacity: calc(.35 + var(--night) * .65); pointer-events: none; }
.fu-hint--touch { display: none; }
@media (hover: none) {
	.fu-hint--mouse { display: none; }
	.fu-hint--touch { display: inline; }
}
.fu-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pie del hero ---------- */
.fu-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(12, 18, 19, .9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-top: 3px solid var(--accent);
}
.fu-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); }
.fu-foot__lead { max-width: 60ch; margin: 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: rgba(245, 245, 240, .86); }
.fu-ctrl { display: flex; align-items: center; gap: 10px; }
.fu-count { margin: 0 6px 0 0; font-family: var(--mb-mono); font-size: 14px; color: rgba(245, 245, 240, .7); white-space: nowrap; }
.fu-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) {
	.fu-foot { grid-template-columns: minmax(0, 1fr) auto; }
	.fu-foot .ak-actions { grid-column: 1 / -1; }
	.ak-page .fu-room { width: 78px; }
}
/* Pantallas bajas */
@media (max-height: 820px) and (min-width: 1001px) {
	.fu-name { font-size: clamp(42px, 4.6vw, 74px); }
	.fu-desc { margin-bottom: 16px; }
	.fu-acts { margin-bottom: 16px; }
	.fu-room img { width: 46px; height: 40px; }
	.fu-dial { width: 190px; padding: 8px; }
	.fu-dial__hh { font-size: 22px; }
}

/* ---------- Tablet y móvil: maqueta arriba, texto abajo ---------- */
@media (max-width: 1000px) {
	.fu-hero { height: auto; min-height: 0; }
	.fu-stage { display: flex; flex-direction: column; }
	.fu-scene { position: relative; inset: auto; height: 62svh; min-height: 420px; }
	.fu-copy { position: relative; left: auto; top: auto; width: auto; margin: 0 var(--gutter) 26px; transform: none; }
	/* El reloj pasa a ser una barra bajo la maqueta */
	.fu-scene { order: 0; }
	.fu-dial { order: 1; position: relative; right: auto; top: auto; display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 14px; width: auto; margin: 0 var(--gutter) 22px; padding: 8px 14px 8px 10px; text-align: left; }
	.fu-copy { order: 2; }
	.fu-dial__time { margin: 0; }
	.fu-dial__hh { font-size: 22px; }
	.fu-hint { display: none; }
	.fu-rooms { flex-wrap: wrap; }
}
@media (max-width: 700px) {
	.fu-hero { padding-top: 60px; }
	.fu-scene { height: 56svh; min-height: 380px; }
	.fu-dial { grid-template-columns: 110px 1fr auto; gap: 10px; }
	.fu-rooms { gap: 6px; }
	.ak-page .fu-room { flex: 1 1 0; width: auto; }
	.fu-foot { grid-template-columns: 1fr; padding: 14px var(--gutter) 88px; }
	.fu-ctrl { order: -1; }
	.fu-foot .ak-actions .ak-btn { flex: 1 1 auto; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.fu-sky, .fu-orb i, .fu-dial__knob i { transition: none; }
	.fu-stars i { animation: none; }
}
