/* ════════════════════════════════════════
   COMPONENTS · G7Z Editorial Motion
   Chrome, marquee, tiles, facade, chips, canales,
   stickers Y2K. Los layouts viven en sections.css.
═══════════════════════════════════════ */

/* ── TOPBAR ── */
.topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--z-chrome);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9rem var(--gutter);
	background: rgba(10, 10, 10, 0.55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.topbar-brand {
	font-family: var(--font-display);
	font-stretch: 125%;
	font-weight: 800;
	font-size: 1.3rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.topbar-nav {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}
.topbar-nav a {
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink);
	transition: color var(--dur-hover) linear;
}
.topbar-nav a:hover {
	color: var(--red-text);
}
.topbar-cta {
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink) !important;
	background: var(--red-deep);
	padding: 0.6rem 1.1rem;
	transition: background var(--dur-hover) linear;
}
.topbar-cta:hover {
	background: #971010;
}
@media (max-width: 640px) {
	.topbar-nav a:not(.topbar-cta) { display: none; }
}

/* ── STICKERS Y2K (SVG inline) ── */
.stk {
	position: absolute;
	pointer-events: none;
}
.stk svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.stk.red { color: var(--red); }
.stk.ink { color: var(--ink); }
.stk.dim { color: var(--ink-dim); }

/* ── SECTION LABEL ── */
.sec-label {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--ink-dim);
	margin-bottom: 1.6rem;
}
.sec-label .idx {
	color: var(--red-text);
}
.sec-label .stk-inline {
	width: 0.85rem;
	height: 0.85rem;
	fill: var(--red);
}

/* ── HEADLINE ── */
.headline {
	font-family: var(--font-display);
	font-stretch: 125%;
	font-weight: 750;
	font-size: var(--size-h2);
	line-height: 0.96;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	max-width: 14ch;
	margin-bottom: clamp(1.25rem, 3vh, 2.25rem);
}

/* ── MARQUEE (keyframes en motion.css) ── */
.marquee {
	overflow: hidden;
	white-space: nowrap;
	border-block: 1px solid var(--line);
	padding-block: 0.9rem;
	background: var(--bg);
}
.marquee.on-paper {
	background: var(--paper);
	color: var(--ink-on-paper);
	border-block: none;
}
@media (max-width: 860px) {
	.marquee { padding-block: 0.65rem; }
}
.marquee-track {
	display: inline-flex;
	align-items: center;
	gap: 2rem;
	padding-right: 2rem;
	font-family: var(--font-display);
	font-stretch: 125%;
	font-weight: 700;
	font-size: clamp(0.95rem, 2.2vw, 1.4rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	will-change: transform;
}
.marquee-track .star {
	width: 1em;
	height: 1em;
	fill: var(--red);
	flex: none;
}

/* ── TILES estilo "musical style" ── */
.tiles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.tile-frame {
	position: relative;
	border: 1px solid var(--line-strong);
	overflow: hidden;
}
.tile-frame img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	transition: scale 0.5s var(--cut);
}
@media (hover: hover) {
	.tile:hover .tile-frame img {
		scale: 1.04;
	}
}
.tile-frame::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(230, 32, 32, 0.28), transparent 45%);
	opacity: 0;
	transition: opacity var(--dur-hover) linear;
}
@media (hover: hover) {
	.tile:hover .tile-frame::after {
		opacity: 1;
	}
}
.tile-key {
	display: block;
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink-dim);
	margin-top: 0.8rem;
}
.tile-val {
	display: block;
	font-family: var(--font-display);
	font-stretch: 125%;
	font-weight: 700;
	font-size: clamp(0.95rem, 1.6vw, 1.15rem);
	text-transform: uppercase;
	line-height: 1.25;
	margin-top: 0.2rem;
}
@media (max-width: 900px) {
	.tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ── CHIPS ── */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.chips span {
	font-family: var(--font-mono);
	font-size: var(--size-small);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	background: var(--red-deep);
	color: var(--ink);
	padding: 0.55rem 1.1rem;
}
.chips.outline span {
	background: none;
	border: 1px solid var(--line-strong);
	color: var(--ink-dim);
}

/* ── FACADE SoundCloud · altura fija = CLS 0 ── */
.sc-embed {
	height: 166px;
	background: rgba(10, 10, 10, 0.88);
	border: 1px solid var(--line-strong);
}
.sc-embed iframe {
	width: 100%;
	height: 164px;
	border: 0;
}
.sc-facade {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2rem);
	width: 100%;
	height: 100%;
	padding-inline: clamp(1rem, 2.5vw, 1.75rem);
	text-align: left;
}
.sc-num {
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	color: var(--red-text);
}
.sc-info {
	min-width: 0;
}
.sc-title {
	display: block;
	font-family: var(--font-display);
	font-stretch: 125%;
	font-weight: 750;
	font-size: clamp(1.2rem, 2.6vw, 1.9rem);
	line-height: 1.05;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sc-meta {
	display: block;
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	color: var(--ink-dim);
	margin-top: 0.45rem;
}
.sc-play {
	display: grid;
	place-items: center;
	width: clamp(3rem, 6vw, 3.75rem);
	height: clamp(3rem, 6vw, 3.75rem);
	background: var(--red);
	color: var(--ink);
	border-radius: 50%;
	transition: background var(--dur-hover) linear, scale var(--dur-hover) linear;
}
@media (hover: hover) {
	.sc-facade:hover .sc-play {
		background: #C41414;
		scale: 1.06;
	}
}
.sc-play svg {
	width: 34%;
	height: 34%;
	fill: currentColor;
	translate: 6% 0;
}
@media (max-width: 640px) {
	.sc-title { white-space: normal; font-size: 1.1rem; }
}

/* ── CANALES de booking ── */
.channel {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 1.5rem;
	padding-block: 1.35rem;
	border-top: 1px solid var(--line);
	transition: padding-left var(--dur-hover) linear;
}
.channel:last-child {
	border-bottom: 1px solid var(--line);
}
@media (hover: hover) {
	.channel:hover {
		padding-left: 0.7rem;
	}
}
.channel-num {
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	color: var(--red-text);
}
.channel-label {
	display: block;
	font-family: var(--font-display);
	font-stretch: 125%;
	font-weight: 750;
	font-size: clamp(1.3rem, 3vw, 2.2rem);
	line-height: 1.05;
	text-transform: uppercase;
}
.channel-handle {
	display: block;
	font-family: var(--font-mono);
	font-size: var(--size-small);
	color: var(--ink-dim);
	margin-top: 0.3rem;
}
.channel-arrow {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: clamp(1.3rem, 2.6vw, 1.9rem);
	color: var(--ink-dim);
	transition: color var(--dur-hover) linear, translate var(--dur-hover) linear;
}
@media (hover: hover) {
	.channel:hover .channel-arrow {
		color: var(--red);
		translate: 0.4rem 0;
	}
}

/* ── FOOTER ── */
.site-footer {
	border-top: 1px solid var(--line);
	padding: 2.25rem 0;
}
.footer-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	color: var(--ink-dim);
}
.footer-row .links {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}
.footer-row a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink-dim);
	transition: color var(--dur-hover) linear;
}
.footer-row a:hover {
	color: var(--red);
}

