/* ==========================================================================
   ÁREA LEGAL — Hero (template-parts/al-hero.php)
   Página Área Legal. Extraído de area_legal.html (#hero).

   Renombrado a #al-hero / .al-hero-* para NO colisionar con el hero global
   (assets/css/hero.css, que usa #hero y .hero-* y se carga en todo el sitio).

   .prevencion-btn: botón dorado usado por el hero Y por la sección #prevencion
   (Fase 10). Se define AQUÍ (primera sección que lo usa) y #prevencion lo reutiliza.
   ========================================================================== */

#al-hero {
	position: relative;
	overflow: hidden;
	padding: 0;
}

.al-hero-bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			100deg,
			rgba(10, 21, 32, 0.96) 0%,
			rgba(10, 21, 32, 0.85) 34%,
			rgba(13, 27, 42, 0.55) 68%,
			rgba(13, 27, 42, 0.4) 100%
		),
		url("../img/metodologia_s3_legal.png") center / cover no-repeat;
}

.al-hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(198, 170, 71, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(198, 170, 71, 0.04) 1px, transparent 1px);
	background-size: 60px 60px;
}

.al-hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: 92vh;
	padding: 8rem 5% 5rem;
}

.al-hero-content {
	max-width: 640px;
}

.al-hero-eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.8rem;
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.al-hero-eyebrow::before {
	content: "";
	width: 44px;
	height: 1px;
	background: var(--gold);
}

.al-hero-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(3rem, 6.4vw, 5.4rem);
	font-weight: 600;
	line-height: 1.05;
	color: var(--white);
	margin-bottom: 0;
}

.al-hero-title em {
	font-style: normal;
	color: var(--gold);
}

.al-hero-accent {
	display: block;
	width: 92px;
	height: 3px;
	background: var(--gold);
	margin: 1.8rem 0 1.8rem;
}

.al-hero-sub {
	font-size: 1rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.8;
	max-width: 470px;
	margin-bottom: 2.6rem;
}

/* Botón dorado compartido (hero + #prevencion) */
.prevencion-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	background: var(--gold);
	color: var(--navy);
	padding: 1rem 2rem;
	border-radius: 5px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.25s,
		transform 0.25s;
}

.prevencion-btn:hover {
	background: var(--gold2);
	transform: translateY(-2px);
}

.prevencion-btn svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.al-hero-inner {
		min-height: 88vh;
		padding: 7rem 5% 4rem;
	}

	.al-hero-content {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.al-hero-inner {
		padding: 6.5rem 5% 3.5rem;
	}
}
