:root{
  --bg:#07070a;
  --bg2:#0b0c12;
  --card:#0f1016;
  --card2:#121423;
  --text:#eef2f7;
  --muted:#a7b3c2;
  --line:#1b1e2a;
  --brand:#87b3ff;
  --brand-2:#9de1cf;
  --blue:#4997f0;
  --glow: rgba(157,225,207,.22);
  --shadow: 0 24px 60px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(73,151,240,.18) 0%, transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(157,225,207,.12) 0%, transparent 55%),
    linear-gradient(180deg,var(--bg),var(--bg2) 60%,var(--bg));
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
p{color:#d2dbe6; line-height:1.75}
/* Page title scale: real h1 + in-section display titles (e.g. h2.banner-adjacent) */
h1,
.heading-display{
  margin:.65rem 0 .75rem;
  font-size: clamp(2rem, 3.3vw + 1rem, 3.1rem);
  line-height:1.05;
  font-weight:800;
  color:#eaf2ff;
  letter-spacing:-.02em;
}
h2:not(.heading-display){
  margin:0;
  font-size:1.35rem;
  color:var(--blue);
  letter-spacing:-.01em;
}
.container{max-width:1260px; margin:0 auto; padding:0 20px}
.muted{color:var(--muted)}

/* Header */
.site-header{
  position:sticky; top:0; z-index:999;
  background:
    linear-gradient(180deg, rgba(255,255,255,.028) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8,9,14,.97), rgba(4,5,9,.94));
  backdrop-filter: blur(12px) saturate(124%);
  border-bottom:1px solid rgba(255,255,255,.055);
  box-shadow:
    0 1px 0 rgba(0,0,0,.45),
    0 6px 28px rgba(0,0,0,.22);
}
.site-header > .container{
  padding-top:6px;
  padding-bottom:6px;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(12px, 2.2vw, 28px);
  min-height:44px;
  padding:1px 0;
}
.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
  line-height:0;
}
/* Header logo: scoped to .site-header so footer .brand / .logo-wide rules stay intact */
.site-header .brand img{
  height:clamp(46px, 3.4vw + 26px, 64px);
  max-height:64px;
  width:auto;
  max-width:min(268px, 40vw);
  display:block;
  object-fit:contain;
  object-position:left center;
  filter:
    drop-shadow(0 2px 10px rgba(0,0,0,.55))
    drop-shadow(0 0 0.5px rgba(255,255,255,.06));
}
@media (max-width:768px){
  .site-header > .container{
    padding-top:5px;
    padding-bottom:5px;
  }
  .site-header .brand img{
    height:clamp(40px, 10.5vw, 48px);
    max-height:48px;
    max-width:min(210px, 60vw);
  }
  .topbar{
    min-height:42px;
    padding:1px 0;
    gap:10px;
  }
}
.logo-wide{height:64px; width:auto; display:block; object-fit:contain; filter: drop-shadow(0 10px 26px rgba(0,0,0,.35));}
.logo-wide-xl{height:80px}
.brand-footer{margin-bottom:10px}
.text-site-muted{color:var(--muted); max-width:46ch}
.text-site-muted-tight{margin:0 0 6px}
.text-site-muted-zero{margin:0}

nav[aria-label="Menú principal"]{
  display:flex;
  align-items:center;
  gap:2px 4px;
  flex-wrap:wrap;
  justify-content:flex-end;
  margin-left:auto;
  min-width:0;
}
.nav-link{
  padding:8px 11px;
  border-radius:10px;
  font-weight:600;
  font-size:.935rem;
  letter-spacing:.01em;
  line-height:1.25;
  color:var(--muted);
  transition: color .16s ease, background .16s ease;
}
.nav-link:hover,.nav-link:focus{color:var(--text); background:rgba(255,255,255,.07); outline:none}

.menu{position:relative}
.menu[aria-expanded="true"] .menu-panel{display:block}
.menu-button{display:flex; align-items:center; gap:6px; min-height:40px}
.caret{width:8px; height:8px; border:2px solid var(--muted); border-top:transparent; border-left:transparent; transform:rotate(45deg); margin-top:2px}
.menu-panel{
  display:none; position:absolute; top:calc(100% + 13px); left:0; min-width:372px;
  background:
    radial-gradient(640px 300px at 16% 4%, rgba(73,151,240,.16), transparent 60%),
    radial-gradient(480px 220px at 92% 10%, rgba(157,225,207,.1), transparent 66%),
    linear-gradient(180deg, rgba(17,19,31,.98), rgba(9,11,17,.98));
  border:1px solid rgba(255,255,255,.14);
  border-radius:15px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 34px 76px rgba(0,0,0,.56),
    0 12px 26px rgba(0,0,0,.26);
  padding:13px;
  overflow:hidden;
  backdrop-filter: blur(7px) saturate(116%);
}
.menu-panel:before{
  content:""; position:absolute; inset:-40px;
  background: radial-gradient(420px 260px at 20% 20%, rgba(157,225,207,.16), transparent 55%);
  pointer-events:none;
}
.menu-grid{display:grid; grid-template-columns:1fr; gap:11px; position:relative}
.menu-item{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  padding:14px 14px 13px;
  border-radius:13px;
  color:var(--text);
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  transition:transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.menu-item .menu-logo{
  margin-bottom:8px;
}
.menu-item:hover{
  background:linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.065));
  border-color:#ffffff2a;
  transform: translateY(-2px);
  box-shadow:0 16px 32px rgba(0,0,0,.28);
}
.menu-item h4{
  margin:0 0 4px;
  font-size:.97rem;
  font-weight:760;
  line-height:1.22;
  letter-spacing:.005em;
  color:#7db9ff;
}
.menu-item p{
  margin:0;
  color:rgba(207,217,231,.8);
  font-size:.83rem;
  line-height:1.5;
  display:block;
}
.menu-item:focus-visible{
  outline:2px solid rgba(139,191,255,.62);
  outline-offset:2px;
  border-color:rgba(139,191,255,.45);
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
}
.menu-item:focus-visible h4{
  color:#a9d2ff;
}

@media (min-width: 981px){
  #m-collections .menu-panel{
    min-width:372px;
    left:auto;
    right:0;
  }
  #m-collections .menu-grid{
    gap:12px;
  }
  #m-collections .menu-item{
    padding:14px 14px 13px;
  }
  #m-inst-2 .menu-panel{
    min-width:620px;
    left:auto;
    right:0;
  }
  #m-inst-2 .menu-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    column-gap:12px;
    row-gap:12px;
  }
  #m-inst-2 .menu-item{
    min-height:94px;
    padding:14px 13px 13px;
  }
  #m-inst-2 .menu-item h4{
    line-height:1.22;
  }
  #m-inst-2 .menu-item p{
    line-height:1.46;
  }
  #m-others .menu-panel{
    min-width:408px;
    padding:14px;
    left:auto;
    right:0;
  }
  #m-others .menu-grid{
    gap:12px;
  }
  #m-others .menu-item{
    padding:14px 14px 13px;
  }
}

