@font-face {
  font-family: "Good Times";
  src: url("../fonts/good-times-rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zurich BT Italic";
  src: url("../fonts/zurich-italic-bt.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #020617;
  --bg-blue: #07172d;
  --bg-blue-2: #08243a;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #112345;
  --text-on-dark: #e2e8f0;
  --muted: #667487;
  --muted-dark: #94a3b8;
  --navy: #002060;
  --accent: #38bdf8;
  --accent-green: #36f065;
  --incident: #facc15;
  --line: rgba(0, 32, 96, 0.12);
  --line-dark: rgba(56, 189, 248, 0.18);
  --shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
  --container: 1240px;
  --font-display: "Good Times", "Eurostile Extended", "Bahnschrift", "Arial Narrow", sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-secondary: "Zurich BT Italic", "Arial Narrow", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  background: linear-gradient(180deg, #020617 0%, #081223 42%, #020617 100%);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 16px;
  align-content: center;
  color: var(--text-on-dark);
}

.boot-screen img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.nav-bar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand__text span {
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.brand__text strong {
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.action-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  color: #04111c;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 55%, #0ea5e9 100%);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.action-link:hover,
.action-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 16px 30px rgba(14, 165, 233, 0.28);
}

.action-link svg {
  width: 20px;
  height: 20px;
}

.action-link--quiet {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.76);
  border-color: rgba(56, 189, 248, 0.32);
}

.action-link--incident {
  color: #151004;
  background: linear-gradient(135deg, #fef08a 0%, #facc15 56%, #22c55e 100%);
  border-color: rgba(250, 204, 21, 0.8);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.2), 0 16px 36px rgba(250, 204, 21, 0.24);
  animation: incidentPulse 2.4s ease-in-out infinite;
}

@keyframes incidentPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.22), 0 16px 36px rgba(250, 204, 21, 0.2);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(250, 204, 21, 0.1), 0 18px 38px rgba(34, 197, 94, 0.22);
  }
}

.hero {
  padding: 0;
  line-height: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.2) 0%, rgba(8, 18, 35, 0.9) 55%, rgba(4, 12, 26, 0.96) 100%);
}

.hero__frame {
  aspect-ratio: 1632 / 640;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
}

.section {
  padding: 42px 0;
}

.section--light {
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
}

