/* ==========================================================================
   Máster Fintech · Universitat de Barcelona
   Estilo institucional claro: blanco, azul UB, paneles azul cielo y crema,
   tipografía Inter (alojada en el tema, sin servicios externos).

   1 Tipografía y variables · 2 Base · 3 Estructura · 4 Botones y etiquetas
   5 Cabecera y menú · 6 Portada · 7 Componentes · 8 Plan de estudio
   9 Profesores · 10 Inscripciones · 11 Noticias · 12 Formularios
   13 Pie, WhatsApp, cookies, idioma · 14 Texto editable · 15 Movimiento
   ========================================================================== */

/* 1 · Tipografía y variables ------------------------------------------------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Inter-Bold.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); }

:root {
	--navy: #0c1f3d;
	--ink: #1f2a3a;
	--muted: #5a6577;
	--blue: #0b62d0;
	--blue-dark: #0849a0;
	--blue-soft: #d9e7fb;
	--sky: #edf4fd;
	--sky-2: #f5f9fe;
	--sand: #faf7f0;
	--sand-line: #ece4d2;
	--gold: #b8923f;
	--line: #e2e8f0;
	--line-strong: #cfd8e3;
	--white: #fff;
	--ok: #1a8f5a;
	--maxw: 76rem;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(12, 31, 61, .04), 0 8px 24px -12px rgba(12, 31, 61, .12);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--header-h: 4.5rem;
}

/* 2 · Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
strong, b { font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(11, 98, 208, .45); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-soft); }
.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: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--navy); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.hl { color: var(--blue); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.55; }
.ta-r { text-align: right; }
.h4 { font-size: 1.125rem; margin-bottom: .75rem; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--xs { width: .8rem; height: .8rem; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 2rem; height: 2rem; }

/* 3 · Estructura ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 46rem; }
.container--wide { max-width: 64rem; }
.section { padding: 4.5rem 0; }
.section--white { background: var(--white); }
.section--sky { background: var(--sky-2); border-top: 1px solid #e6eef9; border-bottom: 1px solid #e6eef9; }
.section--sand { background: var(--sand); border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); }
.section--tight { padding-top: 2rem; }
.section + .section--white:not(.section--tight) { border-top: 1px solid var(--line); }
.section__after { margin-top: 2.25rem; }
@media (min-width: 900px) { .section { padding: 6rem 0; } .container { padding: 0 2rem; } }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); }
.grid--top { align-items: start; margin-top: 1.5rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(var(--sm, var(--c, 1)), minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(var(--md, var(--sm, var(--c, 1))), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(var(--lg, var(--md, var(--sm, var(--c, 1)))), minmax(0, 1fr)); } }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
	.split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
	.split--even { grid-template-columns: 1fr 1fr; }
	.split--faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
	.split--alumni { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
	.split--contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }
}

.heading { max-width: 48rem; margin-bottom: 2.25rem; }
.heading__title { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); letter-spacing: -.025em; }
.heading__text { margin-top: 1rem; font-size: 1.0625rem; color: var(--muted); }
.heading__text p + p { margin-top: .75rem; }
.heading-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.heading-row .heading { margin-bottom: 0; }

.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: .875rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--gold); flex: none; }
.eyebrow--plain::before { display: none; }
.eyebrow--plain { margin-bottom: .5rem; }
.eyebrow--gold { color: var(--gold); }
.label { margin: 2.5rem 0 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #4c5b72; }
.label:first-child { margin-top: 0; }

.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--navy); }
.lead p + p, .prose-sm p + p { margin-top: .9rem; }
.prose-sm { margin-top: 1rem; font-size: .9875rem; color: var(--ink); }
.prose-sm a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* 4 · Botones y etiquetas -------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.875rem; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(11, 98, 208, .2); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--secondary { background: #fff; border-color: var(--line-strong); color: var(--navy); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--sky); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); }
.btn--link { min-height: 0; padding: 0; border: 0; border-radius: 0; color: var(--blue); font-size: .875rem; }
.btn--link:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.btn--sm { min-height: 2.375rem; padding: .5rem 1rem; font-size: .875rem; }
.btn--noshrink { flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-row--hero { margin-top: 2rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chips li { padding: .375rem .875rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .8125rem; font-weight: 600; color: var(--navy); }

.pill { display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.pill--sand { background: #f4ecdb; color: #7a5a1c; }
.pill--rose { background: #fde8ec; color: #a8263f; }
.pill--lilac { background: #efe9fd; color: #5b3cb3; }
.pill--mint { background: #e3f5ee; color: #12724a; }
.pill__dot { width: .5rem; height: .5rem; border-radius: 50%; background: #1fa36b; }

.tag { display: inline-block; padding: .2rem .55rem; border-radius: 999px; background: var(--tag, #6b7a8f); color: #fff; font-size: .6875rem; font-weight: 600; line-height: 1.4; }

.status { display: inline-flex; align-items: flex-start; gap: .625rem; margin-top: 1.5rem; padding: .75rem 1rem; border: 1px solid #d6e4f8; border-radius: var(--radius-sm); background: var(--sky); font-size: .9375rem; font-weight: 600; color: var(--navy); }
.status__dot { width: .625rem; height: .625rem; margin-top: .45em; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184, 146, 63, .18); }
.status--open .status__dot { background: #1fa36b; box-shadow: 0 0 0 4px rgba(31, 163, 107, .18); }
.status--full .status__dot { background: #c73a52; box-shadow: 0 0 0 4px rgba(199, 58, 82, .16); }

/* 5 · Cabecera y menú ------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.site-header__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.brand img { width: 150px; height: auto; }
.brand__name { display: none; padding-left: 1rem; border-left: 1px solid var(--line-strong); font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--navy); max-width: 15rem; }
.brand__kicker { display: block; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
@media (min-width: 720px) { .brand img { width: 176px; } .brand__name { display: block; } }
.site-header__tools { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); cursor: pointer; }
.menu-toggle__close { display: none; }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: inline-flex; }

.nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.menu-open .nav { display: block; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.nav__list { display: grid; gap: .125rem; padding: .75rem 0; }
.nav__list a { display: flex; align-items: center; gap: .375rem; padding: .75rem .5rem; border-radius: 8px; font-size: 1rem; font-weight: 500; color: var(--navy); }
.nav__list a:hover { background: var(--sky); color: var(--blue); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--blue); }
.nav__extra { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .75rem 0 1.25rem; border-top: 1px solid var(--line); }

@media (max-width: 479px) { .hide-xs { display: none !important; } }
@media (max-width: 1099px) { .hide-sm { display: none !important; } }
@media (min-width: 1100px) {
	.menu-toggle { display: none; }
	.nav { display: block; }
	.nav .container { display: flex; align-items: center; justify-content: space-between; }
	.nav__list { display: flex; flex-wrap: wrap; gap: .125rem; padding: 0; }
	.nav__list a { position: relative; padding: .875rem .6rem; border-radius: 0; font-size: .875rem; white-space: nowrap; }
	.nav__list a:hover { background: transparent; }
	.nav__list a::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
	.nav__list a:hover::after, .nav__list .current-menu-item > a::after, .nav__list .current_page_item > a::after { transform: scaleX(1); }
	.nav__extra { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
	.nav__list a { padding-left: .42rem; padding-right: .42rem; font-size: .8125rem; }
	.nav__list a::after { left: .42rem; right: .42rem; }
}

/* 6 · Portada ---------------------------------------------------------------- */
.hero { padding: 3rem 0 3.5rem; background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); border-bottom: 1px solid #e3ecf8; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; }
.hero__text { max-width: 38rem; margin-top: 1.25rem; font-size: 1.125rem; color: #3d4a5e; }
.hero__media { position: relative; }
.carousel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: var(--blue-soft); box-shadow: 0 30px 60px -30px rgba(12, 31, 61, .35); }
.carousel__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.carousel__slide.is-active { opacity: 1; }
.carousel__dots { position: absolute; left: 50%; bottom: 1rem; display: flex; gap: .375rem; padding: .375rem .5rem; border-radius: 999px; background: rgba(12, 31, 61, .35); transform: translateX(-50%); }
.carousel__dot { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .2s, background-color .2s; }
.carousel__dot.is-active { width: 1.5rem; background: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3rem; border-top: 1px solid var(--line-strong); }
.stats__item { padding: 1.25rem 1.25rem 0 0; }
.stats__value { font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.stats__value small { font-family: var(--font); font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.stats__item--long .stats__value { font-size: clamp(1.15rem, .95rem + .7vw, 1.45rem); line-height: 1.2; }
.stats__label { margin-top: .375rem; font-size: .8125rem; color: var(--muted); }
@media (min-width: 900px) {
	.hero { padding: 4.5rem 0 4rem; }
	.hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; }
	.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.stats__item + .stats__item { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}

/* De un vistazo */
.glance { padding: 1.75rem; border-radius: var(--radius); background: var(--navy); color: #fff; }
.glance__title { margin-bottom: 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e2c27f; }
.glance__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.glance__row:first-child { border-top: 0; }
.glance dt { color: rgba(255, 255, 255, .62); }
.glance dd { font-weight: 600; }
.glance dd small { display: block; margin-top: .2rem; font-weight: 400; color: rgba(255, 255, 255, .62); }

/* Metodología */
.method { display: grid; gap: 2rem; margin-top: 4rem; align-items: center; }
.method__list { display: grid; gap: 1.5rem; grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); }
@media (min-width: 640px) { .method__list { grid-template-columns: repeat(var(--sm, 1), minmax(0, 1fr)); } }
.method__num { display: block; font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--blue); }
.method__list h3 { margin-top: .625rem; font-size: 1rem; }
.method__list p { margin-top: .375rem; font-size: .875rem; color: var(--muted); }
.method__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) { .method { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; } }

