/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #e6ecf0;
  --paper: #f3f6f8;
  --ink: #0c2c33;
  --ink-soft: #2c4a50;
  --ink-mute: #5b7077;
  --accent: #015662;
  --accent-2: #015662;
  --deep: #015662;
  --gold: #b08a3e;
  --green: #4caf50;
  --green-ink: #3a8f3f;
  --silver: #c8d1d9;
  --line: rgba(12,44,51, .16);
  --line-strong: #0c2c33;

  --serif-d: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif-b: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 200px; }
body {
  font-family: var(--serif-b);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--deep); color: var(--bg); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

.kicker {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.kicker-line { width: 36px; height: 1px; background: var(--accent); display: inline-block; }

/* Reveal — oculto solo si JS está activo; red de seguridad en main.js */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
.reveal[data-split] { opacity: 1; transform: none; }

/* Progreso de lectura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* =============================================================
   4. Barra superior + masthead
   ============================================================= */
.topbar { background: var(--bg-2); color: var(--ink-soft); font-family: var(--sans); font-size: 12px; letter-spacing: .04em; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; }
.topbar a { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(1,86,98,.35); transition: border-color .3s; }
.topbar a:hover { border-color: var(--accent); }
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4caf50; margin-right: 8px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(76,175,80,.55); } 50% { box-shadow: 0 0 0 7px rgba(76,175,80,0); } }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: #025661; color: #ffffff; /* mismo tono que el fondo del logo */
  backdrop-filter: saturate(1.2) blur(10px);
  transition: box-shadow .4s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 10px 30px -18px rgba(12,44,51,.35); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; transition: padding .4s var(--ease); }
