/* =====================================================================
   SUTM – SUTME · Sindicato Único de Trabajadores de la Música
   Hoja de estilos principal
   ===================================================================== */
:root {
  --navy: #0b1430;
  --navy-2: #121d3f;
  --blue: #1a55b3;
  --blue-2: #2f7df6;
  --sky: #5ac8ff;
  --gold: #ffbb44;
  --gold-2: #ffd27a;
  --paper: #f4f7fb;
  --white: #ffffff;
  --ink: #0d1427;
  --muted: #5b6579;
  --line: rgba(13, 20, 39, 0.1);
  --shadow: 0 20px 50px -20px rgba(11, 20, 48, 0.35);
  --radius: 18px;
  --font-head: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.container--narrow { width: min(860px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--gold); border-radius: 3px; }
.on-dark .eyebrow { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: rgba(255,255,255,0.78); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 14px 30px -12px rgba(255, 187, 68, 0.8); }
.btn--primary:hover { background: var(--gold-2); color: var(--navy); }
.btn--blue { background: var(--blue-2); color: #fff; box-shadow: 0 14px 30px -12px rgba(47, 125, 246, 0.8); }
.btn--blue:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,0.55); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 0.78rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s, backdrop-filter .4s;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__logo img { height: 52px; width: auto; transition: height .4s; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links > li { position: relative; }
.nav__links a, .nav__links button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: none; border: 0; cursor: pointer; transition: background .3s, color .3s;
}
.nav__links a:hover, .nav__links button:hover, .nav__links a.is-active { background: rgba(255,255,255,0.12); color: #fff; }
.nav__links .has-sub > button svg { width: 12px; height: 12px; transition: transform .3s; }
.nav__links .has-sub:hover > button svg, .nav__links .has-sub.is-open > button svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: 10px; margin: 0; list-style: none;
  background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(11,20,48,.45);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.nav__sub a { display: block; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 0.92rem; padding: 10px 14px; }
.nav__sub a:hover { background: var(--paper); color: var(--blue); }
.has-sub:hover .nav__sub, .has-sub.is-open .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__cta { margin-left: 8px; }
.nav__cta .btn { white-space: nowrap; }
.nav--solid, .nav--always-solid { background: rgba(11, 20, 48, 0.92); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); height: 70px; }
.nav--solid .nav__logo img, .nav--always-solid .nav__logo img { height: 40px; }
.nav__burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255,255,255,0.12); color: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; padding: 110px 28px 40px; flex-direction: column; align-items: stretch; gap: 6px;
    background: linear-gradient(160deg, var(--navy), var(--blue)); overflow-y: auto;
    transform: translateX(100%); transition: transform .45s var(--ease); z-index: -1;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a, .nav__links button { font-size: 1.05rem; padding: 14px 16px; width: 100%; justify-content: space-between; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.08); box-shadow: none; margin: 4px 0 8px; display: none; }
  .has-sub.is-open .nav__sub { display: block; }
  .nav__sub a { color: #fff; }
  .nav__sub a:hover { background: rgba(255,255,255,0.12); color: #fff; }
  .nav__cta { margin: 14px 0 0; }
}

/* ---------- Hero principal ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  background: var(--navy); color: #fff; isolation: isolate;
}
.hero__layer { position: absolute; inset: -12% -6%; background-size: cover; background-position: center; will-change: transform; }
.hero__layer--base { z-index: 0; }
.hero__layer--mid { z-index: 1; mix-blend-mode: screen; opacity: 0.55; }
.hero__veil { position: absolute; inset: 0; z-index: 2; background:
  radial-gradient(70% 60% at 50% 40%, rgba(26,85,179,0.25), transparent 70%),
  linear-gradient(180deg, rgba(11,20,48,0.35) 0%, rgba(11,20,48,0.1) 45%, rgba(11,20,48,0.95) 100%); }
.hero__notes { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hero__notes span {
  position: absolute; font-family: var(--font-head); font-weight: 800; color: rgba(255,255,255,0.14); user-select: none;
  animation: floatNote 14s ease-in-out infinite;
}
@keyframes floatNote { 0%,100% { transform: translateY(0) rotate(-8deg);} 50% { transform: translateY(-40px) rotate(6deg);} }
.hero__content { position: relative; z-index: 4; text-align: center; padding: 140px 20px 120px; max-width: 980px; }
@media (max-width: 600px) { .hero__content { padding: 110px 16px 100px; } .hero__actions .btn { width: 100%; } .btn { padding: 14px 22px; } }
.hero__lyre { width: clamp(170px, 22vw, 280px); height: auto; margin: 0 auto 28px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); will-change: transform; }
.hero__kicker { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold); margin-bottom: 18px; }
.hero h1 { text-shadow: 0 10px 40px rgba(0,0,0,.5); }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: rgba(255,255,255,0.85); max-width: 46ch; margin: 0 auto 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.7rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(to bottom, #fff, transparent); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top;} 50% { transform: scaleY(1); transform-origin: top;} 51% { transform-origin: bottom;} 100% { transform: scaleY(0); transform-origin: bottom;} }
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 5; }
.hero__wave svg { display: block; width: 100%; height: 90px; }

/* ---------- Hero de páginas interiores ---------- */
.page-hero {
  position: relative; min-height: 62vh; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate;
}
.page-hero--short { min-height: 46vh; }
.page-hero__bg { position: absolute; inset: -15% 0 0; background-size: cover; background-position: center; z-index: 0; will-change: transform; }
.page-hero__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,20,48,0.5), rgba(11,20,48,0.85) 90%); }
.page-hero .container { position: relative; z-index: 2; padding: 150px 0 60px; }
.page-hero h1 { margin-bottom: 10px; }
.crumbs { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.crumbs a { color: var(--sky); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

/* ---------- Secciones ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(50px, 6vw, 80px) 0; }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--blue { background: linear-gradient(135deg, var(--blue) 0%, #0f2f6e 100%); color: #fff; }
.section--white { background: #fff; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.split { display: grid; gap: clamp(30px, 5vw, 70px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.split--reverse > :first-child { order: 2; }
@media (max-width: 700px) { .split--reverse > :first-child { order: 0; } }

/* Parallax de fondo (sección con imagen fija que se desplaza más lento) */
.parallax { position: relative; overflow: hidden; isolation: isolate; }
.parallax__bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; z-index: -2; will-change: transform; }
.parallax__veil { position: absolute; inset: 0; z-index: -1; }

/* Reveal al hacer scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__notes span, .hero__scroll i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Tarjetas / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(11,20,48,0.45); }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card--dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(10px); }
.card--dark p { color: rgba(255,255,255,0.72); }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.stat b i { font-style: normal; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 0.85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.72); }

/* ---------- Revista (portada 3D) ---------- */
.mag-stage { perspective: 1400px; display: grid; place-items: center; padding: 20px; }
.mag {
  position: relative; width: min(360px, 78vw); aspect-ratio: 612 / 792; border-radius: 6px 14px 14px 6px; overflow: hidden;
  box-shadow: 0 50px 80px -30px rgba(0,0,0,.7), inset 8px 0 18px -10px rgba(0,0,0,.6);
  transform-style: preserve-3d; transform: rotateY(-18deg) rotateX(4deg); transition: transform .6s var(--ease);
}
.mag img { width: 100%; height: 100%; object-fit: cover; }
.mag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0.25), transparent 35%, transparent 70%, rgba(255,255,255,0.12)); pointer-events: none; }
.mag-stage:hover .mag { transform: rotateY(-6deg) rotateX(2deg) scale(1.03); }
.mag__badge {
  position: absolute; top: -18px; right: -18px; z-index: 2; width: 92px; height: 92px; border-radius: 50%;
  background: var(--gold); color: var(--navy); display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 0.72rem; line-height: 1.1; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 16px 30px -10px rgba(0,0,0,.5); animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.07);} }