.section--blue {
  color: var(--text-on-dark);
  background: linear-gradient(180deg, #07172d 0%, #08243a 58%, #0a2d45 100%);
}

.section--deep {
  color: var(--text-on-dark);
  background: linear-gradient(180deg, #08243a 0%, #04111f 56%, #020617 100%);
}

.commander-layout {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.commander-photo {
  width: min(30vw, 340px);
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(0, 32, 96, 0.18);
}

.commander-copy {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.display-title,
.commander-copy h2,
.section h2 {
  margin: 0;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.commander-copy h2,
.section--light h2 {
  color: var(--navy);
}

.section h2 {
  font-size: 2.1rem;
}

.section-copy {
  width: 100%;
  max-width: none;
  margin-top: 18px;
  color: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.6;
  text-align: justify;
}

.section-copy p {
  margin: 0 0 14px;
}

.statement-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.statement-list li {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  color: var(--text-on-dark);
  line-height: 1.6;
  text-align: justify;
}

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

.statement-list strong {
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  color: #04111c;
  background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 55%, #0ea5e9 100%);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn--navy {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn--ghost {
  color: var(--text-on-dark);
  background: rgba(15, 23, 42, 0.72);
}

.btn--danger {
  color: #271400;
  background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #22c55e 100%);
  border-color: rgba(250, 204, 21, 0.86);
}

.incident-page {
  min-height: calc(100vh - 82px);
}

.incident-head {
  display: grid;
  gap: 12px;
  max-width: 840px;
}

.incident-head p {
  margin: 0;
  color: var(--text-on-dark);
  line-height: 1.65;
}

.guide-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-card,
.admin-panel,
.metric-card {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.62);
  box-shadow: var(--shadow);
}

.guide-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.guide-card h3 {
  margin: 0;
  color: #f8fafc;
}

.guide-card p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.6;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted-dark);
  background: rgba(2, 6, 23, 0.86);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-shell {
  min-height: calc(100vh - 82px);
  padding: 34px 0 54px;
  background: linear-gradient(180deg, #07172d 0%, #020617 100%);
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-top h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.admin-tabs button {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--text-on-dark);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
}

.admin-tabs button[aria-selected="true"] {
  color: #04111c;
  background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 55%, #0ea5e9 100%);
}

.admin-panel {
  padding: 22px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  color: #f8fafc;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.56);
  padding: 10px 12px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.editor-list {
  display: grid;
  gap: 14px;
}

.editor-item {
  padding: 16px;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.26);
}

.status-note {
  margin: 0 0 14px;
  color: var(--muted-dark);
  line-height: 1.55;
}

.status-note--warn {
  color: #fde68a;
}

.login-card {
  width: min(calc(100% - 40px), 440px);
  margin: 54px auto;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.76);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card {
  padding: 18px;
}

.metric-card span {
  display: block;
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
  font-size: 3rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  text-align: left;
  vertical-align: top;
}

th {
  color: #f8fafc;
  font-size: 0.88rem;
  text-transform: uppercase;
}

td {
  color: var(--text-on-dark);
}

.split-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

.toolbar .field {
  margin-bottom: 0;
}

.message {
  margin: 12px 0 0;
  color: #bae6fd;
  font-weight: 800;
}

.message--error {
  color: #fecaca;
}

@media (max-width: 980px) {
  .nav-bar,
  .admin-top {
    align-items: stretch;
    flex-direction: column;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .admin-grid,
  .guide-grid,
  .split-panels,
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .commander-layout {
    grid-template-columns: 1fr;
  }

  .commander-photo {
    width: min(72vw, 300px);
    justify-self: center;
  }

  .action-link span {
    display: none;
  }
}

/* Base visual inspirada en fach.mil.cl: azul profundo, blanco institucional,
   bloques amplios y accesos rectangulares destacados. */
:root {
  --bg: #0d131d;
  --bg-blue: #0d131d;
  --bg-blue-2: #041e42;
  --surface-soft: #f0f0f0;
  --text: #0d131d;
  --text-on-dark: #ffffff;
  --muted: #475569;
  --muted-dark: #bccee0;
  --navy: #0d131d;
  --accent: #bccee0;
  --accent-green: #36f065;
  --incident: #facc15;
  --line: rgba(13, 19, 29, 0.16);
  --line-dark: rgba(188, 206, 224, 0.28);
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
  --container: 1320px;
  --font-display: "Bahnschrift", "Arial Narrow", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

body {
  color: var(--text-on-dark);
  background: var(--bg);
}

.container {
  width: min(90vw, var(--container));
}

.site-header {
  --header-height: 108px;
  --brand-gap: 18px;
  --brand-logo-size: 66px;
  --brand-kicker-size: 1.02rem;
  --brand-title-size: 1.58rem;
  background: rgba(13, 19, 29, 0.94);
  border-bottom: 1px solid rgba(188, 206, 224, 0.22);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.2);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header.site-header--compact {
  --header-height: 76px;
  --brand-gap: 12px;
  --brand-logo-size: 46px;
  --brand-kicker-size: 0.82rem;
  --brand-title-size: 1.16rem;
  background: rgba(13, 19, 29, 0.97);
  border-bottom-color: rgba(188, 206, 224, 0.3);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.26);
}

.nav-bar {
  min-height: var(--header-height);
  gap: 28px;
  transition: min-height 0.28s ease, gap 0.28s ease, padding 0.28s ease;
}

.brand {
  gap: var(--brand-gap);
  transition: gap 0.28s ease;
}

.brand__logo {
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
  transition: width 0.28s ease, height 0.28s ease, filter 0.28s ease;
}

.brand__text span {
  color: var(--accent);
  font-size: var(--brand-kicker-size);
  text-transform: uppercase;
  transition: font-size 0.28s ease, color 0.28s ease;
}

.brand__text strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: var(--brand-title-size);
  letter-spacing: 0;
  transition: font-size 0.28s ease, color 0.28s ease;
}

.header-actions {
  gap: 7px;
}

.action-link,
.btn {
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 0;
  color: #ffffff;
  background: #0d131d;
  border-color: #bccee0;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.action-link svg {
  width: 18px;
  height: 18px;
}

.action-link:hover,
.action-link:focus-visible,
.btn:hover,
.btn:focus-visible {
  background: #1a2843;
  border-color: #ffffff;
  box-shadow: none;
}

.action-link--outline {
  color: #ffffff;
  background: transparent;
  border-color: rgba(188, 206, 224, 0.46);
}

.action-link--admin {
  color: #0d131d;
  background: #bccee0;
  border-color: #bccee0;
}

.action-link--incident,
.btn--danger {
  color: #151004;
  background: linear-gradient(137deg, #fef08a 0%, #facc15 62%, #d6a400 100%);
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.18), 0 18px 36px rgba(250, 204, 21, 0.18);
}

.action-link--incident:hover,
.action-link--incident:focus-visible,
.btn--danger:hover,
.btn--danger:focus-visible {
  color: #151004;
  background: #fde047;
  border-color: #ffffff;
}

.hero {
  position: relative;
  background: #0d131d;
}

.hero__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1632 / 640;
  max-height: 760px;
  overflow: hidden;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 19, 29, 0.28) 0%, rgba(13, 19, 29, 0) 36%, rgba(13, 19, 29, 0.16) 100%),
    linear-gradient(90deg, rgba(13, 19, 29, 0.12) 0%, rgba(13, 19, 29, 0) 45%);
}

.hero__image {
  transform: none;
  object-fit: cover;
}

.hero--catalog {
  background: #f0f0f0;
}

.hero--catalog .hero__frame {
  background: #ffffff;
}

.hero--catalog .hero__frame::after {
  content: none;
}

.hero--catalog .hero__image {
  object-fit: contain;
}

.section {
  padding: 74px 0;
}

.section--light {
  color: #0d131d;
  background: #f0f0f0;
}

.section--blue {
  color: #ffffff;
  background: #0d131d;
}

.section--deep,
.admin-shell {
  color: #ffffff;
  background: linear-gradient(180deg, #041e42 0%, #0d131d 100%);
}

.commander-layout {
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
}

.commander-photo {
  width: min(30vw, 360px);
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(13, 19, 29, 0.24);
}

.display-title,
.commander-copy h2,
.section h2,
.admin-top h1,
.login-card h1,
.statement-list strong {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.commander-copy h2,
.section h2 {
  font-size: 2.375rem;
}

.section--light h2 {
  color: #0d131d;
}

.section-copy {
  margin-top: 28px;
  font-size: 1.125rem;
  line-height: 1.65;
}

.section-copy p {
  margin-bottom: 16px;
}

.statement-list li {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  padding: 26px 0;
  border-bottom-color: rgba(188, 206, 224, 0.26);
  font-size: 1.05rem;
  line-height: 1.65;
}

.statement-list strong {
  color: #bccee0;
  font-size: 1.32rem;
  line-height: 1.12;
}

.btn--navy {
  color: #ffffff;
  background: #0d131d;
  border-color: #0d131d;
}

.btn--ghost {
  color: #ffffff;
  background: transparent;
  border-color: rgba(188, 206, 224, 0.46);
}

.guide-card,
.admin-panel,
.metric-card,
.login-card,
.editor-item,
.table-wrap {
  border-radius: 0;
}

.guide-card {
  background: rgba(13, 19, 29, 0.72);
  border-color: rgba(188, 206, 224, 0.32);
}

.guide-card h3 {
  color: #bccee0;
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer {
  padding: 58px 0;
  color: #bccee0;
  background: #0d131d;
  border-top: 1px solid rgba(188, 206, 224, 0.2);
}

.footer-row {
  align-items: center;
  text-transform: uppercase;
}

.admin-panel,
.metric-card,
.login-card {
  background: rgba(13, 19, 29, 0.76);
  border-color: rgba(188, 206, 224, 0.3);
}

.admin-tabs button,
.field input,
.field textarea,
.field select {
  border-radius: 0;
}

.admin-tabs button[aria-selected="true"] {
  color: #0d131d;
  background: #bccee0;
}

.metric-card strong {
  font-size: 2.6rem;
}

@media (max-width: 980px) {
  .site-header {
    --header-height: 92px;
    --brand-logo-size: 56px;
    --brand-kicker-size: 0.9rem;
    --brand-title-size: 1.28rem;
  }

  .site-header.site-header--compact {
    --header-height: 74px;
    --brand-logo-size: 44px;
    --brand-kicker-size: 0.76rem;
    --brand-title-size: 1.05rem;
  }

  .nav-bar {
    padding: 14px 0;
  }

  .statement-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    --header-height: 86px;
    --brand-logo-size: 50px;
    --brand-kicker-size: 0.78rem;
    --brand-title-size: 1.05rem;
  }

  .site-header.site-header--compact {
    --header-height: 70px;
    --brand-logo-size: 40px;
    --brand-kicker-size: 0.69rem;
    --brand-title-size: 0.92rem;
  }

  .hero__frame {
    aspect-ratio: 4 / 3;
  }

  .hero__image {
    object-position: center center;
  }

  .section {
    padding: 48px 0;
  }

  .commander-copy h2,
  .section h2 {
    font-size: 2rem;
  }

  .section-copy {
    font-size: 1rem;
  }

  .action-link {
    min-width: 42px;
    padding: 10px;
  }

}

/* Ajuste solicitado: estas secciones vuelven al formato anterior del portal,
   manteniendo solo la alternancia de tonos tipo FACH entre bloques. */
.section--commander-tone {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 10%, rgba(188, 206, 224, 0.16), transparent 28%),
    linear-gradient(180deg, #0d131d 0%, #041e42 100%);
}

.section--commander-tone .commander-copy h2 {
  color: #ffffff;
}

.commander-link-text {
  color: #bccee0;
  font-family: "Good Times", "Eurostile Extended", "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.commander-link-text:hover,
.commander-link-text:focus-visible {
  color: #ffffff;
  outline: none;
}

.section--definition-tone {
  color: #334155;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 32, 96, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
}

.section--definition-tone h2 {
  color: #002060;
  font-family: "Good Times", "Eurostile Extended", "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 2.1rem;
  font-weight: 400;
}

.section--definition-tone .section-copy {
  width: 100%;
  max-width: none;
  color: #334155;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.section--definition-tone .section-copy p {
  margin: 0 0 14px;
}

.section--blue {
  background:
    radial-gradient(circle at 82% 12%, rgba(34, 197, 94, 0.1), transparent 26%),
    linear-gradient(180deg, #07172d 0%, #08243a 58%, #0a2d45 100%);
}

.statement-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.statement-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

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

.statement-list strong {
  color: #f8fafc;
  font-family: "Good Times", "Eurostile Extended", "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .statement-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .section--definition-tone h2 {
    font-size: 1.7rem;
  }
}

/* Versión organizada: menú superior amarillo, home editorial y admin ampliado. */
.nav-menu {
  display: inline-flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  border: 1px solid rgba(250, 204, 21, 0.82);
  background: #facc15;
  box-shadow: 0 18px 34px rgba(250, 204, 21, 0.16);
}

.nav-menu__link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #151004;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border-right: 1px solid rgba(13, 19, 29, 0.18);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu__link:last-child {
  border-right: 0;
}

.nav-menu__link:hover,
.nav-menu__link:focus-visible,
.nav-menu__link--active {
  color: #151004;
  background: #fef08a;
  outline: none;
}

.site-header--compact .nav-menu__link {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 0.76rem;
}

.hero {
  padding: 18px 0 0;
  line-height: 0;
}

.hero .container {
  line-height: 0;
}

.hero__frame {
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.28);
}

.section-tag {
  margin: 0 0 12px;
  color: #0d131d;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-tag--light {
  color: #bccee0;
}

.section--media {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 20%, rgba(250, 204, 21, 0.11), transparent 28%),
    linear-gradient(180deg, #0d131d 0%, #041e42 100%);
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.media-copy h1,
.roadmap-page h1,
.progress-dashboard h2,
.editor-toolbar h2,
.admin-setting-group h2,
.metric-table-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.media-copy h1 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
}

.media-frame {
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(188, 206, 224, 0.24);
  background: rgba(13, 19, 29, 0.44);
}

.media-frame__asset {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
}

.media-frame__empty {
  min-height: 340px;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #bccee0;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.media-frame__empty svg {
  width: 52px;
  height: 52px;
}

.faq-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid rgba(13, 19, 29, 0.14);
}

.faq-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(13, 19, 29, 0.14);
}