.menu-logo{
  width:28px;
  height:28px;
  border-radius:8px;
  flex:0 0 auto;
}
.menu-logo-meteoritics{background:radial-gradient(120% 120% at 30% 30%, var(--brand-2) 0%, #5365c9 28%, #231b6e 62%, #0c0a14 100%)}
.menu-logo-tech{background:radial-gradient(120% 120% at 30% 30%, var(--brand-2) 0%, #53c9aa 28%, #1b6e58 62%, #0a1412 100%)}
.menu-logo-conservation{background:radial-gradient(120% 120% at 30% 30%, var(--brand-2) 0%, #c95353 28%, #6e2c1b 62%, #140a0a 100%)}
.menu-logo-campus{background:radial-gradient(120% 120% at 30% 30%, var(--brand-2) 0%, #5dc953 28%, #1c6e1b 62%, #0b140a 100%)}

.hamburger{
  display:none;
  flex-shrink:0;
  width:40px;
  height:40px;
  margin-left:6px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#e8edf5;
  font-size:1.05rem;
  line-height:1;
}
.hamburger:hover,.hamburger:focus-visible{
  background:rgba(255,255,255,.08);
  color:#fff;
  outline:none;
}
#mobileNav{
  display:none;
  border-top:1px solid rgba(255,255,255,.06);
}
#mobileNav:not([hidden]){display:block}
.mobile-nav-panel{
  background:linear-gradient(180deg, rgba(10,11,18,.98), rgba(5,6,10,.97));
  max-height:calc(100dvh - 64px);
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  box-shadow:0 20px 44px rgba(0,0,0,.42);
}
.mobile-nav-accordion{
  padding:8px 0 12px;
}
.mobile-nav-group{
  border-bottom:1px solid var(--line);
}
.mobile-nav-heading{
  margin:0;
}
.mobile-nav-toggle{
  width:100%;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 20px;
  border:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-size:1rem;
  font-weight:700;
  letter-spacing:.01em;
  text-align:left;
  cursor:pointer;
}
.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible{
  background:#ffffff08;
  outline:none;
}
.mobile-nav-toggle:focus-visible{
  box-shadow:inset 0 0 0 2px rgba(139,191,255,.42);
}
.mobile-nav-caret{
  width:9px;
  height:9px;
  border:2px solid var(--muted);
  border-top:transparent;
  border-left:transparent;
  transform:rotate(45deg);
  transition:transform .18s ease, border-color .18s ease;
  flex:0 0 auto;
}
.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-caret{
  transform:rotate(-135deg);
  border-color:var(--text);
}
.mobile-nav-links{
  list-style:none;
  margin:0;
  padding:0 0 8px;
}
.mobile-nav-links[hidden]{display:none}
.mobile-nav-links a{
  display:block;
  padding:12px 20px 12px 34px;
  border-top:1px solid rgba(255,255,255,.035);
  color:var(--muted);
  line-height:1.35;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible{
  color:var(--text);
  background:#ffffff08;
  outline:none;
}

@media (max-width: 980px){
  .site-header > .container{
    position:relative;
  }
  nav[aria-label="Menú principal"]{display:none}
  .hamburger{
    display:block;
    margin-left:auto;
  }
  #mobileNav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:1005;
  }
  .mobile-nav-panel{
    max-height:calc(100dvh - 58px);
  }
}

@media (max-width: 980px){
  body.mobile-menu-open{
    overflow:hidden;
  }
}

/* Hero / banner variants:
   - .banner--overlay: original overlaid composition (image-led)
   - .banner--full: split full-width variant */
.banner{width:100%; margin:26px 0 10px; display:flex; justify-content:center}
.banner > .container{
  width:100%;
  max-width:1260px;
  flex:1 1 auto;
  min-width:0;
}
.banner.banner--full .banner-wrap{
  position:relative;
  width:92%;
  max-width:1240px;
  min-width:0;
  border-radius:22px;
  overflow:hidden;
  border:0;
  background:
    radial-gradient(900px 400px at 0% 40%, rgba(73,151,240,.08), transparent 55%),
    linear-gradient(165deg, rgba(12,14,22,.98), rgba(6,7,12,.96));
  box-shadow: var(--shadow);
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  grid-template-rows: minmax(0, 1fr);
  gap:clamp(14px, 2.2vw, 22px);
  padding:clamp(14px, 2.2vw, 22px);
  align-items:stretch;
}
.banner.banner--full .banner-wrap--container{
  width:100%;
  max-width:none;
}
.banner.banner--full .banner-img{
  grid-column:2;
  grid-row:1;
  width:100%;
  height:100%;
  min-height:clamp(280px, 34vw, 400px);
  object-fit:cover;
  object-position:center;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.1);
  filter:saturate(1.04) contrast(1.04) brightness(.9);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.2),
    0 12px 36px rgba(0,0,0,.25);
}
.banner.banner--full .banner-img.banner-img-short{
  min-height:clamp(260px, 32vw, 360px);
}
.banner.banner--full .banner-img.banner-img-medium{
  min-height:clamp(275px, 33vw, 380px);
}
.banner.banner--full .banner-text{
  grid-column:1;
  grid-row:1;
  position:relative;
  inset:auto;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  max-width:none;
  min-width:0;
  padding:clamp(20px, 3vw, 32px) clamp(20px, 3vw, 34px);
  border-radius:16px;
  background:linear-gradient(165deg, rgba(18,20,34,.95), rgba(9,11,18,.97));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 16px 44px rgba(0,0,0,.32);
  backdrop-filter:blur(8px) saturate(132%);
  z-index:2;
}
.banner.banner--full .banner-text h1{
  margin:2px 0 12px;
  font-size: clamp(1.85rem, 2.8vw + 1rem, 3.05rem);
  line-height:1.06;
  font-weight:800;
  letter-spacing:-.02em;
  color:#f2f6ff;
  text-shadow:none;
}
.banner.banner--full .banner-text h3{
  margin:0 0 12px;
  font-size: clamp(1.4rem, 1.6vw + 1rem, 1.95rem);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.02em;
  color:#f2f6ff;
}
.banner.banner--full .banner-text .kicker{
  margin-bottom:10px;
  letter-spacing:.115em;
}
.banner.banner--full .banner-text .lead{
  max-width:48ch;
  line-height:1.62;
  margin:0 0 10px;
}
.banner.banner--full .banner-text .lead + .lead{
  font-size:.96rem;
  line-height:1.57;
  color:#bcc6d4;
  margin:0 0 14px;
}
.banner.banner--full .banner-text p:not(.lead){
  margin:0 0 14px;
  color:#d0d8e4;
  line-height:1.65;
  font-size:1.02rem;
  max-width:48ch;
}
.banner.banner--full .banner-text .cta-row{
  margin-top:14px;
  gap:10px;
}
.banner.banner--full .banner-text .cta-row .btn.primary{
  min-width:min(200px, 100%);
  justify-content:center;
  padding:12px 20px;
  font-size:.9rem;
  letter-spacing:.035em;
  box-shadow: 0 16px 40px rgba(73,151,240,.22);
}
.banner.banner--full .banner-text .cta-row.index-hero-dept-row{
  display:flex;
  flex-wrap:nowrap;
  justify-content:space-between;
  gap:8px;
  max-width:100%;
  overflow:hidden;
}
.banner.banner--full .banner-text .cta-row.index-hero-dept-row .btn.primary{
  flex:1 1 0;
  width:auto;
  min-width:0;
  justify-content:center;
  padding:10px 12px;
  font-size:.8rem;
  letter-spacing:.02em;
  white-space:nowrap;
}
.banner.banner--full .banner-text > .btn{
  margin-top:12px;
  align-self:flex-start;
}
.banner.banner--full .banner-text > .btn.primary{
  box-shadow: 0 16px 40px rgba(73,151,240,.22);
}

.banner.banner--overlay .banner-wrap{
  position:relative;
  width:92%;
  max-width:1240px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:#0b0d13;
  box-shadow: var(--shadow);
}
.banner.banner--overlay .banner-wrap--container{
  width:100%;
  max-width:none;
}
.banner.banner--overlay .banner-img{
  width:100%;
  height:530px;
  object-fit:cover;
  object-position:center;
  filter:saturate(1.05) contrast(1.05) brightness(.85);
  transform: scale(1.02);
}
.banner.banner--overlay .banner-img.banner-img-short{height:460px}
.banner.banner--overlay .banner-img.banner-img-medium{height:500px}
.banner.banner--overlay .banner-text{
  position:absolute;
  inset:auto auto 26px 26px;
  max-width: min(720px, calc(100% - 52px));
  padding:20px 24px;
  border-radius:16px;
  background:linear-gradient(165deg, rgba(16,20,35,.86), rgba(9,12,21,.9));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 16px 44px rgba(0,0,0,.34);
  backdrop-filter:blur(8px) saturate(125%);
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:700;
  font-size:.8rem;
  color:#a6edd9;
  margin-bottom:10px;
}
.kicker-dot{
  width:8px;height:8px;border-radius:99px;
  background:var(--brand);
  box-shadow: 0 0 0 6px rgba(157,225,207,.12);
}
.lead{
  margin:0 0 14px;
  color:#d6deea;
  line-height:1.6;
  font-size:1.05rem;
}
.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:8px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 15px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.12);
  color:#e6eef9;
  font-weight:700;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}
.btn:not(.primary):hover,
.btn:not(.primary):focus-visible{
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.36);
  color:#f2f6ff;
  box-shadow:0 10px 22px rgba(0,0,0,.28);
  transform: translateY(-1px);
}
.btn:not(.primary):focus-visible{
  outline:none;
}
.btn.primary{
  border:0;
  background:linear-gradient(180deg, rgba(73,151,240,.98), rgba(28,60,170,.92));
  box-shadow: 0 16px 40px rgba(73,151,240,.20);
}
.btn.primary:hover{filter:brightness(1.08)}
.btn .icon{width:18px;height:18px; opacity:.95}

@media (max-width: 900px){
  .banner.banner--full .banner-wrap{
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    gap:12px;
    padding:14px;
  }
  .banner.banner--full .banner-text{
    grid-column:1;
    grid-row:1;
    justify-content:flex-start;
    padding:20px 20px 18px;
  }
  .banner.banner--full .banner-img{
    grid-column:1;
    grid-row:2;
    height:auto;
    min-height:min(44vw, 260px);
    max-height:min(52vw, 300px);
  }
  .banner.banner--full .banner-img.banner-img-short{
    min-height:min(40vw, 240px);
    max-height:min(48vw, 280px);
  }
  .banner.banner--full .banner-img.banner-img-medium{
    min-height:min(42vw, 250px);
    max-height:min(50vw, 290px);
  }
  .banner.banner--overlay .banner-img{
    height:340px;
    transform:none;
  }
  .banner.banner--overlay .banner-img.banner-img-short{height:300px}
  .banner.banner--overlay .banner-img.banner-img-medium{height:320px}
  .banner.banner--overlay .banner-text{
    inset:auto 16px 16px 16px;
    max-width:none;
    padding:16px 16px 14px;
  }
  .banner.banner--full .banner-text .cta-row.index-hero-dept-row{
    flex-wrap:wrap;
    gap:10px;
    overflow:visible;
  }
  .banner.banner--full .banner-text .cta-row.index-hero-dept-row .btn.primary{
    flex:1 1 auto;
    min-width:min(200px, 100%);
    padding:12px 20px;
    font-size:.9rem;
    letter-spacing:.035em;
  }
}
@media (max-width: 560px){
  .banner.banner--full .banner-wrap{
    padding:12px;
    gap:10px;
  }
  .banner.banner--full .banner-text{
    padding:16px 16px 14px;
    border-radius:14px;
  }
  .banner.banner--full .banner-img,
  .banner.banner--full .banner-img.banner-img-short,
  .banner.banner--full .banner-img.banner-img-medium{
    border-radius:12px;
    min-height:200px;
    max-height:min(56vw, 240px);
  }
  .banner.banner--full .banner-text .lead{
    margin-bottom:10px;
    line-height:1.55;
    max-width:none;
  }
  .banner.banner--full .banner-text .lead + .lead{
    margin-bottom:12px;
    font-size:.93rem;
  }
  .banner.banner--full .banner-text .cta-row{
    margin-top:12px;
    gap:8px;
  }
  .banner.banner--full .banner-text .cta-row .btn.primary{
    width:100%;
    min-width:0;
  }
  .banner.banner--overlay .banner-img{
    height:240px;
  }
  .banner.banner--overlay .banner-text{
    inset:auto 12px 12px 12px;
  }
}

/* Department-like entry heroes: prevent overlay panel clipping on phones */
@media (max-width: 760px){
  main > .banner.banner--overlay:first-child{
    margin-top:30px;
  }
  main > .banner.banner--overlay:first-child .banner-wrap{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
  }
  main > .banner.banner--overlay:first-child .banner-img{
    height:clamp(220px, 56vw, 280px);
    transform:none;
  }
  main > .banner.banner--overlay:first-child .banner-img.banner-img-short{
    height:clamp(200px, 52vw, 250px);
  }
  main > .banner.banner--overlay:first-child .banner-img.banner-img-medium{
    height:clamp(210px, 54vw, 265px);
  }
  main > .banner.banner--overlay:first-child .banner-text{
    position:relative;
    inset:auto;
    max-width:none;
    margin:0;
    border-radius:0 0 16px 16px;
  }
}

@media (min-width: 768px) and (max-width: 1024px){
  .sobre-hero-banner .banner-text .cta-row.sobre-hero-actions{
    display:flex;
    flex-wrap:nowrap;
    align-items:stretch;
    gap:8px;
    width:100%;
    min-width:0;
  }
  .sobre-hero-banner .banner-text .cta-row.sobre-hero-actions .btn{
    flex:1 1 0;
    width:auto;
    min-width:0;
    white-space:nowrap;
    padding:8px 8px;
    font-size:.86rem;
    letter-spacing:normal;
    justify-content:center;
  }
  .banner.banner--full.sobre-hero-banner .banner-text .cta-row.sobre-hero-actions .btn,
  .banner.banner--full.sobre-hero-banner .banner-text .cta-row.sobre-hero-actions .btn.primary{
    flex:1 1 0;
    width:auto;
    min-width:0;
  }
  .banner.banner--full.sobre-hero-banner .banner-wrap{
    grid-template-columns:minmax(0,1.18fr) minmax(0,.88fr);
    gap:12px;
  }
  .banner.banner--full.sobre-hero-banner .banner-text{
    padding:16px 14px;
  }
}

/* Sections */
.section{padding:36px 0}
.section.section-continues{padding-top:0}

/* Laboratory page — rhythm, gallery anchor, cap density (laboratorio.html; IDs in main) */
main:has(#lab-services-heading) .content-stream{
  gap:22px;
}
main:has(#lab-services-heading) .card-inner.prose-flow{
  padding:22px 22px 24px;
}
@media (max-width: 760px){
  main:has(#lab-services-heading) .card-inner.prose-flow{
    padding:18px;
  }
}
main:has(#lab-services-heading) .prose-flow > .section-title,
main:has(#lab-services-heading) .prose-flow > header.section-title{
  margin-bottom:16px;
}
main:has(#lab-services-heading) .prose-flow > .section-title .section-sub,
main:has(#lab-services-heading) .prose-flow > header.section-title .section-sub{
  max-width:62ch;
  line-height:1.65;
}
main:has(#lab-services-heading) .prose-flow > .grid-2{
  margin-top:14px;
  column-gap:18px;
  row-gap:20px;
}
main:has(#lab-services-heading) .content-stream > .grid-2{
  margin-top:0;
  column-gap:20px;
  row-gap:20px;
  align-items:stretch;
  grid-template-columns:minmax(0, 1.08fr) minmax(0, 0.92fr);
}
@media (max-width: 980px){
  main:has(#lab-services-heading) .content-stream > .grid-2{
    grid-template-columns:1fr;
    row-gap:20px;
  }
}
main:has(#lab-services-heading) .prose-flow > .divider{
  margin:22px 0;
}
main:has(#lab-services-heading) aside.card .prose-flow > .divider{
  margin:14px 0;
  opacity:.92;
}
main:has(#lab-services-heading) .stack-rhythm{
  gap:14px;
  margin-bottom:6px;
}
main:has(#lab-services-heading) .stack-rhythm > h2{
  margin:0;
}
main:has(#lab-services-heading) .cap-grid{
  gap:16px;
  margin-top:10px;
}
main:has(#lab-services-heading) .cap-grid > .cap-card{
  min-height:0;
  padding:18px 18px 20px;
}
main:has(#lab-services-heading) .tile p{
  font-size:.95rem;
  line-height:1.68;
  color:#c8d4e2;
}
main:has(#lab-services-heading) .research-module{
  padding:22px 22px 22px;
}
main:has(#lab-services-heading) .content-stream > .grid-2 > .fade-up .research-module{
  padding:24px 24px 24px;
}
main:has(#lab-services-heading) .research-module .research-body{
  margin:0 0 18px;
  max-width:58ch;
  font-size:.98rem;
  line-height:1.68;
  color:#c5ced9;
}
main:has(#lab-services-heading) .research-header{
  margin-bottom:8px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.055);
  gap:6px;
  flex-wrap:wrap;
  align-items:baseline;
}
main:has(#lab-services-heading) .research-title{
  font-size:1.26rem;
  letter-spacing:-.014em;
  font-weight:800;
  color:#eef3fa;
}
main:has(#lab-services-heading) .research-meta{
  font-size:.86rem;
  letter-spacing:.04em;
  opacity:.92;
}
main:has(#lab-services-heading) .research-gallery{
  gap:12px;
}
main:has(#lab-services-heading) .research-gallery > .research-figure.grid-full:first-child .research-image{
  height:clamp(252px, 31vw, 308px);
}
main:has(#lab-services-heading) .research-gallery .research-figure:not(.grid-full) .research-image{
  height:212px;
}
main:has(#lab-services-heading) .research-gallery .research-figure:nth-child(2) .research-image{
  filter:brightness(.93) saturate(.96);
}
main:has(#lab-services-heading) .research-gallery .research-caption{
  font-size:.89rem;
  line-height:1.48;
  letter-spacing:.01em;
  padding:9px 11px;
}
main:has(#lab-services-heading) aside.card .card-inner.prose-flow{
  padding:24px 26px 28px;
}
main:has(#lab-services-heading) aside.card .prose-flow > h2{
  margin:0 0 14px;
  letter-spacing:-.02em;
}
main:has(#lab-services-heading) aside.card .prose-flow > .editorial-flow{
  margin-bottom:8px;
  max-width:54ch;
}
main:has(#lab-services-heading) aside.card .editorial-flow p{
  margin:0 0 12px;
  line-height:1.68;
  font-size:.98rem;
}
main:has(#lab-services-heading) aside.card .editorial-flow p:last-child{
  margin-bottom:0;
}
main:has(#lab-services-heading) aside.card .stack-rhythm{
  gap:8px;
  margin-bottom:0;
}
main:has(#lab-services-heading) aside.card .stack-rhythm .cap-title{
  font-size:1.02rem;
  margin-bottom:1px;
  color:#e2ebf8;
}
main:has(#lab-services-heading) aside.card .quick-link-row{
  padding:12px 2px;
  font-size:.96rem;
}
main:has(#lab-services-heading) aside.card .prose-flow > .tile-featured{
  margin-top:6px;
  padding:17px 18px 18px;
  border-color:rgba(255,255,255,.11);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
}
main:has(#lab-services-heading) aside.card .tile-featured .cap-title{
  margin-top:0;
  margin-bottom:8px;
  font-size:1.04rem;
}
main:has(#lab-services-heading) aside.card .tile-featured p:last-of-type{
  margin-bottom:0;
}
main:has(#lab-services-heading) aside.card .prose-flow p{
  line-height:1.7;
}
@media (max-width: 820px){
  main:has(#lab-services-heading) .research-gallery > .research-figure.grid-full:first-child .research-image{
    height:min(48vw, 248px);
  }
  main:has(#lab-services-heading) .research-gallery .research-figure:not(.grid-full) .research-image{
    height:192px;
  }
  main:has(#lab-services-heading) .content-stream > .grid-2 > .fade-up .research-module{
    padding:20px 18px 20px;
  }
}
@media (max-width: 760px){
  main:has(#lab-services-heading) aside.card .card-inner.prose-flow{
    padding:20px 18px 22px;
  }
}
.section-title{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-bottom:14px;
}
.section-sub{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  max-width: 70ch;
}
.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  margin:18px 0;
}

/* Cards / tiles */
.grid{display:grid; grid-template-columns: 1.4fr 1fr; gap:18px}
@media (max-width: 980px){ .grid{grid-template-columns:1fr} }
.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:16px;
  row-gap:22px;
  margin-top:18px;
}
@media (max-width: 980px){ .grid-2{grid-template-columns:1fr} }

/* Vertical rhythm when a full card follows a 2-column grid */
.container > .grid-2 + .card{
  margin-top:24px;
}
@media (max-width: 980px){
  .container > .grid-2 + .card{
    margin-top:20px;
  }
}

.card{
  position:relative;
  border-radius: var(--radius);
  border:1px solid #ffffff14;
  background:
    radial-gradient(700px 340px at 20% 0%, rgba(157,225,207,.10), transparent 55%),
    linear-gradient(180deg, rgba(18,20,35,.86), rgba(10,10,14,.92));
  box-shadow: 0 20px 52px rgba(0,0,0,.45);
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(520px 260px at 85% 10%, rgba(73,151,240,.16), transparent 60%);
  pointer-events:none;
  opacity:.95;
}
.card-inner{position:relative; padding:18px}

.choice{
  border-radius:18px;
  border:1px solid #ffffff14;
  background: rgba(255,255,255,.05);
  padding:18px;
  transition:.18s ease;
  min-height: 240px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.choice:hover{
  transform: translateY(-3px);
  border-color:#ffffff22;
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 44px rgba(0,0,0,.35);
}
.choice h2{margin:0 0 8px; font-size:1.25rem; color:#eaf2ff; letter-spacing:-.01em}
.choice p{margin:0; color:var(--muted); line-height:1.65}
.choice p + p{margin-top:10px}

/* Comfortable padding variant for dense hub / panel cards */
.choice--comfort{
  padding:22px 24px 24px;
  min-height:260px;
}
/* Badge → heading → body vertical rhythm inside cards (choice, tile, etc.) */
.stack-rhythm{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  width:100%;
}
.stack-rhythm > .badge{
  flex-shrink:0;
}
.stack-rhythm > h2{
  margin:0;
  line-height:1.28;
}
.stack-rhythm > p{
  margin:0;
  align-self:stretch;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.stack-rhythm > .bullets,
.stack-rhythm > .link-stack{
  margin:0;
  align-self:stretch;
  width:100%;
}
.stack-rhythm > .bullets li{margin:10px 0}
.stack-rhythm > .bullets li:first-child{margin-top:2px}
.stack-rhythm > .bullets li:last-child{margin-bottom:2px}

.menu-panel-image{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  margin-bottom:12px;
}
/* tech.html hub (.choice): cap image height so visuals support copy (same pattern on any hub page) */
.choice .menu-panel-image{
  display:block;
  max-height:min(200px, 34vw);
  object-fit:cover;
}

.mini-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px}
@media (max-width: 980px){ .mini-grid{grid-template-columns:1fr} }

.tile{
  border:1px solid #ffffff14;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:16px;
  padding:14px;
  transition: .18s ease;
}
.tile:hover{
  transform: translateY(-2px);
  border-color:#ffffff22;
  box-shadow: 0 20px 44px rgba(0,0,0,.35);
}
.tile-top{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px}
.tile h3{margin:2px 0 8px; font-size:1.05rem; color:#d9e7ff}

.badge{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #ffffff18;
  background: rgba(157,225,207,.10);
  color:#c8f4e6;
  margin-bottom:10px;
}
.tile-top .badge{margin-bottom:0}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #ffffff18;
  background:#ffffff08;
  color:#e2ebf7;
  font-size:.92rem;
  font-weight:700;
}
.bullets{margin:0; padding:0 0 0 18px; color:#d2dbe6}
.bullets li{margin:8px 0}
.bullets-top-spaced{margin-top:12px}

/* Institutional capability cards */
.cap-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:12px;
}
.cap-grid.cap-grid--four{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1180px){
  .cap-grid.cap-grid--four{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width: 980px){
  .cap-grid,
  .cap-grid.cap-grid--four{grid-template-columns:1fr}
}
.cap-card{
  position:relative;
  border-radius:18px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(157,225,207,.10), transparent 55%),
    linear-gradient(180deg, rgba(18,20,35,.86), rgba(10,10,14,.92));
  box-shadow: 0 20px 52px rgba(0,0,0,.45);
  overflow:hidden;
  padding:16px 16px 14px;
  min-height: 270px;
}
.cap-card:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(420px 240px at 85% 10%, rgba(73,151,240,.16), transparent 60%);
  pointer-events:none;
  opacity:.95;
}
.cap-head{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.cap-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #ffffff18;
  background: rgba(255,255,255,.06);
  color:#cfe3ff;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.78rem;
}
.cap-icon{
  width:58px;
  height:58px;
  border-radius:16px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(110px 80px at 30% 25%, rgba(157,225,207,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  display:grid;
  place-items:center;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.cap-icon svg{width:28px;height:28px; opacity:.95}
.cap-title{position:relative; margin:0 0 6px; font-size:1.08rem; color:#eaf2ff; letter-spacing:-.01em}
.cap-desc{position:relative; margin:0 0 10px; color:var(--muted); line-height:1.6}
.cap-list{position:relative; margin:0; padding-left:18px; color:#d2dbe6}
.cap-list li{margin:8px 0}
.cap-foot{position:relative; margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; color:var(--muted); font-size:.92rem}
.cap-link{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:12px;
  border:1px solid #ffffff14;
  background:#ffffff06;
  color:#dbe6f6;
  font-weight:800;
}
.cap-link:hover{background:#ffffff10}

.tile.tile-featured{
  border-color: rgba(76, 144, 255, 0.65);
  background: linear-gradient(180deg, rgba(47, 111, 237, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 45px rgba(47, 111, 237, 0.18);
}
.tile.tile-featured h3{color:#ffffff}
.tile.tile-featured .btn{
  background: linear-gradient(180deg, #4c90ff, #2455d6);
  color: #ffffff;
  border-color: rgba(76, 144, 255, 0.85);
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.28);
}
.tile.tile-featured .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(47, 111, 237, 0.36);
}
.section-title-spacious{margin-bottom:20px}

/* Paragraph rhythm for long-form blocks inside sections */
.prose-flow p{margin:0 0 1rem}
.prose-flow p:last-child{margin-bottom:0}
.prose-flow p + h3.cap-title{margin-top:1.35rem}
.card-inner.prose-flow > .pill{margin-bottom:14px}

/* Stacked navigation links inside cards */
.link-stack{
  display:flex;
  flex-direction:column;
  gap:0;
  width:100%;
}
.quick-link-row{
  display:flex;
  align-items:center;
  padding:15px 2px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:#d2dbe6;
  font-weight:600;
  font-size:.98rem;
  letter-spacing:.01em;
  transition:color .18s ease, background .18s ease;
}
.quick-link-row:last-child{border-bottom:0}
.quick-link-row:hover{
  color:var(--text);
  background:rgba(255,255,255,.04);
}

/* cap-card variant: media on top + stacked body (reuses .cap-card surface + ::before) */
.cap-card.cap-card--media{
  padding:0;
  min-height:0;
  display:flex;
  flex-direction:column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cap-card.cap-card--media:hover{
  transform: translateY(-2px);
  border-color:#ffffff22;
  box-shadow: 0 24px 56px rgba(0,0,0,.5);
}
.cap-card-media{
  position:relative;
  margin:0;
  aspect-ratio:16/9;
  overflow:hidden;
  border-bottom:1px solid #ffffff12;
  background:#0b0d13;
}
.cap-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.cap-card-stack{
  position:relative;
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
  flex:1;
  gap:10px;
}
.cap-card-stack .badge{align-self:flex-start}
.cap-card-stack :is(h3,h4){
  margin:0;
  font-size:1.08rem;
  color:#eaf2ff;
  letter-spacing:-.01em;
}
.cap-card-stack p{
  margin:0;
  flex:1;
  color:var(--muted);
  line-height:1.65;
  font-size:.96rem;
}
.cap-card-stack .btn{margin-top:auto; align-self:flex-start}

/* Footer */
footer{
  border-top:1px solid var(--line);
  background:
    radial-gradient(920px 380px at 12% -12%, rgba(73,151,240,.12), transparent 58%),
    linear-gradient(180deg, #0a0c14, #07080c 58%);
}
footer .container{
  padding-left: clamp(22px, 6vw, 34px);
  padding-right: clamp(22px, 6vw, 34px);
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  padding:24px 0 16px;
  align-items:start;
}
.footer-grid > div{min-width:0}
.footer-grid > div:first-child{
  max-width:42ch;
}
.footer-grid > div{
  padding:0 0 11px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.footer-grid > div:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.footer-grid .brand-footer{margin-bottom:6px}
.footer-grid .brand-footer .logo-wide{
  height:62px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.34));
}
.footer-grid h6{
  margin:0 0 8px;
  font-size:.78rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-weight:780;
  color:#8fc3ff;
}
.footer-grid a{
  display:block;
  padding:7px 0;
  color:#b3c0d0;
  line-height:1.36;
  transition:color .18s ease, opacity .18s ease, transform .18s ease;
}
.footer-grid a:focus-visible{
  outline:2px solid rgba(139,191,255,.65);
  outline-offset:2px;
  border-radius:4px;
}
.footer-grid a:hover{
  color:var(--text);
  opacity:1;
}
.legal{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  border-top:1px solid rgba(255,255,255,.1);
  padding:11px 0 16px;
  color:#97a9bd;
  font-size:.86rem;
  line-height:1.3;
}
.legal a{opacity:.92}
.legal a:hover{opacity:1}

@media (min-width: 621px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:18px;
    padding:26px 0 18px;
  }
  .footer-grid > div{
    border-bottom:0;
    padding:0;
  }
  .footer-grid > div:first-child{
    grid-column:1 / -1;
    padding-right:0;
    max-width:none;
    margin-bottom:4px;
  }
  .legal{
    display:flex;
    gap:9px 14px;
    flex-wrap:wrap;
    align-items:center;
    padding:11px 0 16px;
  }
}
@media (min-width: 900px){
  .footer-grid{
    grid-template-columns:1.34fr 1fr 1fr;
    gap:20px;
    padding:28px 0 20px;
  }
  .footer-grid > div:first-child{
    grid-column:auto;
    max-width:35ch;
    margin-bottom:0;
  }
}
@media (min-width: 1180px){
  .footer-grid{
    grid-template-columns:1.45fr 1fr 1fr 1.15fr 1fr;
    gap:22px;
    padding:30px 0 22px;
  }
  .footer-grid > div:first-child{
    max-width:34ch;
  }
}
@media (min-width: 860px){
  .footer-grid .brand-footer .logo-wide{
    height:66px;
  }
}
@media (max-width: 380px){
  footer .container{
    padding-left:20px;
    padding-right:20px;
  }
}
@media (hover: hover){
  .footer-grid a:hover{
    transform:translateX(1px);
  }
}

/* Timeline support */
.timeline{
  margin-top:22px;
  border-radius:20px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(73,151,240,.18), transparent 65%),
    radial-gradient(700px 380px at 85% 20%, rgba(157,225,207,.10), transparent 60%),
    linear-gradient(180deg, rgba(18,20,35,.78), rgba(10,10,14,.96));
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  padding:32px 28px;
  position:relative;
  overflow:hidden;
}
.timeline-inner{position:relative; max-width:920px; margin:0 auto}
.tl-track{position:relative; margin-top:10px; padding:10px 0}
.tl-line{
  position:absolute;
  left:50%;
  top:22px;
  bottom:22px;
  width:2px;
  transform:translateX(-50%);
  background: linear-gradient(180deg, rgba(157,225,207,.65), rgba(255,255,255,.16));
  border-radius:99px;
  z-index:0;
}
.tl-line-progress{
  position:absolute;
  left:50%;
  top:22px;
  width:2px;
  height:0;
  transform:translateX(-50%);
  background: linear-gradient(180deg, rgba(157,225,207,.95), rgba(73,151,240,.45));
  border-radius:99px;
  filter: drop-shadow(0 0 10px rgba(157,225,207,.20));
  z-index:1;
}
.tl-step{
  position:relative;
  width:50%;
  padding:18px 26px;
  margin:0 0 34px;
  z-index:2;
  opacity:0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.tl-step.left{left:0; text-align:right}
.tl-step.right{left:50%; text-align:left}
.tl-step:before{
  content:"";
  position:absolute;
  top:22px;
  left: calc(100% - 7px);
  width:14px;
  height:14px;
  border-radius:50%;
  background: rgba(157,225,207,1);
  box-shadow: 0 0 0 6px rgba(157,225,207,.14);
  z-index:3;
}
.tl-step.right:before{left:-7px}
.tl-step.in{opacity:1; transform:none}
.tl-card{
  border-radius:16px;
  border:1px solid #ffffff14;
  background: rgba(255,255,255,.05);
  padding:16px;
  transition: .22s ease;
}
.tl-card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.08);
  border-color:#ffffff22;
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
}
.tl-number{
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#c8f4e6;
  margin-bottom:6px;
}
.tl-card h3{margin:0 0 8px; font-size:1.08rem; color:#eaf2ff}
.tl-card p{margin:0; color:var(--muted); line-height:1.6; font-size:.96rem}
@media (max-width: 820px){
  .tl-line, .tl-line-progress{ left:14px; transform:none; }
  .tl-line{ top:22px; bottom:22px; }
  .tl-step, .tl-step.left, .tl-step.right{
    width:100%;
    left:0;
    text-align:left;
    padding:18px 18px 18px 44px;
  }
  .tl-step:before{ left:7px !important; }
}

/* Motion */
.fade-up{opacity:0; transform: translateY(10px); transition: .6s ease}
.fade-up.in{opacity:1; transform:none}
@media (prefers-reduced-motion: reduce){
  .fade-up,.tl-step{opacity:1; transform:none; transition:none}
  .tile:hover,.btn:hover,.menu-item:hover,.choice:hover,.tl-card:hover,.cap-card.cap-card--media:hover{transform:none}
}

/* =========================
   ICON SYSTEM
========================= */

.icon-web,
.icon-dashboard,
.icon-support {
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

/* Corporate web */
.icon-web {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='M3 9H21' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 13H11' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 16H13' stroke='black' stroke-width='2'/%3E%3Crect x='14.5' y='12' width='4' height='4' rx='1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='M3 9H21' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 13H11' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 16H13' stroke='black' stroke-width='2'/%3E%3Crect x='14.5' y='12' width='4' height='4' rx='1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

/* Dashboard */
.icon-dashboard {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 4V20' stroke='black' stroke-width='2'/%3E%3Crect x='11' y='7' width='7' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3Crect x='11' y='12' width='3' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3Crect x='15' y='12' width='3' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 4V20' stroke='black' stroke-width='2'/%3E%3Crect x='11' y='7' width='7' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3Crect x='11' y='12' width='3' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3Crect x='15' y='12' width='3' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

/* Support */
.icon-support {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3L19 6V11C19 15.5 16.2 18.9 12 20.5C7.8 18.9 5 15.5 5 11V6L12 3Z' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 11.8L11 13.8L15 9.8' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3L19 6V11C19 15.5 16.2 18.9 12 20.5C7.8 18.9 5 15.5 5 11V6L12 3Z' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 11.8L11 13.8L15 9.8' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

/* Editorial/profile page utilities */
.content-stream{display:grid; gap:18px}
.section-heading{margin:0 0 12px}
.hero-editorial-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 980px){ .hero-editorial-grid{grid-template-columns:1fr} }

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.media-block{
  border-radius:16px;
  overflow:hidden;
  border:1px solid #ffffff14;
  background:#0b0d13;
  position:relative;
}
.media-block img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(.88);
}
.media-h-160{min-height:160px}
.media-h-180{min-height:180px}
.media-h-220{min-height:220px}
.media-h-240{min-height:240px}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:16px;
}
@media (max-width: 980px){ .stats-grid{grid-template-columns:repeat(2,1fr)} }
.stat-card{
  border:1px solid #ffffff14;
  background:#ffffff06;
  border-radius:14px;
  padding:12px;
}
.stat-card strong{display:block; font-size:1.15rem; color:#fff}
.stat-card span{display:block; margin-top:2px; color:var(--muted); font-size:.9rem}

.link-card{display:block}
.link-card .media-block{margin-top:10px}

.disclosure{
  border:1px solid #ffffff14;
  border-radius:16px;
  background:#ffffff06;
  padding:12px 14px;
}
.disclosure summary{
  cursor:pointer;
  font-weight:700;
  color:#cfd6de;
  list-style:none;
}
.disclosure summary::-webkit-details-marker{display:none}
.disclosure .disclosure-body{margin-top:12px}
.disclosure-list{
  margin:10px 0 0;
  padding-left:18px;
  color:#d8dee6;
}

/* Utility: span full width inside grid layouts */
.grid-full{grid-column:1 / -1}

/* Reusable research/results module */
.research-module{
  border-radius:18px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(157,225,207,.10), transparent 55%),
    linear-gradient(180deg, rgba(18,20,35,.86), rgba(10,10,14,.92));
  box-shadow: 0 20px 52px rgba(0,0,0,.45);
  overflow:hidden;
  padding:18px 20px;
}
.research-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:0 0 12px;
}
.research-title{
  margin:0;
  font-size:1.2rem;
}
.research-meta{
  color:var(--muted);
  font-size:.9rem;
}
.research-body{
  color:#cfd6de;
  line-height:1.65;
  margin:10px 0 16px;
  font-size:1.02rem;
}
.research-gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.research-figure{
  margin:0;
  border:1px solid #ffffff14;
  border-radius:12px;
  overflow:hidden;
  background:#0b0d13;
}
.research-image{
  display:block;
  width:100%;
  height:280px;
  object-fit:cover;
  filter:brightness(.98);
}
.research-caption{
  padding:10px 12px;
  color:var(--muted);
  font-size:.92rem;
  border-top:1px solid #ffffff14;
}
@media (max-width: 820px){
  .research-header{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .research-title{
    flex:1 1 240px;
  }
  .research-meta{
    flex:1 1 220px;
  }
  .research-gallery{grid-template-columns:1fr}
  .research-image{height:220px}
}
@media (max-width: 560px){
  .research-header{
    display:grid;
    gap:8px;
  }
}

/* Reusable modal dialog (address forms, confirmations, etc.) */
.modal-root{
  position:fixed;
  inset:0;
  z-index:5000;
}
.modal-root[hidden]{
  display:none !important;
}
.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(6px);
}
.modal-shell{
  position:relative;
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.modal-panel.card{
  width:min(720px, 96vw);
  text-align:left;
  box-shadow:0 24px 60px rgba(0,0,0,.75);
}
.modal-panel .card-inner{
  padding:22px 24px 24px;
}
.modal-panel .kicker{
  margin-bottom:8px;
}
.modal-panel h2{
  margin:10px 0 12px;
  color:var(--blue);
}
.modal-desc{
  color:#cfd6de;
  max-width:70ch;
  margin:0 0 14px;
  line-height:1.6;
}
.modal-actions{
  margin-top:16px;
}

/* Accessible hidden label helper */
.visually-hidden{
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Hidden trap field for spam bots (kept in DOM and posted). */
.hidden-field{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* Reusable form primitives */
.form-shell{max-width:900px}
.form-stack{
  display:grid;
  gap:12px;
}
.form-label{
  display:block;
  margin:0 0 6px;
  color:#cfd6de;
  font-weight:600;
  font-size:.92rem;
}
.form-input,
.form-textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#0b0d13;
  color:var(--text);
  font:inherit;
  line-height:1.45;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-textarea{
  min-height:130px;
  resize:vertical;
}
.form-input::placeholder,
.form-textarea::placeholder{color:#9ba8b8}
.form-input:focus,
.form-textarea:focus{
  outline:none;
  border-color:rgba(139,191,255,.8);
  box-shadow:0 0 0 3px rgba(139,191,255,.18);
  background:#0d1018;
}
.contact-hint{
  margin:0;
  color:#9ba8b8;
  font-size:.92rem;
}
.form-feedback{
  display:none;
  margin:0 0 16px;
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid transparent;
  font-size:.92rem;
  line-height:1.45;
}
.form-feedback.is-visible{display:block}
.form-feedback.is-success{
  border-color:rgba(100,199,136,.45);
  background:rgba(100,199,136,.12);
  color:#b8f0cb;
}
.form-feedback.is-error{
  border-color:rgba(255,124,124,.45);
  background:rgba(255,124,124,.1);
  color:#ffd0d0;
}

/* tracking.html — sample tracking interface integrated in ADARA system */
body.tracking-page .banner{
  margin:18px 0 8px;
}
body.tracking-page .banner.banner--full .banner-wrap{
  gap:16px;
  padding:14px;
  grid-template-columns:minmax(0, 1fr) minmax(0, .98fr);
}
body.tracking-page .banner.banner--full .banner-img{
  min-height:clamp(220px, 24vw, 290px);
}
body.tracking-page .banner.banner--full .banner-img.banner-img-short{
  min-height:clamp(210px, 22vw, 270px);
}
body.tracking-page .banner.banner--full .banner-text{
  padding:clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px);
}
body.tracking-page .banner.banner--full .banner-text .kicker{
  margin-bottom:8px;
}
body.tracking-page .banner.banner--full .banner-text h1{
  margin:0 0 8px;
  font-size:clamp(1.6rem, 1.5vw + 1rem, 2.28rem);
}
body.tracking-page .banner.banner--full .banner-text .lead{
  margin:0 0 8px;
  line-height:1.54;
}
body.tracking-page .banner.banner--full .banner-text .lead + .lead{
  margin:0;
}
body.tracking-page .section{
  padding-top:24px;
}
body.tracking-page .tracking-layout{
  grid-template-columns:minmax(0, 1.42fr) minmax(0, .98fr);
  align-items:start;
  gap:22px;
}
body.tracking-page .tracking-main-card .card-inner,
body.tracking-page .tracking-aside-card .card-inner{
  padding:24px;
}
body.tracking-page .tracking-main-card .section-title{
  margin-bottom:16px;
}
body.tracking-page .tracking-main-card .section-title .kicker{
  margin-bottom:8px;
}
body.tracking-page .tracking-form-shell{
  padding:16px;
  border-color:rgba(255,255,255,.16);
  background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
body.tracking-page .tracking-form{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) auto;
  gap:14px;
  align-items:end;
}
body.tracking-page .tracking-form .btn{
  min-height:48px;
  justify-content:center;
  white-space:nowrap;
}
body.tracking-page .tracking-submit-btn{
  width:100%;
  min-height:50px;
  padding:12px 20px;
  font-size:.95rem;
  letter-spacing:.02em;
  box-shadow:0 16px 40px rgba(73,151,240,.24);
}
body.tracking-page .tracking-submit-btn .btn-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
body.tracking-page .tracking-submit-btn .btn-spinner{
  width:16px;
  height:16px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.32);
  border-top-color:#fff;
  animation:tracking-btn-spin .75s linear infinite;
  display:none;
  flex:0 0 auto;
}
body.tracking-page .tracking-submit-btn.is-loading .btn-spinner{
  display:inline-block;
}
body.tracking-page .tracking-submit-btn.is-loading .btn-label{
  opacity:.94;
}
body.tracking-page .tracking-submit-btn[aria-busy="true"]{
  cursor:wait;
}
@keyframes tracking-btn-spin{
  to{transform:rotate(360deg)}
}
body.tracking-page .tracking-empty-state{
  margin:16px 0 0;
  border:1px dashed #3b4f70;
  border-radius:13px;
  padding:12px 14px;
  line-height:1.62;
}
body.tracking-page .tracking-empty-state--info{
  color:#aebed3;
  background:rgba(255,255,255,.03);
}
body.tracking-page .tracking-empty-state--error{
  color:#ffd0d0;
  border-color:rgba(255,124,124,.48);
  background:rgba(255,124,124,.1);
}
body.tracking-page .result-card{
  display:none;
  margin-top:20px;
}
body.tracking-page .result-card.show{
  display:block;
}
body.tracking-page .tracking-results-module{
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:16px;
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(73,151,240,.08), transparent 62%),
    linear-gradient(180deg, rgba(15,18,30,.8), rgba(10,12,19,.9));
}
body.tracking-page .tracking-results-module .divider{
  margin:16px 0;
}
body.tracking-page .tracking-summary{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}
body.tracking-page .summary-box{
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  padding:14px;
}
body.tracking-page .summary-box span{
  display:block;
  margin-bottom:8px;
  color:#9fb0c6;
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
body.tracking-page .summary-box strong{
  display:block;
  color:#ebf2ff;
  font-size:1.02rem;
  line-height:1.36;
}
body.tracking-page .tracking-history-title{
  margin:0 0 8px;
  color:#dbe7f8;
}
body.tracking-page .tracking-history-lead{
  margin:0 0 12px;
  color:#a9b6c6;
  font-size:.96rem;
}
body.tracking-page .tracking-timeline{
  display:grid;
  gap:12px;
}
body.tracking-page .tracking-event{
  position:relative;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:14px 14px 14px 16px;
  background:linear-gradient(180deg, rgba(16,19,31,.92), rgba(10,13,21,.95));
}
body.tracking-page .tracking-event::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  border-radius:14px 0 0 14px;
  background:linear-gradient(180deg, rgba(157,225,207,.85), rgba(73,151,240,.72));
}
body.tracking-page .tracking-event-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
body.tracking-page .tracking-event-top strong{
  color:#b9d7ff;
}
body.tracking-page .tracking-event-top time{
  color:#9aa9bd;
  font-size:.88rem;
  white-space:nowrap;
}
body.tracking-page .tracking-event p{
  margin:0;
  color:#d3ddea;
  line-height:1.62;
}
body.tracking-page .tracking-aside-card .section-title{
  margin-bottom:8px;
}
body.tracking-page .tracking-aside-card .section-sub{
  max-width:42ch;
}
body.tracking-page .tracking-aside-card .link-stack{
  margin-top:6px;
}
body.tracking-page .tracking-aside-card .tile{
  padding:14px 14px 13px;
}
body.tracking-page .tracking-aside-card .tile + .tile{
  margin-top:10px;
}
@media (max-width: 1080px){
  body.tracking-page .tracking-layout{
    grid-template-columns:1fr;
  }
}
@media (max-width: 840px){
  body.tracking-page .banner.banner--full .banner-wrap{
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    gap:12px;
  }
  body.tracking-page .banner.banner--full .banner-text{
    padding:16px;
  }
  body.tracking-page .banner.banner--full .banner-img,
  body.tracking-page .banner.banner--full .banner-img.banner-img-short{
    min-height:min(38vw, 220px);
    max-height:min(44vw, 250px);
  }
  body.tracking-page .tracking-form{
    grid-template-columns:1fr;
  }
  body.tracking-page .tracking-summary{
    grid-template-columns:1fr;
  }
}
@media (max-width: 760px){
  body.tracking-page .tracking-main-card .card-inner,
  body.tracking-page .tracking-aside-card .card-inner{
    padding:18px;
  }
  body.tracking-page .banner{
    margin:16px 0 6px;
  }
  body.tracking-page .section{
    padding-top:20px;
  }
  body.tracking-page .tracking-results-module{
    padding:14px;
  }
}

/* Reusable live-dashboard surfaces (used by heliophysics/status tools) */
.solar-hero-card{
  background:
    radial-gradient(760px 320px at 10% -30%, rgba(73,151,240,.2), transparent 60%),
    radial-gradient(580px 280px at 100% 0%, rgba(157,225,207,.14), transparent 58%),
    linear-gradient(180deg, rgba(16,20,36,.95), rgba(10,13,24,.95));
}
.solar-grid-primary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.solar-grid-secondary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.solar-panel{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.solar-panel h3,
.solar-block h3{
  margin:0;
  color:#9fc6ff;
  font-size:1rem;
}
.solar-metric-row{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:10px;
}
.solar-label{
  color:#a7b3c2;
  font-size:.9rem;
}
.solar-value{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-weight:700;
  font-size:1.15rem;
}
.solar-sub{
  margin:0;
  color:#a7b3c2;
  font-size:.86rem;
  line-height:1.5;
}
.solar-small{
  color:#a7b3c2;
  font-size:.84rem;
  line-height:1.5;
}
.solar-pill{
  font-family:ui-monospace,Menlo,Consolas,monospace;
}
.solar-pill.good{background:rgba(40,140,90,.12); border-color:rgba(90,180,130,.5)}
.solar-pill.warn{background:rgba(255,210,110,.1); border-color:rgba(255,210,110,.5)}
.solar-pill.bad{background:rgba(255,110,110,.1); border-color:rgba(255,110,110,.5)}
.solar-block{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.solar-block-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.solar-block-note{
  margin-left:auto;
}
.solar-gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.solar-thumb{
  margin:0;
  position:relative;
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  overflow:hidden;
  background:#0b0f18;
}
.solar-thumb img{
  width:100%;
  display:block;
  height:auto;
}
.solar-cap{
  position:absolute;
  left:8px;
  right:8px;
  bottom:8px;
  color:#d6e8ff;
  font-size:.82rem;
  text-shadow:0 1px 6px rgba(0,0,0,.7);
}
.solar-aurora-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.solar-image-panel{
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  overflow:hidden;
  background:#0b0f18;
}
.solar-image-panel img{
  width:100%;
  display:block;
  height:auto;
}
.solar-controls{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.solar-controls label{
  color:#a7b3c2;
  font-size:.9rem;
}
.solar-controls input,
.solar-controls select{
  background:#0b0f18;
  color:#eef2f7;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  padding:8px 10px;
}
.solar-events-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.solar-event{
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:#0b0f18;
  padding:10px;
}
.solar-event-title{
  font-weight:700;
  margin-bottom:4px;
}
.solar-event-time{
  color:#a7b3c2;
  font-size:.85rem;
  margin-bottom:4px;
}
.solar-mission{
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:#0b0f18;
  padding:12px;
}
.solar-mission h4{
  margin:0 0 8px;
  color:#eaf2ff;
  font-size:1rem;
}
.solar-attribution p{
  margin:0;
}
.solar-attribution{
  display:flex;
  flex-direction:column;
  gap:8px;
}
@media (max-width:1000px){
  .solar-grid-primary,
  .solar-grid-secondary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .solar-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:820px){
  .solar-aurora-grid,
  .solar-events-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width:680px){
  .solar-grid-primary,
  .solar-grid-secondary,
  .solar-gallery-grid{
    grid-template-columns:1fr;
  }
}
.btn[disabled]{
  opacity:.72;
  cursor:not-allowed;
  transform:none;
}

/* Home landing sections */
.landing-hero{
  margin:18px 0 26px;
}
.landing-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:stretch;
}
.landing-hero-copy{
  border:1px solid #ffffff14;
  border-radius:18px;
  padding:24px 24px 22px;
  background:linear-gradient(180deg,rgba(19,22,33,.9),rgba(13,15,24,.86));
  box-shadow:0 18px 44px rgba(0,0,0,.34);
}
.landing-hero-copy h1{margin:0 0 10px}
.landing-hero-copy p{
  margin:0;
  color:#d2d9e3;
  max-width:56ch;
}
.landing-hero-copy .cta-row{
  margin-top:16px;
  flex-wrap:nowrap;
}
.landing-hero-art{
  min-height:100%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #ffffff14;
  background:#0b0d13;
  box-shadow: 0 20px 52px rgba(0,0,0,.45);
}
.landing-hero-art img{
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
  display:block;
  filter:brightness(.92);
}
.hero-cta-main{min-width:210px}
.hero-cta-secondary{background:#ffffff08}
.hero-cta-secondary:hover{background:#ffffff12}
.hero-cta-unified{
  min-width:190px;
  justify-content:center;
}

.home-editorial{
  padding:8px 0 10px;
}
.editorial-panel{
  border:1px solid #ffffff14;
  border-radius:18px;
  background:linear-gradient(180deg,#131722,#0f121b);
  box-shadow:0 18px 44px rgba(0,0,0,.28);
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.editorial-panel .card-inner{padding:24px 24px 22px}
.editorial-panel h2{margin:0 0 10px}
.editorial-panel h1{
  margin:0 0 14px;
  font-size:clamp(1.72rem, 2.1vw + 1rem, 2.35rem);
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.02em;
  color:#4997f0;
}
.editorial-flow > .kicker{margin-bottom:12px}
.editorial-flow p{
  margin:0 0 12px;
  color:#cfd6de;
  line-height:1.75;
}
.editorial-flow p:last-child{margin-bottom:0}
.text-justify{ text-align:justify; text-justify:inter-word; }

.home-depts{padding:8px 0 6px}
.home-depts-head{
  margin:2px 0 18px;
}
.home-depts-head .section-title{
  margin:0;
  padding-bottom:8px;
  border-bottom:1px solid #ffffff14;
}
.home-depts-head h2{
  margin:0;
  letter-spacing:.01em;
}
.home-depts-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.home-dept-card{
  border:1px solid #ffffff16;
  border-radius:16px;
  background:linear-gradient(180deg,#121621,#0f131c);
  display:flex;
  flex-direction:column;
}
.home-dept-card .media-block{margin-bottom:14px}
.home-dept-card h3{margin:0 0 8px; color:#4997f0}
.home-dept-card p{margin:0 0 14px; color:#cfd6de; text-align:justify}
.home-dept-card .btn{margin-top:auto}

.home-promos{padding:10px 0 22px}
.home-promos-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.home-promo{
  min-height:100%;
  border:1px solid #ffffff1e;
  box-shadow:0 14px 34px rgba(0,0,0,.24);
  display:flex;
  flex-direction:column;
}
.home-promo .media-block{margin:8px 0 12px}
.home-promo h4{margin:0 0 8px}
.home-promo p{margin:0; color:var(--muted)}
.home-promo .btn{margin-top:14px}

.home-promos.home-promos--spotlight{
  padding-top:36px;
  padding-bottom:30px;
  margin-top:10px;
  border-top:1px solid #ffffff14;
  background:
    radial-gradient(920px 300px at 10% 0%, rgba(73,151,240,.09), transparent 58%),
    radial-gradient(640px 240px at 92% 24%, rgba(157,225,207,.06), transparent 52%);
}
.home-promos-head{
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid #ffffff12;
}
.home-promos-head .section-title{
  margin-bottom:0;
  align-items:flex-end;
}
.home-promos-head h2{
  margin:0;
  letter-spacing:.01em;
  color:#4997f0;
  font-size:clamp(1.32rem, 1.15vw + 1rem, 1.68rem);
}
.home-promos-head .section-sub{
  margin:12px 0 0;
  max-width:68ch;
}
.home-promos--spotlight .home-promos-grid{
  gap:18px;
}

.home-news{padding:24px 0 18px}
.home-news-head{
  margin-bottom:14px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.home-news-head h2{margin:0}
.home-news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.home-news-item{
  border:1px solid #ffffff12;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,#121420,#0f1016);
  display:flex;
  flex-direction:column;
}
.home-news-img{
  aspect-ratio:16/9;
  overflow:hidden;
  background:#0b0d13;
}
.home-news-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.home-news-item:hover .home-news-img img{transform:scale(1.04)}
.home-news-content{padding:14px}
.home-news-date{font-size:.8rem; color:var(--muted)}
.home-news-content h3{margin:5px 0 8px; font-size:1rem; color:#b3d2ff}
.home-news-content p{margin:0; color:#cfd6de; font-size:.94rem; line-height:1.5}

.home-support-banner{padding:12px 0 16px}
.home-support-banner .banner-wrap{
  min-height:0;
}
.home-support-banner .banner-text{
  max-width:min(560px, 100%);
  text-align:left;
}
.home-support-banner .banner-text p:not(.lead){
  max-width:min(52ch, 100%);
}

.dept-logos{
  margin:24px 0 0;
  padding:16px 0 6px;
  border-top:1px solid #ffffff0f;
  background:transparent;
}
.dept-logos-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:130px;
  flex-wrap:wrap;
  margin-bottom: 35px;
}
.dept-logo{padding:0; border:none; background:none}
.dept-logo img{
  height:116px;
  width:auto;
  opacity:.74;
  filter:saturate(.9);
  transition:opacity .2s ease, transform .2s ease, filter .2s ease;
}
.dept-logo:hover img{
  opacity:.95;
  transform:translateY(-1px);
  filter:saturate(1);
}

@media (max-width: 1040px){
  .landing-hero-grid{grid-template-columns:1fr}
  .landing-hero-art img{min-height:280px}
  .landing-hero-copy .cta-row{flex-wrap:wrap}
  .home-depts-grid{grid-template-columns:1fr 1fr}
  .home-promos-grid{grid-template-columns:1fr 1fr}
  .home-news-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 760px){
  .landing-hero-copy{padding:18px}
  .editorial-panel .card-inner{padding:18px}
  .home-depts-grid{grid-template-columns:1fr}
  .home-news-grid{grid-template-columns:1fr}
  .home-promos-grid{grid-template-columns:1fr}
  .home-news-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .dept-logos-wrap{gap:28px}
  .dept-logo img{height:88px}
}

/* Mars clock widget */
.mars-clock-section{
  margin:88px auto 64px;
  padding:44px;
  border-radius:26px;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(60,95,190,0.12), transparent 50%),
    radial-gradient(900px 420px at 110% 10%, rgba(120,190,220,0.10), transparent 46%),
    linear-gradient(180deg, #141726 0%, #0b0e15 100%);
  box-shadow: 0 8px 40px rgba(30,60,130,0.28), inset 0 0 18px rgba(90,120,190,0.12);
  max-width:1180px;
  border:1px solid rgba(170,190,255,0.20);
}
.mars-title{
  text-align:center;
  color:#8fd0ff;
  font-size:1.95rem;
  letter-spacing:.03em;
  margin:0 0 10px;
}
.mars-subtitle{
  text-align:center;
  color:#b7bfd1;
  margin:0 0 26px;
  font-size:.96rem;
}
.mars-card{border:1px solid rgba(180,200,255,0.22);border-radius:18px;background:linear-gradient(180deg,#121628,#0c0f19);padding:20px;box-shadow:inset 0 0 20px rgba(60,90,160,0.18)}
.mars-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-bottom:20px}
.mars-box,.mars-wide{border:1px solid rgba(150,160,200,0.25);border-radius:12px;background:rgba(10,12,20,0.9);padding:14px}
.mars-wide{margin-top:12px}
.mars-row{display:flex;gap:16px;flex-wrap:wrap}
.mini{margin-top:8px}
.mini-col{flex:1 1 140px}
.space-between{justify-content:space-between}
.right{text-align:right}
.mars-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-bottom:16px}
.metric{border:1px solid rgba(170,185,230,0.22);border-radius:12px;padding:12px;background:linear-gradient(180deg,#0f1423,#0b0f1a)}
.metric-label{color:#9fb3ce;font-size:.86rem}
.metric-value{font-family:ui-monospace,Menlo,Consolas;font-size:1.25rem;font-weight:700;color:#e8f2ff}
.metric-hint{color:#9aa6bf;font-size:.82rem;margin-top:2px}
.mars-label{color:#9fb3ce;font-size:.86rem}
.mars-sub{color:#9fb3ce;font-size:.82rem;margin-bottom:2px}
.mars-mono{font-family:ui-monospace,Menlo,Consolas;font-weight:600}
.mars-big{font-family:ui-monospace,Menlo,Consolas;font-size:1.6rem;color:#c8e3ff}
.mars-xl{font-size:1.8rem;font-weight:700;color:#f2f5fa}
.mars-hint{color:#8f9bb4;font-size:.8rem;margin-top:4px}
.mars-input{width:100%;padding:8px;border-radius:8px;border:1px solid rgba(140,150,180,0.4);background:#0b0d13;color:#dfe4ee;margin-top:3px}
.mars-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mars-progress{margin-top:14px}
.mars-progress-top{display:flex;justify-content:space-between;margin-bottom:4px}
.mars-bar{height:8px;width:100%;border-radius:999px;background:#11131c;overflow:hidden;border:1px solid rgba(180,190,220,0.2)}
.mars-bar-fill{height:100%;width:0%;background:linear-gradient(90deg,#6ab9ff,#8ef0d2)}
.thermo{display:flex;align-items:center}
.thermo-row{display:flex;gap:16px;align-items:center}
.thermo-col{flex:1}
.thermo-value{font-size:1.7rem;font-weight:800;color:#e8f2ff}
.thermo-bar{width:18px;height:120px;border-radius:12px;background:linear-gradient(180deg,#0c1120,#0a0d16);border:1px solid rgba(160,175,220,0.28);padding:3px;display:flex;align-items:flex-end}
.thermo-fill{width:100%;height:0%;border-radius:8px;background:linear-gradient(180deg,#9de1cf,#6ab9ff)}
.maas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-top:10px}
.maas-label{color:#9fb3ce;font-size:.82rem}
.mars-foot{margin-top:14px; color:#8f9bb4; font-size:.8rem}
@media (max-width: 820px){ .mars-subgrid{grid-template-columns:1fr} }

/* cursos.html — editorial course catalogue (full-width rows; text-led; images secondary) */
main#contenido #course-list .container.content-stream{
  gap: clamp(24px, 3.2vw, 36px);
}
main#contenido #course-list article.card > .card-inner{
  padding: clamp(20px, 2.4vw, 30px);
}
main#contenido #course-list .grid{
  align-items: start;
  column-gap: clamp(22px, 3vw, 36px);
  row-gap: 22px;
}
main#contenido #course-list .stack-rhythm.prose-flow{
  gap: clamp(18px, 2.2vw, 26px);
}
main#contenido #course-list .stack-rhythm.prose-flow p{
  max-width: min(62ch, 100%);
}
main#contenido #course-list .media-block{
  align-self: start;
  max-width: 100%;
}
main#contenido #course-list .media-block img{
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 0;
  display: block;
}
main#contenido #course-list .cta-row{
  gap: 12px 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
body.cursos-page .cap-card.cap-card--media .cap-card-stack .link-stack{
  margin-top: 4px;
}
body.cursos-page .cap-card.cap-card--media .cap-card-stack .quick-link-row{
  padding: 10px 2px;
  font-size: .92rem;
}
body.cursos-page #course-list .editorial-panel .heading-display{
  margin-bottom: 8px;
}
@media (max-width: 980px){
  body.cursos-page .cap-grid.cap-grid--four{
    gap: 14px;
  }
}

/* libros.html — compact catalog (2 columns desktop) */
body.libros-page main#contenido > .banner > .container,
body.libros-page main#contenido > .home-editorial > .container,
body.libros-page .libros-catalog .container.content-stream{
  max-width: 1120px;
}
body.libros-page .banner.banner--full .banner-wrap{
  width: 100%;
  max-width: none;
}
body.libros-page .libros-catalog .container.content-stream{
  gap: 18px;
}
body.libros-page .libros-catalog .editorial-panel .card-inner{
  padding: 18px 20px 16px;
}
body.libros-page .libros-catalog .container.content-stream{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body.libros-page .libros-catalog .editorial-panel{
  grid-column: 1 / -1;
}
body.libros-page .libros-catalog .book-card{
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(12, 14, 22, .58), rgba(9, 11, 17, .62));
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  border-radius: 14px;
  overflow: hidden;
}
body.libros-page .libros-catalog .book-card > .card-inner{
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  align-items: start;
}
body.libros-page .libros-catalog .book-media{
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #0b0d13;
}
body.libros-page .libros-catalog .book-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.96) saturate(.93);
}
body.libros-page .libros-catalog .book-content{
  display: grid;
  gap: 6px;
  align-content: start;
}
body.libros-page .libros-catalog .book-kicker{
  font-size: .66rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #96a8bf;
  font-weight: 650;
}
body.libros-page .libros-catalog .book-title{
  margin: 0;
  font-size: clamp(1.02rem, .48vw + .94rem, 1.22rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: #f1f5fb;
}
body.libros-page .libros-catalog .book-desc{
  margin: 0;
  color: #cbd6e5;
  line-height: 1.5;
  font-size: .88rem;
}
body.libros-page .libros-catalog .book-desc:first-of-type{
  color: var(--muted);
  font-size: .86rem;
}
body.libros-page .libros-catalog .book-desc + .book-desc{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.libros-page .libros-catalog .book-actions{
  margin-top: 4px;
}
body.libros-page .libros-catalog .book-actions .btn{
  margin-top: 4px;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .015);
  color: #c9d6e8;
}
@media (max-width: 980px){
  body.libros-page .libros-catalog .container.content-stream{
    grid-template-columns: 1fr;
  }
  body.libros-page .libros-catalog .book-card > .card-inner{
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 11px;
    padding: 11px;
  }
}
@media (max-width: 560px){
  body.libros-page .libros-catalog .book-card > .card-inner{
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }
  body.libros-page .libros-catalog .book-desc + .book-desc{
    font-size: .85rem;
    line-height: 1.46;
  }
}

/* catalogo.html + visual specimen galleries (herbarium / microbiology / fossils) */
body.catalogo-page .catalog-intro,
body.catalog-gallery-page .catalog-intro{
  padding-top:8px;
  padding-bottom:10px;
}
body.catalogo-page .catalog-intro .editorial-panel .card-inner,
body.catalog-gallery-page .catalog-intro .editorial-panel .card-inner{
  padding:24px 24px 22px;
}
body.catalogo-page .catalog-intro .kicker,
body.catalog-gallery-page .catalog-intro .kicker{
  margin-bottom:12px;
}
body.catalogo-page .catalog-intro h1,
body.catalog-gallery-page .catalog-intro h1{
  margin:0 0 12px;
  color:var(--blue);
}
body.catalogo-page .catalog-intro .lead,
body.catalog-gallery-page .catalog-intro .lead{
  margin:0;
  max-width:110ch;
  color:#d2dbe6;
  line-height:1.68;
  text-align:justify;
}
body.catalogo-page .filter-toolbar,
body.catalog-gallery-page .filter-toolbar{
  display:flex;
  gap:12px;
  align-items:center;
  border:1px solid #ffffff1c;
  border-radius:16px;
  padding:12px;
  background:linear-gradient(180deg, rgba(18, 20, 35, 0.76), rgba(10, 10, 14, 0.82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
body.catalogo-page .filter-toolbar.filter-toolbar--embedded,
body.catalog-gallery-page .filter-toolbar.filter-toolbar--embedded{
  margin-top:4px;
}
body.catalogo-page .filter-input,
body.catalog-gallery-page .filter-input{
  flex:1;
  min-width:260px;
  border:1px solid #ffffff1c;
  border-radius:12px;
  min-height:46px;
  padding:11px 14px;
  color:var(--text);
  background:rgba(255, 255, 255, 0.04);
  font:600 .97rem/1.25 Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Helvetica,Arial,sans-serif;
}
body.catalogo-page .filter-input::placeholder,
body.catalog-gallery-page .filter-input::placeholder{
  color:var(--muted);
}
body.catalogo-page .filter-input:focus,
body.catalog-gallery-page .filter-input:focus{
  outline:none;
  border-color:rgba(139, 191, 255, 0.8);
  box-shadow:0 0 0 3px rgba(139, 191, 255, 0.16);
}
body.catalogo-page .filter-toolbar .btn,
body.catalog-gallery-page .filter-toolbar .btn{
  flex:0 0 auto;
  min-width:132px;
  min-height:46px;
  padding:11px 18px;
  border-radius:12px;
  font-size:.93rem;
  letter-spacing:.01em;
  justify-content:center;
}
body.catalogo-page .filter-toolbar .catalog-search-btn,
body.catalog-gallery-page .filter-toolbar .catalog-search-btn{
  color:#f2f7ff;
  border:1px solid rgba(126, 178, 255, 0.64);
  background:linear-gradient(180deg, rgba(89, 157, 255, 0.96), rgba(38, 86, 196, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    0 12px 26px rgba(49, 108, 227, .34);
  text-shadow:0 1px 1px rgba(3, 11, 31, .48);
}
body.catalogo-page .filter-toolbar .catalog-search-btn:hover,
body.catalog-gallery-page .filter-toolbar .catalog-search-btn:hover{
  border-color:rgba(160, 205, 255, 0.86);
  background:linear-gradient(180deg, rgba(111, 174, 255, 0.98), rgba(46, 101, 215, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    0 14px 30px rgba(49, 108, 227, .42);
}
body.catalogo-page .filter-toolbar .catalog-search-btn:focus-visible,
body.catalog-gallery-page .filter-toolbar .catalog-search-btn:focus-visible{
  outline:none;
  border-color:rgba(198, 229, 255, .95);
  box-shadow:
    0 0 0 3px rgba(117, 184, 255, .3),
    0 14px 30px rgba(49, 108, 227, .42);
}
body.catalogo-page .filter-toolbar .catalog-search-btn:active,
body.catalog-gallery-page .filter-toolbar .catalog-search-btn:active{
  transform:translateY(0);
  filter:brightness(.98);
}
body.catalogo-page .catalog-collection,
body.catalog-gallery-page .catalog-collection{
  padding-top:4px;
}
body.catalogo-page .catalog-collection .card,
body.catalog-gallery-page .catalog-collection .card{
  border-radius:20px;
}
body.catalogo-page .catalog-collection .card-inner,
body.catalog-gallery-page .catalog-collection .card-inner{
  padding:20px;
}
body.catalogo-page .empty-state-wrap,
body.catalog-gallery-page .empty-state-wrap{
  padding:0 2px 6px;
}
body.catalogo-page .empty-state-wrap p,
body.catalog-gallery-page .empty-state-wrap p{
  margin:0;
  border:1px solid #ffffff16;
  border-radius:14px;
  padding:18px;
  background:linear-gradient(180deg, rgba(18, 20, 35, 0.8), rgba(10, 10, 14, 0.9));
  color:#cfd6de;
  text-align:center;
}
body.catalogo-page .specimens,
body.catalog-gallery-page .specimens{
  padding:0 2px 14px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
body.catalogo-page .specimen,
body.catalog-gallery-page .specimen{
  border:1px solid #ffffff16;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(18, 20, 35, 0.92), rgba(10, 10, 14, 0.94));
  box-shadow:0 20px 52px rgba(0, 0, 0, 0.35);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
body.catalogo-page .specimen-media,
body.catalog-gallery-page .specimen-media{
  background:#0b0d13;
}
body.catalogo-page .specimen-media a,
body.catalog-gallery-page .specimen-media a{
  display:block;
  cursor:zoom-in;
}
body.catalog-gallery-page .specimen-media a:focus{
  outline:2px solid #ffffff20;
  outline-offset:-2px;
}
body.catalogo-page .specimen-media img,
body.catalog-gallery-page .specimen-media img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  display:block;
}
body.catalogo-page .specimen-body,
body.catalog-gallery-page .specimen-body{
  padding:14px 14px 10px;
}
body.catalogo-page .specimen-body h3,
body.catalog-gallery-page .specimen-body h3{
  margin:0 0 8px;
  color:#b3d2ff;
  font-size:1.02rem;
}
body.catalog-gallery-page .specimen-body h2{
  margin:0 0 8px;
  color:var(--muted);
  font-size:0.95rem;
  font-weight:600;
}
body.catalogo-page .specimen-body figcaption,
body.catalog-gallery-page .specimen-body figcaption{
  margin:0;
  color:#cfd6de;
  line-height:1.52;
  font-size:.9rem;
}
body.catalogo-page .actions,
body.catalog-gallery-page .actions{
  padding:0 14px 14px;
  margin-top:auto;
}
body.catalogo-page .actions .btn,
body.catalog-gallery-page .actions .btn{
  width:100%;
  justify-content:center;
  padding:10px 12px;
}
@media (max-width: 1040px){
  body.catalogo-page .specimens,
  body.catalog-gallery-page .specimens{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px){
  body.catalogo-page .catalog-intro,
  body.catalog-gallery-page .catalog-intro{
    padding-top:6px;
    padding-bottom:10px;
  }
  body.catalogo-page .catalog-intro .editorial-panel .card-inner,
  body.catalog-gallery-page .catalog-intro .editorial-panel .card-inner{
    padding:18px;
  }
  body.catalogo-page .filter-toolbar,
  body.catalog-gallery-page .filter-toolbar{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  body.catalogo-page .filter-input,
  body.catalog-gallery-page .filter-input{
    min-width:0;
    width:100%;
  }
  body.catalogo-page .filter-toolbar .btn,
  body.catalog-gallery-page .filter-toolbar .btn{
    width:100%;
    min-width:0;
  }
  body.catalogo-page .filter-toolbar .catalog-search-btn,
  body.catalog-gallery-page .filter-toolbar .catalog-search-btn{
    min-height:48px;
  }
  body.catalogo-page .specimens,
  body.catalog-gallery-page .specimens{
    grid-template-columns:1fr;
  }
}

/* Lightbox (shared utility) */
.lightbox{
  position:fixed;
  inset:0;
  z-index:5000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(4, 6, 10, 0.82);
  backdrop-filter:blur(4px);
}
.lightbox.is-open{
  display:flex;
}
.lightbox-panel{
  width:min(980px, 96vw);
  max-height:92vh;
  border:1px solid rgba(255, 255, 255, 0.16);
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(16, 18, 30, 0.98), rgba(8, 9, 14, 0.98));
  box-shadow:0 24px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-title{
  font-weight:700;
  color:#eaf2ff;
}
.lightbox-close{
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid rgba(255, 255, 255, 0.14);
  background:rgba(255, 255, 255, 0.06);
  color:#fff;
  cursor:pointer;
}
.lightbox-media{
  padding:14px;
  background:#0b0d13;
}
.lightbox-media img{
  width:100%;
  max-height:min(68vh, 760px);
  object-fit:contain;
  display:block;
}
.lightbox-caption{
  padding:12px 14px 14px;
  color:#cfd6de;
  font-size:.94rem;
  line-height:1.52;
  border-top:1px solid rgba(255, 255, 255, 0.08);
}

/* motw.html — editorial microscopy page */
body.motw-page .motw-hero{
  margin-top:22px;
  margin-bottom:6px;
}
body.motw-page .motw-hero .banner-wrap{
  grid-template-columns:minmax(0, .96fr) minmax(0, 1.04fr);
  gap:16px;
  padding:16px;
}
body.motw-page .motw-hero .banner-text{
  padding:clamp(22px, 2.8vw, 30px) clamp(20px, 2.6vw, 30px);
}
body.motw-page .motw-hero .banner-text .kicker{
  margin-bottom:12px;
  letter-spacing:.11em;
}
body.motw-page .motw-hero .banner-text h1{
  margin:0 0 12px;
  max-width:16ch;
  font-size:clamp(1.55rem, 1.55vw + .95rem, 2.25rem);
  line-height:1.06;
  letter-spacing:-.018em;
  text-wrap:balance;
}
body.motw-page .motw-hero .banner-text .lead{
  margin:0 0 10px;
  max-width:44ch;
  line-height:1.66;
}
body.motw-page .motw-hero .banner-text .lead + .lead{
  margin-top:2px;
  font-size:.94rem;
  color:#c8d2e1;
}
body.motw-page .motw-hero .banner-text .lead a{
  color:#e4edff;
  text-decoration:underline;
  text-underline-offset:3px;
}
body.motw-page .motw-hero .banner-img{
  min-height:clamp(300px, 34vw, 430px);
  filter:brightness(.88) contrast(1.02) saturate(1.02);
}
body.motw-page .motw-main{
  padding-top:14px;
  padding-bottom:42px;
}
body.motw-page .motw-main .content-stream{
  gap:16px;
}
body.motw-page .motw-main .card-inner{
  padding:20px;
}
body.motw-page .motw-main h2{
  margin:10px 0 10px;
  color:#4997f0;
}
body.motw-page .motw-main p{
  margin:0 0 14px;
  color:#cfd6de;
  line-height:1.68;
}
body.motw-page .motw-figure{
  margin:16px 0 0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  overflow:hidden;
  background:#0b0d13;
}
body.motw-page .motw-figure a{
  display:block;
}
body.motw-page .motw-figure img{
  width:100%;
  max-height:72vh;
  object-fit:contain;
  display:block;
  background:#000;
}
body.motw-page .motw-caption{
  margin:0;
  padding:12px 14px 14px;
  border-top:1px solid rgba(255,255,255,.1);
  color:var(--muted);
  font-size:.93rem;
  line-height:1.45;
}
body.motw-page .motw-caption strong{
  color:#4997f0;
}
body.motw-page .motw-gallery-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
body.motw-page .motw-gallery-item{
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  overflow:hidden;
  background:#0b0d13;
}
body.motw-page .motw-gallery-item > a{
  display:block;
}
body.motw-page .motw-gallery-item img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  background:#000;
}
body.motw-page .motw-gallery-meta{
  padding:10px 12px 12px;
  border-top:1px solid rgba(255,255,255,.1);
}
body.motw-page .motw-gallery-meta h3{
  margin:0 0 4px;
  color:#e8eef7;
  font-size:1rem;
}
body.motw-page .motw-gallery-meta p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.42;
}
body.motw-page .motw-gallery-meta .btn{
  margin-top:8px;
}
@media (max-width: 1100px){
  body.motw-page .motw-hero .banner-wrap{
    grid-template-columns:1fr;
    gap:12px;
  }
  body.motw-page .motw-hero .banner-text h1{
    max-width:20ch;
  }
}
@media (max-width: 760px){
  body.motw-page .motw-hero .banner-text{
    padding:18px 16px 16px;
  }
  body.motw-page .motw-hero .banner-text h1{
    max-width:none;
    font-size:clamp(1.4rem, 5.8vw, 1.9rem);
    line-height:1.1;
  }
  body.motw-page .motw-hero .banner-text .lead{
    max-width:none;
    line-height:1.6;
  }
  body.motw-page .motw-hero .banner-img{
    min-height:220px;
  }
  body.motw-page .motw-main .card-inner{
    padding:16px;
  }
  body.motw-page .motw-gallery-grid{
    grid-template-columns:1fr;
  }
  body.motw-page .motw-gallery-item img{
    height:200px;
  }
}

/* founding-statement.html — institutional manifesto (reading rhythm, quiet imagery) */
body.founding-statement-page .founding-statement-hero{
  padding: clamp(36px, 5.5vw, 56px) 0 clamp(32px, 4.5vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 95% 70% at 50% -15%, rgba(73, 151, 240, 0.055), transparent 58%),
    linear-gradient(180deg, rgba(14, 16, 24, 0.45), rgba(7, 8, 12, 0));
}
body.founding-statement-page .founding-statement-hero-inner{
  max-width: min(52rem, 100%);
}
body.founding-statement-page .founding-statement-hero h1{
  margin: 0.45rem 0 0.95rem;
  letter-spacing: -0.03em;
}
body.founding-statement-page .founding-statement-hero .kicker{
  margin-bottom: 0.72rem;
  opacity: 0.95;
}
body.founding-statement-page .founding-statement-hero .lead{
  margin: 0;
  max-width: min(46ch, 100%);
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
  font-weight: 400;
}
body.founding-statement-page .founding-statement-body.section-continues{
  padding-top: clamp(14px, 2.5vw, 22px);
}
body.founding-statement-page .founding-manifest-inner{
  padding: clamp(26px, 3.4vw, 40px) clamp(20px, 3vw, 32px);
}
body.founding-statement-page .founding-split{
  display: grid;
  grid-template-columns: minmax(0, 17.5rem) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
@media (max-width: 900px){
  body.founding-statement-page .founding-split{
    grid-template-columns: 1fr;
  }
}
body.founding-statement-page .founding-portrait img{
  max-height: min(256px, 48vw);
  width: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.93) saturate(0.97);
}
body.founding-statement-page .founding-photo-caption{
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: 0.01em;
}
body.founding-statement-page .founding-photo-caption strong{
  color: #d2dbe6;
  font-weight: 600;
}
body.founding-statement-page .founding-photo-caption a{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.founding-statement-page .founding-photo-caption a:hover{
  color: var(--text);
}
body.founding-statement-page .founding-prose > p:not(.founding-closing){
  max-width: min(68ch, 100%);
  line-height: 1.84;
  color: #d0d8e4;
  margin-bottom: 1.48rem;
}
body.founding-statement-page .founding-prose > p.founding-closing{
  margin-top: clamp(2.65rem, 5vw, 3.35rem);
  margin-bottom: 0;
  padding-top: clamp(1.45rem, 2.6vw, 1.85rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: min(42ch, 100%);
  font-size: 0.98rem;
  font-weight: 600;
  font-style: normal;
  color: #e8eef6;
  letter-spacing: 0.045em;
  line-height: 1.74;
  text-transform: none;
}
body.founding-statement-page .founding-support-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: clamp(30px, 4.2vw, 44px);
  padding-top: clamp(26px, 3.8vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 720px){
  body.founding-statement-page .founding-support-gallery{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
body.founding-statement-page .founding-plate{
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(8, 9, 14, 0.65);
}
body.founding-statement-page .founding-plate img{
  max-height: min(148px, 28vw);
  width: 100%;
  object-fit: cover;
  opacity: 0.94;
  filter: brightness(0.92) saturate(0.96);
}
body.founding-statement-page .founding-support-figure{
  margin: 0;
}

/* Educational product line: stacked disclosures / long-form rhythm */
.main-edu-product-line .content-stream > .disclosure + .disclosure{
  margin-top: 14px;
}

/* SEO pricing comparison blocks (shared by seo-servicios.html / seo-psicologos.html) */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}
.pricing-card{
  position:relative;
  border-radius:18px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(157,225,207,.1), transparent 55%),
    linear-gradient(180deg, rgba(18,20,35,.86), rgba(10,10,14,.92));
  box-shadow:0 20px 52px rgba(0,0,0,.45);
  overflow:hidden;
}
.pricing-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(420px 240px at 85% 10%, rgba(73,151,240,.16), transparent 60%);
  pointer-events:none;
  opacity:.95;
}
.pricing-card-inner{
  position:relative;
  padding:18px;
  display:flex;
  flex-direction:column;
  height:100%;
}
.pricing-card--featured{
  border-color:rgba(157,225,207,.45);
  box-shadow:
    0 24px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(157,225,207,.14);
}
.pricing-badge{
  align-self:flex-start;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #ffffff1f;
  background:rgba(157,225,207,.11);
  color:#c8f4e6;
  margin-bottom:10px;
}
.pricing-price{
  margin:6px 0 10px;
  font-size:1.42rem;
  font-weight:800;
  line-height:1.2;
  color:#eaf2ff;
}
.pricing-features{
  margin:0;
  padding:0 0 0 18px;
  color:#d2dbe6;
  flex:1;
}
.pricing-features li{
  margin:8px 0;
}
.pricing-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.pricing-grid + .cta-row{
  justify-content:flex-end;
  margin-top:16px;
}
.comparison-modal{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  min-height:100vh;
  z-index:5100;
  display:none;
  align-items:flex-start;
  justify-content:center;
  padding:40px 16px;
  overflow-y:auto;
}
.comparison-modal.is-open{
  display:flex;
}
.comparison-modal__backdrop{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  min-height:100vh;
  background:rgba(0,0,0,.74);
  backdrop-filter:blur(6px);
}
.comparison-modal__dialog{
  position:relative;
  width:min(1240px, calc(100vw - 32px));
  max-height:none;
  overflow:visible;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  box-shadow:0 28px 70px rgba(0,0,0,.58);
  margin:0 auto;
}
.comparison-modal__dialog [data-modal-close]{
  width:38px;
  height:38px;
  min-height:38px;
  padding:0;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:rgba(237,243,252,.82);
  justify-content:center;
  font-size:1.05rem;
  line-height:1;
  font-weight:600;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.comparison-modal__dialog [data-modal-close]:hover,
.comparison-modal__dialog [data-modal-close]:focus-visible{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.32);
  color:#f7fbff;
  transform:translateY(-1px);
  outline:none;
}
.comparison-modal__dialog .section-title{
  margin-bottom:6px;
  align-items:center;
}
.comparison-modal__dialog .section-sub{
  margin:0 0 12px;
  max-width:70ch;
}
.comparison-modal__dialog .card-inner{
  padding:16px 18px 18px;
}
.comparison-table-wrap{
  overflow:visible;
}
.comparison-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:0;
}
.comparison-table th,
.comparison-table td{
  border-bottom:1px solid rgba(255,255,255,.06);
  padding:8px 10px;
  text-align:center;
  vertical-align:top;
}
.comparison-table th:first-child,
.comparison-table td:first-child{
  text-align:left;
}
.comparison-table th{
  color:#bed9ff;
  font-size:.8rem;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.comparison-table td{
  color:#d2dbe6;
  font-size:.89rem;
  line-height:1.4;
}
.comparison-table--plans th:nth-child(3),
.comparison-table--plans td:nth-child(3){
  background:rgba(157,225,207,.08);
  box-shadow:
    inset 1px 0 0 rgba(157,225,207,.22),
    inset -1px 0 0 rgba(157,225,207,.22);
}
.comparison-table--plans th .pricing-badge{
  margin:0 0 0 8px;
  vertical-align:middle;
}
.comparison-matrix{
  display:grid;
  grid-template-columns:minmax(180px, .9fr) repeat(3, minmax(0, 1fr));
  gap:7px;
  margin-top:6px;
}
.comparison-matrix-head{
  display:flex;
  align-items:flex-end;
  color:#9fb8d8;
  font-size:.8rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:8px 6px;
}
.comparison-plan-card{
  position:relative;
  border:1px solid rgba(255,255,255,.11);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  padding:10px 10px 10px;
  display:flex;
  flex-direction:column;
  min-height:160px;
}
.comparison-plan-card h3{
  margin:0 0 6px;
  font-size:1rem;
  color:#dfeaff;
}
.comparison-plan-card p{
  margin:0;
  font-size:.88rem;
  line-height:1.45;
  color:#b8c5d6;
}
.comparison-plan-card .pricing-price{
  margin-top:8px;
  font-size:1.02rem;
}
.comparison-plan-card--featured{
  background:rgba(73,151,240,.09);
  border-color:rgba(125,185,255,.44);
  box-shadow:0 10px 22px rgba(0,0,0,.22);
  padding-top:22px;
}
.comparison-plan-card--featured .pricing-badge{
  position:absolute;
  top:-10px;
  left:50%;
  transform:translateX(-50%);
  margin:0;
  white-space:nowrap;
  padding:6px 10px;
  border:0;
  background:var(--blue);
  color:#f7fbff;
  box-shadow:0 8px 18px rgba(73,151,240,.32);
}
.comparison-feature{
  display:flex;
  align-items:center;
  position:relative;
  gap:6px;
  border-bottom:1px solid rgba(255,255,255,.06);
  padding:6px 6px;
  color:#cfe0f8;
  font-size:.86rem;
}
.comparison-feature > span:first-child{
  flex:1;
  min-width:0;
}
.info-dot{
  width:18px;
  height:18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.09);
  color:#d7e2f2;
  font-size:.72rem;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  cursor:help;
}
.info-dot:hover,
.info-dot:focus-visible{
  background:rgba(255,255,255,.17);
  border-color:rgba(255,255,255,.38);
  outline:none;
}
.info-tooltip{
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  z-index:20;
  width:min(290px, calc(100vw - 60px));
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.15);
  background:linear-gradient(180deg, rgba(18,21,34,.98), rgba(10,12,20,.98));
  color:#d8e3f4;
  font-size:.8rem;
  line-height:1.4;
  box-shadow:0 12px 30px rgba(0,0,0,.38);
  opacity:0;
  transform:translateY(-2px);
  pointer-events:none;
  transition:opacity .14s ease, transform .14s ease;
}
.comparison-feature:hover .info-tooltip,
.comparison-feature:focus-within .info-tooltip{
  opacity:1;
  transform:translateY(0);
}
.comparison-value{
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:1px solid rgba(255,255,255,.06);
  padding:6px 8px;
  color:#d7e2f2;
  font-size:.84rem;
  text-align:center;
}
.comparison-value--featured{
  background:rgba(73,151,240,.08);
  box-shadow:
    inset 1px 0 0 rgba(125,185,255,.28),
    inset -1px 0 0 rgba(125,185,255,.28);
}
.comparison-plan-cta{
  padding-top:6px;
  display:flex;
  justify-content:center;
  margin-top:auto;
}
.comparison-plan-cta .btn{
  justify-content:center;
  width:100%;
  min-height:34px;
  padding:7px 10px;
  font-size:.84rem;
  letter-spacing:.01em;
}
.comparison-mobile-plans{
  display:none;
}
.comparison-mobile-plan .comparison-mobile-features{
  margin:10px 0 0;
  padding:0 0 0 18px;
}
.comparison-mobile-plan .comparison-mobile-features li{
  margin:6px 0;
  color:#d7e2f2;
  font-size:.84rem;
  line-height:1.45;
}
.comparison-common{
  margin-top:9px;
  border-color:rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
}
.comparison-common .card-inner{
  padding:12px 14px;
}
.comparison-common h3{
  margin:0 0 7px;
  color:#dfeaff;
  font-size:1rem;
}
.comparison-common .bullets{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:8px;
}
.comparison-common .bullets li{
  margin:0;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  text-align:center;
  font-size:.83rem;
  line-height:1.3;
}
body.comparison-modal-open{
  overflow:hidden;
}
@media (max-width: 1100px){
  .pricing-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .pricing-card--featured{
    grid-column:1 / -1;
  }
}
@media (max-width: 760px){
  .pricing-grid{
    grid-template-columns:1fr;
  }
  .pricing-card--featured{
    grid-column:auto;
  }
  .pricing-grid + .cta-row{
    justify-content:center;
  }
  .comparison-matrix{display:none}
  .comparison-mobile-plans{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:8px;
  }
  .comparison-mobile-plan{
    min-height:0;
    padding:12px;
  }
  .comparison-mobile-plan .comparison-plan-cta{
    padding-top:8px;
  }
  .comparison-matrix-head{
    padding:0;
    margin-bottom:12px;
  }
  .comparison-feature,
  .comparison-value{
    border:0;
    background:rgba(255,255,255,.03);
    border-radius:10px;
    justify-content:space-between;
    padding:8px 10px;
    text-align:left;
  }
  .comparison-feature{
    font-weight:700;
    color:#b9d2f3;
    margin-top:16px;
    border-top:1px solid rgba(255,255,255,.12);
    padding-top:12px;
  }
  .comparison-feature .info-tooltip{
    left:10px;
    top:calc(100% + 6px);
  }
  .comparison-value{
    justify-content:flex-start;
    margin:6px 0;
    padding:10px 12px;
  }
  .comparison-value--featured{
    background:rgba(157,225,207,.11);
    box-shadow:none;
  }
  .comparison-plan-cta{
    padding-top:0;
  }
  .comparison-common .bullets{
    grid-template-columns:1fr 1fr;
  }
  .comparison-modal{
    align-items:flex-start;
    padding:24px 10px;
  }
  .comparison-modal__dialog{
    width:min(94vw, 720px);
    max-height:88vh;
    overflow-y:auto;
    margin:24px auto;
  }
  .comparison-modal__dialog .card-inner{
    padding:18px;
  }
  .comparison-plan-card,
  .comparison-plan-card--featured{
    min-height:0;
    padding-top:10px;
    margin-bottom:12px;
  }
  .comparison-plan-card--featured .pricing-badge{
    position:static;
    transform:none;
    margin:0 0 8px;
  }
}
@media (max-width: 480px){
  .comparison-modal__dialog{
    width:96vw;
    max-height:90vh;
  }
  .comparison-modal__dialog .card-inner{
    padding:14px;
  }
  .comparison-plan-card h3{
    font-size:1rem;
  }
  .comparison-value,
  .comparison-feature{
    font-size:.9rem;
  }
}

/* ---- News listing page (news.html) ---- */
html.news-page{
  scroll-behavior: smooth;
}
/* Hero: premium editorial text panel (scoped to news page only) */
main#contenido .news-page-hero.banner.banner--full .banner-text.news-page-hero-text{
  max-width: min(42rem, 100%);
  margin-right: auto;
  padding: clamp(26px, 4.2vw, 46px) clamp(24px, 3.8vw, 44px);
  border-radius: 18px;
  background: linear-gradient(152deg, rgba(17, 19, 32, 0.97), rgba(8, 10, 17, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 26px 64px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px) saturate(140%);
}
main#contenido .news-page-hero .banner-text.news-page-hero-text .kicker{
  margin: 0 0 16px;
  letter-spacing: 0.11em;
}
main#contenido .news-page-hero .banner-text.news-page-hero-text h1{
  margin: 0 0 20px;
  font-size: clamp(2.05rem, 3.4vw + 0.85rem, 3.35rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f4f7ff;
}
main#contenido .news-page-hero .banner-text.news-page-hero-text .lead{
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.05vw + 0.88rem, 1.2rem);
  line-height: 1.7;
  color: #d6dde8;
}
@media (max-width: 900px){
  main#contenido .news-page-hero .banner-text.news-page-hero-text{
    padding: clamp(22px, 5vw, 34px) clamp(18px, 4vw, 28px);
  }
  main#contenido .news-page-hero .banner-text.news-page-hero-text h1{
    font-size: clamp(1.75rem, 5vw + 0.5rem, 2.45rem);
    margin-bottom: 14px;
  }
  main#contenido .news-page-hero .banner-text.news-page-hero-text .lead{
    max-width: none;
  }
}
.news-page-section{
  scroll-margin-top: clamp(100px, 18vh, 150px);
}
.news-index{
  position: sticky;
  z-index: 100;
  top: clamp(50px, 11vw, 78px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 16, 22, 0.94), rgba(8, 9, 14, 0.9));
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}
.news-index .container{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.news-index a.pill{
  text-decoration: none;
  white-space: normal;
  text-align: center;
  max-width: min(300px, 92vw);
  line-height: 1.28;
  font-weight: 650;
}
.news-index a.pill.is-active,
.news-index a.pill[aria-current="true"]{
  border-color: rgba(73, 151, 240, 0.45);
  background: rgba(73, 151, 240, 0.16);
  color: #eaf2ff;
  box-shadow: 0 0 0 1px rgba(157, 225, 207, 0.12);
}
@media (max-width: 700px){
  .news-index .container{
    gap: 8px;
  }
}
.news-page-section .news-sub{
  margin: 4px 0 8px;
  color: #b3d2ff;
  font-weight: 500;
  font-size: 1.02rem;
}
.news-page-section .news-meta{
  font-size: 0.9rem;
  color: var(--muted);
}
.news-page-section .news-article-head .news-meta{
  margin: 0;
}
/* News articles: section rhythm */
main#contenido .news-page-section.section{
  padding-top: 28px;
  padding-bottom: 28px;
}
@media (max-width: 700px){
  main#contenido .news-page-section.section{
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
/* Editorial layout: headline band + split (copy | compact figure) */
.news-page-section .news-article.card{
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.news-page-section .news-article.card:before{
  opacity: 0.62;
}
.news-article-inner{
  padding: 18px 18px 20px;
}
@media (min-width: 901px){
  .news-article-inner{
    padding: 20px 24px 24px;
  }
}
.news-article-head{
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.news-page-section .news-article-head h2{
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.48rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.news-page-section .news-article-head .news-sub{
  margin: 0 0 6px;
}
.news-article-split{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 540px);
  gap: clamp(20px, 3.2vw, 36px);
  align-items: start;
}
.news-article-main.prose-flow{
  max-width: 56ch;
}
.news-article-main.prose-flow p{
  font-size: 0.98rem;
  line-height: 1.68;
}
.news-article-aside .news-article-media.media-block{
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 12px;
}
.news-article-aside .news-article-media.media-block img{
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
@media (max-width: 900px){
  .news-article-split{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-article-aside{
    order: -1;
    justify-self: center;
    max-width: min(100%, 420px);
  }
  .news-article-aside .news-article-media.media-block{
    max-height: min(260px, 58vw);
  }
  .news-article-main.prose-flow{
    max-width: none;
  }
}




/* ================================
   METEOMICROSCOPE VIEWER
================================ */

.microscope-viewer {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.microscope-img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.microscope-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid rgba(255,255,255,0.6);
}

.microscope-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 100%;
  cursor: ew-resize;
  z-index: 10;
}

.microscope-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
}

.microscope-label {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.microscope-label.ppl {
  left: 10px;
}

.microscope-label.xpl {
  right: 10px;
}

.microscope-caption {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* GRID DE EJEMPLARES */

.microscope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.microscope-card {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #111;
}

.microscope-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.microscope-card img {
  width: 100%;
  height: 120px;
  display: block;
  object-fit: cover;
}

.microscope-card-body {
  padding: 0.65rem;
}

.microscope-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.microscope-card-meta {
  font-size: 0.7rem;
  opacity: 0.65;
  line-height: 1.2;
}

.microscope-viewer {
  touch-action: none;
}

.microscope-overlay .microscope-img {
  max-width: none;
  width: auto;
  height: 100%;
}

.card-margin-top-20 {
  margin-top: 20px;
}
.world-clock-section {
  padding: 44px 0 22px;
}

.world-clock-panel {
  width: 100%;
  border: 1px solid rgba(135, 165, 215, .42);
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 139, 255, .18), transparent 38%),
    linear-gradient(180deg, rgba(23, 28, 39, .92), rgba(12, 14, 20, .96));
  border-radius: 28px;
  padding: 42px 32px 40px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .42),
    inset 0 0 42px rgba(65, 135, 255, .055);
}

.world-clock-header {
  text-align: center;
  margin-bottom: 34px;
}

.world-clock-header h2 {
  margin: 0 0 10px;
  color: #4a9cff;
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 0 22px rgba(74, 156, 255, .28);
}

.world-clock-header p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.95rem, 1.25vw, 1.15rem);
  font-weight: 500;
}

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

.world-clock-item {
  min-width: 0;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border: 1px solid rgba(96, 145, 220, .62);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 8%, rgba(46, 125, 255, .12), transparent 42%),
    linear-gradient(180deg, rgba(6, 16, 31, .96), rgba(3, 9, 18, .98));

  box-shadow:
    0 18px 34px rgba(0, 0, 0, .32),
    inset 0 0 28px rgba(88, 150, 255, .08);

  padding: 24px 12px 22px;
  text-align: center;
  overflow: hidden;
}

.world-clock-city {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .84);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.world-clock-time {
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: clamp(1.25rem, 1.62vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  text-shadow:
    0 0 12px rgba(255, 255, 255, .18),
    0 0 22px rgba(74, 156, 255, .42);
}

.world-clock-time::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 24px auto 0;
  border-radius: 99px;
  background: #4a9cff;
  box-shadow: 0 0 12px rgba(74, 156, 255, .8);
}

.world-clock-date {
  margin-top: 24px;
  color: rgba(255, 255, 255, .66);
  font-size: .84rem;
  font-weight: 600;
}

@media (max-width: 1280px) {
  .world-clock-panel {
    padding: 36px 24px 34px;
  }

  .world-clock-grid {
    gap: 12px;
  }

  .world-clock-item {
    min-height: 154px;
    padding: 22px 8px 20px;
  }

  .world-clock-time {
    font-size: clamp(1.05rem, 1.48vw, 1.45rem);
  }
}

@media (max-width: 1100px) {
  .world-clock-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .world-clock-time {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
  }
}

@media (max-width: 720px) {
  .world-clock-panel {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .world-clock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-clock-header {
    margin-bottom: 26px;
  }

  .world-clock-item {
    min-height: 146px;
  }
}

@media (max-width: 420px) {
  .world-clock-grid {
    grid-template-columns: 1fr;
  }
}

.armo-feature-image {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
  background: rgba(255,255,255,.03);
}

.armo-feature-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}