.mag-wrap { position: relative; display: inline-block; }

/* Índice de artículos */
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toc li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); transition: background .3s, transform .3s; }
.toc li:hover { background: rgba(255,255,255,0.1); transform: translateX(6px); }
.toc b { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.toc strong { display: block; font-weight: 700; color: #fff; }
.toc small { color: rgba(255,255,255,0.65); }
.toc a { color: inherit; display: contents; }

/* Artículos destacados (revista) */
.feature { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.feature:hover img { transform: scale(1.06); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,20,48,0.95) 20%, rgba(11,20,48,0.1)); }
.feature__body { padding: 28px; }
.feature__body h3 { color: #fff; }
.feature__body p { color: rgba(255,255,255,0.78); margin: 0; }
.feature__tag { display: inline-block; font-size: 0.68rem; letter-spacing: .2em; text-transform: uppercase; background: var(--gold); color: var(--navy); font-weight: 800; padding: 5px 10px; border-radius: 6px; margin-bottom: 12px; }

/* ---------- Gacetas ---------- */
.issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 28px; }
.issue { text-align: center; }
.issue__cover { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 25px 40px -20px rgba(11,20,48,0.5); aspect-ratio: 612/792; background: #dfe6f0; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.issue__cover img { width: 100%; height: 100%; object-fit: cover; }
.issue__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,20,48,0.7), transparent 50%); opacity: 0; transition: opacity .4s; }
.issue__cover .btn { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 10px); opacity: 0; transition: all .4s var(--ease); white-space: nowrap; }
.issue:hover .issue__cover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 40px 60px -24px rgba(11,20,48,0.6); }
.issue:hover .issue__cover::after { opacity: 1; }
.issue:hover .issue__cover .btn { opacity: 1; transform: translate(-50%, 0); }
.issue h3 { font-size: 1rem; margin: 14px 0 2px; }
.issue small { color: var(--muted); }