.faq-item h3 {
  margin: 0;
  color: #0d131d;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.faq-item p {
  margin: 0;
  color: #334155;
  line-height: 1.65;
  text-align: justify;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.resource-link {
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(188, 206, 224, 0.28);
  background: rgba(13, 19, 29, 0.48);
}

.resource-link:hover,
.resource-link:focus-visible {
  border-color: #facc15;
  outline: none;
}

.resource-link svg {
  width: 24px;
  height: 24px;
  color: #facc15;
}

.section-visual {
  width: 100%;
  max-height: 460px;
  margin: 28px 0 0;
  object-fit: cover;
}

.roadmap-page {
  min-height: calc(100vh - 80px);
}

.section-copy--wide {
  max-width: 980px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
  margin: 42px 0 28px;
}

.timeline__item {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.timeline__line {
  position: absolute;
  top: 26px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, #facc15, rgba(188, 206, 224, 0.18));
}

.timeline__node {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(188, 206, 224, 0.28);
  background: #0d131d;
  font-weight: 800;
}

.timeline__node--active {
  color: #151004;
  background: #facc15;
  box-shadow: 0 18px 32px rgba(250, 204, 21, 0.22);
}

.timeline__years {
  color: #bccee0;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

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

.process-card {
  display: grid;
  gap: 12px;
  min-height: 238px;
  padding: 24px;
  color: #ffffff;
  border: 1px solid rgba(188, 206, 224, 0.24);
  background: rgba(13, 19, 29, 0.58);
}

.process-card--current {
  border-color: rgba(250, 204, 21, 0.62);
}

.process-card__step,
.process-card__status {
  color: #facc15;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.process-card h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.process-card p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.6;
}

.progress-dashboard {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(188, 206, 224, 0.24);
  background: rgba(13, 19, 29, 0.48);
}

.progress-dashboard h2 {
  font-size: 1.35rem;
}

.progress-bars {
  display: grid;
  gap: 18px;
}

.progress-row {
  display: grid;
  gap: 8px;
}

.progress-row__label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #ffffff;
}

.progress-row__label strong {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.progress-row__label span {
  color: #bccee0;
}

.bar-chart {
  position: relative;
  height: 18px;
  overflow: hidden;
  background: rgba(188, 206, 224, 0.16);
}

.bar-chart__base,
.bar-chart__current {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.bar-chart__base {
  background: rgba(188, 206, 224, 0.55);
}

.bar-chart__current {
  height: 8px;
  top: 5px;
  background: #facc15;
}

.admin-setting-group {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(188, 206, 224, 0.18);
}

.admin-setting-group h2,
.editor-toolbar h2,
.metric-table-panel h2 {
  color: #ffffff;
  font-size: 1rem;
}

.admin-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.editor-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: #ffffff;
}

.editor-item__head strong {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.editor-item__head span {
  color: #bccee0;
  font-size: 0.86rem;
}

.field--checkbox {
  align-content: end;
}

.field--checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.field--checkbox input {
  width: auto;
}

.metric-table-panel {
  padding: 16px;
}

.metric-table-panel h2 {
  margin-bottom: 12px;
}

.split-panels--spaced {
  margin-top: 16px;
}

@media (max-width: 1120px) {
  .nav-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-menu {
    width: 100%;
    justify-content: stretch;
  }

  .nav-menu__link {
    flex: 1 1 0;
  }

  .media-layout,
  .progress-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .process-grid,
  .resource-list,
  .admin-grid--three {
    grid-template-columns: 1fr;
  }

  .faq-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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

  .nav-menu__link {
    min-height: 44px;
    border-right: 0;
    border-bottom: 1px solid rgba(13, 19, 29, 0.18);
    white-space: normal;
  }

  .media-frame,
  .media-frame__empty {
    min-height: 240px;
  }

  .timeline {
    gap: 8px;
  }

  .timeline__line {
    left: 14%;
    right: 14%;
  }

  .progress-row__label,
  .editor-item__head,
  .editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Inicio solicitado: Vitrina TD, Noticias, FAQ y Política. */
.section--home-top {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 18%, rgba(250, 204, 21, 0.12), transparent 28%),
    linear-gradient(180deg, #0d131d 0%, #041e42 100%);
}

.home-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: stretch;
}

.showcase-panel,
.news-panel {
  min-width: 0;
}

.showcase-panel h1,
.news-panel h2,
.policy-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.showcase-panel h1 {
  font-size: clamp(2.1rem, 3.8vw, 4rem);
}

.media-frame--showcase {
  margin-top: 22px;
  min-height: 360px;
}

.news-panel h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
}

.news-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.news-card {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 18px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(188, 206, 224, 0.28);
  background: rgba(13, 19, 29, 0.56);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.news-card:hover,
.news-card:focus-visible {
  border-color: #facc15;
  background: rgba(13, 19, 29, 0.82);
  transform: translateY(-1px);
  outline: none;
}

.news-card--incident {
  border-color: rgba(250, 204, 21, 0.64);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.12), 0 18px 34px rgba(250, 204, 21, 0.12);
}

.news-card span {
  color: #facc15;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.news-card p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.5;
}

.section--policy {
  color: #ffffff;
  background: #0d131d;
}

.policy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(188, 206, 224, 0.22);
  border-bottom: 1px solid rgba(188, 206, 224, 0.22);
}

.policy-band h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
}

.policy-band__button {
  flex: 0 0 auto;
}

.news-detail {
  display: grid;
  gap: 18px;
}

.news-detail__image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.back-link {
  width: fit-content;
  color: #facc15;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.back-link:hover,
.back-link:focus-visible {
  color: #ffffff;
  outline: none;
}

.guide-grid--inline {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .home-top-grid {
    grid-template-columns: 1fr;
  }

  .policy-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .media-frame--showcase {
    min-height: 240px;
  }

  .news-card {
    min-height: 0;
  }
}
