/* CNDS · paleta de la presentación ejecutiva (nov 2026) */
:root {
  --navy: #0b1f3a;
  --navy-deep: #071629;
  --blue: #13325c;
  --gold: #c9a24b;
  --gold-soft: #e3c77f;
  --tint: #f4f6f9;
  --line: #e2e7ee;
  --ink: #1d2a3c;
  --muted: #5d6c80;
  --on-dark: #c9d6e6;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px #0b1f3a0f, 0 12px 32px -12px #0b1f3a26;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-family: var(--font-display); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-style: italic; color: var(--gold); font-weight: inherit; }

.skip { position: absolute; top: -80px; left: 16px; z-index: 100; background: var(--white); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }

h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: 19px; line-height: 1.65; color: var(--muted); }
.section-dark .lead { color: var(--on-dark); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--gold-soft); }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .2s ease, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -10px #c9a24bb3; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-glass { background: #ffffff14; color: var(--white); border-color: #ffffff40; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: #ffffff26; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); }
.btn-block { width: 100%; }

/* Íconos: los PNG de la presentación se usan como máscara y se recolorean */
.ico { flex: none; position: relative; display: inline-block; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); }
.ico::after { content: ""; position: absolute; inset: 26%; background: var(--gold); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-lg { width: 68px; height: 68px; border-radius: 18px; }
.ico-sm { width: 38px; height: 38px; border-radius: 10px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(32px, calc((100% - var(--container)) / 2 + 32px)); color: var(--navy); background: #f4f6f9eb; backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid #0b1f3a14; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: #fffffff2; box-shadow: 0 8px 24px -12px #0b1f3a33; }
.brand.brand-header img { height: 50px; width: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 21px; letter-spacing: .02em; }
.brand-text small { font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
#navigation { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 550; }
#navigation a { text-decoration: none; color: var(--navy); transition: color .2s; }
#navigation a:hover { color: #a8842f; }
#navigation .nav-cta { background: var(--navy); color: var(--white); padding: 10px 20px; border-radius: 999px; font-weight: 700; }
#navigation .nav-cta:hover { background: var(--blue); color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid #0b1f3a26; border-radius: 12px; background: var(--white); padding: 13px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; transform: scale(1.04); animation: heroZoom 14s ease-out forwards; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0b1f3acc 0%, #0b1f3a00 180px), linear-gradient(90deg, #0b1f3af2 0%, #0b1f3acc 38%, #0b1f3a33 75%), linear-gradient(0deg, #0b1f3a 0%, #0b1f3a00 40%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: calc(var(--header) + 80px) 32px 72px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); padding: 8px 16px; border: 1px solid #ffffff2e; border-radius: 999px; background: #ffffff0d; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-bottom: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #c9a24b40; }
.hero h1 { color: var(--white); font-size: clamp(40px, 6vw, 80px); font-weight: 750; line-height: 1.02; letter-spacing: -0.035em; max-width: 15ch; margin-bottom: 26px; }
.hero h1 em { color: var(--gold); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark); max-width: 54ch; margin-bottom: 38px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px 48px; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-stats div { padding: 26px 28px 0 0; border-top: 1px solid #ffffff2e; display: flex; align-items: baseline; gap: 14px; }
.hero-stats div + div { padding-left: 28px; border-left: 1px solid #ffffff1a; }
.hero-stats dt { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--gold); letter-spacing: -0.03em; line-height: 1; }
.hero-stats dd { margin: 0; font-size: 14px; color: var(--on-dark); line-height: 1.4; max-width: 22ch; }

/* Socios fundadores */
.partners { position: relative; padding: 104px 0; background: linear-gradient(180deg, var(--tint), var(--white)); overflow: hidden; }
.partners::before { content: ""; position: absolute; left: 50%; top: 0; width: 120px; height: 3px; transform: translateX(-50%); background: var(--gold); border-radius: 0 0 3px 3px; }
.partners-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.partners-head .eyebrow { justify-content: center; }
.partners-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.partners-head h2 { margin-bottom: 20px; }
.partners-head .lead { max-width: 60ch; margin: 0 auto; }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.partner-card { position: relative; display: grid; place-items: center; height: 156px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px #0b1f3a0a; transition: transform .3s, box-shadow .3s, border-color .3s; }
.partner-card::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.partner-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px #0b1f3a40; border-color: #c9a24b66; }
.partner-card:hover::after { transform: scaleX(1); }
.partner-card img { max-height: 58px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partner-card img.tile { border-radius: 8px; }
.partner-join { padding: 0; background: transparent; border: 2px dashed #c9a24b99; box-shadow: none; }
.partner-join::after { display: none; }
.partner-join:hover { background: var(--navy); border-color: var(--navy); border-style: solid; }
.partner-join a { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: var(--navy); border-radius: 18px; }
.join-plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 24px; font-weight: 500; line-height: 1; margin-bottom: 6px; transition: transform .3s; }
.partner-join strong { font-size: 17px; }
.join-cta { font-size: 14px; font-weight: 600; color: #a8842f; }
.partner-join:hover a, .partner-join:hover .join-cta { color: var(--white); }
.partner-join:hover .join-plus { transform: rotate(90deg); }

/* ¿Qué es? */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-copy h2 { margin-bottom: 24px; }
.facts { margin-top: 36px; display: grid; gap: 22px; }
.facts li { display: flex; gap: 18px; align-items: center; }
.facts strong { display: block; color: var(--navy); font-size: 17px; }
.facts span { color: var(--muted); font-size: 15px; }
.about-media { position: relative; padding-bottom: 60px; }
.about-media img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.float-card { position: absolute; left: -40px; bottom: 0; max-width: 340px; background: var(--white); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 24px 48px -16px #0b1f3a40; border-left: 4px solid var(--gold); }
.float-card strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.float-card span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Quiénes somos · cadena de capacidades */
.chain { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; counter-reset: c; margin-bottom: 56px; }
.chain::before { content: ""; position: absolute; top: 34px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--gold), #c9a24b33); }
.chain li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-weight: 650; color: var(--navy); font-size: 16px; }
.chain .ico { box-shadow: 0 0 0 8px var(--tint); transition: transform .25s, background .25s; }
.chain li:hover .ico { transform: translateY(-4px); background: var(--blue); }
.requirement { display: flex; align-items: center; gap: 40px; justify-content: space-between; background: var(--white); border-radius: 20px; padding: 36px 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.requirement p:not(.tag) { color: var(--muted); max-width: 70ch; }
.tag { font-weight: 700; color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.requirement .btn { flex: none; }

/* Por qué nace */
.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.why-media { position: sticky; top: calc(var(--header) + 32px); }
.why-media img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.why h2 { margin-bottom: 40px; }
.numbered li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered .n { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--gold); padding-top: 2px; }
.numbered h3 { margin-bottom: 8px; font-size: 21px; }
.numbered p { color: var(--muted); }

/* Banda objetivo */
.band { position: relative; padding: 140px 0; color: var(--white); overflow: hidden; isolation: isolate; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0b1f3ae0, #0b1f3af5); }
.statement { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 46px); font-weight: 650; line-height: 1.18; letter-spacing: -0.025em; max-width: 24ch; margin-bottom: 72px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillars article { padding: 32px; border-radius: 20px; background: #ffffff0d; border: 1px solid #ffffff1f; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .3s; }
.pillars article:hover { background: #ffffff17; transform: translateY(-4px); }
.pillars .ico { background: var(--gold); margin-bottom: 24px; }
.pillars .ico::after { background: var(--navy); }
.pillars h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; }
.pillars p { color: var(--on-dark); }

/* Misión y visión */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { padding: 48px; border-radius: 24px; background: var(--tint); border: 1px solid var(--line); }
.mv-card .ico { margin-bottom: 28px; }
.mv-card h3 { font-size: 28px; margin-bottom: 18px; }
.mv-card p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.mv-dark { background: var(--navy); border-color: var(--navy); }
.mv-dark h3 { color: var(--white); }
.mv-dark p { color: var(--on-dark); }
.mv-dark .ico { background: var(--gold); }
.mv-dark .ico::after { background: var(--navy); }

/* Tarjetas de misiones */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: 20px; padding: 32px; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 48px -24px #0b1f3a40; border-color: #c9a24b66; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.card-n { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: #0b1f3a14; line-height: 1; letter-spacing: -0.04em; transition: color .3s; }
.card:hover .card-n { color: var(--gold); }
.card h3 { margin-bottom: 10px; font-size: 20px; }
.card p { color: var(--muted); font-size: 16px; }

/* Principios */
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff1f; border-left: 1px solid #ffffff1f; }
.principle-grid li { display: flex; gap: 18px; padding: 36px 32px; border-right: 1px solid #ffffff1f; border-bottom: 1px solid #ffffff1f; transition: background .3s; }
.principle-grid li:hover { background: #ffffff08; }
.principle-grid .ico { background: #ffffff10; border: 1px solid #ffffff1f; }
.principle-grid h3 { margin-bottom: 6px; }
.principle-grid p { font-size: 15.5px; color: var(--on-dark); }

/* Ecosistema */
.eco { display: grid; grid-template-columns: 1fr 360px 1fr; grid-template-areas: "a hub b" "c hub d"; gap: 28px; align-items: stretch; }
.eco-a { grid-area: a; } .eco-b { grid-area: b; } .eco-c { grid-area: c; } .eco-d { grid-area: d; }
.eco-item { padding: 32px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.eco-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.eco-item .ico { margin-bottom: 20px; }
.eco-item h3 { font-size: 21px; margin-bottom: 6px; }
.eco-item p { color: var(--muted); }
.eco-b, .eco-d { text-align: right; }
.eco-b .ico, .eco-d .ico { margin-left: auto; }
.eco-center { grid-area: hub; position: relative; display: grid; place-items: center; min-height: 360px; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed #c9a24b80; }
.r1 { width: 340px; height: 340px; animation: spin 60s linear infinite; }
.r2 { width: 290px; height: 290px; border-style: solid; border-color: #0b1f3a14; }
@keyframes spin { to { transform: rotate(360deg); } }
.eco-hub { position: relative; width: 230px; height: 230px; border-radius: 50%; background: var(--white); box-shadow: 0 30px 60px -20px #0b1f3a40, 0 0 0 10px #c9a24b1a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.eco-hub img { width: 72px; margin-bottom: 6px; }
.eco-hub strong { font-family: var(--font-display); font-size: 28px; color: var(--navy); letter-spacing: .02em; }
.eco-hub em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Actividades */
.activities { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.activities-aside { position: sticky; top: calc(var(--header) + 32px); }
.activities-aside h2 { margin-bottom: 36px; }
.activities-aside img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.activity-list { display: grid; gap: 16px; }
.activity-list li { display: flex; gap: 22px; align-items: flex-start; padding: 28px 30px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.activity-list li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.activity-list h3 { margin-bottom: 6px; font-size: 20px; }
.activity-list p { color: var(--muted); font-size: 16px; }

/* Contacto */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, #c9a24b26, transparent 65%); pointer-events: none; }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-list { margin-top: 40px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: var(--gold-soft); }
.contact-list .ico { background: #ffffff10; border: 1px solid #ffffff1f; }
.contact-form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 44px; box-shadow: 0 40px 80px -30px #00000080; display: grid; gap: 18px; }
.contact-form h3 { color: var(--navy); font-size: 24px; margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 650; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px #c9a24b2e; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; background: #fdf3f2; }
.form-status { font-size: 14.5px; font-weight: 600; min-height: 1em; }
.form-status.ok { color: #1e7a4c; }
.form-status.error { color: #c0392b; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Footer */
.site-footer { background: var(--tint); color: var(--muted); padding: 72px 0 32px; font-size: 15px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-about .brand { display: inline-block; margin-bottom: 20px; }
.brand.brand-footer img { height: 56px; width: auto; }
.footer-about p { max-width: 46ch; color: var(--muted); }
.site-footer h4 { color: var(--navy); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer ul a { color: var(--ink); text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: #a8842f; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; padding-top: 28px; font-size: 13px; color: var(--muted); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 1px; background: #0b1f3a1a; }

/* Animación de entrada */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  #navigation { gap: 20px; font-size: 14px; }
  .brand-text small { display: none; }
  .about, .why, .activities, .contact-inner { gap: 56px; }
  .eco { grid-template-columns: 1fr 260px 1fr; }
  .r1 { width: 250px; height: 250px; } .r2 { width: 214px; height: 214px; }
  .eco-hub { width: 180px; height: 180px; }
  .eco-hub img { width: 52px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  #navigation { display: none; position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: var(--white); box-shadow: 0 20px 40px #0b1f3a26; }
  #navigation.open { display: flex; }
  #navigation a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  #navigation .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; padding: 14px; }
  .site-header.menu-open { background: var(--white); }
  .section { padding: 88px 0; }
  .about, .why, .activities, .contact-inner, .mv { grid-template-columns: 1fr; }
  .about-media img, .why-media img { aspect-ratio: 16 / 10; }
  .float-card { left: 16px; right: 16px; max-width: none; }
  .why-media, .activities-aside { position: static; }
  .chain { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .chain::before { display: none; }
  .requirement { flex-direction: column; align-items: flex-start; }
  .cards, .principle-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-join { grid-column: span 2; }
  .eco { grid-template-columns: 1fr 1fr; grid-template-areas: "hub hub" "a b" "c d"; }
  .eco-b, .eco-d { text-align: left; }
  .eco-b .ico, .eco-d .ico { margin-left: 0; }
  .eco-center { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header: 66px; }
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .site-header { padding: 0 20px; }
  .brand.brand-header img { height: 42px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .hero-inner { padding: calc(var(--header) + 48px) 20px 40px; }
  .hero-stats { grid-template-columns: 1fr; padding: 0 20px 32px; }
  .hero-stats div, .hero-stats div + div { padding: 16px 0; border-left: 0; }
  .hero-stats dt { font-size: 34px; min-width: 2.6ch; }
  .partners { padding: 72px 0; }
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .partner-card { height: 120px; padding: 20px; }
  .partner-card img { max-height: 46px; }
  .partner-join { grid-column: 1 / -1; height: 96px; }
  .partner-join a { flex-direction: row; gap: 14px; }
  .join-plus { margin: 0; }
  .chain { grid-template-columns: repeat(3, 1fr); gap: 24px 10px; }
  .chain li { font-size: 14px; }
  .cards, .principle-grid, .pillars, .eco, .field-row { grid-template-columns: 1fr; }
  .eco { grid-template-areas: "hub" "a" "b" "c" "d"; }
  .band { padding: 96px 0; }
  .statement { margin-bottom: 48px; }
  .mv-card, .contact-form { padding: 28px 24px; }
  .requirement { padding: 28px 24px; }
  .activity-list li { padding: 22px 20px; gap: 16px; }
  .principle-grid li { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom::before { left: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Modal del brochure (PDF) */
.pdf-modal { width: min(1100px, calc(100vw - 32px)); height: min(90vh, 1000px); padding: 0; border: 0; border-radius: var(--radius); background: var(--white); box-shadow: 0 30px 80px -20px #071629b3; overflow: hidden; }
.pdf-modal[open] { display: flex; flex-direction: column; }
.pdf-modal::backdrop { background: #071629cc; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pdf-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; background: var(--navy); }
.pdf-modal-bar h2 { color: var(--white); font-size: 18px; }
.pdf-modal-actions { display: flex; align-items: center; gap: 10px; }
.pdf-modal-actions .btn { padding: 10px 18px; font-size: 15px; }
.pdf-modal-close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid #ffffff40; background: transparent; color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.pdf-modal-close:hover { background: #ffffff1f; }
.pdf-modal iframe { flex: 1; width: 100%; border: 0; background: var(--tint); }
.pdf-modal-fallback { padding: 10px 24px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .pdf-modal { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border-radius: 0; }
  .pdf-modal-bar { padding: 12px 12px 12px 16px; }
  .pdf-modal-bar h2 { font-size: 16px; }
}
