:root {
  --navy-950: #041321;
  --navy-900: #071a2f;
  --navy-800: #0b2945;
  --navy-700: #123b5e;
  --teal-700: #087f8c;
  --teal-600: #0d99a3;
  --teal-400: #57d4d1;
  --teal-100: #dff7f6;
  --ink: #10283b;
  --muted: #647887;
  --line: #dce7eb;
  --surface: #fff;
  --surface-soft: #f3f8fa;
  --critical: #d64045;
  --high: #e87522;
  --medium: #d9a514;
  --low: #2a9d66;
  --shadow: 0 18px 50px rgba(5, 35, 55, .09);
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.section { padding: 92px 0; }
.section-tinted { background: var(--surface-soft); border-block: 1px solid #e8f0f3; }
.section-kicker { margin: 0 0 9px; color: var(--teal-700); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-kicker.light { color: #a8eeeb; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.12; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.65rem, 6vw, 5rem); letter-spacing: -.055em; }
h1 em { color: var(--teal-400); font-style: normal; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.045em; }
h3 { font-size: 1.15rem; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 35px; }
.section-heading > p { max-width: 480px; margin-bottom: 4px; color: var(--muted); }
.section-intro { color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; }

.site-header { position: sticky; top: 0; z-index: 50; height: 76px; color: white; background: rgba(4, 19, 33, .94); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; font-size: 1.02rem; text-decoration: none; letter-spacing: -.02em; }
.brand-logo { width: 38px; height: 38px; display: block; object-fit: cover; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 2px var(--teal-400), 0 5px 14px rgba(0,0,0,.25); }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .91rem; }
.main-nav a { color: #c7d6df; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover { color: white; }
.main-nav .nav-cta { padding: 10px 17px; color: var(--navy-950); background: var(--teal-400); border-radius: 10px; font-weight: 750; }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 10px; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: white; }

.hero { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 75% 15%, rgba(13,153,163,.22), transparent 30%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to right, transparent, black); }
.hero-grid { position: relative; z-index: 1; min-height: 660px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; padding-block: 90px; }
.hero h1 { color: white; }
.hero-lead { max-width: 660px; margin-bottom: 30px; color: #c8d9e3; font-size: 1.18rem; }
.eyebrows { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }
.eyebrows span { padding: 6px 10px; color: #bceae8; border: 1px solid rgba(87,212,209,.3); border-radius: 100px; background: rgba(87,212,209,.07); font-size: .74rem; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 11px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-950); background: var(--teal-400); box-shadow: 0 12px 30px rgba(87,212,209,.19); }
.button-primary:hover { background: #72e2df; }
.button-secondary { color: var(--navy-800); background: white; border-color: var(--line); }
.hero .button-secondary { color: white; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
.button-light { color: var(--navy-900); background: white; }
.trust-note { margin: 20px 0 0; color: #9bb2c0; font-size: .86rem; }
.trust-note span { color: var(--teal-400); }

.hero-console { position: relative; padding: 23px; background: rgba(7,26,47,.74); border: 1px solid rgba(87,212,209,.25); border-radius: 22px; box-shadow: 0 35px 90px rgba(0,0,0,.3); backdrop-filter: blur(15px); }
.console-top { display: flex; justify-content: space-between; color: #9ab4c4; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.console-top span:first-child { color: #b6f1ef; }.console-top i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--teal-400); border-radius: 50%; box-shadow: 0 0 12px var(--teal-400); }
.radar-visual { position: relative; width: min(100%, 280px); aspect-ratio: 1; margin: 24px auto; overflow: hidden; border: 1px solid rgba(87,212,209,.34); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 27%, rgba(87,212,209,.18) 28% 29%, transparent 30% 49%), linear-gradient(90deg, transparent 49.6%, rgba(87,212,209,.2) 50%, transparent 50.4%), linear-gradient(transparent 49.6%, rgba(87,212,209,.2) 50%, transparent 50.4%); }
.scan { position: absolute; inset: 50% 50% 0 0; transform-origin: 100% 0; background: linear-gradient(135deg, transparent 45%, rgba(87,212,209,.35)); animation: scan 5s linear infinite; }
.blip { position: absolute; width: 8px; height: 8px; background: var(--teal-400); border-radius: 50%; box-shadow: 0 0 12px var(--teal-400); }.b1 { top: 29%; left: 63%; }.b2 { top: 62%; left: 30%; }.b3 { top: 70%; left: 71%; }
@keyframes scan { to { transform: rotate(360deg); } }
.console-risk { display: flex; justify-content: space-between; align-items: center; padding: 17px; background: rgba(255,255,255,.045); border-radius: 12px; }.console-risk small { display: block; color: #8da5b4; }.console-risk strong { font-size: 1.4rem; text-transform: capitalize; }.risk-orb { width: 15px; height: 15px; border-radius: 50%; background: var(--medium); box-shadow: 0 0 15px currentColor; }
.console-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }.console-stats div { padding: 14px 5px 0; text-align: center; }.console-stats strong { display: block; font-size: 1.2rem; }.console-stats span { color: #7f9aaa; font-size: .71rem; }

.data-notice, .history-mode { margin-top: 18px; padding: 12px 16px; border-radius: 10px; font-size: .9rem; }
.data-notice { color: #604b06; background: #fff7d7; border: 1px solid #f0dc8d; }.data-notice.error { color: #7a2525; background: #fff0f0; border-color: #f2b9b9; }
.history-mode { display: flex; justify-content: space-between; align-items: center; color: var(--navy-800); background: var(--teal-100); border: 1px solid #aee0de; }.history-mode button { padding: 6px 10px; color: var(--teal-700); background: white; border: 1px solid #add7d6; border-radius: 8px; cursor: pointer; }
.history-mode[hidden], .data-notice[hidden] { display: none; }

.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.status-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 16px; }
.status-main, .metric { padding: 24px; }.status-main { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; align-items: center; }.status-label, .status-main p, .status-main small { grid-column: 1/-1; }.status-label, .metric small { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }.status-value { font-size: 2.5rem; line-height: 1; text-transform: capitalize; }.status-main p { margin: 9px 0 5px; color: var(--muted); }.status-main small { color: #82929d; }
.traffic-light { display: flex; gap: 5px; }.traffic-light span { width: 10px; height: 28px; opacity: .18; border-radius: 20px; }.traffic-light span:nth-child(1) { background: var(--low); }.traffic-light span:nth-child(2) { background: var(--medium); }.traffic-light span:nth-child(3) { background: var(--high); }.traffic-light span:nth-child(4) { background: var(--critical); }.traffic-light span.active { opacity: 1; box-shadow: 0 0 12px currentColor; }
.metric { min-height: 185px; display: flex; flex-direction: column; }.metric-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: auto; color: var(--teal-700); background: var(--teal-100); border-radius: 10px; font-weight: 800; }.metric-icon.danger { color: var(--critical); background: #ffeded; }.metric strong { margin: 12px 0 2px; color: var(--navy-900); font-size: 1.9rem; line-height: 1.05; }.metric strong.metric-category { font-size: 1.12rem; }.metric p { margin: 0; color: var(--muted); font-size: .8rem; }

.threat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }.threat-card { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 15px; }.threat-top { display: flex; justify-content: space-between; gap: 12px; }.threat-icon { width: 35px; height: 35px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-100); border-radius: 10px; font-weight: 800; }.threat-count { font-size: 1.45rem; font-weight: 800; }.threat-card h3 { min-height: 2.6em; margin: 20px 0 12px; font-size: .94rem; }.progress { height: 5px; overflow: hidden; background: #e5edef; border-radius: 9px; }.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-700), var(--teal-400)); border-radius: inherit; }.threat-card small { display: block; margin-top: 8px; color: var(--muted); }

.featured-grid, .alerts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }.featured-grid { grid-template-columns: repeat(2,1fr); }.alert-card { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(5,35,55,.06); }.alert-card.featured { border-top: 4px solid var(--risk-color); }.alert-body { display: flex; flex-direction: column; height: 100%; padding: 23px; }.alert-meta, .alert-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.risk-badge, .category-badge, .priority-badge { display: inline-flex; align-items: center; width: max-content; border-radius: 100px; font-weight: 750; }.risk-badge { padding: 4px 9px; color: var(--risk-color); background: color-mix(in srgb, var(--risk-color) 11%, white); font-size: .69rem; text-transform: uppercase; letter-spacing: .07em; }.category-badge { color: var(--teal-700); font-size: .76rem; }.alert-card h3 { margin: 18px 0 12px; font-size: 1.17rem; }.featured h3 { font-size: 1.35rem; }.alert-card p { color: var(--muted); font-size: .91rem; }.affected { margin-top: auto; padding-top: 10px; }.affected strong { color: var(--ink); font-size: .8rem; }.actions { margin: 14px 0 18px; padding: 13px 15px 13px 32px; background: var(--surface-soft); border-radius: 10px; font-size: .83rem; }.actions li + li { margin-top: 6px; }.alert-footer { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }.source-link { color: var(--teal-700); font-weight: 750; text-decoration: none; }.source-link:hover, .text-link:hover { text-decoration: underline; }

.filters { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 10px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 15px; }.filters input, .filters select { width: 100%; height: 46px; padding: 0 13px; color: var(--ink); background: white; border: 1px solid #cbd9de; border-radius: 9px; }.search-field { position: relative; }.search-field input { padding-right: 42px; }.search-field > span:last-child { position: absolute; top: 7px; right: 14px; color: var(--muted); font-size: 1.25rem; }.results-count { min-height: 24px; margin: 15px 0; color: var(--muted); font-size: .84rem; }.alerts-grid { margin-bottom: 28px; }.empty-state { grid-column: 1/-1; padding: 45px 20px; text-align: center; color: var(--muted); background: white; border: 1px dashed #bacbd2; border-radius: 15px; }.empty-state strong { color: var(--navy-900); }

.checklist-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }.text-link { color: var(--teal-700); font-weight: 800; text-decoration: none; }.checklist { padding: 12px 24px; }.check-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }.check-item:last-child { border: 0; }.check-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-100); border-radius: 8px; font-weight: 800; }.check-item p { margin: 0; font-weight: 650; }.check-item small { color: var(--muted); }.priority-badge { padding: 4px 8px; font-size: .67rem; text-transform: uppercase; }.priority-badge.alta { color: #a54a12; background: #fff0e5; }.priority-badge.media { color: #7f6708; background: #fff8d9; }

.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }.education-grid p { color: var(--muted); }.translation-graphic { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; padding: 30px; background: var(--navy-900); border-radius: 20px; box-shadow: var(--shadow); }.translation-graphic div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px; color: white; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }.translation-graphic div:last-child { color: var(--navy-900); background: var(--teal-400); }.translation-graphic span { font-size: .8rem; opacity: .75; }.translation-graphic i { color: var(--teal-400); font-size: 1.6rem; font-style: normal; }

.history-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.history-card { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; }.history-card strong, .history-card small { display: block; }.history-card small { color: var(--muted); }.history-card button { padding: 8px 12px; color: var(--teal-700); background: var(--teal-100); border: 0; border-radius: 8px; font-weight: 750; cursor: pointer; }

.cta-section { padding: 75px 0; color: white; background: radial-gradient(circle at 90% 10%, rgba(87,212,209,.3), transparent 30%), linear-gradient(125deg, var(--navy-900), var(--teal-700)); }.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 70px; }.cta-inner h2 { color: white; }.cta-inner p:not(.section-kicker) { max-width: 700px; margin: 14px 0 0; color: #d3e6eb; }.cta-inner .button { flex: 0 0 auto; }
.about { display: grid; grid-template-columns: auto 1fr; gap: 28px; max-width: 900px; padding: 34px; }.about-logo { width: 112px; height: 112px; display: block; object-fit: cover; border: 4px solid white; border-radius: 50%; box-shadow: 0 0 0 3px var(--teal-400), 0 12px 28px rgba(5,35,55,.18); }.about p:not(.section-kicker) { color: var(--muted); }.about-links { display: flex; gap: 18px; flex-wrap: wrap; }.about-links a { color: var(--teal-700); font-weight: 750; }
.site-footer { padding: 60px 0 25px; color: #b6c8d2; background: var(--navy-950); }.footer-grid { display: flex; justify-content: space-between; gap: 50px; }.footer-brand { margin-bottom: 12px; }.footer-grid p { color: #7892a2; }.footer-grid nav { display: grid; grid-template-columns: repeat(2,auto); gap: 10px 30px; }.footer-grid nav a { text-decoration: none; }.footer-grid nav a:hover { color: white; }.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #6f8999; font-size: .76rem; }.footer-bottom p:first-child { max-width: 720px; }

[data-risk="crítico"] { --risk-color: var(--critical); } [data-risk="alto"] { --risk-color: var(--high); } [data-risk="medio"] { --risk-color: var(--medium); } [data-risk="bajo"] { --risk-color: var(--low); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr 390px; gap: 35px; }
  .status-grid { grid-template-columns: repeat(3,1fr); }.status-main { grid-column: 1/-1; }
  .threat-grid { grid-template-columns: repeat(2,1fr); }.alerts-grid { grid-template-columns: repeat(2,1fr); }
  .filters { grid-template-columns: repeat(3,1fr); }.search-field { grid-column: 1/-1; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }.section-heading { display: block; }.section-heading > p { margin-top: 15px; }
  .menu-toggle { display: block; }.main-nav { position: fixed; inset: 76px 0 auto; display: none; align-items: stretch; padding: 24px 20px 30px; background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.1); }.main-nav.open { display: flex; flex-direction: column; }.main-nav a { padding: 8px; }.main-nav .nav-cta { text-align: center; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 70px; }.hero-console { max-width: 480px; width: 100%; margin-inline: auto; }.radar-visual { max-width: 230px; }
  .featured-grid, .checklist-layout, .education-grid { grid-template-columns: 1fr; }.checklist-layout, .education-grid { gap: 40px; }.translation-graphic { order: 2; }
  .cta-inner { display: block; }.cta-inner .button { margin-top: 28px; }
  .history-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.65rem; }.hero-grid { padding-block: 55px; }.eyebrows { margin-bottom: 22px; }.button-row .button { width: 100%; }
  .status-grid, .threat-grid, .featured-grid, .alerts-grid, .history-list { grid-template-columns: 1fr; }.metric { min-height: 150px; }
  .filters { grid-template-columns: 1fr; }.search-field { grid-column: auto; }
  .check-item { grid-template-columns: auto 1fr; }.check-item .priority-badge { grid-column: 2; justify-self: start; }
  .translation-graphic { grid-template-columns: 1fr; }.translation-graphic i { transform: rotate(90deg); text-align: center; }
  .about { grid-template-columns: 1fr; padding: 25px; }.footer-grid, .footer-bottom { display: block; }.footer-grid nav { grid-template-columns: 1fr; margin-top: 30px; }.footer-bottom p { margin-bottom: 10px; }
  .history-mode { align-items: flex-start; gap: 10px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
