:root{
  --navy-980:#010715;
  --navy-950:#030D1F;
  --navy-900:#06152A;
  --navy-850:#07172C;
  --navy-800:#0B1D33;
  --navy-700:#0B2B55;
  --blue-700:#145B96;
  --blue-600:#1F74B7;
  --blue-500:#2F8ED0;
  --blue-400:#5BBBEA;
  --blue-300:#8BD4FF;
  --blue-100:#EAF7FF;
  --red-600:#C91522;
  --red-500:#E41E2B;
  --white:#FFFFFF;
  --paper:#F6FAFE;
  --ink:#07172C;
  --ink-2:#1C314C;
  --muted-dark:#3E536C;
  --muted-light:#D7E8FA;
  --line-dark:rgba(184,236,255,.22);
  --line-light:#D7E6F2;
  --shadow:0 28px 80px rgba(0,0,0,.28);
  --soft-shadow:0 18px 48px rgba(3,13,27,.14);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  overflow-x:hidden;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color:var(--muted-light);
  background:var(--navy-980);
  line-height:1.62;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--blue-400);outline-offset:3px}
img,svg{max-width:100%;height:auto;display:block}
.container{width:min(1280px,92vw);margin-inline:auto}.wide{width:min(1460px,94vw);margin-inline:auto}
.skip-link{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:.75rem 1rem;z-index:999}.skip-link:focus{left:1rem;top:1rem}
.topbar{background:#020A16;border-bottom:1px solid var(--line-dark);font-size:.91rem;color:#F5FAFF}.topbar .wide{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.58rem 0}.topbar__left,.topbar__right{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.topbar .dot{width:1px;height:18px;background:rgba(255,255,255,.42)}.topbar a{color:#fff}.status-dot{width:8px;height:8px;border-radius:999px;background:var(--red-500);display:inline-block;box-shadow:0 0 0 4px rgba(229,30,43,.16)}
.site-header{position:sticky;top:0;z-index:80;background:rgba(2,10,22,.985);backdrop-filter:blur(18px);border-bottom:1px solid rgba(184,236,255,.18);box-shadow:0 12px 36px rgba(0,0,0,.30)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1.4rem;padding:.9rem 0}.brand{display:flex;align-items:center;gap:.9rem;min-width:220px;flex:0 0 auto}.brand img{width:220px;max-width:38vw;filter:drop-shadow(0 7px 20px rgba(0,0,0,.22))}.nav{display:flex;align-items:center;justify-content:flex-end;gap:.12rem;flex-wrap:wrap;row-gap:.25rem}.nav a{padding:.65rem .72rem;border-radius:999px;color:#F7FBFF;font-weight:780;font-size:.91rem;white-space:nowrap}.nav a:hover,.nav a[aria-current="page"]{color:#FFFFFF;background:rgba(255,255,255,.095)}.nav a[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--red-500)}.menu-toggle{display:none;border:1px solid rgba(184,236,255,.30);background:rgba(255,255,255,.05);color:#fff;border-radius:12px;padding:.65rem .85rem;font-weight:800}
.main{overflow:hidden}.hero{position:relative;background:radial-gradient(circle at 78% 8%, rgba(47,142,208,.30), transparent 34%), radial-gradient(circle at 20% 14%, rgba(229,30,43,.12), transparent 24%), linear-gradient(180deg,#07172C 0%,#020A16 100%);border-bottom:1px solid var(--line-dark)}.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(184,236,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(184,236,255,.045) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(180deg,#000,transparent 86%)}.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,620px);gap:3.5rem;align-items:center;padding:5.2rem 0 3.9rem}.eyebrow{display:inline-flex;align-items:center;gap:.75rem;padding:.55rem .85rem;border:1px solid rgba(139,212,255,.44);border-radius:999px;background:rgba(91,187,234,.12);color:#EAF7FF;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:.82rem}.eyebrow:before{content:"";width:24px;height:2px;background:var(--red-500);display:block}.section-light .eyebrow,.panel .eyebrow,.logo-showcase .eyebrow{background:#FFFFFF!important;color:#07172C!important;border-color:#8EBEDF!important;box-shadow:0 7px 18px rgba(7,23,44,.08);text-shadow:none!important}.hero h1{font-size:clamp(2.9rem,6vw,6.2rem);line-height:.96;margin:1.5rem 0 1.2rem;font-weight:900;letter-spacing:-.065em;color:#fff}.accent{color:#63B9FF;text-shadow:0 0 20px rgba(99,185,255,.14)}.hero-lead{font-size:1.17rem;max-width:680px;color:#F4FAFF}.hero-lead strong{color:#fff}.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;border-radius:13px;padding:.95rem 1.22rem;font-weight:850;border:1px solid transparent;transition:.18s ease}.btn-primary{background:linear-gradient(135deg,#1F74B7,#006EDD);color:#fff;box-shadow:0 14px 30px rgba(47,142,208,.30)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(47,142,208,.38)}.btn-secondary{background:rgba(255,255,255,.07);border-color:rgba(184,236,255,.48);color:#fff}.btn-secondary:hover{background:rgba(184,236,255,.13);transform:translateY(-2px)}.section-light .btn-secondary{background:#fff;border-color:#9EC8E8;color:var(--navy-800)}.hero-visual{position:relative}.hero-visual img{border-radius:28px;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.12)}.hero-badge{position:absolute;right:22px;bottom:22px;border-radius:18px;padding:1rem;background:rgba(2,10,22,.86);border:1px solid rgba(184,236,255,.40);backdrop-filter:blur(10px);font-weight:900;color:#fff}.hero-badge span{display:block;color:#BFE8FF;font-size:.82rem;text-transform:uppercase;letter-spacing:.1em}.section{padding:4.2rem 0}.section-light{background:linear-gradient(180deg,#F6FAFE,#FFFFFF);color:var(--ink)}.section-dark{background:#020A16}.section-head{display:flex;justify-content:space-between;gap:2rem;align-items:flex-end;margin-bottom:2rem}.section-head h2{font-size:clamp(2rem,3.7vw,3.6rem);line-height:1.02;margin:0;color:inherit;letter-spacing:-.045em}.section-head p{max-width:640px;margin:0;color:#D7E8FA}.section-light .section-head p{color:var(--muted-dark)}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.15rem}.card{border:1px solid rgba(184,236,255,.24);background:linear-gradient(180deg,rgba(11,43,85,.78),rgba(6,21,42,.88));border-radius:22px;padding:1.45rem;box-shadow:0 16px 36px rgba(0,0,0,.18);min-height:220px;transition:.2s ease;color:#fff}.card:hover{transform:translateY(-5px);border-color:rgba(91,187,234,.60)}.card--light{background:#fff;border-color:#DDEAF5;box-shadow:var(--soft-shadow);color:var(--ink)}.icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:rgba(139,212,255,.14);border:1px solid rgba(139,212,255,.30);margin-bottom:1rem;color:#CFEFFF}.card--light .icon{color:var(--navy-800);background:#EAF4FF;border-color:#BED8EE}.icon svg{width:30px;height:30px}.card h3{margin:.2rem 0 .65rem;font-size:1.28rem;line-height:1.2;color:#fff}.card--light h3{color:var(--ink)}.card p{margin:0;color:#E0EFFD}.card--light p{color:#374A62}.card-link{display:inline-flex;align-items:center;gap:.45rem;margin-top:1rem;color:#BFE8FF;font-weight:850}.card--light .card-link{color:#075F98}.red-arrow{color:var(--red-500)}.feature-band{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center;border-radius:30px;background:linear-gradient(135deg,rgba(11,43,85,.96),rgba(3,13,31,.98));border:1px solid rgba(184,236,255,.24);padding:2.4rem;box-shadow:var(--shadow);color:#fff}.feature-band h2{font-size:clamp(2.1rem,4.4vw,4.4rem);line-height:1.04;margin:.8rem 0 1rem;color:#fff}.feature-band p{color:#F0F8FF;font-size:1.05rem}.feature-band .mini{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:1.4rem}.mini-card{padding:1.15rem;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(184,236,255,.24);color:#fff}.mini-card strong{display:block;font-size:1.35rem;color:#fff}.mini-card span{color:#D8EAFF;font-size:.94rem}.publication-list{display:grid;gap:1rem}.publication{display:grid;grid-template-columns:1fr auto;gap:1rem;background:#fff;color:var(--ink);border:1px solid #DDEAF5;border-radius:20px;padding:1.2rem 1.35rem;box-shadow:var(--soft-shadow)}.publication h3{margin:0 0 .35rem;font-size:1.15rem;color:var(--ink)}.publication p{margin:.1rem 0;color:#374A62}.tag{display:inline-flex;align-items:center;border-radius:999px;padding:.34rem .62rem;background:#EAF4FF;color:#075F98;font-weight:850;font-size:.78rem}.metrics{display:grid;grid-template-columns:repeat(5,1fr);border-radius:24px;overflow:hidden;border:1px solid rgba(184,236,255,.26);background:linear-gradient(90deg,#06152A,#0B2B55,#06152A)}.metric{padding:1.5rem;border-right:1px solid rgba(229,30,43,.40);color:#fff}.metric:last-child{border-right:0}.metric strong{display:block;font-size:2rem;line-height:1;color:#fff}.metric span{display:block;color:#D8EAFF;margin-top:.3rem}.section-light .metrics{background:#fff;border-color:#DDEAF5}.section-light .metric{color:var(--ink);border-right:1px solid rgba(201,21,34,.30)}.section-light .metric strong{color:var(--ink)}.section-light .metric span{color:#31465F}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,470px);gap:2rem;align-items:start}.panel{border:1px solid #DDEAF5;background:#fff;border-radius:24px;padding:1.6rem;box-shadow:var(--soft-shadow);color:var(--ink)}.panel h2,.panel h3{margin-top:0;color:var(--ink)}.panel p{color:#374A62}.panel a{color:#075F98;font-weight:750}.fact-list{display:grid;gap:.75rem}.fact{display:grid;grid-template-columns:190px 1fr;gap:.8rem;border-bottom:1px solid #E6EEF6;padding:.7rem 0}.fact b{color:var(--navy-900)}.quote-box{padding:1.3rem;border-left:5px solid var(--red-500);background:#F3F8FD;border-radius:16px;color:var(--ink);font-weight:800}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.contact-card{background:linear-gradient(180deg,rgba(11,43,85,.95),rgba(6,21,42,.98));border:1px solid rgba(184,236,255,.28);border-radius:24px;padding:1.5rem;color:#fff}.contact-card h3{margin-top:0;color:#fff}.contact-card p{color:#E6F3FF}.form-static{display:grid;gap:.8rem}.field{display:grid;gap:.35rem}.field label{font-weight:850;color:#fff}.field input,.field textarea{width:100%;border:1px solid rgba(184,236,255,.38);border-radius:14px;background:rgba(255,255,255,.10);color:#fff;padding:.9rem 1rem;font:inherit}.field input::placeholder,.field textarea::placeholder{color:#BFD4E8}.field textarea{min-height:130px}.site-footer{background:#020A16;border-top:1px solid var(--line-dark);padding:2.2rem 0 1rem;color:#EAF6FF}.footer-grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:2rem;margin-bottom:1.6rem}.footer-logo{width:240px}.site-footer h3{font-size:1rem;color:#fff;margin:0 0 .7rem}.site-footer a,.site-footer p{color:#D7E8FA;margin:.2rem 0}.footer-bottom{border-top:1px solid var(--line-dark);padding-top:1rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#F5FAFF}.language{display:flex;gap:.6rem}.language b{color:#fff;border-bottom:2px solid var(--red-500)}
.logo-page{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.logo-showcase{background:#fff;border-radius:28px;padding:2rem;border:1px solid #DDEAF5;box-shadow:var(--soft-shadow);color:var(--ink)}.logo-showcase.dark{background:#06152A;color:#fff}.palette{display:flex;gap:.8rem;flex-wrap:wrap}.swatch{width:110px;height:68px;border-radius:14px;border:1px solid rgba(0,0,0,.08);display:grid;place-items:end center;padding-bottom:.5rem;color:#fff;font-size:.72rem;font-weight:850}.swatch.light{color:var(--ink)}

/* Correcciones finales de contraste y legibilidad */
.section-light .eyebrow{font-weight:950!important;letter-spacing:.095em!important}
.feature-band .panel{background:#FFFFFF!important;color:#07172C!important;border-color:#C9DCEB!important}
.feature-band .panel h2,.feature-band .panel h3,.feature-band .panel b{color:#07172C!important}
.feature-band .panel p,.feature-band .panel span{color:#243B56!important}
.feature-band .panel a{color:#075F98!important}
.section-light .section-head p,.card--light p,.publication p,.panel p{color:#243B56!important}
.card--light h3,.publication h3,.panel h2,.panel h3{color:#07172C!important}
.card--light .card-link{color:#075F98!important}
@media (max-width:1320px){.nav{display:none;position:absolute;inset:100% 4vw auto 4vw;flex-direction:column;align-items:stretch;background:#06152A;border:1px solid rgba(184,236,255,.22);border-radius:18px;padding:.7rem;box-shadow:var(--soft-shadow)}.nav a{color:#fff;font-size:1rem}.nav a:hover,.nav a[aria-current="page"]{background:rgba(255,255,255,.09);color:#fff}.nav.is-open{display:flex}.menu-toggle{display:inline-flex}.header-inner{position:relative}.brand img{width:214px}}

@media (max-width:1120px){.hero-grid,.feature-band,.split{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.metrics{grid-template-columns:repeat(2,1fr)}.metric:nth-child(2n){border-right:0}.nav{display:none;position:absolute;inset:100% 4vw auto 4vw;flex-direction:column;align-items:stretch;background:#06152A;border:1px solid rgba(184,236,255,.22);border-radius:18px;padding:.7rem;box-shadow:var(--soft-shadow)}.nav a{color:#fff}.nav.is-open{display:flex}.menu-toggle{display:inline-flex}.header-inner{position:relative}.brand img{width:220px}.contact-grid,.footer-grid{grid-template-columns:1fr}.logo-page{grid-template-columns:1fr}}
@media (max-width:680px){.topbar .wide{align-items:flex-start;flex-direction:column}.hero-grid{padding:3.2rem 0 2.4rem}.cards,.metrics{grid-template-columns:1fr}.metric{border-right:0!important;border-bottom:1px solid rgba(229,30,43,.28)}.metric:last-child{border-bottom:0}.publication{grid-template-columns:1fr}.fact{grid-template-columns:1fr}.feature-band{padding:1.4rem}.section{padding:3rem 0}.hero-actions{flex-direction:column}.btn{width:100%}.brand img{width:190px}.topbar__right{font-size:.84rem}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* V6 contraste final: etiquetas celestes legibles y panel de separación estratégica */
.section-light .eyebrow,
.panel .eyebrow,
.logo-showcase .eyebrow{
  background:#F2F8FD !important;
  border:2px solid #B7D8EE !important;
  color:#4E86B5 !important;
  box-shadow:none !important;
  text-shadow:none !important;
}
.section-light .eyebrow::before,
.panel .eyebrow::before,
.logo-showcase .eyebrow::before{
  background:var(--red-500) !important;
}
.section-light .eyebrow{
  font-weight:900 !important;
  letter-spacing:.09em !important;
}
.feature-band .panel,
.feature-band .panel *{
  text-shadow:none !important;
}
.feature-band .panel p,
.feature-band .panel span,
.feature-band .panel li,
.feature-band .panel div{
  color:#2C4764 !important;
}
.feature-band .panel h2,
.feature-band .panel h3,
.feature-band .panel b,
.feature-band .panel strong{
  color:#07172C !important;
}


/* V7 depuración 10/10: credibilidad, contraste y observatorio */
.nav a{font-size:.84rem!important;padding:.58rem .56rem!important;}
.brand img{width:205px!important;max-width:34vw!important;}
.section-light .eyebrow,
.panel .eyebrow,
.logo-showcase .eyebrow{
  background:#FFFFFF!important;
  border:2px solid #A7CFE8!important;
  color:#0B426B!important;
  box-shadow:0 6px 18px rgba(7,23,44,.07)!important;
  text-shadow:none!important;
  font-weight:950!important;
  letter-spacing:.082em!important;
}
.section-dark .panel .eyebrow,
.feature-band .eyebrow,
.hero .eyebrow{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(184,236,255,.46)!important;
  color:#F4FBFF!important;
}
.section-light .eyebrow:before,.panel .eyebrow:before{background:var(--red-500)!important;}
.feature-band .panel,
.feature-band .panel *{text-shadow:none!important;}
.feature-band .panel{background:#FFFFFF!important;color:#07172C!important;border-color:#D3E4F1!important;}
.feature-band .panel p,.feature-band .panel span,.feature-band .panel div,.feature-band .panel li{color:#253F5C!important;}
.feature-band .panel h2,.feature-band .panel h3,.feature-band .panel b,.feature-band .panel strong{color:#07172C!important;}
.credibility-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;}
.cred{background:#fff;border:1px solid #DDEAF5;border-radius:20px;padding:1.4rem;box-shadow:var(--soft-shadow);color:var(--ink);}
.cred strong{display:block;font-size:2rem;line-height:1;color:#06152A;margin-bottom:.45rem;}
.cred span{color:#243B56;}
.notice-panel{margin-bottom:1.2rem;}
.observatorio-hero .hero-grid{grid-template-columns:minmax(0,1fr) minmax(360px,560px);}
.observatory-card{background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.05));border:1px solid rgba(184,236,255,.34);border-radius:28px;padding:1.6rem;box-shadow:var(--shadow);color:#fff;}
.observatory-card h3{font-size:1.7rem;margin:.1rem 0 .6rem;color:#fff;}
.observatory-card p,.observatory-card small{color:#EAF7FF;}
.chart-shell{position:relative;height:240px;background:rgba(2,10,22,.58);border:1px solid rgba(184,236,255,.25);border-radius:22px;margin:1.2rem 0;overflow:hidden;background-image:linear-gradient(rgba(184,236,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(184,236,255,.07) 1px,transparent 1px);background-size:38px 38px;}
.chart-bars{position:absolute;left:10%;right:8%;bottom:20px;height:70%;display:flex;align-items:end;gap:14px;}
.chart-bars span{flex:1;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#8BD4FF,#1F74B7);box-shadow:0 0 22px rgba(139,212,255,.18);}
.chart-line{position:absolute;left:11%;right:8%;top:38%;height:4px;background:#E41E2B;transform:rotate(-10deg);box-shadow:0 0 16px rgba(228,30,43,.35);border-radius:999px;}
.scientific-assistant textarea{width:100%;min-height:120px;border:1px solid #B7D8EE;border-radius:16px;padding:1rem;font:inherit;color:#07172C;background:#fff;resize:vertical;margin:.6rem 0 1rem;}
.assistant-controls{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:1rem 0;}
.assistant-controls label,.question-label{display:grid;gap:.35rem;color:#07172C;font-weight:850;}
.assistant-controls select{border:1px solid #B7D8EE;border-radius:12px;padding:.75rem;background:#fff;color:#07172C;font:inherit;}
.assistant-response{margin-top:1rem;padding:1rem;border-radius:18px;background:#F3F8FD;border:1px solid #DDEAF5;color:#07172C;white-space:pre-line;}
@media (max-width:1320px){.nav{display:none;position:absolute;inset:100% 4vw auto 4vw;flex-direction:column;align-items:stretch;background:#06152A;border:1px solid rgba(184,236,255,.22);border-radius:18px;padding:.7rem;box-shadow:var(--soft-shadow)}.nav.is-open{display:flex}.nav a{font-size:1rem!important;color:#fff!important}.menu-toggle{display:inline-flex}.header-inner{position:relative}.brand img{width:210px!important;}}
@media (max-width:900px){.credibility-grid,.assistant-controls{grid-template-columns:1fr}.observatorio-hero .hero-grid{grid-template-columns:1fr}.brand img{max-width:58vw!important;}}

/* ===== Observatorio científico interactivo ===== */
.observatorio-hero--advanced{
  padding-top: 3rem;
}
.observatorio-grid{
  align-items: stretch;
}
.hero-status-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  margin-top:1.5rem;
}
.hero-status-card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(188,231,255,.18);
  border-radius:20px;
  padding:1rem 1.1rem;
  display:flex;
  flex-direction:column;
  gap:.45rem;
  box-shadow:0 14px 40px rgba(0,0,0,.18);
}
.hero-status-card strong{font-size:1rem;color:#fff;}
.hero-status-card span{color:#d7eaff;font-size:.96rem;line-height:1.55;}
.dashboard-preview-card{
  background:linear-gradient(180deg, rgba(17,40,75,.86), rgba(8,19,38,.94));
  border:1px solid rgba(188,231,255,.18);
  border-radius:30px;
  padding:1.7rem;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.preview-topline{font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;color:#8cd0ff;}
.preview-list{list-style:none;padding:0;margin:0;display:grid;gap:.7rem;}
.preview-list li{display:flex;gap:.8rem;align-items:center;color:#e8f6ff;font-weight:600;}
.preview-list span{
  width:2rem;height:2rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(90,178,255,.16);color:#8cd0ff;border:1px solid rgba(90,178,255,.35);font-size:.83rem;
}
.preview-mini-metrics{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.preview-mini-metrics div{background:rgba(255,255,255,.04);border-radius:18px;padding:.95rem 1rem;border:1px solid rgba(188,231,255,.13);}
.preview-mini-metrics b{display:block;font-size:1.25rem;color:#fff;}
.preview-mini-metrics small{color:#b9d9ef;line-height:1.4;}
.preview-note{margin:0;color:#cfe5f7;}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:1.6rem;}
.section-head p{max-width:48rem;color:#cfe5f7;}
.section-light .section-head p{color:#3f5872;}
.dashboard-controls{
  display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem;
}
.dataset-switch{display:flex;gap:.6rem;flex-wrap:wrap;}
.dataset-tab{
  background:#0b203b;color:#ddecfb;border:1px solid rgba(90,178,255,.24);border-radius:999px;padding:.78rem 1.1rem;
  font-weight:700;cursor:pointer;transition:.2s ease;
}
.dataset-tab:hover,.dataset-tab.is-active{background:linear-gradient(135deg,#0f67b0,#2a9bf1);color:#fff;border-color:transparent;box-shadow:0 12px 30px rgba(15,103,176,.25);}
.dashboard-actions{display:flex;gap:.7rem;flex-wrap:wrap;}
.btn-small{padding:.72rem 1rem;font-size:.95rem;}
.observatory-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:1.25rem;align-items:start;}
.observatory-main-panel,.observatory-side-panel,.data-table-panel,.scientific-assistant--rich{overflow:hidden;}
.observatory-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap;margin-bottom:.8rem;}
.eyebrow-inline{display:inline-block;margin-bottom:.2rem;}
.badge-row{display:flex;gap:.55rem;flex-wrap:wrap;}
.data-badge{background:rgba(90,178,255,.12);border:1px solid rgba(90,178,255,.24);border-radius:999px;padding:.42rem .75rem;color:#0f67b0;font-weight:700;font-size:.85rem;}
.section-dark .data-badge,.hero .data-badge{color:#ddecfb;background:rgba(90,178,255,.12);border-color:rgba(90,178,255,.24);}
.chart-description{margin-bottom:1rem;color:#b9d9ef;line-height:1.65;}
.section-light .chart-description{color:#49637b;}
.plotly-shell{
  min-height:470px;border-radius:24px;background:linear-gradient(180deg,#051224,#081a33);border:1px solid rgba(188,231,255,.12);overflow:hidden;
}
.chart-footnotes{margin-top:1rem;color:#d7eaff;font-size:.96rem;line-height:1.62;}
.chart-footnotes strong{display:block;margin-bottom:.55rem;color:#fff;}
.chart-footnotes ul{padding-left:1.15rem;margin:0;display:grid;gap:.3rem;}
.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;}
.summary-item{background:rgba(6,21,42,.05);border:1px solid rgba(15,103,176,.14);border-radius:20px;padding:1rem;display:flex;flex-direction:column;gap:.35rem;}
.summary-item span{color:#56708a;font-size:.9rem;font-weight:700;}
.summary-item strong{font-size:1.25rem;color:#0a2038;}
.summary-item small{color:#6a8098;line-height:1.5;}
.mini-panel{display:flex;flex-direction:column;gap:1rem;}
.table-wrap{overflow:auto;border-radius:20px;border:1px solid rgba(15,103,176,.12);}
.data-table{width:100%;border-collapse:collapse;min-width:560px;background:#fff;}
.data-table thead th{position:sticky;top:0;background:#f1f7fc;color:#123150;padding:1rem;text-align:left;font-size:.92rem;}
.data-table tbody td{padding:.95rem 1rem;border-top:1px solid #e4edf5;color:#29435d;}
.data-table tbody tr:hover{background:#f8fbfe;}
.observatory-consultation{align-items:start;}
.assistant-controls{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0;}
.assistant-controls label{display:flex;flex-direction:column;gap:.45rem;color:#e8f6ff;font-weight:600;}
.assistant-controls select,.question-label,.scientific-assistant textarea{
  font:inherit;
}
.assistant-controls select{
  background:#081a33;color:#fff;border:1px solid rgba(188,231,255,.18);border-radius:14px;padding:.9rem 1rem;
}
.question-chip-row{display:flex;gap:.6rem;flex-wrap:wrap;margin:0 0 1rem;}
.question-chip{
  background:rgba(90,178,255,.08);border:1px solid rgba(90,178,255,.2);color:#ddecfb;border-radius:999px;padding:.55rem .9rem;font-weight:700;cursor:pointer;
}
.question-chip:hover{background:rgba(90,178,255,.18);}
.question-label{display:block;color:#ddecfb;font-weight:700;margin:.2rem 0 .45rem;}
.scientific-assistant textarea{
  width:100%;min-height:150px;background:#081a33;color:#fff;border:1px solid rgba(188,231,255,.18);border-radius:18px;padding:1rem 1.1rem;resize:vertical;line-height:1.6;margin-bottom:1rem;
}
.assistant-response{
  margin-top:1rem;padding:1rem 1.1rem;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(188,231,255,.12);white-space:pre-line;color:#e8f6ff;line-height:1.65;
}
.notice-box,.source-box,.quote-box{
  margin-top:1rem;padding:1rem 1.1rem;border-radius:18px;border:1px solid rgba(15,103,176,.14);background:rgba(6,21,42,.04);
}
.section-dark .notice-box,.section-dark .source-box,.section-dark .quote-box{
  background:rgba(255,255,255,.04);border-color:rgba(188,231,255,.12);color:#d7eaff;
}
.source-box ul{margin:.6rem 0 0 1rem;padding:0;display:grid;gap:.35rem;}
.quote-box{font-style:italic;line-height:1.6;}

@media (max-width: 1080px){
  .observatory-layout{grid-template-columns:1fr;}
  .hero-status-grid{grid-template-columns:1fr;}
  .section-head{flex-direction:column;align-items:flex-start;}
}
@media (max-width: 768px){
  .preview-mini-metrics,.summary-grid,.assistant-controls{grid-template-columns:1fr;}
  .dashboard-controls,.observatory-panel-head{flex-direction:column;align-items:flex-start;}
  .plotly-shell{min-height:390px;}
}

/* ===== V9 Observatorio 10/10: laboratorio científico interactivo ===== */
.observatorio-grid--v9{grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);align-items:center;}
.hero-status-grid--four{grid-template-columns:repeat(2,minmax(0,1fr));}
.dashboard-preview-card--lab{position:relative;overflow:hidden;border:1px solid rgba(139,212,255,.26);background:linear-gradient(155deg,rgba(7,23,44,.96),rgba(2,10,22,.98));}
.dashboard-preview-card--lab:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(139,212,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(139,212,255,.055) 1px,transparent 1px);background-size:34px 34px;mask-image:radial-gradient(circle at 55% 40%,#000,transparent 78%);pointer-events:none;}
.dashboard-preview-card--lab>*{position:relative;z-index:1;}
.mission-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;margin:1rem 0;}
.mission-cell{border:1px solid rgba(184,236,255,.18);background:rgba(255,255,255,.045);border-radius:18px;padding:.95rem;display:grid;gap:.25rem;position:relative;}
.mission-cell span{position:absolute;right:.85rem;top:.85rem;width:.7rem;height:.7rem;border-radius:999px;background:#7f8da0;box-shadow:0 0 0 5px rgba(127,141,160,.12);}
.mission-cell.is-online span{background:#5AB2FF;box-shadow:0 0 0 5px rgba(90,178,255,.16),0 0 20px rgba(90,178,255,.35);}
.mission-cell.is-warning span{background:#E41E2B;box-shadow:0 0 0 5px rgba(228,30,43,.14),0 0 20px rgba(228,30,43,.30);}
.mission-cell b{color:#fff;letter-spacing:.04em;}
.mission-cell small{color:#CFE4F5;}
.observatory-lab-section{background:radial-gradient(circle at 80% 8%,rgba(90,178,255,.18),transparent 30%),linear-gradient(180deg,#F6FAFE 0%,#FFFFFF 100%);}
.dashboard-controls--sticky{position:sticky;top:104px;z-index:25;background:rgba(246,250,254,.92);backdrop-filter:blur(16px);border:1px solid #DDEAF5;border-radius:22px;padding:.85rem;box-shadow:0 18px 40px rgba(7,23,44,.08);}
.dataset-switch{display:flex;gap:.55rem;flex-wrap:wrap;}
.dataset-tab{border:1px solid #B9D9ED;background:#fff;color:#07172C;border-radius:999px;padding:.75rem 1rem;font-weight:850;cursor:pointer;transition:.18s ease;}
.dataset-tab:hover,.dataset-tab.is-active{background:linear-gradient(135deg,#06152A,#0F67B0);color:#fff;border-color:transparent;box-shadow:0 14px 28px rgba(15,103,176,.24);transform:translateY(-1px);}
.observatory-layout--v9{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(340px,.9fr);gap:1.2rem;align-items:start;}
.observatory-main-panel--v9{padding:1.35rem;border-radius:28px;background:linear-gradient(180deg,#FFFFFF,#F7FBFF);}
.observatory-side-panel--v9{display:grid;gap:1rem;}
.plotly-shell--v9{min-height:560px;border:1px solid rgba(7,23,44,.14);border-radius:24px;background:#06152A;box-shadow:inset 0 0 0 1px rgba(184,236,255,.08),0 18px 55px rgba(7,23,44,.16);}
.plotly-error{display:grid;place-items:center;min-height:420px;color:#fff;padding:2rem;text-align:center;}
.observatory-panel-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.75rem;}
.badge-row{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end;}
.data-badge{border:1px solid #B9D9ED;background:#EFF8FF;color:#0B426B;border-radius:999px;padding:.38rem .72rem;font-weight:850;font-size:.82rem;}
.data-badge-live.is-live,.data-badge.is-live{background:#EAF7FF;color:#0B426B;border-color:#5AB2FF;}
.data-badge-live.is-fallback,.data-badge.is-fallback{background:#FFF3F4;color:#8D1019;border-color:#E41E2B;}
.data-badge-live.is-loading,.data-badge.is-loading{background:#F5F8FC;color:#354C66;border-color:#B9C7D7;}
.chart-description{color:#243B56!important;font-size:1.02rem;}
.chart-footnotes{margin-top:1rem;background:#F3F8FD;border:1px solid #DDEAF5;border-radius:18px;padding:1rem;color:#243B56!important;}
.chart-footnotes strong{color:#07172C!important;}
.chart-footnotes a{color:#075F98;font-weight:850;word-break:break-all;}
.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;}
.summary-item{background:#F6FAFE;border:1px solid #DDEAF5;border-radius:18px;padding:.95rem;display:flex;flex-direction:column;gap:.3rem;}
.summary-item span{font-weight:850;color:#3A5977;font-size:.85rem;}
.summary-item strong{font-size:1.2rem;color:#07172C;line-height:1.1;}
.summary-item small{color:#4A637C;line-height:1.45;}
.source-live-panel p{color:#243B56!important;line-height:1.55;}
.source-live-panel a{color:#075F98;font-weight:800;word-break:break-all;}
.data-table-panel--v9{margin-top:1.2rem;}
.table-wrap{overflow:auto;border:1px solid #DDEAF5;border-radius:18px;}
.data-table{width:100%;border-collapse:collapse;background:#fff;min-width:720px;}
.data-table th{background:#07172C;color:#fff;text-align:left;padding:.85rem 1rem;font-size:.9rem;position:sticky;top:0;}
.data-table td{border-top:1px solid #E6EEF6;color:#243B56;padding:.78rem 1rem;font-size:.92rem;}
.data-table tr:hover td{background:#F6FAFE;}
.agent-lab-section{background:radial-gradient(circle at 20% 0%,rgba(90,178,255,.14),transparent 28%),linear-gradient(180deg,#020A16,#06152A);}
.agent-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin-bottom:1.4rem;}
.agent-card{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid rgba(184,236,255,.16);border-radius:22px;padding:1.1rem;color:#fff;box-shadow:0 18px 48px rgba(0,0,0,.22);}
.agent-card span{display:inline-flex;width:2.2rem;height:2.2rem;align-items:center;justify-content:center;border-radius:999px;background:rgba(90,178,255,.15);border:1px solid rgba(90,178,255,.30);color:#BCE7FF;font-weight:900;margin-bottom:.8rem;}
.agent-card h3{margin:.2rem 0 .4rem;color:#fff;font-size:1.08rem;}
.agent-card p{margin:0;color:#D7E8FA;font-size:.94rem;line-height:1.5;}
.scientific-assistant--v9{background:linear-gradient(180deg,#FFFFFF,#F6FAFE)!important;color:#07172C!important;}
.scientific-assistant--v9 h2,.scientific-assistant--v9 p,.scientific-assistant--v9 label{color:#07172C!important;}
.scientific-assistant--v9 select,.scientific-assistant--v9 textarea{background:#fff!important;color:#07172C!important;border-color:#B9D9ED!important;}
.scientific-assistant--v9 .assistant-response{background:#07172C!important;color:#F5FAFF!important;border-color:#5AB2FF!important;}
.question-chip-row{display:flex;gap:.55rem;flex-wrap:wrap;margin:.8rem 0 1rem;}
.question-chip{border:1px solid #B9D9ED;background:#fff;color:#0B426B;border-radius:999px;padding:.55rem .8rem;font-weight:850;cursor:pointer;}
.question-chip:hover{background:#EAF7FF;}
.agent-output-panel{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035))!important;border-color:rgba(184,236,255,.18)!important;color:#fff!important;}
.agent-output-panel h3{color:#fff!important;}
.agent-report{display:grid;gap:.75rem;}
.agent-report-item{background:rgba(255,255,255,.055);border:1px solid rgba(184,236,255,.14);border-radius:16px;padding:.85rem;color:#EAF7FF;line-height:1.55;}
.agent-report-item b{color:#BCE7FF;}
.notice-box,.source-box{background:#F3F8FD;border:1px solid #DDEAF5;border-radius:18px;padding:1rem;}
.source-box ul{margin:.5rem 0 0 1rem;padding:0;}
.hero .eyebrow,.section-dark .eyebrow{color:#F5FAFF!important;background:rgba(255,255,255,.075)!important;border-color:rgba(184,236,255,.40)!important;}
.section-light .eyebrow,.panel .eyebrow{color:#0B426B!important;background:#FFFFFF!important;border-color:#9DCBE8!important;}

@media(max-width:1200px){.observatory-layout--v9,.observatorio-grid--v9{grid-template-columns:1fr}.agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-controls--sticky{top:86px}.plotly-shell--v9{min-height:500px}}
@media(max-width:760px){.hero-status-grid--four,.mission-control-grid,.preview-mini-metrics,.summary-grid,.agent-grid{grid-template-columns:1fr}.dashboard-controls--sticky{position:static}.observatory-panel-head{flex-direction:column}.badge-row{justify-content:flex-start}.plotly-shell--v9{min-height:420px}.data-table{min-width:620px}}


/* V10 free-safe: mensaje de costo cero y legibilidad final */
.free-safe-ribbon{
  margin-top:1rem;
  padding:1rem 1.1rem;
  border-radius:18px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(188,231,255,.22);
  color:#EAF7FF;
  box-shadow:0 18px 50px rgba(0,0,0,.18);
}
.free-safe-ribbon strong{color:#fff;}
.section-light .eyebrow,.panel .eyebrow,.logo-showcase .eyebrow{
  color:#06395E!important;
  background:#FFFFFF!important;
  border-color:#8DBDDA!important;
}
.scientific-assistant--v9 .eyebrow,.agent-output-panel .eyebrow,.section-dark .eyebrow{
  color:#F5FBFF!important;
}


/* ===== V11 auditoría final 10/10: contraste, menú visible y gráficas sin superposición ===== */
:root{--ink-strong:#06152A;--ink-readable:#243B56;--link-readable:#075F98;--lux-blue:#5AB2FF;}
.section-light,
.section-light .panel,
.panel,
.card--light,
.publication,
.data-table-panel{color:var(--ink-strong)!important;}
.section-light p,.section-light span,.section-light li,.panel p,.panel span,.panel li,.card--light p,.publication p,.fact span,.summary-item small{color:var(--ink-readable)!important;}
.section-light h1,.section-light h2,.section-light h3,.section-light h4,.panel h1,.panel h2,.panel h3,.panel h4,.card--light h3,.publication h3{color:var(--ink-strong)!important;}
.section-light a:not(.btn):not(.tag),.panel a:not(.btn):not(.tag),.card--light .card-link{color:var(--link-readable)!important;font-weight:850!important;}
.section-light .eyebrow,.panel .eyebrow,.logo-showcase .eyebrow,.eyebrow-inline{background:#FFFFFF!important;border:2px solid #97C4E4!important;color:#0B426B!important;box-shadow:0 6px 18px rgba(7,23,44,.08)!important;text-shadow:none!important;font-weight:950!important;}
.hero .eyebrow,.section-dark .eyebrow,.feature-band .eyebrow{background:rgba(255,255,255,.08)!important;border-color:rgba(184,236,255,.46)!important;color:#F4FBFF!important;}
.section-light .chart-footnotes,.section-light .chart-footnotes li,.section-light .chart-footnotes a{color:var(--ink-readable)!important;}
.section-light .chart-footnotes strong{color:var(--ink-strong)!important;}
.section-light .data-badge{background:#EAF4FF!important;color:#0B426B!important;border-color:#97C4E4!important;}
.source-live-panel p,.source-live-panel span,.source-live-panel a{color:var(--ink-readable)!important;}
.source-live-panel strong{color:var(--ink-strong)!important;}
.notice-box,.source-box,.quote-box{background:#F5FAFE!important;color:var(--ink-strong)!important;border-color:#BBD6EA!important;}
.section-dark .notice-box,.section-dark .source-box,.section-dark .quote-box{background:rgba(255,255,255,.055)!important;color:#EAF7FF!important;border-color:rgba(188,231,255,.20)!important;}

/* Menú principal: visible por defecto en escritorio y tablet horizontal */
@media (min-width: 981px){
  .menu-toggle{display:none!important;}
  .site-header .nav{display:flex!important;position:static!important;inset:auto!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:.12rem!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
  .site-header .nav a{font-size:.80rem!important;line-height:1.15!important;padding:.52rem .46rem!important;color:#F7FBFF!important;border-radius:999px!important;white-space:nowrap!important;}
  .site-header .nav a:hover,.site-header .nav a[aria-current="page"]{background:rgba(255,255,255,.10)!important;color:#fff!important;}
  .brand img{width:188px!important;max-width:26vw!important;}
  .header-inner{gap:.9rem!important;}
}
@media (max-width: 980px){
  .site-header .nav{display:none!important;position:absolute!important;inset:100% 4vw auto 4vw!important;flex-direction:column!important;align-items:stretch!important;background:#06152A!important;border:1px solid rgba(184,236,255,.25)!important;border-radius:18px!important;padding:.75rem!important;box-shadow:var(--soft-shadow)!important;}
  .site-header .nav.is-open{display:flex!important;}
  .site-header .nav a{font-size:1rem!important;color:#fff!important;padding:.75rem .85rem!important;}
  .menu-toggle{display:inline-flex!important;}
}

/* Gráficas Plotly: contención dimensional, no superposición con paneles laterales */
.observatory-layout,.observatory-layout--v9{grid-template-columns:minmax(0,2fr) minmax(310px,.9fr)!important;align-items:start!important;overflow:visible!important;}
.observatory-main-panel,.observatory-main-panel--v9,.observatory-side-panel,.observatory-side-panel--v9,.data-table-panel,.plotly-shell{min-width:0!important;}
.plotly-shell,.plotly-shell--v9{display:block!important;width:100%!important;height:590px!important;min-height:590px!important;position:relative!important;overflow:hidden!important;contain:layout paint!important;}
.plotly-shell .js-plotly-plot,.plotly-shell .plot-container,.plotly-shell .svg-container{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;}
.plotly-shell .main-svg{max-width:100%!important;}
.plotly-error{display:grid;place-items:center;height:100%;padding:2rem;color:#fff;background:#06152A;border-radius:18px;text-align:center;}
@media (max-width:1180px){.observatory-layout,.observatory-layout--v9{grid-template-columns:1fr!important}.plotly-shell,.plotly-shell--v9{height:540px!important;min-height:540px!important;}}
@media (max-width:680px){.plotly-shell,.plotly-shell--v9{height:430px!important;min-height:430px!important}.dashboard-controls--sticky{position:static!important}.dataset-tab{width:100%;text-align:center}.dashboard-actions .btn{width:100%;}}

/* Corrección estructura roadmap */
.agent-report,.agent-report-item{color:#EAF7FF!important;}
.footer-bottom span{color:#F5FAFF!important;}
