:root{
  --navy:#071a2f;--navy-2:#0d2a48;--blue:#1378d4;--cyan:#49c6e5;--ink:#102235;
  --muted:#65758b;--paper:#ffffff;--soft:#f4f7fa;--line:#dfe7ef;--radius:18px;
  --shadow:0 18px 45px rgba(7,26,47,.10);--max:1180px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.6}
img{max-width:100%;display:block}.container{width:min(var(--max),calc(100% - 36px));margin:auto}
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid rgba(223,231,239,.8)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:24px}.brand img{width:205px}.main-nav{display:flex;gap:22px;align-items:center}.main-nav a{color:var(--ink);font-size:.93rem;font-weight:650;text-decoration:none}.main-nav a:hover{color:var(--blue)}.menu-toggle{display:none;border:0;background:none;font-size:1.7rem}
.hero{min-height:88vh;position:relative;display:flex;align-items:center;background:linear-gradient(110deg,#06182d 0%,rgba(7,26,47,.88) 47%,rgba(7,26,47,.45) 100%),url("../images/hero.jpg") center/cover no-repeat;color:#fff;margin-top:76px;overflow:hidden}
.hero:after{content:"";position:absolute;inset:auto -8% -20% 35%;height:80%;background:radial-gradient(circle at center,rgba(73,198,229,.24),transparent 58%);pointer-events:none}.hero-overlay{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px}
.hero-content{position:relative;z-index:2;max-width:870px;padding:90px 0}.eyebrow,.section-kicker{display:inline-block;text-transform:uppercase;letter-spacing:.14em;font-size:.76rem;font-weight:800;color:var(--blue);margin-bottom:12px}.hero .eyebrow{color:#8fe7f9}.hero h1{font-size:clamp(3rem,7vw,6.3rem);line-height:.96;margin:0 0 18px;letter-spacing:-.055em}.hero-subtitle{font-size:clamp(1.25rem,2.2vw,1.85rem);max-width:850px;color:#d9edf7;margin:0 0 20px}.hero-copy{max-width:800px;color:#c9d7e4;font-size:1.05rem}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;border-radius:999px;text-decoration:none;font-weight:800;transition:.25s}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{transform:translateY(-2px);background:#0d69bc}.btn-secondary{border:1px solid rgba(255,255,255,.55);color:#fff}.btn-secondary:hover{background:#fff;color:var(--navy)}.btn-light{background:#fff;color:var(--navy)}
.section{padding:92px 0}.section-alt{background:var(--soft)}.section h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;letter-spacing:-.04em;margin:0 0 28px}.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}.split p{font-size:1.13rem;color:var(--muted);margin-top:0}.text-link{color:var(--blue);font-weight:800;text-decoration:none}
.research-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.research-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px;min-height:290px;transition:.25s}.research-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.research-card .icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;display:grid;place-items:center;font-weight:900;margin-bottom:24px}.research-card h3{font-size:1.08rem;line-height:1.25}.research-card p{color:var(--muted);font-size:.92rem}
.metrics{background:var(--navy);color:#fff;padding:42px 0}.metric-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.metric-grid div{padding:18px;border-left:1px solid rgba(255,255,255,.15)}.metric-grid strong{display:block;font-size:2.2rem}.metric-grid span{color:#aebed0;font-size:.9rem}
.project-grid,.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.project-card,.news-grid article{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 22px rgba(7,26,47,.05)}.project-visual{height:210px;background:linear-gradient(135deg,#0b2846,#1378d4)}.project-visual.p2{background:linear-gradient(135deg,#19485a,#54a8a3)}.project-visual.p3{background:linear-gradient(135deg,#2d215e,#458bd1)}.pad{padding:24px}.tag{font-size:.73rem;text-transform:uppercase;letter-spacing:.1em;color:var(--blue);font-weight:900}.project-card h3{margin:.5rem 0}.project-card p{color:var(--muted)}
.pub-list{display:grid;gap:14px}.pub-list article{padding:22px 24px;border-radius:14px;background:#fff;border:1px solid var(--line)}.pub-list span{color:var(--blue);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.pub-list h3{margin:.45rem 0}.pub-list p{margin:0;color:var(--muted)}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.person{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;transition:.2s}.person:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.person img,.avatar{aspect-ratio:1/1;width:100%;object-fit:cover;border-radius:12px;background:linear-gradient(135deg,var(--navy-2),var(--blue))}.avatar{display:grid;place-items:center;color:#fff;font-size:2.2rem;font-weight:900}.person h3{font-size:1rem;line-height:1.25;margin:14px 2px 4px}.person p{margin:0 2px 4px;color:var(--muted);font-size:.9rem}
.gallery{display:grid;grid-template-columns:1.2fr .8fr 1fr;grid-template-rows:190px 190px;gap:14px}.gallery>div{border-radius:16px;display:flex;align-items:flex-end;padding:20px;color:#fff;font-weight:800;background:linear-gradient(145deg,#0b2846,#1378d4)}.gallery-a{grid-row:1/3}.gallery-d{grid-column:2/4}.institutions{display:flex;gap:14px;flex-wrap:wrap}.institutions span{padding:13px 18px;background:#fff;border:1px solid var(--line);border-radius:999px;font-weight:750}
.news-img{height:160px;background:linear-gradient(135deg,#dfeaf2,#bcd4e6)}.news-grid article{padding-bottom:22px}.news-grid article>*:not(.news-img){margin-left:22px;margin-right:22px}.news-grid small{display:block;margin-top:18px;color:var(--blue);font-weight:800}.news-grid h3{margin-top:7px}.news-grid p{color:var(--muted)}
.cta{background:linear-gradient(120deg,var(--navy),#0e3d67);color:#fff;padding:86px 0}.cta h2{font-size:clamp(2rem,4vw,3.6rem);margin:0 0 14px}.cta p{max-width:760px;color:#c7d8e6}.light{color:#8fe7f9}
.footer{background:#04111f;color:#d7e2eb;padding:58px 0 18px}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:50px}.footer img{width:190px;background:#fff;border-radius:8px;padding:6px}.footer h3{color:#fff}.footer a{display:block;color:#c9d7e4;text-decoration:none;margin:7px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:38px;padding-top:18px;color:#8192a5;font-size:.85rem}
.to-top{position:fixed;right:22px;bottom:22px;width:45px;height:45px;border-radius:50%;border:0;background:var(--blue);color:#fff;font-size:1.25rem;cursor:pointer;opacity:0;pointer-events:none;transition:.2s}.to-top.show{opacity:1;pointer-events:auto}
.reveal{opacity:0;transform:translateY(18px);transition:.6s}.reveal.visible{opacity:1;transform:none}
@media(max-width:1050px){.research-grid{grid-template-columns:repeat(2,1fr)}.team-grid{grid-template-columns:repeat(3,1fr)}.main-nav{gap:14px}.main-nav a{font-size:.84rem}}
@media(max-width:780px){.menu-toggle{display:block}.main-nav{position:absolute;top:76px;left:0;right:0;background:#fff;display:none;flex-direction:column;align-items:flex-start;padding:20px 24px;border-bottom:1px solid var(--line)}.main-nav.open{display:flex}.split{grid-template-columns:1fr;gap:18px}.metric-grid{grid-template-columns:repeat(2,1fr)}.project-grid,.news-grid{grid-template-columns:1fr}.team-grid{grid-template-columns:repeat(2,1fr)}.gallery{grid-template-columns:1fr;grid-template-rows:none}.gallery-a,.gallery-d{grid-row:auto;grid-column:auto}.footer-grid{grid-template-columns:1fr}.hero-content{padding:65px 0}.brand img{width:165px}}
@media(max-width:520px){.section{padding:68px 0}.research-grid,.team-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr}.hero h1{font-size:3rem}.hero{min-height:82vh}}



/* ==================================================
   ENAP-RG | PROYECTOS Y DESARROLLOS
   ================================================== */

.enap-projects {
    background: #ffffff;
}

.projects-header {
    max-width: 820px;
    margin-bottom: 42px;
}

.projects-header h2 {
    margin: 8px 0 14px;
}

.projects-header p,
.featured-projects-header p {
    color: #607086;
    line-height: 1.7;
    max-width: 760px;
}

.research-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 80px;
}

.research-area {
    position: relative;
    padding: 30px 26px;
    background: #f5f8fb;
    border: 1px solid #dde6ee;
    border-radius: 16px;
    min-height: 245px;
    transition: .25s ease;
}

.research-area:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(5, 34, 60, .09);
}

.area-number {
    font-size: .76rem;
    font-weight: 800;
    color: #1684d6;
    letter-spacing: .12em;
    margin-bottom: 26px;
}

.research-area h3 {
    color: #09243d;
    font-size: 1.16rem;
    line-height: 1.32;
    margin: 0 0 15px;
}

.research-area p {
    color: #66778a;
    font-size: .90rem;
    line-height: 1.65;
    margin: 0;
}

.featured-projects-header {
    margin-bottom: 30px;
}

.featured-projects-header h3 {
    font-size: 2.3rem;
    color: #09243d;
    margin: 7px 0 10px;
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.featured-project {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 27px;
    min-height: 390px;
    background: #ffffff;
    border: 1px solid #dce5ed;
    border-radius: 17px;
    transition: .25s ease;
}

.featured-project:hover {
    transform: translateY(-5px);
    border-color: #b9ccdc;
    box-shadow: 0 18px 44px rgba(4, 32, 57, .10);
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.project-type {
    color: #087dca;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.project-year {
    color: #8190a0;
    font-size: .75rem;
    font-weight: 700;
}

.featured-project h4 {
    color: #09243d;
    font-size: 1.22rem;
    line-height: 1.35;
    margin: 0 0 14px;
}

.featured-project > p {
    color: #66778a;
    line-height: 1.65;
    font-size: .89rem;
}

.project-result {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    padding: 14px 0;
    border-top: 1px solid #e6edf3;
    border-bottom: 1px solid #e6edf3;
}

.project-result strong {
    color: #0a7dcc;
    font-size: 1.35rem;
    white-space: nowrap;
}

.project-result span {
    color: #69798a;
    font-size: .77rem;
    line-height: 1.35;
}

.featured-project .project-members {
    margin-top: auto;
    padding-top: 10px;
    color: #45596c;
    font-size: .76rem;
    line-height: 1.45;
    font-weight: 600;
}

.featured-project a,
.project-status {
    display: inline-block;
    margin-top: 14px;
    color: #087dca;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
}

.featured-project a:hover {
    text-decoration: underline;
}

.project-status {
    color: #69798a;
}

@media (max-width: 1050px) {
    .research-areas {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-projects {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .research-areas,
    .featured-projects {
        grid-template-columns: 1fr;
    }

    .research-area,
    .featured-project {
        min-height: auto;
    }

    .featured-projects-header h3 {
        font-size: 1.9rem;
    }
}

/* ==================================================
   ENAP-RG | PUBLICACIONES DESTACADAS
   ================================================== */

.publications-section{
  background:#f5f8fb;
}

.publications-head{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);
  gap:54px;
  align-items:end;
  margin-bottom:34px;
}

.publications-head h2{
  margin:8px 0 0;
}

.publications-head > p{
  margin:0;
  max-width:680px;
  color:#607086;
  font-size:1rem;
  line-height:1.75;
}

.publications-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.publication-card{
  display:flex;
  flex-direction:column;
  min-height:360px;
  padding:26px;
  border:1px solid #dce5ed;
  border-radius:17px;
  background:#fff;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.publication-card:hover{
  transform:translateY(-5px);
  border-color:#bfd0df;
  box-shadow:0 18px 44px rgba(4,32,57,.09);
}

.publication-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:20px;
}

.publication-area{
  color:#087dca;
  font-size:.69rem;
  font-weight:800;
  letter-spacing:.09em;
}

.publication-year{
  color:#8292a3;
  font-size:.76rem;
  font-weight:700;
}

.publication-card h3{
  margin:0 0 14px;
  color:#09243d;
  font-size:1.08rem;
  line-height:1.42;
}

.publication-journal{
  margin:0 0 12px;
  color:#203d58;
  font-size:.86rem;
  font-weight:800;
}

.publication-authors{
  margin:0;
  color:#687a8d;
  font-size:.80rem;
  line-height:1.58;
}

.publication-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:20px 0 18px;
}

.publication-tags span{
  padding:6px 9px;
  border-radius:999px;
  background:#f3f7fa;
  border:1px solid #e0e8ef;
  color:#526679;
  font-size:.70rem;
  font-weight:700;
}

.publication-card a{
  margin-top:auto;
  color:#087dca;
  text-decoration:none;
  font-size:.82rem;
  font-weight:800;
}

.publication-card a:hover{
  text-decoration:underline;
}

.publications-footer{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid #dde6ee;
}

.publications-footer p{
  margin:0;
  color:#718295;
  font-size:.86rem;
  line-height:1.6;
}

@media(max-width:1050px){
  .publications-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:900px){
  .publications-head{
    grid-template-columns:1fr;
    gap:16px;
  }
}

@media(max-width:650px){
  .publications-grid{
    grid-template-columns:1fr;
  }
  .publication-card{
    min-height:auto;
  }
}


/* ==================================================
   ENAP-RG | EQUIPO
   ================================================== */
.team-section{
  background:#fff;
}

.team-header{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(420px,1.2fr);
  gap:56px;
  align-items:end;
  margin-bottom:34px;
}

.team-header h2{
  margin:8px 0 0;
}

.team-header > p{
  margin:0;
  color:#607086;
  line-height:1.75;
  max-width:720px;
}

.team-grid-detailed{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.person-detailed{
  overflow:hidden;
  border:1px solid #dce5ed;
  border-radius:16px;
  background:#fff;
  min-width:0;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.person-detailed:hover{
  transform:translateY(-4px);
  border-color:#c5d5e2;
  box-shadow:0 16px 38px rgba(4,32,57,.08);
}

.person-detailed > img,
.person-detailed > .avatar{
  width:100%;
  height:205px;
  object-fit:cover;
  display:block;
}

.person-detailed > .avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#0d3558,#148bd2);
  color:#fff;
  font-size:2.1rem;
  font-weight:800;
  letter-spacing:.06em;
}

.person-body{
  padding:18px 18px 20px;
}

.person-body h3{
  margin:0 0 8px;
  color:#09243d;
  font-size:1rem;
  line-height:1.35;
}

.person-institution{
  min-height:34px;
  margin:0 0 14px;
  color:#6a7b8d;
  font-size:.78rem;
  line-height:1.45;
}

.person-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:16px;
}

.person-tags span{
  padding:5px 8px;
  border:1px solid #e0e8ef;
  border-radius:999px;
  background:#f4f8fb;
  color:#486175;
  font-size:.68rem;
  font-weight:700;
}

.person-body a,
.profile-pending{
  color:#087dca;
  font-size:.77rem;
  font-weight:800;
  text-decoration:none;
}

.person-body a:hover{
  text-decoration:underline;
}

.profile-pending{
  color:#7b8997;
}

@media(max-width:1100px){
  .team-grid-detailed{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .team-header{
    grid-template-columns:1fr;
    gap:14px;
  }
}

@media(max-width:760px){
  .team-grid-detailed{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:520px){
  .team-grid-detailed{
    grid-template-columns:1fr;
  }
}


/* ==================================================
   ENAP-RG | INVESTIGACIÓN EN ACCIÓN
   ================================================== */

.gallery-section{
  background:#ffffff;
}

.action-head{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(380px,1.15fr);
  gap:56px;
  align-items:end;
  margin-bottom:32px;
}

.action-head h2{
  margin:8px 0 0;
}

.action-head > p{
  margin:0;
  max-width:720px;
  color:#607086;
  line-height:1.75;
}

.action-gallery{
  display:grid;
  grid-template-columns:1.25fr .75fr .75fr;
  grid-template-rows:250px 250px;
  gap:16px;
}

.action-card{
  position:relative;
  overflow:hidden;
  margin:0;
  border-radius:17px;
  background:#0b2944;
  min-height:0;
  box-shadow:0 12px 30px rgba(6,34,58,.08);
}

.action-card-main{
  grid-row:1 / 3;
}

.action-card-wide{
  grid-column:2 / 4;
}

.action-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .45s ease;
}

.action-card:hover img{
  transform:scale(1.035);
}

.action-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,24,41,.04) 30%,rgba(4,24,41,.88) 100%);
  pointer-events:none;
}

.action-card figcaption{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  padding:24px;
  color:#fff;
}

.action-card figcaption span{
  display:block;
  margin-bottom:7px;
  color:#83d8ff;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.11em;
}

.action-card figcaption h3{
  margin:0 0 6px;
  color:#fff;
  font-size:1.18rem;
  line-height:1.25;
}

.action-card-main figcaption h3{
  font-size:1.45rem;
}

.action-card figcaption p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:.79rem;
  line-height:1.45;
}

.action-note{
  margin:18px 0 0;
  color:#7b8997;
  font-size:.79rem;
  line-height:1.55;
}

@media(max-width:900px){
  .action-head{
    grid-template-columns:1fr;
    gap:14px;
  }
  .action-gallery{
    grid-template-columns:1fr 1fr;
    grid-template-rows:300px 220px 220px;
  }
  .action-card-main{
    grid-column:1 / 3;
    grid-row:auto;
  }
  .action-card-wide{
    grid-column:1 / 3;
  }
}

@media(max-width:600px){
  .action-gallery{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:none;
  }
  .action-card,
  .action-card-main,
  .action-card-wide{
    grid-column:auto;
    grid-row:auto;
    min-height:270px;
  }
}


/* ==================================================
   ENAP-RG | NOTICIAS Y ACTIVIDAD ACADÉMICA
   ================================================== */
.news-section{
  background:#f5f8fb;
}

.news-head{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(420px,1.2fr);
  gap:56px;
  align-items:end;
  margin-bottom:32px;
}

.news-head h2{
  margin:8px 0 0;
}

.news-head > p{
  margin:0;
  color:#607086;
  line-height:1.75;
  max-width:720px;
}

.news-grid{
  display:grid;
  grid-template-columns:1.15fr .925fr .925fr;
  gap:18px;
}

.news-card{
  display:flex;
  flex-direction:column;
  min-height:330px;
  padding:26px;
  background:#fff;
  border:1px solid #dce5ed;
  border-radius:17px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card:hover{
  transform:translateY(-4px);
  border-color:#c6d6e3;
  box-shadow:0 16px 38px rgba(4,32,57,.08);
}

.news-card-featured{
  background:linear-gradient(145deg,#0b2f50,#0d4772);
  border-color:transparent;
}

.news-card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:22px;
}

.news-type,
.news-date{
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
}

.news-type{
  color:#087dca;
}

.news-date{
  color:#8796a5;
}

.news-card h3{
  margin:0 0 14px;
  color:#09243d;
  font-size:1.14rem;
  line-height:1.38;
}

.news-card p{
  margin:0;
  color:#65778a;
  font-size:.86rem;
  line-height:1.66;
}

.news-card-featured .news-type{
  color:#7fdaff;
}

.news-card-featured .news-date{
  color:rgba(255,255,255,.65);
}

.news-card-featured h3{
  color:#fff;
}

.news-card-featured p{
  color:rgba(255,255,255,.78);
}

.news-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:20px 0 18px;
}

.news-tags span{
  padding:6px 9px;
  border:1px solid #e0e8ef;
  border-radius:999px;
  background:#f4f8fb;
  color:#526679;
  font-size:.68rem;
  font-weight:700;
}

.news-card-featured .news-tags span{
  color:#dcedf8;
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
}

.news-card a{
  margin-top:auto;
  color:#087dca;
  text-decoration:none;
  font-size:.79rem;
  font-weight:800;
}

.news-card-featured a{
  color:#80dcff;
}

.news-card a:hover{
  text-decoration:underline;
}

.news-strip{
  margin-top:20px;
  padding:18px 20px;
  border-left:3px solid #087dca;
  background:#fff;
  color:#68798a;
  font-size:.83rem;
  line-height:1.55;
}

.news-strip strong{
  color:#15344f;
}

@media(max-width:1050px){
  .news-grid{
    grid-template-columns:1fr 1fr;
  }
  .news-card-featured{
    grid-column:1 / 3;
  }
}

@media(max-width:900px){
  .news-head{
    grid-template-columns:1fr;
    gap:14px;
  }
}

@media(max-width:650px){
  .news-grid{
    grid-template-columns:1fr;
  }
  .news-card-featured{
    grid-column:auto;
  }
  .news-card{
    min-height:auto;
  }
}


/* ==================================================
   ENAP-RG | COLABORACIÓN, CONTACTO Y FOOTER
   ================================================== */

.collaboration-section{
  background:#f3f7fa;
}

.collaboration-head{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(420px,1.2fr);
  gap:56px;
  align-items:end;
  margin-bottom:30px;
}

.collaboration-head h2{
  margin:8px 0 0;
}

.collaboration-head > p{
  margin:0;
  color:#607086;
  line-height:1.75;
  max-width:720px;
}

.institution-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}

.institution-card{
  min-height:220px;
  padding:22px;
  background:#fff;
  border:1px solid #dbe5ed;
  border-radius:15px;
}

.institution-code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  height:30px;
  padding:0 10px;
  margin-bottom:18px;
  border-radius:999px;
  background:#eaf5fc;
  color:#087dca;
  font-size:.69rem;
  font-weight:800;
  letter-spacing:.08em;
}

.institution-card h3{
  margin:0 0 12px;
  color:#09243d;
  font-size:.98rem;
  line-height:1.35;
}

.institution-card p{
  margin:0;
  color:#687b8d;
  font-size:.78rem;
  line-height:1.58;
}

.contact-section{
  padding:72px 0;
  background:linear-gradient(135deg,#0a2c4a,#104f7d);
}

.contact-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);
  gap:64px;
  align-items:center;
}

.contact-copy h2{
  max-width:760px;
  margin:9px 0 18px;
  color:#fff;
}

.contact-copy > p{
  max-width:760px;
  margin:0;
  color:rgba(255,255,255,.80);
  font-size:1rem;
  line-height:1.72;
}

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.btn-outline-light{
  border:1px solid rgba(255,255,255,.48);
  color:#fff;
  background:transparent;
}

.btn-outline-light:hover{
  background:rgba(255,255,255,.09);
}

.contact-panel{
  display:grid;
  gap:1px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  background:rgba(255,255,255,.14);
}

.contact-panel-item{
  padding:20px 22px;
  background:rgba(3,25,43,.42);
}

.contact-panel-item span{
  display:block;
  margin-bottom:6px;
  color:#75d6ff;
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.10em;
}

.contact-panel-item strong{
  display:block;
  color:#fff;
  font-size:.94rem;
}

.contact-panel-item p{
  margin:6px 0 0;
  color:rgba(255,255,255,.70);
  font-size:.76rem;
  line-height:1.5;
}

.footer{
  background:#061827;
  color:#dbe7f0;
}

.footer-grid-modern{
  grid-template-columns:1.5fr .7fr .8fr 1.2fr;
  gap:44px;
  padding-top:48px;
  padding-bottom:38px;
}

.footer-brand img{
  width:155px;
  height:auto;
  margin-bottom:16px;
  background:#fff;
  border-radius:8px;
  padding:7px;
}

.footer h3{
  margin:0 0 15px;
  color:#fff;
  font-size:.92rem;
}

.footer p{
  margin:0 0 10px;
  color:#aebdca;
  font-size:.78rem;
  line-height:1.58;
}

.footer-small{
  max-width:360px;
  color:#7f93a5 !important;
}

.footer a{
  display:block;
  margin:0 0 9px;
  color:#c9d8e4;
  text-decoration:none;
  font-size:.78rem;
}

.footer a:hover{
  color:#79d4ff;
}

.footer-contact-link{
  margin-top:12px !important;
  color:#79d4ff !important;
  font-weight:800;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding-top:18px;
  padding-bottom:24px;
  border-top:1px solid rgba(255,255,255,.09);
  color:#71889a;
  font-size:.69rem;
}

@media(max-width:1120px){
  .institution-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .collaboration-head,
  .contact-layout{
    grid-template-columns:1fr;
    gap:18px;
  }

  .footer-grid-modern{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:650px){
  .institution-grid{
    grid-template-columns:1fr;
  }

  .footer-grid-modern{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    flex-direction:column;
  }
}


/* ==================================================
   ENAP-RG | PLANTILLA HOMOGÉNEA DE PERFILES
   ================================================== */

.profile-page{
  background:#fff;
}

.profile-page .site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
  border-bottom:1px solid #e2e9ef;
}

.profile-hero{
  padding:66px 0;
  background:
    radial-gradient(circle at 85% 20%,rgba(13,126,199,.11),transparent 25%),
    linear-gradient(135deg,#f7fafc 0%,#eef5f9 100%);
}

.profile-hero-grid{
  display:grid;
  grid-template-columns:310px minmax(0,1fr);
  gap:54px;
  align-items:center;
}

.profile-photo-wrap{
  padding:10px;
  background:#fff;
  border:1px solid #dbe5ec;
  border-radius:22px;
  box-shadow:0 18px 44px rgba(4,32,57,.09);
}

.profile-photo{
  width:100%;
  aspect-ratio:4/5;
  display:block;
  object-fit:cover;
  object-position:center top;
  border-radius:15px;
}

.profile-intro h1{
  max-width:850px;
  margin:8px 0 12px;
  color:#08233c;
  font-size:clamp(2.5rem,5vw,4.6rem);
  line-height:.98;
  letter-spacing:-.045em;
}

.profile-role{
  margin:0 0 4px;
  color:#173d5d;
  font-size:1.18rem;
  font-weight:800;
}

.profile-institution{
  margin:0;
  color:#66798b;
  font-size:1rem;
}

.profile-focus{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}

.profile-focus span{
  padding:8px 11px;
  border-radius:999px;
  background:#fff;
  border:1px solid #d7e3eb;
  color:#3f5e75;
  font-size:.76rem;
  font-weight:750;
}

.profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.btn-outline-dark{
  color:#113650;
  border:1px solid #aec0ce;
  background:transparent;
}

.btn-outline-dark:hover{
  background:#eaf3f8;
}

.profile-content-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:24px;
  align-items:start;
}

.profile-main-card,
.profile-side-card{
  padding:30px;
  border:1px solid #dce5ed;
  border-radius:18px;
  background:#fff;
}

.profile-main-card h2{
  margin:8px 0 18px;
}

.profile-main-card p{
  margin:0 0 14px;
  color:#607286;
  line-height:1.78;
}

.profile-list{
  margin:16px 0 0;
  padding:0;
  list-style:none;
}

.profile-list li{
  position:relative;
  padding:12px 0 12px 22px;
  border-bottom:1px solid #edf1f4;
  color:#536b7d;
  font-size:.86rem;
  line-height:1.5;
}

.profile-list li:last-child{
  border-bottom:0;
}

.profile-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:19px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#138bd1;
}

.profile-section-head{
  margin-bottom:24px;
}

.profile-section-head h2{
  margin:8px 0 0;
}

.education-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.education-card{
  padding:25px;
  min-height:165px;
  border-radius:16px;
  background:#fff;
  border:1px solid #dce5ed;
}

.education-year{
  color:#087dca;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
}

.education-card h3{
  margin:14px 0 8px;
  color:#0b2943;
  font-size:1.03rem;
}

.education-card p{
  margin:0;
  color:#687b8c;
  font-size:.85rem;
}

.profile-publications-head{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(380px,1.15fr);
  gap:50px;
  align-items:end;
  margin-bottom:28px;
}

.profile-publications-head h2{
  margin:8px 0 0;
}

.profile-publications-head > p{
  margin:0;
  color:#607286;
  line-height:1.7;
}

.profile-publications{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.profile-publication{
  display:flex;
  flex-direction:column;
  min-height:310px;
  padding:24px;
  border:1px solid #dce5ed;
  border-radius:16px;
  background:#fff;
}

.profile-publication-meta{
  margin-bottom:16px;
  color:#087dca;
  font-size:.71rem;
  font-weight:800;
  letter-spacing:.05em;
}

.profile-publication h3{
  margin:0 0 14px;
  color:#09243d;
  font-size:1rem;
  line-height:1.45;
}

.profile-publication p{
  margin:0;
  color:#687a8d;
  font-size:.78rem;
  line-height:1.6;
}

.profile-publication a{
  margin-top:auto;
  padding-top:18px;
  color:#087dca;
  font-size:.78rem;
  font-weight:800;
  text-decoration:none;
}

.profile-publication a:hover{
  text-decoration:underline;
}

.profile-collaboration{
  padding:58px 0;
  background:linear-gradient(135deg,#092d4c,#0d527f);
}

.profile-collaboration-box{
  display:flex;
  justify-content:space-between;
  gap:36px;
  align-items:center;
}

.profile-collaboration h2{
  margin:8px 0 12px;
  color:#fff;
}

.profile-collaboration p{
  max-width:780px;
  margin:0;
  color:rgba(255,255,255,.78);
  line-height:1.65;
}

.profile-footer-bottom{
  padding-top:22px;
}

.profile-footer-bottom a{
  margin:0;
  color:#79d4ff;
}

@media(max-width:950px){
  .profile-hero-grid{
    grid-template-columns:250px 1fr;
    gap:34px;
  }
  .profile-content-grid,
  .profile-publications-head{
    grid-template-columns:1fr;
  }
  .profile-publications{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:720px){
  .profile-hero-grid{
    grid-template-columns:1fr;
  }
  .profile-photo-wrap{
    max-width:320px;
  }
  .education-grid,
  .profile-publications{
    grid-template-columns:1fr;
  }
  .profile-collaboration-box{
    align-items:flex-start;
    flex-direction:column;
  }
}



/* ==================================================
   ENAP-RG | PERFILES V9
   ================================================== */
.profile-status{
  margin-top:20px !important;
  padding:13px 15px;
  border-left:3px solid #87a7bd;
  background:#f5f8fa;
  color:#6a7d8d !important;
  font-size:.79rem;
}
.publication-reference{
  display:block;
  margin-top:auto;
  padding-top:18px;
  color:#7a8c9b;
  font-size:.74rem;
  line-height:1.4;
}
.profile-publication-empty{
  min-height:220px;
  background:#f8fafc;
}
