/* =====================================================================
   Fundación Emprender Internacional — sitio institucional
   ===================================================================== */

:root {
    --navy: #08192B;
    --navy-2: #0C2C49;
    --blue: #0D78A6;
    --blue-dark: #0A5E85;
    --cyan: #12ADE5;
    --cyan-soft: #E7F7FD;
    --gold: #F2A93B;
    --gold-soft: #FDF3E2;
    --green: #15803D;
    --ink: #10263A;
    --text: #31465A;
    --muted: #64778A;
    --line: #DDE7F0;
    --bg: #F5F8FC;
    --bg-2: #EEF4F9;
    --surface: #FFFFFF;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --shadow-sm: 0 2px 10px -4px rgba(8, 25, 43, .12);
    --shadow-md: 0 18px 44px -24px rgba(8, 25, 43, .28);
    --shadow-lg: 0 34px 80px -36px rgba(8, 25, 43, .45);
    --font-sans: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --header-height: 82px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.16;
    letter-spacing: -0.02em;
}

p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.skip-link {
    position: absolute; top: -60px; left: 16px; z-index: 999;
    background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px;
}
.skip-link:focus { top: 0; color: #fff; }

/* ------------------------------------------------------------- Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 50px; padding: 0 24px;
    border-radius: 12px; border: 1px solid transparent;
    font-size: 15px; font-weight: 650; letter-spacing: .01em;
    transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-sm { height: 42px; padding: 0 17px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; border-radius: 14px; }

.btn-primary { background: linear-gradient(135deg, #12ADE5, #0D78A6); color: #fff; box-shadow: 0 12px 26px -14px rgba(13, 120, 166, .8); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 34px -16px rgba(13, 120, 166, .9); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--cyan); color: var(--blue-dark); background: var(--cyan-soft); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); background: #F3FAFE; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }
.btn-gold { background: var(--gold); color: #3B2403; box-shadow: 0 12px 26px -14px rgba(242, 169, 59, .8); }
.btn-gold:hover { color: #3B2403; background: #F7B95A; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 14.5px; color: var(--blue);
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------- Utilidades */
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    color: var(--blue);
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #7DD3FC; }
.eyebrow-gold { color: var(--gold); }
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-navy { background: var(--navy); color: rgba(226, 240, 250, .82); }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 14px 0 14px; letter-spacing: -.025em; }
.section-head p { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.section-head-left { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 42px; }
.section-head-left > div { max-width: 640px; }
.section-head-left h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 14px; }

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }

