/* ==========================================================================
   Águilas Racing — base.css
   Variables de marca, reset, tipografía y componentes base.
   Fiel 1:1 a la paleta y tipografía del diseño original en Claude Design.
   ========================================================================== */

:root {
	--ar-black: #0a0a0b;
	--ar-panel: #111113;
	--ar-card: #17171a;
	--ar-gold: #e3b23c;
	--ar-gold-light: #f5cc5c;
	--ar-white: #f4f3ef;
	--ar-text-dim: #c7c6c1;
	--ar-text-body: #b9b8b3;
	--ar-text-mute: #8f8e8a;
	--ar-text-faint: #6f6e6a;
	--ar-text-faintest: #5c5b58;
	--ar-border: rgba(255, 255, 255, 0.08);
	--ar-border-strong: rgba(255, 255, 255, 0.15);
	--ar-gold-border: rgba(227, 178, 60, 0.4);
	--ar-font-display: 'Bebas Neue', sans-serif;
	--ar-font-body: 'Inter', sans-serif;
	--ar-max-width: 1360px;
	--ar-header-h: 84px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	background: var(--ar-black);
	color: var(--ar-white);
	font-family: var(--ar-font-body);
	font-weight: 300;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ar-gold);
	text-decoration: none;
}
a:hover {
	color: var(--ar-gold-light);
}

::selection {
	background: var(--ar-gold);
	color: var(--ar-black);
}

::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: var(--ar-black);
}
::-webkit-scrollbar-thumb {
	background: #2a2a2e;
	border-radius: 6px;
}

/* Foco visible accesible en todo elemento interactivo (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--ar-gold);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ar-skip-link {
	position: fixed;
	top: -60px;
	left: 16px;
	z-index: 10000;
	background: var(--ar-gold);
	color: var(--ar-black);
	padding: 12px 20px;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.04em;
	border-radius: 2px;
	transition: top 0.2s ease;
}
.ar-skip-link:focus {
	top: 16px;
	color: var(--ar-black);
}

/* ---------- Tipografía ---------- */
.ar-kicker {
	display: inline-block;
	color: var(--ar-gold);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.ar-h2 {
	font-family: var(--ar-font-display);
	font-size: clamp(36px, 4vw, 56px);
	margin: 16px 0 0;
	line-height: 1;
	color: var(--ar-white);
}
.ar-h2--sm {
	font-size: clamp(30px, 3vw, 42px);
}

.ar-text-gold {
	color: var(--ar-gold);
}

.ar-body-text {
	color: var(--ar-text-body);
	line-height: 1.75;
	font-size: 16px;
	font-weight: 300;
	margin: 0 0 18px;
}

.ar-section-heading {
	text-align: center;
	margin-bottom: 72px;
}

.ar-prose {
	line-height: 1.8;
	color: var(--ar-text-dim);
	font-weight: 300;
}
.ar-prose h2,
.ar-prose h3 {
	font-family: var(--ar-font-display);
	color: var(--ar-white);
	letter-spacing: 0.02em;
}
.ar-prose a {
	text-decoration: underline;
}
.ar-prose img {
	border-radius: 2px;
	margin: 24px 0;
}

/* ---------- Botones ---------- */
.ar-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 34px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.06em;
	border-radius: 2px;
	border: none;
	cursor: pointer;
	font-family: var(--ar-font-body);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.ar-btn--gold-solid {
	background: var(--ar-gold);
	color: var(--ar-black);
}
.ar-btn--gold-solid:hover {
	background: var(--ar-gold-light);
	color: var(--ar-black);
	transform: translateY(-2px);
}
.ar-btn--gold {
	background: linear-gradient(135deg, var(--ar-gold), #c8901f);
	color: var(--ar-black);
	padding: 11px 18px;
	font-size: 13px;
}
.ar-btn--gold:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
}
.ar-btn--outline {
	border: 1.5px solid rgba(244, 243, 239, 0.4);
	color: var(--ar-white);
	background: transparent;
}
.ar-btn--outline:hover {
	border-color: var(--ar-white);
	background: rgba(244, 243, 239, 0.06);
	color: var(--ar-white);
}

.ar-link-arrow {
	display: inline-block;
	color: var(--ar-gold);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	border-bottom: 1px solid var(--ar-gold);
	padding-bottom: 4px;
}

.ar-empty-state {
	color: var(--ar-text-mute);
	text-align: center;
	padding: 40px 20px;
	border: 1px dashed var(--ar-border-strong);
	border-radius: 2px;
}
.ar-empty-state--block {
	max-width: 560px;
	margin: 0 auto;
	padding: 80px 20px;
}
.ar-empty-state--block .ar-btn {
	margin-top: 16px;
}

.ar-img-placeholder {
	background: var(--ar-card);
	width: 100%;
	height: 100%;
	min-height: 160px;
}
