* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .15em; }
.hp { display: none !important; }
.hd { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; flex-wrap: wrap; padding: 1rem clamp(16px, 3vw, 2.5rem); }
.brand img { height: clamp(46px, 5.5vw, 78px); width: auto; }
.nav { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav a { text-decoration: none; }
.sec-body p { margin: 0 0 1.1rem; }
.foto { margin: 0; }
.foto img { width: 100%; }
.foto figcaption { font-size: .85rem; padding: .5rem clamp(16px, 3vw, 2.5rem); }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-size: .95rem; }
input, textarea { font: inherit; padding: .7rem .8rem; width: 100%; border-radius: 0; }
button, .btn { font: inherit; cursor: pointer; display: inline-block; text-decoration: none; padding: .7rem 1.6rem; justify-self: start; }
.apoyo { display: flex; align-items: center; justify-content: center; gap: 1.2rem 2.5rem; flex-wrap: wrap; padding: 2rem 16px; text-align: center; }
.apoyo p { margin: 0; max-width: 26rem; }
.apoyo img { width: clamp(220px, 28vw, 320px); }
/* TERMINAL — negro, verde fósforo del logo, tipografía monoespaciada */
:root { --g: #00f485; --g2: #00a85c; --ink: #d8dcd9; --bg: #050705; --mut: #7c867f; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.75 "IBM Plex Mono", ui-monospace, Menlo, monospace; }
/* líneas de barrido muy sutiles, como monitor */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
::selection { background: var(--g); color: #000; }

/* Marca Media Lab / PUJ: misma tipografía y colores del logo */
.mlb { font-family: "Chakra Petch", sans-serif; text-transform: uppercase; white-space: nowrap; letter-spacing: .02em; }
.mlb b { font-weight: 700; color: #fff; }
.mlb i { font-style: normal; font-weight: 400; color: var(--g); }

.hd { background: rgba(5,7,5,.94); border-bottom: 1px solid var(--g2); }
.nav a { color: var(--g); font-size: .95rem; }
.nav a::before { content: "[ "; color: var(--mut); }
.nav a::after { content: " ]"; color: var(--mut); }
.nav a:hover { background: var(--g); color: #000; }
.nav a:hover::before, .nav a:hover::after { color: #000; }

main { max-width: 980px; margin: 0 auto; padding: 2.5rem 16px 1rem; }

/* ventana de terminal para la foto */
.win { border: 1px solid var(--g2); background: #0b0f0c; box-shadow: 0 0 40px rgba(0,244,133,.08); }
.win-bar { display: flex; align-items: center; gap: .8rem; padding: .45rem .8rem; border-bottom: 1px solid var(--g2); background: #0f1611; }
.dots { display: flex; gap: .4rem; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--g2); }
.dots i:first-child { background: var(--g); border-color: var(--g); }
.win-title { color: var(--mut); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foto img { filter: saturate(.85) contrast(1.05); }
.foto figcaption { color: var(--mut); font-size: .8rem; padding: .5rem .8rem; border-top: 1px solid #16261b; }

.sec { padding: 3.5rem 0 .5rem; }
.prompt { margin: 0 0 1rem; font-size: .85rem; color: var(--mut); }
.prompt .u { color: var(--g); } .prompt .d { color: #6fa8ff; }
.cursor { display: inline-block; width: .6em; height: 1.1em; background: var(--g); vertical-align: -.2em; margin-left: .3em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

.mlb-h1 { margin: 0 0 1.6rem; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.05; }
.mlb-h1 .mlb { white-space: normal; }
h2 { font: 600 clamp(1.4rem, 3.6vw, 2rem)/1.2 "IBM Plex Mono", monospace; color: var(--g); margin: 0 0 .4rem; }
h2::before { content: "> "; color: var(--mut); }
h2 a { text-decoration: none; }
h2 a:hover { text-decoration: underline; }
.sub { color: var(--mut); margin: 0 0 1.4rem; font-size: .9rem; }
.sec-body { max-width: 46rem; }
.sec-body strong { color: #fff; font-weight: 600; }
.sec-body strong.tag { color: var(--g); }
.sec-body .mlb { font-size: 1.08em; }

.btn, button { background: transparent; color: var(--g); border: 1px solid var(--g); font-family: inherit; }
.btn:hover, button:hover { background: var(--g); color: #000; }
label { color: var(--g); font-size: .9rem; }
label::after { content: ""; }
input, textarea { background: #0b0f0c; color: #fff; border: 1px solid #1d3325; caret-color: var(--g); }
input:focus, textarea:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 1px var(--g); }
.contacto { padding-bottom: 4rem; }
.contacto form { max-width: 36rem; }

.nav a[aria-current="page"] { background: var(--g); color: #000; }
.nav a[aria-current="page"]::before, .nav a[aria-current="page"]::after { color: #000; }
.h1-term { font: 600 clamp(1.8rem, 5vw, 2.6rem)/1.2 "IBM Plex Mono", monospace; color: var(--g); margin: 0 0 1.6rem; }
.h1-term::before { content: "> "; color: var(--mut); }
/* franja de apoyo: estética terminal; el logo Javeriana conserva sus colores */
.apoyo { background: #0b0f0c; color: var(--ink); border-top: 1px solid var(--g2); font-size: .9rem; padding: 2.2rem 16px; }
.apoyo p { text-align: left; }
.prompt-mini { color: var(--g); }
.apoyo-logo { display: block; }
.apoyo-logo img { width: clamp(220px, 26vw, 300px); }
.nav { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) { .nav { gap: .3rem .6rem; justify-content: flex-start; } .nav a { font-size: .85rem; } }
