/*
 * Página /normas-seguridad/ — réplica de app/[locale]/normas-seguridad/page.tsx.
 * Todo scoped bajo .tpl-normas-seguridad.
 */

/* ---------- Hero ---------- */
.tpl-normas-seguridad .ns-hero {
	position: relative;
	background: var(--bj-charcoal);
	padding: calc(var(--header-h) + 4rem) 0 4rem;
	overflow: hidden;
}
.tpl-normas-seguridad .ns-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 48rem;
	margin-inline: auto;
	text-align: center;
}
.tpl-normas-seguridad .ns-hero__splat {
	position: absolute;
	opacity: 0.2;
	pointer-events: none;
}
.tpl-normas-seguridad .ns-hero__splat--yellow {
	top: 2.5rem;
	left: 2.5rem;
	width: 12rem;
	height: 12rem;
	fill: var(--bj-yellow);
	transform: rotate(20deg);
}
.tpl-normas-seguridad .ns-hero__splat--orange {
	bottom: 2.5rem;
	right: 2.5rem;
	width: 8rem;
	height: 8rem;
	fill: var(--bj-orange);
	transform: rotate(-15deg);
}
.tpl-normas-seguridad .ns-hero__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

/* ---------- Eyebrow / títulos / subtítulo ---------- */
.tpl-normas-seguridad .ns-eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
	color: var(--bj-yellow);
	margin-bottom: 1rem;
}
.tpl-normas-seguridad .ns-eyebrow--magenta {
	color: var(--bj-magenta);
	margin-bottom: 0.75rem;
}
.tpl-normas-seguridad .ns-title {
	color: var(--bj-white);
	font-size: 2.25rem; /* text-4xl */
	line-height: 1.1;
	margin-bottom: 1.5rem;
}
.tpl-normas-seguridad .ns-title--sub {
	font-size: 1.875rem; /* text-3xl */
	margin-bottom: 1rem;
}
.tpl-normas-seguridad .ns-title__accent { color: var(--bj-yellow); }
.tpl-normas-seguridad .ns-title__accent--magenta { color: var(--bj-magenta); }
.tpl-normas-seguridad .ns-subtitle {
	color: var(--bj-gray-soft);
	font-size: 1.125rem; /* text-lg */
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

/* ---------- Pills ancla del hero ---------- */
.tpl-normas-seguridad .ns-pill {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	text-decoration: none;
	transition: background 0.2s ease;
}
.tpl-normas-seguridad .ns-pill--yellow {
	border: 1px solid rgba(255, 214, 10, 0.4);
	color: var(--bj-yellow);
}
.tpl-normas-seguridad .ns-pill--yellow:hover { background: rgba(255, 214, 10, 0.1); }
.tpl-normas-seguridad .ns-pill--magenta {
	border: 1px solid rgba(255, 46, 99, 0.4);
	color: var(--bj-magenta);
}
.tpl-normas-seguridad .ns-pill--magenta:hover { background: rgba(255, 46, 99, 0.1); }

/* ---------- Secciones de normas ---------- */
.tpl-normas-seguridad .ns-rules { padding-block: 4rem; }
.tpl-normas-seguridad .ns-rules--rage { background: var(--bj-black); }
.tpl-normas-seguridad .ns-rules--splatter {
	background: var(--bj-charcoal);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.tpl-normas-seguridad .ns-rules__head {
	max-width: 48rem;
	margin: 0 auto 3rem;
	text-align: center;
}
.tpl-normas-seguridad .ns-rules__head .ns-subtitle { margin-bottom: 0; }
.tpl-normas-seguridad .ns-rules__grid {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 64rem; /* max-w-5xl */
	display: grid;
	gap: 1.5rem;
}

/* ---------- Tarjeta de norma ---------- */
.tpl-normas-seguridad .ns-rule {
	display: flex;
	gap: 1rem;
	border-radius: 1rem; /* rounded-2xl */
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.tpl-normas-seguridad .ns-rules--rage .ns-rule { background: var(--bj-charcoal); }
.tpl-normas-seguridad .ns-rules--splatter .ns-rule { background: var(--bj-black); }
.tpl-normas-seguridad .ns-rule__icon {
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 1.4rem;
	line-height: 1;
}
.tpl-normas-seguridad .ns-rules--rage .ns-rule__icon { background: rgba(255, 214, 10, 0.15); }
.tpl-normas-seguridad .ns-rules--splatter .ns-rule__icon { background: rgba(255, 46, 99, 0.15); }
.tpl-normas-seguridad .ns-rule__title {
	color: var(--bj-white);
	font-size: 1.25rem; /* text-xl */
	margin-bottom: 0.5rem;
}
.tpl-normas-seguridad .ns-rule__body {
	color: var(--bj-gray-soft);
	line-height: 1.625;
	margin: 0;
}

/* ---------- Callouts ---------- */
.tpl-normas-seguridad .ns-callout {
	max-width: 48rem; /* max-w-3xl */
	margin: 3rem auto 0;
	border-radius: 1rem;
	padding: 1.5rem;
	text-align: center;
}
.tpl-normas-seguridad .ns-callout--yellow {
	background: rgba(255, 214, 10, 0.1);
	border: 1px solid rgba(255, 214, 10, 0.3);
}
.tpl-normas-seguridad .ns-callout--magenta {
	background: rgba(255, 46, 99, 0.1);
	border: 1px solid rgba(255, 46, 99, 0.3);
}
.tpl-normas-seguridad .ns-callout__title {
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 1.5rem; /* text-2xl */
	margin-bottom: 0.5rem;
}
.tpl-normas-seguridad .ns-callout--yellow .ns-callout__title { color: var(--bj-yellow); }
.tpl-normas-seguridad .ns-callout--magenta .ns-callout__title { color: var(--bj-magenta); }
.tpl-normas-seguridad .ns-callout__sub {
	color: var(--bj-gray-soft);
	font-size: 0.875rem;
	margin: 0;
}

/* ---------- CTA final ---------- */
.tpl-normas-seguridad .ns-cta {
	background: var(--bj-black);
	padding-block: 4rem;
	text-align: center;
}
.tpl-normas-seguridad .ns-cta__title {
	color: var(--bj-white);
	font-size: 1.875rem; /* text-3xl */
	margin-bottom: 1rem;
}
.tpl-normas-seguridad .ns-cta__sub {
	color: var(--bj-gray-soft);
	margin-bottom: 1.5rem;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
	.tpl-normas-seguridad .ns-rules__grid { grid-template-columns: repeat(2, 1fr); }
	.tpl-normas-seguridad .ns-title { font-size: 3.75rem; }      /* md:text-6xl */
	.tpl-normas-seguridad .ns-title--sub { font-size: 3rem; }    /* md:text-5xl */
	.tpl-normas-seguridad .ns-cta__title { font-size: 2.25rem; } /* md:text-4xl */
}
