/*
 * Rediseño Humboldt (vista previa, inc/proposal.php): sistema único y claro para
 * todo el sitio. Sustituye main.css, editorial.css, vanguard.css, flagship.css,
 * contrast.css y admission.css mientras la vista previa está activa.
 *
 * Marca: azul #0f2b7d, amarillo #f4df73, carbón #363437, blanco #fefefe,
 * celeste #d2eaec. Escudo en PNG + nombre en texto + separador. Fotos rectangulares.
 * Detalles escolares: cuadrícula de cuaderno, subrayado de resaltador y las ondas
 * del escudo. Detalles tecnológicos: cifras, gráficos, paneles de vidrio, movimiento.
 *
 * Estado base = estático y completo. Lo animado vive bajo .is-live (vitrina.js lo
 * añade solo sin prefers-reduced-motion).
 */

@font-face {
	font-family: "Roboto";
	src: url("../fonts/roboto-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #fefefe;
	--mist: #eef6f7;
	--celeste: #d2eaec;
	--blue: #0f2b7d;
	--blue-deep: #0a1f5c;
	--blue-mid: #1f47b8;
	--yellow: #f4df73;
	--yellow-deep: #e8c93a;
	--carbon: #363437;
	--dim: #5b6170;
	--line: rgba(15, 43, 125, 0.13);
	--line-strong: rgba(15, 43, 125, 0.24);
	--on-blue-dim: rgba(254, 254, 254, 0.74);
	--shadow: 0 1px 2px rgba(15, 43, 125, 0.06), 0 12px 32px -12px rgba(15, 43, 125, 0.22);
	--r: 4px;
	--r-card: 8px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--max: 80rem;
	--nav-h: 4rem;
	--local-h: 3.25rem;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--font: "Roboto", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--grad-sky: linear-gradient(90deg, #0f2b7d 0%, #d2eaec 100%);
	--grad-night: linear-gradient(135deg, #0f2b7d 0%, #363437 100%);
	--grad-sun: linear-gradient(90deg, #0f2b7d 0%, #f4df73 100%);
	--grid-paper: linear-gradient(rgba(15, 43, 125, 0.055) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(15, 43, 125, 0.055) 1px, transparent 1px) 0 0 / 28px 28px;
	--waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='28' viewBox='0 0 80 28'%3E%3Cpath d='M0 8c10 0 10-6 20-6s10 6 20 6 10-6 20-6 10 6 20 6' fill='none' stroke='%230f2b7d' stroke-width='3.5'/%3E%3Cpath d='M0 20c10 0 10-6 20-6s10 6 20 6 10-6 20-6 10 6 20 6' fill='none' stroke='%23f4df73' stroke-width='3.5'/%3E%3C/svg%3E");
	color-scheme: light;
}

/* ---------- Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
.home { scroll-padding-top: calc(var(--local-h) + 1rem); }
body.vitrina {
	margin: 0;
	background: var(--paper);
	color: var(--carbon);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
:where(.vitrina) img { display: block; max-width: 100%; height: auto; }
:where(.vitrina) a { color: inherit; text-decoration: none; }
:where(.vitrina) h1, :where(.vitrina) h2, :where(.vitrina) h3, :where(.vitrina) h4, :where(.vitrina) p, :where(.vitrina) figure, :where(.vitrina) ul, :where(.vitrina) ol, :where(.vitrina) dl, :where(.vitrina) dd { margin: 0; padding: 0; }
:where(.vitrina) ul, :where(.vitrina) ol { list-style: none; }
:where(.vitrina) h1, :where(.vitrina) h2, :where(.vitrina) h3 { color: var(--blue); text-wrap: balance; }
:where(.vitrina) button, :where(.vitrina) input, :where(.vitrina) select, :where(.vitrina) textarea { font: inherit; color: inherit; }
:where(.vitrina) :focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 3px; border-radius: 2px; }
.vitrina svg { width: 1.1em; height: 1.1em; flex: none; }
.vitrina svg.avh-menu-icon { width: 1.25rem; height: 1.25rem; margin-right: 0.75rem; color: var(--blue-mid); }

.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;
}
.skip-link {
	position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.75rem 1rem;
	background: var(--yellow); color: var(--blue); font-weight: 700; border-radius: 999px;
	transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.v-frame, .frame, .ed-wrap, .vitrina .container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.v-dim { color: var(--dim); }
.v-accent { color: var(--yellow); }
.v-eyebrow, .ed-kicker, .eyebrow, .admission-kicker {
	display: inline-flex; align-items: center; gap: 0.55rem;
	color: var(--blue-mid); font-size: 0.9375rem; font-weight: 650; letter-spacing: 0.01em; text-transform: none;
}
.v-eyebrow::before, .ed-kicker::before, .eyebrow::before, .admission-kicker::before {
	content: ""; width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 3px rgba(244, 223, 115, 0.35);
}
.v-title {
	font-size: clamp(2.3rem, 5.4vw, 4.5rem);
	font-weight: 750;
	line-height: 1.03;
	letter-spacing: -0.035em;
}

/* Subrayado de resaltador: se traza al entrar en pantalla. */
.h-mark {
	color: inherit; font-weight: inherit;
	background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 88% / 100% 0.32em;
	padding-inline: 0.04em;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.is-live .h-mark { background-size: 0% 0.32em; transition: background-size 1100ms var(--ease-out); }
.is-live .h-mark.is-drawn { background-size: 100% 0.32em; }

/* Ondas del escudo: franja decorativa. */
.h-waves { height: 28px; background: var(--waves) repeat-x 0 center / 80px 28px; }
.is-live .h-waves { animation: h-waves 18s linear infinite; }
@keyframes h-waves { to { background-position-x: 80px; } }

/* ---------- Botones ------------------------------------------------------- */
.v-pill, .vitrina .button, .admission-button, .colophon .button {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 3rem; padding: 0.8rem 1.5rem;
	border: 0; border-radius: 999px;
	background: var(--blue); color: var(--paper);
	font-size: 1rem; font-weight: 650; line-height: 1.1; white-space: nowrap; text-decoration: none;
	cursor: pointer; overflow: hidden; isolation: isolate;
	box-shadow: 0 8px 20px -10px rgba(15, 43, 125, 0.55);
	transition: scale 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.v-pill--sun, .admission-button--gold, .colophon .button {
	background: var(--yellow); color: var(--blue);
	box-shadow: inset 0 0 0 1px rgba(15, 43, 125, 0.12), 0 8px 20px -12px rgba(160, 130, 0, 0.6);
}
.v-pill::after, .vitrina .button::after, .admission-button::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
	transform: translateX(-120%);
}
.v-pill:active, .vitrina .button:active, .admission-button:active { scale: 0.97; }
.v-pill--small { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.9rem; }

.v-link, .ed-link, .contact-map__link {
	display: inline-flex; align-items: center; gap: 0.35rem;
	color: var(--blue-mid); font-weight: 650; font-size: 1.0625rem;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
	transition: background-size 260ms var(--ease-out), color 200ms ease;
}
.v-link__chev { display: inline-block; font-size: 1.35em; line-height: 0.8; transition: transform 200ms var(--ease-out); }
.ed-link svg, .contact-map__link svg { transition: transform 200ms var(--ease-out); }

.v-round {
	display: inline-grid; place-items: center; width: 3rem; height: 3rem;
	border: 1px solid var(--line-strong); border-radius: 50%;
	background: var(--paper); color: var(--blue);
	font-size: 1.6rem; line-height: 1; cursor: pointer;
	box-shadow: var(--shadow);
	transition: scale 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, opacity 200ms ease;
}
.v-round:active { scale: 0.94; }
.v-round:disabled { opacity: 0.35; cursor: default; box-shadow: none; }

.v-chip {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.55rem 0.95rem; border: 1px solid rgba(254, 254, 254, 0.28); border-radius: 999px;
	background: rgba(254, 254, 254, 0.1); color: var(--paper); font-size: 0.9375rem;
	transition: background-color 200ms ease, scale 160ms var(--ease-out);
}
.v-chip:active { scale: 0.97; }
.v-chip--static { color: var(--on-blue-dim); }

.v-glass {
	border: 1px solid var(--line); border-radius: var(--r-card);
	background: rgba(254, 254, 254, 0.78);
	backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
	box-shadow: var(--shadow);
}

@media (hover: hover) and (pointer: fine) {
	.v-pill:hover, .vitrina .button:hover, .admission-button:hover { background-color: var(--blue-mid); }
	.v-pill--sun:hover, .admission-button--gold:hover, .colophon .button:hover { background-color: #f8e88f; }
	.v-pill:hover::after, .vitrina .button:hover::after, .admission-button:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-out); }
	.v-link:hover, .ed-link:hover, .contact-map__link:hover { background-size: 100% 2px; }
	.v-link:hover .v-link__chev, .ed-link:hover svg { transform: translateX(3px); }
	.v-round:not(:disabled):hover { background: var(--blue); color: var(--paper); }
	.v-chip:hover { background: rgba(254, 254, 254, 0.2); }
}

/* Foco de luz que sigue al puntero (vitrina.js fija --mx/--my). */
[data-spot] { position: relative; }
[data-spot]::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
	background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 71, 184, 0.1), transparent 62%);
	opacity: 0; transition: opacity 300ms ease;
}
@media (hover: hover) and (pointer: fine) { [data-spot]:hover::before { opacity: 1; } }

/* ---------- Marca --------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--blue); }
.brand img { width: auto; height: 2.75rem; }
.brand__rule { width: 2px; height: 2.1rem; background: var(--yellow); border-radius: 2px; }
.brand__name { display: grid; font-size: 1.0625rem; font-weight: 750; line-height: 1.02; letter-spacing: -0.01em; white-space: nowrap; }
.brand__name span { font-size: 0.75rem; font-weight: 550; color: var(--dim); letter-spacing: 0.02em; }
.brand--light, .colophon .brand { color: var(--paper); }
.colophon .brand__name span { color: var(--on-blue-dim); }

/* ---------- Navegación global --------------------------------------------- */
.v-nav {
	position: sticky; top: 0; left: 0; right: 0; z-index: 60;
	background: rgba(254, 254, 254, 0.86);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
}
.home .v-nav { position: absolute; }
.v-nav__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--nav-h); }
.v-nav__brand { margin-right: auto; }
.v-nav__cta { flex: none; }

