* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #0b1c3d;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* Lienzo de 1280x720 con degradado Azul USM */
.infographic-canvas {
  width: 1280px;
  height: 720px;
  background: linear-gradient(135deg, #002b7a 0%, #001a4e 100%);
  color: #ffffff;
  padding: 25px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ENCABEZADO */
.usm-header {
  height: 45px;
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

/* SECCIÓN SUPERIOR */
.top-section {
  display: grid;
  grid-template-columns: 320px 1fr 320px;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}

.center-block {
  text-align: center;
  position: relative;
  padding: 0 10px;
}

.center-block h2 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.center-block p {
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0.85;
}

/* BOTONES CÁPSULA (NODOS 1 A 4) */
.node-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.node-btn {
  border: none;
  border-radius: 40px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #002b7a;
  text-align: left;
}

.node-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.node-btn .icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 43, 122, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.node-btn .btn-info {
  flex: 1;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
}

.node-btn .title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.node-btn .subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.9;
}

.node-btn .badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #002b7a;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Colores exactos del esquema */
.btn-blue { background-color: #63b3ed; }
.btn-orange { background-color: #f6ad55; }
.btn-green { background-color: #68d391; }
.btn-yellow { background-color: #f6e05e; }

/* CUADRO INFERIOR */
.bottom-card {
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.03);
}

.card-header h3 {
  font-size: 0.95rem;
  color: #f6e05e;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.card-intro {
  font-size: 0.8rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.card-item {
  background: #f6ad55;
  color: #002b7a;
  padding: 8px 15px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
}

.card-item strong {
  font-size: 0.85rem;
  font-weight: 800;
}

/* FOOTER CON BOTONES 5 Y 6 */
.bottom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}

.extra-buttons {
  display: flex;
  gap: 15px;
}

.footer-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 6px 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.flag-color {
  width: 8px;
  height: 24px;
  background: linear-gradient(to bottom, #e53e3e 50%, #f6ad55 50%);
  border-radius: 2px;
}

.f-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f6e05e;
}

.f-text {
  font-size: 0.78rem;
  font-weight: 600;
}

.closing-message p {
  font-size: 0.75rem;
  max-width: 450px;
  opacity: 0.8;
  text-align: center;
}

.usm-url {
  font-weight: 800;
  font-size: 1.2rem;
  color: #63b3ed;
}

/* MODALES */
.modal-overlay {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 15, 40, 0.85);
  backdrop-filter: blur(4px);
  z-index: 100;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #002b7a;
  border: 2px solid #63b3ed;
  border-radius: 12px;
  padding: 25px;
  width: 70%;
  max-width: 650px;
  color: #ffffff;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  background: none; border: none;
  color: #fff; font-size: 1.8rem;
  cursor: pointer;
}

.modal-content h2 { color: #f6e05e; font-size: 1.3rem; margin-bottom: 10px; }
.modal-content ul { margin-left: 20px; margin-top: 8px; font-size: 0.88rem; }
.highlight-text { background: rgba(255, 255, 255, 0.1); padding: 8px; border-left: 3px solid #f6ad55; margin-top: 10px; font-size: 0.85rem; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.compare-table th { background: rgba(255, 255, 255, 0.15); padding: 8px; font-size: 0.85rem; color: #f6e05e; }
.compare-table td { border: 1px solid rgba(255,255,255,0.2); padding: 8px; font-size: 0.78rem; vertical-align: top; }