/*
 * FUNDARES — Fundación Argentina de Esgrima
 * Hoja de estilos del sitio. Sin frameworks: variables CSS + componentes.
 *
 * Índice
 *   1. Variables y base
 *   2. Utilidades de layout
 *   3. Botones y enlaces
 *   4. Cabecera y navegación
 *   5. Portada (hero, cifras, secciones)
 *   6. Páginas internas
 *   7. Componentes (tarjetas, línea de tiempo, logos, avisos)
 *   8. Pie de página
 *   9. Animaciones y preferencias
 */

/* 1. Variables y base ------------------------------------------------- */

:root {
	/* Colores tomados del logo: azul del círculo, celeste de la figura y el sol dorado */
	--navy-950: #06162b;
	--navy-900: #0a2140;
	--navy-800: #0f2d55;
	--blue-700: #1f4e8c;
	--sky-500: #3a9ad9;
	--sky-300: #8cc8ef;
	--sky-50: #eef6fc;
	--sun-400: #f2b134;
	--sun-300: #f7c768;

	--ink: #0f1b2d;
	--text: #33425a;
	--muted: #5d6c82;
	--line: #e2e8f0;
	--surface: #ffffff;
	--surface-soft: #f5f8fb;

	--font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1160px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(10, 33, 64, .06), 0 2px 8px rgba(10, 33, 64, .05);
	--shadow: 0 1px 2px rgba(10, 33, 64, .06), 0 12px 32px rgba(10, 33, 64, .10);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	background: var(--surface);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1, h2, h3, h4 {
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .005em;
	line-height: 1.05;
	margin: 0 0 .5em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); text-transform: uppercase; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }

p,
ul,
ol {
	margin: 0 0 1.1em;
}

p {
	text-wrap: pretty;
}

a {
	color: var(--blue-700);
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	text-underline-offset: .2em;
}

a:hover {
	text-decoration-color: currentColor;
}

strong {
	color: var(--ink);
	font-weight: 600;
}

:focus-visible {
	outline: 3px solid var(--blue-700);
	outline-offset: 3px;
	border-radius: 4px;
}

.hero :focus-visible,
.page-hero :focus-visible,
.cta-band :focus-visible,
.quote-band :focus-visible,
.option--featured :focus-visible,
.testimonial :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--sun-400);
}

.skip-link {
	background: var(--sun-400);
	color: var(--navy-950);
	font-weight: 600;
	left: 16px;
	padding: .6em 1em;
	position: absolute;
	top: -100px;
	z-index: 100;
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 12px;
}

.icon {
	fill: none;
	flex: none;
	height: 1em;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 1em;
}

.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* 2. Utilidades de layout --------------------------------------------- */

.container {
	margin-inline: auto;
	max-width: var(--container);
	padding-inline: var(--gutter);
	width: 100%;
}

.section {
	padding-block: clamp(64px, 9vw, 120px);
}

.section--soft {
	background: var(--surface-soft);
}