.menu-toggle {
	display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
	border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer;
}
.menu-toggle__bars { display: grid; gap: 5px; width: 1.1rem; }
.menu-toggle__bars span { display: block; height: 2px; background: var(--blue); border-radius: 2px; transition: transform 240ms var(--ease-out); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.primary-navigation { display: none; }
.primary-navigation.is-open {
	display: block; position: fixed; inset: var(--nav-h) 0 0; z-index: 59;
	padding: 1rem var(--gutter) 3rem; overflow-y: auto;
	background: var(--paper) var(--grid-paper);
	animation: v-menu-in 260ms var(--ease-out);
}
@keyframes v-menu-in { from { opacity: 0; transform: translateY(-8px); } }
.primary-navigation .menu { display: grid; }
.primary-navigation .menu > li { position: relative; border-bottom: 1px solid var(--line); }
.primary-navigation .menu > li > a { display: flex; align-items: center; padding: 0.9rem 3rem 0.9rem 0; color: var(--blue); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.primary-navigation .sub-menu { display: none; padding: 0 0 1rem 2rem; }
.primary-navigation .is-submenu-open > .sub-menu { display: grid; }
.primary-navigation .sub-menu a { display: block; padding: 0.5rem 0; color: var(--carbon); font-size: 1.0625rem; }
.submenu-toggle {
	position: absolute; top: 0.55rem; right: 0; width: 2.75rem; height: 2.75rem;
	border: 0; background: transparent; cursor: pointer;
}
.submenu-toggle span { display: block; width: 0.6rem; height: 0.6rem; margin: auto; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.is-submenu-open > .submenu-toggle span { transform: translateY(2px) rotate(-135deg); }
.v-nav__extras { display: grid; gap: 0.25rem; margin-top: 1.5rem; }
.v-nav__extras a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0; color: var(--blue-mid); font-weight: 650; }

@media (min-width: 64rem) {
	.menu-toggle { display: none; }
	.primary-navigation, .primary-navigation.is-open { display: block; position: static; margin-inline: auto; padding: 0; overflow: visible; background: none; animation: none; }
	.primary-navigation .menu { display: flex; gap: 0.15rem; }
	.primary-navigation .menu > li { border: 0; display: flex; align-items: center; }
	.primary-navigation .menu > li.is-utility-route { display: none; }
	.primary-navigation .menu > li > a { padding: 0.55rem 0.7rem; border-radius: 999px; color: var(--carbon); font-size: 0.9375rem; font-weight: 550; letter-spacing: 0; white-space: nowrap; transition: color 200ms ease, background-color 200ms ease; }
	.primary-navigation .menu > li > a:hover { color: var(--blue); background: var(--mist); }
	.primary-navigation .current-menu-item > a, .primary-navigation .current-menu-ancestor > a { color: var(--blue); font-weight: 700; }
	.primary-navigation .avh-menu-icon { display: none; }
	.submenu-toggle { position: static; width: 1.25rem; height: 1.75rem; margin-left: -0.55rem; }
	.submenu-toggle span { width: 0.42rem; height: 0.42rem; border-width: 1.5px; }
	.primary-navigation .sub-menu {
		position: absolute; top: calc(100% + 0.6rem); left: 0; min-width: 15rem; padding: 0.5rem;
		display: grid; visibility: hidden; opacity: 0; transform: translateY(-4px) scale(0.98); transform-origin: top left;
		border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow);
		transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
	}
	.primary-navigation .menu > li:hover > .sub-menu,
	.primary-navigation .menu > li:focus-within > .sub-menu,
	.primary-navigation .is-submenu-open > .sub-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.primary-navigation .sub-menu a { padding: 0.55rem 0.75rem; border-radius: var(--r); font-size: 0.9375rem; }
	.primary-navigation .sub-menu a:hover { background: var(--mist); color: var(--blue); }
	.v-nav__extras { display: none; }
	.v-nav__brand { margin-right: 0; }
}
@media (min-width: 64rem) and (max-width: 79.99rem) {
	.primary-navigation .menu > li.is-secondary-route { display: none; }
	.primary-navigation .menu > li > a { padding-inline: 0.5rem; font-size: 0.875rem; }
}

/* ---------- Portada: hero ------------------------------------------------- */
.v-hero { position: relative; background: var(--paper); }
.v-hero__sticky { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 8vh, 5rem)); overflow: hidden; background: var(--grid-paper), var(--paper); }
.v-hero__glow {
	--o: clamp(4.5rem, 10vw, 10rem);
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(circle at 7% 30%, var(--yellow) 0 var(--o), transparent calc(var(--o) + 1px)),
		radial-gradient(circle at 13% 44%, var(--celeste) 0 calc(var(--o) * 0.8), transparent calc(var(--o) * 0.8 + 1px)),
		radial-gradient(circle at 94% 18%, var(--blue) 0 calc(var(--o) * 0.75), transparent calc(var(--o) * 0.75 + 1px)),
		radial-gradient(circle at 88% 30%, var(--celeste) 0 calc(var(--o) * 0.7), transparent calc(var(--o) * 0.7 + 1px));
}
@media (max-width: 47.99rem) {
	.v-hero__glow {
		--o: 3.25rem;
		background:
			radial-gradient(circle at 0% 9%, var(--yellow) 0 var(--o), transparent calc(var(--o) + 1px)),
			radial-gradient(circle at 12% 4%, var(--celeste) 0 calc(var(--o) * 0.7), transparent calc(var(--o) * 0.7 + 1px)),
			radial-gradient(circle at 100% 7%, var(--blue) 0 calc(var(--o) * 0.8), transparent calc(var(--o) * 0.8 + 1px));
	}
}
.v-hero__head { position: relative; z-index: 2; text-align: center; }
.v-hero__motto { margin-bottom: 1.25rem; }
.v-hero__title { display: grid; justify-items: center; gap: 0.2rem; }
.v-hero__kicker { font-size: clamp(1.15rem, 2.4vw, 1.75rem); font-weight: 650; color: var(--carbon); letter-spacing: -0.01em; }
.v-hero__name {
	font-size: clamp(4.25rem, 16vw, 12.5rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.04em; color: var(--blue);
}
.v-hero__name .h-mark { background-position: 0 86%; background-size: 100% 0.2em; }
.is-live .v-hero__name .h-mark { background-size: 0% 0.2em; }
.is-live .v-hero__name .h-mark.is-drawn { background-size: 100% 0.2em; }
.v-hero__lead { max-width: 38rem; margin: 1.25rem auto 0; color: var(--dim); font-size: clamp(1.0625rem, 1.7vw, 1.375rem); line-height: 1.4; text-wrap: balance; }
.v-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.75rem; margin-top: 2rem; }
.v-hero__media { position: relative; z-index: 1; margin: clamp(2.5rem, 7vh, 4rem) auto 0; width: min(100% - 2 * var(--gutter), var(--max)); aspect-ratio: 16 / 9; overflow: hidden; background: var(--celeste); }
.v-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.v-hero__reveal {
	position: absolute; inset: auto 0 0; padding: clamp(1.25rem, 4vw, 3.5rem);
	background: linear-gradient(to top, rgba(10, 31, 92, 0.85), rgba(10, 31, 92, 0));
	color: var(--paper);
}
.v-hero__reveal .v-eyebrow { color: var(--yellow); }
.v-hero__line { font-size: clamp(1.75rem, 5vw, 4.25rem); font-weight: 750; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; max-width: 18ch; color: var(--paper); }
.v-hero__cue { display: none; }
@media (max-width: 47.99rem) {
	.v-hero__media { width: 100%; aspect-ratio: 4 / 5; }
	.v-hero__media img { object-position: 38% center; }
}
.is-live .v-hero { height: 250svh; }
.is-live .v-hero__sticky { position: sticky; top: 0; height: 100svh; padding: 0; }
.is-live .v-hero__head { position: absolute; z-index: 0; left: 0; right: 0; top: calc(var(--nav-h) + clamp(1.25rem, 5vh, 4rem)); }
.is-live .v-hero__media { position: absolute; z-index: 1; inset: 0; width: auto; margin: 0; aspect-ratio: auto; will-change: clip-path; }
.is-live .v-hero__media img { will-change: transform; }
.is-live .v-hero__reveal { padding-bottom: clamp(2rem, 8vh, 5rem); }
.is-live .v-hero__cue {
	display: block; position: absolute; left: 50%; bottom: 1.25rem; z-index: 3; width: 1.5rem; height: 2.4rem;
	border: 2px solid rgba(254, 254, 254, 0.75); border-radius: 999px; transform: translateX(-50%);
}
.is-live .v-hero__cue::after {
	content: ""; position: absolute; left: 50%; top: 0.45rem; width: 3px; height: 0.45rem; margin-left: -1.5px;
	background: var(--paper); border-radius: 2px; animation: v-cue 1.8s var(--ease-in-out) infinite;
}
@keyframes v-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(0.75rem); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Portada: navegación local ------------------------------------- */
.v-local {
	position: sticky; top: 0; z-index: 50;
	background: rgba(254, 254, 254, 0.88); border-bottom: 1px solid var(--line);
	backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
}
.v-local__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--local-h); }
.v-local__title { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; color: var(--blue); font-size: 1.125rem; font-weight: 750; letter-spacing: -0.02em; }
.v-local__title img { width: auto; height: 1.75rem; }
.v-local__links { display: none; gap: 0.25rem; font-size: 0.875rem; font-weight: 550; }
.v-local__links a { padding: 0.4rem 0.75rem; border-radius: 999px; color: var(--dim); transition: color 200ms ease, background-color 200ms ease; }
.v-local__links a:hover { color: var(--blue); }
.v-local__links a.is-current { color: var(--blue); background: var(--celeste); }
@media (min-width: 48rem) { .v-local__links { display: flex; } }

/* ---------- Portada: propuesta, cifras, línea de tiempo ------------------- */
.v-story { padding-block: clamp(6rem, 15vh, 10rem) clamp(5rem, 12vh, 8rem); }
.v-story__text {
	margin-top: 1.5rem; max-width: 24ch; color: var(--blue);
	font-size: clamp(2rem, 5.2vw, 4.25rem); font-weight: 750; line-height: 1.08; letter-spacing: -0.035em;
}
.is-live [data-words] .v-word { opacity: 0.16; }

.v-stats {
	position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 3vw, 2rem);
	margin-top: clamp(4rem, 10vh, 6rem); padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--r-card); background: var(--grad-night); color: var(--paper); overflow: hidden;
}
.v-stats::after { content: ""; position: absolute; inset: auto 0 0; height: 28px; background: var(--waves) repeat-x 0 center / 80px 28px; opacity: 0.35; filter: brightness(2.4); }
.v-stat { position: relative; z-index: 1; padding-top: 1rem; border-top: 1px solid rgba(254, 254, 254, 0.2); padding-bottom: 1.5rem; }
.v-stat__num { color: var(--paper); font-size: clamp(3rem, 10vw, 7.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.v-stat:first-child .v-stat__num { color: var(--yellow); }
.v-stat dt { margin-top: 0.75rem; color: var(--on-blue-dim); font-size: clamp(0.8125rem, 1.6vw, 1.0625rem); line-height: 1.35; max-width: 18rem; }

.v-timeline { position: relative; margin-top: clamp(3.5rem, 9vh, 5rem); padding: 0 0.5rem 4.5rem; }
.v-timeline__track { height: 4px; background: var(--celeste); border-radius: 4px; overflow: hidden; }
.v-timeline__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-mid)); transform-origin: left; }
.is-live .v-timeline__fill { transform: scaleX(0); }
.v-timeline__ticks { position: absolute; inset: -6px 0.5rem 0; }
.v-timeline__ticks li { position: absolute; top: 0; left: calc(var(--at) * 100%); display: grid; justify-items: center; gap: 0.5rem; transform: translateX(-50%); }
.v-timeline__ticks li:first-child { justify-items: start; transform: translateX(-8px); }
.v-timeline__ticks li:last-child { justify-items: end; transform: translateX(calc(-100% + 8px)); }
.v-timeline__dot { width: 16px; height: 16px; border: 3px solid var(--blue); border-radius: 50%; background: var(--paper); }
.is-now .v-timeline__dot { background: var(--yellow); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(244, 223, 115, 0.45); }
.v-timeline__year { color: var(--blue); font-size: clamp(0.8125rem, 1.4vw, 1.0625rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.v-timeline__note { margin-top: -0.35rem; color: var(--dim); font-size: 0.8125rem; }
@media (max-width: 29.99rem) { .v-timeline__ticks li:not(:first-child):not(:last-child) .v-timeline__year { font-size: 0.75rem; } }

/* ---------- Portada: retrato del muro ------------------------------------- */
.v-portrait__sticky { position: relative; overflow: hidden; background: var(--blue-deep); color: var(--paper); }
.v-portrait__media { aspect-ratio: 16 / 9; overflow: hidden; }
.v-portrait__media img { width: 100%; height: 100%; object-fit: cover; }
.v-portrait__copy { position: relative; z-index: 2; padding-block: 2rem 4rem; }
.v-portrait__lines { display: grid; color: var(--paper); font-size: clamp(2.5rem, 8vw, 6.5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; }
.v-portrait__copy .v-link { margin-top: 2rem; color: var(--paper); }
@media (max-width: 47.99rem) { .v-portrait__media { aspect-ratio: 4 / 5; } }
.is-live .v-portrait { height: 260svh; }
.is-live .v-portrait__sticky { position: sticky; top: 0; height: 100svh; }
.is-live .v-portrait__media { position: absolute; inset: 0; aspect-ratio: auto; }
.is-live .v-portrait__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 92, 0.88) 0%, rgba(10, 31, 92, 0.45) 55%, rgba(10, 31, 92, 0.05) 100%); }
.is-live .v-portrait__media img { will-change: transform; }
.is-live .v-portrait__copy { position: absolute; left: 0; right: 0; bottom: clamp(3rem, 12vh, 7rem); padding: 0; }
.is-live .v-portrait [data-line] { opacity: 0; }
@media (max-width: 47.99rem) {
	.is-live .v-portrait__media::after { background: linear-gradient(to top, rgba(10, 31, 92, 0.92) 12%, rgba(10, 31, 92, 0.15) 70%); }
	.is-live .v-portrait__media img { object-position: 30% center; }
}

/* ---------- Encabezados de sección ---------------------------------------- */
.v-head { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.v-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }

/* ---------- Portada: niveles ---------------------------------------------- */
.v-levels { padding-block: clamp(6rem, 15vh, 9rem); background: var(--grid-paper), var(--mist); }
.v-levels .v-head { text-align: center; }
.v-seg {
	position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 22rem); margin: 0 auto 3rem; padding: 5px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: var(--shadow);
}
.v-seg[hidden] { display: none; }
.v-seg__thumb {
	position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px;
	background: var(--blue); transition: transform 320ms var(--ease-out);
}
.v-seg[data-active="secundaria"] .v-seg__thumb { transform: translateX(100%); }
.v-seg button {
	position: relative; z-index: 1; min-height: 2.75rem; border: 0; border-radius: 999px; background: transparent;
	font-size: 1rem; font-weight: 700; cursor: pointer; color: var(--blue); transition: color 240ms ease;
}
.v-seg button[aria-selected="true"] { color: var(--paper); }
.v-levels__stage { display: grid; gap: 4rem; }
.v-level { display: grid; gap: 2rem; align-items: center; }
.v-level[hidden] { display: none; }
.v-level:not([hidden]) { animation: v-level-in 520ms var(--ease-out); }
@keyframes v-level-in { from { opacity: 0; transform: translateY(12px); } }
.v-level__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--celeste); box-shadow: var(--shadow); }
.v-level__media img { width: 100%; height: 100%; object-fit: cover; }
.v-level:not([hidden]) .v-level__media img { animation: v-level-zoom 900ms var(--ease-out); }
@keyframes v-level-zoom { from { transform: scale(1.06); } }
.v-level__title { color: var(--blue-mid); font-size: 1.125rem; font-weight: 700; }
.v-level__big { margin-top: 0.5rem; color: var(--blue); font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; }
.v-level__big span { font-variant-numeric: tabular-nums; }
.v-level__range { margin: 0.75rem 0 1.25rem; color: var(--carbon); font-size: 1.25rem; font-weight: 650; }
.v-level__copy > p:not([class]) { max-width: 28rem; color: var(--dim); font-size: 1.125rem; }
.v-level__copy .v-link { margin-top: 1.75rem; }
@media (min-width: 48rem) {
	.v-level { grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
	.v-level__media { aspect-ratio: 5 / 6; }
}
.v-grades { margin-top: clamp(4rem, 10vh, 6rem); padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) 1.25rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); }
.v-grades__bars { display: grid; grid-template-columns: repeat(11, 1fr); align-items: end; gap: clamp(4px, 1vw, 12px); height: clamp(9rem, 22vw, 15rem); }
.v-grades__bar { position: relative; display: grid; height: 100%; align-items: end; }
.v-grades__fill { display: block; height: calc(var(--h) * 100%); border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--blue), var(--blue-mid)); transform-origin: bottom; transition: opacity 320ms ease, filter 320ms ease; }
.v-grades__bar[data-level="secundaria"] .v-grades__fill { background: linear-gradient(to top, var(--yellow-deep), var(--yellow)); }
.v-grades__label { position: absolute; left: 0; right: 0; bottom: -1.75rem; text-align: center; color: var(--dim); font-size: clamp(0.6875rem, 1.3vw, 0.875rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.v-grades__legend { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--dim); }
.v-grades__legend span { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 240ms ease; }
.v-grades__legend span::before { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 2px; background: var(--blue); }
.v-grades__legend span[data-level="secundaria"]::before { background: var(--yellow-deep); }
[data-grades][data-active="primaria"] .v-grades__bar[data-level="secundaria"] .v-grades__fill,
[data-grades][data-active="secundaria"] .v-grades__bar[data-level="primaria"] .v-grades__fill { opacity: 0.22; filter: saturate(0.2); }
[data-grades][data-active="primaria"] .v-grades__legend [data-level="primaria"],
[data-grades][data-active="secundaria"] .v-grades__legend [data-level="secundaria"] { color: var(--blue); font-weight: 700; }
.is-live [data-grades]:not(.is-in) .v-grades__fill { transform: scaleY(0); }
.is-live [data-grades] .v-grades__fill { transition: transform 900ms var(--ease-out) calc(var(--i) * 55ms), opacity 320ms ease, filter 320ms ease; }

/* ---------- Portada: recorrido horizontal --------------------------------- */
.v-tour { padding-block: clamp(4rem, 10vh, 6rem) clamp(5rem, 12vh, 8rem); }
.v-tour__head { display: grid; gap: 0.75rem; margin-bottom: 2.5rem; }
.v-tour__head p { max-width: 34rem; font-size: 1.1875rem; }
.v-tour__viewport {
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: max(var(--gutter), (100% - var(--max)) / 2); scroll-padding-inline: max(var(--gutter), (100% - var(--max)) / 2);
}
.v-tour__viewport::-webkit-scrollbar { display: none; }
.v-tour__track { display: flex; gap: clamp(0.75rem, 1.5vw, 1.25rem); width: max-content; }
.v-tour__card { position: relative; flex: none; width: min(86vw, 64rem); aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; background: var(--celeste); box-shadow: var(--shadow); }
.v-tour__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.v-tour__text { position: absolute; inset: auto 0 0; padding: clamp(1.25rem, 3vw, 2.5rem); color: var(--paper); background: linear-gradient(to top, rgba(10, 31, 92, 0.88), rgba(10, 31, 92, 0)); }
.v-tour__num { display: inline-grid; place-items: center; min-width: 2.25rem; height: 1.6rem; padding: 0 0.5rem; border-radius: 999px; background: var(--yellow); color: var(--blue); font-size: 0.8125rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.v-tour__text h3 { margin-top: 0.6rem; color: var(--paper); font-size: clamp(1.6rem, 3.4vw, 2.75rem); font-weight: 750; line-height: 1.02; letter-spacing: -0.03em; }
.v-tour__text p { margin-top: 0.4rem; color: rgba(254, 254, 254, 0.85); font-size: 1.0625rem; }
.v-tour__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.v-tour__controls[hidden] { display: none; }
.v-tour__count { color: var(--dim); font-size: 0.9375rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.v-tour__count span { color: var(--blue); }
.v-tour__buttons { display: flex; gap: 0.6rem; }
@media (min-width: 48rem) { .v-tour__card { aspect-ratio: 16 / 10; width: min(78vw, 64rem); } }
@media (hover: hover) and (pointer: fine) { .v-tour__card:hover img { transform: scale(1.03); } }
.is-tour-pinned .v-tour__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--local-h); }
.is-tour-pinned .v-tour__viewport { overflow: visible; scroll-snap-type: none; }
.is-tour-pinned .v-tour__track { will-change: transform; }
.is-tour-pinned .v-tour__card { height: min(56svh, 38rem, calc(100svh - 27rem)); width: auto; aspect-ratio: 16 / 10; }
.is-tour-pinned .v-tour__card img { transition: none; }
.is-tour-pinned .v-tour__head { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }

/* ---------- Portada: mosaico ---------------------------------------------- */
.v-bento { padding-block: clamp(5rem, 12vh, 8rem); background: var(--grid-paper), var(--mist); }
.v-bento__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(11rem, 34vw); gap: clamp(0.6rem, 1.2vw, 1rem); }
.v-tile {
	position: relative; display: block; overflow: hidden; padding: 0; border: 0; text-align: left;
	background: var(--celeste); color: var(--paper); cursor: zoom-in; box-shadow: var(--shadow);
	transition: transform 240ms var(--ease-out);
}
.v-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.v-tile__text {
	position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 0.25rem; padding: clamp(1rem, 2.2vw, 1.75rem);
	background: linear-gradient(to top, rgba(10, 31, 92, 0.85), transparent);
	font-size: clamp(1.05rem, 1.9vw, 1.6rem); font-weight: 750; line-height: 1.1; letter-spacing: -0.02em;
}
.v-tile__kicker { justify-self: start; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--yellow); color: var(--blue); font-size: 0.75rem; font-weight: 750; letter-spacing: 0; }
.v-tile__zoom {
	position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2; display: grid; place-items: center;
	width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(254, 254, 254, 0.92); color: var(--blue); font-size: 1.35rem; line-height: 1;
	transition: transform 240ms var(--ease-out), background-color 200ms ease;
}
.v-tile--a, .v-tile--d, .v-tile--e { grid-column: span 2; }
.v-tile--a { grid-row: span 2; }
.v-tile--visit { display: grid; align-content: end; gap: 0.6rem; padding: clamp(1.25rem, 3vw, 2.25rem); cursor: default; background: var(--blue); color: var(--paper); }
.v-tile--visit::after { content: ""; position: absolute; top: 1.25rem; right: 1.25rem; width: 4.5rem; height: 5.7rem; background: url("../images/brand/logo-humboldt-shield.png") no-repeat center / contain; opacity: 0.95; }
.v-tile--visit .v-tile__kicker { background: var(--yellow); }
.v-tile--visit .v-dim { color: var(--on-blue-dim); }
.v-tile--visit .v-link { color: var(--yellow); }
.v-tile__big { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 750; line-height: 1.02; letter-spacing: -0.03em; max-width: 14ch; }
@media (min-width: 64rem) {
	.v-bento__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(14rem, 19vw, 19rem); }
	.v-tile--a { grid-column: span 2; grid-row: span 2; }
	.v-tile--d, .v-tile--e, .v-tile--f { grid-column: span 2; }
}
@media (hover: hover) and (pointer: fine) {
	.v-tile:not(.v-tile--visit):hover img { transform: scale(1.03); }
	.v-tile:hover .v-tile__zoom { transform: rotate(90deg); background: var(--yellow); }
}

/* ---------- Portada: valores ---------------------------------------------- */
.v-values { padding-block: clamp(5rem, 12vh, 8rem); background: var(--blue); color: var(--paper); }
.v-values .v-title { color: var(--paper); }
.v-values .v-dim { color: var(--on-blue-dim); }
.v-values .v-link { color: var(--yellow); }
.v-values__grid { display: grid; gap: 3rem; }
.v-values__photo { aspect-ratio: 4 / 5; overflow: hidden; }
.v-values__photo img { width: 100%; height: 100%; object-fit: cover; }
.v-values__list { margin: 2.5rem 0; counter-reset: v-step; }
.v-values__list li {
	counter-increment: v-step; display: flex; align-items: baseline; gap: 1rem;
	font-size: clamp(2.4rem, 6.5vw, 5rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em;
	transition: color 400ms ease, opacity 400ms ease;
}
.v-values__list li::before { content: counter(v-step, decimal-leading-zero); color: var(--yellow); font-size: 0.9rem; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.is-live .v-values__list li { opacity: 0.25; }
.is-live .v-values__list li.is-on { opacity: 1; }
@media (min-width: 64rem) {
	.v-values__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
	.v-values__photo { position: sticky; top: calc(var(--nav-h) + var(--local-h) + 1.5rem); height: calc(100svh - var(--nav-h) - var(--local-h) - 3rem); aspect-ratio: auto; }
	.v-values__copy { padding-block: 4rem 14vh; }
}

/* ---------- Portada: equipo ----------------------------------------------- */
.v-team { position: relative; padding-bottom: clamp(5rem, 12vh, 8rem); }
.v-team__media { position: relative; height: clamp(22rem, 68svh, 44rem); overflow: hidden; }
.v-team__media img { width: 100%; height: 115%; object-fit: cover; }
.v-team__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(254, 254, 254, 0) 40%, var(--paper) 97%); }
.v-team__copy { position: relative; z-index: 2; margin-top: clamp(-9rem, -14vh, -5rem); }
.v-team__lead { max-width: 40rem; margin-top: 1.25rem; color: var(--dim); font-size: clamp(1.125rem, 1.7vw, 1.3125rem); }
.v-team__people { display: grid; gap: 1rem; margin: 2.5rem 0; }
.v-team__people li { display: grid; gap: 0.3rem; padding: 1.5rem 1.75rem; }
.v-team__role { color: var(--blue-mid); font-size: 0.875rem; font-weight: 700; }
.v-team__name { color: var(--blue); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 750; letter-spacing: -0.02em; }
@media (min-width: 48rem) { .v-team__people { grid-template-columns: repeat(2, minmax(0, 24rem)); } }

