/* Track ID — tipografía de marca + rejilla de sesiones
   Polaroids sobre negro, como la referencia de Syber Selects. */

@font-face {
	font-family: 'Buleten';
	src: url('fonts/buleten.woff2') format('woff2'),
	     url('fonts/buleten.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Elementor gratuito no deja registrar fuentes propias, así que la aplicamos
   por clase: en el widget, pestaña Avanzado → Clases CSS → tir-display */
.tir-display,
.tir-display .elementor-heading-title {
	font-family: 'Buleten', 'Impact', sans-serif !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* --- Base oscura + cabecera y pie propios --------------------------- */

/* El kit global de Elementor pone el body en blanco y se carga después que
   esta hoja, de ahí el !important. */
html,
body {
	background-color: #000 !important;
}

.site-header,
.site-footer {
	display: none !important;
}

/* Hello deja envoltorios con fondo claro que asoman entre el contenido
   y el pie. Los pasamos a transparente para que no salga la franja. */
.site,
#page,
#content,
.site-main,
.page-content,
main,
.elementor,
.entry-content {
	background: transparent !important;
}

/* Cabecera: hamburguesa a la izquierda, logo centrado.
   En la portada va transparente sobre el hero y al deslizar baja en negro. */

.tir-header {
	position: sticky;
	top: 0;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #000;
	padding: 22px 28px;
	transition: background-color 0.3s ease, padding 0.3s ease;
}

.tir-header--sobre-hero {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	/* El hero es una cabina de pintura muy clara: sin este velo, el logo y la
	   hamburguesa en blanco se pierden contra la pared. */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0) 100%);
	padding: 30px 28px 46px;
}

.tir-header--sobre-hero.tir-header--fijo {
	position: fixed;
	background: rgba(0, 0, 0, 0.92);
	padding: 16px 28px;
	background-image: none;
	animation: tir-baja 0.35s ease;
}

@keyframes tir-baja {
	from { transform: translateY(-100%); }
	to   { transform: translateY(0); }
}

.tir-header__logo {
	display: inline-block;
	line-height: 0;
}

.tir-header__logo img {
	width: 210px;
	max-width: 46vw;
	height: auto;
	transition: width 0.3s ease;
}

.tir-header--fijo .tir-header__logo img {
	width: 160px;
}

.tir-header__logo span {
	color: #fff;
	font-size: 20px;
	letter-spacing: 0.2em;
}

/* Hueco a la derecha del mismo ancho que la hamburguesa, para que el logo
   quede centrado de verdad y no desplazado. */
.tir-header__hueco,
.tir-burger {
	width: 34px;
	flex: 0 0 34px;
}

.tir-burger {
	height: 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	/* Hello y Elementor estilan los <button> con su color de acento y ganan
	   por especificidad, así que aquí toca !important. */
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.tir-burger span {
	display: block;
	height: 2px;
	width: 26px;
	background: #fff;
	transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Separación por margen y no por gap: el tema pisa el display del <button>
   y con gap las tres barras se quedaban pegadas en un solo trazo. */
.tir-burger span + span {
	margin-top: 6px;
}

.tir-burger--abierto span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.tir-burger--abierto span:nth-child(2) {
	opacity: 0;
}

.tir-burger--abierto span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Menú desplegado a pantalla completa */

.tir-menu {
	position: fixed;
	inset: 0;
	z-index: 95;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 48px;
	background: rgba(0, 0, 0, 0.97);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.tir-menu--abierto {
	opacity: 1;
}

.tir-menu[hidden] {
	display: none;
}

.tir-menu__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}

.tir-menu__nav a {
	font-family: 'Buleten', 'Impact', sans-serif;
	font-size: clamp(30px, 6vw, 54px);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8c8c8c;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tir-menu__nav a:hover,
.tir-menu__nav .current-menu-item a {
	color: #fff;
}

.tir-menu__social {
	display: flex;
	gap: 30px;
}

.tir-menu__social a {
	color: #6e6e6e;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
}

.tir-menu__social a:hover {
	color: #fff;
}

.tir-sin-scroll,
.tir-sin-scroll body {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.tir-header,
	.tir-menu,
	.tir-burger span,
	.tir-header__logo img {
		transition: none;
	}
	.tir-header--sobre-hero.tir-header--fijo {
		animation: none;
	}
}

.tir-footer {
	background: #000;
	padding: 64px 24px 54px;
	text-align: center;
}

.tir-footer__logo {
	width: 150px;
	max-width: 45vw;
	height: auto;
}

.tir-footer__social {
	margin: 20px 0 0;
	display: flex;
	justify-content: center;
	gap: 34px;
}

.tir-footer__social a {
	color: #6e6e6e;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}

.tir-footer__social a:hover {
	color: #fff;
}

/* --- Rejilla de sesiones -------------------------------------------- */

.tir-grid {
	--tir-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--tir-cols), minmax(0, 1fr));
	gap: 54px 48px;
	margin: 0;
	padding: 0;
}

.tir-card {
	margin: 0;
}

.tir-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Las portadas ya traen el marco de polaroid dentro de la propia imagen.
   Lo que añadimos aquí es que parezcan fotos físicas: ligeramente torcidas,
   con sombra, y que se enderecen al pasar por encima. */

.tir-card__img {
	line-height: 0;
	transform: rotate(-1.1deg);
	filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.75));
	transition: transform 0.35s ease, filter 0.35s ease;
}

.tir-card:nth-child(2n) .tir-card__img {
	transform: rotate(1.3deg);
}

.tir-card:nth-child(3n) .tir-card__img {
	transform: rotate(-0.5deg);
}

.tir-card__img img {
	display: block;
	width: 100%;
	height: auto;
}

.tir-card__link:hover .tir-card__img {
	transform: rotate(0deg) scale(1.02);
	filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.9));
}

.tir-card__title {
	margin: 20px 0 0;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.35;
	color: #fff;
}

.tir-card__style {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #8c8c8c;
}

.tir-card__cta {
	display: inline-block;
	margin: 14px 0 0;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c8c8c8;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.tir-card__link:hover .tir-card__cta {
	color: #fff;
	border-bottom-color: #fff;
}

/* --- Audio Sessions: reproductores ---------------------------------- */

.tir-audio {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 56px;
}

.tir-audio__item {
	margin: 0;
}

.tir-audio__title {
	margin: 0;
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: #fff;
}

.tir-audio__style {
	margin: 6px 0 0;
	font-size: 13px;
	color: #8c8c8c;
}

.tir-audio__player {
	display: block;
	margin: 18px 0 0;
	border: 0;
	filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.7));
}

.tir-audio__cta {
	display: inline-block;
	margin: 12px 0 0;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8c8c8c;
	text-decoration: none;
}

.tir-audio__cta:hover {
	color: #fff;
}

@media (max-width: 860px) {
	.tir-audio {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.tir-vacio {
	color: #8c8c8c;
	text-align: center;
}

@media (max-width: 1024px) {
	.tir-grid {
		--tir-cols: 2;
		gap: 44px 36px;
	}
}

@media (max-width: 640px) {
	.tir-grid {
		--tir-cols: 1;
		gap: 40px;
	}
}