/* ---------- Personas (comité, comisiones) ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 26px; }
.person { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.person:hover { transform: translateY(-6px); }
.person__photo { aspect-ratio: 4/4.5; background: linear-gradient(180deg, #e9eef6, #cfd9e8); overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__body { padding: 20px 22px 22px; }
.person__body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.person__role { color: var(--blue); font-weight: 600; font-size: 0.88rem; }
.person__inst { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.person__inst svg { width: 14px; height: 14px; }
.person details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 0.9rem; color: var(--muted); }
.person summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; font-size: 1.3rem; color: var(--blue); transition: transform .3s; }
.person details[open] summary::after { transform: rotate(45deg); }
.person details p { margin: 8px 0 0; }
.person details b { color: var(--ink); }
.person--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(min(240px, 100%), 360px) 1fr; }
.person--lead .person__photo { aspect-ratio: auto; min-height: 360px; }
.person--lead .person__body { padding: 36px; }
.person--lead h3 { font-size: 1.6rem; }
@media (max-width: 720px) { .person--lead { grid-template-columns: 1fr; } .person--lead .person__photo { aspect-ratio: 1; min-height: 0; } }
.group { margin-top: 64px; }
.group:first-of-type { margin-top: 0; }
.group-title { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 30px; text-align: center; }
.group-title h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; }
.group-title::before, .group-title::after { content: ""; flex: 1; max-width: 220px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); border-radius: 2px; }
.group-title::after { background: linear-gradient(90deg, var(--gold), transparent); }
/* Grupos pequeños centrados; grupos grandes ocupan todo el ancho */
.people { justify-content: center; }
.people--n1 { grid-template-columns: minmax(0, 340px); }
.people--n2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
.people--n3 { grid-template-columns: repeat(3, minmax(0, 340px)); }
@media (max-width: 760px) { .people--n2, .people--n3 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); } }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 24px; }
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #000; cursor: pointer; box-shadow: var(--shadow); border: 0; padding: 0; text-align: left; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.video:hover img { transform: scale(1.06); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video__play i { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; color: var(--blue); box-shadow: 0 20px 40px -14px rgba(0,0,0,.6); transition: transform .4s var(--ease), background .3s; }
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video:hover .video__play i { transform: scale(1.12); background: var(--gold); color: var(--navy); }
.video__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); }
.carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .video { flex: 0 0 min(380px, 84vw); scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.carousel-nav button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.carousel-nav svg { width: 18px; height: 18px; }

/* Modal de video */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(5, 9, 24, 0.9); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: all .35s; padding: 20px; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__frame { width: min(1100px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 50px 100px -30px #000; transform: scale(.94); transition: transform .4s var(--ease); }
.modal.is-open .modal__frame { transform: scale(1); }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.6rem; cursor: pointer; }
.modal__close:hover { background: var(--gold); color: var(--navy); }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.field label i { color: #e0453a; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #d6deea; background: #fff; font: inherit; color: var(--ink); transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47,125,246,0.15); }
.field textarea { min-height: 150px; resize: vertical; }
.form__note { font-size: 0.85rem; color: var(--muted); }
.form-card { background: #fff; border-radius: 24px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--gold); display: block; margin-bottom: 8px; line-height: 1; }
.step h3 { font-size: 1.05rem; color: #fff; }
.step p { color: rgba(255,255,255,0.72); margin: 0; font-size: 0.95rem; }

/* ---------- Contacto ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list i { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; display: grid; place-items: center; }
.contact-list svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-family: var(--font-head); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a { color: var(--ink); font-weight: 600; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,0.1); color: #fff; transition: background .3s, transform .3s, color .3s; }
.socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.socials--light a { background: var(--paper); color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Banda de llamada a la acción ---------- */
.cta-band { color: #fff; text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .hero__actions { margin-top: 28px; }

/* ---------- Lista de convocatorias ---------- */
.doc-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.doc { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.doc:hover { transform: translateY(-4px); }
.doc__thumb { aspect-ratio: 612/1008; border-radius: 8px; overflow: hidden; background: #e8eef7; box-shadow: 0 10px 20px -10px rgba(11,20,48,.5); }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc h3 { font-size: 1.02rem; margin-bottom: 4px; }
.doc small { color: var(--muted); display: block; margin-bottom: 10px; }
.doc__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #070d20; color: rgba(255,255,255,0.75); padding: 70px 0 30px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(26,85,179,0.35), transparent 65%); pointer-events: none; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; position: relative; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { height: 54px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: var(--gold); }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Botón volver arriba ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy); cursor: pointer; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(20px); transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(255,255,255,0.12); padding: 16px 0; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; padding-right: 48px; }
.marquee__track span::before { content: "♪"; color: var(--gold); margin-right: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Texto enriquecido ---------- */
.prose p { color: #3a4356; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 20px; color: #3a4356; }
.quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.35; border-left: 5px solid var(--gold); padding-left: 24px; margin: 30px 0; color: var(--navy); }
.on-dark .quote, .section--dark .quote, .section--blue .quote { color: #fff; }

/* ---------- Tabs de valores (nosotros) ---------- */
.values { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.value { padding: 30px; border-radius: var(--radius); background: #fff; border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.value h3 { color: var(--blue); }
.value p { color: var(--muted); margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 24px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(to bottom, var(--gold), var(--blue-2)); }
.timeline li { list-style: none; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(255,187,68,0.2); }
.timeline b { font-family: var(--font-head); color: var(--sky); display: block; font-size: 0.85rem; letter-spacing: .1em; }

/* ---------- Mensaje de gracias ---------- */
.thanks { min-height: 100svh; display: grid; place-items: center; text-align: center; background: linear-gradient(160deg, var(--navy), var(--blue)); color: #fff; padding: 40px 20px; }
.thanks svg { width: 90px; height: 90px; color: var(--gold); margin-bottom: 20px; }

/* ---------- Integrantes sin foto confirmada ---------- */
.person--pending .person__photo img { object-fit: cover; }
.person__inst--pending { color: var(--gold); font-weight: 700; }

/* ---------- Foto grupal a todo lo ancho ---------- */
.group-photo { background: linear-gradient(180deg, #fff 0%, #fff 70%, var(--paper) 100%); padding: 36px 0 60px; overflow: hidden; }
.group-photo img { width: 100%; height: auto; display: block; margin-bottom: 30px; }
.group-photo h2 { margin-bottom: 18px; }
.group-photo .btn { margin: 4px; }
@media (max-width: 760px) { .group-photo img { width: 170%; max-width: none; margin-left: -35%; } }

/* ---------- Comité / Comisiones: rediseño por bloques ---------- */
.sg { display: grid; grid-template-columns: minmax(min(260px, 100%), 340px) 1fr; gap: 0; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11,20,48,.5); border: 1px solid var(--line); }
.sg__photo { background: radial-gradient(120% 90% at 50% 100%, #cfe0ff 0%, #e9f0fb 55%, #f6f8fc 100%); display: flex; align-items: flex-end; justify-content: center; padding: 30px 20px 0; }
.sg__photo img { width: 100%; max-width: 320px; height: auto; display: block; }
.sg__body { padding: clamp(26px, 4vw, 48px); }
.sg__body h2 { margin-bottom: 6px; }
.sg__text { color: var(--muted); margin-top: 16px; }
@media (max-width: 760px) { .sg { grid-template-columns: 1fr; } .sg__photo img { max-width: 260px; } }

.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 28px; align-items: start; }
.sec-grid--1 { grid-template-columns: 1fr; }
.sec { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.sec__head { display: flex; align-items: center; gap: 14px; padding: 16px 24px; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.sec__head h2 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin: 0; color: #fff; }
.sec__num { font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .1em; color: var(--navy); background: var(--gold); border-radius: 999px; padding: 4px 10px; flex: none; }
.sec__people { display: grid; grid-template-columns: repeat(2, 1fr); }
.sec__people--1 { grid-template-columns: 1fr; }
.sec__people--3 { grid-template-columns: repeat(3, 1fr); }
.sec__people--4 { grid-template-columns: repeat(4, 1fr); }
.sec__people--5 { grid-template-columns: repeat(5, 1fr); }
.sec-grid--1 .sec__people--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.sec-grid--1 .sec__people--1 { grid-template-columns: minmax(0, 480px); justify-content: center; }
.member { padding: 28px 22px 24px; text-align: center; border-right: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: -1px; }
.member:last-child { border-right: 0; }
.member__photo { width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: radial-gradient(100% 100% at 50% 100%, #cfe0ff 0%, #eaf0fa 70%); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--gold), 0 18px 30px -14px rgba(11,20,48,.5); }
.member__photo img { width: 100%; height: auto; display: block; transform: translateY(-6%); }
.member h3 { font-size: 1.02rem; margin-bottom: 4px; }
.member__role { color: var(--blue); font-weight: 600; font-size: .86rem; }
.member__inst { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.member__inst svg { width: 14px; height: 14px; }
.member__inst--pending { color: var(--gold); font-weight: 700; }
.member__more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; font-size: .88rem; color: var(--muted); text-align: left; }
.member__more summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.member__more summary::-webkit-details-marker { display: none; }
.member__more summary::after { content: "+"; font-size: 1.3rem; color: var(--blue); transition: transform .3s; }
.member__more[open] summary::after { transform: rotate(45deg); }
.member__more p { margin: 8px 0 0; }
.member__more b { color: var(--ink); }
@media (max-width: 900px) { .sec__people--3, .sec__people--4, .sec__people--5 { grid-template-columns: repeat(2, 1fr); } .sec__people--5 .member:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sec__people, .sec__people--3, .sec__people--4, .sec__people--5, .sec-grid--1 .sec__people--2 { grid-template-columns: 1fr; } .member { border-right: 0; } .member__photo { width: 130px; height: 130px; } }

/* ---------- Hero carrusel (3 pantallas) ---------- */
.hero--slider { display: block; }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; z-index: 1; display: grid; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide__bg { position: absolute; inset: -6%; background-size: cover; background-position: center; will-change: transform; }
.slide.is-active .slide__bg { animation: kenburns 10s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .slide.is-active .slide__bg { animation: none; } }
.slide__veil { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, rgba(26,85,179,.2), transparent 70%), linear-gradient(180deg, rgba(11,20,48,.45) 0%, rgba(11,20,48,.15) 45%, rgba(11,20,48,.95) 100%); }
.slide--imagen .slide__veil, .slide--video .slide__veil { background: linear-gradient(90deg, rgba(11,20,48,.92) 0%, rgba(11,20,48,.55) 55%, rgba(11,20,48,.25) 100%), linear-gradient(180deg, rgba(11,20,48,.3), rgba(11,20,48,.95)); }
.slide__inner { position: relative; z-index: 2; display: grid; gap: 40px; align-items: center; padding: 130px 0 210px; min-height: 100svh; }
.slide--logo .slide__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.slide--logo .slide__text { max-width: 980px; }
.slide--logo .hero__sub { margin-inline: auto; }
.slide--imagen .slide__inner, .slide--video .slide__inner { grid-template-columns: 1.1fr .9fr; text-align: left; }
.slide--imagen .slide__title, .slide--video .slide__title { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.slide--imagen .hero__actions, .slide--video .hero__actions { justify-content: flex-start; }
.slide--imagen .hero__sub, .slide--video .hero__sub { margin-left: 0; }
.slide__title { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 800; color: #fff; text-shadow: 0 10px 40px rgba(0,0,0,.5); margin-bottom: .35em; }
.slide__title em { font-style: normal; color: var(--sky); }
.slide__media { display: grid; place-items: center; perspective: 1400px; }
.mag--hero { width: min(360px, 70vw); display: block; transform: rotateY(-16deg) rotateX(3deg); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: rotateY(-16deg) rotateX(3deg) translateY(0);} 50% { transform: rotateY(-12deg) rotateX(2deg) translateY(-14px);} }
.video--hero { width: min(560px, 90vw); border: 4px solid rgba(255,255,255,.15); box-shadow: 0 50px 80px -30px rgba(0,0,0,.8); }
.video--hero .video__play i { width: 84px; height: 84px; }
.video--hero .video__play svg { width: 34px; height: 34px; }
/* entrada de elementos */
.slide .anim { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.slide.is-in .anim { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .slide .anim { opacity: 1; transform: none; transition: none; } .mag--hero { animation: none; } }
/* controles */
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: rgba(11,20,48,.35); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s; }
.hero__arrow svg { width: 22px; height: 22px; }
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero__arrow--prev { left: 22px; } .hero__arrow--next { right: 22px; }
.hero__dots { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 6; display: flex; gap: 14px; padding: 0 16px; max-width: 100%; }
.hero__dots button { position: relative; min-width: 120px; padding: 10px 0 12px; border: 0; background: none; color: rgba(255,255,255,.65); font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-align: left; }
.hero__dots button span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
.hero__dots button i { display: block; height: 3px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; position: relative; }
.hero__dots button i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--gold); }
.hero__dots button.is-active { color: #fff; }
.hero__dots button.is-active i::after { animation: fill var(--dur, 7s) linear forwards; }
.hero--paused .hero__dots button.is-active i::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
@media (max-width: 900px) {
  .slide--imagen .slide__inner, .slide--video .slide__inner { grid-template-columns: 1fr; text-align: center; padding: 110px 0 150px; gap: 22px; }
  .slide--imagen .hero__actions, .slide--video .hero__actions { justify-content: center; }
  .slide--imagen .hero__sub, .slide--video .hero__sub { margin-inline: auto; }
  .slide__media { order: -1; } .mag--hero { width: min(220px, 50vw); } .video--hero { width: min(420px, 88vw); }
  .hero__arrow { display: none; }
  .hero__dots { bottom: 70px; gap: 8px; } .hero__dots button { min-width: 0; flex: 1; } .hero__dots button span { display: none; }
}
@media (max-width: 600px) {
  .slide__inner { padding: 100px 0 140px !important; gap: 16px; }
  .slide--logo .hero__lyre { width: 130px; margin-bottom: 16px; }
  .slide__title { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; }
  .slide .hero__sub { font-size: 1rem; margin-bottom: 22px; }
  .slide .hero__kicker { font-size: .68rem; letter-spacing: .2em; }
}
/* Hero sobre fondo claro: velo más ligero, texto oscuro */
.page-hero--light .page-hero__veil { background: linear-gradient(180deg, rgba(11,20,48,.05) 0%, rgba(11,20,48,.35) 45%, rgba(11,20,48,.9) 100%); }
.page-hero h1 { text-shadow: 0 6px 30px rgba(0,0,0,.45); }

/* ---------- Heros interiores: tinte de color que cambia lentamente ---------- */
.page-hero__tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: overlay; opacity: .55;
  background: linear-gradient(120deg, #2f7df6, #ff2f92, #ffbb44, #19c6b7, #2f7df6); background-size: 400% 400%; animation: tintShift 18s ease-in-out infinite; }
@keyframes tintShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@media (prefers-reduced-motion: reduce) { .page-hero__tint { animation: none; } }

/* ---------- Pilares (inicio): compactos y modernos ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 16px 16px 16px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px -24px rgba(11,20,48,.45); color: inherit; text-decoration: none; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.pillar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(47,125,246,.08), rgba(255,187,68,.08)); opacity: 0; transition: opacity .4s; }
.pillar__icon { flex: none; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 18px; background: radial-gradient(120% 120% at 30% 20%, #eaf2ff 0%, #dbe7ff 60%, #cfe0ff 100%); box-shadow: inset 0 0 0 1px rgba(47,125,246,.12); }
.pillar__icon img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(11,20,48,.3)); transition: transform .5s var(--ease); }
.pillar__icon svg { width: 30px; height: 30px; color: var(--blue); }
.pillar h3 { font-size: 1rem; margin: 4px 0 4px; }
.pillar p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgba(11,20,48,.5); border-color: rgba(47,125,246,.35); }
  .pillar:hover::before { opacity: 1; }
  .pillar:hover .pillar__icon img { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
}
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr; gap: 10px; } .pillar { padding: 12px; border-radius: 16px; } .pillar__icon { width: 60px; height: 60px; border-radius: 14px; } .pillar__icon img { width: 54px; height: 54px; } .pillar h3 { font-size: .95rem; margin-top: 2px; } .pillar p { font-size: .84rem; } }

/* ---------- Diapositiva con más contraste ---------- */
.slide--contrast .slide__bg { filter: contrast(1.18) saturate(1.25); }
.slide--contrast .slide__veil { background: radial-gradient(60% 55% at 50% 48%, rgba(11,20,48,.55), rgba(11,20,48,.1) 70%), linear-gradient(180deg, rgba(11,20,48,.35) 0%, rgba(11,20,48,.15) 45%, rgba(11,20,48,.95) 100%); }

/* ---------- Blog / Noticias ---------- */
.posts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .45s var(--ease); }
.post__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: #e8eef7; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post time { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.post h3 { font-size: 1.1rem; margin: 0; }
.post h3 a { color: var(--ink); }
.post p { color: var(--muted); margin: 0; font-size: .95rem; }
.post__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding-top: 8px; }
.post__more svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .post:hover { transform: translateY(-5px); } .post:hover .post__img img { transform: scale(1.06); } }
.post-body { font-size: 1.08rem; }
.post-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.post-body img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.2em 0; }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-share { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Móvil: objetivos táctiles, hover sólo con puntero fino, safe areas ---------- */
.btn { min-height: 44px; }
.nav__links a, .nav__links button { min-height: 44px; }
.hero__dots button { min-height: 44px; }
.hero__arrow { width: 48px; height: 48px; }
.to-top { bottom: calc(env(safe-area-inset-bottom) + 18px); right: calc(env(safe-area-inset-right) + 18px); }
@media (hover: none) {
  .card:hover, .issue:hover .issue__cover, .person:hover, .doc:hover, .feature:hover img, .video:hover img, .member:hover { transform: none; }
  .issue__cover .btn { opacity: 1; transform: translate(-50%, 0); }
  .issue__cover::after { opacity: 1; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 26px; }
  .split { gap: 26px; }
  h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .lead { font-size: 1.02rem; }
  .carousel .video { flex-basis: 82vw; }
  .footer { padding-bottom: calc(env(safe-area-inset-bottom) + 24px); }
}

/* Menú: más compacto en pantallas medianas para que quepa "Noticias" */
@media (min-width: 1021px) and (max-width: 1280px) {
  .nav__links a, .nav__links button { padding: 10px 9px; font-size: .72rem; letter-spacing: .05em; }
  .nav__cta .btn { padding: 9px 14px; font-size: .7rem; }
  .nav__logo img { height: 44px; }
}
@media (max-width: 1100px) { .nav__burger { display: inline-flex; } .nav__links { position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; padding: 110px 28px 40px; flex-direction: column; align-items: stretch; gap: 6px; background: linear-gradient(160deg, var(--navy), var(--blue)); overflow-y: auto; transform: translateX(100%); transition: transform .45s var(--ease); z-index: -1; } .nav__links.is-open { transform: translateX(0); } .nav__links a, .nav__links button { font-size: 1.05rem; padding: 14px 16px; width: 100%; justify-content: space-between; } .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.08); box-shadow: none; margin: 4px 0 8px; display: none; } .has-sub.is-open .nav__sub { display: block; } .nav__sub a { color: #fff; } .nav__cta { margin: 14px 0 0; } }
@media (max-width: 900px) { .hero__dots { width: min(360px, 84vw); } .hero__dots button { flex: 1 1 0; min-width: 40px; } }