/* ---------- Tarjetas (portada e interiores) ------------------------------- */
.v-news { padding-block: clamp(5rem, 12vh, 8rem); background: var(--grid-paper), var(--mist); }
.v-news__grid { display: grid; gap: 1rem; }
.v-card, .news-card, .activity-card, .album-card, .academic-card, .person-card {
	position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
	border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); color: var(--carbon);
	transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease;
}
.v-card__media, .news-card__media, .activity-card__media, .album-card__media, .academic-card__media, .person-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--celeste); }
.person-card__media { aspect-ratio: 4 / 5; }
.v-card__media img, .news-card__media img, .activity-card__media img, .album-card__media img, .academic-card__media img, .person-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.v-card__body, .news-card__body, .activity-card__body, .album-card__body, .academic-card__body, .person-card__body { display: grid; align-content: start; gap: 0.5rem; padding: 1.25rem 1.35rem 1.5rem; }
.news-card__link, .activity-card__link, .album-card__link, .academic-card__link { display: contents; }
.v-card time, .card-meta { color: var(--dim); font-size: 0.875rem; font-weight: 550; }
.v-card__title, .news-card h2, .news-card h3, .activity-card h2, .activity-card h3, .album-card h2, .album-card h3, .academic-card h2, .academic-card h3, .person-card h2, .person-card h3 { color: var(--blue); font-size: 1.25rem; font-weight: 750; line-height: 1.2; letter-spacing: -0.015em; }
.news-card p, .activity-card p, .album-card p, .academic-card p, .person-card__message { color: var(--dim); font-size: 1rem; }
.person-card__type { justify-self: start; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--celeste); color: var(--blue); font-size: 0.8125rem; font-weight: 700; }
.person-card__position { color: var(--blue-mid); font-weight: 650; }
.v-card--agenda { grid-template-rows: auto; align-content: start; gap: 1rem; padding: 1.5rem 1.35rem; background: var(--blue); color: var(--paper); border-color: transparent; }
.v-card--agenda h3 { color: var(--paper); font-size: 1.25rem; font-weight: 750; }
.v-card--agenda ol { display: grid; gap: 0.25rem; }
.v-card--agenda li a { display: grid; gap: 0.15rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(254, 254, 254, 0.18); }
.v-card--agenda time { color: var(--yellow); font-size: 0.8125rem; font-weight: 650; }
.v-card--agenda .v-link { color: var(--yellow); }
.v-card--agenda .v-dim { color: var(--on-blue-dim); }
@media (min-width: 48rem) { .v-news__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .v-news__grid { grid-template-columns: repeat(4, 1fr); } }
@media (hover: hover) and (pointer: fine) {
	a.v-card:hover, .news-card:hover, .activity-card:hover, .album-card:hover, .academic-card:hover, .person-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
	a.v-card:hover .v-card__media img, .news-card:hover img, .activity-card:hover img, .album-card:hover img, .academic-card:hover img, .person-card:hover img { transform: scale(1.03); }
}

/* ---------- Portada: admisión --------------------------------------------- */
.v-cta { position: relative; display: grid; align-items: center; min-height: 100svh; padding-block: clamp(6rem, 14vh, 9rem); overflow: hidden; isolation: isolate; text-align: center; background: var(--blue); color: var(--paper); }
.v-cta__media { position: absolute; inset: 0; z-index: -1; }
.v-cta__media img { width: 100%; height: 115%; object-fit: cover; opacity: 0.28; mix-blend-mode: luminosity; }
.v-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(15, 43, 125, 0.55) 0 56%, rgba(10, 31, 92, 0.85) 56% 100%); }
.v-cta__inner { display: grid; justify-items: center; }
.v-cta .v-eyebrow { color: var(--yellow); }
.v-cta__title { margin-top: 0.75rem; color: var(--paper); font-size: clamp(3.5rem, 12vw, 9.5rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.04em; }
.v-cta__lead { max-width: 36rem; margin-top: 1.5rem; color: rgba(254, 254, 254, 0.88); font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); text-wrap: balance; }
.v-form { display: grid; gap: 0.75rem; width: min(100%, 52rem); margin-top: 2.5rem; padding: 0.75rem; border-radius: 1.75rem; background: rgba(254, 254, 254, 0.12); border: 1px solid rgba(254, 254, 254, 0.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.v-form__choice { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: rgba(10, 31, 92, 0.45); }
.v-form__choice label { position: relative; cursor: pointer; }
.v-form__choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.v-form__choice span { display: grid; place-items: center; min-height: 2.75rem; padding: 0 0.75rem; border-radius: 999px; color: var(--paper); font-size: 0.9375rem; font-weight: 650; white-space: nowrap; transition: background-color 220ms ease, color 220ms ease; }
.v-form__choice input:checked + span { background: var(--paper); color: var(--blue); }
.v-form__choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.v-form select {
	min-height: 3rem; padding: 0 2.75rem 0 1.25rem; border: 1px solid rgba(254, 254, 254, 0.3); border-radius: 999px;
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f2b7d' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 1.1rem center;
	color: var(--blue); font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.v-cta__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.75rem; }
@media (min-width: 64rem) {
	.v-form { grid-template-columns: 1.3fr 1fr auto; align-items: center; border-radius: 999px; padding: 0.5rem; }
	.v-form select, .v-form .v-pill { min-height: 3.25rem; }
}

/* ---------- Visor de fotos ------------------------------------------------ */
.v-lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.v-lightbox::backdrop { background: rgba(10, 31, 92, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.v-lightbox[open] { display: grid; place-items: center; animation: v-lightbox-in 240ms var(--ease-out); }
@keyframes v-lightbox-in { from { opacity: 0; transform: scale(0.97); } }
.v-lightbox img { max-width: min(94vw, 110rem); max-height: 88svh; width: auto; height: auto; object-fit: contain; }
.v-lightbox__close { position: fixed; top: 1rem; right: 1rem; }

/* ========================================================================= */
/* Páginas interiores                                                        */
/* ========================================================================= */

/* Cabecera de página: cuadrícula de cuaderno, titular y foto grande. */
.h-hero { position: relative; padding-top: clamp(2rem, 6vh, 4rem); background: var(--grid-paper), var(--paper); overflow: hidden; }
.h-hero::before {
	--o: clamp(4rem, 9vw, 9rem);
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(circle at 92% 14%, var(--yellow) 0 var(--o), transparent calc(var(--o) + 1px)),
		radial-gradient(circle at 84% 26%, var(--celeste) 0 calc(var(--o) * 0.85), transparent calc(var(--o) * 0.85 + 1px)),
		radial-gradient(circle at 97% 32%, var(--blue) 0 calc(var(--o) * 0.45), transparent calc(var(--o) * 0.45 + 1px));
}
@media (max-width: 47.99rem) { .h-hero::before { --o: 2.75rem; background-position: 2.5rem -1.5rem; background-repeat: no-repeat; } }
.h-hero__copy { position: relative; display: grid; justify-items: start; gap: 1rem; padding-bottom: clamp(2rem, 6vh, 3.5rem); }
.h-crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; color: var(--dim); font-size: 0.875rem; }
.h-crumbs a { color: var(--blue-mid); font-weight: 600; }
.h-crumbs a:hover { text-decoration: underline; }
.h-hero__title { max-width: 16ch; font-size: clamp(2.75rem, 7.5vw, 6.25rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; }
.h-hero__lead { max-width: 40rem; color: var(--dim); font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.45; }
.h-hero__photo { position: relative; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; aspect-ratio: 21 / 9; overflow: hidden; background: var(--celeste); box-shadow: var(--shadow); }
.h-hero__photo:empty { display: none; }
.h-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.h-hero + * { margin-top: 0; }
@media (max-width: 47.99rem) { .h-hero__photo { width: 100%; aspect-ratio: 4 / 3; } }
.is-live .h-hero__photo img { will-change: transform; }

/* Ritmo general */
.vitrina .site-main { display: block; }
.vitrina .section, .ed-introduction, .ed-index, .ed-windows, .ed-welcome-feature, .ed-pathways, .ed-timeline, .ed-values, .ed-campus-gallery, .ed-service-layout, .ed-photo-essay, .proposal-values, .mission-visuals, .mission-focus { padding-block: clamp(4rem, 10vh, 7rem); }
.vitrina .section--surface { background: var(--grid-paper), var(--mist); }
.vitrina .site-main h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 750; line-height: 1.05; letter-spacing: -0.035em; }
.vitrina .site-main h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.02em; }
.vitrina .site-main :is(.section-heading, .proposal-section-heading, .mission-focus__heading, .contact-location__heading) { display: grid; gap: 0.75rem; margin-bottom: clamp(2rem, 5vh, 3rem); }
.ed-demo, .demo-note {
	display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0.35rem 0.8rem;
	border: 1px dashed var(--line-strong); border-radius: 999px; color: var(--dim); font-size: 0.8125rem; font-style: normal;
}
.vitrina figcaption { margin-top: 0.5rem; color: var(--dim); font-size: 0.8125rem; }

/* Texto largo */
.rich-content, .ed-reading, .entry__content, .entry-content { max-width: 68ch; color: var(--carbon); font-size: 1.125rem; line-height: 1.7; }
.rich-content > * + *, .ed-reading > * + *, .entry__content > * + *, .entry-content > * + * { margin-top: 1.1em; }
.rich-content h2, .rich-content h3, .ed-reading h3, .entry__content h2, .entry__content h3 { margin-top: 1.6em; color: var(--blue); }
.rich-content a:not([class]), .entry__content a:not([class]), .entry-content a:not([class]) { color: var(--blue-mid); text-decoration: underline; text-underline-offset: 3px; }
.rich-content ul, .entry__content ul { list-style: disc; padding-left: 1.25rem; }
.rich-content ol, .entry__content ol { list-style: decimal; padding-left: 1.25rem; }
.rich-content img, .entry__content img { border-radius: var(--r); }
.entry__content, .ed-generic-content { padding-block: clamp(3rem, 8vh, 5rem); }

/* Introducción institucional */
.ed-introduction { display: grid; gap: 2rem; }
.ed-introduction__title { display: grid; align-content: start; gap: 1rem; }
.ed-rule { display: block; width: 6rem; height: 6px; border-radius: 3px; background: var(--grad-sun); }
@media (min-width: 64rem) { .ed-introduction { grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 6vw, 6rem); } .ed-introduction__title { position: sticky; top: calc(var(--nav-h) + 2rem); } }

/* Índice de la institución */
.ed-index { display: grid; gap: 0; }
.ed-index a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding: 1.4rem 0.75rem; border-top: 1px solid var(--line); transition: background-color 220ms ease, padding 220ms var(--ease-out); }
.ed-index a:last-child { border-bottom: 1px solid var(--line); }
.ed-index span { color: var(--blue-mid); font-weight: 750; font-variant-numeric: tabular-nums; }
.ed-index h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem) !important; }
.ed-index svg { width: 1.5rem; height: 1.5rem; color: var(--blue); transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ed-index a:hover { background: var(--mist); padding-inline: 1.25rem; } .ed-index a:hover svg { transform: translateX(4px); } }

/* Grupos de fotos */
.ed-windows > header { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.ed-windows > div, .ed-photo-essay__grid, .mission-visuals__grid { display: grid; gap: clamp(0.6rem, 1.2vw, 1rem); grid-template-columns: repeat(2, 1fr); }
.ed-windows figure, .ed-photo-essay__grid figure, .mission-visuals__item { overflow: hidden; aspect-ratio: 4 / 3; background: var(--celeste); }
.ed-windows figure:first-child, .ed-photo-essay__grid figure:first-child, .mission-visuals__item--1 { grid-column: span 2; aspect-ratio: 16 / 8; }
.ed-windows img, .ed-photo-essay__grid img, .mission-visuals__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
@media (min-width: 64rem) {
	.ed-windows > div, .ed-photo-essay__grid, .mission-visuals__grid { grid-template-columns: repeat(3, 1fr); }
	.ed-windows figure:first-child, .ed-photo-essay__grid figure:first-child, .mission-visuals__item--1 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
@media (hover: hover) and (pointer: fine) { .ed-windows figure:hover img, .ed-photo-essay__grid figure:hover img, .mission-visuals__item:hover img { transform: scale(1.03); } }

/* Bienvenida + caminos */
.ed-welcome-feature, .ed-service-layout { display: grid; gap: 2rem; align-items: center; }
.ed-welcome-feature figure, .ed-service-layout figure { overflow: hidden; aspect-ratio: 4 / 3; background: var(--celeste); box-shadow: var(--shadow); }
.ed-welcome-feature img, .ed-service-layout img { width: 100%; height: 100%; object-fit: cover; }
.ed-welcome-feature > div, .ed-service-layout > div { display: grid; justify-items: start; gap: 1rem; }
.ed-welcome-feature p:not([class]), .ed-service-layout p:not([class]) { color: var(--dim); font-size: 1.125rem; }
@media (min-width: 64rem) { .ed-welcome-feature, .ed-service-layout { grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 6vw, 6rem); } }
.ed-pathways { display: grid; gap: 1rem; }
.ed-pathways > div { display: grid; gap: 0.6rem; align-content: start; padding-bottom: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); overflow: hidden; transition: transform 240ms var(--ease-out), box-shadow 240ms ease; }
.ed-pathways figure { aspect-ratio: 16 / 10; overflow: hidden; }
.ed-pathways img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.ed-pathways span { margin: 0.5rem 1.25rem 0; color: var(--blue-mid); font-size: 0.8125rem; font-weight: 750; letter-spacing: 0.04em; }
.ed-pathways h3, .ed-pathways a { margin-inline: 1.25rem; }
.ed-pathways a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue-mid); font-weight: 650; }
@media (min-width: 48rem) { .ed-pathways { grid-template-columns: repeat(3, 1fr); } }
@media (hover: hover) and (pointer: fine) { .ed-pathways > div:hover { transform: translateY(-3px); box-shadow: var(--shadow); } .ed-pathways > div:hover img { transform: scale(1.03); } }