.masthead.is-stuck .mast-row { padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.seal { width: 52px; height: 52px; color: var(--accent); transition: transform .8s var(--ease), width .4s var(--ease), height .4s var(--ease); flex: none; }
.brand:hover .seal { transform: rotate(90deg); }
.masthead.is-stuck .seal { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-small { font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.brand-big { font-family: var(--serif-d); font-weight: 700; font-size: 28px; letter-spacing: -.01em; padding: 3px 0 4px; }

.nav { display: flex; align-items: center; gap: 26px; font-family: var(--sans); font-size: 13px; font-weight: 500; }
.nav a:not(.nav-cta) { position: relative; padding: 6px 0; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #ffffff; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.nav-cta):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: #ffffff; font-weight: 700; }
.nav-cta { background: var(--green-ink); color: var(--bg); padding: 11px 22px; border-radius: 999px; transition: background .3s, transform .3s var(--ease); }
.nav-cta:hover { background: var(--green); transform: translateY(-2px); }


.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #ffffff; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--deep); color: var(--bg);
  padding: 150px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-family: var(--serif-d); font-size: clamp(30px, 8vw, 46px); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.drawer-foot { font-style: italic; color: #a3bcc6; font-size: 16px; }

/* =============================================================
   5. Hero
   ============================================================= */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-title {
  font-family: var(--serif-d); font-weight: 700;
  font-size: clamp(38px, 5vw, 76px); line-height: 1.04; letter-spacing: -.06em;
  margin-bottom: 28px;
}
.hero-title em { font-style: italic; font-weight: 700; color: var(--green-ink); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: block; animation: rise 1.1s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.deck { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); max-width: 52ch; margin-bottom: 36px; border-left: 2px solid var(--accent); padding-left: 20px; animation: fade 1.2s .5s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fade 1.2s .7s var(--ease) both; }
.kicker { animation: fade 1s .05s var(--ease) both; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 999px; border: 1px solid var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -14px rgba(12,44,51,.5); }
.btn-solid { background: var(--deep); color: var(--bg); }
.btn-solid:hover { background: var(--green-ink); border-color: var(--green-ink); }
.btn-line { background: transparent; }
.btn-line:hover { background: var(--deep); color: var(--bg); }
.btn-block { width: 100%; }

.hero-fig { position: relative; animation: fade 1.4s .3s var(--ease) both; }
.hero-img { border-radius: 32px; position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line-strong); padding: 10px; background: var(--paper); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(1.05) contrast(1.04); will-change: transform; }
.hero-fig figcaption, .cut figcaption { font-family: var(--sans); font-size: 12px; color: var(--ink-mute); font-style: italic; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.badge { position: absolute; width: 132px; height: 132px; left: -44px; bottom: 50px; color: var(--accent); animation: spin 28s linear infinite; }
.badge text { font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; fill: #ffffff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   6. Marquee
   ============================================================= */
.marquee { border-block: 1px solid var(--line-strong); background: var(--paper); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 48s linear infinite; font-family: var(--serif-d); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--accent); font-size: .6em; }
.marquee-track a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; text-decoration-thickness: 2px; transition: color .3s, text-decoration-color .3s; }
.marquee-track a:hover, .marquee-track a:focus-visible { color: var(--green-ink); text-decoration-color: currentColor; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   7. Secciones genéricas
   ============================================================= */
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section-tint { background: var(--bg-2); }
.section-ink { background: var(--deep); color: var(--bg); }
.section-ink .kicker { color: #86d48a; }
.section-ink .kicker-line { background: #86d48a; }

.sec-head { display: flex; align-items: flex-start; gap: clamp(20px, 4vw, 56px); border-top: 2px solid currentColor; padding-top: 26px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-num { font-family: var(--serif-d); font-style: italic; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--green-ink); min-width: 1.4em; }
.section-ink .sec-num { color: #86d48a; }
.sec-title { font-family: var(--serif-d); font-weight: 700; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.05em; max-width: 18ch; }
.sec-title em { font-style: italic; font-weight: 700; color: var(--green-ink); }
.section-ink .sec-title em { color: #86d48a; }

/* Institución */
.inst-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.columns { column-count: 2; column-gap: 44px; column-rule: 1px solid var(--line); text-align: left; hyphens: auto; -webkit-hyphens: auto; }
#institucion { padding-bottom: 0; }
.columns p { margin-bottom: 1.1em; }
.dropcap { float: left; font-family: var(--serif-d); font-weight: 700; font-size: 5.4em; line-height: .78; padding: .06em .1em 0 0; color: var(--accent); }
.cut img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 1s var(--ease), transform 1.2s var(--ease); }
.cut img { border-radius: 28px; }
.cut { overflow: hidden; }
.cut:hover img { filter: grayscale(0); }
.pull { position: relative; margin-top: 36px; padding: 30px 0 0; border-top: 1px solid var(--line-strong); font-family: var(--serif-d); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; }
.qmark { display: block; font-size: 90px; line-height: .5; height: 38px; color: var(--accent); font-style: normal; }

/* Misión / Visión / Valores */
.mvv { background: var(--deep); color: var(--bg); margin-top: clamp(60px, 8vw, 110px); padding: clamp(50px, 7vw, 90px) 0; }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mvv-card { padding: 0 clamp(20px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.2); }
.mvv-card:first-child { border-left: 0; padding-left: 0; }
.mvv-n { font-family: var(--serif-d); font-style: italic; color: #86d48a; font-size: 20px; }
.mvv-card h3 { font-family: var(--serif-d); font-size: clamp(28px, 3vw, 40px); margin: 6px 0 16px; font-weight: 600; }
.mvv-card p, .mvv-card li { color: #c8d6dc; font-size: 17px; }
.mvv-card li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mvv-card li::before { content: "✦"; color: #86d48a; margin-right: 10px; font-size: 11px; }

/* Líneas de trabajo */
.lines { border-top: 1px solid var(--line-strong); }
.line-item {
  display: grid; grid-template-columns: 70px 1fr 1.4fr 40px; align-items: baseline; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line-strong); position: relative;
  transition: padding .5s var(--ease), color .4s;
}
.line-item::before { content: ""; position: absolute; inset: 0 -20px; background: var(--deep); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.line-item:hover { color: var(--bg); padding-left: 14px; }
.line-item:hover::before { transform: scaleY(1); }
.li-n { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--accent); transition: color .4s; }
.line-item h3 { font-family: var(--serif-d); font-weight: 600; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.15; }
.line-item p { color: var(--ink-mute); font-size: 16.5px; transition: color .4s; }
.line-item:hover p, .line-item:hover .li-n { color: #d8e3e8; }
.li-arrow { font-size: 24px; text-align: right; transform: translateX(-10px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.line-item:hover .li-arrow { transform: none; opacity: 1; }
.line-item:target { color: var(--bg); padding-left: 14px; }
.line-item:target::before { transform: scaleY(1); }
.line-item:target p, .line-item:target .li-n { color: #d8e3e8; }
.line-item:target .li-arrow { transform: none; opacity: 1; }
.lines { isolation: isolate; }

/* Artículos */
.articles { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 5vw, 72px); }
.art-lead .art-img { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line-strong); }
.art-lead img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) contrast(1.05); transition: transform 1.2s var(--ease), filter 1s var(--ease); }
.art-lead:hover img { transform: scale(1.05); filter: grayscale(0); }
.art-body { padding-top: 22px; }
.meta { font-family: var(--sans); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.tag { color: var(--accent); font-weight: 600; margin-right: 8px; }
.art-lead h3 { font-family: var(--serif-d); font-weight: 600; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 14px; }
.art-lead h3 a, .art-mini h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.art-lead h3 a:hover, .art-mini h3 a:hover { background-size: 100% 1px; }
.art-body > p:not(.meta) { color: var(--ink-soft); margin-bottom: 18px; }
.more { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 8px; }
.more span { transition: transform .35s var(--ease); }
.more:hover span { transform: translateX(6px); }
.art-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.art-mini { padding: 26px 0; border-bottom: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.art-mini h3 { font-family: var(--serif-d); font-weight: 600; font-size: clamp(20px, 2vw, 27px); line-height: 1.2; margin-bottom: 12px; }
.section-note { margin-top: 48px; font-style: italic; color: var(--ink-soft); }
.section-note a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* Boletines */
.bulletins { border-top: 1px solid var(--line-strong); }
.bul { display: grid; grid-template-columns: 110px 1fr 140px 130px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .4s, padding .4s var(--ease); }
.bul:hover { background: var(--paper); padding-inline: 16px; }
.bul-no { font-family: var(--serif-d); font-style: italic; font-size: 26px; color: var(--accent); }
.bul-main h3 { font-family: var(--serif-d); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; margin-bottom: 4px; }
.bul-main p { color: var(--ink-mute); font-size: 16px; }
.bul-type { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 6px 12px; text-align: center; border-radius: 99px; justify-self: start; }
.bul-dl { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; justify-self: end; display: inline-flex; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .3s; }
.bul-dl:hover { color: var(--accent); }

/* Directiva */
.board { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.3); border-left: 1px solid rgba(255,255,255,.3); }
.member { position: relative; padding: 34px 30px 34px; border-right: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); overflow: hidden; transition: background .5s var(--ease); }
.member:hover { background: #016a7a; }
.member-ini { position: absolute; right: 16px; top: -10px; font-family: var(--serif-d); font-style: italic; font-size: 130px; line-height: 1; color: rgba(255,255,255,.07); transition: color .5s, transform .8s var(--ease); }
.member:hover .member-ini { color: rgba(134,212,138,.22); transform: translateY(8px) scale(1.06); }
.role { font-family: var(--sans); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #86d48a; margin-bottom: 10px; position: relative; }
.member h3 { font-family: var(--serif-d); font-weight: 500; font-size: 26px; line-height: 1.15; margin-bottom: 8px; position: relative; }
.member-mail { font-family: var(--sans); font-size: 13px; color: #93aeba; position: relative; }
.member-photo { position: relative; display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); margin-bottom: 22px; background: #0b6f7d; transition: transform .5s var(--ease); }
.member:hover .member-photo { transform: scale(1.04); }
.member-contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; position: relative; font-family: var(--sans); font-size: 14px; }
.member-contact li { display: flex; flex-direction: column; gap: 2px; }
.member-contact span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #93aeba; }
.member-contact a { color: #ffffff; overflow-wrap: anywhere; border-bottom: 1px solid transparent; justify-self: start; width: fit-content; transition: color .3s, border-color .3s; }
.member-contact a:hover, .member-contact a:focus-visible { color: #86d48a; border-color: currentColor; }

/* Afiliación */
.join { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.join-copy > p { font-size: clamp(19px, 1.7vw, 23px); color: var(--ink-soft); margin-bottom: 30px; }
.ticks li { padding: 13px 0 13px 34px; border-top: 1px solid var(--line); position: relative; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.steps { border-radius: 28px; overflow: hidden; counter-reset: s; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line-strong); background: var(--paper); }
.steps li { display: flex; gap: 22px; padding: 28px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps span { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-family: var(--serif-d); font-style: italic; font-size: 22px; transition: background .4s, color .4s; }
.steps li:hover span { background: var(--accent); color: var(--bg); }
.steps h3 { font-family: var(--serif-d); font-weight: 600; font-size: 22px; margin-bottom: 4px; }
.steps p { color: var(--ink-mute); font-size: 16px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-lead { font-size: clamp(19px, 1.7vw, 23px); color: var(--ink-soft); margin-bottom: 34px; }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line-strong); }
.contact-list dt { font-family: var(--sans); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); padding-top: 5px; }
.contact-list dd a { border-bottom: 1px solid var(--line-strong); transition: color .3s, border-color .3s; }
.contact-list dd a:hover { color: var(--accent); border-color: var(--accent); }

.form { border-radius: 32px; background: var(--paper); border: 1px solid var(--line-strong); padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 24px 0 8px; outline: none; appearance: none; -webkit-appearance: none; resize: vertical;
  transition: border-color .3s;
}
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2314110c' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field label { position: absolute; left: 0; top: 24px; font-family: var(--sans); font-size: 14px; color: var(--ink-mute); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field label.static { top: 2px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field.is-error input, .field.is-error textarea { border-color: #b3261e; }
.form-note { font-family: var(--sans); font-size: 12.5px; color: var(--ink-mute); text-align: center; }
.form-note.is-error { color: #b3261e; }

/* Footer */
.footer { background: var(--deep); color: #c8d6dc; padding: clamp(60px, 8vw, 100px) 0 28px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.2); }
.foot-quote { font-family: var(--serif-d); font-size: clamp(28px, 4.2vw, 56px); line-height: 1.1; color: var(--bg); max-width: 20ch; letter-spacing: -.015em; }
.foot-quote em { color: #86d48a; font-weight: 500; }
.to-top { font-family: var(--sans); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: color .3s; }
.to-top:hover { color: var(--bg); }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 40px 0; }
.foot-h { font-family: var(--serif-d); font-size: 22px; color: var(--bg); }
.foot-p { font-size: 15px; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--sans); font-size: 13px; }
.foot-grid nav a:hover { color: var(--bg); }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--sans); font-size: 11.5px; color: #7a9aa8; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 1080px) {
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .nav { display: none; }
  .burger { display: block; }
  .topbar-date { display: none; }
  .hero-grid, .inst-grid, .articles, .join, .contact-grid { grid-template-columns: 1fr; }
  .hero-fig { max-width: 520px; margin-inline: auto; width: 100%; }
  .badge { width: 104px; height: 104px; left: -10px; }
  .columns { column-count: 1; text-align: left; }
  .mvv-grid { grid-template-columns: 1fr; gap: 40px; }
  .mvv-card, .mvv-card:first-child { border-left: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 28px; }
  .mvv-card:first-child { border-top: 0; padding-top: 0; }
  .line-item { grid-template-columns: 44px 1fr; gap: 6px 14px; }
  .line-item p { grid-column: 2; }
  .li-arrow { display: none; }
  .bul { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .bul-no { grid-column: 1 / -1; font-size: 20px; }
  .bul-main { grid-column: 1 / -1; }
  .bul-type { justify-self: start; }
  .board { grid-template-columns: 1fr 1fr; }
  .brand-big { font-size: 24px; }
  .seal { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .board { grid-template-columns: 1fr; }
  .role { margin-bottom: 30px; }
  .sec-head { flex-direction: column; gap: 10px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { width: 100%; }
  .topbar a { display: none; }
  .topbar-in { justify-content: center; }
}

/* =============================================================
   9. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  .badge { animation-duration: 90s; }
  .marquee-track { animation-duration: 140s; }
}

/* Logo de marca */
.brand-logo { border-radius: 0; clip-path: inset(1px 2px 1px 1px); height: 124px; width: auto; display: block; transition: height .4s var(--ease), transform .4s var(--ease); }
.masthead.is-stuck .brand-logo { height: 84px; }
.brand:hover .brand-logo { transform: translateY(-2px); }
.foot-logo { border-radius: 44px; width: 220px; height: auto; margin-bottom: 18px; }
@media (max-width: 560px) { .brand-logo { height: 92px; } .masthead.is-stuck .brand-logo { height: 66px; } }

/* Esquinas redondeadas */
.hero-img img { border-radius: 24px; }
.bul:hover { border-radius: 20px; }
.skip { border-radius: 999px; }
.member:first-child { border-top-left-radius: 24px; }
.board { border-radius: 24px; overflow: hidden; }

/* Imagen principal: desde la mitad hasta el borde derecho de la pantalla */
.hero { overflow-x: clip; container-type: inline-size; }
.hero-img { border-radius: 32px; }
.hero-img img { border-radius: 24px; }
.hero-fig figcaption { padding-right: var(--gutter); }
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-fig { margin-right: calc(-1 * max(var(--gutter), (100cqw - var(--max)) / 2)); }
  .hero-img { aspect-ratio: auto; height: clamp(480px, 74vh, 760px); }
}
@media (max-width: 900px) {
  .hero-fig { max-width: none; width: auto; margin-inline: 0 calc(-1 * var(--gutter)); }
  .hero-img { aspect-ratio: 1 / 1; }
}