.audience { margin-top: 3.5rem; }
.audience__item { display: flex; flex-direction: column; gap: 1rem; font-weight: 500; color: var(--navy); }
.audience__icon { color: var(--gold); }

/* Semestres */
.semesters { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .semesters { grid-template-columns: 1fr 1fr; } }
.semesters__panel { padding: 1.5rem; border: 1px solid var(--sand-line); border-radius: var(--radius); background: var(--sand); }
.semesters__title { margin-bottom: 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4c5b72; }
.semesters__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-mod { display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .8rem; border-radius: 8px; background: var(--tag); color: #fff; font-size: .8125rem; font-weight: 600; transition: transform .15s, box-shadow .15s; }
a.chip-mod:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -8px var(--tag); }
.chip-mod__code { opacity: .85; }

/* Certificaciones y plataformas */
.certs { display: grid; gap: 1.25rem; margin-bottom: 1rem; }
@media (min-width: 900px) { .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cert { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cert__logo { max-height: 3rem; width: auto; object-fit: contain; object-position: left; }
.cert__title { font-size: 1.125rem; }
.cert__meta { margin-top: .25rem; font-size: .8125rem; font-weight: 600; color: var(--blue); }
.cert__text { margin-top: .625rem; font-size: .9rem; color: var(--muted); }
.cert--featured { border-color: var(--sand-line); background: var(--sand); }
@media (min-width: 900px) {
	.cert--featured { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 2rem; }
	.cert--featured .cert__logo { max-height: 7.5rem; }
}
.platform { display: flex; flex-direction: column; gap: 1rem; }
.platform__logo { height: 2rem; width: auto; object-fit: contain; object-position: left; }
.platform p { font-size: .875rem; color: var(--muted); }
.banner-img { width: 100%; height: 9rem; margin-top: 2.5rem; object-fit: cover; border-radius: var(--radius); }
.banner-img--tall { height: auto; aspect-ratio: 21 / 7; }

/* Rankings */
.ranks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.ranks li { padding: 1rem .75rem; border: 1px solid #d6e4f8; border-radius: var(--radius-sm); background: var(--sky); text-align: center; }
.ranks strong { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.1; color: var(--blue); }
.ranks span { display: block; margin-top: .25rem; font-size: .75rem; color: var(--muted); }

/* Sinergias */
.program-mini { display: grid; gap: 1rem; }
.program-mini__item { padding: 1.25rem; border: 1px solid #d6e4f8; border-radius: var(--radius); background: var(--sky); }
.program-mini__item p:not(.eyebrow) { font-size: .875rem; }
.split .btn { margin-top: 1.5rem; }

/* 7 · Componentes ------------------------------------------------------------ */
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card--sand { border-color: var(--sand-line); background: var(--sand); }
.card--sky { border-color: #d6e4f8; background: var(--sky); }
.card--col { display: flex; flex-direction: column; gap: .5rem; }
.card__title { font-size: 1.1875rem; }
.card__title--sm { font-size: 1rem; }
.card__meta { margin-top: .375rem; font-size: .8125rem; color: var(--muted); }
.card__grow { flex: 1; }
.card .bullets, .card .prose-sm { margin-top: 1rem; }
.card > .btn-row { margin-top: .75rem; }

.bullets { display: grid; gap: .5rem; }
.bullets li { position: relative; padding-left: 1.125rem; font-size: .9375rem; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold); }
.bullets--light li { color: rgba(255, 255, 255, .9); }

.datelist > div { display: grid; grid-template-columns: 6rem 1fr; gap: .75rem; padding: .625rem 0; border-top: 1px solid var(--sand-line); font-size: .9rem; }
.datelist > div:first-child { border-top: 0; padding-top: 0; }
.datelist dt { color: var(--muted); }
.datelist dd { font-weight: 600; color: var(--navy); }
.deflist { margin-top: 1rem; }
.deflist > div { display: grid; gap: .25rem; padding: .75rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.deflist dt { font-weight: 700; color: var(--navy); }
.deflist dd { color: var(--muted); }
@media (min-width: 640px) { .deflist > div { grid-template-columns: 9rem 1fr; gap: 1rem; } }

.dates { display: grid; gap: 1rem; }
@media (min-width: 720px) { .dates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dates__item { padding: .25rem 0 .25rem 1rem; border-left: 3px solid var(--gold); }
.dates__label { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dates__value { margin-top: .25rem; font-size: 1.0625rem; font-weight: 700; color: var(--navy); }

/* Pasos */
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); counter-reset: steps; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(var(--sm, 1), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(var(--lg, 4), minmax(0, 1fr)); } }
.steps__item { position: relative; }
.steps__num { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }
@media (min-width: 1100px) { .steps__item:not(:last-child)::after { content: ""; position: absolute; top: 1.125rem; left: 3rem; right: -.75rem; height: 1px; background: var(--blue-soft); } }
.steps__title { margin-top: 1rem; font-size: 1rem; }
.steps__text { margin-top: .375rem; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.steps__item .btn--link { margin-top: .625rem; }

/* Becas */
.beca { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.beca__pct { position: absolute; right: 1.25rem; top: .75rem; font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; line-height: 1; color: var(--sky); pointer-events: none; }
.beca__title { position: relative; font-size: 1.1875rem; }
.beca__meta { position: relative; font-size: .8125rem; color: var(--muted); }
.beca__meta strong { color: var(--blue); }
.beca__price { display: flex; align-items: baseline; gap: .625rem; margin-top: .5rem; }
.beca__price strong { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--blue); }
.beca__price s { font-size: .875rem; color: var(--muted); }
.beca__text { font-size: .875rem; color: var(--muted); }
.beca__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .75rem; }
.beca__logo { max-height: 2rem; max-width: 9rem; width: auto; object-fit: contain; }

/* Logos del ecosistema */
.eco__group + .eco__group { margin-top: 2rem; }
.logos { display: grid; gap: .75rem; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(var(--sm, 3), minmax(0, 1fr)); } }
@media (min-width: 900px) { .logos { grid-template-columns: repeat(var(--md, 4), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .logos { grid-template-columns: repeat(var(--lg, 5), minmax(0, 1fr)); } }
.logos__item { display: flex; align-items: center; justify-content: center; height: 5.25rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.logos__item a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logos__item img { max-height: 2.75rem; max-width: 100%; width: auto; object-fit: contain; }
.logos__name { font-weight: 600; color: var(--navy); text-align: center; }

/* Comparativa */
.compare { margin-top: 3rem; }
.compare__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare__table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .875rem; }
.compare__table th, .compare__table td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare__table tbody th { font-weight: 600; text-align: left; color: var(--navy); }
.compare__table thead th { padding-top: 1rem; padding-bottom: 1rem; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4c5b72; vertical-align: bottom; }
.compare__table thead .compare__mod { text-align: left; }
.compare__table thead th.is-main { background: var(--navy); color: #fff; border-radius: 10px 10px 0 0; }
.compare__table td.is-main { background: #f2f7fe; }
.compare__sec th { padding-top: 1.1rem; font-size: .6875rem !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; color: #4c5b72 !important; background: var(--sky-2); }
.compare__num { color: var(--muted); }
.compare__price td { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.compare__price td.is-main { color: var(--blue); }
.compare__table tr:last-child th, .compare__table tr:last-child td { border-bottom: 0; }
.compare__table td { vertical-align: middle; }
.tick { display: inline-flex; align-items: center; justify-content: center; height: 1.25rem; vertical-align: middle; color: var(--ok); }
.tick--no { width: 1.25rem; }
.tick .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.5; }
.tick--no::before { content: ""; display: block; width: .75rem; height: 1px; background: #c5cfdc; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 0; list-style: none; font-weight: 600; color: var(--navy); cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { color: var(--blue); transition: transform .2s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 2.5rem 1.25rem 0; font-size: .9375rem; color: var(--muted); }

/* Bloque final de contacto */
.cta { padding: 4.5rem 0; background: linear-gradient(135deg, var(--sky) 0%, #dfeafb 100%); border-top: 1px solid #d6e4f8; }
.cta__title { font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); letter-spacing: -.025em; }
.cta__text { max-width: 40rem; margin-top: .75rem; color: #3d4a5e; }
.cta__grid { display: grid; gap: 1rem; margin: 2rem 0; padding: 1.5rem 0; border-top: 1px solid #c9daf3; border-bottom: 1px solid #c9daf3; }
@media (min-width: 720px) { .cta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cta__grid dt { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cta__grid dd { margin-top: .25rem; font-size: 1.1875rem; font-weight: 700; color: var(--navy); }
.cta__grid a:hover { color: var(--blue); }
.cta .eyebrow { color: var(--gold); }

/* Cabecera de páginas interiores */
.page-hero { padding: 3.5rem 0 3rem; background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); border-bottom: 1px solid #e3ecf8; }
.page-hero__title { max-width: 52rem; font-family: var(--font-display); font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; }
.page-hero__text { max-width: 44rem; margin-top: 1rem; font-size: 1.125rem; color: #3d4a5e; }
.page-hero .status { margin-top: 1.25rem; }
.page-hero--simple { padding: 3rem 0 2.5rem; }
@media (min-width: 900px) { .page-hero { padding: 4.5rem 0 3.75rem; } }

/* 8 · Plan de estudio -------------------------------------------------------- */
.modules { display: grid; gap: 1.5rem; }
.module { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); scroll-margin-top: 7rem; }
.module__head { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.25rem; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--mod) 9%, #fff) 0%, #fff 70%); }
.module__code { min-width: 2.75rem; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--mod); }
.module__title { font-size: 1.3125rem; }
.module__meta { margin-top: .25rem; font-size: .8125rem; color: var(--muted); }
.module__meta strong { color: var(--navy); }
.module__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .5rem; }
@media (min-width: 900px) {
	.module__head { grid-template-columns: auto 1fr auto; }
	.module__tags { grid-column: auto; flex-direction: column; align-items: flex-end; margin-top: 0; }
}
.module__body { display: grid; }
.module__main { padding: 1.5rem; }
.module__topics { counter-reset: topic; }
@media (min-width: 720px) { .module__topics { columns: 2; column-gap: 2rem; } }
.module__topics li { position: relative; margin-bottom: .55rem; padding-left: 2rem; break-inside: avoid; font-size: .9rem; line-height: 1.45; counter-increment: topic; }
.module__topics li::before { content: counter(topic, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-size: .75rem; font-weight: 700; color: var(--mod); }
.module__pill { margin-top: 1rem; padding: .625rem .875rem; border-radius: 8px; background: var(--sand); font-size: .8125rem; color: #5b4a2b; }
.module__pill + .module__pill { margin-top: .5rem; }
.module__staff { padding: 1.25rem 1.5rem; border-top: 1px solid var(--line); background: var(--sky-2); }
.module__staff-title { margin-bottom: .625rem; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #4c5b72; }
.module__staff li { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem 0; border-top: 1px solid var(--line); font-size: .875rem; color: var(--navy); }
.module__staff li:first-child { border-top: 0; }
.module__coord { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mod); }
@media (min-width: 900px) {
	.module__body { grid-template-columns: minmax(0, 1fr) 15rem; }
	.module__staff { border-top: 0; border-left: 1px solid var(--line); }
}

/* 9 · Profesores ------------------------------------------------------------- */
.direction__card { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .875rem; }
.direction__card h3 { color: #fff; font-size: 1.1875rem; }
.direction__photo { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; }
.direction__link { margin-top: auto; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.filter { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: 1.5rem; }
.filter__btn { padding: .375rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .8125rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.filter__btn[style] { border-color: color-mix(in srgb, var(--tag) 40%, #fff); color: var(--tag); }
.filter__btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter__btn[style].is-active { background: var(--tag); border-color: var(--tag); color: #fff; }
.people { display: grid; gap: 0 2rem; grid-template-columns: repeat(var(--c, 1), minmax(0, 1fr)); }
@media (min-width: 640px) { .people { grid-template-columns: repeat(var(--sm, 2), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .people { grid-template-columns: repeat(var(--lg, 3), minmax(0, 1fr)); } }
.person { padding: 1rem 0 1.125rem; border-top: 1px solid var(--line); }
.person[hidden] { display: none; }
.person__name { font-size: 1rem; }
.person__role { margin-top: .25rem; font-size: .8125rem; color: var(--muted); }
.person__tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .5rem; }

/* Prácticas y empresas */
.pillars { margin-top: 2.5rem; }
.pillar { padding: 1.5rem; border-radius: var(--radius); color: rgba(255, 255, 255, .88); font-size: .9375rem; }
.pillar .eyebrow { color: #e2c27f; }
.pillar--0 { background: var(--navy); }
.pillar--1 { background: var(--blue); }
.pillar--1 .eyebrow { color: #fff; }
.pillar--2 { background: #142d55; }
.alumni__map { width: 100%; max-width: 32rem; margin-top: 2rem; }
.alumni__app { width: 100%; max-width: 22rem; justify-self: center; border-radius: 20px; box-shadow: var(--shadow); }

/* 10 · Inscripciones --------------------------------------------------------- */
.price { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.price__main { padding: 2rem; background: var(--navy); color: #fff; }
.price__total { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.price__sub { margin: .5rem 0 1.5rem; font-size: .875rem; color: rgba(255, 255, 255, .62); }
.price__rows { padding: 1rem 2rem; background: #fff; }
.price__rows > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; border-top: 1px dashed var(--line-strong); }
.price__rows > div:first-child { border-top: 0; }
.price__rows dt { font-weight: 700; color: var(--navy); }
.price__rows dt small { display: block; margin-top: .25rem; font-size: .8125rem; font-weight: 400; color: var(--muted); }
.price__rows dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.price__rows dd.is-blue { color: var(--blue); }
@media (min-width: 900px) { .price { grid-template-columns: 1.1fr 1fr; } .price__main { padding: 2.5rem; } .price__rows { padding: 1.5rem 2.5rem; } }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: .75rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.table thead th { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4c5b72; border-bottom: 2px solid var(--navy); }
.table tbody th { font-weight: 700; color: var(--navy); }
.table .ta-r { text-align: right; }
.docs { margin-top: 2.5rem; }
.docs .btn { margin-top: 1.25rem; }
.info-box { margin-top: 1.5rem; }
.program { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.program__title { font-size: 1.25rem; }
.program__price { margin-top: 1rem; font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--blue); }
.program__sub { margin-top: .25rem; font-size: .8125rem; color: var(--muted); }
.program__count { margin-top: 1.5rem; padding-bottom: .5rem; border-bottom: 2px solid var(--navy); font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4c5b72; }
.program__mods li { display: flex; align-items: center; gap: .625rem; padding: .625rem 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.program__mods li span:last-child { margin-left: auto; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.dot { width: .625rem; height: .625rem; flex: none; border-radius: 50%; background: var(--tag); }
.program__for { margin-top: 1rem; font-size: .875rem; }
.program__note { margin-top: .5rem; padding: .5rem .75rem; border-radius: 8px; background: var(--sand); font-size: .8125rem; }

/* Investigación */
.tfm-ways .method__num { font-size: 1.5rem; margin-bottom: .75rem; }
.papers { display: grid; gap: .75rem; }
.paper { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (min-width: 720px) { .paper { flex-direction: row; align-items: center; justify-content: space-between; } }
.paper__title { font-size: 1.0625rem; line-height: 1.35; }
.paper__authors { margin-top: .375rem; font-size: .875rem; color: var(--muted); }
.paper__venue { margin-top: .25rem; font-size: .8125rem; font-weight: 600; color: var(--blue); }
.paper__venue a:hover { text-decoration: underline; }

/* Contacto */
.contact-list { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { margin-top: .25rem; color: var(--blue); }
.contact-list .label { margin: 0 0 .125rem; }
.contact-list a { font-weight: 600; color: var(--navy); }
.contact-list a:hover { color: var(--blue); }
.form-card { padding: 1.75rem; }
.form-card .form { margin-top: 1.25rem; padding: 0; border: 0; }

/* 11 · Noticias -------------------------------------------------------------- */
.news-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.news-card:hover { border-color: #c4d8f5; box-shadow: var(--shadow); }
.news-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__body { display: block; padding: 1.25rem; }
.news-card__date { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.news-card__title { display: block; margin-top: .5rem; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: var(--navy); }
.news-card:hover .news-card__title { color: var(--blue); }
.results-count { margin-bottom: 1.5rem; }
.pagination { margin-top: 3rem; }
.pagination ul, .pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pagination a, .pagination span { display: inline-flex; min-width: 2.5rem; justify-content: center; padding: .5rem .875rem; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; background: #fff; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.article-hero { padding: 3rem 0 4rem; background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); border-bottom: 1px solid #e3ecf8; }
.article-hero__back { font-size: .875rem; font-weight: 600; color: var(--blue); }
.article-hero__back:hover { text-decoration: underline; }
.article-hero__date { margin-top: 1.5rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article-hero h1 { margin-top: .75rem; font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); letter-spacing: -.025em; }
.article-cover { margin-top: -2.5rem; position: relative; }
.article-cover img { width: 100%; max-height: 34rem; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 40px -24px rgba(12, 31, 61, .35); }
.article-body { padding-top: 3rem; padding-bottom: 4.5rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share__label { margin-right: .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.share__link { padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--navy); transition: border-color .2s, color .2s; }
.share__link:hover, .share__link:focus-visible { border-color: var(--blue); color: var(--blue); }

/* 12 · Formularios ----------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: block; font-size: .875rem; }
.form__field span { display: block; margin-bottom: .375rem; font-weight: 600; color: var(--navy); }
.form input[type="text"], .form input:not([type]), .form input[type="email"], .form textarea { width: 100%; padding: .75rem .875rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 98, 208, .15); }
.form__check { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--muted); }
.form__check input { margin-top: .25rem; }
.form__check a { color: var(--blue); text-decoration: underline; }
.form .btn { justify-self: start; }
.form__msg { padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .875rem; }
.form__msg a { text-decoration: underline; }
.form__msg--ok { background: #e7f6ee; color: #0a6b3d; }
.form__msg--error { background: #fdecec; color: #b3261e; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 13 · Pie, WhatsApp, cookies, idioma --------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: .9rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; } }
.footer__logo { width: 170px; height: auto; margin-bottom: 1.25rem; }
.footer__title { font-size: 1rem; font-weight: 700; color: #fff; }
.footer__text { margin-top: .75rem; max-width: 30rem; }
.footer__h { margin-bottom: 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e2c27f; }
.footer__list { display: grid; gap: .5rem; }
.footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__list .icon { display: inline; margin-left: .25rem; vertical-align: -1px; }
.footer__social { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; }
.footer__social a { text-decoration: underline; text-underline-offset: 3px; }
.footer__social a:hover { color: #fff; }
.footer__bottom { padding-bottom: 4.5rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.25rem; font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer__legal a, .linklike { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover, .linklike:hover { color: #fff; }
.linklike { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }

.whatsapp { position: fixed; right: 1rem; bottom: 4.5rem; z-index: 50; display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-radius: 999px; background: #25d366; color: #fff; font-size: .875rem; font-weight: 600; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7); transition: background-color .2s, bottom .2s; }
.whatsapp:hover { background: #1ebe57; }
.whatsapp__icon { width: 1.25rem; height: 1.25rem; }
.whatsapp__label { display: none; }
@media (min-width: 640px) { .whatsapp__label { display: inline; } }

.cookie-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; max-width: 60rem; margin: 0 auto; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px -20px rgba(12, 31, 61, .45); font-size: .875rem; line-height: 1.5; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { flex: 1 1 22rem; margin: 0; }
.cookie-bar a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; gap: .5rem; }
body.has-cookie-bar .whatsapp { bottom: 11.5rem; }
@media (min-width: 900px) { body.has-cookie-bar .whatsapp { bottom: 9.5rem; } }

.lang { display: inline-flex; gap: .125rem; padding: .125rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang__btn { min-width: 2rem; padding: .3rem .45rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; }
.lang__btn:hover, .lang__btn:focus-visible { color: var(--navy); }
.lang__btn.is-active { background: var(--navy); color: #fff; }
.lang--plugin select { font-size: .8rem; }
@media (max-width: 1099px) { .site-header__tools .lang { display: none; } }
body { top: 0 !important; }
.skiptranslate iframe, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* 14 · Texto editable (noticias y páginas con el editor de bloques) --------- */
.prose { line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.prose h2, .prose h3, .prose h4 { margin: 2rem 0 .75rem; line-height: 1.25; }
.prose h2 { font-size: 1.625rem; }
.prose h3 { font-size: 1.3125rem; }
.prose p { margin: 0 0 1.1rem; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.1rem; list-style: revert; }
.prose li { margin-bottom: .35rem; }
.prose figure { margin: 1.5rem 0; }
.prose img { max-width: 100%; height: auto; margin: 1.5rem 0; border-radius: var(--radius-sm); }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: .5rem; font-size: .875rem; color: var(--muted); }
.prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 3px solid var(--gold); color: var(--navy); font-size: 1.125rem; }
.prose hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem; }
.prose th, .prose td { padding: .5rem .75rem; border: 1px solid var(--line); text-align: left; }
.prose iframe, .prose video { max-width: 100%; }
.prose .wp-block-media-text { display: grid; gap: 1.25rem; margin: 1.5rem 0; align-items: center; }
@media (min-width: 720px) { .prose .wp-block-media-text { grid-template-columns: 1fr 1fr; } }
.prose .wp-block-gallery { display: flex; flex-wrap: wrap; gap: .75rem; }
.prose .wp-block-gallery figure { flex: 1 1 240px; margin: 0; }
.prose .wp-block-image img, .prose .wp-block-media-text img { width: 100%; height: auto; }
.prose .alignwide, .prose .alignfull { max-width: 100%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .wp-block-button__link { display: inline-block; padding: .7rem 1.25rem; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; }

/* 15 · Movimiento ------------------------------------------------------------ */
.js .fade { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--delay, 0s); }
.js .fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .fade { opacity: 1; transform: none; transition: none; }
	.carousel__slide { transition: none; }
	.news-card:hover .news-card__media img, a.chip-mod:hover { transform: none; }
}
@media print {
	.site-header, .whatsapp, .cookie-bar, .cta, .site-footer { display: none !important; }
	.js .fade { opacity: 1; transform: none; }
}

/* Ajustes finos */
.card .small:last-child, .section .muted.small { margin-top: 1rem; }
.table-wrap + .muted.small { margin-top: .75rem; }
.grid + .muted.small { margin-top: .875rem; }
.card .bullets + .small { margin-top: 1rem; }

/* 16 · Asistente de preguntas frecuentes ------------------------------------ */
.assist { position: fixed; right: 1rem; bottom: 1rem; z-index: 55; display: flex; flex-direction: column; align-items: flex-end; }
.assist__toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-size: .875rem; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(12, 31, 61, .6); cursor: pointer; transition: background-color .2s, bottom .2s; }
.assist__toggle:hover { background: var(--blue); }
.assist.is-open .assist__toggle { display: none; }
.assist__panel { display: flex; flex-direction: column; width: min(24rem, calc(100vw - 2rem)); height: min(34rem, calc(100vh - 6rem)); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -20px rgba(12, 31, 61, .45); }
.assist__panel[hidden] { display: none; }
.assist__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .875rem 1rem; background: var(--navy); color: #fff; }
.assist__title { font-size: .9375rem; font-weight: 700; }
.assist__close { display: inline-flex; padding: .25rem; border: 0; background: transparent; color: #fff; cursor: pointer; }
.assist__body { flex: 1; overflow-y: auto; padding: 1rem; background: var(--sky-2); }
.assist__msg { max-width: 88%; margin-bottom: .625rem; padding: .625rem .875rem; border-radius: 14px; font-size: .875rem; line-height: 1.5; white-space: pre-line; }
.assist__msg--bot { border: 1px solid var(--line); border-bottom-left-radius: 4px; background: #fff; color: var(--ink); }
.assist__msg--me { margin-left: auto; border-bottom-right-radius: 4px; background: var(--blue); color: #fff; }
.assist__opts { display: grid; gap: .375rem; margin: .25rem 0 .75rem; }
.assist__opt { padding: .5rem .75rem; border: 1px solid #c9daf3; border-radius: 10px; background: #fff; color: var(--blue); font-size: .8125rem; font-weight: 600; text-align: left; cursor: pointer; }
.assist__opt:hover { border-color: var(--blue); background: var(--sky); }
.assist__foot { padding: .75rem 1rem; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.assist__links { display: flex; flex-wrap: wrap; gap: .25rem .875rem; margin-top: .25rem; }
.assist__links a { font-weight: 600; color: var(--blue); }
body.has-cookie-bar .assist { bottom: 8rem; }
@media (min-width: 900px) { body.has-cookie-bar .assist { bottom: 6rem; } }
@media print { .assist { display: none !important; } }

/* Noticias compartidas y Emprendimiento */
.sister-news { margin-top: 3rem; }
.news-card--sister .news-card__date { color: var(--blue); }
.pillars-stack { display: grid; gap: 1rem; }

.origin-note { margin: 0 0 1.5rem; padding: .75rem 1rem; border-left: 3px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--sky); font-size: .9375rem; color: var(--navy); }
.origin-note a { font-weight: 600; color: var(--blue); }

.prose p.is-lead { font-size: 1.1875rem; font-weight: 600; line-height: 1.6; color: var(--navy); }
.prose .wp-block-buttons { margin: 1.75rem 0; }
.prose cite { display: block; margin-top: .5rem; font-size: .875rem; font-style: normal; color: var(--muted); }

.startup__logo { display: flex; align-items: center; justify-content: center; height: 5.5rem; margin-bottom: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.startup__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.paper__type { margin-bottom: .375rem; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.paper__type--tfm { color: var(--gold); }

@media (max-width: 719px) {
	.startup__logo { height: 4.25rem; max-width: 11rem; padding: .5rem; }
}