/* Línea de historia */
.ed-timeline { display: grid; gap: 2rem; }
.ed-timeline article { display: grid; gap: 1.25rem; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ed-timeline__number { color: var(--blue-mid); font-size: 0.9375rem; font-weight: 800; }
.ed-timeline figure { overflow: hidden; aspect-ratio: 16 / 9; background: var(--celeste); }
.ed-timeline img { width: 100%; height: 100%; object-fit: cover; }
.ed-timeline small { color: var(--dim); }
@media (min-width: 64rem) { .ed-timeline article { grid-template-columns: auto 1fr 1fr; gap: 2.5rem; } }

/* Valores institucionales */
.ed-values { display: grid; gap: 1rem; }
.ed-value { position: relative; display: grid; gap: 0.75rem; padding: 1.5rem; border-radius: var(--r-card); background: var(--blue); color: var(--paper); overflow: hidden; }
.ed-value > span { color: var(--yellow); font-weight: 800; font-variant-numeric: tabular-nums; }
.ed-value > svg { width: 2rem; height: 2rem; color: var(--yellow); }
.ed-value h2 { color: var(--paper); }
.ed-value figure { margin: 0.5rem -1.5rem -1.5rem; aspect-ratio: 16 / 10; overflow: hidden; }
.ed-value img { width: 100%; height: 100%; object-fit: cover; }
.ed-value figcaption { display: none; }
@media (min-width: 48rem) { .ed-values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80rem) { .ed-values { grid-template-columns: repeat(4, 1fr); } }

/* Galería de infraestructura */
.ed-campus-gallery > header { display: grid; gap: 0.75rem; max-width: 46rem; margin-bottom: 2.5rem; }
.ed-campus-gallery > header p:not([class]) { color: var(--dim); font-size: 1.125rem; }
.ed-campus-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(10rem, 40vw); gap: clamp(0.6rem, 1.2vw, 1rem); }
.ed-campus-gallery__item { position: relative; overflow: hidden; background: var(--celeste); color: var(--paper); box-shadow: var(--shadow); }
.ed-campus-gallery__item--feature { grid-column: span 2; grid-row: span 2; }
.ed-campus-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.ed-campus-gallery__item span { position: absolute; inset: auto 0 0; display: grid; gap: 0.25rem; padding: 1.25rem; background: linear-gradient(to top, rgba(10, 31, 92, 0.85), transparent); }
.ed-campus-gallery__item small { justify-self: start; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--yellow); color: var(--blue); font-size: 0.75rem; font-weight: 750; }
.ed-campus-gallery__item b { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 750; letter-spacing: -0.02em; }
@media (min-width: 64rem) { .ed-campus-gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(13rem, 18vw, 18rem); } }
@media (hover: hover) and (pointer: fine) { .ed-campus-gallery__item:hover img { transform: scale(1.03); } }

/* Desplegables */
.ed-disclosure { width: 100%; border-top: 1px solid var(--line); }
.ed-disclosure:last-of-type { border-bottom: 1px solid var(--line); }
.ed-disclosure summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; color: var(--blue); font-size: 1.1875rem; font-weight: 700; cursor: pointer; list-style: none; }
.ed-disclosure summary::-webkit-details-marker { display: none; }
.ed-disclosure summary span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--celeste); transition: transform 240ms var(--ease-out), background-color 200ms ease; }
.ed-disclosure[open] summary span { transform: rotate(45deg); background: var(--yellow); }
.ed-disclosure p { padding-bottom: 1.25rem; color: var(--dim); }

/* Siguiente paso */
.ed-next { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vh, 6rem); background: var(--grad-night); color: var(--paper); }
.ed-next::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 14rem; height: 14rem; border-radius: 50%; background: var(--yellow); opacity: 0.9; }
.ed-next::before { content: ""; position: absolute; right: 6rem; bottom: -5rem; width: 9rem; height: 9rem; border-radius: 50%; background: var(--celeste); opacity: 0.25; }
.ed-next > div { position: relative; z-index: 1; }
.ed-next > div { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; display: grid; gap: 1rem; }
.ed-next .ed-kicker { color: var(--yellow); }
.ed-next a { display: inline-flex; align-items: center; gap: 1rem; color: var(--paper); font-size: clamp(1.75rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
.ed-next a svg { width: 0.8em; height: 0.8em; color: var(--yellow); transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ed-next a:hover svg { transform: translateX(8px); } }

/* Misión y visión */
.mission-manifesto__grid, .proposal-intro__grid { display: grid; gap: 2rem; }
.mission-manifesto__label { color: var(--blue-mid); font-weight: 700; }
.mission-manifesto__line, .proposal-intro__statement { color: var(--blue); font-size: clamp(1.75rem, 4vw, 3.25rem); font-weight: 750; line-height: 1.12; letter-spacing: -0.03em; }
@media (min-width: 64rem) { .mission-manifesto__grid, .proposal-intro__grid { grid-template-columns: 0.6fr 1.4fr; gap: 4rem; } }
.mission-focus__rail { display: grid; gap: 1rem; }
.mission-focus__item { display: grid; gap: 0.75rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.mission-focus__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-card); background: var(--celeste); color: var(--blue); }
.mission-focus__icon svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 48rem) { .mission-focus__rail { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80rem) { .mission-focus__rail { grid-template-columns: repeat(4, 1fr); } }

/* Propuesta educativa */
.proposal-pillars { display: grid; gap: 1rem; }
.proposal-pillar { display: grid; gap: 0.75rem; align-content: start; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); transition: transform 240ms var(--ease-out), box-shadow 240ms ease; }
.proposal-pillar__top { display: flex; align-items: center; justify-content: space-between; }
.proposal-pillar__number { color: var(--blue-mid); font-weight: 800; font-variant-numeric: tabular-nums; }
.proposal-pillar__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-card); background: var(--yellow); color: var(--blue); }
.proposal-pillar__icon svg { width: 1.5rem; height: 1.5rem; }
.proposal-pillar p { color: var(--dim); }
@media (min-width: 48rem) { .proposal-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80rem) { .proposal-pillars { grid-template-columns: repeat(5, 1fr); } }
@media (hover: hover) and (pointer: fine) { .proposal-pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.proposal-values { background: var(--blue); color: var(--paper); }
.proposal-values__grid { display: grid; gap: 2rem; }
.proposal-values h2, .proposal-values h3 { color: var(--paper); }
.proposal-values .eyebrow--light, .proposal-values .eyebrow { color: var(--yellow); }
.proposal-values p { color: var(--on-blue-dim); }
.proposal-values__list { display: flex; flex-wrap: wrap; gap: 0.6rem; align-content: start; }
.proposal-values__list > * { padding: 0.6rem 1rem; border: 1px solid rgba(254, 254, 254, 0.25); border-radius: 999px; color: var(--paper); font-weight: 650; }
@media (min-width: 64rem) { .proposal-values__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Listados de niveles, personas, noticias, actividades y álbumes */
.academic-grid, .news-grid, .activity-grid, .album-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.academic-grid--levels { grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); }
.academic-grid--levels .academic-card__media { aspect-ratio: 16 / 11; }
.people-group + .people-group { margin-top: clamp(3rem, 8vh, 5rem); }
.news-pagination { margin-top: 2.5rem; }
.news-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; margin-right: 0.35rem; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); font-weight: 650; }
.news-pagination .current { background: var(--blue); color: var(--paper); }

/* Formularios */
.vitrina .site-main :is(input[type="text"], input[type="tel"], input[type="email"], input[type="search"], select, textarea) {
	width: 100%; min-height: 3.1rem; padding: 0.75rem 1rem;
	border: 1.5px solid var(--line-strong); border-radius: var(--r-card); background: var(--paper); color: var(--carbon);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.vitrina .site-main textarea { min-height: 7rem; resize: vertical; }
.vitrina .site-main :is(input, select, textarea):focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 4px rgba(31, 71, 184, 0.15); }
.vitrina .site-main label { display: block; margin-bottom: 0.4rem; color: var(--blue); font-size: 0.9375rem; font-weight: 650; }
.vitrina .site-main select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f2b7d' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.contact-form__honeypot { position: absolute !important; left: -9999px; }

/* Contacto */
.contact-layout { display: grid; gap: 2rem; }
.contact-details, .contact-form-wrap { display: grid; align-content: start; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); }
.contact-details { background: var(--blue); color: var(--paper); border-color: transparent; }
.contact-details h2, .contact-details h3 { color: var(--paper); }
.contact-details .eyebrow { color: var(--yellow); }
.contact-details dl { display: grid; gap: 1rem; margin-top: 0.5rem; }
.contact-details dt { color: var(--yellow); font-size: 0.8125rem; font-weight: 700; }
.contact-details dd { font-size: 1.125rem; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.contact-socials h3 { flex-basis: 100%; font-size: 1rem !important; }
.contact-socials a { padding: 0.45rem 0.9rem; border: 1px solid rgba(254, 254, 254, 0.3); border-radius: 999px; }
.contact-form { display: grid; gap: 1rem; }
.contact-form p { margin: 0; }
.contact-form .button { justify-self: start; }
.contact-location__heading { grid-template-columns: 1fr auto; align-items: end; }
.contact-location__map-wrap { overflow: hidden; border-radius: var(--r-card); box-shadow: var(--shadow); }
.contact-location__map, .contact-location__map-wrap iframe { display: block; width: 100%; min-height: 24rem; border: 0; }
@media (min-width: 64rem) { .contact-layout { grid-template-columns: 0.9fr 1.1fr; } }

/* Admisión */
.admission-quick { padding-block: clamp(3rem, 8vh, 5rem) clamp(4rem, 10vh, 7rem); background: var(--grid-paper), var(--paper); }
.admission-quick__layout { display: grid; gap: 2.5rem; align-items: start; }
.admission-quick__content { display: grid; gap: 1rem; }
.admission-quick__content h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.admission-quick__intro { color: var(--dim); font-size: 1.1875rem; }
.admission-register__form { display: grid; gap: 1rem; margin-top: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); }
.admission-form__help { display: block; margin-top: 0.4rem; color: var(--dim); font-size: 0.8125rem; }
.admission-form__submit { justify-self: start; }
.admission-quick__note { color: var(--dim); font-size: 0.875rem; }
.admission-quick__visual { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--celeste); box-shadow: var(--shadow); }
.admission-quick__visual img { width: 100%; height: 100%; object-fit: cover; }
.admission-quick__visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: var(--paper) var(--waves) repeat-x 0 center / 80px 28px; }
@media (min-width: 48rem) { .admission-register__form { grid-template-columns: 1fr 1fr; } .admission-form__field--full, .admission-form__submit { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .admission-quick__layout { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } .admission-quick__visual { position: sticky; top: calc(var(--nav-h) + 2rem); } }

/* Contenido individual (noticias, actividades, álbumes) */
.vitrina .site-main > article:not(.ed-institution), .vitrina .single-main article { padding-bottom: clamp(3rem, 8vh, 5rem); }
.vitrina .site-main .post-thumbnail img, .vitrina .site-main .entry-media img { width: 100%; height: auto; }
.vitrina .site-main > .container.section > p:only-child { color: var(--dim); }

/* ---------- Pie ----------------------------------------------------------- */
.h-waves--footer { background-color: var(--paper); }
.colophon { padding-block: 4rem 2rem; background: var(--blue); color: var(--on-blue-dim); font-size: 0.9375rem; }
.colophon__grid { display: grid; gap: 2.5rem; }
.colophon h2 { margin-bottom: 1rem; color: var(--yellow); font-size: 0.9375rem; font-weight: 700; }
.colophon__identity p { max-width: 22rem; margin-top: 1.25rem; }
.colophon__identity .brand img { height: 3.5rem; }
.colophon__social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.colophon__social a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.8rem; border: 1px solid rgba(254, 254, 254, 0.28); border-radius: 999px; color: var(--paper); transition: background-color 200ms ease; }
.colophon__social a:hover { background: rgba(254, 254, 254, 0.12); }
.colophon__list, .colophon__routes ul { display: grid; gap: 0.55rem; }
.colophon__list a { display: inline-flex; align-items: center; gap: 0.55rem; }
.colophon a:not(.button):hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.colophon__address { margin-bottom: 0.9rem; color: var(--paper); }
.colophon__admission { padding: 1.5rem; border-radius: var(--r-card); background: rgba(254, 254, 254, 0.08); border: 1px solid rgba(254, 254, 254, 0.16); }
.colophon__admission h2 { color: var(--paper); font-size: 1.375rem; }
.colophon__admission p { margin-bottom: 1.25rem; }
.colophon .button { min-height: 2.75rem; padding: 0.6rem 1.25rem; }
.colophon__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(254, 254, 254, 0.16); font-size: 0.8125rem; }
@media (min-width: 48rem) { .colophon__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .colophon__grid { grid-template-columns: 1.4fr 1.1fr 1fr 1.2fr; gap: 2rem; } }

