/* =========================================================
   Reflexionando — portada cinematográfica
   Solo lo específico del hero: vídeo, titular y bloque inferior.
   La cabecera, el dock y el cristal líquido viven en main.css
   porque son de todo el sitio.
   Solo se carga en la portada.
   ========================================================= */

/* El hero ocupa el viewport entero; sin relleno de cabecera */
body.home .contenido {
	padding: 0;
	min-height: 100vh;
}

/* --- Vídeo de fondo --- */

.hero-fondo {
	position: fixed;
	inset: 0;
	z-index: 0;
	transform: scale(1.08);
	transform-origin: center;
	will-change: transform;
}

.hero-fondo video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Titular --- */

.hero-titular {
	position: fixed;
	top: 120px;
	left: 0;
	right: 0;
	z-index: 20;
	margin: 0;
	padding-inline: 1.5rem;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: clamp(40px, 5.4vw, 72px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity 1s ease, transform 1s ease;
}

.hero-titular__linea1 {
	display: block;
	color: #fff;
}

.hero-titular__linea2 {
	display: block;
	color: rgba(255, 255, 255, 0.55);
}

.hero-titular em {
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	letter-spacing: 0;
}

/* --- Bloque inferior --- */

.hero-inferior {
	position: fixed;
	bottom: 3.5rem;
	left: 0;
	right: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding-inline: 1.5rem;
	text-align: center;
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

/* Aparición al cargar */
html.hero-lista .hero-titular,
html.hero-lista .hero-inferior {
	opacity: 1;
	transform: translateY(0);
}

.hero-parrafo {
	margin: 0;
	max-width: 620px;
	font-family: 'Barlow', sans-serif;
	font-size: 15px;
	line-height: 1.625;
	color: #fff;
}

.hero-parrafo span {
	color: rgba(255, 255, 255, 0.55);
}

.hero-boton {
	display: inline-block;
	background: #fff;
	color: #000;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 500;
	border-radius: 9999px;
	padding: 0.875rem 2rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-boton:hover {
	transform: scale(1.03);
	box-shadow: 0 0 32px 4px rgba(255, 255, 255, 0.2);
}

.hero-boton:active {
	transform: scale(0.97);
}

.hero-sello {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.hero-sello svg {
	flex: none;
}

/* --- Móvil --- */

@media (max-width: 860px) {
	.hero-titular {
		top: 190px;
	}

	.hero-inferior {
		bottom: 2rem;
	}
}

/* --- Movimiento reducido --- */

@media (prefers-reduced-motion: reduce) {
	.hero-titular,
	.hero-inferior {
		transition: none;
		opacity: 1;
		transform: none;
	}
}