/* ── PLATAFORMAS con logo oficial (contenido de marca) ── */
.platforms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
	margin-top: 1.8rem;
}
.platform {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	min-height: 48px;
	border: 1px solid var(--line-strong);
	background: rgba(10, 10, 10, 0.7);
	padding: 0.6rem 1.2rem;
	font-family: var(--font-mono);
	font-size: var(--size-small);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: border-color var(--dur-hover) linear, background var(--dur-hover) linear;
}
.platform:hover {
	border-color: var(--ink);
	background: rgba(10, 10, 10, 0.9);
}
.platform img {
	height: 20px;
	width: auto;
	display: block;
}
.platform-glyph {
	width: 22px;
	height: 22px;
	display: block;
}
.platforms-note {
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	color: var(--ink-dim);
	flex-basis: 100%;
}

/* ── LOGOS del footer ── */
.footer-logo {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	opacity: 0.85;
	transition: opacity var(--dur-hover) linear;
}
.footer-logo:hover {
	opacity: 1;
}
.footer-logo img {
	height: 16px;
	width: auto;
	display: block;
}
.footer-logo svg {
	width: 18px;
	height: 18px;
	display: block;
	color: var(--ink-dim);
}

/* ── BOTÓN flotante de WhatsApp (solo mobile, aparece tras el hero) ── */
.whats-fab {
	position: fixed;
	right: 1.1rem;
	bottom: calc(1.2rem + env(safe-area-inset-bottom));
	z-index: var(--z-chrome);
	display: none;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--red);
	color: var(--ink);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
	translate: 0 160%;
	opacity: 0;
}
.whats-fab svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
}
@media (max-width: 860px) {
	.whats-fab { display: grid; }
	body.is-scrolled .whats-fab {
		translate: 0 0;
		opacity: 1;
	}
	/* aire justo para el botón flotante (los logos van a la izquierda) */
	.site-footer { padding-bottom: 2.5rem; }
}

/* ── TAP STATES (mobile) ── */
@media (hover: none) {
	.channel:active,
	.sc-facade:active,
	.tile:active .tile-frame,
	.platform:active,
	.topbar-cta:active,
	.whats-fab:active {
		scale: 0.98;
	}
}
* {
	-webkit-tap-highlight-color: transparent;
}