/* ---------- Movimiento reducido ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.v-level:not([hidden]), .v-level:not([hidden]) .v-level__media img, .primary-navigation.is-open, .v-lightbox[open] { animation: v-fade 200ms ease; }
	@keyframes v-fade { from { opacity: 0; } }
	.v-pill::after, .vitrina .button::after, .admission-button::after { display: none; }
	.v-tile img, .v-tour__card img, .v-card__media img, .ed-campus-gallery__item img { transition: none; }
}

/* Ajustes tras revisión visual */
.ed-value h2 { font-size: clamp(1.5rem, 2.2vw, 2.1rem) !important; overflow-wrap: anywhere; hyphens: auto; }
.proposal-values__list > * { display: inline-flex; align-items: center; gap: 0.5rem; }
@media (min-width: 64rem) { .proposal-intro__grid { grid-template-columns: 0.9fr 1.1fr; } }

/* Tablero de marca: línea degradada bajo los encabezados de sección y círculos junto a las fotos. */
.v-head .v-title::after, .ed-introduction__title h2::after { content: none; }
.v-head::after { content: ""; display: block; width: 6rem; height: 5px; margin-top: 1.25rem; border-radius: 3px; background: var(--grad-sun); }
.v-levels .v-head::after { margin-inline: auto; }
.v-level { position: relative; }
.v-level::before { content: ""; position: absolute; z-index: 0; left: -2.5rem; top: -2.5rem; width: clamp(6rem, 12vw, 10rem); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.v-level > * { position: relative; z-index: 1; }
.admission-quick__layout { position: relative; }
.admission-quick__layout::before { content: ""; position: absolute; right: -2.5rem; top: -1.5rem; width: clamp(6rem, 12vw, 11rem); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.admission-quick__layout::after { content: ""; position: absolute; right: clamp(4rem, 10vw, 9rem); bottom: 10%; width: clamp(4rem, 8vw, 7rem); aspect-ratio: 1; border-radius: 50%; background: var(--celeste); z-index: 0; }
.admission-quick__layout > * { position: relative; z-index: 1; }
.v-cta::before { content: ""; position: absolute; z-index: -1; left: -6rem; bottom: -6rem; width: 20rem; height: 20rem; border-radius: 50%; background: var(--yellow); opacity: 0.18; }
.colophon { background: var(--grad-night); }
.v-tour__text, .v-tile__text, .ed-campus-gallery__item span { background: linear-gradient(to top, rgba(15, 43, 125, 0.9), rgba(15, 43, 125, 0)); }
@media (max-width: 47.99rem) { .v-level::before, .admission-quick__layout::before { left: auto; right: -1.5rem; top: -1.5rem; } }

/* ========================================================================= */
/* Ajustes: más fotos, más color, todo animado                               */
/* ========================================================================= */

/* Cabeceras interiores con la foto a todo el ancho. */
.h-hero__photo { width: 100%; aspect-ratio: auto; height: clamp(18rem, 64svh, 42rem); box-shadow: none; }
.h-hero__photo img { height: 112%; }
@media (max-width: 47.99rem) { .h-hero__photo { height: clamp(16rem, 52svh, 26rem); } }

/* Foto junto al texto de cada página institucional. */
.h-intro-photo { margin-top: 1.5rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--celeste); box-shadow: var(--shadow); }
.h-intro-photo:empty { display: none; }
.h-intro-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Cinta de fotos y frase en movimiento. */
.h-ribbon { position: relative; padding-block: clamp(3rem, 8vh, 5rem) clamp(2.5rem, 6vh, 4rem); background: var(--paper); overflow: hidden; }
.h-ribbon__track { display: flex; width: max-content; }
.h-ribbon__group { display: flex; flex: none; }
.h-ribbon__words { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.h-ribbon__words .h-ribbon__group span { display: inline-flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); padding-right: clamp(1.25rem, 3vw, 2.5rem); color: var(--blue); font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 900; line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
.h-ribbon__words .h-ribbon__group span::after { content: ""; width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--yellow); }
.h-ribbon__words .h-ribbon__group span:nth-child(3n + 2) { color: transparent; -webkit-text-stroke: 2px var(--blue); }
.h-ribbon__words .h-ribbon__group span:nth-child(3n + 2)::after { background: var(--celeste); }
.h-ribbon__photos .h-ribbon__group { gap: clamp(0.6rem, 1.2vw, 1rem); padding-right: clamp(0.6rem, 1.2vw, 1rem); }
.h-ribbon__photos li { flex: none; width: clamp(14rem, 26vw, 22rem); aspect-ratio: 4 / 3; overflow: hidden; background: var(--celeste); box-shadow: var(--shadow); }
.h-ribbon__photos li:nth-child(even) { aspect-ratio: 3 / 4; width: clamp(10rem, 18vw, 16rem); align-self: center; }
.h-ribbon__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.h-ribbon__photos .h-ribbon__group { align-items: center; }
.h-ribbon__pause { position: absolute; right: var(--gutter); bottom: 1rem; width: 2.5rem; height: 2.5rem; }
.h-ribbon__icon { position: relative; width: 0.75rem; height: 0.85rem; border-inline: 3px solid currentColor; }
.h-ribbon.is-paused .h-ribbon__icon { width: 0; height: 0; border: 0; border-left: 0.75rem solid currentColor; border-block: 0.45rem solid transparent; margin-left: 0.2rem; }
.is-live .h-ribbon__track { animation: h-marquee var(--dur, 60s) linear infinite; }
.is-live .h-ribbon__words .h-ribbon__track { --dur: 40s; animation-direction: reverse; }
.is-live .h-ribbon.is-paused .h-ribbon__track { animation-play-state: paused; }
@keyframes h-marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) {
	.is-live .h-ribbon__photos:hover .h-ribbon__track { animation-play-state: paused; }
	.h-ribbon__photos li:hover img { transform: scale(1.05); }
}
:root:not(.is-live) .h-ribbon__photos { overflow-x: auto; scrollbar-width: none; }
:root:not(.is-live) .h-ribbon__group[aria-hidden="true"], :root:not(.is-live) .h-ribbon__words .h-ribbon__group + .h-ribbon__group { display: none; }

/* Formas de marca que flotan detrás del contenido (vitrina.js las añade). */
.h-shaped { position: relative; isolation: isolate; overflow: clip; }
.h-shape { position: absolute; z-index: -1; pointer-events: none; }
.h-shape__i { display: block; width: 100%; height: 100%; }
.h-shape--sun .h-shape__i { border-radius: 50%; background: var(--yellow); }
.h-shape--sky .h-shape__i { border-radius: 50%; background: var(--celeste); }
.h-shape--blue .h-shape__i { border-radius: 50%; background: var(--blue); }
.h-shape--ring .h-shape__i { border-radius: 50%; border: clamp(6px, 1vw, 12px) solid var(--yellow); }
.h-shape--dots .h-shape__i { background: radial-gradient(circle, var(--blue) 2.5px, transparent 3px) 0 0 / 18px 18px; opacity: 0.35; }
.h-shape--wave .h-shape__i { background: var(--waves) repeat-x 0 center / 80px 28px; }
.h-shape--grad .h-shape__i { border-radius: 50%; background: linear-gradient(180deg, var(--blue), rgba(15, 43, 125, 0)); opacity: 0.18; }
.is-live .h-shape__i { animation: h-float var(--t, 9s) var(--ease-in-out) infinite alternate; }
.is-live .h-shape--ring .h-shape__i, .is-live .h-shape--dots .h-shape__i { animation-name: h-spin; animation-timing-function: linear; animation-duration: 40s; animation-direction: normal; }
.is-live .h-shape--wave .h-shape__i { animation: h-waves 14s linear infinite; }
@keyframes h-float { from { transform: translate3d(0, -14px, 0); } to { transform: translate3d(0, 14px, 0); } }
@keyframes h-spin { to { transform: rotate(360deg); } }
.v-values .h-shape--blue .h-shape__i, .ed-next .h-shape--blue .h-shape__i, .proposal-values .h-shape--blue .h-shape__i { background: var(--celeste); opacity: 0.25; }
.v-values .h-shape--dots .h-shape__i, .ed-next .h-shape--dots .h-shape__i, .proposal-values .h-shape--dots .h-shape__i, .colophon .h-shape--dots .h-shape__i { background-image: radial-gradient(circle, var(--paper) 2.5px, transparent 3px); }

/* Bandas de color más vivas. */
.v-news, .v-bento { background: var(--grid-paper), linear-gradient(180deg, var(--mist), var(--celeste)); }
.v-levels { background: var(--grid-paper), linear-gradient(180deg, var(--paper), var(--mist) 40%, var(--celeste)); }

/* Títulos que entran palabra por palabra. */
.h-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.h-w__i { display: inline-block; will-change: transform; }

/* Barra superior que se oculta al bajar y vuelve al subir (interiores). */
.v-nav { transition: transform 320ms var(--ease-out); }
.v-nav.is-tucked { transform: translateY(-100%); }

/* Transición suave entre páginas. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms var(--ease-out) both h-vt-out; }
::view-transition-new(root) { animation: 460ms var(--ease-out) both h-vt-in; }
@keyframes h-vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes h-vt-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
	.h-ribbon__pause { display: none; }
}

@media (max-width: 47.99rem) { .h-shape { scale: 0.5; opacity: 0.75; } .h-shape--wave { scale: 1; } }
.mission-visuals__item--4 { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
@media (min-width: 48rem) { .mission-focus__rail { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important; } }
.h-shaped--open { overflow: visible; }

/* Fichas individuales: noticia, actividad, álbum, nivel y persona. */
html:has(body.vitrina) { overflow-x: clip; }
.news-single, .activity-main:has(.activity-article), .gallery-main:has(.album-article) { background: linear-gradient(var(--paper), var(--paper)) 0 30rem / 100% 100% no-repeat, var(--grid-paper), var(--paper); }
:is(.news-article, .activity-article, .album-article) > header { display: grid; justify-items: start; gap: 1rem; padding-block: clamp(2.5rem, 7vh, 4.5rem) clamp(2rem, 5vh, 3rem); }
:is(.news-article, .activity-article, .album-article) h1, .person-profile h1 { max-width: 18ch; font-size: clamp(2.5rem, 6.5vw, 5.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.news-article__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.news-article__meta span, .activity-article__date, .album-article__date { padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--yellow); color: var(--blue); font-size: 0.875rem; font-weight: 700; }
.news-article__meta span + span { background: var(--celeste); }
.news-article__excerpt { max-width: 40rem; color: var(--dim); font-size: clamp(1.125rem, 1.8vw, 1.375rem); }
:is(.news-article__image, .activity-article__image, .album-article__image) { width: 100%; height: clamp(18rem, 62svh, 40rem); overflow: hidden; background: var(--celeste); }
:is(.news-article__image, .activity-article__image, .album-article__image) img { width: 100%; height: 100%; object-fit: cover; }
:is(.news-article__content, .activity-article__content, .album-article__content) { padding-block: clamp(3rem, 8vh, 5rem); }
:is(.news-article__footer, .activity-article__footer, .album-article__footer) { padding-bottom: clamp(3rem, 8vh, 5rem); }
.vitrina .post-navigation .nav-links { display: grid; gap: 1rem; }
.vitrina .post-navigation a { display: grid; gap: 0.25rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); color: var(--blue); font-weight: 700; transition: transform 240ms var(--ease-out), box-shadow 240ms ease; }
.vitrina .post-navigation .meta-nav, .vitrina .post-navigation .nav-subtitle { color: var(--dim); font-size: 0.8125rem; font-weight: 600; }
.news-article__categories { margin-bottom: 1rem; color: var(--dim); font-size: 0.875rem; }
.news-article__categories a { color: var(--blue-mid); font-weight: 650; }
@media (min-width: 48rem) { .vitrina .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } .vitrina .post-navigation .nav-next { text-align: right; } }
@media (hover: hover) and (pointer: fine) { .vitrina .post-navigation a:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.person-profile { display: grid; gap: 2.5rem; align-items: center; }
.person-profile__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--celeste); box-shadow: var(--shadow); }
.person-profile__media img { width: 100%; height: 100%; object-fit: cover; }
.person-profile__content { display: grid; justify-items: start; gap: 1rem; }
.person-profile__position { color: var(--blue-mid); font-size: 1.25rem; font-weight: 700; }
.academic-detail { display: grid; gap: 2.5rem; }
.academic-detail__aside { padding: 1.75rem; border-radius: var(--r-card); background: var(--blue); color: var(--paper); }
.academic-detail__aside h2 { color: var(--paper); font-size: 1.5rem !important; margin-bottom: 1rem; }
.academic-detail__aside li { padding: 0.6rem 0; border-bottom: 1px solid rgba(254, 254, 254, 0.18); }
@media (min-width: 64rem) { .person-profile { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } .academic-detail { grid-template-columns: 1.4fr 0.8fr; align-items: start; } }