/* --------------------------------------------------------------- Header */
.topbar { background: var(--navy); color: rgba(214, 234, 247, .72); font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 38px; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: rgba(214, 234, 247, .78); }
.topbar-item:hover { color: #fff; }
.topbar-item .icon { width: 14px; height: 14px; color: #7DD3FC; }
.topbar-brand { letter-spacing: .02em; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(221, 231, 240, .9);
    transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 32px -26px rgba(8,25,43,.55); }
.header-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand-logo { height: 68px; width: auto; }
.brand-text { display: none; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
    padding: 9px 13px; border-radius: 10px;
    font-size: 14.5px; font-weight: 600; color: #34495E;
    transition: color .18s, background .18s;
}
.nav-link:hover { color: var(--blue-dark); background: var(--cyan-soft); }
.nav-link.active { color: var(--blue-dark); background: var(--cyan-soft); }

.header-actions { display: flex; align-items: center; gap: 9px; }
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 11px;
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* ----------------------------------------------------------------- Hero */
.hero {
    position: relative; overflow: hidden;
    min-height: min(92vh, 860px);
    display: flex; align-items: center;
    background: var(--navy);
    color: #fff;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(100deg, rgba(6, 20, 36, .94) 0%, rgba(8, 32, 55, .82) 42%, rgba(8, 32, 55, .35) 78%),
        var(--hero-image, url('../img/hero-community.jpg'));
    background-size: cover;
    background-position: center 32%;
    transform: scale(1.02);
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(900px 420px at 85% 10%, rgba(18,173,229,.26), transparent 65%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 84px; width: 100%; }
.hero-content { max-width: 760px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 15px 7px 9px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    font-size: 12.5px; font-weight: 600; color: #D9F1FB; margin-bottom: 26px;
    backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.hero h1 {
    color: #fff; font-size: clamp(38px, 4.9vw, 64px); line-height: 1.03; font-weight: 800; letter-spacing: -.035em;
    margin-bottom: 22px;
}
.hero h1 .accent {
    background: linear-gradient(92deg, #6FD8F7 0%, #12ADE5 55%, #7DD3FC 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 17.5px; line-height: 1.65; color: rgba(222, 240, 251, .85); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.hero-stats {
    display: flex; flex-wrap: wrap; gap: 18px 44px;
    margin-top: 52px; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.hero-stat strong { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.hero-stat span { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(200, 228, 243, .72); }
.hero-stat .plus { color: var(--cyan); }

.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 22px 0; }
.trustbar-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.trustbar-item .icon { width: 21px; height: 21px; color: var(--blue); }

/* ----------------------------------------------------- Bloque nosotros */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 62px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media .media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.media-badge {
    position: absolute; left: 22px; bottom: 22px; z-index: 2;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 14px; padding: 13px 17px;
    box-shadow: var(--shadow-md);
}
.media-badge .icon { width: 24px; height: 24px; color: var(--gold); }
.media-badge strong { display: block; font-size: 14px; color: var(--ink); }
.media-badge small { display: block; font-size: 11.5px; color: var(--muted); }
.split-copy h2 { font-size: clamp(28px, 3vw, 40px); margin: 14px 0 18px; }
.split-copy p { color: var(--text); margin-bottom: 16px; font-size: 16px; line-height: 1.7; }
.check-list { display: grid; gap: 12px; margin: 24px 0 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; }
.check-list .icon { width: 20px; height: 20px; color: var(--green); margin-top: 2px; }

/* ------------------------------------------------------------- Pilares */
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar-card {
    position: relative; display: flex; flex-direction: column; gap: 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px 24px 24px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #BEE7F7; }
.pillar-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--cyan-soft); color: var(--blue);
}
.pillar-icon .icon { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 18px; }
.pillar-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.pillar-card .link-arrow { margin-top: auto; font-size: 13px; }

/* ------------------------------------------------------------- Campus */
.campus-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #071A2D 0%, #0B3B5C 55%, #0D5E85 100%); color: rgba(231, 245, 252, .84); }
.campus-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(760px 380px at 88% 0%, rgba(18,173,229,.28), transparent 62%),
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: auto, 60px 60px, 60px 60px;
    pointer-events: none;
}
.campus-section .container { position: relative; z-index: 2; }
.campus-section h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin: 14px 0 16px; }
.campus-section p { color: rgba(219, 239, 250, .82); font-size: 16px; }
.campus-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 38px; }
.campus-head > div { max-width: 640px; }
.campus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.course-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
    border: 1px solid rgba(255,255,255,.12);
    transition: transform .22s ease, box-shadow .22s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-cover {
    position: relative; height: 112px;
    background: linear-gradient(135deg, var(--course-color, #0D78A6), color-mix(in srgb, var(--course-color, #0D78A6) 45%, #08192B));
    display: flex; align-items: center; justify-content: center;
}
.course-cover::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 78% 12%, rgba(255,255,255,.26), transparent 46%),
        linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: auto, 32px 32px, 32px 32px;
}
.course-cover .icon { width: 36px; height: 36px; color: rgba(255,255,255,.95); position: relative; z-index: 1; }
.course-tag { position: absolute; top: 11px; left: 11px; z-index: 2; font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 3px 10px; backdrop-filter: blur(6px); }
.course-body { padding: 18px 18px 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-title { font-size: 15px; font-weight: 750; color: var(--ink); line-height: 1.35; }
.course-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-top: auto; }
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-price { font-weight: 800; color: var(--blue); font-size: 13px; }
.course-actions { padding: 0 18px 16px; }
.course-actions .btn { width: 100%; height: 38px; font-size: 12.5px; border-radius: 9px; }

/* ------------------------------------------------------------- Proyectos */
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    min-height: 280px; display: flex; align-items: flex-end;
    color: #fff; isolation: isolate;
}
.project-card::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(180deg, rgba(8,25,43,.05) 0%, rgba(8,25,43,.86) 92%), var(--project-image);
    background-size: cover; background-position: center;
    transition: transform .4s ease;
    z-index: -1;
}
.project-card:hover::before { transform: scale(1.04); }
.project-card-inner { padding: 26px; width: 100%; }
.project-card h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.project-card p { color: rgba(225, 241, 250, .84); font-size: 13.5px; line-height: 1.6; }
.project-places { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7DD3FC; margin-bottom: 8px; }
.project-places .icon { width: 14px; height: 14px; }