.section-head {
	margin-bottom: clamp(32px, 5vw, 56px);
	max-width: 720px;
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.eyebrow {
	align-items: center;
	color: var(--blue-700);
	display: inline-flex;
	font-size: .8125rem;
	font-weight: 600;
	gap: .6em;
	letter-spacing: .14em;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.eyebrow::before {
	background: var(--sun-400);
	border-radius: 2px;
	content: "";
	height: 3px;
	width: 28px;
}

.lead {
	color: var(--muted);
	font-size: clamp(1.125rem, 1.6vw, 1.25rem);
	line-height: 1.65;
}

.prose {
	max-width: 70ch;
}

.prose h2 {
	margin-top: 1.4em;
}

.prose h3 {
	margin-top: 1.6em;
}

.prose ul {
	padding-left: 0;
	list-style: none;
}

.prose li {
	margin-bottom: .55em;
	padding-left: 1.6em;
	position: relative;
}

.prose li::before {
	background: var(--sky-500);
	border-radius: 50%;
	content: "";
	height: 7px;
	left: .25em;
	position: absolute;
	top: .72em;
	width: 7px;
}

.prose li li::before {
	background: transparent;
	border: 1.5px solid var(--sky-500);
}

.prose ul ul {
	margin: .55em 0 0;
}

.grid-2 {
	display: grid;
	gap: clamp(32px, 5vw, 72px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	align-items: start;
}

/* 3. Botones y enlaces ------------------------------------------------ */

.btn {
	align-items: center;
	border: 2px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	gap: .55em;
	justify-content: center;
	line-height: 1.2;
	padding: .85em 1.5em;
	text-decoration: none;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
	white-space: nowrap;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn svg {
	flex: none;
	height: 1.15em;
	width: 1.15em;
}

.btn--sun {
	background: var(--sun-400);
	color: var(--navy-950);
	box-shadow: 0 6px 20px rgba(242, 177, 52, .28);
}

.btn--sun:hover {
	background: var(--sun-300);
}

.btn--navy {
	background: var(--navy-900);
	color: #fff;
}

.btn--navy:hover {
	background: var(--blue-700);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, .35);
	color: #fff;
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .7);
}

.btn--outline {
	border-color: var(--line);
	color: var(--ink);
	background: var(--surface);
}

.btn--outline:hover {
	border-color: var(--blue-700);
	color: var(--blue-700);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.link-arrow {
	align-items: center;
	color: var(--blue-700);
	display: inline-flex;
	font-weight: 600;
	gap: .4em;
	text-decoration: none;
}

.link-arrow svg {
	height: 1.1em;
	transition: transform .2s var(--ease);
	width: 1.1em;
}

.link-arrow:hover svg {
	transform: translateX(4px);
}

/* 4. Cabecera y navegación -------------------------------------------- */

.site-header {
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	background: rgba(255, 255, 255, .86);
	border-bottom: 1px solid transparent;
	position: sticky;
	top: 0;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
	z-index: 50;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 4px 20px rgba(10, 33, 64, .06);
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 24px;
	height: var(--header-h);
	justify-content: space-between;
}

.brand {
	align-items: center;
	color: var(--ink);
	display: inline-flex;
	flex: none;
	gap: 10px;
	text-decoration: none;
}

.brand img {
	height: 48px;
	width: auto;
}

.brand__text {
	display: grid;
	line-height: 1;
}

.brand__name {
	color: var(--navy-900);
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: .06em;
}

.brand__tag {
	color: var(--text);
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .09em;
	margin-top: 4px;
	text-transform: uppercase;
}

.brand--light .brand__name {
	color: #fff;
}

.brand--light .brand__tag {
	color: var(--sky-300);
}

.nav {
	align-items: center;
	display: flex;
	gap: 8px;
}

.nav__list {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-link {
	white-space: nowrap;
	border-radius: 999px;
	color: var(--ink);
	display: block;
	font-size: .95rem;
	font-weight: 500;
	padding: .55em .9em;
	position: relative;
	text-decoration: none;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}

.nav-link:hover {
	background: var(--sky-50);
	color: var(--blue-700);
}

.nav-link[aria-current="page"] {
	color: var(--blue-700);
}

.nav-link[aria-current="page"]::after {
	background: var(--sun-400);
	border-radius: 2px;
	bottom: 2px;
	content: "";
	height: 3px;
	left: .9em;
	position: absolute;
	right: .9em;
}

.nav .btn {
	margin-left: 8px;
	padding: .65em 1.2em;
}

.nav-toggle {
	align-items: center;
	flex: none;
	background: none;
	border: 0;
	border-radius: 12px;
	color: var(--ink);
	cursor: pointer;
	display: none;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.nav-toggle svg {
	height: 26px;
	width: 26px;
}

.nav-toggle .icon-close,
.nav-open .nav-toggle .icon-menu {
	display: none;
}

.nav-open .nav-toggle .icon-close {
	display: block;
}

@media (max-width: 1120px) {
	.js .nav-toggle {
		display: inline-flex;
	}

	/* Sin JavaScript el menú se muestra abierto debajo del logo */
	.site-header__inner {
		flex-wrap: wrap;
	}

	html:not(.js) .site-header__inner {
		height: auto;
		padding-block: 12px;
	}

	html:not(.js) .nav {
		align-items: flex-start;
		flex-wrap: wrap;
		width: 100%;
	}

	html:not(.js) .nav__list {
		flex-wrap: wrap;
	}

	.js .nav {
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px rgba(10, 33, 64, .12);
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		left: 0;
		padding: 16px var(--gutter) 24px;
		position: absolute;
		right: 0;
		top: 100%;
		max-height: calc(100vh - var(--header-h));
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		overscroll-behavior: contain;
		opacity: 0;
		transform: translateY(-8px);
		visibility: hidden;
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
	}

	.js .nav-open .nav {
		opacity: 1;
		transform: none;
		visibility: visible;
		transition: opacity .2s var(--ease), transform .2s var(--ease);
	}

	.js .nav__list {
		flex-direction: column;
		gap: 2px;
	}

	.nav-link {
		border-radius: var(--radius-sm);
		font-size: 1.125rem;
		padding: .75em .9em;
	}

	.nav-link[aria-current="page"] {
		background: var(--sky-50);
	}

	.nav-link[aria-current="page"]::after {
		display: none;
	}

	.nav .btn {
		margin-left: 0;
		padding: .9em 1.2em;
	}
}

@media (max-width: 900px) {
	.brand img {
		height: 42px;
	}

	.brand__name {
		font-size: 1.5rem;
	}
}

@media (max-width: 400px) {
	.brand__tag {
		display: none;
	}
}

/* 5. Portada ---------------------------------------------------------- */

.hero {
	background:
		radial-gradient(900px 520px at 85% 10%, rgba(58, 154, 217, .35), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(31, 78, 140, .55), transparent 70%),
		linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 70%);
	color: rgba(255, 255, 255, .82);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.hero__inner {
	align-items: center;
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	padding-block: clamp(72px, 11vw, 140px) clamp(120px, 14vw, 176px);
}

.hero h1 {
	color: #fff;
	margin-bottom: .35em;
}

.hero h1 em {
	color: var(--sun-400);
	font-style: normal;
}

.hero .lead {
	color: rgba(255, 255, 255, .78);
	max-width: 36em;
	margin-bottom: 2em;
}

.pill {
	align-items: center;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	color: rgba(255, 255, 255, .9);
	display: inline-flex;
	font-size: .8125rem;
	font-weight: 500;
	gap: .55em;
	letter-spacing: .04em;
	margin-bottom: 1.6rem;
	padding: .45em 1em;
}

.pill::before {
	background: var(--sun-400);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(242, 177, 52, .2);
	content: "";
	height: 7px;
	width: 7px;
}

.hero__art {
	justify-self: end;
	max-width: 440px;
	width: 100%;
}


/* Pista de esgrima: 14 m con línea central, líneas de en guardia y zonas de advertencia */
.piste {
	bottom: 0;
	height: 64px;
	left: 0;
	position: absolute;
	right: 0;
	z-index: -1;
}

.piste::before {
	background: rgba(255, 255, 255, .14);
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	right: 0;
	top: 50%;
}

.piste span {
	background: rgba(255, 255, 255, .22);
	height: 22px;
	position: absolute;
	top: calc(50% - 11px);
	width: 1px;
}

.piste span:nth-child(1) { left: 14.3%; }
.piste span:nth-child(2) { left: 35.7%; }
.piste span:nth-child(3) { left: 50%; height: 36px; top: calc(50% - 18px); background: rgba(242, 177, 52, .6); }
.piste span:nth-child(4) { left: 64.3%; }
.piste span:nth-child(5) { left: 85.7%; }

@media (max-width: 860px) {
	.hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__art {
		display: none;
	}
}

/* Cifras que se superponen al final del hero */
.stats {
	margin-top: -84px;
	position: relative;
	z-index: 2;
}

.stats__grid {
	background: var(--surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	margin: 0;
	padding: 8px;
}

.stat {
	padding: 24px 24px 22px;
	position: relative;
}

.stat + .stat::before {
	background: var(--line);
	content: "";
	height: 56%;
	left: 0;
	position: absolute;
	top: 22%;
	width: 1px;
}

.stat__value {
	color: var(--blue-700);
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 4vw, 3.25rem);
	font-weight: 700;
	line-height: 1;
	margin-bottom: .2em;
}

.stat__label {
	color: var(--ink);
	display: block;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: .35em;
}

.stat__detail {
	color: var(--muted);
	display: block;
	font-size: .9rem;
	line-height: 1.5;
}

@media (max-width: 960px) {
	.stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stat:nth-child(3)::before {
		display: none;
	}
}

@media (max-width: 520px) {
	.stats__grid {
		grid-template-columns: 1fr;
	}

	.stat + .stat::before {
		height: 1px;
		left: 24px;
		right: 24px;
		top: 0;
		width: auto;
	}

	.stat:nth-child(3)::before {
		display: block;
	}
}

/* Pilares de la fundación */
.pillars {
	display: grid;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pillar {
	align-items: start;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: grid;
	gap: 18px;
	grid-template-columns: auto 1fr;
	padding: 22px 24px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.pillar:hover {
	border-color: transparent;
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.pillar h3 {
	font-size: 1.45rem;
	margin-bottom: .25em;
}

.pillar p {
	color: var(--muted);
	font-size: .98rem;
	margin: 0;
}

.icon-badge {
	align-items: center;
	background: var(--sky-50);
	border-radius: 14px;
	color: var(--blue-700);
	display: inline-flex;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.icon-badge svg {
	height: 24px;
	width: 24px;
}

details.translation {
	border-top: 1px solid var(--line);
	margin-top: 1.5em;
	padding-top: 1em;
}

details.translation summary {
	color: var(--blue-700);
	cursor: pointer;
	font-size: .95rem;
	font-weight: 600;
	list-style: none;
}

details.translation summary::-webkit-details-marker {
	display: none;
}

details.translation summary::before {
	content: "+ ";
}

details.translation[open] summary::before {
	content: "– ";
}

details.translation p {
	color: var(--muted);
	margin-top: .8em;
}

/* Cita destacada */
.quote-band {
	background: var(--navy-900);
	color: rgba(255, 255, 255, .85);
	overflow: hidden;
	position: relative;
}

.quote-band figure {
	margin: 0;
	text-align: center;
}

.quote-band blockquote {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 auto;
	max-width: 900px;
	position: relative;
	text-align: center;
	color: #fff;
}

.quote-band blockquote::before {
	color: var(--sun-400);
	content: "“";
	display: block;
	font-size: 2.5em;
	height: .55em;
	line-height: 1;
}

.quote-band figcaption {
	color: var(--sky-300);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .14em;
	margin-top: 1.75rem;
	text-transform: uppercase;
}

/* Hitos de la trayectoria (portada) */
.milestones {
	counter-reset: none;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 1000px) {
	.milestones {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.milestones {
		grid-template-columns: 1fr;
	}
}

.milestone {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 22px 24px;
	position: relative;
}

.milestone::before {
	background: var(--sky-500);
	border-radius: 0 0 4px 4px;
	content: "";
	height: 4px;
	left: 22px;
	position: absolute;
	top: -1px;
	width: 40px;
}

.milestone--olympic::before {
	background: var(--sun-400);
}

.milestone__year {
	color: var(--blue-700);
	display: block;
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	margin: 8px 0 12px;
}

.milestone--olympic .milestone__year {
	color: #b77a06;
}

.milestone h3 {
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
	margin-bottom: .4em;
}

.milestone p {
	color: var(--muted);
	font-size: .95rem;
	line-height: 1.6;
	margin: 0;
}

/* Novedades de Instagram */
.instagram {
	align-items: center;
}

.instagram__frame {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	padding: 8px;
}

.instagram__frame iframe {
	border: 0;
	height: 500px;
	width: 100%;
}

.instagram__handle {
	align-items: center;
	color: var(--ink);
	display: inline-flex;
	font-weight: 600;
	gap: .5em;
	margin-bottom: 1.5rem;
	text-decoration: none;
}

.instagram__handle svg {
	color: #d6249f;
	height: 1.4em;
	width: 1.4em;
}

/* Banda "Cómo ayudar" */
.cta-band {
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(242, 177, 52, .25), transparent 60%),
		linear-gradient(120deg, var(--blue-700), var(--navy-900));
	border-radius: var(--radius-lg);
	color: rgba(255, 255, 255, .85);
	display: grid;
	gap: 24px 48px;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	overflow: hidden;
	padding: clamp(32px, 6vw, 64px);
	position: relative;
}

.cta-band .eyebrow {
	color: var(--sky-300);
}

.cta-band h2 {
	color: #fff;
	margin-bottom: .3em;
}

.cta-band p {
	margin: 0;
	max-width: 40em;
}

@media (max-width: 760px) {
	.cta-band {
		grid-template-columns: 1fr;
	}
}

/* 6. Páginas internas ------------------------------------------------- */

.page-hero {
	background:
		radial-gradient(700px 360px at 90% 0%, rgba(58, 154, 217, .3), transparent 60%),
		linear-gradient(160deg, var(--navy-800), var(--navy-950));
	color: rgba(255, 255, 255, .8);
	overflow: hidden;
	padding-block: clamp(56px, 8vw, 96px) clamp(72px, 9vw, 112px);
	position: relative;
	isolation: isolate;
}

.page-hero h1 {
	color: #fff;
	font-size: clamp(2.5rem, 6vw, 4.25rem);
	margin-bottom: .25em;
}

.page-hero .eyebrow {
	color: var(--sky-300);
}

.page-hero .lead {
	color: rgba(255, 255, 255, .75);
	margin: 0;
	max-width: 40em;
}

.page-hero .btn-row {
	margin-top: 2rem;
}

.page-hero--full {
	align-items: center;
	display: flex;
	min-height: 64vh;
}

/* Subnavegación de secciones dentro de una página */
.subnav {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: var(--header-h);
	z-index: 40;
}

.subnav ul {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	overflow-x: auto;
	padding: 10px 0;
	scrollbar-width: none;
}

.subnav ul::-webkit-scrollbar {
	display: none;
}

.subnav a {
	border-radius: 999px;
	color: var(--muted);
	display: block;
	font-size: .92rem;
	font-weight: 500;
	padding: .45em .95em;
	text-decoration: none;
	white-space: nowrap;
}

.subnav a:hover,
.subnav a.is-active {
	background: var(--sky-50);
	color: var(--blue-700);
}

.page-section {
	padding-block: clamp(56px, 8vw, 96px);
}

.page-section + .page-section {
	border-top: 1px solid var(--line);
}

.page-section__grid {
	display: grid;
	gap: clamp(24px, 4vw, 64px);
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
}

.page-section__grid > header h2 {
	font-size: clamp(2rem, 3.6vw, 2.75rem);
	position: sticky;
	top: calc(var(--header-h) + 80px);
}

@media (max-width: 860px) {
	.page-section__grid {
		grid-template-columns: 1fr;
	}

	.page-section__grid > header h2 {
		position: static;
	}
}

/* 7. Componentes ------------------------------------------------------ */

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(22px, 3vw, 32px);
}

.card h3 {
	margin-bottom: .45em;
}

.card > :last-child {
	margin-bottom: 0;
}

.card--accent {
	border-top: 4px solid var(--sky-500);
}

.card--sun {
	border-top: 4px solid var(--sun-400);
}

.card-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	margin-block: 1.5em;
}

.tag {
	background: var(--sky-50);
	border-radius: 999px;
	color: var(--blue-700);
	display: inline-block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .08em;
	margin-bottom: .9em;
	padding: .3em .8em;
	text-transform: uppercase;
}

/* Familia Saucedo */
.family {
	display: grid;
	gap: 16px;
	list-style: none;
	margin: 1.5em 0;
	padding: 0;
}

.family li {
	background: var(--surface-soft);
	border-radius: var(--radius);
	padding: 20px 22px 20px 24px;
	position: relative;
}

.family li::before {
	background: var(--sky-500);
	border: 0;
	border-radius: 4px;
	bottom: 20px;
	content: "";
	height: auto;
	left: 0;
	position: absolute;
	top: 20px;
	width: 4px;
}

.family .role {
	color: var(--blue-700);
	display: block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .1em;
	margin-bottom: .3em;
	text-transform: uppercase;
}

.family h4,
.card h3 {
	margin-top: 0;
}

.family h4 {
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	font-size: 1.4rem;
	margin-bottom: .3em;
}

.family p {
	margin: 0;
}

.testimonial {
	background: var(--navy-900);
	border-radius: var(--radius);
	color: rgba(255, 255, 255, .85);
	margin: 2em 0 0;
	padding: clamp(24px, 4vw, 40px);
	position: relative;
}

.testimonial blockquote {
	margin: 0;
}

.testimonial p {
	font-size: 1.1rem;
	font-style: italic;
	line-height: 1.7;
}

.testimonial p::before {
	color: var(--sun-400);
	content: "“";
	font-family: var(--font-display);
	font-size: 3.5rem;
	font-style: normal;
	font-weight: 700;
	line-height: 0;
	margin-right: .1em;
	vertical-align: -.45em;
}

.testimonial figcaption {
	color: var(--sky-300);
	font-weight: 600;
}

/* Barras de recursos */
.bars {
	display: grid;
	gap: 18px;
	list-style: none;
	margin: 1.5em 0 0;
	padding: 0;
}

.bars li {
	padding-left: 0;
}

.bars li::before {
	display: none;
}

.bar__head {
	display: flex;
	font-weight: 600;
	justify-content: space-between;
	margin-bottom: .45em;
	color: var(--ink);
}

.bar__track {
	background: var(--sky-50);
	border-radius: 999px;
	height: 12px;
	overflow: hidden;
}

.bar__fill {
	background: linear-gradient(90deg, var(--sky-500), var(--blue-700));
	border-radius: inherit;
	height: 100%;
	width: var(--value);
}

/* Línea de tiempo */
.timeline {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.timeline::before {
	background: linear-gradient(var(--sky-500), var(--blue-700));
	border-radius: 2px;
	bottom: 12px;
	content: "";
	left: 11px;
	position: absolute;
	top: 12px;
	width: 2px;
}

.timeline li {
	padding: 0 0 32px 48px;
	position: relative;
}

.timeline li:last-child {
	padding-bottom: 0;
}

.timeline li::before {
	background: var(--surface);
	border: 3px solid var(--sky-500);
	border-radius: 50%;
	content: "";
	height: 24px;
	left: 0;
	position: absolute;
	top: 4px;
	width: 24px;
}

.timeline li.is-olympic::before {
	border-color: var(--sun-400);
	background: var(--sun-400);
	box-shadow: 0 0 0 5px rgba(242, 177, 52, .2);
}

.timeline__year {
	color: var(--blue-700);
	display: block;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.timeline h3 {
	font-family: var(--font-body);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
	margin: .15em 0 .3em;
}

.timeline p {
	color: var(--muted);
	margin: 0;
}

/* Logos de federaciones y patrocinadores */
.partners-head {
	margin-top: clamp(64px, 9vw, 112px);
}

.logo-group + .logo-group {
	margin-top: 40px;
}

.logo-group h3 {
	color: var(--muted);
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .14em;
	margin-bottom: 16px;
	text-align: center;
	text-transform: uppercase;
}

.logos {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.logos a,
.logos span {
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	height: 110px;
	justify-content: center;
	padding: 18px 22px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.logos a:hover {
	border-color: transparent;
	box-shadow: var(--shadow);
}

@media (max-width: 520px) {
	.logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.logos img {
	filter: grayscale(1);
	max-height: 72px;
	mix-blend-mode: multiply;
	object-fit: contain;
	opacity: .75;
	transition: filter .25s var(--ease), opacity .25s var(--ease);
	width: auto;
}

.logos a:hover img,
.logos span:hover img {
	filter: none;
	opacity: 1;
}

/* Opciones de ayuda */
.options {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.option {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 4vw, 40px);
}

.option--featured {
	background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
	border-color: transparent;
	color: rgba(255, 255, 255, .8);
}

.option--featured h3,
.option--featured strong {
	color: #fff;
}

.option--featured .tag {
	background: rgba(242, 177, 52, .16);
	color: var(--sun-300);
}

.option--featured .icon-badge {
	background: rgba(255, 255, 255, .08);
	color: var(--sun-300);
}

.option--featured .option__list li > div > span {
	color: rgba(255, 255, 255, .72);
}

.option h3 {
	font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.option__list {
	border-top: 1px solid var(--line);
	display: grid;
	gap: 18px;
	list-style: none;
	margin: 1.5em 0 0;
	padding: 1.5em 0 0;
}

.option--featured .option__list {
	border-top-color: rgba(255, 255, 255, .12);
}

.option__list li {
	display: grid;
	gap: 14px;
	grid-template-columns: 48px 1fr;
}

.option__list strong {
	display: block;
}

.option__list li > div > span {
	color: var(--muted);
}

.help-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.help-grid li {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}

.help-grid .icon-badge {
	margin-bottom: 16px;
}

.help-grid h3 {
	font-family: var(--font-body);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
	margin-bottom: .35em;
}

.help-grid p {
	color: var(--muted);
	font-size: .95rem;
	margin: 0;
}

/* Sede y avisos */
.venue {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: stretch;
}

@media (max-width: 860px) {
	.venue {
		grid-template-columns: 1fr;
	}
}

.venue__map {
	border-radius: var(--radius);
	min-height: 360px;
	overflow: hidden;
	background: var(--surface-soft);
	border: 1px solid var(--line);
}

.venue__map iframe {
	border: 0;
	height: 100%;
	min-height: 360px;
	width: 100%;
}

.info-list {
	display: grid;
	gap: 18px;
	list-style: none;
	margin: 0 0 1.5em;
	padding: 0;
}

.info-list li {
	align-items: start;
	display: grid;
	gap: 14px;
	grid-template-columns: 44px 1fr;
}

.info-list .icon-badge {
	height: 44px;
	width: 44px;
	border-radius: 12px;
}

.info-list strong {
	display: block;
}

.info-list li > div > a {
	color: var(--muted);
}

.notice {
	background: #fff8e8;
	border: 1px solid #f6dfa6;
	border-radius: var(--radius);
	color: #5e4a14;
	display: grid;
	gap: 14px;
	grid-template-columns: auto 1fr;
	padding: 20px 22px;
}

.notice svg {
	color: #c98a06;
	height: 26px;
	width: 26px;
}

.notice strong {
	color: #4a3a0d;
}

.notice p {
	margin: 0;
}

.notice p + p {
	margin-top: .5em;
}

.channels {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.channels--spaced {
	margin-top: 24px;
}

.channel {
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	display: grid;
	gap: 16px;
	grid-template-columns: 48px 1fr;
	padding: 20px;
	text-decoration: none;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.channels > li {
	display: flex;
}

.channel {
	flex: 1;
}

.channel > span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.channel:hover {
	border-color: transparent;
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.channel strong {
	display: block;
	font-size: 1.05rem;
}

.channel > span:last-child > span {
	color: var(--muted);
	font-size: .95rem;
}

/* 8. Pie de página ---------------------------------------------------- */

.site-footer {
	background: var(--navy-950);
	color: rgba(255, 255, 255, .7);
	font-size: .95rem;
	padding-top: clamp(56px, 8vw, 88px);
}

.site-footer a {
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer__grid {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	padding-bottom: 48px;
}

@media (max-width: 900px) {
	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.footer__grid {
		grid-template-columns: 1fr;
	}
}

.footer__brand img {
	height: 64px;
	margin-bottom: 18px;
	width: auto;
}

.footer__brand p {
	max-width: 30em;
}

.site-footer h2 {
	color: #fff;
	font-family: var(--font-body);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .14em;
	margin-bottom: 1.1em;
	text-transform: uppercase;
}

.site-footer ul {
	display: grid;
	gap: .55em;
	list-style: none;
	margin: 0;
	padding: 0;
}

.social {
	display: flex;
	gap: 10px;
	margin-top: 4px;
}

.social a {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 12px;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
	width: 44px;
}

.social a:hover {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .4);
}

.social svg {
	height: 20px;
	width: 20px;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	display: flex;
	flex-wrap: wrap;
	font-size: .85rem;
	gap: 8px 24px;
	justify-content: space-between;
	padding-block: 22px;
}

/* 9. Animaciones y preferencias --------------------------------------- */

.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.js .reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.site-header,
	.subnav,
	.instagram__frame,
	.venue__map {
		display: none;
	}
}