/* Equipo: directivos en grande y docentes en cuadrícula tipo feed. */
.h-leaders { padding-block: clamp(4rem, 10vh, 7rem); }
.h-leaders__grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.h-leader { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); }
.h-leader__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grad-sky); }
.h-leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.h-leader__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 85% 20%, var(--yellow) 0 18%, transparent 18.2%), linear-gradient(135deg, var(--blue) 0%, #2a4fa8 55%, var(--celeste) 100%); }
.h-leader__placeholder img { position: absolute; left: 1.5rem; bottom: 1.5rem; width: auto; height: 4.5rem; object-fit: contain; }
.h-leader__placeholder span { color: var(--paper); font-size: clamp(4rem, 10vw, 8rem); font-weight: 900; letter-spacing: -0.04em; }
.h-leader__body { display: grid; justify-items: start; gap: 0.6rem; padding: clamp(1.25rem, 3vw, 2rem); }
.h-leader__role { padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--yellow); color: var(--blue); font-size: 0.875rem; font-weight: 750; }
.h-leader__name { font-size: clamp(1.6rem, 3vw, 2.4rem) !important; line-height: 1.08; }
@media (min-width: 48rem) { .h-leaders__grid { grid-template-columns: 1fr 1fr; } }
@media (hover: hover) and (pointer: fine) { .h-leader { transition: transform 240ms var(--ease-out); } .h-leader:hover { transform: translateY(-4px); } }

.h-feed { padding-block: clamp(3rem, 8vh, 5rem) clamp(4rem, 10vh, 7rem); background: var(--grid-paper), var(--mist); }
.h-feed .v-frame { max-width: 60rem; }
.h-feed__head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.h-feed__avatar { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--yellow), 0 0 0 6px var(--blue); }
.h-feed__avatar img { width: auto; height: 3rem; }
.h-feed__intro { display: grid; gap: 0.2rem; margin-right: auto; }
.h-feed__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important; }
.h-feed__count { color: var(--dim); }
.h-feed__count strong { color: var(--blue); }
.h-feed__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.h-feed__link { display: block; position: relative; }
.h-feed__photo { display: block; aspect-ratio: 1; overflow: hidden; background: var(--celeste); border-radius: var(--r); }
.h-feed__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.h-feed__info { display: grid; gap: 0.1rem; padding: 0.5rem 0.15rem 0; }
.h-feed__name { color: var(--blue); font-size: 0.9375rem; font-weight: 700; line-height: 1.2; }
.h-feed__role { color: var(--dim); font-size: 0.8125rem; line-height: 1.25; }
@media (min-width: 48rem) {
	.h-feed__grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
	.h-feed__photo { border-radius: 0; }
	.h-feed__info { position: absolute; inset: 0; align-content: end; padding: 0.75rem; background: linear-gradient(to top, rgba(15, 43, 125, 0.88), rgba(15, 43, 125, 0) 70%); opacity: 0; transition: opacity 220ms ease; }
	.h-feed__name, .h-feed__role { color: var(--paper); }
	.h-feed__link:hover .h-feed__info, .h-feed__link:focus-visible .h-feed__info { opacity: 1; }
	.h-feed__link:hover img { transform: scale(1.05); }
}
@media (min-width: 64rem) { .h-feed__grid { grid-template-columns: repeat(5, 1fr); } }
@media (hover: none) and (min-width: 48rem) { .h-feed__info { opacity: 1; } }

/* ========================================================================= */
/* Ajustes 19-11: banner de fotos, contenido del boletín, menú y WhatsApp     */
/* ========================================================================= */

/* Banner de fotos del inicio. */
.v-slides { position: absolute; inset: 0; }
.v-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 900ms var(--ease-out); }
.v-slide.is-active { opacity: 1; }
.v-slide img { width: 100%; height: 100%; object-fit: cover; }
.is-live .v-slide.is-active img { animation: v-kenburns var(--slide-time, 5.5s) linear both; }
@keyframes v-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.v-slides__rail { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.v-slides__rail[hidden] { display: none; }
.v-slides__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; flex: 1; }
.v-slides__tab { display: grid; gap: 0.5rem; padding: 0; border: 0; background: none; color: rgba(254, 254, 254, 0.75); text-align: left; cursor: pointer; font-size: 0.8125rem; font-weight: 650; }
.v-slides__tab.is-active { color: var(--paper); }
.v-slides__bar { display: block; height: 3px; border-radius: 3px; background: rgba(254, 254, 254, 0.3); overflow: hidden; }
.v-slides__bar span { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.v-slides__tab.is-active .v-slides__bar span { transform: scaleX(1); }
.is-live .v-slides__tab.is-active .v-slides__bar span { animation: v-bar var(--slide-time, 5.5s) linear both; }
.is-live .v-hero.is-paused .v-slides__tab.is-active .v-slides__bar span, .is-live .v-hero.is-paused .v-slide.is-active img { animation-play-state: paused; }
@keyframes v-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.v-slides__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-slides__pause { flex: none; width: 2.5rem; height: 2.5rem; }
.v-hero.is-paused .h-ribbon__icon { width: 0; height: 0; border: 0; border-left: 0.75rem solid currentColor; border-block: 0.45rem solid transparent; margin-left: 0.2rem; }
@media (max-width: 47.99rem) { .v-slides__label { display: none; } .v-slides__tab { padding-block: 0.6rem; } }
:root:not(.is-live) .v-hero__media { position: relative; }

/* Pilares y visión. */
.v-pillars { display: grid; gap: 1rem; margin-top: clamp(2rem, 6vh, 3.5rem); }
.v-pillar { display: grid; align-content: start; gap: 0.75rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); }
.v-pillar__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--yellow); color: var(--blue); }
.v-pillar__icon svg { width: 1.4rem; height: 1.4rem; }
.v-pillar h3 { font-size: 1.375rem; }
.v-pillar p { color: var(--dim); }
.v-pillar--vision { background: var(--grad-sky); border-color: transparent; }
.v-pillar--vision h3, .v-pillar--vision p { color: var(--paper); }
.v-pillar--vision .v-pillar__icon { background: var(--paper); }
@media (min-width: 64rem) { .v-pillars { grid-template-columns: 1fr 1fr 1.3fr; } }
.v-story > .v-frame > .v-link { margin-top: 1rem; }

/* Niveles: datos y áreas del plan de estudios. */
.v-level__facts { display: grid; gap: 0.4rem; margin-bottom: 1.25rem; }
.v-level__facts li { display: flex; align-items: center; gap: 0.6rem; color: var(--blue); font-weight: 650; }
.v-level__facts li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(244, 223, 115, 0.4); }
.v-level__areas { display: flex; flex-wrap: wrap; gap: 0.4rem; max-width: 34rem; }
.v-level__areas li { padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--carbon); font-size: 0.875rem; font-weight: 550; }

/* Talleres y ambientes. */
.v-workshops { padding-block: clamp(5rem, 12vh, 8rem); }
.v-workshops__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.v-workshop { display: grid; align-content: start; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); transition: transform 200ms var(--ease-out), box-shadow 200ms ease; }
.v-workshop__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 0.25rem; border-radius: var(--r-card); background: var(--celeste); color: var(--blue); }
.v-workshop:nth-child(3n + 2) .v-workshop__icon { background: var(--yellow); }
.v-workshop:nth-child(3n) .v-workshop__icon { background: var(--blue); color: var(--paper); }
.v-workshop__icon svg { width: 1.4rem; height: 1.4rem; }
.v-workshop h3 { font-size: 1.25rem; }
.v-workshop p { color: var(--dim); font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) { .v-workshop:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.v-rooms { margin-top: clamp(2.5rem, 6vh, 3.5rem); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-card); background: var(--grad-night); color: var(--paper); }
.v-rooms__title { color: var(--yellow) !important; font-size: 1.125rem !important; margin-bottom: 1rem; }
.v-rooms__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v-rooms__list li { padding: 0.5rem 0.95rem; border: 1px solid rgba(254, 254, 254, 0.25); border-radius: 999px; font-weight: 600; font-size: 0.9375rem; }

/* Familias conectadas: pantalla con avisos. */
.v-connect { padding-block: clamp(5rem, 12vh, 8rem); background: var(--grid-paper), linear-gradient(180deg, var(--paper), var(--mist)); }
.v-connect__grid { display: grid; gap: 3rem; align-items: center; }
.v-connect__list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.v-connect__list li { display: grid; gap: 0.25rem; padding-left: 1.25rem; border-left: 0; position: relative; color: var(--dim); }
.v-connect__list li::before { content: ""; position: absolute; left: 0; top: 0.45rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--blue-mid); }
.v-connect__list strong { color: var(--blue); font-size: 1.125rem; }
.v-device { justify-self: center; width: min(100%, 20rem); aspect-ratio: 9 / 18; padding: 0.75rem; border-radius: 2.5rem; background: var(--blue); box-shadow: 0 30px 60px -30px rgba(15, 43, 125, 0.6); }
.v-device__screen { display: grid; align-content: start; gap: 0.75rem; height: 100%; padding: 1.25rem 1rem; border-radius: 1.9rem; background: var(--grid-paper), var(--paper); overflow: hidden; }
.v-device__bar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--blue); font-weight: 800; }
.v-device__bar img { width: auto; height: 1.75rem; }
.v-device__note { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem; border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); font-size: 0.8125rem; color: var(--dim); }
.v-device__note b { display: block; color: var(--blue); font-size: 0.9375rem; }
.v-device__dot { flex: none; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--blue-mid); }
.v-device__dot--sun { background: var(--yellow-deep); }
.v-device__dot--sky { background: var(--celeste); box-shadow: inset 0 0 0 2px var(--blue-mid); }
.v-device__chart { display: flex; align-items: end; gap: 0.5rem; height: 6rem; margin-top: auto; padding: 0.75rem; border-radius: 1rem; background: var(--mist); }
.v-device__chart span { flex: 1; height: calc(var(--v) * 100%); border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--blue), var(--blue-mid)); transform-origin: bottom; }
.v-device__chart span:last-child { background: linear-gradient(to top, var(--yellow-deep), var(--yellow)); }
@media (min-width: 64rem) { .v-connect__grid { grid-template-columns: 1.2fr 0.8fr; gap: 5rem; } }

/* Cronograma de matrícula. */
.v-steps { display: grid; gap: 0.75rem; width: min(100%, 56rem); margin-top: 2rem; text-align: left; }
.v-steps li { display: grid; gap: 0.2rem; padding: 1rem 1.25rem; border: 1px solid rgba(254, 254, 254, 0.22); border-radius: var(--r-card); background: rgba(254, 254, 254, 0.08); }
.v-steps__date { color: var(--yellow); font-size: 0.8125rem; font-weight: 700; }
.v-steps__name { color: var(--paper); font-size: 1.125rem; font-weight: 700; }
@media (min-width: 64rem) { .v-steps { grid-template-columns: repeat(3, 1fr); } }

/* Recorrido: la foto se amplía al tocarla. */
.v-tour__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.v-tour__text { pointer-events: none; }
.h-feed__more { margin-top: 1.5rem; }

