/* ============================================================
 * ARENA RESPAWN -- core.css
 * Header, menú móvil, hero de tira horizontal, botones,
 * estructura general de secciones.
 * ============================================================ */

/* ------------------------------------------------------------
 * Topbar (NO sticky, position static según ficha de diseño)
 * ------------------------------------------------------------ */
.topbar {
	position: static;
	z-index: 10;
	background-color: var(--color-papel);
	border-bottom: 3px solid var(--color-tinta);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	padding-bottom: 18px;
}

.topbar-masthead {
	display: flex;
	align-items: center;
	gap: 14px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-mark {
	width: 38px;
	height: 38px;
	flex-shrink: 0;
}

.logo-word {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 22px;
	letter-spacing: 0.4px;
	color: var(--color-tinta);
}

.logo-word span {
	color: var(--color-acento);
}

.topbar-kicker {
	display: none;
}

.topbar-nav {
	display: flex;
	align-items: center;
	gap: 34px;
}

.topbar-nav-list {
	display: flex;
	align-items: center;
	gap: 28px;
}

.topbar-nav-link {
	font-weight: 600;
	font-size: 15px;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.topbar-nav-link:hover,
.topbar-nav-link[aria-current="page"] {
	border-bottom-color: var(--color-acento);
	color: var(--color-acento);
}

.topbar-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background-color: var(--color-tinta);
	color: var(--color-papel);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.4px;
	border-radius: var(--radio-s);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.topbar-cta:hover {
	background-color: var(--color-acento);
	transform: translateY(-2px);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	border: 2px solid var(--color-tinta);
	border-radius: var(--radio-s);
}

.nav-toggle-bar {
	width: 22px;
	height: 2px;
	background-color: var(--color-tinta);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
 * Drawer móvil (fuera del header, ver nota de grietas conocidas)
 * ------------------------------------------------------------ */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 400;
	background-color: var(--color-tinta);
	transform: translateX(100%);
	transition: transform 0.28s ease;
	overflow-y: auto;
}

.drawer[data-open="true"] {
	transform: translateX(0);
}

.drawer-inner {
	padding: 96px 32px 48px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.drawer-link {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 30px;
	color: var(--color-papel);
	padding: 14px 0;
	border-bottom: 1px solid rgba(247, 244, 238, 0.16);
}

.drawer-link[aria-current="page"] {
	color: var(--color-acento);
}

.drawer-close {
	position: absolute;
	top: 22px;
	right: 24px;
	width: 44px;
	height: 44px;
	color: var(--color-papel);
	font-size: 30px;
	line-height: 1;
	border: 2px solid rgba(247, 244, 238, 0.4);
	border-radius: var(--radio-s);
}

.drawer-cta {
	margin-top: 24px;
	display: inline-flex;
	align-self: flex-start;
	padding: 14px 26px;
	background-color: var(--color-acento);
	color: var(--color-tinta);
	font-weight: 700;
	border-radius: var(--radio-s);
}

/* ------------------------------------------------------------
 * Splash / hero con mecanica strip-intro
 * ------------------------------------------------------------ */
.splash {
	position: relative;
	padding-top: 64px;
	padding-bottom: 0;
	overflow: hidden;
}

.splash::before {
	content: "";
	position: absolute;
	top: -140px;
	right: -160px;
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, rgba(232, 84, 30, 0.28), transparent 68%);
	pointer-events: none;
}

.splash-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: end;
	padding-bottom: 56px;
}

.splash-title {
	font-size: clamp(40px, 5.2vw, 78px);
	margin-top: 18px;
	color: var(--color-tinta);
}

.splash-title em {
	font-style: normal;
	color: var(--color-acento);
}

.splash-lede {
	margin-top: 22px;
}

.splash-actions {
	margin-top: 34px;
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 30px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.3px;
	border-radius: var(--radio-s);
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
	background-color: var(--color-acento);
	color: var(--color-papel);
}

.btn-primary:hover {
	transform: translateY(-3px);
	background-color: #C7430F;
}

.btn-ghost {
	border: 2px solid var(--color-tinta);
	color: var(--color-tinta);
}

.btn-ghost:hover {
	background-color: var(--color-tinta);
	color: var(--color-papel);
}

.splash-figure {
	position: relative;
}

.splash-figure img {
	border-radius: var(--radio-m);
	box-shadow: var(--sombra-glow);
}

.splash-figure-caption {
	position: absolute;
	left: 18px;
	bottom: -18px;
	background-color: var(--color-tinta);
	color: var(--color-papel);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.6px;
	padding: 8px 14px;
	border-radius: var(--radio-s);
}

/* tira / lente horizontal con scroll nativo */
.splash-strip {
	margin-top: 56px;
	border-top: 1px solid var(--color-borde);
	padding-top: 18px;
	padding-bottom: 34px;
}

.splash-strip-track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--color-acento) transparent;
	padding-bottom: 14px;
}

.splash-strip-item {
	position: relative;
	flex: 0 0 auto;
	width: 260px;
}

.splash-strip-item img {
	width: 260px;
	height: 168px;
	object-fit: cover;
	border-radius: var(--radio-s);
}

.splash-strip-caption {
	margin-top: 8px;
	font-size: 12px;
	color: var(--color-tinta-suave);
	font-weight: 600;
}

.splash-strip-caption strong {
	color: var(--color-tinta);
}

/* ------------------------------------------------------------
 * Cabeceras de seccion generales
 * ------------------------------------------------------------ */
.section {
	padding-top: var(--space-6);
	padding-bottom: var(--space-6);
}

.section-tight {
	padding-top: var(--space-5);
	padding-bottom: var(--space-5);
}

.section-loose {
	padding-top: var(--space-7);
	padding-bottom: var(--space-7);
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	margin-bottom: var(--space-5);
}

.section-title {
	font-size: clamp(30px, 3.4vw, 46px);
	margin-top: 14px;
}

.section-title-sm {
	font-size: 24px;
	margin-top: 0;
}

.section-head .lede {
	margin-top: 14px;
}

/* pagina interna: cabecera tipo tapa de seccion */
.page-head {
	padding-top: 56px;
	padding-bottom: 44px;
	border-bottom: 3px solid var(--color-tinta);
}

.page-head-title {
	font-size: clamp(36px, 5vw, 64px);
	margin-top: 16px;
}

.page-head .lede {
	margin-top: 18px;
}

.breadcrumb-line {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--color-tinta-suave);
	margin-bottom: 20px;
}

.breadcrumb-line a {
	font-weight: 700;
	color: var(--color-tinta);
}

/* ------------------------------------------------------------
 * Patron de revelado: visible por defecto, JS arma el ocultado
 * ------------------------------------------------------------ */
.js-reveal {
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-reveal.reveal-armed {
	opacity: 0;
	transform: translateY(18px);
}

.js-reveal.reveal-armed.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.js-reveal.reveal-armed {
		transition: none;
		opacity: 1;
		transform: none;
	}
}

.splash-grid-page {
	align-items: start;
	padding-bottom: 0;
}

.note-line {
	margin-top: 20px;
	font-size: 14px;
}

@media (max-width: 960px) {
	.splash-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.splash-figure {
		order: -1;
	}
	.topbar-nav {
		display: none;
	}
	.nav-toggle {
		display: inline-flex;
	}
}

@media (max-width: 600px) {
	.splash {
		padding-top: 40px;
	}
	.splash-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.btn {
		justify-content: center;
	}
	.splash-strip-item,
	.splash-strip-item img {
		width: 208px;
	}
	.section {
		padding-top: var(--space-5);
		padding-bottom: var(--space-5);
	}
	.section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}