.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.theme-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.theme-card .pillar-icon { width: 44px; height: 44px; border-radius: 12px; }
.theme-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.theme-card p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* --------------------------------------------------------------- Impacto */
.impact-section { background: var(--bg-2); }
.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.impact-item { text-align: center; padding: 30px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.impact-number { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.03em; }
.impact-label { margin-top: 9px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------------------------------------------------------------- Noticias */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; color: inherit; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.news-image { height: 178px; overflow: hidden; background: var(--bg-2); }
.news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-date { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); }
.news-title { font-size: 16px; font-weight: 750; line-height: 1.4; }
.news-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.news-body .link-arrow { margin-top: auto; font-size: 13px; }

/* ------------------------------------------------------------------ CTA */
.cta-band { padding: 70px 0; background: linear-gradient(120deg, #0D78A6, #12ADE5); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.86); font-size: 15px; max-width: 620px; }

/* ------------------------------------------------------------- Prefooter */
.pre-footer { background: var(--navy); padding: 56px 0; color: #fff; }
.pre-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.pre-footer h2 { color: #fff; font-size: clamp(23px, 2.6vw, 32px); max-width: 760px; margin-top: 12px; letter-spacing: -.02em; }
.pre-footer-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: #06131F; color: rgba(200, 221, 235, .72); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.5fr; gap: 42px; }
.footer-logo { height: 78px; width: auto; background: #fff; padding: 12px 16px; border-radius: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin: 18px 0 20px; max-width: 330px; color: rgba(190, 214, 230, .7); }
.footer-social { display: flex; gap: 9px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.07); color: #CFE6F4; }
.footer-social a:hover { background: rgba(18,173,229,.24); color: #fff; }
.footer-social .icon { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(190, 214, 230, .72); font-size: 13.5px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-contact p { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; margin-bottom: 10px; }
.footer-contact .icon { width: 16px; height: 16px; color: #6FD8F7; margin-top: 3px; flex: 0 0 auto; }
.footer-contact a { color: inherit; padding: 0; }
.footer-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 13px; font-weight: 700; color: #7DD3FC !important; }
.footer-cta .icon { width: 15px; height: 15px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: 12px; color: rgba(160, 190, 210, .6); }
.footer-legal { display: flex; gap: 10px; align-items: center; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: #fff; }

/* -------------------------------------------------------- Páginas internas */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 76px 0 82px; }
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(100deg, rgba(6,20,36,.94), rgba(8,32,55,.72)), var(--page-image, url('../img/hero-workshop.jpg'));
    background-size: cover; background-position: center;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(700px 300px at 88% 0%, rgba(18,173,229,.25), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; max-width: 980px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(190, 220, 238, .72); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(190, 220, 238, .8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.sep { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; max-width: 900px; }
.page-hero p { color: rgba(216, 238, 250, .82); font-size: 17px; max-width: 760px; margin-top: 16px; }

.content-section { padding: 72px 0; }
.content-section.tight { padding: 52px 0; }

.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin: 38px 0 14px; }
.prose h3 { font-size: 21px; margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--text); font-size: 16px; line-height: 1.75; }
.prose ul { margin: 0 0 20px; padding-left: 0; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15.5px; line-height: 1.65; }
.prose li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.prose blockquote { margin: 26px 0; padding: 22px 26px; border-left: 3px solid var(--cyan); background: var(--bg); border-radius: 0 14px 14px 0; color: var(--text); font-size: 16px; }
.prose img { border-radius: var(--radius); margin: 22px 0; }

.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value-card .icon { width: 26px; height: 26px; color: var(--gold); margin-bottom: 12px; }
.value-card h3 { font-size: 17px; margin-bottom: 6px; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mission-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.mission-card h3 { font-size: 21px; margin-bottom: 10px; }
.mission-card p { color: var(--text); font-size: 15px; line-height: 1.7; }

.founder-card { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.founder-card img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); }
.founder-card h3 { font-size: 21px; margin-bottom: 4px; }
.founder-role { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.founder-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

.anchor-section { padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.anchor-section:first-of-type { border-top: 0; }
.anchor-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.anchor-num { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--blue); background: var(--cyan-soft); width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.anchor-head h2 { font-size: 28px; }
.anchor-head p { color: var(--muted); margin-top: 6px; max-width: 680px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature-card .icon { width: 22px; height: 22px; color: var(--blue); margin-bottom: 10px; }
.feature-card h3 { font-size: 15.5px; margin-bottom: 5px; }
.feature-card p { font-size: 12.8px; color: var(--muted); line-height: 1.55; }

/* Cursos */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course-toolbar { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.filter-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--text); }
.filter-chip.active, .filter-chip:hover { background: var(--cyan-soft); border-color: #BEE7F7; color: var(--blue-dark); }
.campus-cta { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.contact-card h2 { font-size: 24px; margin-bottom: 8px; }
.contact-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.contact-item strong { display: block; font-size: 13px; color: var(--ink); }
.contact-item span { display: block; font-size: 13.5px; color: var(--muted); }
.contact-item a { color: var(--blue); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 650; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; min-height: 46px; padding: 11px 14px;
    border: 1px solid var(--line); border-radius: 11px;
    font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
    transition: border-color .18s, box-shadow .18s;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(18,173,229,.12);
}
.form-hint { font-size: 12px; color: var(--muted); }
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-alert { padding: 14px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; }
.form-alert.success { background: #ECFDF3; border: 1px solid #BBF7D0; color: #065F46; }
.form-alert.error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Donar */
.donate-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.donate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.donate-card h2 { font-size: 24px; margin-bottom: 8px; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.bank-row:last-of-type { border-bottom: 0; }
.bank-row span { font-size: 13px; color: var(--muted); }
.bank-row strong { font-size: 14.5px; color: var(--ink); }
.copy-btn { border: 1px solid var(--line); background: var(--bg); color: var(--blue); border-radius: 8px; padding: 5px 10px; font-size: 11.5px; font-weight: 700; }
.copy-btn:hover { background: var(--cyan-soft); border-color: #BEE7F7; }
.donate-note { margin-top: 18px; padding: 16px; background: var(--gold-soft); border: 1px solid #F7DFB8; border-radius: 12px; font-size: 13px; color: #7A4C09; }
.cause-list { display: grid; gap: 12px; }
.cause-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cause-item .icon { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.cause-item strong { display: block; font-size: 14px; color: var(--ink); }
.cause-item span { font-size: 12.5px; color: var(--muted); }

/* Noticias */
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.article { max-width: 820px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.article h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.article p { font-size: 16.5px; line-height: 1.8; margin-bottom: 18px; }
.article .lead { font-size: 18.5px; color: var(--text); font-weight: 500; }
.article-back { margin-top: 40px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq-item summary { cursor: pointer; padding: 18px 0; font-size: 15px; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--blue); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 0 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Animaciones */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
    .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .campus-grid, .news-grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.8fr 1fr 1fr; }
    .footer-contact { grid-column: span 3; }
    .main-nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-campus { display: none; }
    .split { gap: 40px; }
    .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .topbar-links { display: none; }
    .topbar-inner { justify-content: center; }
    .split { grid-template-columns: 1fr; }
    .split.reverse .split-media { order: 0; }
    .split-media img { max-height: 420px; }
    .hero-inner { padding: 74px 0 66px; }
    .hero-stats { gap: 16px 32px; }
    .hero-stat strong { font-size: 26px; }
    .page-hero { padding: 58px 0 62px; }
    .founder-card { grid-template-columns: 1fr; }
    .founder-card img { height: 300px; }
    .mission-grid, .values-grid { grid-template-columns: 1fr; }
    .contact-grid, .donate-grid { grid-template-columns: 1fr; }
    .news-list { grid-template-columns: 1fr; }
    .feature-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pre-footer-actions { width: 100%; }
}

@media (max-width: 720px) {
    .container { padding: 0 18px; }
    .section, .content-section { padding: 58px 0; }
    .brand-logo { height: 52px; }
    .brand-text strong { font-size: 12px; }
    .header-actions .btn-primary { display: none; }
    .main-nav.is-open {
        display: flex; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 12px 18px 18px; box-shadow: var(--shadow-md);
    }
    .main-nav.is-open .nav-link { padding: 12px 14px; }
    .hero { min-height: auto; }
    .hero h1 { font-size: 38px; }
    .hero-lead { font-size: 15.5px; }
    .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .pillar-grid, .campus-grid, .news-grid, .course-grid, .project-grid, .theme-grid, .impact-grid, .feature-grid, .steps-grid { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 34px; }
    .campus-head { flex-direction: column; align-items: flex-start; }
    .cta-inner, .pre-footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-brand, .footer-contact { grid-column: span 2; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: span 1; }
    .page-hero h1 { font-size: 32px; }
    .article p { font-size: 15.5px; }
}