/* Barra superior siempre visible (también en la portada). */
.v-nav.is-tucked { transform: none; }
.home .v-nav { position: fixed; }
.home .v-local { top: var(--nav-h); }
.home { scroll-padding-top: calc(var(--nav-h) + var(--local-h) + 1rem); }
.is-tour-pinned .v-tour__pin { padding-top: calc(var(--nav-h) + var(--local-h)); }

/* Megamenú con fotos (escritorio). */
.mega-thumb { display: none; }
@media (min-width: 64rem) {
	.primary-navigation .sub-menu { grid-template-columns: repeat(var(--cols, 3), 11rem); gap: 0.5rem; min-width: 0; padding: 0.75rem; }
	.primary-navigation .menu > li:has(> .sub-menu > li:nth-child(4)) > .sub-menu { --cols: 4; }
	.primary-navigation .menu > li:has(> .sub-menu > li:nth-child(2):last-child) > .sub-menu { --cols: 2; }
	.primary-navigation .sub-menu a { display: grid; gap: 0.5rem; padding: 0.5rem; font-weight: 650; color: var(--blue); }
	.mega-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--celeste); }
	.mega-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
	.primary-navigation .sub-menu a:hover .mega-thumb img { transform: scale(1.06); }
}

/* Botón flotante de WhatsApp. */
.h-wa { position: fixed; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem); z-index: 70; display: inline-flex; align-items: center; gap: 0.6rem; height: 3.5rem; padding: 0 1.1rem; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; box-shadow: 0 12px 28px -10px rgba(10, 80, 40, 0.6); transition: scale 160ms var(--ease-out), box-shadow 200ms ease; }
.h-wa svg { width: 1.6rem; height: 1.6rem; }
.h-wa:active { scale: 0.96; }
.h-wa__label { white-space: nowrap; }
@media (max-width: 47.99rem) { .h-wa { width: 3.5rem; justify-content: center; padding: 0; } .h-wa__label { display: none; } }
.is-live .h-wa { animation: h-wa-in 600ms var(--ease-out) 1.2s both; }
@keyframes h-wa-in { from { opacity: 0; translate: 0 20px; } }
.h-ribbon__pause { right: calc(var(--gutter) + 5rem); }
@media (max-width: 47.99rem) { .v-slides__rail { padding-right: 4.25rem; } }

/* ========================================================================= */
/* 40 años, valores alrededor del escudo y consulta de costos                 */
/* ========================================================================= */
.v-hero__seal { position: absolute; z-index: 3; right: max(0rem, 4%); top: -1rem; width: clamp(7rem, 12vw, 11.5rem); height: auto; filter: drop-shadow(0 14px 22px rgba(15, 43, 125, 0.28)); }
.is-live .v-hero__seal { animation: h-seal-in 900ms var(--ease-out) 250ms both, h-seal-float 5s var(--ease-in-out) 1.15s infinite alternate; }
@keyframes h-seal-in { from { opacity: 0; scale: 0.4; rotate: -40deg; } }
@keyframes h-seal-float { from { transform: translateY(-6px) rotate(-4deg); } to { transform: translateY(6px) rotate(3deg); } }
@media (max-width: 63.99rem) { .v-hero__seal { position: static; display: block; width: 6.5rem; margin: 0 auto 0.75rem; } }

.v-anniv { display: grid; gap: 2rem; align-items: center; margin-top: clamp(3.5rem, 9vh, 5.5rem); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-card); background: var(--grid-paper), linear-gradient(135deg, var(--paper) 0%, var(--mist) 60%, var(--celeste) 100%); box-shadow: var(--shadow); overflow: hidden; }
.v-anniv__seal { justify-self: center; width: min(100%, 22rem); height: auto; filter: drop-shadow(0 20px 30px rgba(15, 43, 125, 0.3)); }
.v-anniv__copy { display: grid; gap: 0.9rem; min-width: 0; }
.v-anniv__title { font-size: clamp(2rem, 4.4vw, 3.5rem) !important; line-height: 1.02; }
.v-anniv__lead { max-width: 36rem; color: var(--dim); font-size: 1.125rem; }
.v-anniv .v-timeline { margin-top: 1.5rem; }
@media (min-width: 64rem) { .v-anniv { grid-template-columns: 0.75fr 1.25fr; gap: 3.5rem; } }

/* Valores alrededor del escudo. */
.h-orbit { padding-block: clamp(5rem, 12vh, 8rem); background: var(--blue); color: var(--paper); }
.h-orbit .v-title { color: var(--paper); }
.h-orbit .v-eyebrow { color: var(--yellow); }
.h-orbit__grid { display: grid; gap: 3rem; align-items: center; }
.h-orbit__head { display: grid; gap: 1rem; align-content: start; }
.h-orbit__lead { max-width: 30rem; color: var(--on-blue-dim); font-size: 1.125rem; }
.h-orbit__list { display: grid; gap: 0.75rem; }
.h-orbit__item { display: grid; gap: 0.35rem; padding: 1rem 1.25rem; border-radius: var(--r-card); background: rgba(254, 254, 254, 0.08); border: 1px solid rgba(254, 254, 254, 0.18); }
.h-orbit__value { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0; border: 0; background: none; color: var(--paper); font-size: 1.25rem; font-weight: 750; text-align: left; cursor: pointer; }
.h-orbit__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--yellow); color: var(--blue); flex: none; }
.h-orbit__icon svg { width: 1.2rem; height: 1.2rem; }
.h-orbit__text { color: var(--on-blue-dim); }
.h-orbit__stage { position: relative; }
.h-orbit__shield, .h-orbit__ring { display: none; }
.h-orbit__panel { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; margin-top: 1rem; padding: 1.5rem; border-radius: var(--r-card); background: var(--paper); color: var(--carbon); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5); }
.h-orbit__panel[hidden] { display: none; }
.h-orbit__panel-icon { grid-row: span 2; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--yellow); color: var(--blue); }
.h-orbit__panel-icon svg { width: 1.6rem; height: 1.6rem; }
.h-orbit__panel-name { color: var(--blue); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.h-orbit__panel-text { color: var(--dim); font-size: 1.0625rem; }
.h-orbit__panel.is-swap { animation: h-panel-in 380ms var(--ease-out); }
@keyframes h-panel-in { from { opacity: 0; transform: translateY(8px); } }

/* Con JavaScript: los valores se colocan alrededor del escudo. */
.is-orbit .h-orbit__stage { --r: clamp(8.5rem, 34vw, 15rem); width: min(100%, 36rem); aspect-ratio: 1; justify-self: center; }
.is-orbit .h-orbit__shield { display: block; position: absolute; left: 50%; top: 50%; width: 34%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35)); }
.is-orbit .h-orbit__ring { display: block; position: absolute; inset: 9%; border-radius: 50%; border: 2px dashed rgba(244, 223, 115, 0.55); }
.is-orbit .h-orbit__ring--inner { inset: 26%; border: 0; background: radial-gradient(circle, rgba(210, 234, 236, 0.28), transparent 70%); }
.is-live .is-orbit .h-orbit__ring:not(.h-orbit__ring--inner) { animation: h-spin 60s linear infinite; }
.is-orbit .h-orbit__list { display: block; }
.is-orbit .h-orbit__item { position: absolute; left: 50%; top: 50%; padding: 0; border: 0; background: none; transform: translate(-50%, -50%) rotate(calc(var(--i) * var(--step, 72deg) - 90deg)) translate(var(--r)) rotate(calc(90deg - var(--i) * var(--step, 72deg))); }
.is-orbit .h-orbit__text { display: none; }
.is-orbit .h-orbit__value { flex-direction: column; gap: 0.4rem; width: 7.5rem; font-size: 0.9375rem; text-align: center; transition: scale 200ms var(--ease-out); }
.is-orbit .h-orbit__icon { width: 3.5rem; height: 3.5rem; background: var(--paper); box-shadow: 0 0 0 4px rgba(254, 254, 254, 0.18); transition: background-color 220ms ease, box-shadow 220ms ease, scale 220ms var(--ease-out); }
.is-orbit .h-orbit__value[aria-pressed="true"] .h-orbit__icon { background: var(--yellow); box-shadow: 0 0 0 6px rgba(244, 223, 115, 0.35); scale: 1.12; }
.is-orbit .h-orbit__value:active { scale: 0.96; }
@media (hover: hover) and (pointer: fine) { .is-orbit .h-orbit__value:hover .h-orbit__icon { background: var(--yellow); } }
@media (max-width: 29.99rem) { .is-orbit .h-orbit__value { width: 5.75rem; font-size: 0.8125rem; } .is-orbit .h-orbit__icon { width: 2.9rem; height: 2.9rem; } }
@media (min-width: 64rem) { .h-orbit__grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.v-values__list, .v-values__photo { display: none; }

/* Costos y vacantes: consulta personal. */
.v-ask { display: grid; justify-items: center; gap: 0.5rem; width: min(100%, 44rem); margin-top: 2rem; padding: 1.5rem; border-radius: var(--r-card); background: rgba(254, 254, 254, 0.1); border: 1px solid rgba(254, 254, 254, 0.25); }
.v-ask__title { color: var(--paper); font-size: 1.375rem; font-weight: 750; }
.v-ask__text { color: rgba(254, 254, 254, 0.8); }
.v-ask__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }

/* Una sola barra de menú: sin barra de secciones en la portada. */
.v-local { display: none; }
.home { scroll-padding-top: calc(var(--nav-h) + 1rem); }
.is-tour-pinned .v-tour__pin { padding-top: var(--nav-h); }
.is-tour-pinned .v-tour__card { height: min(56svh, 38rem, calc(100svh - 24rem)); }

/* Títulos pequeños sin viñeta amarilla. */
.v-eyebrow::before, .ed-kicker::before, .eyebrow::before, .admission-kicker::before { content: none; }
.v-eyebrow, .ed-kicker, .eyebrow, .admission-kicker { gap: 0; }

.v-news__empty { grid-column: 1 / -1; padding: 2rem; border: 1px dashed var(--line-strong); border-radius: var(--r-card); color: var(--dim); text-align: center; }
@media (min-width: 64rem) { .v-news__empty { grid-column: span 3; } }

/* Páginas con el texto de los documentos oficiales (inc/document-pages.php). */
.d-block { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.d-block + .d-block { padding-top: 0; }
.d-lead { max-width: 62ch; margin-top: 1rem; color: var(--dim); font-size: 1.125rem; }
.d-reading { display: grid; gap: 1.1rem; max-width: 68ch; }
.d-reading p { font-size: 1.125rem; line-height: 1.7; color: var(--carbon); }
.d-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.d-list__item { display: grid; gap: 0.4rem; padding: 1.4rem 1.5rem; border-radius: var(--r-card); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(15, 43, 125, 0.1); }
.d-list__item strong { color: var(--blue); font-size: 1.125rem; font-weight: 800; line-height: 1.25; }
.d-list__item span { color: var(--dim); }
.d-list__item--plain { align-content: center; }
.d-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-left: 1px solid rgba(15, 43, 125, 0.2); }
.d-steps li { position: relative; padding: 0 0 2rem 1.75rem; }
.d-steps li::before { content: ""; position: absolute; left: -0.6rem; top: 0.35rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--paper); }
.d-steps__date { display: block; color: var(--blue); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; }
.d-steps p { max-width: 60ch; margin-top: 0.35rem; color: var(--carbon); font-size: 1.0625rem; }
.d-table { overflow-x: auto; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px rgba(15, 43, 125, 0.12); background: var(--paper); }
.d-table:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.d-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.d-table th, .d-table td { padding: 0.7rem 1rem; border-bottom: 1px solid rgba(15, 43, 125, 0.08); text-align: center; }
.d-table thead th { background: var(--blue); color: #fff; font-weight: 700; }
.d-table th[scope="row"], .d-table thead th:first-child { text-align: left; font-weight: 600; color: var(--carbon); }
.d-table thead th:first-child { color: #fff; }
.d-table tbody tr:nth-child(even) { background: rgba(210, 234, 236, 0.35); }
.d-table tfoot th, .d-table tfoot td { background: var(--yellow); color: var(--blue); font-weight: 800; border-bottom: 0; }
.d-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.d-links a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; min-height: 5.5rem; padding: 1.25rem 1.5rem; border-radius: var(--r-card); background: var(--paper); color: var(--blue); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(15, 43, 125, 0.12); transition: translate 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.d-links__num { color: var(--dim); font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.d-links__name { display: grid; gap: 0.2rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.d-links__name small { color: var(--dim); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) { .d-links a:hover { translate: 0 -2px; box-shadow: inset 0 0 0 2px var(--blue); } }
